diff --git a/README.md b/README.md index c878379c8ec..c0556afc139 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ that can be explored in the browser. ### Building on Macbook M1 -Building Reveal on Macbook M1 migth require some special care. +Building Reveal on Macbook M1 might require some special care. If you experience issues during the `yarn`-stage in `viewer/`, e.g. ``` diff --git a/examples/src/pages/Viewer.tsx b/examples/src/pages/Viewer.tsx index 8ce60c90795..fd59fa94505 100644 --- a/examples/src/pages/Viewer.tsx +++ b/examples/src/pages/Viewer.tsx @@ -6,7 +6,6 @@ import Stats from 'stats.js'; import { useEffect, useRef } from 'react'; import { CanvasWrapper } from '../components/styled'; import * as THREE from 'three'; -import { CogniteClient } from '@cognite/sdk'; import dat from 'dat.gui'; import { Cognite3DViewer, @@ -29,7 +28,6 @@ import { CameraUI } from '../utils/CameraUI'; import { PointCloudUi } from '../utils/PointCloudUi'; import { ModelUi } from '../utils/ModelUi'; import { NodeTransformUI } from '../utils/NodeTransformUI'; -import { createSDKFromEnvironment, createSDKFromToken } from '../utils/example-helpers'; import { PointCloudClassificationFilterUI } from '../utils/PointCloudClassificationFilterUI'; import { PointCloudObjectStylingUI } from '../utils/PointCloudObjectStylingUI'; import { CustomCameraManager } from '../utils/CustomCameraManager'; @@ -38,6 +36,7 @@ import { Image360UI } from '../utils/Image360UI'; import { Image360StylingUI } from '../utils/Image360StylingUI'; import { LoadGltfUi } from '../utils/LoadGltfUi'; import { createFunnyButton } from '../utils/PageVariationUtils'; +import { getCogniteClient } from '../utils/example-helpers'; window.THREE = THREE; (window as any).reveal = reveal; @@ -51,7 +50,7 @@ export function Viewer() { // Check in order to avoid double initialization of everything, especially dat.gui. // See https://reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects for why its called twice. if (!canvasWrapperRef.current) { - return () => {}; + return; } const gui = new dat.GUI({ width: Math.min(500, 0.8 * window.innerWidth) }); @@ -76,18 +75,7 @@ export function Viewer() { window.history.pushState({}, '', url.toString()); } - let client: CogniteClient; - if (project && overrideToken) { - client = createSDKFromToken('reveal.example.example', project, overrideToken); - } else if (project && environment) { - client = await createSDKFromEnvironment('reveal.example.example', project, environment); - } else { - client = new CogniteClient({ - appId: 'reveal.example.example', - project: 'dummy', - getToken: async () => 'dummy' - }); - } + let client = await getCogniteClient({ project, environment, overrideToken }); const edlEnabled = (urlParams.get('edl') ?? 'true') === 'true'; const progress = (itemsLoaded: number, itemsRequested: number, itemsCulled: number) => { @@ -502,5 +490,6 @@ export function Viewer() { viewer?.dispose(); }; }, []); + return ; } diff --git a/examples/src/utils/example-helpers.ts b/examples/src/utils/example-helpers.ts index 89a15795b0b..c232c8bed1f 100644 --- a/examples/src/utils/example-helpers.ts +++ b/examples/src/utils/example-helpers.ts @@ -203,3 +203,27 @@ export async function createSDKFromEnvironment( await client.authenticate(); return client; } + +export const getCogniteClient = async ({ + project, + environment, + overrideToken +}: { + project: string | null; + environment: string | null; + overrideToken: string | null; +}): Promise => { + if (project !== null && overrideToken !== null) { + return createSDKFromToken('reveal.example.example', project, overrideToken); + } + + if (project !== null && environment !== null) { + return await createSDKFromEnvironment('reveal.example.example', project, environment); + } + + return new CogniteClient({ + appId: 'reveal.example.example', + project: 'dummy', + getToken: async () => 'dummy' + }); +}; diff --git a/react-components/package.json b/react-components/package.json index f2a4b7041f7..1f98b973b5b 100644 --- a/react-components/package.json +++ b/react-components/package.json @@ -1,6 +1,6 @@ { "name": "@cognite/reveal-react-components", - "version": "0.11.0", + "version": "0.12.0", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", @@ -30,12 +30,12 @@ "@cognite/cogs.js": "^9.17.0", "@cognite/reveal": "4.4.0", "@cognite/sdk": "^8.2.0", - "@storybook/addon-essentials": "7.2.3", - "@storybook/addon-interactions": "7.2.3", - "@storybook/addon-links": "7.2.3", - "@storybook/blocks": "7.2.3", - "@storybook/react": "7.2.3", - "@storybook/react-webpack5": "7.2.3", + "@storybook/addon-essentials": "7.3.1", + "@storybook/addon-interactions": "7.3.1", + "@storybook/addon-links": "7.3.1", + "@storybook/blocks": "7.3.1", + "@storybook/react": "7.3.1", + "@storybook/react-webpack5": "7.3.1", "@storybook/testing-library": "0.2.0", "@tanstack/react-query-devtools": "^4.29.19", "@types/lodash": "^4.14.190", @@ -58,7 +58,7 @@ "prop-types": "15.8.1", "react": "18.2.0", "react-dom": "18.2.0", - "storybook": "7.2.3", + "storybook": "7.3.1", "style-loader": "^3.3.3", "styled-components": "5.3.11", "three": "0.155.0", diff --git a/react-components/src/components/Image360CollectionContainer/Image360CollectionContainer.tsx b/react-components/src/components/Image360CollectionContainer/Image360CollectionContainer.tsx index 21177fdf543..b327d685d18 100644 --- a/react-components/src/components/Image360CollectionContainer/Image360CollectionContainer.tsx +++ b/react-components/src/components/Image360CollectionContainer/Image360CollectionContainer.tsx @@ -38,7 +38,11 @@ export function Image360CollectionContainer({ return collection; } - return await viewer.add360ImageSet('events', { site_id: siteId }); + return await viewer.add360ImageSet( + 'events', + { site_id: siteId }, + { preMultipliedRotation: false } + ); } } diff --git a/react-components/src/components/Image360Details/Image360Details.tsx b/react-components/src/components/Image360Details/Image360Details.tsx new file mode 100644 index 00000000000..e26bd7edd33 --- /dev/null +++ b/react-components/src/components/Image360Details/Image360Details.tsx @@ -0,0 +1,89 @@ +/*! + * Copyright 2023 Cognite AS + */ + +import { useState, type ReactElement, useCallback, useEffect } from 'react'; +import styled from 'styled-components'; +import { Image360HistoricalDetails } from '../Image360HistoricalDetails/Image360HistoricalDetails'; +import { useReveal } from '../..'; +import { type Image360 } from '@cognite/reveal'; +import { Button } from '@cognite/cogs.js'; + +export function Image360Details(): ReactElement { + const viewer = useReveal(); + const [enteredEntity, setEnteredEntity] = useState(); + const [is360HistoricalPanelExpanded, setIs360HistoricalPanelExpanded] = useState(false); + const handleExpand = useCallback((isExpanded: boolean) => { + setIs360HistoricalPanelExpanded(isExpanded); + }, []); + + const clearEnteredImage360 = (): void => { + setEnteredEntity(undefined); + }; + + const exitImage360Image = (): void => { + viewer.exit360Image(); + }; + + const collections = viewer.get360ImageCollections(); + + useEffect(() => { + collections.forEach((collection) => { + collection.on('image360Entered', setEnteredEntity); + collection.on('image360Exited', clearEnteredImage360); + }); + return () => { + collections.forEach((collection) => { + collection.off('image360Entered', setEnteredEntity); + collection.off('image360Exited', clearEnteredImage360); + }); + }; + }, [viewer, collections]); + + return ( + <> + {enteredEntity !== undefined && ( + <> + + + + + + + + )} + + ); +} + +const StyledExitButton = styled(Button)` + border-radius: 8px; +`; + +const ExitButtonContainer = styled.div` + position: absolute; + right: 20px; + top: 20px; + background-color: #ffffff; + height: 36px; + width: 36px; + border-radius: 8px; + outline: none; +`; + +const Image360HistoricalPanel = styled.div<{ isExpanded: boolean }>` + position: absolute; + bottom: ${({ isExpanded }) => (isExpanded ? '0px' : '40px')}; + display: flex; + flex-direction: column; + height: fit-content; + width: fit-content; + max-width: 100%; + min-width: fill-available; + transition: transform 0.25s ease-in-out; + transform: ${({ isExpanded }) => (isExpanded ? 'translateY(0)' : 'translateY(100%)')}; +`; diff --git a/react-components/src/higher-order-components/withSuppressRevealEvents.tsx b/react-components/src/higher-order-components/withSuppressRevealEvents.tsx index d0370d7d756..7f440c405a4 100644 --- a/react-components/src/higher-order-components/withSuppressRevealEvents.tsx +++ b/react-components/src/higher-order-components/withSuppressRevealEvents.tsx @@ -30,11 +30,13 @@ export function withSuppressRevealEvents( div.addEventListener('pointerdown', stopPropagation); div.addEventListener('pointermove', stopPropagation); div.addEventListener('wheel', stopPropagation); + div.addEventListener('keydown', stopPropagation); return () => { div.removeEventListener('pointerdown', stopPropagation); div.removeEventListener('pointermove', stopPropagation); div.removeEventListener('wheel', stopPropagation); + div.removeEventListener('keydown', stopPropagation); }; }, []); diff --git a/react-components/src/index.ts b/react-components/src/index.ts index d0a5e67f297..fdbf75da5c1 100644 --- a/react-components/src/index.ts +++ b/react-components/src/index.ts @@ -10,6 +10,7 @@ export { PointCloudContainer } from './components/PointCloudContainer/PointCloud export { CadModelContainer } from './components/CadModelContainer/CadModelContainer'; export { Image360CollectionContainer } from './components/Image360CollectionContainer/Image360CollectionContainer'; export { Image360HistoricalDetails } from './components/Image360HistoricalDetails/Image360HistoricalDetails'; +export { Image360Details } from './components/Image360Details/Image360Details'; export { ViewerAnchor } from './components/ViewerAnchor/ViewerAnchor'; export { RevealToolbar } from './components/RevealToolbar/RevealToolbar'; export { RevealKeepAlive } from './components/RevealKeepAlive/RevealKeepAlive'; diff --git a/react-components/stories/Image360Details.stories.tsx b/react-components/stories/Image360Details.stories.tsx new file mode 100644 index 00000000000..a7ffa9a45fe --- /dev/null +++ b/react-components/stories/Image360Details.stories.tsx @@ -0,0 +1,36 @@ +/*! + * Copyright 2023 Cognite AS + */ +import type { Meta, StoryObj } from '@storybook/react'; +import { Image360CollectionContainer, Image360Details, RevealContainer } from '../src'; +import { createSdkByUrlToken } from './utilities/createSdkByUrlToken'; +import { Color } from 'three'; +import { useState } from 'react'; + +const meta = { + title: 'Example/Image360Details', + component: Image360Details, + tags: ['autodocs'] +} satisfies Meta; + +export default meta; +type Story = StoryObj; + +const sdk = createSdkByUrlToken(); + +export const Main: Story = { + render: () => { + const [loading, setLoading] = useState(true); + return ( + + { + setLoading(false); + }} + /> + {!loading && } + + ); + } +}; diff --git a/react-components/stories/Image360HistoricalDetails.stories.ts b/react-components/stories/Image360HistoricalDetails.stories.ts deleted file mode 100644 index e620e035740..00000000000 --- a/react-components/stories/Image360HistoricalDetails.stories.ts +++ /dev/null @@ -1,69 +0,0 @@ -/*! - * Copyright 2023 Cognite AS - */ -import type { Meta, StoryObj } from '@storybook/react'; -import { Image360HistoricalDetails } from '../src'; -import { It, Mock } from 'moq.ts'; -import { type Cognite3DViewer, type Image360, type Image360Revision } from '@cognite/reveal'; - -const meta = { - title: 'Example/Image360HistoricalDetails', - component: Image360HistoricalDetails, - tags: ['autodocs'] -} satisfies Meta; - -export default meta; -type Story = StoryObj; - -const revisionMocks = [ - new Mock() - .setup(async (p) => await p.getPreviewThumbnailUrl()) - .returns(Promise.resolve(undefined)) - .setup((p) => p.date) - .returns(undefined) - .object(), - new Mock() - .setup(async (p) => await p.getPreviewThumbnailUrl()) - .returns(Promise.resolve(undefined)) - .setup((p) => p.date) - .returns(new Date('2024.01.13 13:23')) - .object(), - new Mock() - .setup(async (p) => await p.getPreviewThumbnailUrl()) - .returns(Promise.resolve(undefined)) - .setup((p) => p.date) - .returns(new Date('2025.01.14 13:23')) - .object(), - new Mock() - .setup(async (p) => await p.getPreviewThumbnailUrl()) - .returns(Promise.resolve(undefined)) - .setup((p) => p.date) - .returns(new Date('2026.01.15 15:23')) - .object(), - new Mock() - .setup(async (p) => await p.getPreviewThumbnailUrl()) - .returns(Promise.resolve(undefined)) - .setup((p) => p.date) - .returns(new Date('2024.01.16 23:23')) - .object() -]; - -const viewerMock = new Mock() - .setup(async (p) => { - await p.enter360Image(It.IsAny()); - }) - .returns(Promise.resolve()); -const image360Mock = new Mock() - .setup((p) => p.getRevisions()) - .returns(revisionMocks) - .setup((p) => p.id) - .returns('Station-Id') - .setup((p) => p.label) - .returns('Station Name'); - -export const Main: Story = { - args: { - viewer: viewerMock.object(), - image360Entity: image360Mock.object() - } -}; diff --git a/react-components/yarn.lock b/react-components/yarn.lock index 440d968d3ca..b5849f39870 100644 --- a/react-components/yarn.lock +++ b/react-components/yarn.lock @@ -35,6 +35,16 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/code-frame@npm:7.22.10" + dependencies: + "@babel/highlight": ^7.22.10 + chalk: ^2.4.2 + checksum: 89a06534ad19759da6203a71bad120b1d7b2ddc016c8e07d4c56b35dea25e7396c6da60a754e8532a86733092b131ae7f661dbe6ba5d165ea777555daa2ed3c9 + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.22.5": version: 7.22.5 resolution: "@babel/compat-data@npm:7.22.5" @@ -79,6 +89,29 @@ __metadata: languageName: node linkType: hard +"@babel/core@npm:^7.22.0": + version: 7.22.10 + resolution: "@babel/core@npm:7.22.10" + dependencies: + "@ampproject/remapping": ^2.2.0 + "@babel/code-frame": ^7.22.10 + "@babel/generator": ^7.22.10 + "@babel/helper-compilation-targets": ^7.22.10 + "@babel/helper-module-transforms": ^7.22.9 + "@babel/helpers": ^7.22.10 + "@babel/parser": ^7.22.10 + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.10 + "@babel/types": ^7.22.10 + convert-source-map: ^1.7.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.2.2 + semver: ^6.3.1 + checksum: cc4efa09209fe1f733cf512e9e4bb50870b191ab2dee8014e34cd6e731f204e48476cc53b4bbd0825d4d342304d577ae43ff5fd8ab3896080673c343321acb32 + languageName: node + linkType: hard + "@babel/generator@npm:^7.12.11": version: 7.21.5 resolution: "@babel/generator@npm:7.21.5" @@ -91,6 +124,18 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/generator@npm:7.22.10" + dependencies: + "@babel/types": ^7.22.10 + "@jridgewell/gen-mapping": ^0.3.2 + "@jridgewell/trace-mapping": ^0.3.17 + jsesc: ^2.5.1 + checksum: 59a79730abdff9070692834bd3af179e7a9413fa2ff7f83dff3eb888765aeaeb2bfc7b0238a49613ed56e1af05956eff303cc139f2407eda8df974813e486074 + languageName: node + linkType: hard + "@babel/generator@npm:^7.22.5": version: 7.22.5 resolution: "@babel/generator@npm:7.22.5" @@ -483,6 +528,17 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/helpers@npm:7.22.10" + dependencies: + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.10 + "@babel/types": ^7.22.10 + checksum: 3b1219e362df390b6c5d94b75a53fc1c2eb42927ced0b8022d6a29b833a839696206b9bdad45b4805d05591df49fc16b6fb7db758c9c2ecfe99e3e94cb13020f + languageName: node + linkType: hard + "@babel/helpers@npm:^7.22.6": version: 7.22.6 resolution: "@babel/helpers@npm:7.22.6" @@ -494,6 +550,17 @@ __metadata: languageName: node linkType: hard +"@babel/highlight@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/highlight@npm:7.22.10" + dependencies: + "@babel/helper-validator-identifier": ^7.22.5 + chalk: ^2.4.2 + js-tokens: ^4.0.0 + checksum: f714a1e1a72dd9d72f6383f4f30fd342e21a8df32d984a4ea8f5eab691bb6ba6db2f8823d4b4cf135d98869e7a98925b81306aa32ee3c429f8cfa52c75889e1b + languageName: node + linkType: hard + "@babel/highlight@npm:^7.22.5": version: 7.22.5 resolution: "@babel/highlight@npm:7.22.5" @@ -514,6 +581,15 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/parser@npm:7.22.10" + bin: + parser: ./bin/babel-parser.js + checksum: af51567b7d3cdf523bc608eae057397486c7fa6c2e5753027c01fe5c36f0767b2d01ce3049b222841326cc5b8c7fda1d810ac1a01af0a97bb04679e2ef9f7049 + languageName: node + linkType: hard + "@babel/parser@npm:^7.22.5": version: 7.22.5 resolution: "@babel/parser@npm:7.22.5" @@ -2015,6 +2091,24 @@ __metadata: languageName: node linkType: hard +"@babel/traverse@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/traverse@npm:7.22.10" + dependencies: + "@babel/code-frame": ^7.22.10 + "@babel/generator": ^7.22.10 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/parser": ^7.22.10 + "@babel/types": ^7.22.10 + debug: ^4.1.0 + globals: ^11.1.0 + checksum: 9f7b358563bfb0f57ac4ed639f50e5c29a36b821a1ce1eea0c7db084f5b925e3275846d0de63bde01ca407c85d9804e0efbe370d92cd2baaafde3bd13b0f4cdb + languageName: node + linkType: hard + "@babel/traverse@npm:^7.22.6, @babel/traverse@npm:^7.22.8": version: 7.22.8 resolution: "@babel/traverse@npm:7.22.8" @@ -2144,12 +2238,12 @@ __metadata: "@cognite/cogs.js": ^9.17.0 "@cognite/reveal": 4.4.0 "@cognite/sdk": ^8.2.0 - "@storybook/addon-essentials": 7.2.3 - "@storybook/addon-interactions": 7.2.3 - "@storybook/addon-links": 7.2.3 - "@storybook/blocks": 7.2.3 - "@storybook/react": 7.2.3 - "@storybook/react-webpack5": 7.2.3 + "@storybook/addon-essentials": 7.3.1 + "@storybook/addon-interactions": 7.3.1 + "@storybook/addon-links": 7.3.1 + "@storybook/blocks": 7.3.1 + "@storybook/react": 7.3.1 + "@storybook/react-webpack5": 7.3.1 "@storybook/testing-library": 0.2.0 "@tanstack/react-query": ^4.29.19 "@tanstack/react-query-devtools": ^4.29.19 @@ -2174,7 +2268,7 @@ __metadata: prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0 - storybook: 7.2.3 + storybook: 7.3.1 style-loader: ^3.3.3 styled-components: 5.3.11 three: 0.155.0 @@ -3664,6 +3758,34 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-roving-focus@npm:1.0.4": + version: 1.0.4 + resolution: "@radix-ui/react-roving-focus@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 69b1c82c2d9db3ba71549a848f2704200dab1b2cd22d050c1e081a78b9a567dbfdc7fd0403ee010c19b79652de69924d8ca2076cd031d6552901e4213493ffc7 + languageName: node + linkType: hard + "@radix-ui/react-select@npm:^1.2.2": version: 1.2.2 resolution: "@radix-ui/react-select@npm:1.2.2" @@ -3704,6 +3826,26 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-separator@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-separator@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-primitive": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 42f8c95e404de2ce9387040d78049808a48d423cd4c3bad8cca92c4b0bcbdcb3566b5b52a920d4e939a74b51188697f20a012221f0e630fc7f56de64096c15d2 + languageName: node + linkType: hard + "@radix-ui/react-slot@npm:1.0.2": version: 1.0.2 resolution: "@radix-ui/react-slot@npm:1.0.2" @@ -3720,6 +3862,80 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-toggle-group@npm:1.0.4": + version: 1.0.4 + resolution: "@radix-ui/react-toggle-group@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-roving-focus": 1.0.4 + "@radix-ui/react-toggle": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: b6c11fbbc3ca857ff68c0fa31f293c0d0111bcc8aa0cde2566214c090907530bfcb3b862f81585c2b02d8989b5c7971acff4d5c07c429870d80bd5602e30d376 + languageName: node + linkType: hard + +"@radix-ui/react-toggle@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-toggle@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: ed5407f48254f20cda542017774f259d0b2c0007ea4bd7287d10d751016dbf269cb13d1142591432c269c3ab768cde2f1ba0344743027d36bbec10af909f19de + languageName: node + linkType: hard + +"@radix-ui/react-toolbar@npm:^1.0.4": + version: 1.0.4 + resolution: "@radix-ui/react-toolbar@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-roving-focus": 1.0.4 + "@radix-ui/react-separator": 1.0.3 + "@radix-ui/react-toggle-group": 1.0.4 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 7ebee1f8add6510108979433c5b38627e2de9d48ef2172ca15274b9edbbc106ff43bcd47ff733b03ed2215b92e7af364ff82c79e5a1728374847e2b1e315552c + languageName: node + linkType: hard + "@radix-ui/react-use-callback-ref@npm:1.0.1": version: 1.0.1 resolution: "@radix-ui/react-use-callback-ref@npm:1.0.1" @@ -3896,18 +4112,18 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-actions@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-actions@npm:7.2.3" +"@storybook/addon-actions@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-actions@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/theming": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/theming": 7.3.1 + "@storybook/types": 7.3.1 dequal: ^2.0.2 lodash: ^4.17.21 polished: ^4.2.2 @@ -3924,22 +4140,22 @@ __metadata: optional: true react-dom: optional: true - checksum: 0c6a0fa856e30012b858afc4d79d9cf444d26d267e717ba3610e28627252d131fca2b2575a9cd75cf64ed4e055e92b42b90b5ca72a17ee3cecc6362bf4b61814 + checksum: bb76f10802a231843b96de156dbc0e7a65e5706377cd557516dc8b2baadb54626ee088edbea633f5977a47e3564996a2c880813b5a43d32e1c8c57ee206467ff languageName: node linkType: hard -"@storybook/addon-backgrounds@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-backgrounds@npm:7.2.3" +"@storybook/addon-backgrounds@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-backgrounds@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/theming": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/theming": 7.3.1 + "@storybook/types": 7.3.1 memoizerific: ^1.11.3 ts-dedent: ^2.0.0 peerDependencies: @@ -3950,24 +4166,24 @@ __metadata: optional: true react-dom: optional: true - checksum: e7588d5e13936da8b60c3d5890aa62294da6b82ba1fef05247948fbc8c1fa9447f5b4c70b96cc8447050c23d2da79128e4a507ffcd6a7bb63dd03218783b1659 + checksum: 34dbfac5669ca25ede45decf47816ed71a552b5c60c035682ec933e88613e9827187b48c65c539346b6c9a5e9939a71e7d44a20799302963765ddd8827286731 languageName: node linkType: hard -"@storybook/addon-controls@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-controls@npm:7.2.3" - dependencies: - "@storybook/blocks": 7.2.3 - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-common": 7.2.3 - "@storybook/core-events": 7.2.3 - "@storybook/manager-api": 7.2.3 - "@storybook/node-logger": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/theming": 7.2.3 - "@storybook/types": 7.2.3 +"@storybook/addon-controls@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-controls@npm:7.3.1" + dependencies: + "@storybook/blocks": 7.3.1 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/core-common": 7.3.1 + "@storybook/core-events": 7.3.1 + "@storybook/manager-api": 7.3.1 + "@storybook/node-logger": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/theming": 7.3.1 + "@storybook/types": 7.3.1 lodash: ^4.17.21 ts-dedent: ^2.0.0 peerDependencies: @@ -3978,29 +4194,29 @@ __metadata: optional: true react-dom: optional: true - checksum: a301c31d431b4e7c7390c08756ab42882e6c0c5aca772e803422f547d91a95a5b540cb25dc575fec5f6bae04a481beeaf8ec5e5a4f2ea8b4a913e7604577ccd2 + checksum: 8f2aa09cd4a40230dbf06e2c0579df5a91ee49ca36121ef98bd34af562a27cca8376856776ac2ed91138ebd2e6db360906eaaabb68a26c6183cf1a4889d7ba0d languageName: node linkType: hard -"@storybook/addon-docs@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-docs@npm:7.2.3" +"@storybook/addon-docs@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-docs@npm:7.3.1" dependencies: "@jest/transform": ^29.3.1 "@mdx-js/react": ^2.1.5 - "@storybook/blocks": 7.2.3 - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/csf-plugin": 7.2.3 - "@storybook/csf-tools": 7.2.3 + "@storybook/blocks": 7.3.1 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/csf-plugin": 7.3.1 + "@storybook/csf-tools": 7.3.1 "@storybook/global": ^5.0.0 "@storybook/mdx2-csf": ^1.0.0 - "@storybook/node-logger": 7.2.3 - "@storybook/postinstall": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/react-dom-shim": 7.2.3 - "@storybook/theming": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/node-logger": 7.3.1 + "@storybook/postinstall": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/react-dom-shim": 7.3.1 + "@storybook/theming": 7.3.1 + "@storybook/types": 7.3.1 fs-extra: ^11.1.0 remark-external-links: ^8.0.0 remark-slug: ^6.0.0 @@ -4008,60 +4224,60 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 4aafa08d916db78c177a95acd8eeaefa3e08836f38bf28b6555c21ad70968814600445007adb97cc712d3b957e48ca70d18c504082878670316a78c176a66d34 - languageName: node - linkType: hard - -"@storybook/addon-essentials@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-essentials@npm:7.2.3" - dependencies: - "@storybook/addon-actions": 7.2.3 - "@storybook/addon-backgrounds": 7.2.3 - "@storybook/addon-controls": 7.2.3 - "@storybook/addon-docs": 7.2.3 - "@storybook/addon-highlight": 7.2.3 - "@storybook/addon-measure": 7.2.3 - "@storybook/addon-outline": 7.2.3 - "@storybook/addon-toolbars": 7.2.3 - "@storybook/addon-viewport": 7.2.3 - "@storybook/core-common": 7.2.3 - "@storybook/manager-api": 7.2.3 - "@storybook/node-logger": 7.2.3 - "@storybook/preview-api": 7.2.3 + checksum: dc8a34f5df124139281976eb5db6edaad39a243ed52138086dd8d425d2b6234b24c84f72ed41e118c07db108e8bcda96f50145864f342406ab0febc9ee6797d8 + languageName: node + linkType: hard + +"@storybook/addon-essentials@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-essentials@npm:7.3.1" + dependencies: + "@storybook/addon-actions": 7.3.1 + "@storybook/addon-backgrounds": 7.3.1 + "@storybook/addon-controls": 7.3.1 + "@storybook/addon-docs": 7.3.1 + "@storybook/addon-highlight": 7.3.1 + "@storybook/addon-measure": 7.3.1 + "@storybook/addon-outline": 7.3.1 + "@storybook/addon-toolbars": 7.3.1 + "@storybook/addon-viewport": 7.3.1 + "@storybook/core-common": 7.3.1 + "@storybook/manager-api": 7.3.1 + "@storybook/node-logger": 7.3.1 + "@storybook/preview-api": 7.3.1 ts-dedent: ^2.0.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 8965b36103c2a36f2c74717b4da0d9af4c50aca2637a95f33c05e2c7177b4147f8111af904251026759029c6175881ea9fb220573fd13c282e660859bd645f6e + checksum: f423d240bc327bb7fe561f4171131af959fc3cd66cc8de530078519b88905c53ab16d43b61c4195e0f0154a83c13ea431d107804565fb9f12aebe86a5e9c30b4 languageName: node linkType: hard -"@storybook/addon-highlight@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-highlight@npm:7.2.3" +"@storybook/addon-highlight@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-highlight@npm:7.3.1" dependencies: - "@storybook/core-events": 7.2.3 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.2.3 - checksum: 0828e975ffeadb4fdf03d038db5a3b501d105cbe3489c5136179de14453d5959a6d6efc1c280336e13639a6d1c1734af4ef358affd952ea8aa6f753f7a06368b + "@storybook/preview-api": 7.3.1 + checksum: 062fc318878d170b78197f9860294c87c63ca2ca2bede1689bdc75acd578532a1426ec0d4640a439bc9271e11292a26435c65e79aa21d744049d1a4a710f2321 languageName: node linkType: hard -"@storybook/addon-interactions@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-interactions@npm:7.2.3" +"@storybook/addon-interactions@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-interactions@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-common": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/core-common": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/instrumenter": 7.2.3 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/theming": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/instrumenter": 7.3.1 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/theming": 7.3.1 + "@storybook/types": 7.3.1 jest-mock: ^27.0.6 polished: ^4.2.2 ts-dedent: ^2.2.0 @@ -4073,22 +4289,22 @@ __metadata: optional: true react-dom: optional: true - checksum: 4a23a4a8f0f6e65310903c0b66063666975a18a436047768c176d96d2c0885ec6af8c75f98709dda4124d5edb67c02161948e69aa2591c216ab430ebaa5893a2 + checksum: 48bceeeca339c094809ad72632826600b81c61204e45e7feca1ebf1e96877e53f414b901f4295aa5cc72088eba7217a1fc72ed934e3bdfb65187b6a9c0684fcd languageName: node linkType: hard -"@storybook/addon-links@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-links@npm:7.2.3" +"@storybook/addon-links@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-links@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/csf": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/router": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/router": 7.3.1 + "@storybook/types": 7.3.1 prop-types: ^15.7.2 ts-dedent: ^2.0.0 peerDependencies: @@ -4099,21 +4315,21 @@ __metadata: optional: true react-dom: optional: true - checksum: c5ff01a1efe89fa9c7c9dbe16fa210fec36a142386d5c22d2779f77b3706622129eb6b27ef0971200f78420395af7ff80c57e2ea0e84ed5b8656284fb70babb7 + checksum: e1e0f4e652ad29e2efa2eae81e8122e56705363a9973912c68e035c5695f56ed58e25415b789cc39a1786d1a70071d3467080ffaa1abb08fcde5e7f9818bc807 languageName: node linkType: hard -"@storybook/addon-measure@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-measure@npm:7.2.3" +"@storybook/addon-measure@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-measure@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/types": 7.3.1 tiny-invariant: ^1.3.1 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4123,21 +4339,21 @@ __metadata: optional: true react-dom: optional: true - checksum: 309ee212dd3b5f6fb32d5c1d038d302df2812c7d093721c7a90986c1444340c33d654cfd7c299e8ad2bb649a56ef5f144cd310e1f349fc5cc83c701b8a4203da + checksum: 8ee172ca865b4cdd0151068ba58a4388a6c373f423fd8b4d050d6606b87a0b12a029f1b6b43f0e1071d44b9047ceb6c3dd291ba65986ff97144090967aafc624 languageName: node linkType: hard -"@storybook/addon-outline@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-outline@npm:7.2.3" +"@storybook/addon-outline@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-outline@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/types": 7.3.1 ts-dedent: ^2.0.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4147,19 +4363,19 @@ __metadata: optional: true react-dom: optional: true - checksum: c5580abdf2a582c263a75f9bf82ce8b6e94b40a4986e9a788e1e19a3663604a349e9b56fca7f91246200441ab10c7151d4a20495df7c429f66932c11fde440cc + checksum: 16f08e3540b730ca8664524bcb1fbd595f0d3b6d8cc35d6058aab2ea4e8a439c79524042e02868ba4a7686931e5d5c2a23696a1ec6a80f21d5a23511aef9ae3d languageName: node linkType: hard -"@storybook/addon-toolbars@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-toolbars@npm:7.2.3" +"@storybook/addon-toolbars@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-toolbars@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/theming": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/theming": 7.3.1 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4168,21 +4384,21 @@ __metadata: optional: true react-dom: optional: true - checksum: 77b39dabade5e192ce76d4328a3b7dbcae102ac9f376ef577a45feabc150debc59ca6bec94cf66191daa05966598e2fa4d14559cd4c95158d2fea6b0d63ce68a + checksum: 05ea1b8724fe003780e6db516e825642f12f3100ffc97888da6974adedbf1c3722ec53a8beba581d2fc9295302fec26eef9c0a270e6f5d207537f46f95dd8bcd languageName: node linkType: hard -"@storybook/addon-viewport@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addon-viewport@npm:7.2.3" +"@storybook/addon-viewport@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/addon-viewport@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/theming": 7.2.3 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/theming": 7.3.1 memoizerific: ^1.11.3 prop-types: ^15.7.2 peerDependencies: @@ -4193,39 +4409,25 @@ __metadata: optional: true react-dom: optional: true - checksum: 0d33466da505f85a0c08c931bdb2c90bc4173f8f2507b7792591cee737c041d5c5d97b480126b95e328ea1bfb0ceda25f5793c92b9e9e1123739576e309a4c91 + checksum: 98e396bc34b400eb6a7036f1efe7ce9ef625ea3f84a26575aa91247e010fd2a48f3374e3f8f7f136ba65f0a1acbffa049f60100e3e12d187687539aecd1cb419 languageName: node linkType: hard -"@storybook/addons@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/addons@npm:7.2.3" +"@storybook/blocks@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/blocks@npm:7.3.1" dependencies: - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/types": 7.2.3 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: b182e10fca5b31d5e0f95d93dd7216b32195d46a6da4aa1946aff2827ac480ed8e444f843166a3d3358d8ac00d77fe5fe56e1779ad7d0080a822a70bca82e554 - languageName: node - linkType: hard - -"@storybook/blocks@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/blocks@npm:7.2.3" - dependencies: - "@storybook/channels": 7.2.3 - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/channels": 7.3.1 + "@storybook/client-logger": 7.3.1 + "@storybook/components": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/csf": ^0.1.0 - "@storybook/docs-tools": 7.2.3 + "@storybook/docs-tools": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/theming": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/manager-api": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/theming": 7.3.1 + "@storybook/types": 7.3.1 "@types/lodash": ^4.14.167 color-convert: ^2.0.1 dequal: ^2.0.2 @@ -4241,18 +4443,18 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: a1982d8e2c4c162d7b01543ee31e5a0be1bf70e8e913f6e0a47be4ad010e3433b5d3f67e72e8fa3f2f047ebc4b7ca8a7d88aaf263d158cdd85173f8f165383f9 + checksum: 3d26e742e37a0e5164345481d8557c752631565ae0e1a7d0b3652d49d8f1397c715423cd729ede62353451586b6e8641de3c2225fdc46fea0dd6be52836109b3 languageName: node linkType: hard -"@storybook/builder-manager@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/builder-manager@npm:7.2.3" +"@storybook/builder-manager@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/builder-manager@npm:7.3.1" dependencies: "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/core-common": 7.2.3 - "@storybook/manager": 7.2.3 - "@storybook/node-logger": 7.2.3 + "@storybook/core-common": 7.3.1 + "@storybook/manager": 7.3.1 + "@storybook/node-logger": 7.3.1 "@types/ejs": ^3.1.1 "@types/find-cache-dir": ^3.2.1 "@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10 @@ -4265,31 +4467,23 @@ __metadata: fs-extra: ^11.1.0 process: ^0.11.10 util: ^0.12.4 - checksum: 5de91ed35fcdafc52ad14b11492c07926147e2567d2573c8e11d7e2540d17b2479ece98ce70d5bf7933fde0718d48dcc4abb2dac199f6ec6f2ff9cf32138c144 + checksum: 97b102675ce46670e8d10aae143b7fd82ec605d687f8cdd669230e719614771991a29a6fadbcca3d7ee8a5fc369c2d6cbd228e8ecf920511ab7e8a97bfae19ad languageName: node linkType: hard -"@storybook/builder-webpack5@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/builder-webpack5@npm:7.2.3" +"@storybook/builder-webpack5@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/builder-webpack5@npm:7.3.1" dependencies: - "@babel/core": ^7.22.9 - "@storybook/addons": 7.2.3 - "@storybook/channels": 7.2.3 - "@storybook/client-api": 7.2.3 - "@storybook/client-logger": 7.2.3 - "@storybook/components": 7.2.3 - "@storybook/core-common": 7.2.3 - "@storybook/core-events": 7.2.3 - "@storybook/core-webpack": 7.2.3 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.2.3 - "@storybook/node-logger": 7.2.3 - "@storybook/preview": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/router": 7.2.3 - "@storybook/store": 7.2.3 - "@storybook/theming": 7.2.3 + "@babel/core": ^7.22.0 + "@storybook/channels": 7.3.1 + "@storybook/client-logger": 7.3.1 + "@storybook/core-common": 7.3.1 + "@storybook/core-events": 7.3.1 + "@storybook/core-webpack": 7.3.1 + "@storybook/node-logger": 7.3.1 + "@storybook/preview": 7.3.1 + "@storybook/preview-api": 7.3.1 "@swc/core": ^1.3.49 "@types/node": ^16.0.0 "@types/semver": ^7.3.4 @@ -4317,45 +4511,42 @@ __metadata: webpack-dev-middleware: ^6.1.1 webpack-hot-middleware: ^2.25.1 webpack-virtual-modules: ^0.5.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 58f52eb912086abf8dfe235e3aa10d176a972a3bd348ffd0b843fdf6f5e59eb9eb862efca6d4281fedfa320992499c168b54de3ffb3c5203b237de3acf52178f + checksum: ae2c2a5904a68e09d9fac9a9443b8b7ce0d9bd4b421bf26f4e28217df1e7d6f405dbb3df11ddb890a7461167e94cd2fe400ce6079d5f56bdccc01ef4feec9fe5 languageName: node linkType: hard -"@storybook/channels@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/channels@npm:7.2.3" +"@storybook/channels@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/channels@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 qs: ^6.10.0 telejson: ^7.0.3 tiny-invariant: ^1.3.1 - checksum: f8cd22b15d2e12011b14d1aa4d4ac3d95b5e40083c91ccc3245f1d9cc7895537028d84c6d54c90b1227a2118fb632271f1c4d75661a97592f5e7a82dc621aaf1 + checksum: 9d57098214f3877bca0688152a0589a4e31cbe064ed92e6630f1327aaf9a7ad87b8ed9c4085ec502d0f7a1779dfe99a1874682e609330f547b901574b068dfe2 languageName: node linkType: hard -"@storybook/cli@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/cli@npm:7.2.3" +"@storybook/cli@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/cli@npm:7.3.1" dependencies: "@babel/core": ^7.22.9 "@babel/preset-env": ^7.22.9 "@babel/types": ^7.22.5 "@ndelangen/get-tarball": ^3.0.7 - "@storybook/codemod": 7.2.3 - "@storybook/core-common": 7.2.3 - "@storybook/core-server": 7.2.3 - "@storybook/csf-tools": 7.2.3 - "@storybook/node-logger": 7.2.3 - "@storybook/telemetry": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/codemod": 7.3.1 + "@storybook/core-common": 7.3.1 + "@storybook/core-server": 7.3.1 + "@storybook/csf-tools": 7.3.1 + "@storybook/node-logger": 7.3.1 + "@storybook/telemetry": 7.3.1 + "@storybook/types": 7.3.1 "@types/semver": ^7.3.4 "@yarnpkg/fslib": 2.10.3 "@yarnpkg/libzip": 2.3.0 @@ -4388,40 +4579,30 @@ __metadata: bin: getstorybook: ./bin/index.js sb: ./bin/index.js - checksum: 2337ff746b67a4de686b7f64c013385836105f76dca5c56dab17cc504bb8a013046f472fd12b5fff361b4e67af8cc59f2585223d14e04e0eacba962d2c83f3ab + checksum: ecb9b1304e8fa8e24ec67ab903fdea10e20c77377fc5a7ffc58cde47cf738d7f95915f6cdc63720c2e4c536c8316f412bac411890181f9c2a41cafab86e636ed languageName: node linkType: hard -"@storybook/client-api@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/client-api@npm:7.2.3" - dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/preview-api": 7.2.3 - checksum: 05e3184bb5f4201a31034978b42227a393e858826b17e0b9fffbb3e14ded494a7331cb5397326dd58381aaf22d035ea8f804c643c9bd8b52d3edfa2b67090c2e - languageName: node - linkType: hard - -"@storybook/client-logger@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/client-logger@npm:7.2.3" +"@storybook/client-logger@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/client-logger@npm:7.3.1" dependencies: "@storybook/global": ^5.0.0 - checksum: 1b8db51dfed084210082551375131e19c6830ac55b2e67bde7594801d73f6d33cbb903115c5699735d85ea0e46414dd1ddd1035bcf9d27de1be06ecc686f4d26 + checksum: 0a715ba5c1a6add7be5ebd0a090b757ba5a504821a86536f0e26917883b6557eae26ec7c2382075ffdf68850f6ee5cecbe16e6fa985cf72ba7fb38ecb96257c2 languageName: node linkType: hard -"@storybook/codemod@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/codemod@npm:7.2.3" +"@storybook/codemod@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/codemod@npm:7.3.1" dependencies: "@babel/core": ^7.22.9 "@babel/preset-env": ^7.22.9 "@babel/types": ^7.22.5 "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.2.3 - "@storybook/node-logger": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/csf-tools": 7.3.1 + "@storybook/node-logger": 7.3.1 + "@storybook/types": 7.3.1 "@types/cross-spawn": ^6.0.2 cross-spawn: ^7.0.3 globby: ^11.0.2 @@ -4429,47 +4610,48 @@ __metadata: lodash: ^4.17.21 prettier: ^2.8.0 recast: ^0.23.1 - checksum: bd1507581a7f1d29119d30021159992a45b7e78cf0f8540206c4326c554d13a7f2f72387660e96f32915f30dcc6682bc08df2bda32d5b26609ee68545a02ff97 + checksum: 300c6b996ce4f4551793ed6349abedc89b248f8a24cb49109b9c83406e6aa351697a63017cb49f7ee60361e7b490f902c2ce7498dbb550f3abdfea4bf2394c84 languageName: node linkType: hard -"@storybook/components@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/components@npm:7.2.3" +"@storybook/components@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/components@npm:7.3.1" dependencies: "@radix-ui/react-select": ^1.2.2 - "@storybook/client-logger": 7.2.3 + "@radix-ui/react-toolbar": ^1.0.4 + "@storybook/client-logger": 7.3.1 "@storybook/csf": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/icons": ^1.1.0 - "@storybook/theming": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/icons": ^1.1.6 + "@storybook/theming": 7.3.1 + "@storybook/types": 7.3.1 memoizerific: ^1.11.3 use-resize-observer: ^9.1.0 util-deprecate: ^1.0.2 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 82cc4add751703cbb3805593a486ee97a6e96042d62ef6164e9009f468a6de39bbd8a30b6a8843e3477a906583049bc0b730fb5f4fae4afeaca95e671e8d9f47 + checksum: 6fb7737c8207b5736daa4b55dd2bc92045257c1a3311e06f06b8251ad8a2b0bc56921bae1bd2ba0b775d372208f30de259d76e83afb68217656db56d085c2953 languageName: node linkType: hard -"@storybook/core-client@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/core-client@npm:7.2.3" +"@storybook/core-client@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/core-client@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/preview-api": 7.2.3 - checksum: b8321c126e15cd9a8061f98f927b58b22da099553fdbb7e685b247eee9ebb2205b808cc840a4391446c8eb60a1ce04dcd77f010e24ec88deb99b42894b53e788 + "@storybook/client-logger": 7.3.1 + "@storybook/preview-api": 7.3.1 + checksum: fb3478723180dff6782cca1bb88742d292f0727b580ede96262c40881079f1061d14b5ee6215f0ee922bf5506465d159d034e73389d3bcaf695501a319d4c1b0 languageName: node linkType: hard -"@storybook/core-common@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/core-common@npm:7.2.3" +"@storybook/core-common@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/core-common@npm:7.3.1" dependencies: - "@storybook/node-logger": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/node-logger": 7.3.1 + "@storybook/types": 7.3.1 "@types/find-cache-dir": ^3.2.1 "@types/node": ^16.0.0 "@types/node-fetch": ^2.6.4 @@ -4490,36 +4672,36 @@ __metadata: pretty-hrtime: ^1.0.3 resolve-from: ^5.0.0 ts-dedent: ^2.0.0 - checksum: 9034a2cdb1d55d9d62029ec357d2fdb6b70f8beabb28bdca59a3196c900c6e2e70b10fcf264b6d15dc7f449b19c91e97d0eeb2785c4d209ddc2202fb47ea78ae + checksum: c94d40c4cc34744dbfeedba627c40be3214a2259edddbd3047ef8ec8b997e7160e60904ceaea0c69d333a2ba89e7bb11d4322886f5d385dca2b34a4cf327b09c languageName: node linkType: hard -"@storybook/core-events@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/core-events@npm:7.2.3" - checksum: 2c976c88cbac5e3be37c946c460a4305dfcb639fa23faf419b866bb943c18398811a6521dbec6649ff6a19e4fdf644288f8a73bd5391a28d3bba24db44a8d80e +"@storybook/core-events@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/core-events@npm:7.3.1" + checksum: 7575e8fde8e6e86c14f085908beae22656b0c3ec96cbb97f0d09489ba2456cf6f96e34f518f6913fe71aff36e9e725f2a40455283cd0c0892ac92ca711a96449 languageName: node linkType: hard -"@storybook/core-server@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/core-server@npm:7.2.3" +"@storybook/core-server@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/core-server@npm:7.3.1" dependencies: "@aw-web-design/x-default-browser": 1.4.126 "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-manager": 7.2.3 - "@storybook/channels": 7.2.3 - "@storybook/core-common": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/builder-manager": 7.3.1 + "@storybook/channels": 7.3.1 + "@storybook/core-common": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.2.3 + "@storybook/csf-tools": 7.3.1 "@storybook/docs-mdx": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/manager": 7.2.3 - "@storybook/node-logger": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/telemetry": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/manager": 7.3.1 + "@storybook/node-logger": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/telemetry": 7.3.1 + "@storybook/types": 7.3.1 "@types/detect-port": ^1.3.0 "@types/node": ^16.0.0 "@types/pretty-hrtime": ^1.0.0 @@ -4547,47 +4729,47 @@ __metadata: util-deprecate: ^1.0.2 watchpack: ^2.2.0 ws: ^8.2.3 - checksum: d492d70a776933f33d9d23a2e990adeee91ef4e518c2aa13ef70ce11cd0b533408944b65fcf291b421c4dad6f79aa009fa200aa31e3346c765fd2e2db7d09d88 + checksum: 375d0b15a23e017de9e6483cd695ce057f84eaa943ad5412dd36a6ed1334d6d041ecdec93d6a42d393270c93b9eed8112168ad73a175ab7445c8ee80a3ae0b25 languageName: node linkType: hard -"@storybook/core-webpack@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/core-webpack@npm:7.2.3" +"@storybook/core-webpack@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/core-webpack@npm:7.3.1" dependencies: - "@storybook/core-common": 7.2.3 - "@storybook/node-logger": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/core-common": 7.3.1 + "@storybook/node-logger": 7.3.1 + "@storybook/types": 7.3.1 "@types/node": ^16.0.0 ts-dedent: ^2.0.0 - checksum: fc7079e342c1768b4397654786bff2abc313f8aee9dbfd8e89715412c01c291b186ddd8aa6e011e4d2bca579499c5d5df07e3cb24f87990a500331711e390caa + checksum: 1d2c75e53eea1dff124398c9a0a77141ecc65d4e621c4fa51a2225f192b71687223175ef8e52dab8d620fc4767a0d7938931fe9d58e8292f66465f2910e4fd6e languageName: node linkType: hard -"@storybook/csf-plugin@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/csf-plugin@npm:7.2.3" +"@storybook/csf-plugin@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/csf-plugin@npm:7.3.1" dependencies: - "@storybook/csf-tools": 7.2.3 + "@storybook/csf-tools": 7.3.1 unplugin: ^1.3.1 - checksum: 5b34261a8a2aa724ac3f78ace81bcb2803b021a81d783025bc489765e3f3ccfb826e9c906e1c1c65a06d13274841401384b417a6351ea06cd186fadbb8e8dc2e + checksum: 00f99ec8ad45b798482881acf8530258cd6abb6ecb96bb912e8d9bebb23cc276be45774f5e1d5c4612c884290268e67737eeebec778092a689232f6c79d70435 languageName: node linkType: hard -"@storybook/csf-tools@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/csf-tools@npm:7.2.3" +"@storybook/csf-tools@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/csf-tools@npm:7.3.1" dependencies: "@babel/generator": ^7.22.9 "@babel/parser": ^7.22.7 "@babel/traverse": ^7.22.8 "@babel/types": ^7.22.5 "@storybook/csf": ^0.1.0 - "@storybook/types": 7.2.3 + "@storybook/types": 7.3.1 fs-extra: ^11.1.0 recast: ^0.23.1 ts-dedent: ^2.0.0 - checksum: b306cfd0007f5b3c3a62392da329da67c893ff432fe3b545d865f5a0ca7146ccf64bf94ba0a7d36a40236f3eab8769b5f20dcea128e72f1fa3e9a494c775a53e + checksum: ba28133b1110cc491ec2bb5314af11a00561783fcc05cb557aa95c0a4c667764b429e05781ee15edb8f1801b58c8f41cca57237ce5de8bcfb9efa1856486abf3 languageName: node linkType: hard @@ -4607,17 +4789,17 @@ __metadata: languageName: node linkType: hard -"@storybook/docs-tools@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/docs-tools@npm:7.2.3" +"@storybook/docs-tools@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/docs-tools@npm:7.3.1" dependencies: - "@storybook/core-common": 7.2.3 - "@storybook/preview-api": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/core-common": 7.3.1 + "@storybook/preview-api": 7.3.1 + "@storybook/types": 7.3.1 "@types/doctrine": ^0.0.3 doctrine: ^3.0.0 lodash: ^4.17.21 - checksum: b6dfd12218f0f49fffc8c79e02a4b5de9dd899aa05fd75eb3f09e319adb9e8eb03b01c4fc960ddd465a264484c028d4b52611305526e496fc166b12422c43602 + checksum: 9c0d85e7fabe3338335e5e0a96f424e9d30b023613629ae0bb96fa579db74fdb975a464cec0c00a1c804d137d2c5351802b1d792b205541a3f36c8cfaf2d2c21 languageName: node linkType: hard @@ -4628,41 +4810,41 @@ __metadata: languageName: node linkType: hard -"@storybook/icons@npm:^1.1.0": - version: 1.1.5 - resolution: "@storybook/icons@npm:1.1.5" +"@storybook/icons@npm:^1.1.6": + version: 1.1.6 + resolution: "@storybook/icons@npm:1.1.6" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: ae88d239632d025122086b3fba3e6ca67583d92f1546a4c1ca261cbcd0f5da417ed60c86f955edcfa30fd28e2465274f8a2a1f09f5449625eb23e7b4c693e337 + checksum: b5774c9e61622886e006d1a87252352246af5236668d9fb2fad00c56c0bb2e1ddbdbab3535b4c806672e62d4e280d7be438596bc3888f74349490e138d9f3acf languageName: node linkType: hard -"@storybook/instrumenter@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/instrumenter@npm:7.2.3" +"@storybook/instrumenter@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/instrumenter@npm:7.3.1" dependencies: - "@storybook/channels": 7.2.3 - "@storybook/client-logger": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/channels": 7.3.1 + "@storybook/client-logger": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.2.3 - checksum: 0c3ff7f61324928a68a1e0c7b559377d5553313fd8db084a0d60ce384faafef0766b08f6d2020783062c4f930da902611bf2edceb8d127ee5db5d6b5ca208f43 + "@storybook/preview-api": 7.3.1 + checksum: f909a83cc5321c7ea9b7df443268255a1ee4fdc7776df601c8a795677ae3c41e1f350dca779baad4131e8ddf7ddb28b7cc26b5a1cf555aa8beabf0430852882a languageName: node linkType: hard -"@storybook/manager-api@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/manager-api@npm:7.2.3" +"@storybook/manager-api@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/manager-api@npm:7.3.1" dependencies: - "@storybook/channels": 7.2.3 - "@storybook/client-logger": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/channels": 7.3.1 + "@storybook/client-logger": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/csf": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/router": 7.2.3 - "@storybook/theming": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/router": 7.3.1 + "@storybook/theming": 7.3.1 + "@storybook/types": 7.3.1 dequal: ^2.0.2 lodash: ^4.17.21 memoizerific: ^1.11.3 @@ -4673,14 +4855,14 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 017cd88167892d02ea2b644ab4e91be39ec9777db722ae923be5841d3db29137f0d05cc984d38561cefb30110ccd395147b9f1b92508ad0ed4e913d5b0e757ff + checksum: c7e0183c651fda634dc635dfa01b60cac258071848474bc77851ebbaf320bcfe2683d57e091aba6fc838d6d0cb32ec84027efe1c812ef1b05feb2841a27b3656 languageName: node linkType: hard -"@storybook/manager@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/manager@npm:7.2.3" - checksum: 922b4527ea041769bf9491f1f7f74bbc3759df212904bb46bb5a377c2710a3b2f341fd599374d5be89173d035e2c9c7271a7922bd51d65b2e139294561ab60c5 +"@storybook/manager@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/manager@npm:7.3.1" + checksum: d0a2a3d7ac327f166f52750bdf431f8500f3081ffde115244f3e5351040aef3a9fb4287b8fc3dad48bb31756aeb57266c5a9f43419ae9911a56bb2cd4b27613f languageName: node linkType: hard @@ -4691,31 +4873,31 @@ __metadata: languageName: node linkType: hard -"@storybook/node-logger@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/node-logger@npm:7.2.3" - checksum: 4588f10e7ea291427c5333f71f719e375a8ca002319659875c7f0cec660226a63af547aea403a9c90737193ac95a2117437def60c4463fdd14efe565917d250d +"@storybook/node-logger@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/node-logger@npm:7.3.1" + checksum: 71b4a7d63259ed004259ae66ccb3e7f20ed73555cf10e27b3c76bfe881021b5b822382566a391f38f2ed4d7d21c41d75321b130188026e19821091b12889c929 languageName: node linkType: hard -"@storybook/postinstall@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/postinstall@npm:7.2.3" - checksum: f56629088521494f7b7246b4b99959d17eaa34efb71019c3ad314b6343fc0bd4506ccf44146c0b5733cda791b9756593eb927b8a7b32578d39da7322b2fe6ebf +"@storybook/postinstall@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/postinstall@npm:7.3.1" + checksum: 8189442c9c85cd151f5b7db5b5cef09c0231a67794580216969e22f6a0eda70e8e94fb2ca175ebdda757b9836e996d2c854b4607d99405b20a90dd5fc1b0213c languageName: node linkType: hard -"@storybook/preset-react-webpack@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/preset-react-webpack@npm:7.2.3" +"@storybook/preset-react-webpack@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/preset-react-webpack@npm:7.3.1" dependencies: "@babel/preset-flow": ^7.22.5 "@babel/preset-react": ^7.22.5 "@pmmmwh/react-refresh-webpack-plugin": ^0.5.5 - "@storybook/core-webpack": 7.2.3 - "@storybook/docs-tools": 7.2.3 - "@storybook/node-logger": 7.2.3 - "@storybook/react": 7.2.3 + "@storybook/core-webpack": 7.3.1 + "@storybook/docs-tools": 7.3.1 + "@storybook/node-logger": 7.3.1 + "@storybook/react": 7.3.1 "@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.0c3f3b7.0 "@types/node": ^16.0.0 "@types/semver": ^7.3.4 @@ -4734,20 +4916,20 @@ __metadata: optional: true typescript: optional: true - checksum: 5a1467cfb9972fb8ee1ebbbf3e37da29fc88e9ce50d5fbc1819139e7fb01842bfab22230e2b88ee79278fd10f0366bf9eceabca04b2c79a120bb5ddbbde512a2 + checksum: ae41cea728afb7bd4f817b607420cf0fcc28b1ff9c8c0715eca3c773bd5fdcc6ac6d9cbe8b050c2b6a21ad18a9b98f79eaea824e13de826457d30323d7ac0fdd languageName: node linkType: hard -"@storybook/preview-api@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/preview-api@npm:7.2.3" +"@storybook/preview-api@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/preview-api@npm:7.3.1" dependencies: - "@storybook/channels": 7.2.3 - "@storybook/client-logger": 7.2.3 - "@storybook/core-events": 7.2.3 + "@storybook/channels": 7.3.1 + "@storybook/client-logger": 7.3.1 + "@storybook/core-events": 7.3.1 "@storybook/csf": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/types": 7.2.3 + "@storybook/types": 7.3.1 "@types/qs": ^6.9.5 dequal: ^2.0.2 lodash: ^4.17.21 @@ -4756,14 +4938,14 @@ __metadata: synchronous-promise: ^2.0.15 ts-dedent: ^2.0.0 util-deprecate: ^1.0.2 - checksum: 756ff46c144a0cdac2814afd560ade066141dbaa0753d4094997bdb71d6f5acb181dea93279ae83a8c52bd3aca88a3a116ed36552c4b134340575bd1157200f4 + checksum: eb27ddec97525b1f8ac9a2f9f02f30c4cca5d652a9de617fb03ed41a609a93ab61c25956e97d1ab644ecb973a4f3feb693a0e945055fb78388c6489753705324 languageName: node linkType: hard -"@storybook/preview@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/preview@npm:7.2.3" - checksum: c7d751fcb1480ba9b56ec1e25d4c7111b112970c42b4c018d94a21fa87692beb9771dd41ba96d9a793dc83cc15822231b748a1d1af43771a052fc45f57aec4be +"@storybook/preview@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/preview@npm:7.3.1" + checksum: 0a73682879ef2ca28077d31d5c6fd2bf6b5b00f11beacf7de696dc2bb3c78b07b21c3ff5d5600d0204952c272ff0a88877bd0977ca11244bb4f2823b0716d911 languageName: node linkType: hard @@ -4785,23 +4967,23 @@ __metadata: languageName: node linkType: hard -"@storybook/react-dom-shim@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/react-dom-shim@npm:7.2.3" +"@storybook/react-dom-shim@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/react-dom-shim@npm:7.3.1" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 150f52fdb90b12daccc8b7286108a5624fa2357a69d0d0bfa6ad204af10f07ee979367cb4309b8d687b7c888eab74e799a033398953fcac3190efe0576e200f4 + checksum: be0e9bb1bc797d0698e4d681e3c4d356bd071f9aa1308314c3c8878c18582e7668dca08e8dbfb101cddabdccb3573c86bc6766a05916dd0016a68baa17ecca88 languageName: node linkType: hard -"@storybook/react-webpack5@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/react-webpack5@npm:7.2.3" +"@storybook/react-webpack5@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/react-webpack5@npm:7.3.1" dependencies: - "@storybook/builder-webpack5": 7.2.3 - "@storybook/preset-react-webpack": 7.2.3 - "@storybook/react": 7.2.3 + "@storybook/builder-webpack5": 7.3.1 + "@storybook/preset-react-webpack": 7.3.1 + "@storybook/react": 7.3.1 "@types/node": ^16.0.0 peerDependencies: "@babel/core": ^7.22.0 @@ -4813,21 +4995,21 @@ __metadata: optional: true typescript: optional: true - checksum: 7892399c48a68b3fcbc21c391aabcf3067918362be5fd1d1e36d153b1ff9c22ca9069865a325cd4fc8d2ad2f5afb5214d5003035f22a9788da07e1b334af04b2 + checksum: bb21f25661d151fc203bc151f3479d5aef81de462794a11329d4aa7cca425c8c2adbcb3743990b5938c50e9f0cfdf17ecac1b548a67a72a3e93d2ccd9757dc8f languageName: node linkType: hard -"@storybook/react@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/react@npm:7.2.3" +"@storybook/react@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/react@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/core-client": 7.2.3 - "@storybook/docs-tools": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/core-client": 7.3.1 + "@storybook/docs-tools": 7.3.1 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.2.3 - "@storybook/react-dom-shim": 7.2.3 - "@storybook/types": 7.2.3 + "@storybook/preview-api": 7.3.1 + "@storybook/react-dom-shim": 7.3.1 + "@storybook/types": 7.3.1 "@types/escodegen": ^0.0.6 "@types/estree": ^0.0.51 "@types/node": ^16.0.0 @@ -4849,47 +5031,37 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: e51ade9e60109c49a5aaa8b0f9b36fc80534d494f25957c267297cc6dedfd00c4682bbb7fb0589c77c617224afa37f668b22616ba7521407d86c7c9a4a6093c1 + checksum: fb2c5b7548794d8d05c6d0fbe7660cb5fde53b8f4163b1790300c54207f28148af3605a7bbcf8c8b44e9d60392f855eb9ed7e73e1fb603c769c8e7c56feb6411 languageName: node linkType: hard -"@storybook/router@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/router@npm:7.2.3" +"@storybook/router@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/router@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 + "@storybook/client-logger": 7.3.1 memoizerific: ^1.11.3 qs: ^6.10.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 0abf733e618129c1fa668e1d2adc45d9b108891677ea5a5fdcf21332c3d408bb9e8b10b7bd9b87f140c00abad11978b3c876e542e72e176c81090d01a956abe8 - languageName: node - linkType: hard - -"@storybook/store@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/store@npm:7.2.3" - dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/preview-api": 7.2.3 - checksum: 5b33d94200198fbe850d37d8fbebeef79f84762e9ed9cac9268a1b59cb83534f222f4e25eb0723340eb0516378c6e7848af8ef249d12ab75b9af1b5cdb4798bd + checksum: ca13c69d74a91918272c7c3707f632e417bc41534d950e67524cfdf75ed4bbe16f467e403196f1895c2d879c5e59b54eeaca6d14f654c476ec70b209e48060fc languageName: node linkType: hard -"@storybook/telemetry@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/telemetry@npm:7.2.3" +"@storybook/telemetry@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/telemetry@npm:7.3.1" dependencies: - "@storybook/client-logger": 7.2.3 - "@storybook/core-common": 7.2.3 - "@storybook/csf-tools": 7.2.3 + "@storybook/client-logger": 7.3.1 + "@storybook/core-common": 7.3.1 + "@storybook/csf-tools": 7.3.1 chalk: ^4.1.0 detect-package-manager: ^2.0.1 fetch-retry: ^5.0.2 fs-extra: ^11.1.0 read-pkg-up: ^7.0.1 - checksum: d3e119c7101c3d9d41ef834e977d81a6de76b9b645d71d6a7eeb1dc66e5b283b0525ad9667d10ea83c8570cf546d1640518c7dfe95be7ce542032aadc5a4cdf7 + checksum: 3a80d9d8013afc8aac5ca089f52e6f6ced93e7633b471f8dfcd0d28bf764c020e1a31534f08eb614c34bcd95d0e59d0622ac3c51356fcaead5b337756ca0e579 languageName: node linkType: hard @@ -4904,30 +5076,30 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/theming@npm:7.2.3" +"@storybook/theming@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/theming@npm:7.3.1" dependencies: "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 - "@storybook/client-logger": 7.2.3 + "@storybook/client-logger": 7.3.1 "@storybook/global": ^5.0.0 memoizerific: ^1.11.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: d39c4d4bdc87a5918a42d6193cbe59d9d6853a6127b1ee0bb224868723cacd676cf6fca834c5b8631a3db92501837dc49212b759e5829995ab0dddf9a0543e6a + checksum: ea7bdf72067c01fe6f977bd1ee3b4dd1726b9d476e77081e6662fd9755df270b0c9e8880a8802b0426fb2376095cd6b7d393c1f5a63efc37d340368ee05b1bf4 languageName: node linkType: hard -"@storybook/types@npm:7.2.3": - version: 7.2.3 - resolution: "@storybook/types@npm:7.2.3" +"@storybook/types@npm:7.3.1": + version: 7.3.1 + resolution: "@storybook/types@npm:7.3.1" dependencies: - "@storybook/channels": 7.2.3 + "@storybook/channels": 7.3.1 "@types/babel__core": ^7.0.0 "@types/express": ^4.7.0 file-system-cache: 2.3.0 - checksum: 7486ff9a48d25e3ed52102a5351cadbaa3f3b08b83e2b7531046b371203a003a2114aad3779297409d54afc0b30ea2d66b226a0e0376f4a71b9df8a2a8167e11 + checksum: fa017c7c1486807b864babdef8afc57ce7f86cbcfdde4adef1417673a6b00839ba74ec1ac59c87340184ffcb224d2091f12941cda05dc59fed4ba743c75bd7c7 languageName: node linkType: hard @@ -7076,7 +7248,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^2.0.0": +"chalk@npm:^2.0.0, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -14178,15 +14350,15 @@ __metadata: languageName: node linkType: hard -"storybook@npm:7.2.3": - version: 7.2.3 - resolution: "storybook@npm:7.2.3" +"storybook@npm:7.3.1": + version: 7.3.1 + resolution: "storybook@npm:7.3.1" dependencies: - "@storybook/cli": 7.2.3 + "@storybook/cli": 7.3.1 bin: sb: ./index.js storybook: ./index.js - checksum: 05353e90828af1e164d8caf8011b258c216347c25e9ec3c9b49a154bf7d988753f0857c7f8b808019c94cb5d27d0443bade58c047d01e67853f81d3e53dc1238 + checksum: c4eac8eedf069ccc8377bced6ac2b382cf48904cc15114640fb5c580dd6b1107cf516a0b714f1b3af5f8715f364956f886d8fe1091962016348a04fd6562cdd3 languageName: node linkType: hard diff --git a/viewer/package.json b/viewer/package.json index 0048d2c5eff..dcd13bf21aa 100644 --- a/viewer/package.json +++ b/viewer/package.json @@ -121,8 +121,8 @@ "jest-puppeteer": "9.0.0", "jsdom": "22.1.0", "moq.ts": "10.0.6", - "nock": "13.3.2", - "prettier": "3.0.1", + "nock": "13.3.3", + "prettier": "3.0.2", "process": "0.11.10", "puppeteer": "21.0.3", "random-seed": "0.3.0", diff --git a/viewer/packages/360-images/visual-tests/Image360.VisualTest.ts b/viewer/packages/360-images/visual-tests/Image360.VisualTest.ts index f219e09ac32..a8e7e21e0fb 100644 --- a/viewer/packages/360-images/visual-tests/Image360.VisualTest.ts +++ b/viewer/packages/360-images/visual-tests/Image360.VisualTest.ts @@ -47,7 +47,7 @@ export default class Image360VisualTestFixture extends StreamingVisualTestFixtur this.setupMouseMoveEventHandler(renderer, entities, facade, camera); - this.setupMouseClickEvenetHandler(renderer, facade, camera, cameraControls); + this.setupMouseClickEventHandler(renderer, facade, camera, cameraControls); } private getOctreeVisualizationObject(icons: Overlay3DIcon[]) { @@ -73,7 +73,7 @@ export default class Image360VisualTestFixture extends StreamingVisualTestFixtur } } - private setupMouseClickEvenetHandler( + private setupMouseClickEventHandler( renderer: THREE.WebGLRenderer, facade: CdfImage360Facade | LocalImage360Facade, camera: THREE.PerspectiveCamera, diff --git a/viewer/packages/api/src/api-helpers/Image360ApiHelper.ts b/viewer/packages/api/src/api-helpers/Image360ApiHelper.ts index 463362453db..9ef9c804404 100644 --- a/viewer/packages/api/src/api-helpers/Image360ApiHelper.ts +++ b/viewer/packages/api/src/api-helpers/Image360ApiHelper.ts @@ -227,7 +227,7 @@ export class Image360ApiHelper { image360Entity.image360Visualization.visible = true; this._image360Facade.allIconCullingScheme = 'proximity'; - // Only do transition if we are swithing between entities. + // Only do transition if we are switching between entities. // Revisions are updated instantly (for now). if (lastEntered360ImageEntity === image360Entity) { image360Entity.activateAnnotations(); diff --git a/viewer/packages/api/src/public/migration/Cognite3DViewer.ts b/viewer/packages/api/src/public/migration/Cognite3DViewer.ts index 6c60ed49804..b9ab668a65a 100644 --- a/viewer/packages/api/src/public/migration/Cognite3DViewer.ts +++ b/viewer/packages/api/src/public/migration/Cognite3DViewer.ts @@ -793,11 +793,11 @@ export class Cognite3DViewer { add360ImageOptions?: AddImage360Options ): Promise { if (datasource !== 'events') { - throw new Error(`${datasource} is an unknown datasource from 360 images`); + throw new Error(`'${datasource}' is an unknown datasource for 360 images`); } if (this._cdfSdkClient === undefined || this._image360ApiHelper === undefined) { - throw new Error(`Adding 360 image sets is only supported when connecting to Cognite Data Fusion`); + throw new Error('Adding 360 image sets is only supported when connecting to Cognite Data Fusion'); } const collectionTransform = add360ImageOptions?.collectionTransform ?? new THREE.Matrix4(); diff --git a/viewer/packages/camera-manager/src/ComboControls.ts b/viewer/packages/camera-manager/src/ComboControls.ts index 19cb676778c..3d5842831c6 100644 --- a/viewer/packages/camera-manager/src/ComboControls.ts +++ b/viewer/packages/camera-manager/src/ComboControls.ts @@ -230,7 +230,7 @@ export class ComboControls extends EventDispatcher { this.dispose = () => { this.removeEventListeners(); - // dipose all keyboard events registered. REV-461! + // Dispose all keyboard events registered. REV-461! this._keyboard.dispose(); }; } @@ -807,7 +807,7 @@ export class ComboControls extends EventDispatcher { return { targetOffset, radius }; }; - // Function almost equal to mapLinear except it is behaving the same as clamp outside of specifed range + // Function almost equal to mapLinear except it is behaving the same as clamp outside of specified range private readonly clampedMap = (value: number, xStart: number, xEnd: number, yStart: number, yEnd: number) => { if (value < xStart) value = yStart; else if (value > xEnd) value = yEnd; diff --git a/viewer/packages/camera-manager/src/Keyboard.ts b/viewer/packages/camera-manager/src/Keyboard.ts index 1ed534082d7..c5d1266726e 100644 --- a/viewer/packages/camera-manager/src/Keyboard.ts +++ b/viewer/packages/camera-manager/src/Keyboard.ts @@ -50,14 +50,6 @@ export default class Keyboard { return this.keys[key] >= 1; } - public comsumePressed(key: string): boolean { - const p = this.keys[key] === 2; - if (p) { - this.keys[key] = 1; - } - return p; - } - public dispose(): void { this.clearPressedKeys(); this.removeEventListeners(); diff --git a/viewer/visual-tests/test-fixtures/StreamingVisualTestFixture.ts b/viewer/visual-tests/test-fixtures/StreamingVisualTestFixture.ts index 75dc55d5354..6a7b7979876 100644 --- a/viewer/visual-tests/test-fixtures/StreamingVisualTestFixture.ts +++ b/viewer/visual-tests/test-fixtures/StreamingVisualTestFixture.ts @@ -129,7 +129,6 @@ export abstract class StreamingVisualTestFixture implements VisualTestFixture { /* * Overridable field creation methods */ - createPointCloudFactory(): PointCloudFactory { return new PointCloudFactory( this.potreeInstance, @@ -337,8 +336,8 @@ export abstract class StreamingVisualTestFixture implements VisualTestFixture { const subscriber = pointCloudManager.getLoadingStateObserver().subscribe(onLoadingStateChange); modelLoadedPromise.then(() => subscriber.unsubscribe()); - // TODO: This is a workaround to deal with point cloud loading state currently not working as intended - // remove this in the future + // TODO: This is a workaround to deal with point cloud loading state currently not working as intended. + // Remove this in the future. setTimeout(() => modelLoadedPromise.resolve(), 1000); } @@ -366,7 +365,7 @@ export abstract class StreamingVisualTestFixture implements VisualTestFixture { } else if (model instanceof PointCloudNode) { return model.getBoundingBox().clone(); } else { - throw new Error(`Unkown type of model(${model})`); + throw new Error(`Unknown type of model(${model})`); } } diff --git a/viewer/yarn.lock b/viewer/yarn.lock index c04624132ee..e2ec30fecc6 100644 --- a/viewer/yarn.lock +++ b/viewer/yarn.lock @@ -636,9 +636,9 @@ __metadata: loglevel: 1.8.1 mixpanel-browser: 2.47.0 moq.ts: 10.0.6 - nock: 13.3.2 + nock: 13.3.3 path-browserify: 1.0.1 - prettier: 3.0.1 + prettier: 3.0.2 process: 0.11.10 puppeteer: 21.0.3 random-seed: 0.3.0 @@ -8908,15 +8908,15 @@ __metadata: languageName: node linkType: hard -"nock@npm:13.3.2": - version: 13.3.2 - resolution: "nock@npm:13.3.2" +"nock@npm:13.3.3": + version: 13.3.3 + resolution: "nock@npm:13.3.3" dependencies: debug: ^4.1.0 json-stringify-safe: ^5.0.1 lodash: ^4.17.21 propagate: ^2.0.0 - checksum: 1d7d5fda1816a3a0d2cb47f10283db139fcd15be6975db6f9b260efa781d5f0eeadf9bd7aab6db61191c519dd99bcd4c5c061e77880341be60abc39cd6163c1f + checksum: e3e4f0fb777ac63d74f89bbb7aebe8e815b891b64ac71983d91686f725fdab856fe189cf2fe23d4add9f5dd5da53f3568106a61116a771ce0f4ed0f5ad7b035b languageName: node linkType: hard @@ -9701,12 +9701,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.0.1": - version: 3.0.1 - resolution: "prettier@npm:3.0.1" +"prettier@npm:3.0.2": + version: 3.0.2 + resolution: "prettier@npm:3.0.2" bin: prettier: bin/prettier.cjs - checksum: e1f3f16c7fe0495de3faa182597871f74927d787cce3c52095a66ff5d7eacc05173371d5f58bf12141a0a1b6bfe739a338531d6cf18b92c7256c1319f2c84e73 + checksum: 118b59ddb6c80abe2315ab6d0f4dd1b253be5cfdb20622fa5b65bb1573dcd362e6dd3dcf2711dd3ebfe64aecf7bdc75de8a69dc2422dcd35bdde7610586b677a languageName: node linkType: hard