diff --git a/frontend/app-development/features/appPublish/components/CreateRelease.tsx b/frontend/app-development/features/appPublish/components/CreateRelease.tsx index 8b183df3f0d..5a9be1b1b89 100644 --- a/frontend/app-development/features/appPublish/components/CreateRelease.tsx +++ b/frontend/app-development/features/appPublish/components/CreateRelease.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import classes from './CreateRelease.module.css'; import type { ChangeEvent } from 'react'; -import { Textfield, Textarea } from '@digdir/design-system-react'; +import { Textfield, Textarea } from '@digdir/designsystemet-react'; import { versionNameValid } from './utils'; import { useBranchStatusQuery, useAppReleasesQuery } from '../../../hooks/queries'; import { useCreateReleaseMutation } from '../../../hooks/mutations'; diff --git a/frontend/app-development/features/appPublish/components/Deploy.tsx b/frontend/app-development/features/appPublish/components/Deploy.tsx index 84a28f3cb23..5af78dc2c18 100644 --- a/frontend/app-development/features/appPublish/components/Deploy.tsx +++ b/frontend/app-development/features/appPublish/components/Deploy.tsx @@ -4,7 +4,7 @@ import { useCreateDeploymentMutation } from '../../../hooks/mutations'; import { Trans, useTranslation } from 'react-i18next'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; import { toast } from 'react-toastify'; -import { Alert, Link } from '@digdir/design-system-react'; +import { Alert, Link } from '@digdir/designsystemet-react'; import { useDeployPermissionsQuery } from 'app-development/hooks/queries'; import { StudioSpinner } from '@studio/components'; diff --git a/frontend/app-development/features/appPublish/components/DeployDropdown.tsx b/frontend/app-development/features/appPublish/components/DeployDropdown.tsx index c9524737052..7fbc7d38803 100644 --- a/frontend/app-development/features/appPublish/components/DeployDropdown.tsx +++ b/frontend/app-development/features/appPublish/components/DeployDropdown.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import classes from './DeployDropdown.module.css'; import { AltinnConfirmDialog } from 'app-shared/components'; import { StudioButton, StudioSpinner } from '@studio/components'; -import { Alert, Combobox, Spinner } from '@digdir/design-system-react'; +import { Alert, Combobox, Spinner } from '@digdir/designsystemet-react'; import type { ImageOption } from './ImageOption'; import { useTranslation } from 'react-i18next'; import { useAppReleasesQuery } from 'app-development/hooks/queries'; diff --git a/frontend/app-development/features/appPublish/components/DeploymentEnvironmentLogList.tsx b/frontend/app-development/features/appPublish/components/DeploymentEnvironmentLogList.tsx index ccc7f0e223e..b60f3865664 100644 --- a/frontend/app-development/features/appPublish/components/DeploymentEnvironmentLogList.tsx +++ b/frontend/app-development/features/appPublish/components/DeploymentEnvironmentLogList.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './DeploymentEnvironmentLogList.module.css'; -import { Heading, Link, Table } from '@digdir/design-system-react'; +import { Heading, Link, Table } from '@digdir/designsystemet-react'; import { DateUtils } from '@studio/pure-functions'; import { useTranslation } from 'react-i18next'; import classNames from 'classnames'; diff --git a/frontend/app-development/features/appPublish/components/DeploymentEnvironmentStatus.tsx b/frontend/app-development/features/appPublish/components/DeploymentEnvironmentStatus.tsx index a5239fae2af..bf80ec72cf7 100644 --- a/frontend/app-development/features/appPublish/components/DeploymentEnvironmentStatus.tsx +++ b/frontend/app-development/features/appPublish/components/DeploymentEnvironmentStatus.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './DeploymentEnvironmentStatus.module.css'; -import { Alert, Heading, Link, Paragraph, Spinner } from '@digdir/design-system-react'; +import { Alert, Heading, Link, Paragraph, Spinner } from '@digdir/designsystemet-react'; import { Trans, useTranslation } from 'react-i18next'; import type { KubernetesDeployment } from 'app-shared/types/api/KubernetesDeployment'; import { DateUtils } from '@studio/pure-functions'; diff --git a/frontend/app-development/features/appPublish/containers/DeploymentContainer.tsx b/frontend/app-development/features/appPublish/containers/DeploymentContainer.tsx index 534d58f979a..9e6a1015571 100644 --- a/frontend/app-development/features/appPublish/containers/DeploymentContainer.tsx +++ b/frontend/app-development/features/appPublish/containers/DeploymentContainer.tsx @@ -11,7 +11,7 @@ import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmen import { DeploymentEnvironment } from '../components/DeploymentEnvironment'; import { getAppLink } from 'app-shared/ext-urls'; import { useTranslation } from 'react-i18next'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { PROD_ENV_TYPE } from 'app-shared/constants'; export const DeploymentContainer = () => { diff --git a/frontend/app-development/features/appPublish/pages/DeployPage.tsx b/frontend/app-development/features/appPublish/pages/DeployPage.tsx index 8e2b34e680c..aa15e889ee4 100644 --- a/frontend/app-development/features/appPublish/pages/DeployPage.tsx +++ b/frontend/app-development/features/appPublish/pages/DeployPage.tsx @@ -8,7 +8,7 @@ import { Trans, useTranslation } from 'react-i18next'; import { AltinnContentLoader } from 'app-shared/components/molecules/AltinnContentLoader'; import { useInvalidator } from '../../../hooks/useInvalidator'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; export function DeployPage() { const { org, app } = useStudioEnvironmentParams(); diff --git a/frontend/app-development/features/dataModelling/DataModelling.tsx b/frontend/app-development/features/dataModelling/DataModelling.tsx index 3ca4ecd2761..30ef6a7d123 100644 --- a/frontend/app-development/features/dataModelling/DataModelling.tsx +++ b/frontend/app-development/features/dataModelling/DataModelling.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import { useTranslation } from 'react-i18next'; import { StudioPageSpinner, StudioCenter } from '@studio/components'; -import { Alert, ErrorMessage, Paragraph } from '@digdir/design-system-react'; +import { Alert, ErrorMessage, Paragraph } from '@digdir/designsystemet-react'; import { SchemaEditorWithToolbar } from './SchemaEditorWithToolbar'; import { useDataModelsJsonQuery, useDataModelsXsdQuery } from 'app-shared/hooks/queries'; import { useParams } from 'react-router-dom'; diff --git a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/SchemaGenerationErrorsPanel.tsx b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/SchemaGenerationErrorsPanel.tsx index e4158409049..2e9459efd3f 100644 --- a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/SchemaGenerationErrorsPanel.tsx +++ b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/SchemaGenerationErrorsPanel.tsx @@ -1,6 +1,6 @@ import classes from './SchemaGenerationErrorsPanel.module.css'; import React from 'react'; -import { Alert, ErrorMessage, Paragraph } from '@digdir/design-system-react'; +import { Alert, ErrorMessage, Paragraph } from '@digdir/designsystemet-react'; import { Trans, useTranslation } from 'react-i18next'; import { XMarkIcon } from '@studio/icons'; import { StudioButton } from '@studio/components'; diff --git a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/SelectedSchemaEditor.tsx b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/SelectedSchemaEditor.tsx index 0c40e865a98..3557dd6f28a 100644 --- a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/SelectedSchemaEditor.tsx +++ b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/SelectedSchemaEditor.tsx @@ -2,7 +2,7 @@ import React, { useCallback, useRef, useState } from 'react'; import { useSchemaQuery } from '../../../hooks/queries'; import { useSchemaMutation } from '../../../hooks/mutations'; import { StudioCenter, StudioPageSpinner } from '@studio/components'; -import { Alert, ErrorMessage, Paragraph } from '@digdir/design-system-react'; +import { Alert, ErrorMessage, Paragraph } from '@digdir/designsystemet-react'; import { SchemaEditorApp } from '@altinn/schema-editor/SchemaEditorApp'; import { useTranslation } from 'react-i18next'; import { AUTOSAVE_DEBOUNCE_INTERVAL_MILLISECONDS } from 'app-shared/constants'; diff --git a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/CreateNewWrapper.tsx b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/CreateNewWrapper.tsx index 41a70383b13..bb7fe12bd3c 100644 --- a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/CreateNewWrapper.tsx +++ b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/CreateNewWrapper.tsx @@ -1,5 +1,6 @@ import React, { useState } from 'react'; -import { ErrorMessage, Textfield, LegacyPopover } from '@digdir/design-system-react'; +import { ErrorMessage, Textfield } from '@digdir/designsystemet-react'; +import { LegacyPopover } from '@digdir/design-system-react'; import { useTranslation } from 'react-i18next'; import { PlusIcon } from '@studio/icons'; import { extractModelNamesFromMetadataList } from '../../../../utils/metadataUtils'; diff --git a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/GenerateModelsButton.tsx b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/GenerateModelsButton.tsx index 09caf0bf459..12dcc3b4995 100644 --- a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/GenerateModelsButton.tsx +++ b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/GenerateModelsButton.tsx @@ -1,4 +1,4 @@ -import { Spinner } from '@digdir/design-system-react'; +import { Spinner } from '@digdir/designsystemet-react'; import { CogIcon } from '@studio/icons'; import React from 'react'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/SchemaSelect.tsx b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/SchemaSelect.tsx index 1733d57f539..1d3cb7d07a4 100644 --- a/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/SchemaSelect.tsx +++ b/frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/SchemaSelect.tsx @@ -5,7 +5,7 @@ import { groupMetadataOptions, } from '../../../../utils/metadataUtils'; import type { MetadataOption } from '../../../../types/MetadataOption'; -import { NativeSelect } from '@digdir/design-system-react'; +import { NativeSelect } from '@digdir/designsystemet-react'; import classes from './SchemaSelect.module.css'; import type { DataModelMetadata } from 'app-shared/types/DataModelMetadata'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/app-development/features/overview/components/DeploymentContainer.tsx b/frontend/app-development/features/overview/components/DeploymentContainer.tsx index 966b62a7cce..c74612eda5e 100644 --- a/frontend/app-development/features/overview/components/DeploymentContainer.tsx +++ b/frontend/app-development/features/overview/components/DeploymentContainer.tsx @@ -6,7 +6,7 @@ import { useOrgListQuery, } from 'app-development/hooks/queries'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { DeploymentStatusList } from './DeploymentStatusList'; import { DeploymentLogList } from './DeploymentLogList'; diff --git a/frontend/app-development/features/overview/components/DeploymentLogList.tsx b/frontend/app-development/features/overview/components/DeploymentLogList.tsx index 86dfa9bff66..6bca4659f7d 100644 --- a/frontend/app-development/features/overview/components/DeploymentLogList.tsx +++ b/frontend/app-development/features/overview/components/DeploymentLogList.tsx @@ -2,7 +2,7 @@ import React from 'react'; import classes from './DeploymentLogList.module.css'; import { useTranslation } from 'react-i18next'; import type { Environment } from 'app-shared/types/Environment'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { DateUtils } from '@studio/pure-functions'; import type { PipelineDeployment } from 'app-shared/types/api/PipelineDeployment'; import { BuildResult } from 'app-shared/types/Build'; diff --git a/frontend/app-development/features/overview/components/DeploymentStatus.tsx b/frontend/app-development/features/overview/components/DeploymentStatus.tsx index 748605dcd8f..7accdf52b44 100644 --- a/frontend/app-development/features/overview/components/DeploymentStatus.tsx +++ b/frontend/app-development/features/overview/components/DeploymentStatus.tsx @@ -2,7 +2,7 @@ import React from 'react'; import classes from './DeploymentStatus.module.css'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; import { Trans, useTranslation } from 'react-i18next'; -import { Alert, Heading, Paragraph, Spinner, Link } from '@digdir/design-system-react'; +import { Alert, Heading, Paragraph, Spinner, Link } from '@digdir/designsystemet-react'; import { DateUtils } from '@studio/pure-functions'; import { publishPath } from 'app-shared/api/paths'; import type { KubernetesDeployment } from 'app-shared/types/api/KubernetesDeployment'; diff --git a/frontend/app-development/features/overview/components/Deployments.tsx b/frontend/app-development/features/overview/components/Deployments.tsx index 9a8feb2cfcf..65941b5b79e 100644 --- a/frontend/app-development/features/overview/components/Deployments.tsx +++ b/frontend/app-development/features/overview/components/Deployments.tsx @@ -2,7 +2,7 @@ import type { HTMLAttributes } from 'react'; import React from 'react'; import { useOrgListQuery } from 'app-development/hooks/queries'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { StudioSpinner } from '@studio/components'; import { useRepoMetadataQuery } from 'app-shared/hooks/queries'; diff --git a/frontend/app-development/features/overview/components/Documentation.tsx b/frontend/app-development/features/overview/components/Documentation.tsx index 99a35d7c3a5..65c0a871735 100644 --- a/frontend/app-development/features/overview/components/Documentation.tsx +++ b/frontend/app-development/features/overview/components/Documentation.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './Documentation.module.css'; -import { Heading, Link } from '@digdir/design-system-react'; +import { Heading, Link } from '@digdir/designsystemet-react'; import { ExternalLinkIcon } from '@studio/icons'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/app-development/features/overview/components/Header.tsx b/frontend/app-development/features/overview/components/Header.tsx index fcb911a8328..aaef4eb208a 100644 --- a/frontend/app-development/features/overview/components/Header.tsx +++ b/frontend/app-development/features/overview/components/Header.tsx @@ -1,7 +1,7 @@ import React, { useEffect } from 'react'; import { useAppConfigQuery } from 'app-development/hooks/queries'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { toast } from 'react-toastify'; import { useTranslation } from 'react-i18next'; import { StudioSpinner } from '@studio/components'; diff --git a/frontend/app-development/features/overview/components/Navigation.tsx b/frontend/app-development/features/overview/components/Navigation.tsx index e6dfc0848a0..6a6c4342b73 100644 --- a/frontend/app-development/features/overview/components/Navigation.tsx +++ b/frontend/app-development/features/overview/components/Navigation.tsx @@ -1,7 +1,7 @@ import React from 'react'; import classes from './Navigation.module.css'; import { useTranslation } from 'react-i18next'; -import { Heading, Tag } from '@digdir/design-system-react'; +import { Heading, Tag } from '@digdir/designsystemet-react'; import { getFilteredTopBarMenu } from 'app-development/layout/AppBar/appBarConfig'; import { Link } from 'react-router-dom'; diff --git a/frontend/app-development/features/overview/components/News.tsx b/frontend/app-development/features/overview/components/News.tsx index 670c8a645b0..a6c719c81e3 100644 --- a/frontend/app-development/features/overview/components/News.tsx +++ b/frontend/app-development/features/overview/components/News.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Heading, Paragraph, Alert } from '@digdir/design-system-react'; +import { Heading, Paragraph, Alert } from '@digdir/designsystemet-react'; import { useNewsListQuery } from 'app-development/hooks/queries/useNewsListQuery'; import { StudioSpinner } from '@studio/components'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/app-development/features/overview/components/NoEnvironmentsAlert/NoEnvironmentsAlert.tsx b/frontend/app-development/features/overview/components/NoEnvironmentsAlert/NoEnvironmentsAlert.tsx index fd1eb1db89c..58703148646 100644 --- a/frontend/app-development/features/overview/components/NoEnvironmentsAlert/NoEnvironmentsAlert.tsx +++ b/frontend/app-development/features/overview/components/NoEnvironmentsAlert/NoEnvironmentsAlert.tsx @@ -1,8 +1,8 @@ import React from 'react'; import { Trans, useTranslation } from 'react-i18next'; import cn from 'classnames'; -import type { AlertProps } from '@digdir/design-system-react'; -import { Alert, Heading, Paragraph } from '@digdir/design-system-react'; +import type { AlertProps } from '@digdir/designsystemet-react'; +import { Alert, Heading, Paragraph } from '@digdir/designsystemet-react'; type NoEnvironmentsAlertProps = AlertProps; export const NoEnvironmentsAlert = ({ ...rest }: NoEnvironmentsAlertProps) => { diff --git a/frontend/app-development/features/overview/components/Overview.tsx b/frontend/app-development/features/overview/components/Overview.tsx index 97213943a6d..592f12fab32 100644 --- a/frontend/app-development/features/overview/components/Overview.tsx +++ b/frontend/app-development/features/overview/components/Overview.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './Overview.module.css'; -import { Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { Documentation } from './Documentation'; import { Navigation } from './Navigation'; diff --git a/frontend/app-development/features/overview/components/RepoOwnedByPersonInfo.tsx b/frontend/app-development/features/overview/components/RepoOwnedByPersonInfo.tsx index 93f914820e1..b3b94ba5d2d 100644 --- a/frontend/app-development/features/overview/components/RepoOwnedByPersonInfo.tsx +++ b/frontend/app-development/features/overview/components/RepoOwnedByPersonInfo.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Alert, Paragraph, Link } from '@digdir/design-system-react'; +import { Alert, Paragraph, Link } from '@digdir/designsystemet-react'; import { Trans, useTranslation } from 'react-i18next'; import classes from './RepoOwnedByPersonInfo.module.css'; diff --git a/frontend/app-development/features/simpleMerge/DownloadRepoPopoverContent/DownloadRepoPopoverContent.tsx b/frontend/app-development/features/simpleMerge/DownloadRepoPopoverContent/DownloadRepoPopoverContent.tsx index 1c0af620a6b..632843f411a 100644 --- a/frontend/app-development/features/simpleMerge/DownloadRepoPopoverContent/DownloadRepoPopoverContent.tsx +++ b/frontend/app-development/features/simpleMerge/DownloadRepoPopoverContent/DownloadRepoPopoverContent.tsx @@ -4,7 +4,7 @@ import { Trans, useTranslation } from 'react-i18next'; import { StudioButton } from '@studio/components'; import { repoDownloadPath } from 'app-shared/api/paths'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; -import { Heading, Link, Paragraph } from '@digdir/design-system-react'; +import { Heading, Link, Paragraph } from '@digdir/designsystemet-react'; export type DownloadRepoPopoverContentProps = { onClose: () => void; diff --git a/frontend/app-development/features/simpleMerge/MergeConflictWarning.tsx b/frontend/app-development/features/simpleMerge/MergeConflictWarning.tsx index 37f4992b2aa..73639bf0069 100644 --- a/frontend/app-development/features/simpleMerge/MergeConflictWarning.tsx +++ b/frontend/app-development/features/simpleMerge/MergeConflictWarning.tsx @@ -3,7 +3,7 @@ import classes from './MergeConflictWarning.module.css'; import { useTranslation } from 'react-i18next'; import { StudioPopover } from '@studio/components'; import { RemoveChangesPopoverContent } from './RemoveChangesPopoverContent'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import { DownloadRepoPopoverContent } from './DownloadRepoPopoverContent'; export const MergeConflictWarning = () => { diff --git a/frontend/app-development/features/simpleMerge/RemoveChangesPopoverContent/RemoveChangesPopoverContent.tsx b/frontend/app-development/features/simpleMerge/RemoveChangesPopoverContent/RemoveChangesPopoverContent.tsx index 0e05b072dc2..091d3fdd1b5 100644 --- a/frontend/app-development/features/simpleMerge/RemoveChangesPopoverContent/RemoveChangesPopoverContent.tsx +++ b/frontend/app-development/features/simpleMerge/RemoveChangesPopoverContent/RemoveChangesPopoverContent.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import classes from './RemoveChangesPopoverContent.module.css'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import { StudioTextfield, StudioButton, StudioSpinner } from '@studio/components'; import { useTranslation, Trans } from 'react-i18next'; import { useQueryClient } from '@tanstack/react-query'; diff --git a/frontend/app-development/layout/NotFoundPage/NotFoundPage.tsx b/frontend/app-development/layout/NotFoundPage/NotFoundPage.tsx index e52724db0e9..645a439c9d3 100644 --- a/frontend/app-development/layout/NotFoundPage/NotFoundPage.tsx +++ b/frontend/app-development/layout/NotFoundPage/NotFoundPage.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { StudioNotFoundPage } from '@studio/components'; -import { Paragraph, Link } from '@digdir/design-system-react'; +import { Paragraph, Link } from '@digdir/designsystemet-react'; import { useTranslation, Trans } from 'react-i18next'; export const NotFoundPage = () => { diff --git a/frontend/app-development/layout/SessionExpiredModal/SessionExpiredModal.tsx b/frontend/app-development/layout/SessionExpiredModal/SessionExpiredModal.tsx index 6d0c377bfac..8891602c1c3 100644 --- a/frontend/app-development/layout/SessionExpiredModal/SessionExpiredModal.tsx +++ b/frontend/app-development/layout/SessionExpiredModal/SessionExpiredModal.tsx @@ -2,7 +2,7 @@ import React from 'react'; import classes from './SessionExpiredModal.module.css'; import { StudioButton, StudioModal } from '@studio/components'; import { useTranslation } from 'react-i18next'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; export type SessionExpiredModalProps = { open: boolean; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/SettingsModal.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/SettingsModal.tsx index 3c9874e6f91..565ee0ac15c 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/SettingsModal.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/SettingsModal.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React, { useState } from 'react'; import classes from './SettingsModal.module.css'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { CogIcon, InformationSquareIcon, diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/LoadingTabData/LoadingTabData.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/LoadingTabData/LoadingTabData.tsx index fb5daff8c0b..1143113a594 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/LoadingTabData/LoadingTabData.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/LoadingTabData/LoadingTabData.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import { useTranslation } from 'react-i18next'; import { StudioCenter } from '@studio/components'; -import { Spinner } from '@digdir/design-system-react'; +import { Spinner } from '@digdir/designsystemet-react'; export const LoadingTabData = (): ReactNode => { const { t } = useTranslation(); diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/TabDataError/TabDataError.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/TabDataError/TabDataError.tsx index c8f87379746..14378a031eb 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/TabDataError/TabDataError.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/TabDataError/TabDataError.tsx @@ -1,6 +1,6 @@ import type { ReactNode } from 'react'; import React from 'react'; -import { Alert, Paragraph } from '@digdir/design-system-react'; +import { Alert, Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { StudioCenter } from '@studio/components'; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/TabHeader/TabHeader.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/TabHeader/TabHeader.tsx index c8773b55d7d..72074c78062 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/TabHeader/TabHeader.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/TabHeader/TabHeader.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './TabHeader.module.css'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; export type TabHeaderProps = { text: string; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/AboutTab.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/AboutTab.tsx index 12f4b0f59ba..f350a24660a 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/AboutTab.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/AboutTab.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; import { TabHeader } from '../../TabHeader'; import type { AppConfig } from 'app-shared/types/AppConfig'; -import { ErrorMessage } from '@digdir/design-system-react'; +import { ErrorMessage } from '@digdir/designsystemet-react'; import { Divider } from 'app-shared/primitives'; import { getRepositoryType } from 'app-shared/utils/repository'; import { useAppConfigMutation } from 'app-development/hooks/mutations'; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/CreatedFor/CreatedFor.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/CreatedFor/CreatedFor.tsx index 64e7a138435..22f9563e937 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/CreatedFor/CreatedFor.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/CreatedFor/CreatedFor.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './CreatedFor.module.css'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { RepositoryType } from 'app-shared/types/global'; import type { Repository } from 'app-shared/types/Repository'; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/InputFields/InputFields.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/InputFields/InputFields.tsx index 4403e0e5985..d5147e5923d 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/InputFields/InputFields.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AboutTab/InputFields/InputFields.tsx @@ -3,7 +3,7 @@ import React, { useState } from 'react'; import classes from './InputFields.module.css'; import { useTranslation } from 'react-i18next'; import type { AppConfig } from 'app-shared/types/AppConfig'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; type AppConfigForm = Pick; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/AccessControWarningModal/AccessControlWarningModal.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/AccessControWarningModal/AccessControlWarningModal.tsx index 544de5e8b2f..4e178c1f043 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/AccessControWarningModal/AccessControlWarningModal.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/AccessControWarningModal/AccessControlWarningModal.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './AccessControlWarningModal.module.css'; -import { Modal, Button } from '@digdir/design-system-react'; +import { Modal, Button } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; export interface AccessControlWarningModalProps { diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/AccessControlTab.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/AccessControlTab.tsx index 2cf4f94d2bd..e23815f3335 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/AccessControlTab.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/AccessControlTab.tsx @@ -3,7 +3,7 @@ import React from 'react'; import classes from './AccessControlTab.module.css'; import { Trans, useTranslation } from 'react-i18next'; import { TabHeader } from '../../TabHeader'; -import { ErrorMessage, HelpText, Link, Paragraph } from '@digdir/design-system-react'; +import { ErrorMessage, HelpText, Link, Paragraph } from '@digdir/designsystemet-react'; import { useAppMetadataQuery } from 'app-development/hooks/queries'; import { LoadingTabData } from '../../LoadingTabData'; import { TabDataError } from '../../TabDataError'; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/SelectAllowedPartyTypes/SelectAllowedPartyTypes.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/SelectAllowedPartyTypes/SelectAllowedPartyTypes.tsx index 9fbcd4f212e..a169a474cd5 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/SelectAllowedPartyTypes/SelectAllowedPartyTypes.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/AccessControlTab/SelectAllowedPartyTypes/SelectAllowedPartyTypes.tsx @@ -1,5 +1,5 @@ import React, { useRef } from 'react'; -import { Table, Checkbox } from '@digdir/design-system-react'; +import { Table, Checkbox } from '@digdir/designsystemet-react'; import type { ApplicationMetadata, PartyTypesAllowed } from 'app-shared/types/ApplicationMetadata'; import classes from './SelectAllowedPartyTypes.module.css'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/PolicyTab/PolicyTab.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/PolicyTab/PolicyTab.tsx index b89e9e6c2bd..3361c8a1352 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/PolicyTab/PolicyTab.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/PolicyTab/PolicyTab.tsx @@ -9,7 +9,7 @@ import { useAppPolicyMutation } from 'app-development/hooks/mutations'; import { useTranslation } from 'react-i18next'; import { TabHeader } from '../../TabHeader'; import { useAppPolicyQuery } from 'app-development/hooks/queries'; -import { ErrorMessage } from '@digdir/design-system-react'; +import { ErrorMessage } from '@digdir/designsystemet-react'; import { LoadingTabData } from '../../LoadingTabData'; import { TabDataError } from '../../TabDataError'; import { diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/SetupTab/SetupTab.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/SetupTab/SetupTab.tsx index 37d97161988..5bce9703fbf 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/SetupTab/SetupTab.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/SetupTab/SetupTab.tsx @@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next'; import { useAppMetadataQuery } from 'app-development/hooks/queries'; import { LoadingTabData } from '../../LoadingTabData'; import { TabDataError } from '../../TabDataError'; -import { ErrorMessage } from '@digdir/design-system-react'; +import { ErrorMessage } from '@digdir/designsystemet-react'; import { TabHeader } from '../../TabHeader'; import { SetupTabContent } from './SetupTabContent'; import { TabContent } from '../../TabContent'; diff --git a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/SetupTab/SetupTabContent/SetupTabContent.tsx b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/SetupTab/SetupTabContent/SetupTabContent.tsx index 60580dad971..dc24c81e717 100644 --- a/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/SetupTab/SetupTabContent/SetupTabContent.tsx +++ b/frontend/app-development/layout/SettingsModalButton/SettingsModal/components/Tabs/SetupTab/SetupTabContent/SetupTabContent.tsx @@ -4,7 +4,7 @@ import classes from './SetupTabContent.module.css'; import type { ApplicationMetadata } from 'app-shared/types/ApplicationMetadata'; import { useTranslation } from 'react-i18next'; import { useAppMetadataMutation } from 'app-development/hooks/mutations'; -import { Paragraph, Switch } from '@digdir/design-system-react'; +import { Paragraph, Switch } from '@digdir/designsystemet-react'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; export type SetupTabContentProps = { diff --git a/frontend/dashboard/components/DataModelsRepoList/DataModelsRepoList.tsx b/frontend/dashboard/components/DataModelsRepoList/DataModelsRepoList.tsx index c69b6031901..111ee0607ab 100644 --- a/frontend/dashboard/components/DataModelsRepoList/DataModelsRepoList.tsx +++ b/frontend/dashboard/components/DataModelsRepoList/DataModelsRepoList.tsx @@ -8,7 +8,7 @@ import type { User } from 'app-shared/types/Repository'; import type { Organization } from 'app-shared/types/Organization'; import { useSearchReposQuery } from 'dashboard/hooks/queries/useSearchReposQuery'; import { useSelectedContext } from 'dashboard/hooks/useSelectedContext'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { useStarredReposQuery } from 'dashboard/hooks/queries'; import { DATA_MODEL_REPO_IDENTIFIER } from '../../constants'; diff --git a/frontend/dashboard/components/FavoriteReposList/FavoriteReposList.tsx b/frontend/dashboard/components/FavoriteReposList/FavoriteReposList.tsx index 08ffb0f0a3f..6bbf246a27f 100644 --- a/frontend/dashboard/components/FavoriteReposList/FavoriteReposList.tsx +++ b/frontend/dashboard/components/FavoriteReposList/FavoriteReposList.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { RepoList } from '../RepoList'; import { useTranslation } from 'react-i18next'; import { useStarredReposQuery } from '../../hooks/queries'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; export const FavoriteReposList = () => { const { t } = useTranslation(); diff --git a/frontend/dashboard/components/MakeCopyModal/MakeCopyModal.tsx b/frontend/dashboard/components/MakeCopyModal/MakeCopyModal.tsx index 9a73ddfa1fb..50e2338402b 100644 --- a/frontend/dashboard/components/MakeCopyModal/MakeCopyModal.tsx +++ b/frontend/dashboard/components/MakeCopyModal/MakeCopyModal.tsx @@ -1,6 +1,6 @@ import React, { forwardRef, useState } from 'react'; import { StudioModal } from '@studio/components'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import classes from './MakeCopyModal.module.css'; import { useTranslation } from 'react-i18next'; import { useCopyAppMutation } from 'dashboard/hooks/mutations/useCopyAppMutation'; diff --git a/frontend/dashboard/components/OrgRepoList/OrgReposList.tsx b/frontend/dashboard/components/OrgRepoList/OrgReposList.tsx index 2a1714a27cd..342b5f75163 100644 --- a/frontend/dashboard/components/OrgRepoList/OrgReposList.tsx +++ b/frontend/dashboard/components/OrgRepoList/OrgReposList.tsx @@ -7,7 +7,7 @@ import type { User } from 'app-shared/types/Repository'; import type { Organization } from 'app-shared/types/Organization'; import { useReposSearch } from 'dashboard/hooks/useReposSearch'; import { useSelectedContext } from 'dashboard/hooks/useSelectedContext'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { DATA_MODEL_REPO_IDENTIFIER, DATAGRID_DEFAULT_PAGE_SIZE } from 'dashboard/constants'; import { useAugmentReposWithStarred } from 'dashboard/hooks/useAugmentReposWithStarred'; import { useSearchReposQuery, useStarredReposQuery } from 'dashboard/hooks/queries'; diff --git a/frontend/dashboard/components/RepoList/ActionLinks.tsx b/frontend/dashboard/components/RepoList/ActionLinks.tsx index 1fb603e349f..79a9c28a52f 100644 --- a/frontend/dashboard/components/RepoList/ActionLinks.tsx +++ b/frontend/dashboard/components/RepoList/ActionLinks.tsx @@ -1,4 +1,4 @@ -import { Button, DropdownMenu } from '@digdir/design-system-react'; +import { Button, DropdownMenu } from '@digdir/designsystemet-react'; import React, { useRef, useState } from 'react'; import classes from './ActionLinks.module.css'; import cn from 'classnames'; diff --git a/frontend/dashboard/components/RepoList/FavoriteButton.tsx b/frontend/dashboard/components/RepoList/FavoriteButton.tsx index 7836710bbc6..05bb87adced 100644 --- a/frontend/dashboard/components/RepoList/FavoriteButton.tsx +++ b/frontend/dashboard/components/RepoList/FavoriteButton.tsx @@ -1,5 +1,5 @@ import { StarFillIcon, StarIcon } from '@navikt/aksel-icons'; -import { Button } from '@digdir/design-system-react'; +import { Button } from '@digdir/designsystemet-react'; import React from 'react'; import { useSetStarredRepoMutation, useUnsetStarredRepoMutation } from '../../hooks/mutations'; import type { RepoIncludingStarredData } from '../../utils/repoUtils/repoUtils'; diff --git a/frontend/dashboard/components/RepoList/RepoList.tsx b/frontend/dashboard/components/RepoList/RepoList.tsx index 3bd61dcd7a0..936519a8e55 100644 --- a/frontend/dashboard/components/RepoList/RepoList.tsx +++ b/frontend/dashboard/components/RepoList/RepoList.tsx @@ -13,7 +13,7 @@ import { ActionLinks } from './ActionLinks'; import { FavoriteButton } from './FavoriteButton'; import classes from './RepoList.module.css'; import { RepoNameWithLink } from './RepoNameWithLink'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; export interface RepoListProps { repos: RepoIncludingStarredData[]; diff --git a/frontend/dashboard/components/RepoList/RepoNameWithLink.tsx b/frontend/dashboard/components/RepoList/RepoNameWithLink.tsx index 2b13b1147cb..7330ad35132 100644 --- a/frontend/dashboard/components/RepoList/RepoNameWithLink.tsx +++ b/frontend/dashboard/components/RepoList/RepoNameWithLink.tsx @@ -1,5 +1,5 @@ import { getRepoEditUrl } from '../../utils/urlUtils'; -import { Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; import classes from './RepoNameWithLink.module.css'; import React from 'react'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/dashboard/components/RepoNameInput/RepoNameInput.tsx b/frontend/dashboard/components/RepoNameInput/RepoNameInput.tsx index 9460f4b23aa..caf3258f089 100644 --- a/frontend/dashboard/components/RepoNameInput/RepoNameInput.tsx +++ b/frontend/dashboard/components/RepoNameInput/RepoNameInput.tsx @@ -1,7 +1,7 @@ import React from 'react'; import classes from './RepoNameInput.module.css'; -import type { TextfieldProps } from '@digdir/design-system-react'; -import { Paragraph, Textfield } from '@digdir/design-system-react'; +import type { TextfieldProps } from '@digdir/designsystemet-react'; +import { Paragraph, Textfield } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; type RepoNameInputProps = { diff --git a/frontend/dashboard/components/ResourcesRepoList/ResourcesRepoList.tsx b/frontend/dashboard/components/ResourcesRepoList/ResourcesRepoList.tsx index 3a324a4c975..3c80eddea95 100644 --- a/frontend/dashboard/components/ResourcesRepoList/ResourcesRepoList.tsx +++ b/frontend/dashboard/components/ResourcesRepoList/ResourcesRepoList.tsx @@ -8,7 +8,7 @@ import { getReposLabel } from 'dashboard/utils/repoUtils'; import type { Organization } from 'app-shared/types/Organization'; import { useTranslation } from 'react-i18next'; import { StudioSpinner } from '@studio/components'; -import { Alert, Heading, Link } from '@digdir/design-system-react'; +import { Alert, Heading, Link } from '@digdir/designsystemet-react'; import { useSearchReposQuery } from 'dashboard/hooks/queries'; import type { User } from 'app-shared/types/Repository'; import { getUidFilter } from 'dashboard/utils/filterUtils'; diff --git a/frontend/dashboard/components/SafeErrorView/SafeErrorView.tsx b/frontend/dashboard/components/SafeErrorView/SafeErrorView.tsx index 426ccd8671f..86f865c8c33 100644 --- a/frontend/dashboard/components/SafeErrorView/SafeErrorView.tsx +++ b/frontend/dashboard/components/SafeErrorView/SafeErrorView.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Alert, Heading, Paragraph } from '@digdir/design-system-react'; +import { Alert, Heading, Paragraph } from '@digdir/designsystemet-react'; import { StudioButton } from '@studio/components'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/dashboard/components/ServiceOwnerSelector/ServiceOwnerSelector.tsx b/frontend/dashboard/components/ServiceOwnerSelector/ServiceOwnerSelector.tsx index a879e7d6b35..80f89c6c80f 100644 --- a/frontend/dashboard/components/ServiceOwnerSelector/ServiceOwnerSelector.tsx +++ b/frontend/dashboard/components/ServiceOwnerSelector/ServiceOwnerSelector.tsx @@ -1,5 +1,5 @@ import React, { useId } from 'react'; -import { NativeSelect } from '@digdir/design-system-react'; +import { NativeSelect } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import type { Organization } from 'app-shared/types/Organization'; import type { User } from 'app-shared/types/Repository'; diff --git a/frontend/dashboard/pages/Dashboard/Dashboard.tsx b/frontend/dashboard/pages/Dashboard/Dashboard.tsx index 251a1b000c4..134c925b43a 100644 --- a/frontend/dashboard/pages/Dashboard/Dashboard.tsx +++ b/frontend/dashboard/pages/Dashboard/Dashboard.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import classes from './Dashboard.module.css'; import cn from 'classnames'; import type { ChangeEvent, KeyboardEvent } from 'react'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; import { StudioButton } from '@studio/components'; import { XMarkIcon } from '@studio/icons'; import { CenterContainer } from '../../components/CenterContainer'; diff --git a/frontend/libs/studio-components/src/components/StudioAnimateHeight/StudioAnimateHeight.mdx b/frontend/libs/studio-components/src/components/StudioAnimateHeight/StudioAnimateHeight.mdx index e0c039cb04d..227044c7fe9 100644 --- a/frontend/libs/studio-components/src/components/StudioAnimateHeight/StudioAnimateHeight.mdx +++ b/frontend/libs/studio-components/src/components/StudioAnimateHeight/StudioAnimateHeight.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioAnimateHeightStories from './StudioAnimateHeight.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioBooleanToggleGroup/StudioBooleanToggleGroup.mdx b/frontend/libs/studio-components/src/components/StudioBooleanToggleGroup/StudioBooleanToggleGroup.mdx index bfd61284764..5ae2c86915a 100644 --- a/frontend/libs/studio-components/src/components/StudioBooleanToggleGroup/StudioBooleanToggleGroup.mdx +++ b/frontend/libs/studio-components/src/components/StudioBooleanToggleGroup/StudioBooleanToggleGroup.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioBooleanToggleGroupStories from './StudioBooleanToggleGroup.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioBooleanToggleGroup/StudioBooleanToggleGroup.tsx b/frontend/libs/studio-components/src/components/StudioBooleanToggleGroup/StudioBooleanToggleGroup.tsx index a3c46e069e8..dd8d0a0c819 100644 --- a/frontend/libs/studio-components/src/components/StudioBooleanToggleGroup/StudioBooleanToggleGroup.tsx +++ b/frontend/libs/studio-components/src/components/StudioBooleanToggleGroup/StudioBooleanToggleGroup.tsx @@ -1,5 +1,5 @@ -import type { ToggleGroupProps } from '@digdir/design-system-react'; -import { ToggleGroup } from '@digdir/design-system-react'; +import type { ToggleGroupProps } from '@digdir/designsystemet-react'; +import { ToggleGroup } from '@digdir/designsystemet-react'; import React, { forwardRef, useEffect, useState } from 'react'; export type StudioBooleanToggleGroupProps = { diff --git a/frontend/libs/studio-components/src/components/StudioButton/StudioButton.mdx b/frontend/libs/studio-components/src/components/StudioButton/StudioButton.mdx index 2677be7e05a..4bcb5c12309 100644 --- a/frontend/libs/studio-components/src/components/StudioButton/StudioButton.mdx +++ b/frontend/libs/studio-components/src/components/StudioButton/StudioButton.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioButtonStories from './StudioButton.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioButton/StudioButton.tsx b/frontend/libs/studio-components/src/components/StudioButton/StudioButton.tsx index 8ebeb9840c9..0ce0b266a7b 100644 --- a/frontend/libs/studio-components/src/components/StudioButton/StudioButton.tsx +++ b/frontend/libs/studio-components/src/components/StudioButton/StudioButton.tsx @@ -1,5 +1,5 @@ -import { Button } from '@digdir/design-system-react'; -import type { ButtonProps } from '@digdir/design-system-react'; +import { Button } from '@digdir/designsystemet-react'; +import type { ButtonProps } from '@digdir/designsystemet-react'; import type { ReactNode } from 'react'; import React, { forwardRef } from 'react'; import cn from 'classnames'; diff --git a/frontend/libs/studio-components/src/components/StudioCard/index.tsx b/frontend/libs/studio-components/src/components/StudioCard/index.tsx index 6aa1bf5d835..5c20741bc83 100644 --- a/frontend/libs/studio-components/src/components/StudioCard/index.tsx +++ b/frontend/libs/studio-components/src/components/StudioCard/index.tsx @@ -1 +1,4 @@ -export { Card as StudioCard, type CardProps as StudioCardProps } from '@digdir/design-system-react'; +export { + Card as StudioCard, + type CardProps as StudioCardProps, +} from '@digdir/designsystemet-react'; diff --git a/frontend/libs/studio-components/src/components/StudioCenter/StudioCenter.mdx b/frontend/libs/studio-components/src/components/StudioCenter/StudioCenter.mdx index 65bd7f78853..5acd56a6092 100644 --- a/frontend/libs/studio-components/src/components/StudioCenter/StudioCenter.mdx +++ b/frontend/libs/studio-components/src/components/StudioCenter/StudioCenter.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioCenterStories from './StudioCenter.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioCodeFragment/StudioCodeFragment.mdx b/frontend/libs/studio-components/src/components/StudioCodeFragment/StudioCodeFragment.mdx index 4f8056c59d2..efd84007da3 100644 --- a/frontend/libs/studio-components/src/components/StudioCodeFragment/StudioCodeFragment.mdx +++ b/frontend/libs/studio-components/src/components/StudioCodeFragment/StudioCodeFragment.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioCodeFragmentStories from './StudioCodeFragment.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioDecimalInput/StudioDecimalInput.mdx b/frontend/libs/studio-components/src/components/StudioDecimalInput/StudioDecimalInput.mdx index 8a8d0e939f5..a92b0bdd66a 100644 --- a/frontend/libs/studio-components/src/components/StudioDecimalInput/StudioDecimalInput.mdx +++ b/frontend/libs/studio-components/src/components/StudioDecimalInput/StudioDecimalInput.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioDecimalInputStories from './StudioDecimalInput.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioDeleteButton/StudioDeleteButton.mdx b/frontend/libs/studio-components/src/components/StudioDeleteButton/StudioDeleteButton.mdx index 6442adc485e..9f758d66c67 100644 --- a/frontend/libs/studio-components/src/components/StudioDeleteButton/StudioDeleteButton.mdx +++ b/frontend/libs/studio-components/src/components/StudioDeleteButton/StudioDeleteButton.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioDeleteButtonStories from './StudioDeleteButton.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioDisplayTile/StudioDisplayTile.mdx b/frontend/libs/studio-components/src/components/StudioDisplayTile/StudioDisplayTile.mdx index aea81e0db3f..c8f7a639432 100644 --- a/frontend/libs/studio-components/src/components/StudioDisplayTile/StudioDisplayTile.mdx +++ b/frontend/libs/studio-components/src/components/StudioDisplayTile/StudioDisplayTile.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioDisplayTileStories from './StudioDisplayTile.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioDisplayTile/StudioDisplayTile.tsx b/frontend/libs/studio-components/src/components/StudioDisplayTile/StudioDisplayTile.tsx index 73a060484d7..da948e4acd5 100644 --- a/frontend/libs/studio-components/src/components/StudioDisplayTile/StudioDisplayTile.tsx +++ b/frontend/libs/studio-components/src/components/StudioDisplayTile/StudioDisplayTile.tsx @@ -1,7 +1,7 @@ import React, { forwardRef, type HTMLAttributes } from 'react'; import { PadlockLockedFillIcon } from '@studio/icons'; import cn from 'classnames'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import classes from './StudioDisplayTile.module.css'; export type StudioDisplayTileProps = { diff --git a/frontend/libs/studio-components/src/components/StudioDivider/index.tsx b/frontend/libs/studio-components/src/components/StudioDivider/index.tsx index 721a3011f66..5a6af8c7fd6 100644 --- a/frontend/libs/studio-components/src/components/StudioDivider/index.tsx +++ b/frontend/libs/studio-components/src/components/StudioDivider/index.tsx @@ -1,4 +1,4 @@ export { Divider as StudioDivider, type DividerProps as StudioDividerProps, -} from '@digdir/design-system-react'; +} from '@digdir/designsystemet-react'; diff --git a/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenu.mdx b/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenu.mdx index d78246b6870..64085b1f06c 100644 --- a/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenu.mdx +++ b/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenu.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioDropdownMenuStories from './StudioDropdownMenu.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenu.tsx b/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenu.tsx index cf7fdc61141..b24f87defa5 100644 --- a/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenu.tsx +++ b/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenu.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; -import { DropdownMenu } from '@digdir/design-system-react'; -import type { DropdownMenuProps } from '@digdir/design-system-react'; +import { DropdownMenu } from '@digdir/designsystemet-react'; +import type { DropdownMenuProps } from '@digdir/designsystemet-react'; import type { StudioButtonProps } from '../StudioButton'; import { StudioButton } from '../StudioButton'; import { StudioDropdownMenuContext } from './StudioDropdownMenuContext'; diff --git a/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenuItem.tsx b/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenuItem.tsx index 53f871bfd85..de787aa725b 100644 --- a/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenuItem.tsx +++ b/frontend/libs/studio-components/src/components/StudioDropdownMenu/StudioDropdownMenuItem.tsx @@ -1,7 +1,7 @@ import type { ReactNode, MouseEvent } from 'react'; import React, { forwardRef, useContext } from 'react'; -import { DropdownMenu } from '@digdir/design-system-react'; -import type { DropdownMenuItemProps } from '@digdir/design-system-react'; +import { DropdownMenu } from '@digdir/designsystemet-react'; +import type { DropdownMenuItemProps } from '@digdir/designsystemet-react'; import type { IconPlacement } from '../../types/IconPlacement'; import type { OverridableComponent } from '../../types/OverridableComponent'; import cn from 'classnames'; diff --git a/frontend/libs/studio-components/src/components/StudioDropdownMenu/index.ts b/frontend/libs/studio-components/src/components/StudioDropdownMenu/index.ts index d889dea7103..4f4649e3a68 100644 --- a/frontend/libs/studio-components/src/components/StudioDropdownMenu/index.ts +++ b/frontend/libs/studio-components/src/components/StudioDropdownMenu/index.ts @@ -1,5 +1,5 @@ import { StudioDropdownMenu as Root } from './StudioDropdownMenu'; -import { DropdownMenuGroup } from '@digdir/design-system-react'; +import { DropdownMenuGroup } from '@digdir/designsystemet-react'; import { StudioDropdownMenuItem } from './StudioDropdownMenuItem'; type StudioDropdownMenuComponent = typeof Root & { diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/LogicalExpressionEditor.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/LogicalExpressionEditor.tsx index 28c47d7f634..105e6a74d8e 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/LogicalExpressionEditor.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/LogicalExpressionEditor.tsx @@ -20,7 +20,7 @@ import { Subexpression } from './SubExpression'; import { useStudioExpressionContext } from '../../StudioExpressionContext'; import { LogicalOperatorToggle } from './LogicalOperatorToggle'; import { OperatorBetweenSubexpressions } from './OperatorBetweenSubexpressions'; -import { Fieldset } from '@digdir/design-system-react'; +import { Fieldset } from '@digdir/designsystemet-react'; import { v4 as uuidv4 } from 'uuid'; import { ArrayUtils } from '@studio/pure-functions'; diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/LogicalOperatorToggle/LogicalOperatorToggle.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/LogicalOperatorToggle/LogicalOperatorToggle.tsx index 3a01bfbf0ee..ed2fba40b67 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/LogicalOperatorToggle/LogicalOperatorToggle.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/LogicalOperatorToggle/LogicalOperatorToggle.tsx @@ -1,7 +1,7 @@ import { LogicalTupleOperator } from '../../../enums/LogicalTupleOperator'; import React from 'react'; import { useStudioExpressionContext } from '../../../StudioExpressionContext'; -import { Paragraph, ToggleGroup } from '@digdir/design-system-react'; +import { Paragraph, ToggleGroup } from '@digdir/designsystemet-react'; import classes from './LogicalOperatorToggle.module.css'; export type LogicalOperatorToggleProps = { diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/OperatorBetweenSubexpressions/OperatorBetweenSubexpressions.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/OperatorBetweenSubexpressions/OperatorBetweenSubexpressions.tsx index aac97c5376f..d77cf42c664 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/OperatorBetweenSubexpressions/OperatorBetweenSubexpressions.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/OperatorBetweenSubexpressions/OperatorBetweenSubexpressions.tsx @@ -2,7 +2,7 @@ import type { SimpleLogicalExpression } from '../../../types/SimplifiedExpressio import React from 'react'; import { useStudioExpressionContext } from '../../../StudioExpressionContext'; import { LogicalTupleOperator } from '../../../enums/LogicalTupleOperator'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import classes from './OperatorBetweenSubexpressions.module.css'; export type OperatorBetweenSubexpressionsProps = { diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/RelationalOperatorSelector/RelationalOperatorSelector.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/RelationalOperatorSelector/RelationalOperatorSelector.tsx index 55c2f0b40b4..c1f8ce8ab88 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/RelationalOperatorSelector/RelationalOperatorSelector.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/RelationalOperatorSelector/RelationalOperatorSelector.tsx @@ -1,7 +1,7 @@ import type { RelationalOperator } from '../../../../types/RelationalOperator'; import { NumberRelationOperator } from '../../../../enums/NumberRelationOperator'; import { GeneralRelationOperator } from '../../../../enums/GeneralRelationOperator'; -import { NativeSelect, Paragraph } from '@digdir/design-system-react'; +import { NativeSelect, Paragraph } from '@digdir/designsystemet-react'; import React from 'react'; import { useStudioExpressionContext } from '../../../../StudioExpressionContext'; diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionErrors/SubexpressionErrors.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionErrors/SubexpressionErrors.tsx index 174884c386d..2898c2b9c54 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionErrors/SubexpressionErrors.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionErrors/SubexpressionErrors.tsx @@ -1,5 +1,5 @@ import type { ExpressionErrorKey } from '../../../../enums/ExpressionErrorKey'; -import { ErrorMessage, List } from '@digdir/design-system-react'; +import { ErrorMessage, List } from '@digdir/designsystemet-react'; import React from 'react'; import { useStudioExpressionContext } from '../../../../StudioExpressionContext'; import classes from './SubexpressionErrors.module.css'; diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/ComponentIdSelector.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/ComponentIdSelector.tsx index f2e902b1547..e43f327f9bf 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/ComponentIdSelector.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/ComponentIdSelector.tsx @@ -4,7 +4,7 @@ import React, { useState } from 'react'; import { useStudioExpressionContext } from '../../../../../StudioExpressionContext'; import { ExpressionErrorKey } from '../../../../../enums/ExpressionErrorKey'; import { DataLookupFuncName } from '../../../../../enums/DataLookupFuncName'; -import { Combobox } from '@digdir/design-system-react'; +import { Combobox } from '@digdir/designsystemet-react'; export const ComponentIdSelector = ({ value, diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/DataModelPointerSelector.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/DataModelPointerSelector.tsx index 9aa6688c2b0..d28e639a8b0 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/DataModelPointerSelector.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/DataModelPointerSelector.tsx @@ -3,7 +3,7 @@ import React, { useState } from 'react'; import { useStudioExpressionContext } from '../../../../../StudioExpressionContext'; import { ExpressionErrorKey } from '../../../../../enums/ExpressionErrorKey'; import { DataLookupFuncName } from '../../../../../enums/DataLookupFuncName'; -import { Combobox } from '@digdir/design-system-react'; +import { Combobox } from '@digdir/designsystemet-react'; import type { Props } from './Props'; export const DataModelPointerSelector = ({ diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/InstanceContextKeySelector.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/InstanceContextKeySelector.tsx index ee586a07661..f0a2ef6abc4 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/InstanceContextKeySelector.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/InstanceContextKeySelector.tsx @@ -4,7 +4,7 @@ import type { ChangeEvent } from 'react'; import React from 'react'; import { useStudioExpressionContext } from '../../../../../StudioExpressionContext'; import { InstanceContext } from '../../../../../enums/InstanceContext'; -import { NativeSelect } from '@digdir/design-system-react'; +import { NativeSelect } from '@digdir/designsystemet-react'; export const InstanceContextKeySelector = ({ value, diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/StringInput.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/StringInput.tsx index e079afe983d..1440d5bf778 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/StringInput.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueContentInput/StringInput.tsx @@ -3,7 +3,7 @@ import type { SimpleSubexpressionValueType } from '../../../../../enums/SimpleSu import type { ChangeEvent } from 'react'; import React from 'react'; import { useStudioExpressionContext } from '../../../../../StudioExpressionContext'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; export const StringInput = ({ value, onChange }: Props) => { const { texts } = useStudioExpressionContext(); diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueReadonly/SubexpressionValueReadonly.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueReadonly/SubexpressionValueReadonly.tsx index e712a04c4b2..3a1c009f490 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueReadonly/SubexpressionValueReadonly.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueReadonly/SubexpressionValueReadonly.tsx @@ -1,7 +1,7 @@ import type { SimpleSubexpressionValue } from '../../../../../types/SimpleSubexpressionValue'; import type { ReactNode } from 'react'; import React from 'react'; -import { Paragraph, Tag } from '@digdir/design-system-react'; +import { Paragraph, Tag } from '@digdir/designsystemet-react'; import { SimpleSubexpressionValueType } from '../../../../../enums/SimpleSubexpressionValueType'; import classes from './SubexpressionValueReadonly.module.css'; import { StudioCodeFragment } from '../../../../../../StudioCodeFragment'; diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueTypeSelector/SubexpressionValueTypeSelector.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueTypeSelector/SubexpressionValueTypeSelector.tsx index 5b7c0163604..dc93ecfbc24 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueTypeSelector/SubexpressionValueTypeSelector.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubExpressionValueTypeSelector/SubexpressionValueTypeSelector.tsx @@ -1,7 +1,7 @@ import { SimpleSubexpressionValueType } from '../../../../../enums/SimpleSubexpressionValueType'; import type { ChangeEvent } from 'react'; import React from 'react'; -import { NativeSelect } from '@digdir/design-system-react'; +import { NativeSelect } from '@digdir/designsystemet-react'; import { useStudioExpressionContext } from '../../../../../StudioExpressionContext'; export type SubexpressionValueTypeSelectorProps = { diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubexpressionValueSelector.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubexpressionValueSelector.tsx index d88449f3e48..a0ac518de17 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubexpressionValueSelector.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubexpressionValueSelector.tsx @@ -4,7 +4,7 @@ import type { SimpleSubexpressionValueType } from '../../../../enums/SimpleSubex import { SubexpressionValueContentInput } from './SubExpressionValueContentInput'; import { SubexpressionValueTypeSelector } from './SubExpressionValueTypeSelector'; import { SubexpressionValueReadonly } from './SubExpressionValueReadonly'; -import { Fieldset } from '@digdir/design-system-react'; +import { Fieldset } from '@digdir/designsystemet-react'; import classes from './SubexpressionValueSelector.module.css'; import { getDefaultValueOfType } from './getDefaultValueOfType'; diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/Subexpression.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/Subexpression.tsx index d4d3881e588..b7e7cf4c74d 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/Subexpression.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/Subexpression.tsx @@ -15,7 +15,7 @@ import cn from 'classnames'; import type { ExpressionErrorKey } from '../../../enums/ExpressionErrorKey'; import { findSubexpressionErrors } from './utils/findSubexpressionErrors'; import { SubexpressionErrors } from './SubExpressionErrors'; -import { Fieldset } from '@digdir/design-system-react'; +import { Fieldset } from '@digdir/designsystemet-react'; import { useStudioExpressionContext } from '../../../StudioExpressionContext'; export type SubexpressionProps = { diff --git a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/SimplifiedEditor.tsx b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/SimplifiedEditor.tsx index e39ca4678bc..fec5d9c8990 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/SimplifiedEditor.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/SimplifiedEditor.tsx @@ -1,7 +1,7 @@ import React from 'react'; import type { Expression } from '../types/Expression'; import { isExpressionSimple } from '../validators/isExpressionSimple'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { complexToSimpleExpression } from '../converters/complexToSimpleExpression'; import type { SimplifiedExpression } from '../types/SimplifiedExpression'; import { simpleToComplexExpression } from '../converters/simpleToComplexExpression'; diff --git a/frontend/libs/studio-components/src/components/StudioExpression/StudioExpression.mdx b/frontend/libs/studio-components/src/components/StudioExpression/StudioExpression.mdx index 30b2bf4ca99..aedcf36e079 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/StudioExpression.mdx +++ b/frontend/libs/studio-components/src/components/StudioExpression/StudioExpression.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioExpressionStories from './StudioExpression.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioExpression/StudioExpression.tsx b/frontend/libs/studio-components/src/components/StudioExpression/StudioExpression.tsx index 12b049a40cb..4d270848725 100644 --- a/frontend/libs/studio-components/src/components/StudioExpression/StudioExpression.tsx +++ b/frontend/libs/studio-components/src/components/StudioExpression/StudioExpression.tsx @@ -1,7 +1,7 @@ import React, { useContext, useMemo, useRef, useState } from 'react'; import type { BooleanExpression } from './types/Expression'; import { isExpressionValid } from './validators/isExpressionValid'; -import { Alert, Tabs } from '@digdir/design-system-react'; +import { Alert, Tabs } from '@digdir/designsystemet-react'; import { SimplifiedEditor } from './SimplifiedEditor'; import { ManualEditor } from './ManualEditor'; import { isExpressionSimple } from './validators/isExpressionSimple'; diff --git a/frontend/libs/studio-components/src/components/StudioGridSelector/StudioGridSelector.mdx b/frontend/libs/studio-components/src/components/StudioGridSelector/StudioGridSelector.mdx index 0aa31701438..6cac1b405aa 100644 --- a/frontend/libs/studio-components/src/components/StudioGridSelector/StudioGridSelector.mdx +++ b/frontend/libs/studio-components/src/components/StudioGridSelector/StudioGridSelector.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioGridSelectorStories from './StudioGridSelector.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioIconTextfield/StudioIconTextfield.mdx b/frontend/libs/studio-components/src/components/StudioIconTextfield/StudioIconTextfield.mdx index 7015933363a..1df21de7a6d 100644 --- a/frontend/libs/studio-components/src/components/StudioIconTextfield/StudioIconTextfield.mdx +++ b/frontend/libs/studio-components/src/components/StudioIconTextfield/StudioIconTextfield.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioIconTextfieldStories from './StudioIconTextfield.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioIcons/IconViewer.tsx b/frontend/libs/studio-components/src/components/StudioIcons/IconViewer.tsx index f300e4e226b..bd308eef10c 100644 --- a/frontend/libs/studio-components/src/components/StudioIcons/IconViewer.tsx +++ b/frontend/libs/studio-components/src/components/StudioIcons/IconViewer.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { StudioTextfield } from '../StudioTextfield'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import * as StudioIcons from '@studio/icons'; import classes from './IconViewer.module.css'; diff --git a/frontend/libs/studio-components/src/components/StudioLabelAsParagraph/StudioLabelAsParagraph.mdx b/frontend/libs/studio-components/src/components/StudioLabelAsParagraph/StudioLabelAsParagraph.mdx index 084a6ac007a..86d4c0b311b 100644 --- a/frontend/libs/studio-components/src/components/StudioLabelAsParagraph/StudioLabelAsParagraph.mdx +++ b/frontend/libs/studio-components/src/components/StudioLabelAsParagraph/StudioLabelAsParagraph.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioLabelAsParagraphStories from './StudioLabelAsParagraph.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioLabelAsParagraph/StudioLabelAsParagraph.tsx b/frontend/libs/studio-components/src/components/StudioLabelAsParagraph/StudioLabelAsParagraph.tsx index 651e319bc33..b78c7bfe5c9 100644 --- a/frontend/libs/studio-components/src/components/StudioLabelAsParagraph/StudioLabelAsParagraph.tsx +++ b/frontend/libs/studio-components/src/components/StudioLabelAsParagraph/StudioLabelAsParagraph.tsx @@ -1,5 +1,5 @@ import React, { forwardRef } from 'react'; -import { Label, type LabelProps } from '@digdir/design-system-react'; +import { Label, type LabelProps } from '@digdir/designsystemet-react'; type StudioLabelAsParagraphProps = Omit; diff --git a/frontend/libs/studio-components/src/components/StudioLabelWrapper/StudioLabelWrapper.mdx b/frontend/libs/studio-components/src/components/StudioLabelWrapper/StudioLabelWrapper.mdx index 9ad918a9160..4acfc327c91 100644 --- a/frontend/libs/studio-components/src/components/StudioLabelWrapper/StudioLabelWrapper.mdx +++ b/frontend/libs/studio-components/src/components/StudioLabelWrapper/StudioLabelWrapper.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioLabelWrapperStories from './StudioLabelWrapper.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioModal/StudioModal.mdx b/frontend/libs/studio-components/src/components/StudioModal/StudioModal.mdx index be78d5e27b2..c8d95c67a49 100644 --- a/frontend/libs/studio-components/src/components/StudioModal/StudioModal.mdx +++ b/frontend/libs/studio-components/src/components/StudioModal/StudioModal.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioModalStories from './StudioModal.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioNativeSelect/StudioNativeSelect.mdx b/frontend/libs/studio-components/src/components/StudioNativeSelect/StudioNativeSelect.mdx index dc8bf03da74..198fb406e6e 100644 --- a/frontend/libs/studio-components/src/components/StudioNativeSelect/StudioNativeSelect.mdx +++ b/frontend/libs/studio-components/src/components/StudioNativeSelect/StudioNativeSelect.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioNativeSelectStories from './StudioNativeSelect.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioNativeSelect/StudioNativeSelect.tsx b/frontend/libs/studio-components/src/components/StudioNativeSelect/StudioNativeSelect.tsx index 5b748e01b40..8007f055eda 100644 --- a/frontend/libs/studio-components/src/components/StudioNativeSelect/StudioNativeSelect.tsx +++ b/frontend/libs/studio-components/src/components/StudioNativeSelect/StudioNativeSelect.tsx @@ -5,7 +5,7 @@ import { Paragraph, NativeSelect, type NativeSelectProps, -} from '@digdir/design-system-react'; +} from '@digdir/designsystemet-react'; export type StudioNativeSelectProps = { description?: string; diff --git a/frontend/libs/studio-components/src/components/StudioNotFoundPage/StudioNotFound.mdx b/frontend/libs/studio-components/src/components/StudioNotFoundPage/StudioNotFound.mdx index 26bde7ee855..6526d51e070 100644 --- a/frontend/libs/studio-components/src/components/StudioNotFoundPage/StudioNotFound.mdx +++ b/frontend/libs/studio-components/src/components/StudioNotFoundPage/StudioNotFound.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioNotFoundPageStories from './StudioNotFoundPage.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioNotFoundPage/StudioNotFoundPage.tsx b/frontend/libs/studio-components/src/components/StudioNotFoundPage/StudioNotFoundPage.tsx index 52c18fad180..c6589b2c183 100644 --- a/frontend/libs/studio-components/src/components/StudioNotFoundPage/StudioNotFoundPage.tsx +++ b/frontend/libs/studio-components/src/components/StudioNotFoundPage/StudioNotFoundPage.tsx @@ -2,7 +2,7 @@ import type { HTMLAttributes, ReactNode } from 'react'; import React, { forwardRef } from 'react'; import classes from './StudioNotFoundPage.module.css'; import cn from 'classnames'; -import { Heading, Link } from '@digdir/design-system-react'; +import { Heading, Link } from '@digdir/designsystemet-react'; type StudioNotFoundPageProps = HTMLAttributes & { title: string; diff --git a/frontend/libs/studio-components/src/components/StudioParagraph/index.tsx b/frontend/libs/studio-components/src/components/StudioParagraph/index.tsx index 48953eda1ee..1381274a534 100644 --- a/frontend/libs/studio-components/src/components/StudioParagraph/index.tsx +++ b/frontend/libs/studio-components/src/components/StudioParagraph/index.tsx @@ -1 +1 @@ -export { Paragraph as StudioParagraph } from '@digdir/design-system-react'; +export { Paragraph as StudioParagraph } from '@digdir/designsystemet-react'; diff --git a/frontend/libs/studio-components/src/components/StudioPopover/StudioPopover.mdx b/frontend/libs/studio-components/src/components/StudioPopover/StudioPopover.mdx index a18a2bf442f..03678e626b2 100644 --- a/frontend/libs/studio-components/src/components/StudioPopover/StudioPopover.mdx +++ b/frontend/libs/studio-components/src/components/StudioPopover/StudioPopover.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioPopoverStories from './StudioPopover.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioPopover/StudioPopover.tsx b/frontend/libs/studio-components/src/components/StudioPopover/StudioPopover.tsx index ce01fce8af8..313827d59d6 100644 --- a/frontend/libs/studio-components/src/components/StudioPopover/StudioPopover.tsx +++ b/frontend/libs/studio-components/src/components/StudioPopover/StudioPopover.tsx @@ -4,7 +4,7 @@ import { Popover, type PopoverTriggerProps, type PopoverContentProps, -} from '@digdir/design-system-react'; +} from '@digdir/designsystemet-react'; const StudioPopoverTrigger = ({ ...rest }: PopoverTriggerProps): React.ReactElement => { return ; diff --git a/frontend/libs/studio-components/src/components/StudioProperty/StudioProperties.mdx b/frontend/libs/studio-components/src/components/StudioProperty/StudioProperties.mdx index ffdf8163f64..28afec45cc7 100644 --- a/frontend/libs/studio-components/src/components/StudioProperty/StudioProperties.mdx +++ b/frontend/libs/studio-components/src/components/StudioProperty/StudioProperties.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioPropertyStories from './StudioProperty.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioProperty/StudioPropertyFieldset/StudioPropertyFieldset.tsx b/frontend/libs/studio-components/src/components/StudioProperty/StudioPropertyFieldset/StudioPropertyFieldset.tsx index 07c70aca745..83645227a55 100644 --- a/frontend/libs/studio-components/src/components/StudioProperty/StudioPropertyFieldset/StudioPropertyFieldset.tsx +++ b/frontend/libs/studio-components/src/components/StudioProperty/StudioPropertyFieldset/StudioPropertyFieldset.tsx @@ -1,5 +1,5 @@ -import type { FieldsetProps } from '@digdir/design-system-react'; -import { Fieldset } from '@digdir/design-system-react'; +import type { FieldsetProps } from '@digdir/designsystemet-react'; +import { Fieldset } from '@digdir/designsystemet-react'; import type { ReactNode } from 'react'; import React, { forwardRef } from 'react'; import cn from 'classnames'; diff --git a/frontend/libs/studio-components/src/components/StudioSectionHeader/StudioSectionHeader.mdx b/frontend/libs/studio-components/src/components/StudioSectionHeader/StudioSectionHeader.mdx index 204629dffb8..a254ec4f43e 100644 --- a/frontend/libs/studio-components/src/components/StudioSectionHeader/StudioSectionHeader.mdx +++ b/frontend/libs/studio-components/src/components/StudioSectionHeader/StudioSectionHeader.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioSectionHeaderStories from './StudioSectionHeader.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioSectionHeader/StudioSectionHeader.tsx b/frontend/libs/studio-components/src/components/StudioSectionHeader/StudioSectionHeader.tsx index 6ac2082da9b..66be7fab8df 100644 --- a/frontend/libs/studio-components/src/components/StudioSectionHeader/StudioSectionHeader.tsx +++ b/frontend/libs/studio-components/src/components/StudioSectionHeader/StudioSectionHeader.tsx @@ -1,5 +1,5 @@ import React, { forwardRef, type HTMLAttributes } from 'react'; -import { Heading, type HeadingProps, HelpText } from '@digdir/design-system-react'; +import { Heading, type HeadingProps, HelpText } from '@digdir/designsystemet-react'; import classes from './StudioSectionHeader.module.css'; import cn from 'classnames'; diff --git a/frontend/libs/studio-components/src/components/StudioSpinner/StudioSpinner.mdx b/frontend/libs/studio-components/src/components/StudioSpinner/StudioSpinner.mdx index e361b102742..5138592043d 100644 --- a/frontend/libs/studio-components/src/components/StudioSpinner/StudioSpinner.mdx +++ b/frontend/libs/studio-components/src/components/StudioSpinner/StudioSpinner.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioSpinnerStories from './StudioSpinner.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioSpinner/StudioSpinner.tsx b/frontend/libs/studio-components/src/components/StudioSpinner/StudioSpinner.tsx index ac8ea71b964..f384182e1ad 100644 --- a/frontend/libs/studio-components/src/components/StudioSpinner/StudioSpinner.tsx +++ b/frontend/libs/studio-components/src/components/StudioSpinner/StudioSpinner.tsx @@ -1,7 +1,7 @@ import type { HTMLAttributes } from 'react'; import React, { forwardRef, useId } from 'react'; -import { Paragraph, Spinner } from '@digdir/design-system-react'; -import type { SpinnerProps } from '@digdir/design-system-react'; +import { Paragraph, Spinner } from '@digdir/designsystemet-react'; +import type { SpinnerProps } from '@digdir/designsystemet-react'; import classes from './StudioSpinner.module.css'; export type StudioSpinnerProps = { diff --git a/frontend/libs/studio-components/src/components/StudioTableLocalPagination/StudioTableLocalPagination.mdx b/frontend/libs/studio-components/src/components/StudioTableLocalPagination/StudioTableLocalPagination.mdx index b33683c78f1..4906a61bc50 100644 --- a/frontend/libs/studio-components/src/components/StudioTableLocalPagination/StudioTableLocalPagination.mdx +++ b/frontend/libs/studio-components/src/components/StudioTableLocalPagination/StudioTableLocalPagination.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioTableLocalPaginationStories from './StudioTableLocalPagination.stories'; import { StudioTableLocalPagination } from './StudioTableLocalPagination'; diff --git a/frontend/libs/studio-components/src/components/StudioTableRemotePagination/StudioTableRemotePagination.mdx b/frontend/libs/studio-components/src/components/StudioTableRemotePagination/StudioTableRemotePagination.mdx index 65d280519bc..171e04f946b 100644 --- a/frontend/libs/studio-components/src/components/StudioTableRemotePagination/StudioTableRemotePagination.mdx +++ b/frontend/libs/studio-components/src/components/StudioTableRemotePagination/StudioTableRemotePagination.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioTableRemotePaginationStories from './StudioTableRemotePagination.stories'; import { StudioTableRemotePagination } from './StudioTableRemotePagination'; import { propInfoColumns, propInfoRowsRemotePagination } from './mockData'; diff --git a/frontend/libs/studio-components/src/components/StudioTableRemotePagination/StudioTableRemotePagination.tsx b/frontend/libs/studio-components/src/components/StudioTableRemotePagination/StudioTableRemotePagination.tsx index dc50b825a4b..6fc96c9c856 100644 --- a/frontend/libs/studio-components/src/components/StudioTableRemotePagination/StudioTableRemotePagination.tsx +++ b/frontend/libs/studio-components/src/components/StudioTableRemotePagination/StudioTableRemotePagination.tsx @@ -1,4 +1,4 @@ -import { Label, NativeSelect, Pagination, Paragraph, Table } from '@digdir/design-system-react'; +import { Label, NativeSelect, Pagination, Paragraph, Table } from '@digdir/designsystemet-react'; import React, { forwardRef, useEffect, useId } from 'react'; import type { ReactNode } from 'react'; import classes from './StudioTableRemotePagination.module.css'; diff --git a/frontend/libs/studio-components/src/components/StudioTableRemotePagination/mockData.tsx b/frontend/libs/studio-components/src/components/StudioTableRemotePagination/mockData.tsx index ba1f058de6a..677c9a0928f 100644 --- a/frontend/libs/studio-components/src/components/StudioTableRemotePagination/mockData.tsx +++ b/frontend/libs/studio-components/src/components/StudioTableRemotePagination/mockData.tsx @@ -1,4 +1,4 @@ -import { Button } from '@digdir/design-system-react'; +import { Button } from '@digdir/designsystemet-react'; import { StarFillIcon, StarIcon } from '@navikt/aksel-icons'; import React from 'react'; import type { PaginationTexts, Rows } from './StudioTableRemotePagination'; diff --git a/frontend/libs/studio-components/src/components/StudioTabs/index.ts b/frontend/libs/studio-components/src/components/StudioTabs/index.ts index 87efd9fd4a8..c8b884cce6b 100644 --- a/frontend/libs/studio-components/src/components/StudioTabs/index.ts +++ b/frontend/libs/studio-components/src/components/StudioTabs/index.ts @@ -1 +1,4 @@ -export { Tabs as StudioTabs, type TabsProps as StudioTabsProps } from '@digdir/design-system-react'; +export { + Tabs as StudioTabs, + type TabsProps as StudioTabsProps, +} from '@digdir/designsystemet-react'; diff --git a/frontend/libs/studio-components/src/components/StudioTextarea/StudioTextarea.mdx b/frontend/libs/studio-components/src/components/StudioTextarea/StudioTextarea.mdx index 6b698e499d0..88412ccf676 100644 --- a/frontend/libs/studio-components/src/components/StudioTextarea/StudioTextarea.mdx +++ b/frontend/libs/studio-components/src/components/StudioTextarea/StudioTextarea.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioTextareaStories from './StudioTextarea.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioTextarea/StudioTextarea.tsx b/frontend/libs/studio-components/src/components/StudioTextarea/StudioTextarea.tsx index 26f7b8b5993..c53454962f6 100644 --- a/frontend/libs/studio-components/src/components/StudioTextarea/StudioTextarea.tsx +++ b/frontend/libs/studio-components/src/components/StudioTextarea/StudioTextarea.tsx @@ -1,6 +1,6 @@ import React, { forwardRef } from 'react'; -import type { TextareaProps } from '@digdir/design-system-react'; -import { Textarea } from '@digdir/design-system-react'; +import type { TextareaProps } from '@digdir/designsystemet-react'; +import { Textarea } from '@digdir/designsystemet-react'; import { useTextInputProps } from '../../hooks/useTextInputProps'; import type { SharedTextInputProps } from '../../types/SharedTextInputProps'; diff --git a/frontend/libs/studio-components/src/components/StudioTextfield/StudioTextfield.mdx b/frontend/libs/studio-components/src/components/StudioTextfield/StudioTextfield.mdx index 48d59a31d63..b84262d4bcf 100644 --- a/frontend/libs/studio-components/src/components/StudioTextfield/StudioTextfield.mdx +++ b/frontend/libs/studio-components/src/components/StudioTextfield/StudioTextfield.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioTextfieldStories from './StudioTextfield.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioTextfield/StudioTextfield.tsx b/frontend/libs/studio-components/src/components/StudioTextfield/StudioTextfield.tsx index c43a80828b2..f0cbadcaa4c 100644 --- a/frontend/libs/studio-components/src/components/StudioTextfield/StudioTextfield.tsx +++ b/frontend/libs/studio-components/src/components/StudioTextfield/StudioTextfield.tsx @@ -1,5 +1,5 @@ import React, { forwardRef } from 'react'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; import { type SharedTextInputProps } from '../../types/SharedTextInputProps'; import { useTextInputProps } from '../../hooks/useTextInputProps'; diff --git a/frontend/libs/studio-components/src/components/StudioToggleableTextfield/StudioToggleableTextfield.mdx b/frontend/libs/studio-components/src/components/StudioToggleableTextfield/StudioToggleableTextfield.mdx index 0b761f113c5..d94fc999212 100644 --- a/frontend/libs/studio-components/src/components/StudioToggleableTextfield/StudioToggleableTextfield.mdx +++ b/frontend/libs/studio-components/src/components/StudioToggleableTextfield/StudioToggleableTextfield.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioToggleableTextfieldStories from './StudioToggleableTextfield.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioToggleableTextfieldSchema/StudioToggleableTextfieldSchema.mdx b/frontend/libs/studio-components/src/components/StudioToggleableTextfieldSchema/StudioToggleableTextfieldSchema.mdx index dd981ac8c47..6426531198e 100644 --- a/frontend/libs/studio-components/src/components/StudioToggleableTextfieldSchema/StudioToggleableTextfieldSchema.mdx +++ b/frontend/libs/studio-components/src/components/StudioToggleableTextfieldSchema/StudioToggleableTextfieldSchema.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioToggleableTextfieldSchemaStories from './StudioToggleableTextfieldSchema.stories'; diff --git a/frontend/libs/studio-components/src/components/StudioTreeView/StudioTreeView.mdx b/frontend/libs/studio-components/src/components/StudioTreeView/StudioTreeView.mdx index 8a8ee76578f..30078f65665 100644 --- a/frontend/libs/studio-components/src/components/StudioTreeView/StudioTreeView.mdx +++ b/frontend/libs/studio-components/src/components/StudioTreeView/StudioTreeView.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from '@storybook/blocks'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import * as StudioTreeViewStories from './StudioTreeView.stories'; diff --git a/frontend/libs/studio-components/src/types/SharedTextInputProps.ts b/frontend/libs/studio-components/src/types/SharedTextInputProps.ts index cbb44bf956f..9a9e8a34db6 100644 --- a/frontend/libs/studio-components/src/types/SharedTextInputProps.ts +++ b/frontend/libs/studio-components/src/types/SharedTextInputProps.ts @@ -1,5 +1,5 @@ import type { HTMLAttributes, ReactNode } from 'react'; -import type { TextareaProps, TextfieldProps } from '@digdir/design-system-react'; +import type { TextareaProps, TextfieldProps } from '@digdir/designsystemet-react'; export type SharedTextInputProps = HTMLAttributes & DesignSystemProps & AdditionalProps; diff --git a/frontend/packages/policy-editor/src/PolicyEditor.tsx b/frontend/packages/policy-editor/src/PolicyEditor.tsx index c5d5dec630e..093b6092d5e 100644 --- a/frontend/packages/policy-editor/src/PolicyEditor.tsx +++ b/frontend/packages/policy-editor/src/PolicyEditor.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import type { PolicyAction, Policy, diff --git a/frontend/packages/policy-editor/src/components/AddPolicyRuleButton/AddPolicyRuleButton.tsx b/frontend/packages/policy-editor/src/components/AddPolicyRuleButton/AddPolicyRuleButton.tsx index a8c3af05f41..f5a35f0f08a 100644 --- a/frontend/packages/policy-editor/src/components/AddPolicyRuleButton/AddPolicyRuleButton.tsx +++ b/frontend/packages/policy-editor/src/components/AddPolicyRuleButton/AddPolicyRuleButton.tsx @@ -1,7 +1,7 @@ import React from 'react'; import classes from './AddPolicyRuleButton.module.css'; import { PlusIcon } from '@studio/icons'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { usePolicyEditorContext } from '../../contexts/PolicyEditorContext'; import type { PolicyRuleResource, PolicyRuleCard } from '../../types'; import { emptyPolicyRule, createNewPolicyResource, getNewRuleId } from '../../utils'; diff --git a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/ExpandablePolicyElement/PolicyEditorDropdownMenu/PolicyEditorDropdownMenu.tsx b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/ExpandablePolicyElement/PolicyEditorDropdownMenu/PolicyEditorDropdownMenu.tsx index 151a9e67b94..5526c65ddcc 100644 --- a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/ExpandablePolicyElement/PolicyEditorDropdownMenu/PolicyEditorDropdownMenu.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/ExpandablePolicyElement/PolicyEditorDropdownMenu/PolicyEditorDropdownMenu.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './PolicyEditorDropdownMenu.module.css'; -import { DropdownMenu } from '@digdir/design-system-react'; +import { DropdownMenu } from '@digdir/designsystemet-react'; import { MenuElipsisVerticalIcon, TabsIcon, TrashIcon } from '@studio/icons'; import { useTranslation } from 'react-i18next'; import { StudioButton } from '@studio/components'; diff --git a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyActions/PolicyActions.tsx b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyActions/PolicyActions.tsx index 8c578e7edb0..d1ebe10c0e0 100644 --- a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyActions/PolicyActions.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyActions/PolicyActions.tsx @@ -4,7 +4,8 @@ import { getActionOptions, getUpdatedRules } from '../../../../utils/PolicyRuleU import { usePolicyEditorContext } from '../../../../contexts/PolicyEditorContext'; import { usePolicyRuleContext } from '../../../../contexts/PolicyRuleContext'; import { useTranslation } from 'react-i18next'; -import { Label, ErrorMessage, Paragraph, LegacySelect, Chip } from '@digdir/design-system-react'; +import { Label, ErrorMessage, Paragraph, Chip } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; const wellKnownActionsIds: string[] = [ 'complete', diff --git a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyRuleErrorMessage/PolicyRuleErrorMessage.tsx b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyRuleErrorMessage/PolicyRuleErrorMessage.tsx index dae9f46e807..92fd08ccdf2 100644 --- a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyRuleErrorMessage/PolicyRuleErrorMessage.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyRuleErrorMessage/PolicyRuleErrorMessage.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { usePolicyRuleContext } from '../../../../contexts/PolicyRuleContext'; import { useTranslation } from 'react-i18next'; -import { ErrorMessage } from '@digdir/design-system-react'; +import { ErrorMessage } from '@digdir/designsystemet-react'; export const PolicyRuleErrorMessage = (): React.ReactElement => { const { t } = useTranslation(); diff --git a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicySubjects/PolicySubjects.tsx b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicySubjects/PolicySubjects.tsx index 4f07b842f0d..9bb061ca0fa 100644 --- a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicySubjects/PolicySubjects.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicySubjects/PolicySubjects.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import classes from './PolicySubjects.module.css'; -import { Label, ErrorMessage, Paragraph, LegacySelect, Chip } from '@digdir/design-system-react'; +import { Label, ErrorMessage, Paragraph, Chip } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import type { PolicySubject } from '../../../../types'; import { findSubjectByPolicyRuleSubject } from '../../../../utils'; import { getSubjectOptions, getUpdatedRules } from '../../../../utils/PolicyRuleUtils'; diff --git a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/SubResources/SubResources.tsx b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/SubResources/SubResources.tsx index d31282aca90..caf1e1b3a1d 100644 --- a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/SubResources/SubResources.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/SubResources/SubResources.tsx @@ -9,7 +9,7 @@ import { usePolicyEditorContext } from '../../../../contexts/PolicyEditorContext import { usePolicyRuleContext } from '../../../../contexts/PolicyRuleContext'; import { getUpdatedRules } from '../../../../utils/PolicyRuleUtils'; import type { PolicyRuleResource } from '../../../../types'; -import { ErrorMessage } from '@digdir/design-system-react'; +import { ErrorMessage } from '@digdir/designsystemet-react'; export const SubResources = (): React.ReactElement => { const { t } = useTranslation(); diff --git a/frontend/packages/policy-editor/src/components/PolicyEditorAlert/PolicyEditorAlert.tsx b/frontend/packages/policy-editor/src/components/PolicyEditorAlert/PolicyEditorAlert.tsx index 92c7be802ef..961bd0a6dce 100644 --- a/frontend/packages/policy-editor/src/components/PolicyEditorAlert/PolicyEditorAlert.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyEditorAlert/PolicyEditorAlert.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './PolicyEditorAlert.module.css'; -import { Alert, Paragraph } from '@digdir/design-system-react'; +import { Alert, Paragraph } from '@digdir/designsystemet-react'; import { usePolicyEditorContext } from '../../contexts/PolicyEditorContext'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/packages/policy-editor/src/components/SecurityLevelSelect/SecurityLevelSelect.tsx b/frontend/packages/policy-editor/src/components/SecurityLevelSelect/SecurityLevelSelect.tsx index f944ef90e37..ff1dd6e3c71 100644 --- a/frontend/packages/policy-editor/src/components/SecurityLevelSelect/SecurityLevelSelect.tsx +++ b/frontend/packages/policy-editor/src/components/SecurityLevelSelect/SecurityLevelSelect.tsx @@ -1,14 +1,8 @@ import type { ReactNode } from 'react'; import React, { useMemo } from 'react'; import classes from './SecurityLevelSelect.module.css'; -import { - Heading, - Label, - Paragraph, - HelpText, - Link, - LegacySelect, -} from '@digdir/design-system-react'; +import { Heading, Label, Paragraph, HelpText, Link } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import { useTranslation } from 'react-i18next'; import type { RequiredAuthLevel } from '../../types'; diff --git a/frontend/packages/process-editor/src/ProcessEditor.tsx b/frontend/packages/process-editor/src/ProcessEditor.tsx index 0841c4e7cda..6b150bec623 100644 --- a/frontend/packages/process-editor/src/ProcessEditor.tsx +++ b/frontend/packages/process-editor/src/ProcessEditor.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import { Alert, Heading, Paragraph } from '@digdir/design-system-react'; +import { Alert, Heading, Paragraph } from '@digdir/designsystemet-react'; import { StudioPageSpinner } from '@studio/components'; import { Canvas } from './components/Canvas'; import { BpmnContextProvider, useBpmnContext } from './contexts/BpmnContext'; diff --git a/frontend/packages/process-editor/src/components/Canvas/BPMNViewer/BPMNViewerErrorAlert/BPMNViewerErrorAlert.tsx b/frontend/packages/process-editor/src/components/Canvas/BPMNViewer/BPMNViewerErrorAlert/BPMNViewerErrorAlert.tsx index e05d6a949f8..edb28d97582 100644 --- a/frontend/packages/process-editor/src/components/Canvas/BPMNViewer/BPMNViewerErrorAlert/BPMNViewerErrorAlert.tsx +++ b/frontend/packages/process-editor/src/components/Canvas/BPMNViewer/BPMNViewerErrorAlert/BPMNViewerErrorAlert.tsx @@ -3,7 +3,7 @@ import React from 'react'; import classes from './BPMNViewerErrorAlert.module.css'; import type { BpmnViewerError } from '../../../../types/BpmnViewerError'; import { useTranslation } from 'react-i18next'; -import { Alert, Heading, Paragraph } from '@digdir/design-system-react'; +import { Alert, Heading, Paragraph } from '@digdir/designsystemet-react'; interface ErrorMessage { heading: string; diff --git a/frontend/packages/process-editor/src/components/Canvas/VersionHelpText/VersionHelpText.tsx b/frontend/packages/process-editor/src/components/Canvas/VersionHelpText/VersionHelpText.tsx index d76bf7ed1e4..48e8fed608c 100644 --- a/frontend/packages/process-editor/src/components/Canvas/VersionHelpText/VersionHelpText.tsx +++ b/frontend/packages/process-editor/src/components/Canvas/VersionHelpText/VersionHelpText.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './VersionHelpText.module.css'; -import { HelpText, Paragraph } from '@digdir/design-system-react'; +import { HelpText, Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { useBpmnContext } from '../../../contexts/BpmnContext'; diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/ConfigContent.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/ConfigContent.tsx index 51ad85ba8de..4d2f6b6fc9e 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/ConfigContent.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/ConfigContent.tsx @@ -8,7 +8,7 @@ import { getConfigTitleKey, getConfigTitleHelpTextKey } from '../../../utils/con import { ConfigIcon } from './ConfigIcon'; import { EditDataTypes } from '../EditDataTypes'; import { useBpmnApiContext } from '../../../contexts/BpmnApiContext'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { EditActions } from './EditActions'; import { EditPolicy } from './EditPolicy'; import { EditDataTypesToSign } from '../EditDataTypesToSign'; diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/EditActions/ActionsEditor/CustomActions/CustomActions.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/EditActions/ActionsEditor/CustomActions/CustomActions.tsx index fafecf53386..6bf4d4b2911 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/EditActions/ActionsEditor/CustomActions/CustomActions.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/EditActions/ActionsEditor/CustomActions/CustomActions.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { StudioTextfield } from '@studio/components'; -import { HelpText, Switch } from '@digdir/design-system-react'; +import { HelpText, Switch } from '@digdir/designsystemet-react'; import { useDebounce } from 'app-shared/hooks/useDebounce'; import { BpmnActionModeler, diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/EditPolicy/EditPolicy.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/EditPolicy/EditPolicy.tsx index c4893d56cbf..961d3f68df0 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/EditPolicy/EditPolicy.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigContent/EditPolicy/EditPolicy.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { StudioButton } from '@studio/components'; import { useBpmnApiContext } from '../../../../contexts/BpmnApiContext'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/ConfigEndEvent.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/ConfigEndEvent.tsx index 64cc7c155c2..9c3e5a3bfb4 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/ConfigEndEvent.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/ConfigEndEvent.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { StudioLabelAsParagraph, StudioSectionHeader } from '@studio/components'; -import { Accordion, Link, Paragraph } from '@digdir/design-system-react'; +import { Accordion, Link, Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import classes from './ConfigEndEvent.module.css'; import { ConfigIcon } from '../ConfigContent/ConfigIcon'; diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CreateCustomReceiptForm/SelectCustomReceiptDataModelId/SelectCustomReceiptDataModelId.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CreateCustomReceiptForm/SelectCustomReceiptDataModelId/SelectCustomReceiptDataModelId.tsx index ddb31bc950e..7e17071db48 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CreateCustomReceiptForm/SelectCustomReceiptDataModelId/SelectCustomReceiptDataModelId.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CreateCustomReceiptForm/SelectCustomReceiptDataModelId/SelectCustomReceiptDataModelId.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useBpmnApiContext } from '../../../../../../contexts/BpmnApiContext'; import { getDataTypeFromLayoutSetsWithExistingId } from '../../../../../../utils/configPanelUtils'; -import { Combobox } from '@digdir/design-system-react'; +import { Combobox } from '@digdir/designsystemet-react'; export type SelectCustomReceiptDataModelIdProps = { error: string; diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.tsx index 0f7515bbbde..e1d3bc469a9 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.tsx @@ -9,7 +9,7 @@ import { useTranslation } from 'react-i18next'; import { EditDataTypes } from '../../../EditDataTypes'; import { PROTECTED_TASK_NAME_CUSTOM_RECEIPT } from 'app-shared/constants'; import { getLayoutSetIdValidationErrorKey } from 'app-shared/utils/layoutSetsUtils'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; export const CustomReceipt = (): React.ReactElement => { const { t } = useTranslation(); diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/RedirectToCreatePageButton/RedirectToCreatePageButton.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/RedirectToCreatePageButton/RedirectToCreatePageButton.tsx index e13569c580f..e0134e58f1a 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/RedirectToCreatePageButton/RedirectToCreatePageButton.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/RedirectToCreatePageButton/RedirectToCreatePageButton.tsx @@ -8,7 +8,7 @@ import { useLocalStorage } from 'app-shared/hooks/useLocalStorage'; import { useTranslation } from 'react-i18next'; import { useBpmnApiContext } from '../../../../../contexts/BpmnApiContext'; import { RedirectBox } from '../../../../RedirectBox'; -import { Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; export const RedirectToCreatePageButton = (): React.ReactElement => { const { t } = useTranslation(); diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigPanel.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigPanel.tsx index a6aa2f93e27..80dfba6fb7c 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigPanel.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigPanel.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import { Paragraph, Alert, Heading } from '@digdir/design-system-react'; +import { Paragraph, Alert, Heading } from '@digdir/designsystemet-react'; import { useBpmnContext } from '../../contexts/BpmnContext'; import { BpmnTypeEnum } from '../../enum/BpmnTypeEnum'; import { ConfigContent } from './ConfigContent'; diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigSequenceFlow/ConfigSequenceFlow.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigSequenceFlow/ConfigSequenceFlow.tsx index 16e1432ac3b..4b97bee09ae 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/ConfigSequenceFlow/ConfigSequenceFlow.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/ConfigSequenceFlow/ConfigSequenceFlow.tsx @@ -8,7 +8,7 @@ import { } from '@studio/components'; import { PlusIcon } from '@studio/icons'; import { useBpmnContext } from '../../../contexts/BpmnContext'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { BpmnExpressionModeler } from '../../../utils/bpmnModeler/BpmnExpressionModeler'; import { useExpressionTexts } from 'app-shared/components/Expression/useExpressionTexts'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/EditDataTypes/SelectDataTypes/SelectDataTypes.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/EditDataTypes/SelectDataTypes/SelectDataTypes.tsx index cbe8ad65fdd..62fce404332 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/EditDataTypes/SelectDataTypes/SelectDataTypes.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/EditDataTypes/SelectDataTypes/SelectDataTypes.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Combobox } from '@digdir/design-system-react'; +import { Combobox } from '@digdir/designsystemet-react'; import { StudioButton, StudioDeleteButton } from '@studio/components'; import { useBpmnApiContext } from '../../../../contexts/BpmnApiContext'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/packages/process-editor/src/components/ConfigPanel/EditDataTypesToSign/SelectDataTypesToSign/SelectDataTypesToSign.tsx b/frontend/packages/process-editor/src/components/ConfigPanel/EditDataTypesToSign/SelectDataTypesToSign/SelectDataTypesToSign.tsx index ecac3eee7f1..db185ba5a06 100644 --- a/frontend/packages/process-editor/src/components/ConfigPanel/EditDataTypesToSign/SelectDataTypesToSign/SelectDataTypesToSign.tsx +++ b/frontend/packages/process-editor/src/components/ConfigPanel/EditDataTypesToSign/SelectDataTypesToSign/SelectDataTypesToSign.tsx @@ -1,5 +1,5 @@ import React, { useId, useState } from 'react'; -import { Combobox, Label } from '@digdir/design-system-react'; +import { Combobox, Label } from '@digdir/designsystemet-react'; import { StudioButton } from '@studio/components'; import { useTranslation } from 'react-i18next'; import { XMarkIcon } from '@studio/icons'; diff --git a/frontend/packages/process-editor/src/components/ConfigViewerPanel/ConfigViewerPanel.tsx b/frontend/packages/process-editor/src/components/ConfigViewerPanel/ConfigViewerPanel.tsx index a93faa036d6..afe44d2511d 100644 --- a/frontend/packages/process-editor/src/components/ConfigViewerPanel/ConfigViewerPanel.tsx +++ b/frontend/packages/process-editor/src/components/ConfigViewerPanel/ConfigViewerPanel.tsx @@ -4,7 +4,7 @@ import { useBpmnContext } from '../../contexts/BpmnContext'; import { ConfigIcon } from '../ConfigPanel/ConfigContent/ConfigIcon'; import { getConfigTitleHelpTextKey, getConfigTitleKey } from '../../utils/configPanelUtils'; import { useTranslation } from 'react-i18next'; -import { Alert, Heading, Paragraph } from '@digdir/design-system-react'; +import { Alert, Heading, Paragraph } from '@digdir/designsystemet-react'; import { ConfigSurface } from '../ConfigSurface/ConfigSurface'; export const ConfigViewerPanel = (): React.ReactElement => { diff --git a/frontend/packages/process-editor/src/components/PageLoading/PageLoading.tsx b/frontend/packages/process-editor/src/components/PageLoading/PageLoading.tsx index e253e1a83b7..33705d15706 100644 --- a/frontend/packages/process-editor/src/components/PageLoading/PageLoading.tsx +++ b/frontend/packages/process-editor/src/components/PageLoading/PageLoading.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Spinner, type SpinnerProps } from '@digdir/design-system-react'; +import { Spinner, type SpinnerProps } from '@digdir/designsystemet-react'; import classes from './PageLoading.module.css'; diff --git a/frontend/packages/schema-editor/src/components/NodePanel/HeadingRow/HeadingRow.tsx b/frontend/packages/schema-editor/src/components/NodePanel/HeadingRow/HeadingRow.tsx index dd04010f56d..26a72b75ef7 100644 --- a/frontend/packages/schema-editor/src/components/NodePanel/HeadingRow/HeadingRow.tsx +++ b/frontend/packages/schema-editor/src/components/NodePanel/HeadingRow/HeadingRow.tsx @@ -1,5 +1,5 @@ import classes from './HeadingRow.module.css'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { NodeIcon } from '../../NodeIcon'; import type { ReactNode } from 'react'; import React from 'react'; diff --git a/frontend/packages/schema-editor/src/components/NodePanel/NodePanel.tsx b/frontend/packages/schema-editor/src/components/NodePanel/NodePanel.tsx index 3d48037a540..c71bf575570 100644 --- a/frontend/packages/schema-editor/src/components/NodePanel/NodePanel.tsx +++ b/frontend/packages/schema-editor/src/components/NodePanel/NodePanel.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { SchemaTree } from '../SchemaTree'; -import { Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; import { useSchemaEditorAppContext } from '../../hooks/useSchemaEditorAppContext'; import { ArrowLeftIcon } from '@studio/icons'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/CustomProperties.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/CustomProperties.tsx index cc258a82e77..3f5b1597dbf 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/CustomProperties.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/CustomProperties.tsx @@ -1,5 +1,6 @@ import React from 'react'; -import { Fieldset, HelpText, LegacyTextField, Switch } from '@digdir/design-system-react'; +import { Fieldset, HelpText, Switch } from '@digdir/designsystemet-react'; +import { LegacyTextField } from '@digdir/design-system-react'; import type { KeyValuePairs } from 'app-shared/types/KeyValuePairs'; import { CustomPropertyType, diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemDataComponent.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemDataComponent.tsx index 8ffdda3307d..da1e211649c 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemDataComponent.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemDataComponent.tsx @@ -2,13 +2,8 @@ import type { ChangeEvent } from 'react'; import React, { useState } from 'react'; import { ReferenceSelectionComponent } from './ReferenceSelectionComponent'; import { getCombinationOptions } from './helpers/options'; -import { - Fieldset, - LegacyTextArea, - Textfield, - Switch, - LegacySelect, -} from '@digdir/design-system-react'; +import { Fieldset, Textfield, Switch } from '@digdir/designsystemet-react'; +import { LegacyTextArea, LegacySelect } from '@digdir/design-system-react'; import classes from './ItemDataComponent.module.css'; import { ItemRestrictions } from './ItemRestrictions'; import type { CombinationKind, UiSchemaNode } from '@altinn/schema-model'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemFieldsTab/ItemFieldsTable/ItemFieldsTableRow.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemFieldsTab/ItemFieldsTable/ItemFieldsTableRow.tsx index d3ae55af96a..7b0c039d931 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemFieldsTab/ItemFieldsTable/ItemFieldsTableRow.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemFieldsTab/ItemFieldsTable/ItemFieldsTableRow.tsx @@ -6,7 +6,7 @@ import type { FieldType, UiSchemaNode } from '@altinn/schema-model'; import { deleteNode, setType, isField, setRequired, setPropertyName } from '@altinn/schema-model'; import { NameField } from '../../NameField'; import { useSchemaEditorAppContext } from '@altinn/schema-editor/hooks/useSchemaEditorAppContext'; -import { NativeSelect, Switch } from '@digdir/design-system-react'; +import { NativeSelect, Switch } from '@digdir/designsystemet-react'; import { AltinnConfirmDialog } from 'app-shared/components'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ArrayRestrictions/ArrayRestrictions.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ArrayRestrictions/ArrayRestrictions.tsx index acb1af62cf1..a320cd53693 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ArrayRestrictions/ArrayRestrictions.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ArrayRestrictions/ArrayRestrictions.tsx @@ -1,7 +1,8 @@ import React from 'react'; import type { RestrictionItemProps } from '../ItemRestrictions'; import { ArrRestrictionKey } from '@altinn/schema-model'; -import { Switch, LegacyTextField } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; +import { LegacyTextField } from '@digdir/design-system-react'; import { Divider } from 'app-shared/primitives'; import { useTranslation } from 'react-i18next'; import classes from './ArrayRestrictions.module.css'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/EnumList/EnumField/EnumField.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/EnumList/EnumField/EnumField.tsx index 1256c6c8c9f..39d24d465b5 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/EnumList/EnumField/EnumField.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/EnumList/EnumField/EnumField.tsx @@ -1,6 +1,6 @@ import type { ChangeEvent, KeyboardEvent } from 'react'; import React, { useEffect, useState } from 'react'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; import classes from './EnumField.module.css'; import { useTranslation } from 'react-i18next'; import { TrashIcon } from '@studio/icons'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/EnumList/EnumList.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/EnumList/EnumList.tsx index 3a40037c89f..95fe3f89e15 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/EnumList/EnumList.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/EnumList/EnumList.tsx @@ -3,7 +3,7 @@ import classes from './EnumList.module.css'; import type { FieldNode } from '@altinn/schema-model'; import { ObjectUtils, ArrayUtils } from '@studio/pure-functions'; import { EnumField } from './EnumField'; -import { ErrorMessage, Fieldset } from '@digdir/design-system-react'; +import { ErrorMessage, Fieldset } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { PlusIcon } from '@studio/icons'; import { findDuplicateValues } from './utils'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ItemRestrictions.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ItemRestrictions.tsx index 508dc6db488..27d6aca465a 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ItemRestrictions.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ItemRestrictions.tsx @@ -16,7 +16,7 @@ import { NumberRestrictions } from './NumberRestrictions'; import { ObjectRestrictions } from './ObjectRestrictions'; import { StringRestrictions } from './StringRestrictions'; import classes from './ItemRestrictions.module.css'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import { Divider } from 'app-shared/primitives'; import { useTranslation } from 'react-i18next'; import type { KeyValuePairs } from 'app-shared/types/KeyValuePairs'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/NumberRestrictions/NumberRestrictions.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/NumberRestrictions/NumberRestrictions.tsx index b29154f133a..40b26384899 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/NumberRestrictions/NumberRestrictions.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/NumberRestrictions/NumberRestrictions.tsx @@ -5,7 +5,8 @@ import { IntRestrictionKey } from '@altinn/schema-model'; import { Divider } from 'app-shared/primitives'; import { useTranslation } from 'react-i18next'; import classes from './NumberRestrictions.module.css'; -import { ErrorMessage, LegacyTextField, Switch, Label } from '@digdir/design-system-react'; +import { ErrorMessage, Switch, Label } from '@digdir/designsystemet-react'; +import { LegacyTextField } from '@digdir/design-system-react'; import type { NumberRestrictionsReducerAction, NumberRestrictionsReducerState, diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/RestrictionField/RestrictionField.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/RestrictionField/RestrictionField.tsx index f728ed21045..8475976e193 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/RestrictionField/RestrictionField.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/RestrictionField/RestrictionField.tsx @@ -1,6 +1,6 @@ import type { BaseSyntheticEvent, ChangeEvent } from 'react'; import React from 'react'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; import { makeDomFriendlyID } from '../../../../utils/ui-schema-utils'; export interface IRestrictionFieldProps { diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/StringRestrictions/StringRestrictions.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/StringRestrictions/StringRestrictions.tsx index d2d7854458b..5dfe992f293 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/StringRestrictions/StringRestrictions.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/ItemRestrictions/StringRestrictions/StringRestrictions.tsx @@ -3,14 +3,8 @@ import React, { useReducer, useState } from 'react'; import type { RestrictionItemProps } from '../ItemRestrictions'; import { RestrictionField } from '../RestrictionField'; import classes from './StringRestrictions.module.css'; -import { - Fieldset, - LegacyTextField, - Label, - Switch, - Textfield, - LegacySelect, -} from '@digdir/design-system-react'; +import { Fieldset, Label, Switch, Textfield } from '@digdir/designsystemet-react'; +import { LegacyTextField, LegacySelect } from '@digdir/design-system-react'; import type { KeyValuePairs } from 'app-shared/types/KeyValuePairs'; import { StringFormat, StrRestrictionKey } from '@altinn/schema-model'; import { Divider } from 'app-shared/primitives'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/NameField.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/NameField.tsx index d8210b4f22a..532a5ea0d04 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/NameField.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/NameField.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from 'react'; import { NameError } from '../../types'; -import type { TextfieldProps } from '@digdir/design-system-react'; +import type { TextfieldProps } from '@digdir/designsystemet-react'; import { StudioTextfield } from '@studio/components'; import { extractNameFromPointer, replaceLastPointerSegment } from '@altinn/schema-model'; import { isValidName } from '../../utils/ui-schema-utils'; diff --git a/frontend/packages/schema-editor/src/components/SchemaInspector/SchemaInspector.tsx b/frontend/packages/schema-editor/src/components/SchemaInspector/SchemaInspector.tsx index 35024adb6d0..3fcaad86a0f 100644 --- a/frontend/packages/schema-editor/src/components/SchemaInspector/SchemaInspector.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaInspector/SchemaInspector.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Alert, Tabs } from '@digdir/design-system-react'; +import { Alert, Tabs } from '@digdir/designsystemet-react'; import type { UiSchemaNode } from '@altinn/schema-model'; import { isField, isObject } from '@altinn/schema-model'; import { ItemPropertiesTab } from './ItemPropertiesTab'; diff --git a/frontend/packages/schema-editor/src/components/SchemaTree/SchemaNode/ActionButtons/AddPropertyMenu.tsx b/frontend/packages/schema-editor/src/components/SchemaTree/SchemaNode/ActionButtons/AddPropertyMenu.tsx index b643f248b44..4447f1cb298 100644 --- a/frontend/packages/schema-editor/src/components/SchemaTree/SchemaNode/ActionButtons/AddPropertyMenu.tsx +++ b/frontend/packages/schema-editor/src/components/SchemaTree/SchemaNode/ActionButtons/AddPropertyMenu.tsx @@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next'; import { useAddProperty } from '../../../../hooks/useAddProperty'; import { ObjectKind } from '@altinn/schema-model'; import { ActionButton } from './ActionButton'; -import { DropdownMenu } from '@digdir/design-system-react'; +import { DropdownMenu } from '@digdir/designsystemet-react'; import { CombinationIcon, PropertyIcon, ReferenceIcon, PlusIcon } from '@studio/icons'; import { useSchemaEditorAppContext } from '@altinn/schema-editor/hooks/useSchemaEditorAppContext'; diff --git a/frontend/packages/shared/src/components/DragAndDropTree/EmptyList/EmptyList.tsx b/frontend/packages/shared/src/components/DragAndDropTree/EmptyList/EmptyList.tsx index 895c78956bc..50dabe37a3f 100644 --- a/frontend/packages/shared/src/components/DragAndDropTree/EmptyList/EmptyList.tsx +++ b/frontend/packages/shared/src/components/DragAndDropTree/EmptyList/EmptyList.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import classes from './EmptyList.module.css'; export interface EmptyListProps { diff --git a/frontend/packages/shared/src/components/ErrorBoundaryFallback.tsx b/frontend/packages/shared/src/components/ErrorBoundaryFallback.tsx index 93c356c12a9..b03ff8597c4 100644 --- a/frontend/packages/shared/src/components/ErrorBoundaryFallback.tsx +++ b/frontend/packages/shared/src/components/ErrorBoundaryFallback.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { useErrorBoundary } from 'react-error-boundary'; import { Trans, useTranslation } from 'react-i18next'; import { _useIsProdHack } from 'app-shared/utils/_useIsProdHack'; -import { Alert, ErrorMessage, Link, Paragraph } from '@digdir/design-system-react'; +import { Alert, ErrorMessage, Link, Paragraph } from '@digdir/designsystemet-react'; import { StudioButton, StudioCenter } from '@studio/components'; import classes from './ErrorBoundaryFallback.module.css'; diff --git a/frontend/packages/shared/src/components/FileSelector.test.tsx b/frontend/packages/shared/src/components/FileSelector.test.tsx index d53bbe83668..e977fbdac21 100644 --- a/frontend/packages/shared/src/components/FileSelector.test.tsx +++ b/frontend/packages/shared/src/components/FileSelector.test.tsx @@ -4,7 +4,7 @@ import userEvent from '@testing-library/user-event'; import type { IFileSelectorProps } from './FileSelector'; import { FileSelector } from './FileSelector'; import { textMock } from '@studio/testing/mocks/i18nMock'; -import { Button } from '@digdir/design-system-react'; +import { Button } from '@digdir/designsystemet-react'; import { fileSelectorInputId } from '@studio/testing/testids'; import { toast } from 'react-toastify'; diff --git a/frontend/packages/shared/src/components/FormField/FormField.tsx b/frontend/packages/shared/src/components/FormField/FormField.tsx index fc7081fe818..552e13cbb13 100644 --- a/frontend/packages/shared/src/components/FormField/FormField.tsx +++ b/frontend/packages/shared/src/components/FormField/FormField.tsx @@ -1,5 +1,5 @@ import React, { useCallback, useEffect, useState } from 'react'; -import { ErrorMessage, HelpText } from '@digdir/design-system-react'; +import { ErrorMessage, HelpText } from '@digdir/designsystemet-react'; import classes from './FormField.module.css'; import { useTranslation } from 'react-i18next'; import { validateProperty, isPropertyRequired } from '../../utils/formValidationUtils'; diff --git a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/ClonePopoverContent/ClonePopoverContent.tsx b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/ClonePopoverContent/ClonePopoverContent.tsx index a0073eabb47..7f1e8dc3450 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/ClonePopoverContent/ClonePopoverContent.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/ClonePopoverContent/ClonePopoverContent.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { repositoryGitPath } from 'app-shared/api/paths'; import { altinnDocsUrl } from 'app-shared/ext-urls'; import classes from './ClonePopoverContent.module.css'; -import { Link, Paragraph } from '@digdir/design-system-react'; +import { Link, Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { useDataModelsXsdQuery } from 'app-shared/hooks/queries'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; diff --git a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/DeleteModal/DeleteModal.tsx b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/DeleteModal/DeleteModal.tsx index 2b8321bc7cb..e564f8da7ad 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/DeleteModal/DeleteModal.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/DeleteModal/DeleteModal.tsx @@ -5,7 +5,7 @@ import { StudioButton, StudioModal, StudioSpinner } from '@studio/components'; import { TrashIcon } from '@studio/icons'; import { useResetRepositoryMutation } from 'app-development/hooks/mutations/useResetRepositoryMutation'; import { toast } from 'react-toastify'; -import { Heading, Paragraph, Textfield } from '@digdir/design-system-react'; +import { Heading, Paragraph, Textfield } from '@digdir/designsystemet-react'; import { useQueryClient } from '@tanstack/react-query'; export type DeleteModalProps = { diff --git a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChanges/LocalChanges.tsx b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChanges/LocalChanges.tsx index b4b3106ee2e..64c8bf45b90 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChanges/LocalChanges.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChanges/LocalChanges.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from 'react'; import React, { useState } from 'react'; import classes from './LocalChanges.module.css'; import { useTranslation } from 'react-i18next'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { DownloadIcon, TrashIcon } from '@studio/icons'; import { LocalChangesActionButton } from '../LocalChangesActionButton'; import { DeleteModal } from '../DeleteModal'; diff --git a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChangesActionButton/LocalChangesActionButton.tsx b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChangesActionButton/LocalChangesActionButton.tsx index d207f2248d2..68cbe425cb2 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChangesActionButton/LocalChangesActionButton.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChangesActionButton/LocalChangesActionButton.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './LocalChangesActionButton.module.css'; -import { Link, Paragraph } from '@digdir/design-system-react'; +import { Link, Paragraph } from '@digdir/designsystemet-react'; import { StudioButton, StudioLabelAsParagraph } from '@studio/components'; interface LinkAction { diff --git a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChangesModal.tsx b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChangesModal.tsx index 428c7392550..1955d2fecb7 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChangesModal.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/LocalChangesModal/LocalChangesModal.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './LocalChangesModal.module.css'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { MonitorIcon } from '@studio/icons'; import { StudioModal } from '@studio/components'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/ThreeDotsMenu.tsx b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/ThreeDotsMenu.tsx index 688d5a2b029..f1788125f8d 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/ThreeDotsMenu.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/ThreeDotsMenu/ThreeDotsMenu.tsx @@ -3,7 +3,8 @@ import classes from './ThreeDotsMenu.module.css'; import { MonitorIcon, TabsIcon, MenuElipsisVerticalIcon, GiteaIcon } from '@studio/icons'; import { useTranslation } from 'react-i18next'; import { repositoryPath } from 'app-shared/api/paths'; -import { LegacyPopover, Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; +import { LegacyPopover } from '@digdir/design-system-react'; import { StudioButton, StudioPopover } from '@studio/components'; import { LocalChangesModal } from './LocalChangesModal'; import { ClonePopoverContent } from './ClonePopoverContent'; diff --git a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/GiteaFetchCompleted/GiteaFetchCompleted.tsx b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/GiteaFetchCompleted/GiteaFetchCompleted.tsx index e47fd17332e..20873234cb1 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/GiteaFetchCompleted/GiteaFetchCompleted.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/GiteaFetchCompleted/GiteaFetchCompleted.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './GiteaFetchCompleted.module.css'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { CheckmarkCircleIcon } from '@studio/icons'; export type GiteaFetchCompletedProps = { diff --git a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/Notification/Notification.tsx b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/Notification/Notification.tsx index 8af64f0e4d5..68bc3ae2fa1 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/Notification/Notification.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/Notification/Notification.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './Notification.module.css'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; export type NotificationProps = { numChanges?: number; diff --git a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/ShareChangesPopover/CommitAndPushContent/CommitAndPushContent.tsx b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/ShareChangesPopover/CommitAndPushContent/CommitAndPushContent.tsx index 9a944c852e7..5ec3860ce52 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/ShareChangesPopover/CommitAndPushContent/CommitAndPushContent.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/ShareChangesPopover/CommitAndPushContent/CommitAndPushContent.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import classes from './CommitAndPushContent.module.css'; import { useTranslation } from 'react-i18next'; import { useVersionControlButtonsContext } from '../../../context'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import { StudioButton, StudioTextarea } from '@studio/components'; import type { RepoContentStatus } from 'app-shared/types/RepoStatus'; import { ClockDashedIcon } from '@studio/icons'; diff --git a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/ShareChangesPopover/CommitAndPushContent/FileChangesInfoModal/FileChangesInfoModal.tsx b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/ShareChangesPopover/CommitAndPushContent/FileChangesInfoModal/FileChangesInfoModal.tsx index 03b7106d104..f37e5d285c0 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/ShareChangesPopover/CommitAndPushContent/FileChangesInfoModal/FileChangesInfoModal.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/ShareChangesPopover/CommitAndPushContent/FileChangesInfoModal/FileChangesInfoModal.tsx @@ -1,7 +1,7 @@ import React from 'react'; import type { FileStatus, RepoContentStatus } from 'app-shared/types/RepoStatus'; import { StudioModal } from '@studio/components'; -import { Heading, Table, Tag } from '@digdir/design-system-react'; +import { Heading, Table, Tag } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import classes from './FileChangesInfoModal.module.css'; import { ClockDashedIcon } from '@studio/icons'; diff --git a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/SyncLoadingIndicator/SyncLoadingIndicator.tsx b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/SyncLoadingIndicator/SyncLoadingIndicator.tsx index ce9f3ed01fd..b53255e7631 100644 --- a/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/SyncLoadingIndicator/SyncLoadingIndicator.tsx +++ b/frontend/packages/shared/src/components/GiteaHeader/VersionControlButtons/components/SyncLoadingIndicator/SyncLoadingIndicator.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { StudioSpinner } from '@studio/components'; diff --git a/frontend/packages/shared/src/components/InputActionWrapper/InputActionWrapper.tsx b/frontend/packages/shared/src/components/InputActionWrapper/InputActionWrapper.tsx index f7303be70cb..804ed1c25b6 100644 --- a/frontend/packages/shared/src/components/InputActionWrapper/InputActionWrapper.tsx +++ b/frontend/packages/shared/src/components/InputActionWrapper/InputActionWrapper.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from 'react'; import { CheckmarkIcon, TrashIcon, PencilWritingIcon } from '@studio/icons'; import { useTranslation } from 'react-i18next'; -import type { ButtonProps } from '@digdir/design-system-react'; +import type { ButtonProps } from '@digdir/designsystemet-react'; import classes from './InputActionWrapper.module.css'; import { StudioButton } from '@studio/components'; diff --git a/frontend/packages/shared/src/components/LeftNavigationBar/GoBackButton/GoBackButton.tsx b/frontend/packages/shared/src/components/LeftNavigationBar/GoBackButton/GoBackButton.tsx index a031b40107e..5632702119f 100644 --- a/frontend/packages/shared/src/components/LeftNavigationBar/GoBackButton/GoBackButton.tsx +++ b/frontend/packages/shared/src/components/LeftNavigationBar/GoBackButton/GoBackButton.tsx @@ -3,7 +3,7 @@ import React from 'react'; import classes from './GoBackButton.module.css'; import cn from 'classnames'; import { ArrowLeftIcon } from '@studio/icons'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { NavLink } from 'react-router-dom'; export type GoBackButtonProps = { diff --git a/frontend/packages/shared/src/components/LeftNavigationBar/Tab/Tab.tsx b/frontend/packages/shared/src/components/LeftNavigationBar/Tab/Tab.tsx index 059fb2eb4fc..e94d11c157e 100644 --- a/frontend/packages/shared/src/components/LeftNavigationBar/Tab/Tab.tsx +++ b/frontend/packages/shared/src/components/LeftNavigationBar/Tab/Tab.tsx @@ -3,7 +3,7 @@ import React from 'react'; import classes from './Tab.module.css'; import cn from 'classnames'; import type { LeftNavigationTab } from 'app-shared/types/LeftNavigationTab'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { TabContent } from './TabContent'; diff --git a/frontend/packages/shared/src/components/PreviewLimitationsInfo/PreviewLimitationsInfo.tsx b/frontend/packages/shared/src/components/PreviewLimitationsInfo/PreviewLimitationsInfo.tsx index ac9f8c59836..5c15a35faa0 100644 --- a/frontend/packages/shared/src/components/PreviewLimitationsInfo/PreviewLimitationsInfo.tsx +++ b/frontend/packages/shared/src/components/PreviewLimitationsInfo/PreviewLimitationsInfo.tsx @@ -2,7 +2,8 @@ import React, { useState } from 'react'; import classes from './PreviewLimitationsInfo.module.css'; import cn from 'classnames'; import { useTranslation } from 'react-i18next'; -import { Alert, LegacyPopover } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; +import { LegacyPopover } from '@digdir/design-system-react'; import { XMarkIcon } from '@studio/icons'; import { typedLocalStorage } from 'app-shared/utils/webStorage'; import { StudioButton } from '@studio/components'; diff --git a/frontend/packages/shared/src/components/altinnHeader/AltinnHeader.test.tsx b/frontend/packages/shared/src/components/altinnHeader/AltinnHeader.test.tsx index af790bc827f..20226e9fa5d 100644 --- a/frontend/packages/shared/src/components/altinnHeader/AltinnHeader.test.tsx +++ b/frontend/packages/shared/src/components/altinnHeader/AltinnHeader.test.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { render as rtlRender, screen } from '@testing-library/react'; import type { AltinnHeaderProps } from './AltinnHeader'; import { AltinnHeader } from './AltinnHeader'; -import { Button } from '@digdir/design-system-react'; +import { Button } from '@digdir/designsystemet-react'; import { textMock } from '@studio/testing/mocks/i18nMock'; import { RepositoryType } from 'app-shared/types/global'; import { TopBarMenu } from 'app-shared/enums/TopBarMenu'; diff --git a/frontend/packages/shared/src/components/altinnHeaderMenu/AltinnHeaderMenu.tsx b/frontend/packages/shared/src/components/altinnHeaderMenu/AltinnHeaderMenu.tsx index b28417abeee..83557b16deb 100644 --- a/frontend/packages/shared/src/components/altinnHeaderMenu/AltinnHeaderMenu.tsx +++ b/frontend/packages/shared/src/components/altinnHeaderMenu/AltinnHeaderMenu.tsx @@ -3,7 +3,7 @@ import classes from './AltinnHeaderMenu.module.css'; import { NavLink } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import type { TopBarMenuItem } from 'app-shared/types/TopBarMenuItem'; -import { Tag } from '@digdir/design-system-react'; +import { Tag } from '@digdir/designsystemet-react'; export interface IAltinnHeaderMenuProps { menuItems: TopBarMenuItem[]; diff --git a/frontend/packages/shared/src/contexts/ServicesContext.tsx b/frontend/packages/shared/src/contexts/ServicesContext.tsx index 342c593b8bc..bbd4a972dd1 100644 --- a/frontend/packages/shared/src/contexts/ServicesContext.tsx +++ b/frontend/packages/shared/src/contexts/ServicesContext.tsx @@ -18,7 +18,7 @@ import 'react-toastify/dist/ReactToastify.css'; import 'app-shared/styles/toast.css'; import { userLogoutAfterPath } from 'app-shared/api/paths'; import { ServerCodes } from 'app-shared/enums/ServerCodes'; -import { Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; export type ServicesContextProps = typeof queries & typeof mutations; export type ServicesContextProviderProps = ServicesContextProps & { diff --git a/frontend/packages/text-editor/src/RightMenu.tsx b/frontend/packages/text-editor/src/RightMenu.tsx index 6b4085ce28b..ea5f5cccccb 100644 --- a/frontend/packages/text-editor/src/RightMenu.tsx +++ b/frontend/packages/text-editor/src/RightMenu.tsx @@ -3,7 +3,7 @@ import classes from './RightMenu.module.css'; import type { LangCode } from './types'; import { LangSelector } from './LangSelector'; import { getLangName, langOptions } from './utils'; -import { Checkbox, Fieldset, Heading } from '@digdir/design-system-react'; +import { Checkbox, Fieldset, Heading } from '@digdir/designsystemet-react'; import { defaultLangCode } from './constants'; import { useTranslation } from 'react-i18next'; import { AltinnConfirmDialog } from 'app-shared/components'; diff --git a/frontend/packages/text-editor/src/TextEditor.tsx b/frontend/packages/text-editor/src/TextEditor.tsx index 9c81f4144d0..85b1d893578 100644 --- a/frontend/packages/text-editor/src/TextEditor.tsx +++ b/frontend/packages/text-editor/src/TextEditor.tsx @@ -3,7 +3,7 @@ import classes from './TextEditor.module.css'; import type { LangCode, TextResourceEntryDeletion, TextResourceIdMutation } from './types'; import type { UpsertTextResourceMutation } from 'app-shared/hooks/mutations/useUpsertTextResourceMutation'; import { SearchField } from '@altinn/altinn-design-system'; -import { Chip } from '@digdir/design-system-react'; +import { Chip } from '@digdir/designsystemet-react'; import { ArrowsUpDownIcon } from '@studio/icons'; import { StudioButton } from '@studio/components'; import { RightMenu } from './RightMenu'; diff --git a/frontend/packages/text-editor/src/TextEntry.tsx b/frontend/packages/text-editor/src/TextEntry.tsx index 4a6108d568a..275eee88e69 100644 --- a/frontend/packages/text-editor/src/TextEntry.tsx +++ b/frontend/packages/text-editor/src/TextEntry.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import type { TextTableRowEntry } from './types'; import type { UpsertTextResourceMutation } from 'app-shared/hooks/mutations/useUpsertTextResourceMutation'; -import { Textarea } from '@digdir/design-system-react'; +import { Textarea } from '@digdir/designsystemet-react'; import { Variables } from './Variables'; import { useAutoSizeTextArea } from 'app-shared/hooks/useAutoSizeTextArea'; import { APP_NAME } from 'app-shared/constants'; diff --git a/frontend/packages/text-editor/src/TextRow.test.tsx b/frontend/packages/text-editor/src/TextRow.test.tsx index 48b5261b63a..560eed73240 100644 --- a/frontend/packages/text-editor/src/TextRow.test.tsx +++ b/frontend/packages/text-editor/src/TextRow.test.tsx @@ -5,7 +5,7 @@ import { TextRow } from './TextRow'; import { screen, render as rtlRender, waitFor } from '@testing-library/react'; import { textMock } from '@studio/testing/mocks/i18nMock'; import type { TextTableRowEntry } from './types'; -import { Table, TableBody } from '@digdir/design-system-react'; +import { Table, TableBody } from '@digdir/designsystemet-react'; import { queriesMock } from 'app-shared/mocks/queriesMock'; import { ServicesContextProvider } from 'app-shared/contexts/ServicesContext'; import { queryClientMock } from 'app-shared/mocks/queryClientMock'; diff --git a/frontend/packages/text-editor/src/TextRow.tsx b/frontend/packages/text-editor/src/TextRow.tsx index 35ef622dfa8..98909e8c81b 100644 --- a/frontend/packages/text-editor/src/TextRow.tsx +++ b/frontend/packages/text-editor/src/TextRow.tsx @@ -3,7 +3,7 @@ import classes from './TextRow.module.css'; import type { TextResourceIdMutation, TextResourceVariable, TextTableRowEntry } from './types'; import type { UpsertTextResourceMutation } from 'app-shared/hooks/mutations/useUpsertTextResourceMutation'; import { TrashIcon, PencilIcon } from '@studio/icons'; -import { TableCell, TableRow, Textfield } from '@digdir/design-system-react'; +import { TableCell, TableRow, Textfield } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { ButtonContainer } from 'app-shared/primitives'; diff --git a/frontend/packages/ux-editor-v3/src/components/Elements/DefaultToolbar.tsx b/frontend/packages/ux-editor-v3/src/components/Elements/DefaultToolbar.tsx index fbc09e602fe..7ed89e0949b 100644 --- a/frontend/packages/ux-editor-v3/src/components/Elements/DefaultToolbar.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Elements/DefaultToolbar.tsx @@ -7,7 +7,7 @@ import classes from './DefaultToolbar.module.css'; import { useTranslation } from 'react-i18next'; import { schemaComponents, textComponents, advancedItems } from '../../data/formItemConfig'; import type { KeyValuePairs } from 'app-shared/types/KeyValuePairs'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { getCollapsableMenuTitleByType, getComponentTitleByComponentType, diff --git a/frontend/packages/ux-editor-v3/src/components/Elements/Elements.tsx b/frontend/packages/ux-editor-v3/src/components/Elements/Elements.tsx index 030a495a925..ce9c167433f 100644 --- a/frontend/packages/ux-editor-v3/src/components/Elements/Elements.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Elements/Elements.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { useSelector } from 'react-redux'; import { ConfPageToolbar } from './ConfPageToolbar'; import { DefaultToolbar } from './DefaultToolbar'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import { useText } from '../../hooks'; import { selectedLayoutNameSelector } from '../../selectors/formLayoutSelectors'; import { useFormLayoutSettingsQuery } from '../../hooks/queries/useFormLayoutSettingsQuery'; diff --git a/frontend/packages/ux-editor-v3/src/components/Elements/LayoutSetsContainer.tsx b/frontend/packages/ux-editor-v3/src/components/Elements/LayoutSetsContainer.tsx index 08928286ec1..afaa623f1a1 100644 --- a/frontend/packages/ux-editor-v3/src/components/Elements/LayoutSetsContainer.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Elements/LayoutSetsContainer.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useLayoutSetsQuery } from 'app-shared/hooks/queries/useLayoutSetsQuery'; -import { NativeSelect } from '@digdir/design-system-react'; +import { NativeSelect } from '@digdir/designsystemet-react'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; import { useText } from '../../hooks'; import classes from './LayoutSetsContainer.module.css'; diff --git a/frontend/packages/ux-editor-v3/src/components/Preview/Preview.tsx b/frontend/packages/ux-editor-v3/src/components/Preview/Preview.tsx index 5ff0ce46dc3..2a2ebc5a7d9 100644 --- a/frontend/packages/ux-editor-v3/src/components/Preview/Preview.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Preview/Preview.tsx @@ -8,7 +8,7 @@ import { useTranslation } from 'react-i18next'; import { useAppContext } from '../../hooks/useAppContext'; import { useUpdate } from 'app-shared/hooks/useUpdate'; import { previewPage } from 'app-shared/api/paths'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { StudioButton, StudioCenter } from '@studio/components'; import type { SupportedView } from './ViewToggler/ViewToggler'; import { ViewToggler } from './ViewToggler/ViewToggler'; diff --git a/frontend/packages/ux-editor-v3/src/components/Preview/ViewToggler/ViewToggler.tsx b/frontend/packages/ux-editor-v3/src/components/Preview/ViewToggler/ViewToggler.tsx index 859d5176291..f6b77821b1a 100644 --- a/frontend/packages/ux-editor-v3/src/components/Preview/ViewToggler/ViewToggler.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Preview/ViewToggler/ViewToggler.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import classes from './ViewToggler.module.css'; diff --git a/frontend/packages/ux-editor-v3/src/components/Properties/ConditionalRendering.tsx b/frontend/packages/ux-editor-v3/src/components/Properties/ConditionalRendering.tsx index 540f3559cd5..6b56c40e9f0 100644 --- a/frontend/packages/ux-editor-v3/src/components/Properties/ConditionalRendering.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Properties/ConditionalRendering.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import classes from './ConditionalRendering.module.css'; import { PlusIcon } from '@studio/icons'; import { ConditionalRenderingModal } from '../toolbar/ConditionalRenderingModal'; diff --git a/frontend/packages/ux-editor-v3/src/components/Properties/Dynamics.tsx b/frontend/packages/ux-editor-v3/src/components/Properties/Dynamics.tsx index 10766fc59ab..7e69fec82f3 100644 --- a/frontend/packages/ux-editor-v3/src/components/Properties/Dynamics.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Properties/Dynamics.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import { ConditionalRendering } from './ConditionalRendering'; import { Expressions } from '../config/Expressions'; import { useText } from '../../hooks'; diff --git a/frontend/packages/ux-editor-v3/src/components/Properties/OldDynamicsInfo.tsx b/frontend/packages/ux-editor-v3/src/components/Properties/OldDynamicsInfo.tsx index 346c5af4042..4169b8c205d 100644 --- a/frontend/packages/ux-editor-v3/src/components/Properties/OldDynamicsInfo.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Properties/OldDynamicsInfo.tsx @@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next'; import { giteaEditLink, altinnDocsUrl } from 'app-shared/ext-urls'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; import { useAppContext } from '../../hooks/useAppContext'; -import { Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; export const OldDynamicsInfo = () => { const { t } = useTranslation(); diff --git a/frontend/packages/ux-editor-v3/src/components/Properties/Properties.tsx b/frontend/packages/ux-editor-v3/src/components/Properties/Properties.tsx index f529324fcef..26574891130 100644 --- a/frontend/packages/ux-editor-v3/src/components/Properties/Properties.tsx +++ b/frontend/packages/ux-editor-v3/src/components/Properties/Properties.tsx @@ -2,7 +2,7 @@ import React, { useEffect } from 'react'; import { Calculations } from './Calculations'; import { Content } from './Content'; import { useTranslation } from 'react-i18next'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { useFormItemContext } from '../../containers/FormItemContext'; import classes from './Properties.module.css'; import { Dynamics } from './Dynamics'; diff --git a/frontend/packages/ux-editor-v3/src/components/TextResource.tsx b/frontend/packages/ux-editor-v3/src/components/TextResource.tsx index d11514f6471..f146d53c38e 100644 --- a/frontend/packages/ux-editor-v3/src/components/TextResource.tsx +++ b/frontend/packages/ux-editor-v3/src/components/TextResource.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import type { LegacySingleSelectOption } from '@digdir/design-system-react'; -import { LegacySelect, Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import { MagnifyingGlassIcon, PencilIcon, PlusIcon, TrashIcon, XMarkIcon } from '@studio/icons'; import classes from './TextResource.module.css'; import { useDispatch, useSelector } from 'react-redux'; diff --git a/frontend/packages/ux-editor-v3/src/components/TextResourceEdit.tsx b/frontend/packages/ux-editor-v3/src/components/TextResourceEdit.tsx index 4cb72db68c5..b3555131b79 100644 --- a/frontend/packages/ux-editor-v3/src/components/TextResourceEdit.tsx +++ b/frontend/packages/ux-editor-v3/src/components/TextResourceEdit.tsx @@ -1,7 +1,8 @@ import React, { useEffect, useState } from 'react'; import classes from './TextResourceEdit.module.css'; import type { ITextResource } from 'app-shared/types/global'; -import { Fieldset, LegacyTextArea } from '@digdir/design-system-react'; +import { Fieldset } from '@digdir/designsystemet-react'; +import { LegacyTextArea } from '@digdir/design-system-react'; import { XMarkIcon } from '@studio/icons'; import { getAllLanguages, getCurrentEditId } from '../selectors/textResourceSelectors'; import { setCurrentEditId } from '../features/appData/textResources/textResourcesSlice'; diff --git a/frontend/packages/ux-editor-v3/src/components/UnknownComponentAlert/UnknownComponentAlert.tsx b/frontend/packages/ux-editor-v3/src/components/UnknownComponentAlert/UnknownComponentAlert.tsx index 57ea58affa6..e5e927980d5 100644 --- a/frontend/packages/ux-editor-v3/src/components/UnknownComponentAlert/UnknownComponentAlert.tsx +++ b/frontend/packages/ux-editor-v3/src/components/UnknownComponentAlert/UnknownComponentAlert.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import type { AlertProps } from '@digdir/design-system-react'; -import { Alert } from '@digdir/design-system-react'; +import type { AlertProps } from '@digdir/designsystemet-react'; +import { Alert } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; export type UnknownComponentAlertProps = { diff --git a/frontend/packages/ux-editor-v3/src/components/config/EditFormComponent.tsx b/frontend/packages/ux-editor-v3/src/components/config/EditFormComponent.tsx index 6001f1f4610..52ffe2327b7 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/EditFormComponent.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/EditFormComponent.tsx @@ -3,7 +3,7 @@ import type { EditSettings, IGenericEditComponent } from './componentConfig'; import { configComponents, componentSpecificEditConfig } from './componentConfig'; import { ComponentSpecificContent } from './componentSpecificContent'; -import { Switch, Fieldset, Heading } from '@digdir/design-system-react'; +import { Switch, Fieldset, Heading } from '@digdir/designsystemet-react'; import classes from './EditFormComponent.module.css'; import type { FormComponent } from '../../types/FormComponent'; import { selectedLayoutNameSelector } from '../../selectors/formLayoutSelectors'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/EditFormContainer.tsx b/frontend/packages/ux-editor-v3/src/components/config/EditFormContainer.tsx index 8b23beffd19..6c113682f8a 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/EditFormContainer.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/EditFormContainer.tsx @@ -5,14 +5,8 @@ import { EditGroupDataModelBindings } from './group/EditGroupDataModelBindings'; import { getTextResource } from '../../utils/language'; import { idExists } from '../../utils/formLayoutUtils'; import type { DataModelFieldElement } from 'app-shared/types/DataModelFieldElement'; -import { - Alert, - Switch, - Checkbox, - LegacyFieldSet, - LegacyTextField, - Paragraph, -} from '@digdir/design-system-react'; +import { Alert, Switch, Checkbox, Paragraph } from '@digdir/designsystemet-react'; +import { LegacyFieldSet, LegacyTextField } from '@digdir/design-system-react'; import classes from './EditFormContainer.module.css'; import { TextResource } from '../TextResource'; import { useDataModelMetadataQuery } from '../../hooks/queries/useDataModelMetadataQuery'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/Expressions/ExpressionContent/ComplexExpression/ComplexExpression.tsx b/frontend/packages/ux-editor-v3/src/components/config/Expressions/ExpressionContent/ComplexExpression/ComplexExpression.tsx index 7e6b4d49953..5b552e7bf6a 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/Expressions/ExpressionContent/ComplexExpression/ComplexExpression.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/Expressions/ExpressionContent/ComplexExpression/ComplexExpression.tsx @@ -1,6 +1,7 @@ import React from 'react'; import classes from './ComplexExpression.module.css'; -import { Alert, LegacyTextArea } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; +import { LegacyTextArea } from '@digdir/design-system-react'; import { useTranslation } from 'react-i18next'; import type { Expression } from '../../../../../types/Expressions'; import { stringifyData } from '../../../../../utils/jsonUtils'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/Expressions/ExpressionContent/ExpressionEditMode/ExpressionEditMode.tsx b/frontend/packages/ux-editor-v3/src/components/config/Expressions/ExpressionContent/ExpressionEditMode/ExpressionEditMode.tsx index 875d170f57b..41f50165ca8 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/Expressions/ExpressionContent/ExpressionEditMode/ExpressionEditMode.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/Expressions/ExpressionContent/ExpressionEditMode/ExpressionEditMode.tsx @@ -14,7 +14,7 @@ import { } from '../../../../../utils/expressionsUtils'; import { ComplexExpression } from '../ComplexExpression'; import { SimpleExpression } from './SimpleExpression'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import { CheckmarkIcon, PlusCircleIcon, TrashIcon } from '@studio/icons'; import { Trans } from 'react-i18next'; import classes from '../ExpressionContent.module.css'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/Expressions/Expressions.tsx b/frontend/packages/ux-editor-v3/src/components/config/Expressions/Expressions.tsx index 99b8dc65a22..c071739ee81 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/Expressions/Expressions.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/Expressions/Expressions.tsx @@ -1,5 +1,5 @@ import React, { useContext } from 'react'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { ExpressionContent } from './ExpressionContent'; import { useText } from '../../../hooks'; import type { ExpressionProperty } from '../../../types/Expressions'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/Expressions/NewExpressionButton.tsx b/frontend/packages/ux-editor-v3/src/components/config/Expressions/NewExpressionButton.tsx index b1b613815d4..5f1e04eee06 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/Expressions/NewExpressionButton.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/Expressions/NewExpressionButton.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { DropdownMenu } from '@digdir/design-system-react'; +import { DropdownMenu } from '@digdir/designsystemet-react'; import { PlusIcon } from '@studio/icons'; import { useText } from '../../../hooks'; import type { ExpressionProperty } from '../../../types/Expressions'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/FormComponentConfig.tsx b/frontend/packages/ux-editor-v3/src/components/config/FormComponentConfig.tsx index de7993bd786..249db921930 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/FormComponentConfig.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/FormComponentConfig.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { EditComponentId } from './editModal/EditComponentId'; -import { Alert, Heading, Paragraph } from '@digdir/design-system-react'; +import { Alert, Heading, Paragraph } from '@digdir/designsystemet-react'; import type { FormComponent } from '../../types/FormComponent'; import { selectedLayoutNameSelector } from '../../selectors/formLayoutSelectors'; import { EditDataModelBindings } from './editModal/EditDataModelBindings'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Address/AddressComponent.tsx b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Address/AddressComponent.tsx index 032835e7a12..6426e8b8ea4 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Address/AddressComponent.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Address/AddressComponent.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch, Fieldset } from '@digdir/design-system-react'; +import { Switch, Fieldset } from '@digdir/designsystemet-react'; import classes from './AddressComponent.module.css'; import { useText } from '../../../../hooks'; import type { IGenericEditComponent } from '../../componentConfig'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Button/ButtonComponent.tsx b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Button/ButtonComponent.tsx index fc8f3e96f4c..e37ea814e0d 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Button/ButtonComponent.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Button/ButtonComponent.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Fieldset } from '@digdir/design-system-react'; +import { Fieldset } from '@digdir/designsystemet-react'; import classes from './ButtonComponent.module.css'; import type { IGenericEditComponent } from '../../componentConfig'; import { EditSettings } from '../../componentConfig'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/FileUpload/FileUploadComponent.tsx b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/FileUpload/FileUploadComponent.tsx index 1c54cfbba59..1c80007a9bd 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/FileUpload/FileUploadComponent.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/FileUpload/FileUploadComponent.tsx @@ -1,5 +1,6 @@ import React from 'react'; -import { Fieldset, LegacyTextField, Radio, Textfield } from '@digdir/design-system-react'; +import { Fieldset, Radio, Textfield } from '@digdir/designsystemet-react'; +import { LegacyTextField } from '@digdir/design-system-react'; import classes from './FileUploadComponent.module.css'; import { useText } from '../../../../hooks'; import type { IGenericEditComponent } from '../../componentConfig'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Image/ImageComponent.tsx b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Image/ImageComponent.tsx index cdf87ade587..89dd927c4e1 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Image/ImageComponent.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Image/ImageComponent.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { LegacySelect, Textfield, Fieldset } from '@digdir/design-system-react'; - +import { Textfield, Fieldset } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import classes from './ImageComponent.module.css'; import { TextResource } from '../../../TextResource'; import { useText } from '../../../../hooks'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Panel/PanelComponent.tsx b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Panel/PanelComponent.tsx index 8ed86599a5d..e2aa533c120 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Panel/PanelComponent.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/componentSpecificContent/Panel/PanelComponent.tsx @@ -1,5 +1,6 @@ import React from 'react'; -import { Switch, LegacySelect } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import type { IGenericEditComponent } from '../../componentConfig'; import { useText } from '../../../../hooks'; import { EditTextResourceBinding } from '../../editModal/EditTextResourceBinding'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditBooleanValue.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditBooleanValue.tsx index 98fbc37816c..90f16195898 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditBooleanValue.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditBooleanValue.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useText } from '../../../hooks'; import { FormField } from '../../FormField'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditCodeList.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditCodeList.tsx index 6bb473b74ed..8d66be04e11 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditCodeList.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditCodeList.tsx @@ -1,5 +1,6 @@ import React, { useState } from 'react'; -import { LegacySelect, Textfield, ErrorMessage } from '@digdir/design-system-react'; +import { Textfield, ErrorMessage } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useOptionListIdsQuery } from '../../../hooks/queries/useOptionListIdsQuery'; import { useTranslation, Trans } from 'react-i18next'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditComponentId.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditComponentId.tsx index d1f79a55558..89e936be190 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditComponentId.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditComponentId.tsx @@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next'; import { useSelectedFormLayout } from '../../../hooks'; import type { FormComponent } from '../../../types/FormComponent'; import { FormField } from '../../FormField'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; export interface IEditComponentId { handleComponentUpdate: (component: FormComponent) => void; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditGrid/EditGrid.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditGrid/EditGrid.tsx index 1aa5e58c17a..a74dfb495a1 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditGrid/EditGrid.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditGrid/EditGrid.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React, { useState } from 'react'; import type { IGenericEditComponent } from '../../componentConfig'; -import { Tabs } from '@digdir/design-system-react'; +import { Tabs } from '@digdir/designsystemet-react'; import classes from './EditGrid.module.css'; import { EditGridForGivenViewSize } from './EditGridForGivenViewSize'; import { LaptopIcon, MobileIcon, MobileSmallIcon, MonitorIcon, TabletIcon } from '@studio/icons'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditGrid/EditGridForGivenViewSize.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditGrid/EditGridForGivenViewSize.tsx index 88c1271e157..b58843d9f85 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditGrid/EditGridForGivenViewSize.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditGrid/EditGridForGivenViewSize.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { useText } from '../../../../hooks'; import type { GridSize } from '@studio/components'; import { StudioGridSelector } from '@studio/components'; -import { Paragraph, Switch } from '@digdir/design-system-react'; +import { Paragraph, Switch } from '@digdir/designsystemet-react'; import { PadlockLockedFillIcon } from '@studio/icons'; import classes from './EditGridForGivenViewSize.module.css'; import { ObjectUtils } from '@studio/pure-functions'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditOptions.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditOptions.tsx index 3725f1e21ca..e7b58bef355 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditOptions.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditOptions.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useRef, useState } from 'react'; import type { IOption } from '../../../types/global'; -import { Fieldset, Radio, Textfield, ErrorMessage } from '@digdir/design-system-react'; +import { Fieldset, Radio, Textfield, ErrorMessage } from '@digdir/designsystemet-react'; import classes from './EditOptions.module.css'; import type { IGenericEditComponent } from '../componentConfig'; import { EditCodeList } from './EditCodeList'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditPreselectedIndex.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditPreselectedIndex.tsx index d956f10912c..94e417bec79 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditPreselectedIndex.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditPreselectedIndex.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useText } from '../../../hooks'; import { ComponentTypeV3 } from 'app-shared/types/ComponentTypeV3'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditReadOnly.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditReadOnly.tsx index c7c08052f74..b0c988d158e 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditReadOnly.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditReadOnly.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useText } from '../../../hooks'; import { FormField } from '../../FormField'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditRequired.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditRequired.tsx index 0b92b27b47e..07218d72ca6 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditRequired.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditRequired.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useText } from '../../../hooks'; import { FormField } from '../../FormField'; diff --git a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditStringValue.tsx b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditStringValue.tsx index 7e5346f4c2f..b381c7bc19c 100644 --- a/frontend/packages/ux-editor-v3/src/components/config/editModal/EditStringValue.tsx +++ b/frontend/packages/ux-editor-v3/src/components/config/editModal/EditStringValue.tsx @@ -2,7 +2,8 @@ import React from 'react'; import type { IGenericEditComponent } from '../componentConfig'; import { useTranslation } from 'react-i18next'; import { FormField } from '../../FormField'; -import { LegacySelect, Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import { getComponentPropertyLabel } from '../../../utils/language'; export interface EditStringValueProps extends IGenericEditComponent { diff --git a/frontend/packages/ux-editor-v3/src/components/toolbar/InformationPanelComponent.tsx b/frontend/packages/ux-editor-v3/src/components/toolbar/InformationPanelComponent.tsx index 037e9fe5e37..61cf2ea6bc5 100644 --- a/frontend/packages/ux-editor-v3/src/components/toolbar/InformationPanelComponent.tsx +++ b/frontend/packages/ux-editor-v3/src/components/toolbar/InformationPanelComponent.tsx @@ -9,7 +9,7 @@ import { import { useTranslation } from 'react-i18next'; import { StudioLabelAsParagraph, StudioPopover } from '@studio/components'; import { InformationIcon } from '@studio/icons'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; export type InformationPanelProvidedProps = { isOpen: boolean; diff --git a/frontend/packages/ux-editor-v3/src/containers/DesignView/DesignView.tsx b/frontend/packages/ux-editor-v3/src/containers/DesignView/DesignView.tsx index 3b61368ea5c..fd951886fc9 100644 --- a/frontend/packages/ux-editor-v3/src/containers/DesignView/DesignView.tsx +++ b/frontend/packages/ux-editor-v3/src/containers/DesignView/DesignView.tsx @@ -5,7 +5,7 @@ import { useFormLayoutsQuery } from '../../hooks/queries/useFormLayoutsQuery'; import classes from './DesignView.module.css'; import { useTranslation } from 'react-i18next'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import type { IFormLayouts } from '../../types/global'; import type { FormLayoutPage } from '../../types/FormLayoutPage'; import { FormLayoutActions } from '../../features/formDesigner/formLayout/formLayoutSlice'; diff --git a/frontend/packages/ux-editor-v3/src/containers/DesignView/FormLayout.tsx b/frontend/packages/ux-editor-v3/src/containers/DesignView/FormLayout.tsx index c75842d45ca..b6364c96b7b 100644 --- a/frontend/packages/ux-editor-v3/src/containers/DesignView/FormLayout.tsx +++ b/frontend/packages/ux-editor-v3/src/containers/DesignView/FormLayout.tsx @@ -3,7 +3,7 @@ import { FormTree } from './FormTree'; import React from 'react'; import { hasMultiPageGroup } from '../../utils/formLayoutUtils'; import { useTranslation } from 'react-i18next'; -import { Alert, Paragraph } from '@digdir/design-system-react'; +import { Alert, Paragraph } from '@digdir/designsystemet-react'; export interface FormLayoutProps { layout: IInternalLayout; diff --git a/frontend/packages/ux-editor-v3/src/containers/DesignView/FormTree/UnknownReferencedItem/UnknownReferencedItem.tsx b/frontend/packages/ux-editor-v3/src/containers/DesignView/FormTree/UnknownReferencedItem/UnknownReferencedItem.tsx index a612494dfa1..b8c13f8fa3f 100644 --- a/frontend/packages/ux-editor-v3/src/containers/DesignView/FormTree/UnknownReferencedItem/UnknownReferencedItem.tsx +++ b/frontend/packages/ux-editor-v3/src/containers/DesignView/FormTree/UnknownReferencedItem/UnknownReferencedItem.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import { HelpText } from '@digdir/design-system-react'; +import { HelpText } from '@digdir/designsystemet-react'; import { StudioButton } from '@studio/components'; import { QuestionmarkDiamondIcon, TrashIcon } from '@studio/icons'; import type { IInternalLayout } from '../../../../types/global'; diff --git a/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx b/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx index 01f17e44c71..d8153156482 100644 --- a/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx +++ b/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx @@ -1,7 +1,7 @@ import type { ReactNode, ChangeEvent, KeyboardEvent } from 'react'; import React, { useState, useRef } from 'react'; import classes from './InputPopover.module.css'; -import { DropdownMenu, ErrorMessage, Textfield } from '@digdir/design-system-react'; +import { DropdownMenu, ErrorMessage, Textfield } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { getPageNameErrorKey } from '../../../../../utils/designViewUtils'; import { PencilIcon } from '@studio/icons'; diff --git a/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/NavigationMenu/NavigationMenu.tsx b/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/NavigationMenu/NavigationMenu.tsx index 03f2f9e76b5..3628f852f7b 100644 --- a/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/NavigationMenu/NavigationMenu.tsx +++ b/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/NavigationMenu/NavigationMenu.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { DropdownMenu } from '@digdir/design-system-react'; +import { DropdownMenu } from '@digdir/designsystemet-react'; import { MenuElipsisVerticalIcon, ArrowUpIcon, ArrowDownIcon } from '@studio/icons'; import { useFormLayoutSettingsQuery } from '../../../../hooks/queries/useFormLayoutSettingsQuery'; import { useUpdateLayoutOrderMutation } from '../../../../hooks/mutations/useUpdateLayoutOrderMutation'; diff --git a/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/PageAccordion.tsx b/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/PageAccordion.tsx index c424751e483..efb7a2c5306 100644 --- a/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/PageAccordion.tsx +++ b/frontend/packages/ux-editor-v3/src/containers/DesignView/PageAccordion/PageAccordion.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from 'react'; import React, { useCallback } from 'react'; import classes from './PageAccordion.module.css'; import cn from 'classnames'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { NavigationMenu } from './NavigationMenu'; import { pageAccordionContentId } from '@studio/testing/testids'; import { TrashIcon } from '@studio/icons'; diff --git a/frontend/packages/ux-editor-v3/src/containers/DesignView/ReceiptContent/ReceiptContent.tsx b/frontend/packages/ux-editor-v3/src/containers/DesignView/ReceiptContent/ReceiptContent.tsx index ab98a934105..e9eae23674a 100644 --- a/frontend/packages/ux-editor-v3/src/containers/DesignView/ReceiptContent/ReceiptContent.tsx +++ b/frontend/packages/ux-editor-v3/src/containers/DesignView/ReceiptContent/ReceiptContent.tsx @@ -3,7 +3,7 @@ import React from 'react'; import classes from './ReceiptContent.module.css'; import type { FormLayoutPage } from '../../../types/FormLayoutPage'; import { PageAccordion } from '../PageAccordion'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { FormTree } from '../FormTree'; import { StudioButton } from '@studio/components'; diff --git a/frontend/packages/ux-editor/src/components/Elements/DefaultToolbar.tsx b/frontend/packages/ux-editor/src/components/Elements/DefaultToolbar.tsx index 2f0aa8e44b5..39140b39d91 100644 --- a/frontend/packages/ux-editor/src/components/Elements/DefaultToolbar.tsx +++ b/frontend/packages/ux-editor/src/components/Elements/DefaultToolbar.tsx @@ -7,7 +7,7 @@ import classes from './DefaultToolbar.module.css'; import { useTranslation } from 'react-i18next'; import { schemaComponents, textComponents, advancedItems } from '../../data/formItemConfig'; import type { KeyValuePairs } from 'app-shared/types/KeyValuePairs'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { getCollapsableMenuTitleByType, getComponentTitleByComponentType, diff --git a/frontend/packages/ux-editor/src/components/Elements/Elements.tsx b/frontend/packages/ux-editor/src/components/Elements/Elements.tsx index 32163804e4b..49763c00a03 100644 --- a/frontend/packages/ux-editor/src/components/Elements/Elements.tsx +++ b/frontend/packages/ux-editor/src/components/Elements/Elements.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { ConfPageToolbar } from './ConfPageToolbar'; import { DefaultToolbar } from './DefaultToolbar'; -import { Alert, Heading, Paragraph } from '@digdir/design-system-react'; +import { Alert, Heading, Paragraph } from '@digdir/designsystemet-react'; import { useAppContext } from '../../hooks'; import { LayoutSetsContainer } from './LayoutSetsContainer'; diff --git a/frontend/packages/ux-editor/src/components/Elements/LayoutSetsContainer.tsx b/frontend/packages/ux-editor/src/components/Elements/LayoutSetsContainer.tsx index cbc397adb39..dfbb8f31b3c 100644 --- a/frontend/packages/ux-editor/src/components/Elements/LayoutSetsContainer.tsx +++ b/frontend/packages/ux-editor/src/components/Elements/LayoutSetsContainer.tsx @@ -1,6 +1,6 @@ import React, { useEffect } from 'react'; import { useLayoutSetsQuery } from 'app-shared/hooks/queries/useLayoutSetsQuery'; -import { NativeSelect } from '@digdir/design-system-react'; +import { NativeSelect } from '@digdir/designsystemet-react'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; import { useText, useAppContext } from '../../hooks'; import classes from './LayoutSetsContainer.module.css'; diff --git a/frontend/packages/ux-editor/src/components/Preview/Preview.tsx b/frontend/packages/ux-editor/src/components/Preview/Preview.tsx index 09ec6bf48fa..7ccd55d78e2 100644 --- a/frontend/packages/ux-editor/src/components/Preview/Preview.tsx +++ b/frontend/packages/ux-editor/src/components/Preview/Preview.tsx @@ -6,7 +6,7 @@ import { useTranslation } from 'react-i18next'; import { useAppContext, useSelectedTaskId } from '../../hooks'; import { useChecksum } from '../../hooks/useChecksum.ts'; import { previewPage } from 'app-shared/api/paths'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { StudioButton, StudioCenter } from '@studio/components'; import type { SupportedView } from './ViewToggler/ViewToggler'; import { ViewToggler } from './ViewToggler/ViewToggler'; diff --git a/frontend/packages/ux-editor/src/components/Preview/ViewToggler/ViewToggler.tsx b/frontend/packages/ux-editor/src/components/Preview/ViewToggler/ViewToggler.tsx index 859d5176291..f6b77821b1a 100644 --- a/frontend/packages/ux-editor/src/components/Preview/ViewToggler/ViewToggler.tsx +++ b/frontend/packages/ux-editor/src/components/Preview/ViewToggler/ViewToggler.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import classes from './ViewToggler.module.css'; diff --git a/frontend/packages/ux-editor/src/components/Properties/ConditionalRendering.tsx b/frontend/packages/ux-editor/src/components/Properties/ConditionalRendering.tsx index 540f3559cd5..6b56c40e9f0 100644 --- a/frontend/packages/ux-editor/src/components/Properties/ConditionalRendering.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/ConditionalRendering.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import classes from './ConditionalRendering.module.css'; import { PlusIcon } from '@studio/icons'; import { ConditionalRenderingModal } from '../toolbar/ConditionalRenderingModal'; diff --git a/frontend/packages/ux-editor/src/components/Properties/DataModelBindings.tsx b/frontend/packages/ux-editor/src/components/Properties/DataModelBindings.tsx index 87ef49d5505..d595d4c9e64 100644 --- a/frontend/packages/ux-editor/src/components/Properties/DataModelBindings.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/DataModelBindings.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import { EditDataModelBindings } from '../config/editModal/EditDataModelBindings/EditDataModelBindings'; import { StudioProperty, StudioSpinner } from '@studio/components'; -import { Alert, Switch } from '@digdir/design-system-react'; +import { Alert, Switch } from '@digdir/designsystemet-react'; import { useComponentSchemaQuery } from '../../hooks/queries/useComponentSchemaQuery'; import { useFormItemContext } from '../../containers/FormItemContext'; import { useText, useSelectedFormLayout } from '../../hooks'; diff --git a/frontend/packages/ux-editor/src/components/Properties/Dynamics.tsx b/frontend/packages/ux-editor/src/components/Properties/Dynamics.tsx index 10766fc59ab..7e69fec82f3 100644 --- a/frontend/packages/ux-editor/src/components/Properties/Dynamics.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/Dynamics.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import { ConditionalRendering } from './ConditionalRendering'; import { Expressions } from '../config/Expressions'; import { useText } from '../../hooks'; diff --git a/frontend/packages/ux-editor/src/components/Properties/OldDynamicsInfo.tsx b/frontend/packages/ux-editor/src/components/Properties/OldDynamicsInfo.tsx index fa8538b1318..389c845e348 100644 --- a/frontend/packages/ux-editor/src/components/Properties/OldDynamicsInfo.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/OldDynamicsInfo.tsx @@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next'; import { giteaEditLink, altinnDocsUrl } from 'app-shared/ext-urls'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; import { useAppContext } from '../../hooks'; -import { Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; export const OldDynamicsInfo = () => { const { t } = useTranslation(); diff --git a/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigPanel.tsx b/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigPanel.tsx index 4f657641a32..7f72891f4f8 100644 --- a/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigPanel.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigPanel.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useRef } from 'react'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { FileIcon } from '@studio/icons'; import { StudioSectionHeader } from '@studio/components'; import { useText, useTextResourcesSelector, useAppContext, useFormLayouts } from '../../../hooks'; diff --git a/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigWarning.tsx b/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigWarning.tsx index 91a69ac5f6a..29c92844698 100644 --- a/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigWarning.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigWarning.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { List, Link, Heading } from '@digdir/design-system-react'; +import { List, Link, Heading } from '@digdir/designsystemet-react'; import { repositoryLayoutPath } from 'app-shared/api/paths'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; import { getDuplicatedIds } from '../../../utils/formLayoutUtils'; diff --git a/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigWarningModal/PageConfigWarningModal.tsx b/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigWarningModal/PageConfigWarningModal.tsx index e8a3c001a64..a3898bc2ae3 100644 --- a/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigWarningModal/PageConfigWarningModal.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/PageConfigPanel/PageConfigWarningModal/PageConfigWarningModal.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './PageConfigWarningModal.module.css'; -import { Modal } from '@digdir/design-system-react'; +import { Modal } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; export interface PageConfigWarningModalProps { diff --git a/frontend/packages/ux-editor/src/components/Properties/Properties.tsx b/frontend/packages/ux-editor/src/components/Properties/Properties.tsx index 6e8fb180f57..219262ee772 100644 --- a/frontend/packages/ux-editor/src/components/Properties/Properties.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/Properties.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { Calculations } from './Calculations'; import { Text } from './Text'; import { useTranslation } from 'react-i18next'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { useFormItemContext } from '../../containers/FormItemContext'; import classes from './Properties.module.css'; import { Dynamics } from './Dynamics'; diff --git a/frontend/packages/ux-editor/src/components/Properties/PropertiesHeader/EditComponentIdRow/EditComponentIdRow.tsx b/frontend/packages/ux-editor/src/components/Properties/PropertiesHeader/EditComponentIdRow/EditComponentIdRow.tsx index 03794fbee67..0f0c87c0ffe 100644 --- a/frontend/packages/ux-editor/src/components/Properties/PropertiesHeader/EditComponentIdRow/EditComponentIdRow.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/PropertiesHeader/EditComponentIdRow/EditComponentIdRow.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { StudioToggleableTextfieldSchema, type SchemaValidationError } from '@studio/components'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { KeyVerticalIcon } from '@studio/icons'; import classes from './EditComponentIdRow.module.css'; import { idExists } from '../../../../utils/formLayoutsUtils'; diff --git a/frontend/packages/ux-editor/src/components/Properties/Text.tsx b/frontend/packages/ux-editor/src/components/Properties/Text.tsx index 9945d8d3264..df4de0d79c7 100644 --- a/frontend/packages/ux-editor/src/components/Properties/Text.tsx +++ b/frontend/packages/ux-editor/src/components/Properties/Text.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { useFormItemContext } from '../../containers/FormItemContext'; import { useTranslation } from 'react-i18next'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { EditTextResourceBindings } from '../config/editModal/EditTextResourceBindings/EditTextResourceBindings'; import { useComponentSchemaQuery } from '../../hooks/queries/useComponentSchemaQuery'; import { StudioSpinner } from '@studio/components'; diff --git a/frontend/packages/ux-editor/src/components/TextResource/TextResourceEditor/TextResourceEditor.tsx b/frontend/packages/ux-editor/src/components/TextResource/TextResourceEditor/TextResourceEditor.tsx index 9389f2be27c..4d88686b07a 100644 --- a/frontend/packages/ux-editor/src/components/TextResource/TextResourceEditor/TextResourceEditor.tsx +++ b/frontend/packages/ux-editor/src/components/TextResource/TextResourceEditor/TextResourceEditor.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Tabs } from '@digdir/design-system-react'; +import { Tabs } from '@digdir/designsystemet-react'; import { TextResourceValueEditor } from './TextResourceValueEditor'; import { TextResourcePicker } from './TextResourcePicker'; import classes from './TextResourceEditor.module.css'; diff --git a/frontend/packages/ux-editor/src/components/UnknownComponentAlert/UnknownComponentAlert.tsx b/frontend/packages/ux-editor/src/components/UnknownComponentAlert/UnknownComponentAlert.tsx index 57ea58affa6..e5e927980d5 100644 --- a/frontend/packages/ux-editor/src/components/UnknownComponentAlert/UnknownComponentAlert.tsx +++ b/frontend/packages/ux-editor/src/components/UnknownComponentAlert/UnknownComponentAlert.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import type { AlertProps } from '@digdir/design-system-react'; -import { Alert } from '@digdir/design-system-react'; +import type { AlertProps } from '@digdir/designsystemet-react'; +import { Alert } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; export type UnknownComponentAlertProps = { diff --git a/frontend/packages/ux-editor/src/components/UnsupportedVersionMessage/UnsupportedVersionMessage.tsx b/frontend/packages/ux-editor/src/components/UnsupportedVersionMessage/UnsupportedVersionMessage.tsx index ea05de3a7ba..b68a82c5671 100644 --- a/frontend/packages/ux-editor/src/components/UnsupportedVersionMessage/UnsupportedVersionMessage.tsx +++ b/frontend/packages/ux-editor/src/components/UnsupportedVersionMessage/UnsupportedVersionMessage.tsx @@ -1,7 +1,7 @@ import React from 'react'; import classes from './UnsupportedVersionMessage.module.css'; -import { Alert, Heading, Paragraph } from '@digdir/design-system-react'; +import { Alert, Heading, Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; export interface UnsupportedVersionMessageProps { diff --git a/frontend/packages/ux-editor/src/components/config/EditFormComponent.tsx b/frontend/packages/ux-editor/src/components/config/EditFormComponent.tsx index d0d00005ba9..c113d2850b4 100644 --- a/frontend/packages/ux-editor/src/components/config/EditFormComponent.tsx +++ b/frontend/packages/ux-editor/src/components/config/EditFormComponent.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { ComponentSpecificContent } from './componentSpecificContent'; -import { Fieldset } from '@digdir/design-system-react'; +import { Fieldset } from '@digdir/designsystemet-react'; import classes from './EditFormComponent.module.css'; import { useComponentSchemaQuery } from '../../hooks/queries/useComponentSchemaQuery'; import { StudioSpinner } from '@studio/components'; diff --git a/frontend/packages/ux-editor/src/components/config/ExpressionContent/ExpressionContent.tsx b/frontend/packages/ux-editor/src/components/config/ExpressionContent/ExpressionContent.tsx index c5c1e1c8949..6e5d2825994 100644 --- a/frontend/packages/ux-editor/src/components/config/ExpressionContent/ExpressionContent.tsx +++ b/frontend/packages/ux-editor/src/components/config/ExpressionContent/ExpressionContent.tsx @@ -6,7 +6,7 @@ import { DataLookupFuncName, StudioDeleteButton } from '@studio/components'; import { useFormLayoutsQuery } from '../../../hooks/queries/useFormLayoutsQuery'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; import { useDataModelMetadataQuery } from '../../../hooks/queries/useDataModelMetadataQuery'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import classes from './ExpressionContent.module.css'; import { Expression as ExpressionWithTexts } from 'app-shared/components/Expression'; import { useText, useAppContext } from '../../../hooks'; diff --git a/frontend/packages/ux-editor/src/components/config/Expressions/Expressions.tsx b/frontend/packages/ux-editor/src/components/config/Expressions/Expressions.tsx index a7736f64fcd..9b39ad5d103 100644 --- a/frontend/packages/ux-editor/src/components/config/Expressions/Expressions.tsx +++ b/frontend/packages/ux-editor/src/components/config/Expressions/Expressions.tsx @@ -1,5 +1,5 @@ import React, { useContext } from 'react'; -import { Paragraph, Link } from '@digdir/design-system-react'; +import { Paragraph, Link } from '@digdir/designsystemet-react'; import { ExpressionContent } from '../ExpressionContent'; import classes from './Expressions.module.css'; import { FormItemContext } from '../../../containers/FormItemContext'; diff --git a/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx b/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx index 41c11e378ae..f74c62576b7 100644 --- a/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx +++ b/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Alert, Card, Heading, Paragraph } from '@digdir/design-system-react'; +import { Alert, Card, Heading, Paragraph } from '@digdir/designsystemet-react'; import type { FormComponent } from '../../types/FormComponent'; import { EditBooleanValue } from './editModal/EditBooleanValue'; import { EditNumberValue } from './editModal/EditNumberValue'; diff --git a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Address/AddressComponent.tsx b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Address/AddressComponent.tsx index 87ae8211b49..c59e0642bbf 100644 --- a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Address/AddressComponent.tsx +++ b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Address/AddressComponent.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch, Fieldset } from '@digdir/design-system-react'; +import { Switch, Fieldset } from '@digdir/designsystemet-react'; import classes from './AddressComponent.module.css'; import { useText } from '../../../../hooks'; import type { IGenericEditComponent } from '../../componentConfig'; diff --git a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/AttachmentList/AttachmentListContent.tsx b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/AttachmentList/AttachmentListContent.tsx index 9334485ab05..ea62c6e78c0 100644 --- a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/AttachmentList/AttachmentListContent.tsx +++ b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/AttachmentList/AttachmentListContent.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Combobox, Label, Checkbox } from '@digdir/design-system-react'; +import { Combobox, Label, Checkbox } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import classes from './AttachmentListContent.module.css'; diff --git a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/AttachmentList/AttachmentListInternalFormat.tsx b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/AttachmentList/AttachmentListInternalFormat.tsx index 808de95fe80..090d52729fb 100644 --- a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/AttachmentList/AttachmentListInternalFormat.tsx +++ b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/AttachmentList/AttachmentListInternalFormat.tsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import { Fieldset, Switch } from '@digdir/design-system-react'; +import { Fieldset, Switch } from '@digdir/designsystemet-react'; import { AttachmentListContent } from './AttachmentListContent'; import { useTranslation } from 'react-i18next'; import { extractCurrentAvailableAttachments, isSelectionValid } from './attachmentListUtils'; diff --git a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/FileUpload/FileUploadComponent.tsx b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/FileUpload/FileUploadComponent.tsx index 327bc3729d6..a88d1b211c2 100644 --- a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/FileUpload/FileUploadComponent.tsx +++ b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/FileUpload/FileUploadComponent.tsx @@ -1,5 +1,6 @@ import React from 'react'; -import { Fieldset, LegacyTextField, Radio, Textfield } from '@digdir/design-system-react'; +import { Fieldset, Radio, Textfield } from '@digdir/designsystemet-react'; +import { LegacyTextField } from '@digdir/design-system-react'; import classes from './FileUploadComponent.module.css'; import { useText } from '../../../../hooks'; import type { IGenericEditComponent } from '../../componentConfig'; diff --git a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Image/ImageComponent.tsx b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Image/ImageComponent.tsx index 9ca411d4b15..477fd22dc09 100644 --- a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Image/ImageComponent.tsx +++ b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Image/ImageComponent.tsx @@ -1,5 +1,6 @@ import React from 'react'; -import { LegacySelect, Textfield, Fieldset } from '@digdir/design-system-react'; +import { Textfield, Fieldset } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import classes from './ImageComponent.module.css'; import { useText } from '../../../../hooks'; import type { IGenericEditComponent } from '../../componentConfig'; diff --git a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Panel/PanelComponent.tsx b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Panel/PanelComponent.tsx index 4db26f612b6..550e790294c 100644 --- a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Panel/PanelComponent.tsx +++ b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Panel/PanelComponent.tsx @@ -1,5 +1,6 @@ import React from 'react'; -import { Switch, LegacySelect } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import type { IGenericEditComponent } from '../../componentConfig'; import { useText } from '../../../../hooks'; import { FormPanelVariant } from 'app-shared/types/FormPanelVariant'; diff --git a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/RepeatingGroup/RepeatingGroupComponent.tsx b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/RepeatingGroup/RepeatingGroupComponent.tsx index 8d5b0d829fb..6fd098a35c5 100644 --- a/frontend/packages/ux-editor/src/components/config/componentSpecificContent/RepeatingGroup/RepeatingGroupComponent.tsx +++ b/frontend/packages/ux-editor/src/components/config/componentSpecificContent/RepeatingGroup/RepeatingGroupComponent.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import classes from './RepeatingGroupComponent.module.css'; -import { Checkbox, LegacyFieldSet, LegacyTextField } from '@digdir/design-system-react'; +import { Checkbox } from '@digdir/designsystemet-react'; +import { LegacyFieldSet, LegacyTextField } from '@digdir/design-system-react'; import { FormField } from '../../../FormField'; import { getTextResource } from '../../../../utils/language'; import { diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditAutoComplete.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditAutoComplete.tsx index 5f1e7576240..504b89f9c2d 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditAutoComplete.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditAutoComplete.tsx @@ -1,7 +1,7 @@ import type { ChangeEvent } from 'react'; import React from 'react'; import type { IGenericEditComponent } from '../componentConfig'; -import { NativeSelect } from '@digdir/design-system-react'; +import { NativeSelect } from '@digdir/designsystemet-react'; import { HTMLAutoCompleteValue } from 'app-shared/types/HTMLAutoCompleteValue'; import { useTranslation } from 'react-i18next'; import type { ComponentType } from 'app-shared/types/ComponentType'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditBooleanValue.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditBooleanValue.tsx index 195cb35407d..7a4b09c74d1 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditBooleanValue.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditBooleanValue.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useText } from '../../../hooks'; import { FormField } from '../../FormField'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditCodeList/EditCodeList.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditCodeList/EditCodeList.tsx index b653e6d6c1b..af4364dce4c 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditCodeList/EditCodeList.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditCodeList/EditCodeList.tsx @@ -1,5 +1,6 @@ import React, { useEffect, useState } from 'react'; -import { Alert, LegacySelect, Textfield, ErrorMessage } from '@digdir/design-system-react'; +import { Alert, Textfield, ErrorMessage } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import type { IGenericEditComponent } from '../../componentConfig'; import { useOptionListIdsQuery } from '../../../../hooks/queries/useOptionListIdsQuery'; import { useTranslation, Trans } from 'react-i18next'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditGrid/EditGrid.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditGrid/EditGrid.tsx index feddfea47f2..5b17a0971ec 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditGrid/EditGrid.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditGrid/EditGrid.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React, { useState } from 'react'; import type { IGenericEditComponent } from '../../componentConfig'; -import { Tabs } from '@digdir/design-system-react'; +import { Tabs } from '@digdir/designsystemet-react'; import classes from './EditGrid.module.css'; import { EditGridForGivenViewSize } from './EditGridForGivenViewSize'; import { LaptopIcon, MobileIcon, MobileSmallIcon, MonitorIcon, TabletIcon } from '@studio/icons'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditGrid/EditGridForGivenViewSize.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditGrid/EditGridForGivenViewSize.tsx index 88c1271e157..b58843d9f85 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditGrid/EditGridForGivenViewSize.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditGrid/EditGridForGivenViewSize.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { useText } from '../../../../hooks'; import type { GridSize } from '@studio/components'; import { StudioGridSelector } from '@studio/components'; -import { Paragraph, Switch } from '@digdir/design-system-react'; +import { Paragraph, Switch } from '@digdir/designsystemet-react'; import { PadlockLockedFillIcon } from '@studio/icons'; import classes from './EditGridForGivenViewSize.module.css'; import { ObjectUtils } from '@studio/pure-functions'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditOptions.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditOptions.tsx index 1727d636554..31e956d33c5 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditOptions.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditOptions.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useMemo, useRef, useState } from 'react'; import type { IOption } from '../../../types/global'; -import { Paragraph, Switch, ErrorMessage } from '@digdir/design-system-react'; +import { Paragraph, Switch, ErrorMessage } from '@digdir/designsystemet-react'; import classes from './EditOptions.module.css'; import type { IGenericEditComponent } from '../componentConfig'; import { EditCodeList } from './EditCodeList'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditPreselectedIndex.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditPreselectedIndex.tsx index 697e3f86f68..875064bc7a2 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditPreselectedIndex.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditPreselectedIndex.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useText } from '../../../hooks'; import { ComponentType } from 'app-shared/types/ComponentType'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditReadOnly.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditReadOnly.tsx index c46d788ed59..83d5b533426 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditReadOnly.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditReadOnly.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useText } from '../../../hooks'; import { FormField } from '../../FormField'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditRequired.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditRequired.tsx index ab2dc649cd5..d168e981cb1 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditRequired.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditRequired.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch } from '@digdir/design-system-react'; +import { Switch } from '@digdir/designsystemet-react'; import type { IGenericEditComponent } from '../componentConfig'; import { useText } from '../../../hooks'; import { FormField } from '../../FormField'; diff --git a/frontend/packages/ux-editor/src/components/config/editModal/EditStringValue.tsx b/frontend/packages/ux-editor/src/components/config/editModal/EditStringValue.tsx index 6afe9ebf795..56f13a1b107 100644 --- a/frontend/packages/ux-editor/src/components/config/editModal/EditStringValue.tsx +++ b/frontend/packages/ux-editor/src/components/config/editModal/EditStringValue.tsx @@ -2,7 +2,8 @@ import React from 'react'; import type { IGenericEditComponent } from '../componentConfig'; import { useTranslation } from 'react-i18next'; import { FormField } from '../../FormField'; -import { LegacySelect, Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; +import { LegacySelect } from '@digdir/design-system-react'; import { useComponentPropertyLabel } from '../../../hooks/useComponentPropertyLabel'; export interface EditStringValueProps extends IGenericEditComponent { diff --git a/frontend/packages/ux-editor/src/components/toolbar/InformationPanelComponent.tsx b/frontend/packages/ux-editor/src/components/toolbar/InformationPanelComponent.tsx index b215b5fde31..b73cc6def6a 100644 --- a/frontend/packages/ux-editor/src/components/toolbar/InformationPanelComponent.tsx +++ b/frontend/packages/ux-editor/src/components/toolbar/InformationPanelComponent.tsx @@ -9,7 +9,7 @@ import { import { useTranslation } from 'react-i18next'; import { StudioLabelAsParagraph, StudioPopover } from '@studio/components'; import { InformationIcon } from '@studio/icons'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; export type InformationPanelProvidedProps = { isOpen: boolean; diff --git a/frontend/packages/ux-editor/src/containers/DesignView/DesignView.tsx b/frontend/packages/ux-editor/src/containers/DesignView/DesignView.tsx index 8afe256569c..5ad26dae871 100644 --- a/frontend/packages/ux-editor/src/containers/DesignView/DesignView.tsx +++ b/frontend/packages/ux-editor/src/containers/DesignView/DesignView.tsx @@ -3,7 +3,7 @@ import React, { useMemo } from 'react'; import classes from './DesignView.module.css'; import { useTranslation } from 'react-i18next'; import { useStudioEnvironmentParams } from 'app-shared/hooks/useStudioEnvironmentParams'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import type { IFormLayouts } from '../../types/global'; import type { FormLayoutPage } from '../../types/FormLayoutPage'; import { useFormLayoutSettingsQuery } from '../../hooks/queries/useFormLayoutSettingsQuery'; diff --git a/frontend/packages/ux-editor/src/containers/DesignView/FormLayout.tsx b/frontend/packages/ux-editor/src/containers/DesignView/FormLayout.tsx index 96a51bff4a2..0627bc6018e 100644 --- a/frontend/packages/ux-editor/src/containers/DesignView/FormLayout.tsx +++ b/frontend/packages/ux-editor/src/containers/DesignView/FormLayout.tsx @@ -3,7 +3,7 @@ import { FormTree } from './FormTree'; import React from 'react'; import { hasMultiPageGroup } from '../../utils/formLayoutUtils'; import { useTranslation } from 'react-i18next'; -import { Alert, Paragraph } from '@digdir/design-system-react'; +import { Alert, Paragraph } from '@digdir/designsystemet-react'; import { FormLayoutWarning } from './FormLayoutWarning'; export interface FormLayoutProps { diff --git a/frontend/packages/ux-editor/src/containers/DesignView/FormLayoutWarning.tsx b/frontend/packages/ux-editor/src/containers/DesignView/FormLayoutWarning.tsx index 87c618e1bdc..67747e90b86 100644 --- a/frontend/packages/ux-editor/src/containers/DesignView/FormLayoutWarning.tsx +++ b/frontend/packages/ux-editor/src/containers/DesignView/FormLayoutWarning.tsx @@ -1,7 +1,7 @@ import React from 'react'; import type { IInternalLayout } from '../../types/global'; import { getDuplicatedIds } from '../../utils/formLayoutUtils'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import classes from './FormLayoutWarning.module.css'; diff --git a/frontend/packages/ux-editor/src/containers/DesignView/FormTree/UnknownReferencedItem/UnknownReferencedItem.tsx b/frontend/packages/ux-editor/src/containers/DesignView/FormTree/UnknownReferencedItem/UnknownReferencedItem.tsx index a612494dfa1..b8c13f8fa3f 100644 --- a/frontend/packages/ux-editor/src/containers/DesignView/FormTree/UnknownReferencedItem/UnknownReferencedItem.tsx +++ b/frontend/packages/ux-editor/src/containers/DesignView/FormTree/UnknownReferencedItem/UnknownReferencedItem.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import { HelpText } from '@digdir/design-system-react'; +import { HelpText } from '@digdir/designsystemet-react'; import { StudioButton } from '@studio/components'; import { QuestionmarkDiamondIcon, TrashIcon } from '@studio/icons'; import type { IInternalLayout } from '../../../../types/global'; diff --git a/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/NavigationMenu/NavigationMenu.tsx b/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/NavigationMenu/NavigationMenu.tsx index e3bae9ccb0d..2c29c3d7d38 100644 --- a/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/NavigationMenu/NavigationMenu.tsx +++ b/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/NavigationMenu/NavigationMenu.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { DropdownMenu } from '@digdir/design-system-react'; +import { DropdownMenu } from '@digdir/designsystemet-react'; import { MenuElipsisVerticalIcon, ArrowUpIcon, ArrowDownIcon } from '@studio/icons'; import { useFormLayoutSettingsQuery } from '../../../../hooks/queries/useFormLayoutSettingsQuery'; import { useUpdateLayoutOrderMutation } from '../../../../hooks/mutations/useUpdateLayoutOrderMutation'; diff --git a/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/PageAccordion.tsx b/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/PageAccordion.tsx index b72a1872f6a..eb11e0b3df8 100644 --- a/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/PageAccordion.tsx +++ b/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/PageAccordion.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './PageAccordion.module.css'; import cn from 'classnames'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { NavigationMenu } from './NavigationMenu'; import { pageAccordionContentId } from '@studio/testing/testids'; import { TrashIcon } from '@studio/icons'; diff --git a/frontend/packages/ux-editor/src/containers/DesignView/ReceiptContent/ReceiptContent.tsx b/frontend/packages/ux-editor/src/containers/DesignView/ReceiptContent/ReceiptContent.tsx index 2b4e3bee2dd..9c7a239dc9d 100644 --- a/frontend/packages/ux-editor/src/containers/DesignView/ReceiptContent/ReceiptContent.tsx +++ b/frontend/packages/ux-editor/src/containers/DesignView/ReceiptContent/ReceiptContent.tsx @@ -2,7 +2,7 @@ import React from 'react'; import classes from './ReceiptContent.module.css'; import type { FormLayoutPage } from '../../../types/FormLayoutPage'; import { PageAccordion } from '../PageAccordion'; -import { Accordion } from '@digdir/design-system-react'; +import { Accordion } from '@digdir/designsystemet-react'; import { FormTree } from '../FormTree'; export type ReceiptContentProps = { diff --git a/frontend/resourceadm/components/AccessListDetails/AccessListDetail.tsx b/frontend/resourceadm/components/AccessListDetails/AccessListDetail.tsx index ae262a98ff5..c9973dda6b3 100644 --- a/frontend/resourceadm/components/AccessListDetails/AccessListDetail.tsx +++ b/frontend/resourceadm/components/AccessListDetails/AccessListDetail.tsx @@ -2,7 +2,7 @@ import React, { useRef, useState } from 'react'; import { useNavigate, Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { toast } from 'react-toastify'; -import { Textfield, Modal, Heading, Link as DigdirLink } from '@digdir/design-system-react'; +import { Textfield, Modal, Heading, Link as DigdirLink } from '@digdir/designsystemet-react'; import classes from './AccessListDetail.module.css'; import type { AccessList, ResourceError } from 'app-shared/types/ResourceAdm'; import { FieldWrapper } from '../FieldWrapper'; diff --git a/frontend/resourceadm/components/AccessListEnvLinks/AccessListEnvLinks.tsx b/frontend/resourceadm/components/AccessListEnvLinks/AccessListEnvLinks.tsx index 3c5a958543b..0c4324b2d52 100644 --- a/frontend/resourceadm/components/AccessListEnvLinks/AccessListEnvLinks.tsx +++ b/frontend/resourceadm/components/AccessListEnvLinks/AccessListEnvLinks.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; -import { Alert, List, Paragraph } from '@digdir/design-system-react'; +import { Alert, List, Paragraph } from '@digdir/designsystemet-react'; import { getResourcePageURL } from '../../utils/urlUtils'; import { useUrlParams } from '../../hooks/useUrlParams'; import { getAvailableEnvironments } from '../../utils/resourceUtils'; diff --git a/frontend/resourceadm/components/AccessListErrorMessage/AccessListErrorMessage.tsx b/frontend/resourceadm/components/AccessListErrorMessage/AccessListErrorMessage.tsx index 68af8229d22..950f0097261 100644 --- a/frontend/resourceadm/components/AccessListErrorMessage/AccessListErrorMessage.tsx +++ b/frontend/resourceadm/components/AccessListErrorMessage/AccessListErrorMessage.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { getEnvLabel } from '../../utils/resourceUtils'; import { type EnvId } from '../../utils/resourceUtils'; import type { ResourceError } from 'app-shared/types/ResourceAdm'; diff --git a/frontend/resourceadm/components/AccessListMembers/AccessListMembers.tsx b/frontend/resourceadm/components/AccessListMembers/AccessListMembers.tsx index 41756926101..6a189fe19db 100644 --- a/frontend/resourceadm/components/AccessListMembers/AccessListMembers.tsx +++ b/frontend/resourceadm/components/AccessListMembers/AccessListMembers.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { toast } from 'react-toastify'; -import { Alert, Textfield, Radio } from '@digdir/design-system-react'; +import { Alert, Textfield, Radio } from '@digdir/designsystemet-react'; import classes from './AccessListMembers.module.css'; import type { AccessList, AccessListMember, ResourceError } from 'app-shared/types/ResourceAdm'; import { FieldWrapper } from '../FieldWrapper'; diff --git a/frontend/resourceadm/components/AccessListMembers/AccessListMembersTable.tsx b/frontend/resourceadm/components/AccessListMembers/AccessListMembersTable.tsx index 7a85ec40eeb..890e5214dd2 100644 --- a/frontend/resourceadm/components/AccessListMembers/AccessListMembersTable.tsx +++ b/frontend/resourceadm/components/AccessListMembers/AccessListMembersTable.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; import cn from 'classnames'; -import { ErrorMessage } from '@digdir/design-system-react'; +import { ErrorMessage } from '@digdir/designsystemet-react'; import type { AccessListMember } from 'app-shared/types/ResourceAdm'; import { StudioButton, StudioTableLocalPagination } from '@studio/components'; import type { Columns } from '@studio/components'; diff --git a/frontend/resourceadm/components/ErrorMessage/ErrorMessage.tsx b/frontend/resourceadm/components/ErrorMessage/ErrorMessage.tsx index 41d34a1e911..69d34d461f4 100644 --- a/frontend/resourceadm/components/ErrorMessage/ErrorMessage.tsx +++ b/frontend/resourceadm/components/ErrorMessage/ErrorMessage.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './errorMessage.module.css'; -import { Heading, Paragraph } from '@digdir/design-system-react'; +import { Heading, Paragraph } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; type ErrorMessageProps = { diff --git a/frontend/resourceadm/components/FieldWrapper/FieldWrapper.tsx b/frontend/resourceadm/components/FieldWrapper/FieldWrapper.tsx index 77ba370f49e..3de274bf15d 100644 --- a/frontend/resourceadm/components/FieldWrapper/FieldWrapper.tsx +++ b/frontend/resourceadm/components/FieldWrapper/FieldWrapper.tsx @@ -1,6 +1,6 @@ import type { ReactNode } from 'react'; import React from 'react'; -import { Label, Paragraph } from '@digdir/design-system-react'; +import { Label, Paragraph } from '@digdir/designsystemet-react'; interface FieldWrapperProps { label: string; diff --git a/frontend/resourceadm/components/FieldsetWrapper/FieldsetWrapper.tsx b/frontend/resourceadm/components/FieldsetWrapper/FieldsetWrapper.tsx index a2f14afded4..e02e3a50b02 100644 --- a/frontend/resourceadm/components/FieldsetWrapper/FieldsetWrapper.tsx +++ b/frontend/resourceadm/components/FieldsetWrapper/FieldsetWrapper.tsx @@ -1,6 +1,6 @@ import React, { useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { Modal } from '@digdir/design-system-react'; +import { Modal } from '@digdir/designsystemet-react'; import classes from './FieldsetWrapper.module.css'; import { StudioButton } from '@studio/components'; import { TrashIcon, PlusIcon } from '@studio/icons'; diff --git a/frontend/resourceadm/components/ImportAltinn3ResourceModal/ImportAltinn3ResourceModal.tsx b/frontend/resourceadm/components/ImportAltinn3ResourceModal/ImportAltinn3ResourceModal.tsx index dd7b37fb49e..d2917a6370e 100644 --- a/frontend/resourceadm/components/ImportAltinn3ResourceModal/ImportAltinn3ResourceModal.tsx +++ b/frontend/resourceadm/components/ImportAltinn3ResourceModal/ImportAltinn3ResourceModal.tsx @@ -1,6 +1,6 @@ import React, { forwardRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { Modal, Radio } from '@digdir/design-system-react'; +import { Modal, Radio } from '@digdir/designsystemet-react'; import { StudioButton } from '@studio/components'; import { getEnvLabel } from '../../utils/resourceUtils'; import type { EnvId } from '../../utils/resourceUtils'; diff --git a/frontend/resourceadm/components/ImportResourceModal/ImportResourceModal.tsx b/frontend/resourceadm/components/ImportResourceModal/ImportResourceModal.tsx index b2d98195eb0..a76f4703e97 100644 --- a/frontend/resourceadm/components/ImportResourceModal/ImportResourceModal.tsx +++ b/frontend/resourceadm/components/ImportResourceModal/ImportResourceModal.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { toast } from 'react-toastify'; import classes from './ImportResourceModal.module.css'; import { Modal } from '../Modal'; -import { Combobox, Paragraph, Textfield } from '@digdir/design-system-react'; +import { Combobox, Paragraph, Textfield } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import type { EnvironmentType } from '../../types/EnvironmentType'; import { useNavigate } from 'react-router-dom'; diff --git a/frontend/resourceadm/components/ImportResourceModal/ServiceContent/ServiceContent.tsx b/frontend/resourceadm/components/ImportResourceModal/ServiceContent/ServiceContent.tsx index 7c19fce7165..73b6e0e11d8 100644 --- a/frontend/resourceadm/components/ImportResourceModal/ServiceContent/ServiceContent.tsx +++ b/frontend/resourceadm/components/ImportResourceModal/ServiceContent/ServiceContent.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './ServiceContent.module.css'; -import { Alert, ErrorMessage, Combobox, Paragraph, Spinner } from '@digdir/design-system-react'; +import { Alert, ErrorMessage, Combobox, Paragraph, Spinner } from '@digdir/designsystemet-react'; import { StudioCenter } from '@studio/components'; import { useTranslation } from 'react-i18next'; import { useGetAltinn2LinkServicesQuery } from '../../../hooks/queries'; diff --git a/frontend/resourceadm/components/LinkButton/LinkButton.tsx b/frontend/resourceadm/components/LinkButton/LinkButton.tsx index 5ddc94540f0..65d6ee0a94c 100644 --- a/frontend/resourceadm/components/LinkButton/LinkButton.tsx +++ b/frontend/resourceadm/components/LinkButton/LinkButton.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './LinkButton.module.css'; -import { Link } from '@digdir/design-system-react'; +import { Link } from '@digdir/designsystemet-react'; export type LinkButtonProps = { /** diff --git a/frontend/resourceadm/components/MergeConflictModal/MergeConflictModal.tsx b/frontend/resourceadm/components/MergeConflictModal/MergeConflictModal.tsx index 07ebab03380..decdcee9eb1 100644 --- a/frontend/resourceadm/components/MergeConflictModal/MergeConflictModal.tsx +++ b/frontend/resourceadm/components/MergeConflictModal/MergeConflictModal.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { toast } from 'react-toastify'; import classes from './MergeConflictModal.module.css'; import { useTranslation } from 'react-i18next'; -import { Link, Paragraph, Label } from '@digdir/design-system-react'; +import { Link, Paragraph, Label } from '@digdir/designsystemet-react'; import { repoDownloadPath } from 'app-shared/api/paths'; import { RemoveChangesModal } from './RemoveChangesModal'; import { Modal } from '../Modal'; diff --git a/frontend/resourceadm/components/MergeConflictModal/RemoveChangesModal/RemoveChangesModal.tsx b/frontend/resourceadm/components/MergeConflictModal/RemoveChangesModal/RemoveChangesModal.tsx index 6d9095a5e16..679082def63 100644 --- a/frontend/resourceadm/components/MergeConflictModal/RemoveChangesModal/RemoveChangesModal.tsx +++ b/frontend/resourceadm/components/MergeConflictModal/RemoveChangesModal/RemoveChangesModal.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { Trans, useTranslation } from 'react-i18next'; -import { Textfield, Paragraph } from '@digdir/design-system-react'; +import { Textfield, Paragraph } from '@digdir/designsystemet-react'; import classes from './RemoveChangesModal.module.css'; import { Modal } from '../../../components/Modal'; import { StudioButton } from '@studio/components'; diff --git a/frontend/resourceadm/components/MigrationStep/MigrationStep.tsx b/frontend/resourceadm/components/MigrationStep/MigrationStep.tsx index 460113f659e..5b17b3b2ce4 100644 --- a/frontend/resourceadm/components/MigrationStep/MigrationStep.tsx +++ b/frontend/resourceadm/components/MigrationStep/MigrationStep.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { Trans } from 'react-i18next'; -import { Alert, Paragraph } from '@digdir/design-system-react'; +import { Alert, Paragraph } from '@digdir/designsystemet-react'; import { LinkButton } from '../LinkButton'; import { StudioLabelAsParagraph } from '@studio/components'; diff --git a/frontend/resourceadm/components/Modal/Modal.tsx b/frontend/resourceadm/components/Modal/Modal.tsx index e8649b9e5be..5b96d79909e 100644 --- a/frontend/resourceadm/components/Modal/Modal.tsx +++ b/frontend/resourceadm/components/Modal/Modal.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from 'react'; import React from 'react'; import classes from './Modal.module.css'; import cn from 'classnames'; -import { Heading } from '@digdir/design-system-react'; +import { Heading } from '@digdir/designsystemet-react'; import { StudioModal } from '@studio/components'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/resourceadm/components/NavigationModal/NavigationModal.tsx b/frontend/resourceadm/components/NavigationModal/NavigationModal.tsx index f901fed0d9b..75ae9aa047c 100644 --- a/frontend/resourceadm/components/NavigationModal/NavigationModal.tsx +++ b/frontend/resourceadm/components/NavigationModal/NavigationModal.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './NavigationModal.module.css'; -import { Paragraph } from '@digdir/design-system-react'; +import { Paragraph } from '@digdir/designsystemet-react'; import { Modal } from '../Modal'; import { useTranslation } from 'react-i18next'; import { StudioButton } from '@studio/components'; diff --git a/frontend/resourceadm/components/NewAccessListModal/NewAccessListModal.tsx b/frontend/resourceadm/components/NewAccessListModal/NewAccessListModal.tsx index 81ec3bc9b5f..8e5b9d5abfa 100644 --- a/frontend/resourceadm/components/NewAccessListModal/NewAccessListModal.tsx +++ b/frontend/resourceadm/components/NewAccessListModal/NewAccessListModal.tsx @@ -3,7 +3,7 @@ import { useNavigate } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { toast } from 'react-toastify'; import { useCreateAccessListMutation } from '../../hooks/mutations/useCreateAccessListMutation'; -import { Modal, Paragraph } from '@digdir/design-system-react'; +import { Modal, Paragraph } from '@digdir/designsystemet-react'; import { ResourceNameAndId } from '../../components/ResourceNameAndId'; import { ServerCodes } from 'app-shared/enums/ServerCodes'; import { StudioButton } from '@studio/components'; diff --git a/frontend/resourceadm/components/NewResourceModal/NewResourceModal.tsx b/frontend/resourceadm/components/NewResourceModal/NewResourceModal.tsx index 22d68d49c9a..886b50d8203 100644 --- a/frontend/resourceadm/components/NewResourceModal/NewResourceModal.tsx +++ b/frontend/resourceadm/components/NewResourceModal/NewResourceModal.tsx @@ -1,7 +1,7 @@ import React, { forwardRef, useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { toast } from 'react-toastify'; -import { Paragraph, Modal } from '@digdir/design-system-react'; +import { Paragraph, Modal } from '@digdir/designsystemet-react'; import { ResourceNameAndId } from '../ResourceNameAndId'; import { useCreateResourceMutation } from '../../hooks/mutations'; import type { NewResource } from 'app-shared/types/ResourceAdm'; diff --git a/frontend/resourceadm/components/ResourceAccessLists/ResourceAccessLists.tsx b/frontend/resourceadm/components/ResourceAccessLists/ResourceAccessLists.tsx index d3781038269..df252127542 100644 --- a/frontend/resourceadm/components/ResourceAccessLists/ResourceAccessLists.tsx +++ b/frontend/resourceadm/components/ResourceAccessLists/ResourceAccessLists.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState, useRef } from 'react'; import { Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; -import { Checkbox, Heading, Link as DigdirLink } from '@digdir/design-system-react'; +import { Checkbox, Heading, Link as DigdirLink } from '@digdir/designsystemet-react'; import classes from './ResourceAccessLists.module.css'; import { StudioSpinner, StudioButton } from '@studio/components'; import { PencilWritingIcon, PlusIcon } from '@studio/icons'; diff --git a/frontend/resourceadm/components/ResourceContactPointFields/ResourceContactPointFieldset.tsx b/frontend/resourceadm/components/ResourceContactPointFields/ResourceContactPointFieldset.tsx index a025a709df6..d0cedf01283 100644 --- a/frontend/resourceadm/components/ResourceContactPointFields/ResourceContactPointFieldset.tsx +++ b/frontend/resourceadm/components/ResourceContactPointFields/ResourceContactPointFieldset.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import type { ResourceContactPoint, ResourceFormError } from 'app-shared/types/ResourceAdm'; -import { Fieldset, HelpText, Textfield } from '@digdir/design-system-react'; +import { Fieldset, HelpText, Textfield } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { InputFieldErrorMessage } from '../ResourcePageInputs/InputFieldErrorMessage'; import { ResourceFieldHeader } from '../ResourcePageInputs/ResourceFieldHeader'; diff --git a/frontend/resourceadm/components/ResourceDeployEnvCard/ResourceDeployEnvCard.tsx b/frontend/resourceadm/components/ResourceDeployEnvCard/ResourceDeployEnvCard.tsx index 57183656f00..4017eb363ee 100644 --- a/frontend/resourceadm/components/ResourceDeployEnvCard/ResourceDeployEnvCard.tsx +++ b/frontend/resourceadm/components/ResourceDeployEnvCard/ResourceDeployEnvCard.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import { toast } from 'react-toastify'; import { useTranslation } from 'react-i18next'; -import { Tag, Paragraph, Spinner, Alert } from '@digdir/design-system-react'; +import { Tag, Paragraph, Spinner, Alert } from '@digdir/designsystemet-react'; import classes from './ResourceDeployEnvCard.module.css'; import { ArrowRightIcon } from '@studio/icons'; import { StudioButton } from '@studio/components'; diff --git a/frontend/resourceadm/components/ResourceDeployStatus/ResourceDeployStatus.tsx b/frontend/resourceadm/components/ResourceDeployStatus/ResourceDeployStatus.tsx index 3a4848040ce..0b53158381a 100644 --- a/frontend/resourceadm/components/ResourceDeployStatus/ResourceDeployStatus.tsx +++ b/frontend/resourceadm/components/ResourceDeployStatus/ResourceDeployStatus.tsx @@ -4,7 +4,7 @@ import classes from './ResourceDeployStatus.module.css'; import { ArrowRightIcon } from '@studio/icons'; import type { NavigationBarPage } from '../../types/NavigationBarPage'; import type { DeployError } from '../../types/DeployError'; -import { Alert, Paragraph } from '@digdir/design-system-react'; +import { Alert, Paragraph } from '@digdir/designsystemet-react'; import { LinkButton } from '../LinkButton'; import { StudioLabelAsParagraph } from '@studio/components'; diff --git a/frontend/resourceadm/components/ResourceNameAndId/ResourceNameAndId.tsx b/frontend/resourceadm/components/ResourceNameAndId/ResourceNameAndId.tsx index 74070c5700c..79f2870f97c 100644 --- a/frontend/resourceadm/components/ResourceNameAndId/ResourceNameAndId.tsx +++ b/frontend/resourceadm/components/ResourceNameAndId/ResourceNameAndId.tsx @@ -1,4 +1,4 @@ -import { Paragraph, Textfield } from '@digdir/design-system-react'; +import { Paragraph, Textfield } from '@digdir/designsystemet-react'; import { StudioButton } from '@studio/components'; import { CheckmarkIcon, MultiplyIcon, PencilWritingIcon } from '@studio/icons'; import React, { useEffect, useState } from 'react'; diff --git a/frontend/resourceadm/components/ResourcePageInputs/InputFieldErrorMessage.tsx b/frontend/resourceadm/components/ResourcePageInputs/InputFieldErrorMessage.tsx index 9c68ce298f5..b1012d16a9e 100644 --- a/frontend/resourceadm/components/ResourcePageInputs/InputFieldErrorMessage.tsx +++ b/frontend/resourceadm/components/ResourcePageInputs/InputFieldErrorMessage.tsx @@ -1,4 +1,4 @@ -import { ErrorMessage } from '@digdir/design-system-react'; +import { ErrorMessage } from '@digdir/designsystemet-react'; import classes from './ResourcePageInputs.module.css'; import React from 'react'; diff --git a/frontend/resourceadm/components/ResourcePageInputs/ResourceCheckboxGroup.tsx b/frontend/resourceadm/components/ResourcePageInputs/ResourceCheckboxGroup.tsx index 7625dffb14e..e6a3d1035fb 100644 --- a/frontend/resourceadm/components/ResourcePageInputs/ResourceCheckboxGroup.tsx +++ b/frontend/resourceadm/components/ResourcePageInputs/ResourceCheckboxGroup.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './ResourcePageInputs.module.css'; -import { Checkbox } from '@digdir/design-system-react'; +import { Checkbox } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { InputFieldErrorMessage } from './InputFieldErrorMessage'; import { ResourceFieldHeader } from './ResourceFieldHeader'; diff --git a/frontend/resourceadm/components/ResourcePageInputs/ResourceFieldHeader.tsx b/frontend/resourceadm/components/ResourcePageInputs/ResourceFieldHeader.tsx index 413b0e7b954..6efc3c64476 100644 --- a/frontend/resourceadm/components/ResourcePageInputs/ResourceFieldHeader.tsx +++ b/frontend/resourceadm/components/ResourcePageInputs/ResourceFieldHeader.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import { Tag } from '@digdir/design-system-react'; +import { Tag } from '@digdir/designsystemet-react'; import classes from './ResourcePageInputs.module.css'; interface ResourceFieldHeaderProps { diff --git a/frontend/resourceadm/components/ResourcePageInputs/ResourceLanguageTextField.tsx b/frontend/resourceadm/components/ResourcePageInputs/ResourceLanguageTextField.tsx index df2e3022e17..0f075c68429 100644 --- a/frontend/resourceadm/components/ResourcePageInputs/ResourceLanguageTextField.tsx +++ b/frontend/resourceadm/components/ResourcePageInputs/ResourceLanguageTextField.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import classes from './ResourcePageInputs.module.css'; -import { Textarea, Textfield } from '@digdir/design-system-react'; +import { Textarea, Textfield } from '@digdir/designsystemet-react'; import { RightTranslationBar } from '../RightTranslationBar'; import type { ResourceFormError, SupportedLanguage } from 'app-shared/types/ResourceAdm'; import { ResourceFieldHeader } from './ResourceFieldHeader'; diff --git a/frontend/resourceadm/components/ResourcePageInputs/ResourceRadioGroup.tsx b/frontend/resourceadm/components/ResourcePageInputs/ResourceRadioGroup.tsx index 456dfd31e8c..81da3027d24 100644 --- a/frontend/resourceadm/components/ResourcePageInputs/ResourceRadioGroup.tsx +++ b/frontend/resourceadm/components/ResourcePageInputs/ResourceRadioGroup.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import classes from './ResourcePageInputs.module.css'; -import { Radio } from '@digdir/design-system-react'; +import { Radio } from '@digdir/designsystemet-react'; import { InputFieldErrorMessage } from './InputFieldErrorMessage'; import { ResourceFieldHeader } from './ResourceFieldHeader'; import type { ResourceFormError } from 'app-shared/types/ResourceAdm'; diff --git a/frontend/resourceadm/components/ResourcePageInputs/ResourceSwitchInput.tsx b/frontend/resourceadm/components/ResourcePageInputs/ResourceSwitchInput.tsx index 22571316891..1f17db217a9 100644 --- a/frontend/resourceadm/components/ResourcePageInputs/ResourceSwitchInput.tsx +++ b/frontend/resourceadm/components/ResourcePageInputs/ResourceSwitchInput.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import classes from './ResourcePageInputs.module.css'; -import { Label, Paragraph, Switch } from '@digdir/design-system-react'; +import { Label, Paragraph, Switch } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; type ResourceSwitchInputProps = { diff --git a/frontend/resourceadm/components/ResourcePageInputs/ResourceTextField.tsx b/frontend/resourceadm/components/ResourcePageInputs/ResourceTextField.tsx index 906537c7dda..5ddb983d036 100644 --- a/frontend/resourceadm/components/ResourcePageInputs/ResourceTextField.tsx +++ b/frontend/resourceadm/components/ResourcePageInputs/ResourceTextField.tsx @@ -1,6 +1,6 @@ import React, { useState, forwardRef } from 'react'; import classes from './ResourcePageInputs.module.css'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; import { InputFieldErrorMessage } from './InputFieldErrorMessage'; import { ResourceFieldHeader } from './ResourceFieldHeader'; diff --git a/frontend/resourceadm/components/ResourceReferenceFields/ResourceReferenceFieldset.tsx b/frontend/resourceadm/components/ResourceReferenceFields/ResourceReferenceFieldset.tsx index 88c52ac7657..ce563584eea 100644 --- a/frontend/resourceadm/components/ResourceReferenceFields/ResourceReferenceFieldset.tsx +++ b/frontend/resourceadm/components/ResourceReferenceFields/ResourceReferenceFieldset.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { Fieldset, Textfield, NativeSelect } from '@digdir/design-system-react'; +import { Fieldset, Textfield, NativeSelect } from '@digdir/designsystemet-react'; import type { ResourceFormError, ResourceReference, diff --git a/frontend/resourceadm/components/ResourceSeachBox/ResourceSeachBox.tsx b/frontend/resourceadm/components/ResourceSeachBox/ResourceSeachBox.tsx index 445599a654c..de9f4ed4159 100644 --- a/frontend/resourceadm/components/ResourceSeachBox/ResourceSeachBox.tsx +++ b/frontend/resourceadm/components/ResourceSeachBox/ResourceSeachBox.tsx @@ -1,7 +1,7 @@ import type { ChangeEvent } from 'react'; import React from 'react'; import classes from './ResourceSeachBox.module.css'; -import { Textfield } from '@digdir/design-system-react'; +import { Textfield } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; export type SearchBoxProps = { diff --git a/frontend/resourceadm/components/ResourceTable/ResourceTable.tsx b/frontend/resourceadm/components/ResourceTable/ResourceTable.tsx index bc8bb75bb4f..4d0e1b87109 100644 --- a/frontend/resourceadm/components/ResourceTable/ResourceTable.tsx +++ b/frontend/resourceadm/components/ResourceTable/ResourceTable.tsx @@ -1,7 +1,7 @@ import React from 'react'; import classes from './ResourceTable.module.css'; import { PencilIcon, FileImportIcon } from '@studio/icons'; -import { Tag } from '@digdir/design-system-react'; +import { Tag } from '@digdir/designsystemet-react'; import { StudioButton, StudioSpinner, StudioTableLocalPagination } from '@studio/components'; import type { Columns } from '@studio/components'; import type { ResourceListItem } from 'app-shared/types/ResourceAdm'; diff --git a/frontend/resourceadm/components/RightTranslationBar/RightTranslationBar.tsx b/frontend/resourceadm/components/RightTranslationBar/RightTranslationBar.tsx index 27f2a362bc1..79a99da3a5a 100644 --- a/frontend/resourceadm/components/RightTranslationBar/RightTranslationBar.tsx +++ b/frontend/resourceadm/components/RightTranslationBar/RightTranslationBar.tsx @@ -1,7 +1,7 @@ import React from 'react'; import classes from './RightTranslationBar.module.css'; import { GlobeIcon } from '@studio/icons'; -import { Textfield, Alert, Paragraph, Heading, Textarea } from '@digdir/design-system-react'; +import { Textfield, Alert, Paragraph, Heading, Textarea } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; import { mapLanguageKeyToLanguageText } from '../../utils/resourceUtils'; import type { diff --git a/frontend/resourceadm/pages/AboutResourcePage/AboutResourcePage.tsx b/frontend/resourceadm/pages/AboutResourcePage/AboutResourcePage.tsx index aaa4210cf7f..bb280a13d1a 100644 --- a/frontend/resourceadm/pages/AboutResourcePage/AboutResourcePage.tsx +++ b/frontend/resourceadm/pages/AboutResourcePage/AboutResourcePage.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import classes from './AboutResourcePage.module.css'; -import { ErrorSummary, Heading } from '@digdir/design-system-react'; +import { ErrorSummary, Heading } from '@digdir/designsystemet-react'; import type { Translation } from '../../types/Translation'; import type { Resource, diff --git a/frontend/resourceadm/pages/AccessListPage/AccessListPage.tsx b/frontend/resourceadm/pages/AccessListPage/AccessListPage.tsx index ba0ae496b65..2f233047457 100644 --- a/frontend/resourceadm/pages/AccessListPage/AccessListPage.tsx +++ b/frontend/resourceadm/pages/AccessListPage/AccessListPage.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import { Alert } from '@digdir/design-system-react'; +import { Alert } from '@digdir/designsystemet-react'; import { StudioSpinner } from '@studio/components'; import { AccessListDetail } from '../../components/AccessListDetails'; import { useGetAccessListQuery } from '../../hooks/queries/useGetAccessListQuery'; diff --git a/frontend/resourceadm/pages/DeployResourcePage/DeployResourcePage.tsx b/frontend/resourceadm/pages/DeployResourcePage/DeployResourcePage.tsx index b8785d4b046..b8af8828b24 100644 --- a/frontend/resourceadm/pages/DeployResourcePage/DeployResourcePage.tsx +++ b/frontend/resourceadm/pages/DeployResourcePage/DeployResourcePage.tsx @@ -11,7 +11,7 @@ import { Link, Alert, ErrorMessage, -} from '@digdir/design-system-react'; +} from '@digdir/designsystemet-react'; import type { NavigationBarPage } from '../../types/NavigationBarPage'; import type { DeployError } from '../../types/DeployError'; import { diff --git a/frontend/resourceadm/pages/ErrorPage/ErrorPage.tsx b/frontend/resourceadm/pages/ErrorPage/ErrorPage.tsx index 06961624654..ad9dcd8a43e 100644 --- a/frontend/resourceadm/pages/ErrorPage/ErrorPage.tsx +++ b/frontend/resourceadm/pages/ErrorPage/ErrorPage.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './ErrorPage.module.css'; -import { Heading, Link } from '@digdir/design-system-react'; +import { Heading, Link } from '@digdir/designsystemet-react'; import { useTranslation } from 'react-i18next'; /** diff --git a/frontend/resourceadm/pages/ListAdminPage/ListAdminPage.tsx b/frontend/resourceadm/pages/ListAdminPage/ListAdminPage.tsx index 396ef29f989..35f0f9ba469 100644 --- a/frontend/resourceadm/pages/ListAdminPage/ListAdminPage.tsx +++ b/frontend/resourceadm/pages/ListAdminPage/ListAdminPage.tsx @@ -1,7 +1,7 @@ import React, { useRef, useEffect, useCallback } from 'react'; import { Link, useNavigate } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; -import { Heading, Link as DigdirLink, ToggleGroup } from '@digdir/design-system-react'; +import { Heading, Link as DigdirLink, ToggleGroup } from '@digdir/designsystemet-react'; import { StudioSpinner, StudioButton } from '@studio/components'; import { PencilWritingIcon, PlusIcon } from '@studio/icons'; import classes from './ListAdminPage.module.css'; diff --git a/frontend/resourceadm/pages/MigrationPage/MigrationPage.tsx b/frontend/resourceadm/pages/MigrationPage/MigrationPage.tsx index 2b5bf3ac208..3c1c6b7f974 100644 --- a/frontend/resourceadm/pages/MigrationPage/MigrationPage.tsx +++ b/frontend/resourceadm/pages/MigrationPage/MigrationPage.tsx @@ -14,7 +14,7 @@ import { Label, Link, Radio, -} from '@digdir/design-system-react'; +} from '@digdir/designsystemet-react'; import type { NavigationBarPage } from '../../types/NavigationBarPage'; import { useTranslation } from 'react-i18next'; import { useUrlParams } from '../../hooks/useUrlParams'; diff --git a/frontend/resourceadm/pages/PolicyEditorPage/PolicyEditorPage.tsx b/frontend/resourceadm/pages/PolicyEditorPage/PolicyEditorPage.tsx index 0576e149bfb..d187a5b86ff 100644 --- a/frontend/resourceadm/pages/PolicyEditorPage/PolicyEditorPage.tsx +++ b/frontend/resourceadm/pages/PolicyEditorPage/PolicyEditorPage.tsx @@ -6,7 +6,7 @@ import { mergeSubjectsFromPolicyWithSubjectOptions, } from '@altinn/policy-editor'; import type { Policy } from '@altinn/policy-editor'; -import { Spinner, Heading } from '@digdir/design-system-react'; +import { Spinner, Heading } from '@digdir/designsystemet-react'; import { useResourcePolicyQuery } from '../../hooks/queries'; import { useEditResourcePolicyMutation } from '../../hooks/mutations'; import { useTranslation } from 'react-i18next'; diff --git a/frontend/resourceadm/pages/ResourceDashboardPage/ResourceDashboardPage.tsx b/frontend/resourceadm/pages/ResourceDashboardPage/ResourceDashboardPage.tsx index ff47c6aaa22..b3ce59c3e05 100644 --- a/frontend/resourceadm/pages/ResourceDashboardPage/ResourceDashboardPage.tsx +++ b/frontend/resourceadm/pages/ResourceDashboardPage/ResourceDashboardPage.tsx @@ -3,7 +3,7 @@ import { useNavigate, Link } from 'react-router-dom'; import { toast } from 'react-toastify'; import classes from './ResourceDashboardPage.module.css'; import { PlusCircleIcon, MigrationIcon, TasklistIcon } from '@studio/icons'; -import { Spinner, Heading } from '@digdir/design-system-react'; +import { Spinner, Heading } from '@digdir/designsystemet-react'; import { ResourceTable } from '../../components/ResourceTable'; import { SearchBox } from '../../components/ResourceSeachBox'; import { useGetResourceListQuery, useOrganizationsQuery } from '../../hooks/queries'; diff --git a/frontend/resourceadm/pages/ResourcePage/ResourcePage.tsx b/frontend/resourceadm/pages/ResourcePage/ResourcePage.tsx index 8b25ce094a4..9ab1872adc5 100644 --- a/frontend/resourceadm/pages/ResourcePage/ResourcePage.tsx +++ b/frontend/resourceadm/pages/ResourcePage/ResourcePage.tsx @@ -13,7 +13,7 @@ import { import { MergeConflictModal } from '../../components/MergeConflictModal'; import { AboutResourcePage } from '../AboutResourcePage'; import { NavigationModal } from '../../components/NavigationModal'; -import { Spinner } from '@digdir/design-system-react'; +import { Spinner } from '@digdir/designsystemet-react'; import { useEditResourceMutation } from '../../hooks/mutations'; import { MigrationPage } from '../MigrationPage'; import { useRepoStatusQuery } from 'app-shared/hooks/queries'; diff --git a/frontend/studio-root/app/App.tsx b/frontend/studio-root/app/App.tsx index 2ea92384cbf..f20c8a16205 100644 --- a/frontend/studio-root/app/App.tsx +++ b/frontend/studio-root/app/App.tsx @@ -2,7 +2,7 @@ import React from 'react'; import classes from './App.module.css'; import { Route, Routes } from 'react-router-dom'; import { StudioNotFoundPage } from '@studio/components'; -import { Paragraph, Link } from '@digdir/design-system-react'; +import { Paragraph, Link } from '@digdir/designsystemet-react'; import { useTranslation, Trans } from 'react-i18next'; import './App.css'; diff --git a/frontend/studio-root/pages/Contact/Contact.tsx b/frontend/studio-root/pages/Contact/Contact.tsx index fee8df7daa3..0e0a0570340 100644 --- a/frontend/studio-root/pages/Contact/Contact.tsx +++ b/frontend/studio-root/pages/Contact/Contact.tsx @@ -1,6 +1,6 @@ import React from 'react'; import classes from './Contact.module.css'; -import { Heading, Link, Paragraph } from '@digdir/design-system-react'; +import { Heading, Link, Paragraph } from '@digdir/designsystemet-react'; import { Trans, useTranslation } from 'react-i18next'; import { EnvelopeClosedIcon, SlackIcon, GitHubIcon } from '@studio/icons'; import { PageContainer } from 'app-shared/components/PageContainer/PageContainer'; diff --git a/package.json b/package.json index 08406cc0bec..2f8b3831a1f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "dependencies": { "@altinn/altinn-design-system": "0.30.0", "@altinn/figma-design-tokens": "6.0.1", - "@digdir/design-system-react": "0.53.12", + "@digdir/design-system-react": "0.54.0", "@digdir/design-system-tokens": "0.13.0", "@digdir/designsystemet-css": "0.10.0", "@digdir/designsystemet-react": "0.63.0", diff --git a/yarn.lock b/yarn.lock index b21d8640c3b..676f2d3a579 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3397,19 +3397,19 @@ __metadata: languageName: node linkType: hard -"@digdir/design-system-react@npm:0.53.12": - version: 0.53.12 - resolution: "@digdir/design-system-react@npm:0.53.12" +"@digdir/design-system-react@npm:0.54.0": + version: 0.54.0 + resolution: "@digdir/design-system-react@npm:0.54.0" dependencies: "@altinn/figma-design-tokens": "npm:^6.0.1" - "@digdir/designsystemet-react": "npm:^0.62.0" + "@digdir/designsystemet-theme": "npm:0.15.3" "@floating-ui/react": "npm:0.26.4" "@navikt/aksel-icons": "npm:^5.12.2" react-number-format: "npm:5.3.1" peerDependencies: react: ">=18.3.1" react-dom: ">=18.3.1" - checksum: 10/72d40ab401b1e627820c6a22644d3a6617ae208ec28622c489f56127b0a5c661c84d057d44eeb653493f76de453ef09bf7f6d9551db998f7b1a47fac6ae79734 + checksum: 10/d2311330f2cd4c9ccb5cc593cfdedf2b546316c49a92ae9d8db67059d12298f533377258d8554484d4154ffc78b0a9ff9df34ac656d8f0af236fa947a9ffaf31 languageName: node linkType: hard @@ -3449,21 +3449,6 @@ __metadata: languageName: node linkType: hard -"@digdir/designsystemet-react@npm:^0.62.0": - version: 0.62.0 - resolution: "@digdir/designsystemet-react@npm:0.62.0" - dependencies: - "@floating-ui/react": "npm:0.26.12" - "@navikt/aksel-icons": "npm:^5.12.2" - "@radix-ui/react-slot": "npm:^1.0.2" - "@tanstack/react-virtual": "npm:^3.2.0" - peerDependencies: - react: ">=18.3.1" - react-dom: ">=18.3.1" - checksum: 10/c1f488c482a5358c9b6d4fd9a15390bbe923cba824cd6dddb47cbbf55e7be07fd4e2e4358767498995d95209352890a1a662a2cc748e37ed005a07ae9e35303f - languageName: node - linkType: hard - "@digdir/designsystemet-theme@npm:0.15.3": version: 0.15.3 resolution: "@digdir/designsystemet-theme@npm:0.15.3" @@ -8946,7 +8931,7 @@ __metadata: dependencies: "@altinn/altinn-design-system": "npm:0.30.0" "@altinn/figma-design-tokens": "npm:6.0.1" - "@digdir/design-system-react": "npm:0.53.12" + "@digdir/design-system-react": "npm:0.54.0" "@digdir/design-system-tokens": "npm:0.13.0" "@digdir/designsystemet-css": "npm:0.10.0" "@digdir/designsystemet-react": "npm:0.63.0"