diff --git a/frontend/packages/ux-editor/src/components/config/SelectDataFieldComponent.test.tsx b/frontend/packages/ux-editor/src/components/config/SelectDataFieldComponent.test.tsx deleted file mode 100644 index cb9ec37877d..00000000000 --- a/frontend/packages/ux-editor/src/components/config/SelectDataFieldComponent.test.tsx +++ /dev/null @@ -1,214 +0,0 @@ -import React from 'react'; -import { screen } from '@testing-library/react'; -import { renderWithProviders } from '../../testing/mocks'; -import { SelectDataFieldComponent } from './SelectDataFieldComponent'; -import { textMock } from '@studio/testing/mocks/i18nMock'; -import userEvent from '@testing-library/user-event'; -import { ComponentType } from 'app-shared/types/ComponentType'; -import { getDataModelFieldsFilter } from '../../utils/dataModelUtils'; -import { queryClientMock } from 'app-shared/mocks/queryClientMock'; -import { QueryKey } from 'app-shared/types/QueryKey'; -import { app, org } from '@studio/testing/testids'; -import { layoutSet1NameMock } from '@altinn/ux-editor/testing/layoutSetsMock'; - -const dataModelName = undefined; - -const dataModelMetadataMock = [ - { - id: 'testModel', - type: 'ComplexType', - dataBindingName: 'testModel', - displayString: 'testModel', - isReadOnly: false, - isTagContent: false, - jsonSchemaPointer: '#/definitions/testModel', - maxOccurs: 1, - minOccurs: 1, - name: 'testModel', - parentElement: null, - restrictions: [], - texts: [], - xmlSchemaXPath: '/testModel', - xPath: '/testModel', - }, - { - id: 'testModel.field1', - type: 'SimpleType', - dataBindingName: 'testModel.field1', - displayString: 'testModel.field1', - isReadOnly: false, - isTagContent: false, - jsonSchemaPointer: '#/definitions/testModel/properties/field1', - maxOccurs: 1, - minOccurs: 1, - name: 'testModel/field1', - parentElement: null, - restrictions: [], - texts: [], - xmlSchemaXPath: '/testModel/field1', - xPath: '/testModel/field1', - }, - { - dataBindingName: 'multipleAnswers', - maxOccurs: 10, - name: 'multipleAnswers', - xsdValueType: 'String', - }, - { - dataBindingName: 'repGroupField', - maxOccurs: 10, - minOccurs: 1, - name: 'repGroupField', - }, -]; - -const user = userEvent.setup(); - -const render = async ({ - dataModelMetadata = dataModelMetadataMock, - componentType = ComponentType.Input, - label = undefined, - handleComponentChange = jest.fn(), -} = {}) => { - queryClientMock.setQueryData( - [QueryKey.DataModelMetadata, org, app, layoutSet1NameMock, dataModelName], - dataModelMetadata, - ); - renderWithProviders( - , - ); -}; - -describe('SelectDataModelComponent', () => { - it('should show select with no selected option by default', async () => { - await render(); - - expect( - screen.getByLabelText(textMock(`ux_editor.component_title.${ComponentType.Input}`)), - ).toBeInTheDocument(); - const selector = screen.getByRole('combobox') as HTMLSelectElement; - expect(selector.value).toEqual(''); - }); - - it('renders when dataModelData is undefined', async () => { - await render({ dataModelMetadata: undefined }); - - const bindingTitle = screen.getByLabelText( - textMock(`ux_editor.component_title.${ComponentType.Input}`), - ); - expect(bindingTitle).toBeInTheDocument(); - }); - - it('should show select with provided value', async () => { - await render(); - const select = screen.getByRole('combobox', { - name: textMock(`ux_editor.component_title.${ComponentType.Input}`), - }); - await user.click(select); - expect(screen.getByText('testModel.field1')).toBeInTheDocument(); - }); - - it('should call onChange when a new option is selected', async () => { - const handleComponentChange = jest.fn(); - await render({ - handleComponentChange, - }); - - const selectElement = screen.getByRole('combobox', { - name: textMock(`ux_editor.component_title.${ComponentType.Input}`), - }); - const optionElement = screen.getByRole('option', { name: 'testModel.field1' }); - await user.selectOptions(selectElement, optionElement); - - expect(handleComponentChange).toHaveBeenCalled(); - expect(handleComponentChange).toHaveBeenCalledWith('testModel.field1'); - }); - - it('should render repGroupField and multipleAnswers fields for RepeatingGroup component', async () => { - await render({ - componentType: ComponentType.RepeatingGroup, - }); - const selectElement = screen.getByRole('combobox', { - name: textMock(`ux_editor.component_title.${ComponentType.RepeatingGroup}`), - }); - await user.click(selectElement); - const optionElement1 = screen.queryByText('testModel.field1'); - const optionElement2 = screen.getByText('multipleAnswers'); - const optionElement3 = screen.getByText('repGroupField'); - expect(optionElement1).not.toBeInTheDocument(); - expect(optionElement2).toBeInTheDocument(); - expect(optionElement3).toBeInTheDocument(); - }); - - it('should render only multipleAnswers field for FileUpload component with multiple attachments enabled', async () => { - await render({ - componentType: ComponentType.FileUpload, - label: 'list', - }); - const selectElement = screen.getByRole('combobox', { - name: textMock(`ux_editor.component_title.${ComponentType.FileUpload}`), - }); - await user.click(selectElement); - const optionElement1 = screen.queryByText('testModel.field1'); - const optionElement2 = screen.getByText('multipleAnswers'); - const optionElement3 = screen.queryByText('repGroupField'); - expect(optionElement1).not.toBeInTheDocument(); - expect(optionElement2).toBeInTheDocument(); - expect(optionElement3).not.toBeInTheDocument(); - }); - - it('should render only multipleAnswers field for FileUploadWithTag component with multiple attachments enabled', async () => { - await render({ - componentType: ComponentType.FileUploadWithTag, - label: 'list', - }); - const selectElement = screen.getByRole('combobox', { - name: textMock(`ux_editor.component_title.${ComponentType.FileUploadWithTag}`), - }); - await user.click(selectElement); - const optionElement1 = screen.queryByText('testModel.field1'); - const optionElement2 = screen.getByText('multipleAnswers'); - const optionElement3 = screen.queryByText('repGroupField'); - expect(optionElement1).not.toBeInTheDocument(); - expect(optionElement2).toBeInTheDocument(); - expect(optionElement3).not.toBeInTheDocument(); - }); - - it('should render only simple fields for FileUpload component without multiple attachments enabled', async () => { - await render({ - componentType: ComponentType.FileUpload, - }); - const selectElement = screen.getByRole('combobox', { - name: textMock(`ux_editor.component_title.${ComponentType.FileUpload}`), - }); - await user.click(selectElement); - const optionElement1 = screen.getByText('testModel.field1'); - const optionElement2 = screen.queryByText('multipleAnswers'); - const optionElement3 = screen.queryByText('repGroupField'); - expect(optionElement1).toBeInTheDocument(); - expect(optionElement2).not.toBeInTheDocument(); - expect(optionElement3).not.toBeInTheDocument(); - }); - - it('should render only simple fields for FileUploadWithTag component without multiple attachments enabled', async () => { - await render({ - componentType: ComponentType.FileUploadWithTag, - }); - const selectElement = screen.getByRole('combobox', { - name: textMock(`ux_editor.component_title.${ComponentType.FileUploadWithTag}`), - }); - await user.click(selectElement); - const optionElement1 = screen.getByText('testModel.field1'); - const optionElement2 = screen.queryByText('multipleAnswers'); - const optionElement3 = screen.queryByText('repGroupField'); - expect(optionElement1).toBeInTheDocument(); - expect(optionElement2).not.toBeInTheDocument(); - expect(optionElement3).not.toBeInTheDocument(); - }); -}); diff --git a/frontend/packages/ux-editor/src/components/config/SelectDataFieldComponent.tsx b/frontend/packages/ux-editor/src/components/config/SelectDataFieldComponent.tsx deleted file mode 100644 index e4dfb8a1d83..00000000000 --- a/frontend/packages/ux-editor/src/components/config/SelectDataFieldComponent.tsx +++ /dev/null @@ -1,82 +0,0 @@ -import React, { useEffect } from 'react'; -import { StudioNativeSelect } from '@studio/components'; -import { useDataModelMetadataQuery } from '../../hooks/queries/useDataModelMetadataQuery'; -import { FormField } from '../FormField'; -import type { Option } from '@altinn/text-editor/types'; -import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; -import type { DataModelFieldElement } from 'app-shared/types/DataModelFieldElement'; -import { useAppContext } from '../../hooks'; - -export interface ISelectDataFieldProps { - inputId?: string; - selectedElement: string; - label: string; - onDataModelChange: (dataModelField: string) => void; - hideRestrictions?: boolean; - dataModelFieldsFilter?: (dataModelField: DataModelFieldElement) => boolean; - componentType?: string; - propertyPath?: string; - helpText?: string; - dataModelName?: string; -} - -export const SelectDataFieldComponent = ({ - inputId, - selectedElement, - label, - onDataModelChange, - dataModelFieldsFilter, - componentType, - helpText, - propertyPath, - dataModelName, -}: ISelectDataFieldProps) => { - const { org, app } = useStudioEnvironmentParams(); - const { selectedFormLayoutSetName } = useAppContext(); - const { data } = useDataModelMetadataQuery({ - org, - app, - layoutSetName: selectedFormLayoutSetName, - dataModelName, - }); - const [dataModelElementNames, setDataModelElementNames] = React.useState([]); - - useEffect(() => { - if (!data) return; - const elementNames = data.filter(dataModelFieldsFilter).map((element) => ({ - value: element.dataBindingName, - label: element.dataBindingName, - })); - setDataModelElementNames(elementNames); - }, [data, dataModelFieldsFilter]); - - const onChangeSelectedBinding = (value: string) => { - onDataModelChange(value); - }; - - dataModelElementNames.unshift({ value: '', label: '' }); - return ( - ( - fieldProps.onChange(e.target.value)} - > - {dataModelElementNames.map((element) => ( - - ))} - - )} - /> - ); -}; diff --git a/package.json b/package.json index 494ffacb229..4c55e55fadb 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,6 @@ "react-toastify": "10.0.5" }, "devDependencies": { - "@emotion/react": "11.13.3", - "@emotion/styled": "11.13.0", "@svgr/webpack": "8.1.0", "@swc/core": "1.7.26", "@swc/jest": "0.2.36", diff --git a/yarn.lock b/yarn.lock index 40c3e65837d..388bd8dcc6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -470,7 +470,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.16.7, @babel/helper-module-imports@npm:^7.18.6": +"@babel/helper-module-imports@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-module-imports@npm:7.18.6" dependencies: @@ -1781,7 +1781,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2": +"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2": version: 7.21.0 resolution: "@babel/runtime@npm:7.21.0" dependencies: @@ -2074,172 +2074,6 @@ __metadata: languageName: node linkType: hard -"@emotion/babel-plugin@npm:^11.12.0": - version: 11.12.0 - resolution: "@emotion/babel-plugin@npm:11.12.0" - dependencies: - "@babel/helper-module-imports": "npm:^7.16.7" - "@babel/runtime": "npm:^7.18.3" - "@emotion/hash": "npm:^0.9.2" - "@emotion/memoize": "npm:^0.9.0" - "@emotion/serialize": "npm:^1.2.0" - babel-plugin-macros: "npm:^3.1.0" - convert-source-map: "npm:^1.5.0" - escape-string-regexp: "npm:^4.0.0" - find-root: "npm:^1.1.0" - source-map: "npm:^0.5.7" - stylis: "npm:4.2.0" - checksum: 10/fe6f4522ea2b61ef4214dd0b0f3778aad9c18434b47e50ae5091af226526bf305455c313065826a090682520c9462c151d4df62ec128f14671d3125afc05b148 - languageName: node - linkType: hard - -"@emotion/cache@npm:^11.13.0": - version: 11.13.1 - resolution: "@emotion/cache@npm:11.13.1" - dependencies: - "@emotion/memoize": "npm:^0.9.0" - "@emotion/sheet": "npm:^1.4.0" - "@emotion/utils": "npm:^1.4.0" - "@emotion/weak-memoize": "npm:^0.4.0" - stylis: "npm:4.2.0" - checksum: 10/090c8ad2e5b23f1b3a95e94f1f0554a40ed1dcd844c9d31629a68ff824eff40f32d1362f67aefa440ee0aabd5a8cabcc76870fd6d77144d3ff251bdcdf1420b9 - languageName: node - linkType: hard - -"@emotion/hash@npm:^0.9.2": - version: 0.9.2 - resolution: "@emotion/hash@npm:0.9.2" - checksum: 10/379bde2830ccb0328c2617ec009642321c0e009a46aa383dfbe75b679c6aea977ca698c832d225a893901f29d7b3eef0e38cf341f560f6b2b56f1ff23c172387 - languageName: node - linkType: hard - -"@emotion/is-prop-valid@npm:^1.3.0": - version: 1.3.0 - resolution: "@emotion/is-prop-valid@npm:1.3.0" - dependencies: - "@emotion/memoize": "npm:^0.9.0" - checksum: 10/9b395dd9734fa88e24aa5adeef90ba86564d29c85d07a18cd39fbd06fbe597a5008a335a6147088de9f0533dbb3691786c8e10e6eaab5c7d960634833a054005 - languageName: node - linkType: hard - -"@emotion/memoize@npm:^0.9.0": - version: 0.9.0 - resolution: "@emotion/memoize@npm:0.9.0" - checksum: 10/038132359397348e378c593a773b1148cd0cf0a2285ffd067a0f63447b945f5278860d9de718f906a74c7c940ba1783ac2ca18f1c06a307b01cc0e3944e783b1 - languageName: node - linkType: hard - -"@emotion/react@npm:11.13.3": - version: 11.13.3 - resolution: "@emotion/react@npm:11.13.3" - dependencies: - "@babel/runtime": "npm:^7.18.3" - "@emotion/babel-plugin": "npm:^11.12.0" - "@emotion/cache": "npm:^11.13.0" - "@emotion/serialize": "npm:^1.3.1" - "@emotion/use-insertion-effect-with-fallbacks": "npm:^1.1.0" - "@emotion/utils": "npm:^1.4.0" - "@emotion/weak-memoize": "npm:^0.4.0" - hoist-non-react-statics: "npm:^3.3.1" - peerDependencies: - react: ">=16.8.0" - peerDependenciesMeta: - "@types/react": - optional: true - checksum: 10/ee70d3afc2e8dd771e6fe176d27dd87a5e21a54e54d871438fd1caa5aa2312d848c6866292fdc65a6ea1c945147c8422bda2d22ed739178af9902dc86d6b298a - languageName: node - linkType: hard - -"@emotion/serialize@npm:^1.2.0, @emotion/serialize@npm:^1.3.0": - version: 1.3.0 - resolution: "@emotion/serialize@npm:1.3.0" - dependencies: - "@emotion/hash": "npm:^0.9.2" - "@emotion/memoize": "npm:^0.9.0" - "@emotion/unitless": "npm:^0.9.0" - "@emotion/utils": "npm:^1.4.0" - csstype: "npm:^3.0.2" - checksum: 10/3ab17aa0dabdc77d5d573ef07df63e91e778c0637f4b7f690fde46ab0007496c8dfbf32d2836d3b22ac2ba2d8c58570da51092ba7ff068d4d790147de2352465 - languageName: node - linkType: hard - -"@emotion/serialize@npm:^1.3.1": - version: 1.3.1 - resolution: "@emotion/serialize@npm:1.3.1" - dependencies: - "@emotion/hash": "npm:^0.9.2" - "@emotion/memoize": "npm:^0.9.0" - "@emotion/unitless": "npm:^0.10.0" - "@emotion/utils": "npm:^1.4.0" - csstype: "npm:^3.0.2" - checksum: 10/4bbb9b417f88a7bb55c4ffba101e3e53059029c0258969683bb11216906e08cbd687b5674ec787ec41e5340399fb08af8881d6cf913caf8a5fdf84c4f4890f33 - languageName: node - linkType: hard - -"@emotion/sheet@npm:^1.4.0": - version: 1.4.0 - resolution: "@emotion/sheet@npm:1.4.0" - checksum: 10/8ac6e9bf6b373a648f26ae7f1c24041038524f4c72f436f4f8c4761c665e58880c3229d8d89b1f7a4815dd8e5b49634d03e60187cb6f93097d7f7c1859e869d5 - languageName: node - linkType: hard - -"@emotion/styled@npm:11.13.0": - version: 11.13.0 - resolution: "@emotion/styled@npm:11.13.0" - dependencies: - "@babel/runtime": "npm:^7.18.3" - "@emotion/babel-plugin": "npm:^11.12.0" - "@emotion/is-prop-valid": "npm:^1.3.0" - "@emotion/serialize": "npm:^1.3.0" - "@emotion/use-insertion-effect-with-fallbacks": "npm:^1.1.0" - "@emotion/utils": "npm:^1.4.0" - peerDependencies: - "@emotion/react": ^11.0.0-rc.0 - react: ">=16.8.0" - peerDependenciesMeta: - "@types/react": - optional: true - checksum: 10/5463a0f15fc12a9e20340f52df49461e948c3ae7e2dd763db0ff937b0b96dd4e82eed85cd15e24621efb3b097a095b88b01d60f50cf6f38fe3ab7db6e77f9615 - languageName: node - linkType: hard - -"@emotion/unitless@npm:^0.10.0": - version: 0.10.0 - resolution: "@emotion/unitless@npm:0.10.0" - checksum: 10/6851c16edce01c494305f43b2cad7a26b939a821131b7c354e49b8e3b012c8810024755b0f4a03ef51117750309e55339825a97bd10411fb3687e68904769106 - languageName: node - linkType: hard - -"@emotion/unitless@npm:^0.9.0": - version: 0.9.0 - resolution: "@emotion/unitless@npm:0.9.0" - checksum: 10/242754aa2f7368b5c2a5dbe61bf0a2bb0bfb4de091fe2388282f8c014c0796d0ca166b1639cf4f5f0e57e59258b622e7946a2e976ed5a56e06a5a306ca25adca - languageName: node - linkType: hard - -"@emotion/use-insertion-effect-with-fallbacks@npm:^1.1.0": - version: 1.1.0 - resolution: "@emotion/use-insertion-effect-with-fallbacks@npm:1.1.0" - peerDependencies: - react: ">=16.8.0" - checksum: 10/33a10f44a873b3f5ccd2a1a3d13c2f34ed628f5a2be1ccf28540a86535a14d3a930afcbef209d48346a22ec60ff48f43c86ee9c846b9480d23a55a17145da66c - languageName: node - linkType: hard - -"@emotion/utils@npm:^1.4.0": - version: 1.4.0 - resolution: "@emotion/utils@npm:1.4.0" - checksum: 10/e4cdb51819db01fec21c3e35a1391900c9e7f3ac1e7ecb419c8e408464830cd7ef6e1a116381cbfe3fb1039406fb7ed35f16a1575d502c92bc9f81bc13a3ee5a - languageName: node - linkType: hard - -"@emotion/weak-memoize@npm:^0.4.0": - version: 0.4.0 - resolution: "@emotion/weak-memoize@npm:0.4.0" - checksum: 10/db5da0e89bd752c78b6bd65a1e56231f0abebe2f71c0bd8fc47dff96408f7065b02e214080f99924f6a3bfe7ee15afc48dad999d76df86b39b16e513f7a94f52 - languageName: node - linkType: hard - "@esbuild/aix-ppc64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/aix-ppc64@npm:0.23.1" @@ -6410,8 +6244,6 @@ __metadata: "@digdir/designsystemet-css": "npm:0.10.0" "@digdir/designsystemet-react": "npm:0.63.1" "@digdir/designsystemet-theme": "npm:0.15.3" - "@emotion/react": "npm:11.13.3" - "@emotion/styled": "npm:11.13.0" "@microsoft/applicationinsights-react-js": "npm:17.3.3" "@microsoft/applicationinsights-web": "npm:3.3.3" "@microsoft/signalr": "npm:8.0.7" @@ -7056,17 +6888,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-macros@npm:^3.1.0": - version: 3.1.0 - resolution: "babel-plugin-macros@npm:3.1.0" - dependencies: - "@babel/runtime": "npm:^7.12.5" - cosmiconfig: "npm:^7.0.0" - resolve: "npm:^1.19.0" - checksum: 10/30be6ca45e9a124c58ca00af9a0753e5410ec0b79a737714fc4722bbbeb693e55d9258f05c437145ef4a867c2d1603e06a1c292d66c243ce1227458c8ea2ca8c - languageName: node - linkType: hard - "babel-plugin-polyfill-corejs2@npm:^0.3.3": version: 0.3.3 resolution: "babel-plugin-polyfill-corejs2@npm:0.3.3" @@ -8052,7 +7873,7 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": +"convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": version: 1.9.0 resolution: "convert-source-map@npm:1.9.0" checksum: 10/dc55a1f28ddd0e9485ef13565f8f756b342f9a46c4ae18b843fe3c30c675d058d6a4823eff86d472f187b176f0adf51ea7b69ea38be34be4a63cbbf91b0593c8 @@ -8122,7 +7943,7 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^7.0.0, cosmiconfig@npm:^7.0.1": +"cosmiconfig@npm:^7.0.1": version: 7.1.0 resolution: "cosmiconfig@npm:7.1.0" dependencies: @@ -10574,13 +10395,6 @@ __metadata: languageName: node linkType: hard -"find-root@npm:^1.1.0": - version: 1.1.0 - resolution: "find-root@npm:1.1.0" - checksum: 10/caa799c976a14925ba7f31ca1a226fe73d3aa270f4f1b623fcfeb1c6e263111db4beb807d8acd31bd4d48d44c343b93688a9288dfbccca27463c36a0301b0bb9 - languageName: node - linkType: hard - "find-up@npm:^4.0.0, find-up@npm:^4.1.0": version: 4.1.0 resolution: "find-up@npm:4.1.0" @@ -11311,7 +11125,7 @@ __metadata: languageName: node linkType: hard -"hoist-non-react-statics@npm:^3.3.1, hoist-non-react-statics@npm:^3.3.2": +"hoist-non-react-statics@npm:^3.3.2": version: 3.3.2 resolution: "hoist-non-react-statics@npm:3.3.2" dependencies: @@ -16367,7 +16181,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.14.2, resolve@npm:^1.19.0, resolve@npm:^1.20.0": +"resolve@npm:^1.14.2, resolve@npm:^1.20.0": version: 1.22.1 resolution: "resolve@npm:1.22.1" dependencies: @@ -16406,7 +16220,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin": +"resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin": version: 1.22.1 resolution: "resolve@patch:resolve@npm%3A1.22.1#optional!builtin::version=1.22.1&hash=c3c19d" dependencies: @@ -17212,13 +17026,6 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.5.7": - version: 0.5.7 - resolution: "source-map@npm:0.5.7" - checksum: 10/9b4ac749ec5b5831cad1f8cc4c19c4298ebc7474b24a0acf293e2f040f03f8eeccb3d01f12aa0f90cf46d555c887e03912b83a042c627f419bda5152d89c5269 - languageName: node - linkType: hard - "source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.0, source-map@npm:~0.6.1": version: 0.6.1 resolution: "source-map@npm:0.6.1" @@ -17664,13 +17471,6 @@ __metadata: languageName: node linkType: hard -"stylis@npm:4.2.0": - version: 4.2.0 - resolution: "stylis@npm:4.2.0" - checksum: 10/58359185275ef1f39c339ae94e598168aa6bb789f6cf0d52e726c1e7087a94e9c17f0385a28d34483dec1ffc2c75670ec714dc5603d99c3124ec83bc2b0a0f42 - languageName: node - linkType: hard - "stylus@npm:^0.62.0": version: 0.62.0 resolution: "stylus@npm:0.62.0"