@equinor/amplify-component-lib 9.16.0-beta.0 → 9.16.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/hooks/useAmplifyKit.js +1 -1
- package/dist/atoms/hooks/useFaqsInApplication.js +1 -1
- package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
- package/dist/atoms/hooks/useOnScreenMultiple.js +1 -0
- package/dist/atoms/hooks/usePrefetchRichTextImages.js +1 -1
- package/dist/atoms/hooks/useRichTextImage.js +1 -0
- package/dist/atoms/hooks/useSelect.d.ts +3 -3
- package/dist/atoms/hooks/useSelect.js +1 -1
- package/dist/atoms/index.js +1 -1
- package/dist/atoms/style/animation.js +1 -0
- package/dist/atoms/style/colors.js +1 -0
- package/dist/atoms/style/darkTokens.js +219 -0
- package/dist/atoms/style/index.js +1 -1
- package/dist/atoms/style/lightTokens.js +158 -0
- package/dist/atoms/style/spacingTokens.js +50 -0
- package/dist/atoms/style/spacings.js +1 -0
- package/dist/atoms/utils/auth_environment.js +1 -1
- package/dist/atoms/utils/date.js +1 -1
- package/dist/atoms/utils/map.js +1 -1
- package/dist/atoms/utils/richtext.js +1 -1
- package/dist/atoms/utils/size.js +1 -1
- package/dist/atoms/utils/skeleton.js +1 -0
- package/dist/atoms/utils/url.js +1 -1
- package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
- package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.js +4 -4
- package/dist/deprecated/IconToggleButton.d.ts +2 -2
- package/dist/deprecated/IconToggleButton.js +1 -1
- package/dist/deprecated/OldStepper/OldStep.js +3 -3
- package/dist/deprecated/OldStepper/OldStepLine.js +2 -2
- package/dist/deprecated/OldStepper/OldStepper.js +3 -3
- package/dist/index.js +1 -1
- package/dist/molecules/ApplicationIcon/ApplicationIcon.js +1 -1
- package/dist/molecules/ApplicationIcon/ApplicationIconBase.js +4 -4
- package/dist/molecules/ApplicationIcon/ApplicationIconCollection.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Acquire.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Adca.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Bravos.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Dasha.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Fallback.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/FluxMaps.js +1 -0
- package/dist/molecules/ApplicationIcon/Icons/ForecastFormatter.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/FourDInsight.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/InPress.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/JsEmbark.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/LoggingQualification.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Orca.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Premo.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Pwex.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/Recap.js +1 -1
- package/dist/molecules/ApplicationIcon/Icons/SubsurfacePortal.js +1 -1
- package/dist/molecules/Badge/Badge.js +1 -1
- package/dist/molecules/Badge/Badge.styles.js +17 -0
- package/dist/molecules/Banner/Banner.js +1 -1
- package/dist/molecules/Banner/Banner.styles.js +3 -3
- package/dist/molecules/Button/Button.js +3 -3
- package/dist/molecules/Button/Button.utils.js +1 -0
- package/dist/molecules/Chip/Chip.d.ts +2 -2
- package/dist/molecules/Chip/Chip.js +1 -1
- package/dist/molecules/Chip/Chip.styles.js +65 -0
- package/dist/molecules/Chip/InteractiveChip.js +1 -0
- package/dist/molecules/Chip/ReadOnlyChip.js +1 -0
- package/dist/molecules/ContentMenu/ContentMenu.js +1 -1
- package/dist/molecules/ContentMenu/ContentMenu.styles.js +52 -0
- package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
- package/dist/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/molecules/DatePicker/DatePicker.styles.js +63 -0
- package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/dist/molecules/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/molecules/Dialog/Dialog.d.ts +3 -3
- package/dist/molecules/Dialog/Dialog.js +1 -1
- package/dist/molecules/Dialog/Dialog.styles.js +10 -10
- package/dist/molecules/Dialog/DialogAction.js +1 -1
- package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
- package/dist/molecules/EquinorLogo/EquinorLogo.js +1 -1
- package/dist/molecules/EquinorLogo/EquinorLogo.utils.js +1 -0
- package/dist/molecules/FileProgress/CompactFileProgress.js +1 -0
- package/dist/molecules/FileProgress/CompactFileProgress.styles.js +100 -0
- package/dist/molecules/FileProgress/FileProgress.js +1 -1
- package/dist/molecules/FileProgress/FileProgress.utils.js +1 -0
- package/dist/molecules/FileProgress/RegularFileProgress.js +1 -0
- package/dist/molecules/FileProgress/RegularFileProgress.styles.js +35 -0
- package/dist/molecules/FileUploadArea/FileUploadArea.constants.js +1 -0
- package/dist/molecules/FileUploadArea/FileUploadArea.js +1 -1
- package/dist/molecules/FileUploadArea/FileUploadArea.styles.js +18 -18
- package/dist/molecules/FileUploadArea/UploadIllustration.js +1 -0
- package/dist/molecules/FullPageSpinner/FullPageSpinner.js +8 -8
- package/dist/molecules/IconCell/IconCell.d.ts +2 -2
- package/dist/molecules/IconCell/IconCell.js +1 -1
- package/dist/molecules/IconCell/IconCell.styles.js +26 -26
- package/dist/molecules/IconCell/IconCell.utils.js +7 -7
- package/dist/molecules/InfoElement/CopyText.js +41 -0
- package/dist/molecules/InfoElement/InfoElement.js +1 -1
- package/dist/molecules/ListItem/ListItem.d.ts +2 -2
- package/dist/molecules/ListItem/ListItem.js +13 -13
- package/dist/molecules/ListItem/ListItem.utils.js +1 -0
- package/dist/molecules/OptionDrawer/OptionDrawer.js +1 -1
- package/dist/molecules/OptionDrawer/OptionDrawer.styles.js +36 -0
- package/dist/molecules/OptionDrawer/OptionDrawer.utils.js +1 -0
- package/dist/molecules/OptionalTooltip/OptionalTooltip.d.ts +4 -4
- package/dist/molecules/OptionalTooltip/OptionalTooltip.js +2 -2
- package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
- package/dist/molecules/ProfileAvatar/ProfileAvatar.js +6 -6
- package/dist/molecules/RichTextDisplay/RichTextDisplay.js +1 -1
- package/dist/molecules/RichTextEditor/EditorProvider.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/AddImageButton.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +5 -5
- package/dist/molecules/RichTextEditor/MenuBar/MenuBar.js +5 -5
- package/dist/molecules/RichTextEditor/MenuBar/MenuBar.styles.js +4 -4
- package/dist/molecules/RichTextEditor/MenuBar/MenuButton.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/Table/TableColumn.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/Table/TableMerge.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/Table/TableRow.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/Table/ToggleTable.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/TextClearFormatting.js +2 -2
- package/dist/molecules/RichTextEditor/MenuBar/TextColor.js +4 -4
- package/dist/molecules/RichTextEditor/MenuBar/TextHeaders.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/TextLinks.js +2 -2
- package/dist/molecules/RichTextEditor/RichTextEditor.js +1 -1
- package/dist/molecules/RichTextEditor/RichTextEditor.styles.js +23 -23
- package/dist/molecules/RichTextEditor/custom-extensions/ExtendedHeaders.js +1 -1
- package/dist/molecules/RichTextEditor/custom-extensions/ExtendedImage.js +1 -1
- package/dist/molecules/RichTextEditor/index.d.ts +5 -5
- package/dist/molecules/RichTextEditor/index.js +1 -1
- package/dist/molecules/Search/Search.d.ts +2 -2
- package/dist/molecules/Search/Search.js +8 -8
- package/dist/molecules/Select/AddTagItem.js +1 -0
- package/dist/molecules/Select/ComboBox/ComboBox.js +1 -1
- package/dist/molecules/Select/GroupedSelectMenu.js +1 -0
- package/dist/molecules/Select/ListSelectMenu.js +1 -0
- package/dist/molecules/Select/Select.js +1 -0
- package/dist/molecules/Select/Select.styles.d.ts +5 -5
- package/dist/molecules/Select/Select.styles.js +61 -61
- package/dist/molecules/Select/Select.utils.js +1 -0
- package/dist/molecules/Select/SelectMenuItem.js +1 -0
- package/dist/molecules/Select/SelectMenuItem.utils.js +1 -0
- package/dist/molecules/Select/SingleSelect/SingleSelect.js +1 -1
- package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
- package/dist/molecules/SelectionControls/Checkbox/Checkbox.js +1 -1
- package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
- package/dist/molecules/SelectionControls/Radio/Radio.js +1 -1
- package/dist/molecules/SelectionControls/SelectionControls.styles.js +24 -24
- package/dist/molecules/SelectionControls/Switch/Switch.d.ts +2 -2
- package/dist/molecules/SelectionControls/Switch/Switch.js +1 -1
- package/dist/molecules/SingleFilterMenu/SingleFilterMenu.js +9 -9
- package/dist/molecules/Skeleton/Skeleton.styles.js +1 -0
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.js +7 -7
- package/dist/molecules/Skeleton/SkeletonField.js +8 -0
- package/dist/molecules/Skeleton/SkeletonGradient/SkeletonGradient.js +1 -1
- package/dist/molecules/Stepper/Step/Step.js +5 -5
- package/dist/molecules/Stepper/Step/StepIcon.js +19 -0
- package/dist/molecules/Stepper/StepLine.js +2 -2
- package/dist/molecules/Stepper/Stepper.js +4 -4
- package/dist/molecules/Stepper/SubTitle/SubStepIndicator.js +25 -0
- package/dist/molecules/Stepper/SubTitle/SubTitle.js +7 -0
- package/dist/molecules/Tabs/Tab.js +1 -1
- package/dist/molecules/Tabs/Tab.styles.js +22 -22
- package/dist/molecules/Tabs/Tabs.js +4 -4
- package/dist/molecules/TextField/TextField.js +74 -0
- package/dist/molecules/Waves/Waves.js +1 -1
- package/dist/molecules/index.d.ts +2 -2
- package/dist/molecules/index.js +1 -1
- package/dist/organisms/DataGrid/DataGrid.js +6 -6
- package/dist/organisms/Faq/Category/Category.js +9 -0
- package/dist/organisms/Faq/Category/Question.js +22 -0
- package/dist/organisms/Faq/CategorySkeleton.js +29 -0
- package/dist/organisms/Faq/Faq.js +1 -1
- package/dist/organisms/Faq/Faq.styles.js +3 -3
- package/dist/organisms/Faq/Header.js +7 -7
- package/dist/organisms/FieldSelector/ChangingField.js +8 -8
- package/dist/organisms/FieldSelector/FieldSelector.js +3 -3
- package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +18 -18
- package/dist/organisms/FieldSelector/SelectorCard/Skeleton.js +6 -6
- package/dist/organisms/Filter/AutoCompleteMenu.js +10 -0
- package/dist/organisms/Filter/AutoCompleteText.js +11 -0
- package/dist/organisms/Filter/ButtonWithMenu.js +1 -1
- package/dist/organisms/Filter/Filter.js +1 -1
- package/dist/organisms/Filter/Filter.styles.js +39 -39
- package/dist/organisms/Filter/Filter.utils.js +1 -0
- package/dist/organisms/Filter/QuickFilter.js +1 -1
- package/dist/organisms/Filter/SortMenu.js +2 -2
- package/dist/organisms/PageTitle/PageTitle.js +1 -1
- package/dist/organisms/ReleaseNote/MetaTags.js +10 -0
- package/dist/organisms/ReleaseNote/ReleaseNote.d.ts +3 -3
- package/dist/organisms/ReleaseNote/ReleaseNote.js +12 -12
- package/dist/organisms/ReleaseNote/ReleaseNote.utils.js +1 -1
- package/dist/organisms/ReleaseNote/ToggleExpanded.js +6 -6
- package/dist/organisms/SideBar/CreateItem.js +1 -0
- package/dist/organisms/SideBar/CreateItem.styles.js +33 -0
- package/dist/organisms/SideBar/MenuItem/BasicMenuItem.js +1 -0
- package/dist/organisms/SideBar/MenuItem/CollapsableMenuItem.js +48 -0
- package/dist/organisms/SideBar/MenuItem/MenuItem.js +1 -0
- package/dist/organisms/SideBar/MenuItem/MenuItem.styles.js +37 -0
- package/dist/organisms/SideBar/MenuItem/MenuItem.utils.js +1 -0
- package/dist/organisms/SideBar/SideBar.d.ts +2 -2
- package/dist/organisms/SideBar/SideBar.js +1 -0
- package/dist/organisms/SideBar/SideBar.styles.js +41 -0
- package/dist/organisms/SideBar/ToggleOpen.js +1 -0
- package/dist/organisms/SideBar/ToggleOpen.styles.js +16 -0
- package/dist/organisms/SideBar/index.js +1 -1
- package/dist/organisms/Status/Action.d.ts +2 -2
- package/dist/organisms/Status/Action.js +1 -1
- package/dist/organisms/Status/Description.d.ts +2 -2
- package/dist/organisms/Status/Description.js +1 -1
- package/dist/organisms/Status/Illustration.constants.js +1 -0
- package/dist/organisms/Status/Illustration.js +2 -2
- package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
- package/dist/organisms/Status/MissingAccesses.js +4 -4
- package/dist/organisms/Status/Status.js +4 -4
- package/dist/organisms/Status/Title.d.ts +2 -2
- package/dist/organisms/Status/Title.js +1 -1
- package/dist/organisms/Status/collections/ApiResponseError.js +1 -1
- package/dist/organisms/Status/collections/BadRequest.js +2 -2
- package/dist/organisms/Status/collections/GenericError.js +1 -1
- package/dist/organisms/Status/collections/MissingAccessToApp.js +1 -1
- package/dist/organisms/Status/collections/MissingPermissions.js +1 -1
- package/dist/organisms/Status/collections/PageNotFound.js +2 -2
- package/dist/organisms/Status/collections/ServerError.js +2 -2
- package/dist/organisms/TableOfContents/TableOfContents.constants.js +1 -1
- package/dist/organisms/TableOfContents/TableOfContents.js +1 -1
- package/dist/organisms/TableOfContents/TableOfContents.styles.js +32 -32
- package/dist/organisms/TableOfContents/TableOfContentsItem.js +4 -4
- package/dist/organisms/Template/Template.d.ts +3 -3
- package/dist/organisms/Template/Template.js +7 -7
- package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
- package/dist/organisms/ToggleGroup/ToggleGroup.js +12 -12
- package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
- package/dist/organisms/ToggleGroup/ToggleGroupOption.js +20 -20
- package/dist/organisms/TopBar/Account/Account.js +1 -1
- package/dist/organisms/TopBar/Account/Account.styles.js +24 -24
- package/dist/organisms/TopBar/Account/AccountAvatar.js +7 -7
- package/dist/organisms/TopBar/Account/AccountButton.js +5 -5
- package/dist/organisms/TopBar/Account/ActiveUserImpersonationButton.js +4 -4
- package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +4 -4
- package/dist/organisms/TopBar/Account/ImpersonateButton.js +4 -4
- package/dist/organisms/TopBar/Account/ImpersonateMenu/Actions.js +6 -6
- package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateNewUserButton.js +4 -4
- package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.styles.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.styles.js +8 -8
- package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.constants.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.styles.js +4 -4
- package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.utils.js +1 -0
- package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.js +8 -8
- package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +6 -6
- package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.js +16 -16
- package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useActiveImpersonationUser.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useAllAppRoles.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useCanImpersonate.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useGetAllImpersonationUsersForApp.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useStartImpersonation.js +1 -0
- package/dist/organisms/TopBar/Account/RoleChips.js +1 -1
- package/dist/organisms/TopBar/Account/RoleList.js +7 -7
- package/dist/organisms/TopBar/Actions.d.ts +2 -2
- package/dist/organisms/TopBar/Actions.js +3 -3
- package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
- package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.styles.js +24 -24
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -2
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +24 -24
- package/dist/organisms/TopBar/Guidelines/Colorbox.d.ts +2 -2
- package/dist/organisms/TopBar/Guidelines/Guidelines.js +1 -1
- package/dist/organisms/TopBar/Guidelines/Item.js +3 -3
- package/dist/organisms/TopBar/Guidelines/Section.js +7 -7
- package/dist/organisms/TopBar/Notifications/FilterOptions.js +6 -6
- package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsInner.js +3 -3
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/DefaultNotification.js +4 -4
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +4 -4
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.js +4 -4
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -1
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.js +9 -9
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.const.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +41 -0
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +7 -7
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/LockedInputTooltip.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Title.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/ImageFile.js +7 -0
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.styles.js +79 -0
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Url.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +8 -8
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.js +1 -0
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.styles.js +7 -0
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.js +1 -0
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.styles.js +19 -0
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.utils.js +1 -0
- package/dist/organisms/TopBar/Resources/ResourceMenuItem.js +7 -7
- package/dist/organisms/TopBar/Resources/Resources.js +4 -4
- package/dist/organisms/TopBar/Settings.js +11 -11
- package/dist/organisms/TopBar/TopBar.js +1 -1
- package/dist/organisms/TopBar/TopBar.styles.js +22 -22
- package/dist/organisms/TopBar/TopBarMenu.js +4 -4
- package/dist/organisms/TopBar/TransferToAppDialog.js +11 -11
- package/dist/organisms/TopBar/Tutorials/TutorialItem.js +8 -8
- package/dist/organisms/TopBar/Tutorials/Tutorials.js +1 -1
- package/dist/organisms/TopBar/Tutorials/Tutorials.styles.js +6 -6
- package/dist/organisms/index.js +1 -1
- package/dist/providers/AuthProvider/AuthProvider.js +1 -0
- package/dist/providers/AuthProvider/AuthProviderInner.js +1 -0
- package/dist/providers/LoadingProvider.js +1 -1
- package/dist/providers/ReleaseNotesProvider.js +1 -1
- package/dist/providers/ReleaseNotesProvider.utils.js +1 -0
- package/dist/providers/SideBarProvider.js +1 -1
- package/dist/providers/SnackbarProvider/SnackbarProvider.js +1 -0
- package/dist/providers/SnackbarProvider/SnackbarProvider.styles.js +41 -0
- package/dist/providers/SnackbarProvider/SnackbarProvider.utils.js +1 -0
- package/dist/providers/StepperProvider.js +1 -1
- package/dist/providers/TableOfContentsProvider.js +1 -1
- package/dist/providers/TableOfContentsProvider.utils.js +1 -0
- package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.constants.js +1 -0
- package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js +1 -0
- package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +24 -0
- package/dist/providers/TutorialHighlightingProvider/TutorialPopover/StepIndicator.js +20 -0
- package/dist/providers/TutorialHighlightingProvider/TutorialPopover/TutorialPopover.js +75 -0
- package/dist/providers/TutorialHighlightingProvider/TutorialPopover/hooks/useTutorialPopoverPosition.js +1 -0
- package/dist/providers/TutorialHighlightingProvider/hooks/useReversedScrollY.js +1 -0
- package/package.json +2 -2
- package/dist/atoms/hooks/index.js +0 -1
- package/dist/providers/index.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{spacings as e}from"../../atoms/style/spacings.js";import{useStepper as t}from"../../providers/StepperProvider.js";import{Step as n}from"./Step/Step.js";import{StepLine as r}from"./StepLine.js";import{SubTitle as i}from"./SubTitle/SubTitle.js";import{useMemo as a}from"react";import o from"styled-components";import{jsx as s,jsxs as c}from"react/jsx-runtime";const l=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
gap: ${
|
|
4
|
+
gap: ${e.xx_large};
|
|
5
5
|
`,u=o.div`
|
|
6
6
|
display: grid;
|
|
7
7
|
grid-template-columns:
|
|
8
8
|
repeat(${({$stepAmount:e})=>e-1}, auto 1fr)
|
|
9
9
|
auto;
|
|
10
|
-
grid-gap: ${
|
|
10
|
+
grid-gap: ${e.small};
|
|
11
11
|
align-items: center;
|
|
12
12
|
width: 100%;
|
|
13
13
|
${({$maxWidth:e})=>e&&`max-width: ${e}`}
|
|
14
|
-
`,d=({onlyShowCurrentStepLabel:
|
|
14
|
+
`,d=({onlyShowCurrentStepLabel:e=!1,maxWidth:o})=>{let{steps:d,currentStep:f}=t(),p=a(()=>{let t=[];return d.forEach((i,a)=>{t.push(s(n,{index:a,onlyShowCurrentStepLabel:e,children:i.label},`step-${a}`)),a!==d.length-1&&t.push(s(r,{done:f>a},`step-line-${a}`))}),t},[f,e,d]);return c(l,{children:[s(u,{$stepAmount:d.length,$maxWidth:o,"data-testid":`stepper-container`,children:p}),s(i,{})]})};export{d as Stepper};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{animation as e}from"../../../atoms/style/animation.js";import{colors as t}from"../../../atoms/style/colors.js";import{spacings as n}from"../../../atoms/style/spacings.js";import{shape as r}from"../../../atoms/style/index.js";import{useStepper as i}from"../../../providers/StepperProvider.js";import a from"styled-components";import{jsx as o}from"react/jsx-runtime";const s=a.div`
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: repeat(
|
|
4
|
+
${({$amountOfSubSteps:e})=>e},
|
|
5
|
+
1fr
|
|
6
|
+
);
|
|
7
|
+
gap: ${n.small};
|
|
8
|
+
width: 300px;
|
|
9
|
+
`,c=a.span`
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 5px;
|
|
12
|
+
position: relative;
|
|
13
|
+
background: ${t.interactive.primary__hover_alt.rgba};
|
|
14
|
+
border-radius: ${r.rounded.borderRadius};
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
&:after {
|
|
17
|
+
content: '';
|
|
18
|
+
background: ${t.interactive.primary__resting.rgba};
|
|
19
|
+
position: absolute;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
transition: left ${e.transitionMS};
|
|
23
|
+
left: ${({$index:e,$currentIndex:t})=>(t-e)*100}%;
|
|
24
|
+
}
|
|
25
|
+
`,l=()=>{let{currentSubStep:e,steps:t,currentStep:n}=i(),r=t[n].subSteps.length;return o(s,{$amountOfSubSteps:r,children:Array(r).fill(null).map((t,n)=>o(c,{$index:n,$currentIndex:e},n))})};export{l as SubStepIndicator};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{colors as e}from"../../../atoms/style/colors.js";import{spacings as t}from"../../../atoms/style/spacings.js";import{useStepper as n}from"../../../providers/StepperProvider.js";import{SubStepIndicator as r}from"./SubStepIndicator.js";import{Typography as i}from"@equinor/eds-core-react";import a from"styled-components";import{jsx as o,jsxs as s}from"react/jsx-runtime";const c=a.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${t.small};
|
|
5
|
+
align-self: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
`,l=()=>{let{currentStep:t,currentSubStep:a,steps:l}=n(),u=`subSteps`in l[t]?l[t].subSteps:[],d=u?.at(a);return!d&&l[t].title===void 0||!u?null:l[t].title?s(c,{children:[o(i,{variant:`h3`,children:l[t].title}),l[t].description&&o(i,{variant:`caption`,children:l[t].description})]}):s(c,{children:[o(i,{variant:`caption`,color:e.text.static_icons__secondary.rgba,children:`${a+1} of ${u.length}`}),o(i,{variant:`h3`,children:d?.title}),d?.description&&o(i,{variant:`caption`,children:d.description}),o(r,{})]})};export{l as SubTitle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ActiveLine as e,Button as t,Count as n,Line as r}from"./Tab.styles.js";import{
|
|
1
|
+
import{ActiveLine as e,Button as t,Count as n,Line as r}from"./Tab.styles.js";import{Icon as i,Typography as a}from"@equinor/eds-core-react";import{Fragment as o,jsx as s,jsxs as c}from"react/jsx-runtime";function l({value:l,label:u,selectedIndex:d,index:f,onChange:p,onHover:m,centered:h,animated:g,disabled:_,leadingIcon:v,count:y}){let b=()=>{p(l)},x=()=>{m&&m(l)};return c(t,{role:`tab`,"aria-selected":d===f,onClick:b,onMouseEnter:x,$centered:h,disabled:_,children:[v?s(i,{data:v,size:24}):null,s(a,{as:`label`,variant:`menu_tabs`,group:`navigation`,children:u}),y===void 0?null:s(n,{className:`count`,children:s(a,{as:`span`,variant:`breadcrumb`,group:`navigation`,children:y})}),g?c(o,{children:[s(r,{className:`static-line`}),s(e,{animate:{left:`${(d-f)*100}%`}})]}):s(r,{className:`static-line`,$active:d===f})]})}export{l as Tab};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import e
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{shape as n}from"../../atoms/style/index.js";import r from"styled-components";import{motion as i}from"framer-motion";const a=r.button`
|
|
2
2
|
position: relative;
|
|
3
|
-
padding: ${
|
|
3
|
+
padding: ${t.medium};
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
justify-content: ${({$centered:e})=>e?`center`:`flex-start`};
|
|
7
|
-
gap: ${
|
|
7
|
+
gap: ${t.small};
|
|
8
8
|
width: auto;
|
|
9
9
|
flex-grow: 1;
|
|
10
10
|
height: 48px;
|
|
@@ -12,7 +12,7 @@ import e from"styled-components";import{colors as t,shape as n,spacings as r}fro
|
|
|
12
12
|
cursor: pointer;
|
|
13
13
|
|
|
14
14
|
> svg {
|
|
15
|
-
fill: ${
|
|
15
|
+
fill: ${e.text.static_icons__tertiary.rgba};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
> label {
|
|
@@ -20,33 +20,33 @@ import e from"styled-components";import{colors as t,shape as n,spacings as r}fro
|
|
|
20
20
|
pointer-events: none;
|
|
21
21
|
display: block;
|
|
22
22
|
height: 16px;
|
|
23
|
-
color: ${
|
|
23
|
+
color: ${e.text.static_icons__tertiary.rgba};
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&[aria-selected='true'] {
|
|
27
27
|
> svg {
|
|
28
|
-
fill: ${
|
|
28
|
+
fill: ${e.interactive.primary__resting.rgba};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
> label {
|
|
32
|
-
color: ${
|
|
32
|
+
color: ${e.interactive.primary__resting.rgba};
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&:hover:not(:disabled) {
|
|
37
|
-
background: ${
|
|
37
|
+
background: ${e.interactive.primary__hover_alt.rgba};
|
|
38
38
|
|
|
39
39
|
&[aria-selected='true'] {
|
|
40
40
|
> svg {
|
|
41
|
-
fill: ${
|
|
41
|
+
fill: ${e.interactive.primary__hover.rgba};
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
> label {
|
|
45
|
-
color: ${
|
|
45
|
+
color: ${e.interactive.primary__hover.rgba};
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
> span:not(.count):last-child {
|
|
49
|
-
background: ${
|
|
49
|
+
background: ${e.interactive.primary__hover.rgba};
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -55,36 +55,36 @@ import e from"styled-components";import{colors as t,shape as n,spacings as r}fro
|
|
|
55
55
|
cursor: not-allowed;
|
|
56
56
|
|
|
57
57
|
> svg {
|
|
58
|
-
fill: ${
|
|
58
|
+
fill: ${e.interactive.disabled__fill.rgba};
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
> label {
|
|
62
|
-
color: ${
|
|
62
|
+
color: ${e.interactive.disabled__text.rgba};
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
> span.static-line {
|
|
66
|
-
background: ${
|
|
66
|
+
background: ${e.ui.background__medium.rgba};
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
`,o=
|
|
69
|
+
`,o=r.span`
|
|
70
70
|
position: absolute;
|
|
71
71
|
height: 2px;
|
|
72
72
|
width: 100%;
|
|
73
73
|
bottom: 0;
|
|
74
74
|
left: 0;
|
|
75
|
-
background: ${({$active:
|
|
76
|
-
`,s=
|
|
75
|
+
background: ${({$active:t})=>t?e.interactive.primary__resting.rgba:e.ui.background__heavy.rgba};
|
|
76
|
+
`,s=r(i.span)`
|
|
77
77
|
position: absolute;
|
|
78
78
|
height: 2px;
|
|
79
79
|
width: 100%;
|
|
80
80
|
bottom: 0;
|
|
81
|
-
background: ${
|
|
82
|
-
`,c=
|
|
81
|
+
background: ${e.interactive.primary__resting.rgba};
|
|
82
|
+
`,c=r.span`
|
|
83
83
|
display: flex;
|
|
84
|
-
padding: ${
|
|
85
|
-
background: ${
|
|
84
|
+
padding: ${t.x_small} ${t.small};
|
|
85
|
+
background: ${e.interactive.primary__resting.rgba};
|
|
86
86
|
border-radius: ${n.rounded.borderRadius};
|
|
87
87
|
> span {
|
|
88
|
-
color: ${
|
|
88
|
+
color: ${e.text.static_icons__primary_white.rgba};
|
|
89
89
|
}
|
|
90
90
|
`;export{s as ActiveLine,a as Button,c as Count,o as Line};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{spacings as e}from"../../atoms/style/spacings.js";import{Tab as t}from"./Tab.js";import{useEffect as n,useRef as r,useState as i}from"react";import{Button as a,Icon as o}from"@equinor/eds-core-react";import s from"styled-components";import{Fragment as c,jsx as l,jsxs as u}from"react/jsx-runtime";import{chevron_left as d,chevron_right as f}from"@equinor/eds-icons";const p=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
gap: ${
|
|
4
|
+
gap: ${e.small};
|
|
5
5
|
> button {
|
|
6
6
|
flex-shrink: 0;
|
|
7
7
|
|
|
@@ -9,10 +9,10 @@ import{Tab as e}from"./Tab.js";import{useEffect as t,useRef as n,useState as r}f
|
|
|
9
9
|
order: 2;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
`,m=
|
|
12
|
+
`,m=s.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
width: 100%;
|
|
15
15
|
align-items: center;
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
order: 1;
|
|
18
|
-
`;function h({options:
|
|
18
|
+
`;function h({options:e,selected:s,centered:h=!0,animated:g=!0,scrollable:_=!0,amountPerScrollPage:v,onChange:y,onHover:b,ref:x,...S}){let C=r(null),[w,T]=i(!1),[E,D]=i(0),[O,k]=i(!0),[A,j]=i(!0);if(v!==void 0&&v<=0)throw Error(`[ACL - Tabs]: Amount per scroll page must be greater than 0`);if(v!==void 0&&!_)throw Error(`[ACL - Tabs]: amountPerScrollPage was set but scrollable is false!`);let M=e.findIndex(e=>e.value===s);n(()=>{if(!_||!C.current){w&&T(!1);return}let e=new ResizeObserver(([e])=>{let t=e.target;D(Math.round(e.borderBoxSize[0].inlineSize)),T(t.scrollWidth>t.clientWidth),t.scrollTo(0,0)});return e.observe(C.current,{box:`border-box`}),k(!0),j(!1),()=>{e.disconnect()}},[_,w]);let N=e=>()=>{if(!C.current||!E)return;let t=C.current.scrollLeft;e===`left`?(t-=E,t=Math.max(0,t)):(t+=E,t=Math.min(t,C.current.scrollWidth)),C.current.scrollTo({top:0,left:t,behavior:`smooth`}),k(t<=0),j(t+E>=C.current.scrollWidth)};return u(p,{...S,ref:x,children:[l(m,{ref:C,style:v&&w?{display:`grid`,gridTemplateColumns:`repeat(${e.length}, ${E/v}px)`}:void 0,children:e.map((e,n)=>l(t,{selectedIndex:M,index:n,onChange:y,onHover:b,centered:h,animated:g,...e},e.label))}),w?u(c,{children:[l(a,{"aria-label":`Scroll tabs left`,variant:`ghost_icon`,disabled:O,onClick:N(`left`),children:l(o,{data:d})}),l(a,{"aria-label":`Scroll tabs right`,variant:`ghost_icon`,disabled:A,onClick:N(`right`),children:l(o,{data:f})})]}):null]})}export{h as Tabs};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS as t,colors as n}from"../../atoms/style/colors.js";import{spacings as r}from"../../atoms/style/spacings.js";import{shape as i}from"../../atoms/style/index.js";import{SkeletonBase as a}from"../Skeleton/SkeletonBase/SkeletonBase.js";import{getSkeletonHeight as o,getSkeletonTop as s}from"../../atoms/utils/skeleton.js";import{useRef as c}from"react";import{TextField as l}from"@equinor/eds-core-react";import u,{css as d}from"styled-components";import{jsx as f,jsxs as p}from"react/jsx-runtime";const m=u.div`
|
|
2
|
+
position: relative;
|
|
3
|
+
input,
|
|
4
|
+
textarea {
|
|
5
|
+
color: ${n.text.static_icons__default.rgba};
|
|
6
|
+
transition:
|
|
7
|
+
background ${e.transitionMS},
|
|
8
|
+
box-shadow ${e.transitionMS};
|
|
9
|
+
&::placeholder {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
}
|
|
12
|
+
&:hover {
|
|
13
|
+
background: ${n.ui.background__light_medium.rgba};
|
|
14
|
+
}
|
|
15
|
+
&:disabled {
|
|
16
|
+
&::placeholder {
|
|
17
|
+
color: ${n.interactive.disabled__text.rgba};
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
div:focus-within {
|
|
22
|
+
outline: none !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
${({$variant:e,$disabled:r})=>r?d`
|
|
26
|
+
div {
|
|
27
|
+
outline: none !important;
|
|
28
|
+
}
|
|
29
|
+
p {
|
|
30
|
+
color: ${n.interactive.disabled__text.rgba} !important;
|
|
31
|
+
}
|
|
32
|
+
`:e===void 0?d`
|
|
33
|
+
input:hover,
|
|
34
|
+
textarea:hover {
|
|
35
|
+
box-shadow: inset 0 -2px 0 0
|
|
36
|
+
${n.text.static_icons__tertiary.rgba};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
div:focus-within {
|
|
40
|
+
input,
|
|
41
|
+
textarea {
|
|
42
|
+
box-shadow: inset 0 -2px 0 0
|
|
43
|
+
${n.interactive.primary__resting.rgba};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
`:d`
|
|
47
|
+
${e===`dirty`&&d`
|
|
48
|
+
input,
|
|
49
|
+
textarea {
|
|
50
|
+
box-shadow: inset 0 -2px 0 0 ${t[e]};
|
|
51
|
+
}
|
|
52
|
+
`}
|
|
53
|
+
|
|
54
|
+
input:hover,
|
|
55
|
+
textarea:hover {
|
|
56
|
+
box-shadow: inset 0 -${e===`dirty`?2:1}px 0 0
|
|
57
|
+
${t[e]};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
div:focus-within {
|
|
61
|
+
outline: none !important;
|
|
62
|
+
|
|
63
|
+
input,
|
|
64
|
+
textarea {
|
|
65
|
+
box-shadow: inset 0 -2px 0 0 ${t[e]};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
`}
|
|
69
|
+
`,h=u(a)`
|
|
70
|
+
position: absolute;
|
|
71
|
+
left: ${r.small};
|
|
72
|
+
border-radius: ${i.corners.borderRadius};
|
|
73
|
+
transform: translateY(${r.x_small});
|
|
74
|
+
`,g=e=>{let t={...e,variant:e.variant===`dirty`?void 0:e.variant},n=e.loading?void 0:e.variant,r=s(e),i=o(e),a=c(`${Math.max(20,Math.random()*80)}%`);return p(m,{$variant:n,$disabled:e.loading?!1:e.disabled,children:[f(l,{...t,disabled:e.loading||e.disabled}),e.loading&&f(h,{className:`skeleton`,role:`progressbar`,style:{top:r,height:i,width:a.current}})]})};export{g as TextField};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Container as e}from"./Waves.styles.js";import{WaveStatic as t}from"./WaveStatic.js";import{useEffect as n,useRef as r,useState as i}from"react";import{jsx as a}from"react/jsx-runtime";import{useScroll as o}from"framer-motion";const s=({gradientColors:s})=>{let c=r(null),[l,u]=i(c.current?.clientWidth??0),[d,f]=i(c.current?.clientHeight??0),{scrollY:p}=o({container:{current:document.getElementById(`content`)}})
|
|
1
|
+
import{Container as e}from"./Waves.styles.js";import{WaveStatic as t}from"./WaveStatic.js";import{useEffect as n,useRef as r,useState as i}from"react";import{jsx as a}from"react/jsx-runtime";import{useScroll as o}from"framer-motion";const s=({gradientColors:s})=>{let c=r(null),[l,u]=i(c.current?.clientWidth??0),[d,f]=i(c.current?.clientHeight??0),{scrollY:p}=o({container:{current:document.getElementById(`content`)}});return n(()=>{let e=()=>{c.current&&(u(c.current.clientWidth),f(c.current.clientHeight))};return window.addEventListener(`resize`,e),()=>{window.removeEventListener(`resize`,e)}},[]),a(e,{ref:e=>{c.current=e,c.current&&(u(c.current.clientWidth),f(c.current.clientHeight))},style:{top:p},children:a(t,{height:d,width:l,gradientColors:s})})};export{s as Waves};
|
|
@@ -44,5 +44,5 @@ import { Checkbox as Checkbox$1, CheckboxProps as CheckboxProps$1 } from "./Sele
|
|
|
44
44
|
import { Radio as Radio$1, RadioProps as RadioProps$1 } from "./SelectionControls/Radio/Radio.js";
|
|
45
45
|
import { Switch as Switch$1, SwitchProps as SwitchProps$1 } from "./SelectionControls/Switch/Switch.js";
|
|
46
46
|
import { Waves } from "./Waves/Waves.js";
|
|
47
|
-
import { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, CircularProgress as CircularProgress$1, CircularProgressProps, Dialog as EDSDialog, DialogProps as EDSDialogProps, Divider as Divider$1, DividerProps, DotProgress as DotProgress$1, DotProgressProps, Icon as Icon$1, IconProps, LinearProgress as LinearProgress$1, LinearProgressProps, Menu as Menu$1, MenuProps, SearchProps as SearchProps$1, TextField, TextFieldProps, Typography as Typography$1, TypographyProps } from "@equinor/eds-core-react";
|
|
48
|
-
export { Accordion, type AccordionHeaderActionsProps, type AccordionHeaderProps, type AccordionHeaderTitleProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, CircularProgress$1 as CircularProgress, type CircularProgressProps, Divider$1 as Divider, type DividerProps, DotProgress$1 as DotProgress, type DotProgressProps, EDSDialog, type EDSDialogProps, Icon$1 as Icon, type IconProps, LinearProgress$1 as LinearProgress, type LinearProgressProps, Menu$1 as Menu, type MenuProps, type SearchProps$1 as SearchProps, TextField, type TextFieldProps, Typography$1 as Typography, type TypographyProps };
|
|
47
|
+
import { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, CircularProgress as CircularProgress$1, CircularProgressProps, Dialog as EDSDialog, DialogProps as EDSDialogProps, Divider as Divider$1, DividerProps, DotProgress as DotProgress$1, DotProgressProps, Icon as Icon$1, IconProps, LinearProgress as LinearProgress$1, LinearProgressProps, Menu as Menu$1, MenuProps, SearchProps as SearchProps$1, TextField as TextField$1, TextFieldProps, Typography as Typography$1, TypographyProps } from "@equinor/eds-core-react";
|
|
48
|
+
export { Accordion, type AccordionHeaderActionsProps, type AccordionHeaderProps, type AccordionHeaderTitleProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, CircularProgress$1 as CircularProgress, type CircularProgressProps, Divider$1 as Divider, type DividerProps, DotProgress$1 as DotProgress, type DotProgressProps, EDSDialog, type EDSDialogProps, Icon$1 as Icon, type IconProps, LinearProgress$1 as LinearProgress, type LinearProgressProps, Menu$1 as Menu, type MenuProps, type SearchProps$1 as SearchProps, TextField$1 as TextField, type TextFieldProps, Typography$1 as Typography, type TypographyProps };
|
package/dist/molecules/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{FullPageSpinner as e}from"./FullPageSpinner/FullPageSpinner.js";import{DEFAULT_FEATURES as t,RichTextEditorFeatures as n}from"./RichTextEditor/RichTextEditor.types.js";import{AmplifyKit as r}from"./RichTextEditor/custom-extensions/AmplifyKit.js";import{AnimatedCheckmark as i}from"./AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as a}from"./ApplicationIcon/ApplicationIcon.js";import{Badge as o}from"./Badge/Badge.js";import{Banner as s}from"./Banner/Banner.js";import{Button as c}from"./Button/Button.js";import{Chip as l}from"./Chip/Chip.js";import{SkeletonBase as u,skeletonBaseloading as ee}from"./Skeleton/SkeletonBase/SkeletonBase.js";import{ContentMenu as te}from"./ContentMenu/ContentMenu.js";import{DatePicker as d}from"./DatePicker/DatePicker.js";import{DateRangePicker as f}from"./DateRangePicker/DateRangePicker.js";import{OptionalTooltip as p}from"./OptionalTooltip/OptionalTooltip.js";import{Dialog as m}from"./Dialog/Dialog.js";import{EquinorLogo as h}from"./EquinorLogo/EquinorLogo.js";import{FileProgress as g}from"./FileProgress/FileProgress.js";import{FileUploadArea as _}from"./FileUploadArea/FileUploadArea.js";import{IconCell as v}from"./IconCell/IconCell.js";import{InfoElement as y}from"./InfoElement/InfoElement.js";import{ProfileAvatar as b}from"./ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as x}from"./RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as S,TextTable as C}from"./RichTextEditor/MenuBar/Table/TableBar.js";import{AmplifyBar as w,EditorMenu as T,EditorText as E}from"./RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as D}from"./RichTextEditor/RichTextEditor.js";import{RichText as O}from"./RichTextEditor/index.js";import{Tabs as k}from"./Tabs/Tabs.js";import{Search as ne}from"./Search/Search.js";import{SingleFilterMenu as A}from"./SingleFilterMenu/SingleFilterMenu.js";import{SkeletonGradient as j}from"./Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as M}from"./Stepper/Stepper.js";import{OptionDrawer as N}from"./OptionDrawer/OptionDrawer.js";import{ComboBoxChip as P}from"./Select/Select.styles.js";import{ComboBox as F}from"./Select/ComboBox/ComboBox.js";import{SingleSelect as I}from"./Select/SingleSelect/SingleSelect.js";import{FeedBackIcon as L}from"./FeedBackIcon/FeedBackIcon.js";import{ListItem as R}from"./ListItem/ListItem.js";import{Checkbox as z}from"./SelectionControls/Checkbox/Checkbox.js";import{Radio as B}from"./SelectionControls/Radio/Radio.js";import{Switch as V}from"./SelectionControls/Switch/Switch.js";import{Waves as H}from"./Waves/Waves.js";import{Accordion as U,Breadcrumbs as W,CircularProgress as G,Dialog as K,Divider as q,DotProgress as J,Icon as Y,LinearProgress as X,Menu as Z,TextField as Q,Typography as $}from"@equinor/eds-core-react";export{U as Accordion,W as Breadcrumbs,G as CircularProgress,q as Divider,J as DotProgress,K as EDSDialog,Y as Icon,X as LinearProgress,Z as Menu,Q as TextField,$ as Typography};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import n from"styled-components";import{jsx as r}from"react/jsx-runtime";import{EdsDataGrid as i}from"@equinor/eds-data-grid-react";const a=n.div`
|
|
2
2
|
table,
|
|
3
3
|
thead,
|
|
4
4
|
th {
|
|
@@ -12,24 +12,24 @@ import{jsx as e}from"react/jsx-runtime";import t from"styled-components";import{
|
|
|
12
12
|
border: none;
|
|
13
13
|
}
|
|
14
14
|
th {
|
|
15
|
-
color: ${
|
|
15
|
+
color: ${e.text.static_icons__default.rgba};
|
|
16
16
|
> div {
|
|
17
17
|
justify-content: space-between;
|
|
18
18
|
> svg {
|
|
19
19
|
height: 18px;
|
|
20
20
|
width: 18px;
|
|
21
|
-
fill: ${
|
|
21
|
+
fill: ${e.interactive.primary__resting.rgba};
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
th,
|
|
26
26
|
td {
|
|
27
|
-
padding: ${
|
|
27
|
+
padding: ${t.medium_small} ${t.small};
|
|
28
28
|
}
|
|
29
29
|
tr:hover,
|
|
30
30
|
th:hover,
|
|
31
31
|
th:has(svg) {
|
|
32
|
-
background: ${
|
|
32
|
+
background: ${e.interactive.primary__hover_alt.rgba};
|
|
33
33
|
}
|
|
34
34
|
${({$enableSorting:e})=>!e&&`
|
|
35
35
|
cursor: default;
|
|
@@ -38,4 +38,4 @@ import{jsx as e}from"react/jsx-runtime";import t from"styled-components";import{
|
|
|
38
38
|
cursor: default;
|
|
39
39
|
}
|
|
40
40
|
`}
|
|
41
|
-
`,o=
|
|
41
|
+
`,o=e=>r(a,{$enableSorting:e.enableSorting??!1,"data-testid":`table-wrapper`,children:r(i,{...e})});export{o as DataGrid};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{spacings as e}from"../../../atoms/style/spacings.js";import{Status as t}from"../../Status/index.js";import{Question as n}from"./Question.js";import{useMemo as r,useState as i}from"react";import{Typography as a}from"@equinor/eds-core-react";import o from"styled-components";import{jsx as s,jsxs as c}from"react/jsx-runtime";const l=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${e.medium};
|
|
5
|
+
width: 100%;
|
|
6
|
+
&:has(> div > div > svg) {
|
|
7
|
+
transform: translateY(50%);
|
|
8
|
+
}
|
|
9
|
+
`,u=({categoryName:e,faqs:o,selectedTab:u})=>{let[d]=i(void 0),f=r(()=>o.toSorted((e,t)=>{let n=e.orderBy??0,r=t.orderBy??0;return n-r}),[o]),p=r(()=>d?f.filter(t=>t.question.toLowerCase().includes(d.toLowerCase())||t.answer.toLowerCase().includes(d.toLowerCase())||e.toLowerCase().includes(d.toLowerCase())):f,[e,d,f]);return u!==void 0&&p.length===0?s(l,{children:c(t,{center:!1,children:[s(t.Title,{title:`No Questions Found`}),s(t.Description,{text:`No questions or answers matches your search in this category`})]})}):p.length===0?null:c(l,{children:[s(a,{variant:`h4`,children:e}),p.map(e=>s(n,{...e},e.id))]})};export{u as Category};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import{animation as e}from"../../../atoms/style/animation.js";import{colors as t}from"../../../atoms/style/colors.js";import{spacings as n}from"../../../atoms/style/spacings.js";import{shape as r}from"../../../atoms/style/index.js";import{formatDate as i}from"../../../atoms/utils/date.js";import{Button as a}from"../../../molecules/Button/Button.js";import{RichTextDisplay as o}from"../../../molecules/RichTextDisplay/RichTextDisplay.js";import{useState as s}from"react";import{Icon as c,Typography as l}from"@equinor/eds-core-react";import u from"styled-components";import{jsx as d,jsxs as f}from"react/jsx-runtime";import{chevron_down as p,chevron_up as m}from"@equinor/eds-icons";import{AnimatePresence as h,motion as g}from"framer-motion";import{FaqService as _}from"@equinor/subsurface-app-management";const v=u.div`
|
|
2
|
+
background: ${t.ui.background__default.rgba};
|
|
3
|
+
width: 100%;
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: 1fr auto auto;
|
|
6
|
+
align-items: center;
|
|
7
|
+
padding: ${n.medium};
|
|
8
|
+
border: 1px solid ${t.ui.background__heavy.rgba};
|
|
9
|
+
border-radius: ${r.corners.borderRadius};
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
transition: border-color ${e.transitionMS};
|
|
12
|
+
> button {
|
|
13
|
+
margin-left: ${n.medium};
|
|
14
|
+
transition: background ${e.transitionMS};
|
|
15
|
+
}
|
|
16
|
+
&:hover {
|
|
17
|
+
border-color: ${t.interactive.primary__resting.rgba};
|
|
18
|
+
> button {
|
|
19
|
+
background: ${t.interactive.primary__hover_alt.rgba};
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`,y=({question:e,answer:t,createdDate:n})=>{let[r,u]=s(!1);return f(v,{onClick:()=>u(e=>!e),children:[d(l,{variant:`h4`,children:e}),d(l,{variant:`caption`,children:i(n)}),d(a,{variant:`ghost_icon`,children:d(c,{data:r?m:p})}),d(h,{children:r&&d(g.div,{style:{overflow:`hidden`},initial:{height:0},animate:{height:`auto`},exit:{height:0},children:d(o,{value:t,onImageRead:_.getFaqImage})})})]})};export{y as Question};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{shape as n}from"../../atoms/style/index.js";import{Button as r}from"../../molecules/Button/Button.js";import{SkeletonBase as i}from"../../molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{Icon as a}from"@equinor/eds-core-react";import o from"styled-components";import{jsx as s,jsxs as c}from"react/jsx-runtime";import{chevron_down as l}from"@equinor/eds-icons";const u=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${t.medium};
|
|
5
|
+
`,d=o(i)`
|
|
6
|
+
height: 32px;
|
|
7
|
+
width: 12rem;
|
|
8
|
+
border-radius: ${n.corners.borderRadius};
|
|
9
|
+
`,f=o.div`
|
|
10
|
+
background: ${e.ui.background__default.rgba};
|
|
11
|
+
width: 100%;
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: 1fr auto auto;
|
|
14
|
+
align-items: center;
|
|
15
|
+
padding: ${t.medium};
|
|
16
|
+
border: 1px solid ${e.ui.background__heavy.rgba};
|
|
17
|
+
border-radius: ${n.corners.borderRadius};
|
|
18
|
+
> button {
|
|
19
|
+
margin-left: ${t.medium};
|
|
20
|
+
}
|
|
21
|
+
`,p=o(i)`
|
|
22
|
+
height: 32px;
|
|
23
|
+
width: 50%;
|
|
24
|
+
border-radius: ${n.corners.borderRadius};
|
|
25
|
+
`,m=o(i)`
|
|
26
|
+
height: 16px;
|
|
27
|
+
width: 5rem;
|
|
28
|
+
border-radius: ${n.corners.borderRadius};
|
|
29
|
+
`,h=()=>c(u,{children:[s(d,{}),[,,,].fill(0).map((e,t)=>c(f,{children:[s(p,{$offset:t*100}),s(m,{$offset:t*100}),s(r,{variant:`ghost_icon`,children:s(a,{data:l})})]},`card-${t}`))]});export{h as CategorySkeleton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Status as e}from"../Status/index.js";import{useFaqsInApplication as t}from"../../atoms/hooks/useFaqsInApplication.js";import{Container as n}from"./Faq.styles.js";import{Header as r}from"./Header.js";import{Category as i}from"./Category/Category.js";import{CategorySkeleton as a}from"./CategorySkeleton.js";import{useMemo as o,useState as s}from"react";import{Typography as c}from"@equinor/eds-core-react";import{Fragment as l,jsx as u,jsxs as d}from"react/jsx-runtime";const f=()=>{let{data:f,isLoading:p}=t(),[m,h]=s(void 0),g=o(()=>{if(f)return m?[f.find(e=>e.id==Number(m))]:f},[f,m]);return d(n,{children:[u(c,{variant:`h1`,bold:!0,children:`FAQ`}),u(r,{selectedTab:m,setSelectedTab:h}),g&&g.length>0?g.map(e=>u(i,{...e,selectedTab:m},e.id)):p?d(l,{children:[u(a,{}),u(a,{}),u(a,{})]}):u(e,{center:!1,children:u(e.Title,{title:`No FAQs available yet`})})]})};export{f as Faq};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{spacings as e}from"../../atoms/style/spacings.js";import t from"styled-components";const n=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
gap: ${
|
|
5
|
-
margin: ${
|
|
4
|
+
gap: ${e.x_large};
|
|
5
|
+
margin: ${e.large} 0;
|
|
6
6
|
height: fit-content;
|
|
7
7
|
width: 100%;
|
|
8
8
|
`;export{n as Container};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{useFaqsInApplication as n}from"../../atoms/hooks/useFaqsInApplication.js";import{Tabs as r}from"../../molecules/Tabs/Tabs.js";import{useMemo as i,useState as a}from"react";import{Search as o}from"@equinor/eds-core-react";import s from"styled-components";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=s.div`
|
|
2
2
|
position: sticky;
|
|
3
3
|
top: 0;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
|
-
gap: ${
|
|
7
|
-
background: ${
|
|
8
|
-
padding: ${
|
|
9
|
-
margin: calc(${
|
|
6
|
+
gap: ${t.medium};
|
|
7
|
+
background: ${e.ui.background__light.rgba};
|
|
8
|
+
padding: ${t.x_large} 0;
|
|
9
|
+
margin: calc(${t.x_large} * -1) 0;
|
|
10
10
|
z-index: 400;
|
|
11
11
|
> div[role='search'] > div {
|
|
12
|
-
background: ${
|
|
12
|
+
background: ${e.ui.background__default.rgba};
|
|
13
13
|
}
|
|
14
|
-
`,d=({setSelectedTab:
|
|
14
|
+
`,d=({setSelectedTab:e,selectedTab:t})=>{let{data:s}=n(),[d,f]=a(``),p=i(()=>s?[{value:`all`,label:`All categories`},...s.map(e=>({value:e.id.toString(),label:e.categoryName}))]:[{value:`all`,label:`All categories`}],[s]);return l(u,{children:[c(r,{style:{maxWidth:`100%`,width:`fit-content`},selected:t??`all`,onChange:t=>{e(t===`all`?void 0:t)},options:p}),c(o,{value:d,onChange:e=>{f(e.target.value)},placeholder:`Search for answer by keyword`})]})};export{d as Header};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e
|
|
2
|
-
gap: ${
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{capitalize as n}from"../../atoms/utils/string.js";import{useFakeProgress as r}from"../../atoms/hooks/useFakeProgress.js";import{AnimatedCheckmark as i}from"../../molecules/AnimatedCheckmark/AnimatedCheckmark.js";import a from"react";import{LinearProgress as o,Typography as s}from"@equinor/eds-core-react";import c from"styled-components";import{Fragment as l,jsx as u,jsxs as d}from"react/jsx-runtime";const f=c.div`
|
|
2
|
+
gap: ${t.medium};
|
|
3
3
|
position: absolute;
|
|
4
4
|
top: 50%;
|
|
5
5
|
left: 50%;
|
|
@@ -8,17 +8,17 @@ import e from"react";import{Fragment as t,jsx as n,jsxs as r}from"react/jsx-runt
|
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
justify-content: center;
|
|
10
10
|
align-items: center;
|
|
11
|
-
min-height: calc(100vh - (${
|
|
11
|
+
min-height: calc(100vh - (${t.xxx_large} * 4));
|
|
12
12
|
width: 100%;
|
|
13
13
|
max-width: 370px;
|
|
14
|
-
`,p=
|
|
15
|
-
background-color: ${
|
|
14
|
+
`,p=c(o)`
|
|
15
|
+
background-color: ${e.interactive.primary__hover_alt.rgba};
|
|
16
16
|
|
|
17
17
|
div {
|
|
18
|
-
background-color: ${
|
|
18
|
+
background-color: ${e.interactive.primary__resting.rgba};
|
|
19
19
|
}
|
|
20
|
-
`,m=
|
|
20
|
+
`,m=c(s)`
|
|
21
21
|
span {
|
|
22
22
|
text-transform: capitalize;
|
|
23
23
|
}
|
|
24
|
-
`,h=({fieldName:e,onChangedField:
|
|
24
|
+
`,h=({fieldName:e,onChangedField:t,finishedText:a})=>{let{finished:o,progress:c}=r({onDone:t});return u(f,{children:o?d(l,{children:[d(m,{variant:`h3`,children:[`Changed to `,u(`span`,{children:n(e)})]}),u(i,{}),u(s,{variant:`h6`,children:a})]}):d(l,{children:[d(s,{variant:`h3`,children:[`Changing field.`,`.`.repeat(c/35)]}),u(p,{variant:`determinate`,value:c})]})})};export{h as ChangingField};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{
|
|
1
|
+
import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{Waves as t}from"../../molecules/Waves/Waves.js";import{Template as n}from"../Template/Template.js";import{SelectorCard as r}from"./SelectorCard/SelectorCard.js";import{SelectorSkeleton as i}from"./SelectorCard/Skeleton.js";import{ChangingField as a}from"./ChangingField.js";import{useRef as o,useState as s}from"react";import c from"styled-components";import{jsx as l,jsxs as u}from"react/jsx-runtime";const{colors:d}=e,f=c.div`
|
|
2
2
|
> svg {
|
|
3
3
|
margin-bottom: -10px;
|
|
4
4
|
background-color: ${d.ui.background__light.rgba};
|
|
5
5
|
}
|
|
6
|
-
`,p=
|
|
6
|
+
`,p=c.div`
|
|
7
7
|
background-color: ${d.ui.background__light.rgba};
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
display: flex;
|
|
@@ -11,4 +11,4 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
11
11
|
height: calc(100vh - 64px);
|
|
12
12
|
max-height: calc(100vh - 64px);
|
|
13
13
|
width: 100vw;
|
|
14
|
-
`,m=({setField:e,fields:
|
|
14
|
+
`,m=({setField:e,fields:c,isLoading:d,onChangedField:m,finishedText:h,showAccessITLink:g=!0,itemNameSingular:_=`field`})=>{let[v,y]=s(!1),b=o(``);return v?l(a,{fieldName:b.current,onChangedField:m,finishedText:h}):u(p,{className:`${n.FullWidth} ${n.WithoutScrollGutter}`,children:[l(f,{children:l(t,{})}),d?l(i,{}):l(r,{itemNameSingular:_,availableFields:c,onSelect:t=>{t.name&&t.uuid&&(e({uuid:t.uuid,name:t.name,country:t.country??``}),b.current=t.name,y(!0))},showAccessITLink:g})]})};export{m as FieldSelector};
|