diff --git a/package.json b/package.json index c8b2552..34c79e6 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@emotion/styled": "11.11.5", "@graasp/sdk": "4.7.1", "@graasp/translations": "1.23.0", - "@graasp/ui": "4.9.3", + "@graasp/ui": "4.17.1", "@mui/icons-material": "5.15.15", "@mui/lab": "5.0.0-alpha.170", "@mui/material": "5.15.15", diff --git a/src/components/CountryForm/CountryForm.tsx b/src/components/CountryForm/CountryForm.tsx index 962ff20..49c544a 100644 --- a/src/components/CountryForm/CountryForm.tsx +++ b/src/components/CountryForm/CountryForm.tsx @@ -101,6 +101,7 @@ const CountryForm = ({ { const [showMap, setShowMap] = useState(false); - const [hasFetchedCurrentLocation, setHasFetchedCurrentLocation] = - useState(false); - - const [currentPosition, setCurrentPosition] = useState<{ - lat: number; - lng: number; - }>(); useEffect(() => { if (currentMember) { @@ -54,31 +40,6 @@ const Map = ({ } }, [currentMember]); - // get current location - useEffect(() => { - const success = (pos: { - coords: { latitude: number; longitude: number }; - }) => { - const crd = pos.coords; - setCurrentPosition({ lat: crd.latitude, lng: crd.longitude }); - setHasFetchedCurrentLocation(true); - }; - - navigator.geolocation.getCurrentPosition( - success, - (err: { code: number; message: string }) => { - // eslint-disable-next-line no-console - console.warn(`ERROR(${err.code}): ${err.message}`); - setHasFetchedCurrentLocation(true); - }, - options, - ); - }, []); - - if (!hasFetchedCurrentLocation) { - return ; - } - return (
diff --git a/src/components/map/ViewButton.tsx b/src/components/map/ViewButton.tsx index 8ffd4cb..7cf47a7 100644 --- a/src/components/map/ViewButton.tsx +++ b/src/components/map/ViewButton.tsx @@ -11,9 +11,14 @@ type Props = { const ViewButton = ({ item }: Props): JSX.Element => { const { viewItem } = useQueryClientContext(); + return ( - viewItem(item)}> + { + viewItem(item); + }} + > diff --git a/src/components/topbar/CustomSearchMenu.tsx b/src/components/topbar/CustomSearchMenu.tsx deleted file mode 100644 index 55a7daa..0000000 --- a/src/components/topbar/CustomSearchMenu.tsx +++ /dev/null @@ -1,87 +0,0 @@ -// import React, { Dispatch, SetStateAction } from 'react'; - -// import { Popover } from '@mui/material'; - -// import { tags } from '../../data/data'; -// import { MarkerParent, MarkerProps, ParentCheck } from '../../types'; -// import DropDown from '../dropdown'; -// import CheckboxGroup from '../map/CheckboxGroup'; -// import ToggleButtonsMultiple from '../tags'; - -// const list: { label: MarkerParent }[] = [ -// { label: 'MyItems' }, -// { label: 'Published' }, -// ]; -// interface Props { -// itemsList: MarkerProps[]; -// setSelectedItem: (val: MarkerProps) => void; -// closeMenu: () => void; -// selectedTags: string[]; -// setIsChecked: Dispatch>; -// // isChecked: ParentCheck; -// setSelectedTags: Dispatch>; -// anchorEl: HTMLInputElement | null; -// } -// const CustomSearch = ({ -// itemsList, -// setSelectedItem, -// closeMenu, -// selectedTags, -// setIsChecked, -// // isChecked, -// setSelectedTags, -// anchorEl, -// }: Props): JSX.Element => { -// const handleCheck = (e: React.ChangeEvent) => { -// const { name }: { name: string } = e.target; -// setIsChecked( -// (prev: ParentCheck): ParentCheck => ({ -// ...prev, -// [name]: !prev[name as MarkerParent], -// }), -// ); -// }; - -// return ( -// -//
-//
-//
-// -//
-// -//
-//
-// -//
-//
-//
-// ); -// }; - -// export default CustomSearch; diff --git a/yarn.lock b/yarn.lock index 68974de..d5ba434 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,19 +19,22 @@ __metadata: languageName: node linkType: hard -"@ag-grid-community/client-side-row-model@npm:31.1.1": - version: 31.1.1 - resolution: "@ag-grid-community/client-side-row-model@npm:31.1.1" +"@ag-grid-community/client-side-row-model@npm:31.2.1": + version: 31.2.1 + resolution: "@ag-grid-community/client-side-row-model@npm:31.2.1" dependencies: - "@ag-grid-community/core": "npm:31.1.1" - checksum: 10/871116d80ee740f417d533abb59bf57831aaba81625fef4fa75b6f538b8a9a29c909a50e8e45231b3f476735e4deaff69e6a1a18efa18f2141f6904497b37f2e + "@ag-grid-community/core": "npm:31.2.1" + tslib: "npm:^2.3.0" + checksum: 10/e1efa79831b644d4aff5ccae32a2b8ff0c9383060f64befeff6aaf0c21c6a081c44f970ee1ea32737c7bbd977f69afdf4b3d2b269c1fdfc24306cf75e6b618ce languageName: node linkType: hard -"@ag-grid-community/core@npm:31.1.1": - version: 31.1.1 - resolution: "@ag-grid-community/core@npm:31.1.1" - checksum: 10/6c830b9b3a29b2ec05e84137d9f739ef9727bbf9c505c6fe5bec39146ad2ad5e606866932cf606e91b7c5a236adc093cf3779533122f33c5102ad3ec1b368c09 +"@ag-grid-community/core@npm:31.2.1": + version: 31.2.1 + resolution: "@ag-grid-community/core@npm:31.2.1" + dependencies: + tslib: "npm:^2.3.0" + checksum: 10/2bf06604fd620b543a3422fb2039f32ee28a405a7eea1c374e13e317c3a7d2fa146d4af73edbf131732bab5ab0d75ee9ba199ed0c9bad5f60afbfc8759e98aad languageName: node linkType: hard @@ -2376,7 +2379,7 @@ __metadata: "@graasp/query-client": "npm:2.9.1" "@graasp/sdk": "npm:4.7.1" "@graasp/translations": "npm:1.23.0" - "@graasp/ui": "npm:4.9.3" + "@graasp/ui": "npm:4.17.1" "@mui/icons-material": "npm:5.15.15" "@mui/lab": "npm:5.0.0-alpha.170" "@mui/material": "npm:5.15.15" @@ -2528,6 +2531,45 @@ __metadata: languageName: node linkType: hard +"@graasp/ui@npm:4.17.1": + version: 4.17.1 + resolution: "@graasp/ui@npm:4.17.1" + dependencies: + "@ag-grid-community/client-side-row-model": "npm:31.2.1" + "@ag-grid-community/react": "npm:^31.1.1" + "@ag-grid-community/styles": "npm:^31.1.1" + "@storybook/react-vite": "npm:7.6.18" + http-status-codes: "npm:2.3.0" + interweave: "npm:13.1.0" + katex: "npm:0.16.10" + lodash.truncate: "npm:4.4.2" + lucide-react: "npm:0.376.0" + react-cookie-consent: "npm:9.0.0" + react-quill: "npm:2.0.0" + react-rnd: "npm:10.4.1" + react-text-mask: "npm:5.5.0" + uuid: "npm:9.0.1" + vitest: "npm:1.5.2" + peerDependencies: + "@emotion/cache": ~11.10.7 || ~11.11.0 + "@emotion/react": ~11.10.6 || ~11.11.0 + "@emotion/styled": ~11.10.6 || ~11.11.0 + "@graasp/sdk": ^4.0.0 + "@graasp/translations": ^1.23.0 + "@mui/icons-material": ~5.14.0 || ~5.15.0 + "@mui/lab": ~5.0.0-alpha.150 + "@mui/material": ~5.14.0 || ~5.15.0 + i18next: ^22.4.15 || ^23.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 + react-i18next: ^13.0.0 || ^14.0.0 + react-router-dom: ^6.11.0 + stylis: ^4.1.3 + stylis-plugin-rtl: ^2.1.1 + checksum: 10/99be0678ea73a84fa6e2175f3aa61eb5c9dd8025bde4e7012706c26d73a14dfe584977e48b2487944002badb5d2888ae7aea9126ae7713e207fcc648502eb522 + languageName: node + linkType: hard + "@graasp/ui@npm:4.5.1": version: 4.5.1 resolution: "@graasp/ui@npm:4.5.1" @@ -2568,44 +2610,6 @@ __metadata: languageName: node linkType: hard -"@graasp/ui@npm:4.9.3": - version: 4.9.3 - resolution: "@graasp/ui@npm:4.9.3" - dependencies: - "@ag-grid-community/client-side-row-model": "npm:31.1.1" - "@ag-grid-community/react": "npm:^31.1.1" - "@ag-grid-community/styles": "npm:^31.1.1" - "@storybook/react-vite": "npm:7.6.17" - http-status-codes: "npm:2.3.0" - interweave: "npm:13.1.0" - katex: "npm:0.16.9" - lodash.truncate: "npm:4.4.2" - react-cookie-consent: "npm:9.0.0" - react-quill: "npm:2.0.0" - react-rnd: "npm:10.4.1" - react-text-mask: "npm:5.5.0" - uuid: "npm:9.0.1" - vitest: "npm:1.3.1" - peerDependencies: - "@emotion/cache": ~11.10.7 || ~11.11.0 - "@emotion/react": ~11.10.6 || ~11.11.0 - "@emotion/styled": ~11.10.6 || ~11.11.0 - "@graasp/sdk": ^4.0.0 - "@graasp/translations": ^1.23.0 - "@mui/icons-material": ~5.14.0 || ~5.15.0 - "@mui/lab": ~5.0.0-alpha.150 - "@mui/material": ~5.14.0 || ~5.15.0 - i18next: ^22.4.15 || ^23.0.0 - react: ^18.0.0 - react-dom: ^18.0.0 - react-i18next: ^13.0.0 || ^14.0.0 - react-router-dom: ^6.11.0 - stylis: ^4.1.3 - stylis-plugin-rtl: ^2.1.1 - checksum: 10/190d5c7bf0dbb1fe7fc042359c0f9f6f6fb8fb7fd72c1631082bf98ef4bc422a7792a0f89f1a67b7463ac63dbce70598f39903fe74c79decc646508457474549 - languageName: node - linkType: hard - "@hapi/hoek@npm:^9.0.0, @hapi/hoek@npm:^9.3.0": version: 9.3.0 resolution: "@hapi/hoek@npm:9.3.0" @@ -4462,6 +4466,42 @@ __metadata: languageName: node linkType: hard +"@storybook/builder-vite@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/builder-vite@npm:7.6.18" + dependencies: + "@storybook/channels": "npm:7.6.18" + "@storybook/client-logger": "npm:7.6.18" + "@storybook/core-common": "npm:7.6.18" + "@storybook/csf-plugin": "npm:7.6.18" + "@storybook/node-logger": "npm:7.6.18" + "@storybook/preview": "npm:7.6.18" + "@storybook/preview-api": "npm:7.6.18" + "@storybook/types": "npm:7.6.18" + "@types/find-cache-dir": "npm:^3.2.1" + browser-assert: "npm:^1.2.1" + es-module-lexer: "npm:^0.9.3" + express: "npm:^4.17.3" + find-cache-dir: "npm:^3.0.0" + fs-extra: "npm:^11.1.0" + magic-string: "npm:^0.30.0" + rollup: "npm:^2.25.0 || ^3.3.0" + peerDependencies: + "@preact/preset-vite": "*" + typescript: ">= 4.3.x" + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + vite-plugin-glimmerx: "*" + peerDependenciesMeta: + "@preact/preset-vite": + optional: true + typescript: + optional: true + vite-plugin-glimmerx: + optional: true + checksum: 10/f2b9ad8a3e750646e8ef41d1dc4468765e49ce970fd5257299495e2efe301325263203bfc52f68a02b869ea6a0d2576a5284b1043d796596cca1a7244dc8b7be + languageName: node + linkType: hard + "@storybook/channels@npm:7.6.17": version: 7.6.17 resolution: "@storybook/channels@npm:7.6.17" @@ -4476,6 +4516,20 @@ __metadata: languageName: node linkType: hard +"@storybook/channels@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/channels@npm:7.6.18" + dependencies: + "@storybook/client-logger": "npm:7.6.18" + "@storybook/core-events": "npm:7.6.18" + "@storybook/global": "npm:^5.0.0" + qs: "npm:^6.10.0" + telejson: "npm:^7.2.0" + tiny-invariant: "npm:^1.3.1" + checksum: 10/bb3656b9c5f5a7aa0f2ff4fcea2ac840f4c861b1d1cf172215100506537517a9975cd6e4b8db29d61cefa2b7b9c0d3f1ecdd08e290c102f9d573643b178310bc + languageName: node + linkType: hard + "@storybook/cli@npm:7.6.17": version: 7.6.17 resolution: "@storybook/cli@npm:7.6.17" @@ -4536,6 +4590,15 @@ __metadata: languageName: node linkType: hard +"@storybook/client-logger@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/client-logger@npm:7.6.18" + dependencies: + "@storybook/global": "npm:^5.0.0" + checksum: 10/0df63fa013a17b882061f291458b4ffd9e21957b5bca4bbac85cd4b7195ada82a7fbe6a3505df190f9b89038681c38dd45c1eed62800c090930211ce0f08ffbc + languageName: node + linkType: hard + "@storybook/codemod@npm:7.6.17": version: 7.6.17 resolution: "@storybook/codemod@npm:7.6.17" @@ -4589,6 +4652,16 @@ __metadata: languageName: node linkType: hard +"@storybook/core-client@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/core-client@npm:7.6.18" + dependencies: + "@storybook/client-logger": "npm:7.6.18" + "@storybook/preview-api": "npm:7.6.18" + checksum: 10/5c556280f7af6d37febd1e2cf9800ef7c3d14952e335c95674cc2e0c5eed6f753dbb4f1b58a6a9b64389c429bffdf3cb9a8f04f307448fb3b2a6c20f5aab1bcc + languageName: node + linkType: hard + "@storybook/core-common@npm:7.6.17, @storybook/core-common@npm:^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0": version: 7.6.17 resolution: "@storybook/core-common@npm:7.6.17" @@ -4620,6 +4693,37 @@ __metadata: languageName: node linkType: hard +"@storybook/core-common@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/core-common@npm:7.6.18" + dependencies: + "@storybook/core-events": "npm:7.6.18" + "@storybook/node-logger": "npm:7.6.18" + "@storybook/types": "npm:7.6.18" + "@types/find-cache-dir": "npm:^3.2.1" + "@types/node": "npm:^18.0.0" + "@types/node-fetch": "npm:^2.6.4" + "@types/pretty-hrtime": "npm:^1.0.0" + chalk: "npm:^4.1.0" + esbuild: "npm:^0.18.0" + esbuild-register: "npm:^3.5.0" + file-system-cache: "npm:2.3.0" + find-cache-dir: "npm:^3.0.0" + find-up: "npm:^5.0.0" + fs-extra: "npm:^11.1.0" + glob: "npm:^10.0.0" + handlebars: "npm:^4.7.7" + lazy-universal-dotenv: "npm:^4.0.0" + node-fetch: "npm:^2.0.0" + picomatch: "npm:^2.3.0" + pkg-dir: "npm:^5.0.0" + pretty-hrtime: "npm:^1.0.3" + resolve-from: "npm:^5.0.0" + ts-dedent: "npm:^2.0.0" + checksum: 10/fb98e8a8302ff8fa709cabc68fee30efbfd2af1eb2272ea3f1e971d0710709f682f4de6bade8cca2aadfe7082a5198cf49000ab1e7b3232854b1005b36bf708f + languageName: node + linkType: hard + "@storybook/core-events@npm:7.6.17": version: 7.6.17 resolution: "@storybook/core-events@npm:7.6.17" @@ -4629,6 +4733,15 @@ __metadata: languageName: node linkType: hard +"@storybook/core-events@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/core-events@npm:7.6.18" + dependencies: + ts-dedent: "npm:^2.0.0" + checksum: 10/7308971a255ea911b556552aaf03b66babe30e47a281c3582665cd8ae0c70494d6cbd2997c8a41fa4b5d04ba9bf4e1415d083c653ed7d594a2deaa19d8bbc3c6 + languageName: node + linkType: hard + "@storybook/core-server@npm:7.6.17": version: 7.6.17 resolution: "@storybook/core-server@npm:7.6.17" @@ -4688,6 +4801,16 @@ __metadata: languageName: node linkType: hard +"@storybook/csf-plugin@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/csf-plugin@npm:7.6.18" + dependencies: + "@storybook/csf-tools": "npm:7.6.18" + unplugin: "npm:^1.3.1" + checksum: 10/c20951b5f7e4412cf111c991b6ec601afada5381132ae6c53caa5ec58a8b2ea74456e043974950a46cd6a6e3c47de5cebb8ff5a6d0820f932582adb08b4ac103 + languageName: node + linkType: hard + "@storybook/csf-tools@npm:7.6.17, @storybook/csf-tools@npm:^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0": version: 7.6.17 resolution: "@storybook/csf-tools@npm:7.6.17" @@ -4705,6 +4828,23 @@ __metadata: languageName: node linkType: hard +"@storybook/csf-tools@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/csf-tools@npm:7.6.18" + dependencies: + "@babel/generator": "npm:^7.23.0" + "@babel/parser": "npm:^7.23.0" + "@babel/traverse": "npm:^7.23.2" + "@babel/types": "npm:^7.23.0" + "@storybook/csf": "npm:^0.1.2" + "@storybook/types": "npm:7.6.18" + fs-extra: "npm:^11.1.0" + recast: "npm:^0.23.1" + ts-dedent: "npm:^2.0.0" + checksum: 10/c5041040f9674254ffdc6c09609c16f85fa1f11c94b8a2728ab6ff948476f4a4267d8eae213571d762647a52d33406ff39d9a436ce6ae9d1556e0e3aab54811f + languageName: node + linkType: hard + "@storybook/csf@npm:^0.0.1": version: 0.0.1 resolution: "@storybook/csf@npm:0.0.1" @@ -4745,6 +4885,21 @@ __metadata: languageName: node linkType: hard +"@storybook/docs-tools@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/docs-tools@npm:7.6.18" + dependencies: + "@storybook/core-common": "npm:7.6.18" + "@storybook/preview-api": "npm:7.6.18" + "@storybook/types": "npm:7.6.18" + "@types/doctrine": "npm:^0.0.3" + assert: "npm:^2.1.0" + doctrine: "npm:^3.0.0" + lodash: "npm:^4.17.21" + checksum: 10/cd3a50cfe17db233464af85e3162764ed4d24e009034034653e0fd4d2d2fe1d02b530b5a6f5a25f6575b3d19e646e07d14018ee46a5fbb6fd15541bc0a22de6e + languageName: node + linkType: hard + "@storybook/expect@npm:storybook-jest": version: 28.1.3-5 resolution: "@storybook/expect@npm:28.1.3-5" @@ -4831,6 +4986,13 @@ __metadata: languageName: node linkType: hard +"@storybook/node-logger@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/node-logger@npm:7.6.18" + checksum: 10/9c50e0b5548b11070be99b07209bd45f956bf18bfd02a90cda93238ed389e1b0840aeba1c9dec6b1b519b12ce9c2a3a52a6f648d1e3158afccf6b6b80ade7690 + languageName: node + linkType: hard + "@storybook/postinstall@npm:7.6.17": version: 7.6.17 resolution: "@storybook/postinstall@npm:7.6.17" @@ -4860,6 +5022,28 @@ __metadata: languageName: node linkType: hard +"@storybook/preview-api@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/preview-api@npm:7.6.18" + dependencies: + "@storybook/channels": "npm:7.6.18" + "@storybook/client-logger": "npm:7.6.18" + "@storybook/core-events": "npm:7.6.18" + "@storybook/csf": "npm:^0.1.2" + "@storybook/global": "npm:^5.0.0" + "@storybook/types": "npm:7.6.18" + "@types/qs": "npm:^6.9.5" + dequal: "npm:^2.0.2" + lodash: "npm:^4.17.21" + memoizerific: "npm:^1.11.3" + qs: "npm:^6.10.0" + synchronous-promise: "npm:^2.0.15" + ts-dedent: "npm:^2.0.0" + util-deprecate: "npm:^1.0.2" + checksum: 10/817d6d228de38564e0a1801be86bed6677dd2314789894bcd95ad31318275de1904a1811ed231d18cbafbeeaafbfcea006e681387f4d4c3f7a5def75056bcea3 + languageName: node + linkType: hard + "@storybook/preview@npm:7.6.17": version: 7.6.17 resolution: "@storybook/preview@npm:7.6.17" @@ -4867,6 +5051,13 @@ __metadata: languageName: node linkType: hard +"@storybook/preview@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/preview@npm:7.6.18" + checksum: 10/311ca057812a325f4cf7286690b348b67bf8840927ca7b8843091e3b7f0eb1eaeb7df8e765d2105176aa591977b412001b68d67501af7da71cd94776b83a1941 + languageName: node + linkType: hard + "@storybook/react-dom-shim@npm:7.6.17": version: 7.6.17 resolution: "@storybook/react-dom-shim@npm:7.6.17" @@ -4877,6 +5068,16 @@ __metadata: languageName: node linkType: hard +"@storybook/react-dom-shim@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/react-dom-shim@npm:7.6.18" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 10/42e6ab2465ac82f17d11794ca20a20d6d0236cf66038dc5d3dd320786769883964d662531cd36a5d7d21cba6061a68bd2c58d5cdeb1769779c44c68789e84c95 + languageName: node + linkType: hard + "@storybook/react-vite@npm:7.6.17": version: 7.6.17 resolution: "@storybook/react-vite@npm:7.6.17" @@ -4896,6 +5097,25 @@ __metadata: languageName: node linkType: hard +"@storybook/react-vite@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/react-vite@npm:7.6.18" + dependencies: + "@joshwooding/vite-plugin-react-docgen-typescript": "npm:0.3.0" + "@rollup/pluginutils": "npm:^5.0.2" + "@storybook/builder-vite": "npm:7.6.18" + "@storybook/react": "npm:7.6.18" + "@vitejs/plugin-react": "npm:^3.0.1" + magic-string: "npm:^0.30.0" + react-docgen: "npm:^7.0.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + checksum: 10/e5b5d1944ca4f65229f50bef20ff50afdceb6064dd72636f7ebf9bcd79adf8554df8a14c381a8ffc3aae1816153d72857e61805aaba97e2192a33df220eb3162 + languageName: node + linkType: hard + "@storybook/react@npm:7.6.17": version: 7.6.17 resolution: "@storybook/react@npm:7.6.17" @@ -4932,6 +5152,42 @@ __metadata: languageName: node linkType: hard +"@storybook/react@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/react@npm:7.6.18" + dependencies: + "@storybook/client-logger": "npm:7.6.18" + "@storybook/core-client": "npm:7.6.18" + "@storybook/docs-tools": "npm:7.6.18" + "@storybook/global": "npm:^5.0.0" + "@storybook/preview-api": "npm:7.6.18" + "@storybook/react-dom-shim": "npm:7.6.18" + "@storybook/types": "npm:7.6.18" + "@types/escodegen": "npm:^0.0.6" + "@types/estree": "npm:^0.0.51" + "@types/node": "npm:^18.0.0" + acorn: "npm:^7.4.1" + acorn-jsx: "npm:^5.3.1" + acorn-walk: "npm:^7.2.0" + escodegen: "npm:^2.1.0" + html-tags: "npm:^3.1.0" + lodash: "npm:^4.17.21" + prop-types: "npm:^15.7.2" + react-element-to-jsx-string: "npm:^15.0.0" + ts-dedent: "npm:^2.0.0" + type-fest: "npm:~2.19" + util-deprecate: "npm:^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 + typescript: "*" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10/0afdcdf9fa5a0cf693207bc9aa96e9b1ad5512321bdcdb3ddbddf99f821ec1144f874394b660287d481a468e4df43b0fc148266f4d5d03f8dd88958804f9f996 + languageName: node + linkType: hard + "@storybook/router@npm:7.6.17": version: 7.6.17 resolution: "@storybook/router@npm:7.6.17" @@ -5055,6 +5311,18 @@ __metadata: languageName: node linkType: hard +"@storybook/types@npm:7.6.18": + version: 7.6.18 + resolution: "@storybook/types@npm:7.6.18" + dependencies: + "@storybook/channels": "npm:7.6.18" + "@types/babel__core": "npm:^7.0.0" + "@types/express": "npm:^4.7.0" + file-system-cache: "npm:2.3.0" + checksum: 10/521b2ba3e3938b5774d2bcc6eda5db0b8dc7b7759aea0ba217daf34f83c40ef29ff05d011585e426ae70a77391a8015d9a9a9ff94ff0dcbec0f773c14cf723b8 + languageName: node + linkType: hard + "@swc/core-darwin-arm64@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-darwin-arm64@npm:1.4.2" @@ -6114,14 +6382,14 @@ __metadata: languageName: node linkType: hard -"@vitest/expect@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/expect@npm:1.3.1" +"@vitest/expect@npm:1.5.2": + version: 1.5.2 + resolution: "@vitest/expect@npm:1.5.2" dependencies: - "@vitest/spy": "npm:1.3.1" - "@vitest/utils": "npm:1.3.1" + "@vitest/spy": "npm:1.5.2" + "@vitest/utils": "npm:1.5.2" chai: "npm:^4.3.10" - checksum: 10/7c2818b2080ec107cffcc1566195132695c8e87cba883e878c2f36ac4d8107bb0a1f8d3823ccc0da5989e245ea114b8afffe790512aebcde8537ac8c1bcf3454 + checksum: 10/47ea9f1e7482de32100b243e599587979664bae569def43371d5c2a19514709cc3019c7f3ac6f4179d2183a0221642277a44029ac44cef04e54fbbbb52785e17 languageName: node linkType: hard @@ -6136,25 +6404,25 @@ __metadata: languageName: node linkType: hard -"@vitest/runner@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/runner@npm:1.3.1" +"@vitest/runner@npm:1.5.2": + version: 1.5.2 + resolution: "@vitest/runner@npm:1.5.2" dependencies: - "@vitest/utils": "npm:1.3.1" + "@vitest/utils": "npm:1.5.2" p-limit: "npm:^5.0.0" pathe: "npm:^1.1.1" - checksum: 10/dcd452216b83406df49e298da5e49dbc45c542f755a726a132461b94a84c386b6cabcdfce17fc2d31fa66fd5ea4e57be3618c7dc627b17791e2a1a065d919616 + checksum: 10/9bb002c6de3da6011642bd09c5d1cf3ea0a6595e4cb88b9cd3314e99e5583ec398d35c57bebc91b197631ac9dea61d4adb53f9e3217b4d55c3b52fa930e8edab languageName: node linkType: hard -"@vitest/snapshot@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/snapshot@npm:1.3.1" +"@vitest/snapshot@npm:1.5.2": + version: 1.5.2 + resolution: "@vitest/snapshot@npm:1.5.2" dependencies: magic-string: "npm:^0.30.5" pathe: "npm:^1.1.1" pretty-format: "npm:^29.7.0" - checksum: 10/2212ae82eb8d458ddaa6c28c7e33b6a8c8897e298b88e458bf83e7f9bf767fd716ed507f3cd41ebbe145d59baa72220e9f494552f92cc22b39241dc32b8ad8e1 + checksum: 10/80d6ca478aee3caf6ce5afecd4f37d2677a619bdc63c4209281b047d39657045f4db1bac5ba9a1c38480df0d3f141da86013579c14b8104c7e8c43ed5134ca96 languageName: node linkType: hard @@ -6167,12 +6435,12 @@ __metadata: languageName: node linkType: hard -"@vitest/spy@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/spy@npm:1.3.1" +"@vitest/spy@npm:1.5.2": + version: 1.5.2 + resolution: "@vitest/spy@npm:1.5.2" dependencies: tinyspy: "npm:^2.2.0" - checksum: 10/544c8a30fdeb32fb7bf2c2b5816519be943f5ef90668c306b14efdde7676771d0e83cf0e0a5c79fad722be3839432226bcf74173110a032299821e00b67f47e6 + checksum: 10/e4424f9e0d1e4f11ec242aeb5f98fa6420ecf7d8bb456a8b31795e02f933d7b529946a6442c886b27cf324925ac105536f4a8fcbf672d775c1b6d0897a36b061 languageName: node linkType: hard @@ -6187,15 +6455,15 @@ __metadata: languageName: node linkType: hard -"@vitest/utils@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/utils@npm:1.3.1" +"@vitest/utils@npm:1.5.2": + version: 1.5.2 + resolution: "@vitest/utils@npm:1.5.2" dependencies: diff-sequences: "npm:^29.6.3" estree-walker: "npm:^3.0.3" loupe: "npm:^2.3.7" pretty-format: "npm:^29.7.0" - checksum: 10/170c62e6c348562f611d8caddc893e8cba75ed89986e09aa2f0fe6812c96664e8d0f6e329f7a96a4c9cdecf147f4853e4054c3db597b111ec993d3cdd546eddc + checksum: 10/74fb0a32973038b00b6ca427cf387c07ff879342e6ea980420b3a9b6d74b0332cdcc9db184ad842584099ac956987bddcdc49001ed648deb49b8f54416570ff0 languageName: node linkType: hard @@ -12194,6 +12462,17 @@ __metadata: languageName: node linkType: hard +"katex@npm:0.16.10": + version: 0.16.10 + resolution: "katex@npm:0.16.10" + dependencies: + commander: "npm:^8.3.0" + bin: + katex: cli.js + checksum: 10/367034012311c695791de4553b3e4c7a9f36d126a0cae17b97f4e8832ced2559961f9fa6d39e0116e1374013e12ac8af159eb014678f06b4acf5e547292ea3e5 + languageName: node + linkType: hard + "katex@npm:0.16.9": version: 0.16.9 resolution: "katex@npm:0.16.9" @@ -12542,6 +12821,15 @@ __metadata: languageName: node linkType: hard +"lucide-react@npm:0.376.0": + version: 0.376.0 + resolution: "lucide-react@npm:0.376.0" + peerDependencies: + react: ^16.5.1 || ^17.0.0 || ^18.0.0 + checksum: 10/5ffb6c352dfc7b51b64ae0ea63b3edd2d57c52db366814332a799da9a812c9c9f5d3f6cd76957d5ad481f22ba888f9ad0cda22ecbf2ae8d76adfa2532baa5989 + languageName: node + linkType: hard + "lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" @@ -15956,10 +16244,10 @@ __metadata: languageName: node linkType: hard -"tinypool@npm:^0.8.2": - version: 0.8.2 - resolution: "tinypool@npm:0.8.2" - checksum: 10/5e2cdddc1caf437e3b8d8c56c1c66dffcb46008be4b2e37d457b0921699c6b79930dd8d652e4890c5e1e24688489259da83fd853bc0ce348d8a0375dedefc2ba +"tinypool@npm:^0.8.3": + version: 0.8.4 + resolution: "tinypool@npm:0.8.4" + checksum: 10/7365944c2532f240111443e7012be31a634faf1a02db08a91db3aa07361c26a374d0be00a0f2ea052c4bee39c107ba67f1f814c108d9d51dfc725c559c1a9c03 languageName: node linkType: hard @@ -16110,7 +16398,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.4.0": +"tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: 10/bd26c22d36736513980091a1e356378e8b662ded04204453d353a7f34a4c21ed0afc59b5f90719d4ba756e581a162ecbf93118dc9c6be5acf70aa309188166ca @@ -16644,9 +16932,9 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:1.3.1": - version: 1.3.1 - resolution: "vite-node@npm:1.3.1" +"vite-node@npm:1.5.2": + version: 1.5.2 + resolution: "vite-node@npm:1.5.2" dependencies: cac: "npm:^6.7.14" debug: "npm:^4.3.4" @@ -16655,7 +16943,7 @@ __metadata: vite: "npm:^5.0.0" bin: vite-node: vite-node.mjs - checksum: 10/d6ca8cd5b84768f9a0f12d4327a6aca5200001bd9111991df89ad742e059566a95f8298047af7144ca128120fc67cbd7d37b3fda9700ab07f8fc130d2ad58665 + checksum: 10/7182d44fc65c63ccbc49e2a87a0bb3193c2aa75d6dcc5c3e5cea259445d958825260a26337fba1116836611b77ef2353fe5acf176965f1492c42790b9c2d964f languageName: node linkType: hard @@ -16780,15 +17068,15 @@ __metadata: languageName: node linkType: hard -"vitest@npm:1.3.1": - version: 1.3.1 - resolution: "vitest@npm:1.3.1" +"vitest@npm:1.5.2": + version: 1.5.2 + resolution: "vitest@npm:1.5.2" dependencies: - "@vitest/expect": "npm:1.3.1" - "@vitest/runner": "npm:1.3.1" - "@vitest/snapshot": "npm:1.3.1" - "@vitest/spy": "npm:1.3.1" - "@vitest/utils": "npm:1.3.1" + "@vitest/expect": "npm:1.5.2" + "@vitest/runner": "npm:1.5.2" + "@vitest/snapshot": "npm:1.5.2" + "@vitest/spy": "npm:1.5.2" + "@vitest/utils": "npm:1.5.2" acorn-walk: "npm:^8.3.2" chai: "npm:^4.3.10" debug: "npm:^4.3.4" @@ -16800,15 +17088,15 @@ __metadata: std-env: "npm:^3.5.0" strip-literal: "npm:^2.0.0" tinybench: "npm:^2.5.1" - tinypool: "npm:^0.8.2" + tinypool: "npm:^0.8.3" vite: "npm:^5.0.0" - vite-node: "npm:1.3.1" + vite-node: "npm:1.5.2" why-is-node-running: "npm:^2.2.2" peerDependencies: "@edge-runtime/vm": "*" "@types/node": ^18.0.0 || >=20.0.0 - "@vitest/browser": 1.3.1 - "@vitest/ui": 1.3.1 + "@vitest/browser": 1.5.2 + "@vitest/ui": 1.5.2 happy-dom: "*" jsdom: "*" peerDependenciesMeta: @@ -16826,7 +17114,7 @@ __metadata: optional: true bin: vitest: vitest.mjs - checksum: 10/41a8405d65b3b3a48b97b020fae50bdc928a8ebb55b4d24e8867e1ba23d298ea810b37ca6530ab87f6b51d3dc1ada1e067e7bc252a99d8f5439ca4ce6831d1f6 + checksum: 10/49d5715315f205640978afeb8597b9bc389ba889c6cb285e49a5bde7f5eb59b0748f2386879e87821f99478643fecc0c98fe83503a0fcd60cb14bba9b4398b9c languageName: node linkType: hard