@equinor/amplify-component-lib 9.15.3-beta.1 → 9.16.0-beta.0
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/index.js +1 -0
- 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/usePrefetchRichTextImages.js +1 -1
- 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/index.js +1 -1
- package/dist/atoms/utils/auth_environment.js +1 -1
- package/dist/atoms/utils/date.d.ts +1 -1
- package/dist/atoms/utils/richtext.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.d.ts +4 -4
- 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/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/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/Chip/Chip.d.ts +2 -2
- package/dist/molecules/Chip/Chip.js +1 -1
- package/dist/molecules/ContentMenu/ContentMenu.js +1 -1
- package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
- package/dist/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/dist/molecules/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/molecules/Dialog/Dialog.d.ts +1 -1
- 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/FileProgress/FileProgress.js +1 -1
- package/dist/molecules/FileUploadArea/FileUploadArea.js +1 -1
- package/dist/molecules/FileUploadArea/FileUploadArea.styles.js +18 -18
- package/dist/molecules/FullPageSpinner/FullPageSpinner.js +8 -8
- package/dist/molecules/IconCell/IconCell.d.ts +54 -0
- package/dist/molecules/IconCell/IconCell.js +1 -0
- package/dist/molecules/IconCell/IconCell.styles.js +108 -0
- package/dist/molecules/IconCell/IconCell.types.d.ts +33 -0
- package/dist/molecules/IconCell/IconCell.types.js +1 -0
- package/dist/molecules/IconCell/IconCell.utils.js +8 -0
- package/dist/molecules/InfoElement/InfoElement.js +1 -1
- package/dist/molecules/ListItem/ListItem.js +13 -13
- package/dist/molecules/OptionDrawer/OptionDrawer.js +1 -1
- 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/ComboBox/ComboBox.d.ts +2 -2
- package/dist/molecules/Select/ComboBox/ComboBox.js +1 -1
- package/dist/molecules/Select/Select.styles.d.ts +4 -4
- package/dist/molecules/Select/Select.styles.js +61 -61
- package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
- package/dist/molecules/Select/SingleSelect/SingleSelect.js +1 -1
- package/dist/molecules/SelectionControls/Checkbox/Checkbox.js +1 -1
- package/dist/molecules/SelectionControls/Radio/Radio.js +1 -1
- package/dist/molecules/SelectionControls/SelectionControls.styles.js +24 -24
- package/dist/molecules/SelectionControls/Switch/Switch.js +1 -1
- package/dist/molecules/SingleFilterMenu/SingleFilterMenu.js +9 -9
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.js +7 -7
- package/dist/molecules/Skeleton/SkeletonGradient/SkeletonGradient.js +1 -1
- package/dist/molecules/Stepper/Step/Step.js +5 -5
- package/dist/molecules/Stepper/StepLine.js +2 -2
- package/dist/molecules/Stepper/Stepper.js +4 -4
- 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/Tabs/Tabs.types.d.ts +1 -1
- package/dist/molecules/index.d.ts +5 -5
- package/dist/molecules/index.js +1 -1
- package/dist/organisms/DataGrid/DataGrid.js +6 -6
- 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/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/QuickFilter.js +1 -1
- package/dist/organisms/Filter/SortMenu.js +2 -2
- package/dist/organisms/PageTitle/PageTitle.js +1 -1
- package/dist/organisms/ReleaseNote/ReleaseNote.js +12 -12
- package/dist/organisms/ReleaseNote/ToggleExpanded.js +6 -6
- package/dist/organisms/SideBar/SideBar.d.ts +2 -2
- 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.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.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/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/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.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/UploadFile.js +2 -2
- 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/ResponseStatus.js +1 -1
- 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/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/LoadingProvider.js +1 -1
- package/dist/providers/ReleaseNotesProvider.js +1 -1
- package/dist/providers/SideBarProvider.js +1 -1
- package/dist/providers/StepperProvider.js +1 -1
- package/dist/providers/TableOfContentsProvider.js +1 -1
- package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/providers/index.js +1 -0
- package/package.json +3 -3
- package/dist/atoms/hooks/useOnScreenMultiple.js +0 -1
- package/dist/atoms/hooks/useRichTextImage.js +0 -1
- package/dist/atoms/style/animation.js +0 -1
- package/dist/atoms/style/colors.js +0 -1
- package/dist/atoms/style/darkTokens.js +0 -219
- package/dist/atoms/style/lightTokens.js +0 -158
- package/dist/atoms/style/spacingTokens.js +0 -50
- package/dist/atoms/style/spacings.js +0 -1
- package/dist/atoms/utils/skeleton.js +0 -1
- package/dist/molecules/ApplicationIcon/Icons/FluxMaps.js +0 -1
- package/dist/molecules/Badge/Badge.styles.js +0 -17
- package/dist/molecules/Button/Button.utils.js +0 -1
- package/dist/molecules/Chip/Chip.styles.js +0 -65
- package/dist/molecules/Chip/InteractiveChip.js +0 -1
- package/dist/molecules/Chip/ReadOnlyChip.js +0 -1
- package/dist/molecules/ContentMenu/ContentMenu.styles.js +0 -52
- package/dist/molecules/DatePicker/DatePicker.styles.js +0 -63
- package/dist/molecules/EquinorLogo/EquinorLogo.utils.js +0 -1
- package/dist/molecules/FileProgress/CompactFileProgress.js +0 -1
- package/dist/molecules/FileProgress/CompactFileProgress.styles.js +0 -100
- package/dist/molecules/FileProgress/FileProgress.utils.js +0 -1
- package/dist/molecules/FileProgress/RegularFileProgress.js +0 -1
- package/dist/molecules/FileProgress/RegularFileProgress.styles.js +0 -35
- package/dist/molecules/FileUploadArea/FileUploadArea.constants.js +0 -1
- package/dist/molecules/FileUploadArea/UploadIllustration.js +0 -1
- package/dist/molecules/InfoElement/CopyText.js +0 -41
- package/dist/molecules/ListItem/ListItem.utils.js +0 -1
- package/dist/molecules/OptionDrawer/OptionDrawer.styles.js +0 -36
- package/dist/molecules/OptionDrawer/OptionDrawer.utils.js +0 -1
- package/dist/molecules/Select/AddTagItem.js +0 -1
- package/dist/molecules/Select/GroupedSelectMenu.js +0 -1
- package/dist/molecules/Select/ListSelectMenu.js +0 -1
- package/dist/molecules/Select/Select.js +0 -1
- package/dist/molecules/Select/Select.utils.js +0 -1
- package/dist/molecules/Select/SelectMenuItem.js +0 -1
- package/dist/molecules/Select/SelectMenuItem.utils.js +0 -1
- package/dist/molecules/Sieve/Filter.d.ts +0 -10
- package/dist/molecules/Sieve/Filter.js +0 -1
- package/dist/molecules/Sieve/Sieve.d.ts +0 -7
- package/dist/molecules/Sieve/Sieve.js +0 -1
- package/dist/molecules/Sieve/Sieve.styles.js +0 -43
- package/dist/molecules/Sieve/Sieve.types.d.ts +0 -26
- package/dist/molecules/Sieve/Sort.js +0 -1
- package/dist/molecules/Skeleton/Skeleton.styles.js +0 -1
- package/dist/molecules/Skeleton/SkeletonField.js +0 -8
- package/dist/molecules/Stepper/Step/StepIcon.js +0 -19
- package/dist/molecules/Stepper/SubTitle/SubStepIndicator.js +0 -25
- package/dist/molecules/Stepper/SubTitle/SubTitle.js +0 -7
- package/dist/molecules/TextField/TextField.js +0 -74
- package/dist/organisms/Faq/Category/Category.js +0 -9
- package/dist/organisms/Faq/Category/Question.js +0 -22
- package/dist/organisms/Faq/CategorySkeleton.js +0 -29
- package/dist/organisms/Filter/AutoCompleteMenu.js +0 -10
- package/dist/organisms/Filter/AutoCompleteText.js +0 -11
- package/dist/organisms/Filter/Filter.utils.js +0 -1
- package/dist/organisms/ReleaseNote/MetaTags.js +0 -10
- package/dist/organisms/SideBar/CreateItem.js +0 -1
- package/dist/organisms/SideBar/CreateItem.styles.js +0 -33
- package/dist/organisms/SideBar/MenuItem/BasicMenuItem.js +0 -1
- package/dist/organisms/SideBar/MenuItem/CollapsableMenuItem.js +0 -48
- package/dist/organisms/SideBar/MenuItem/MenuItem.js +0 -1
- package/dist/organisms/SideBar/MenuItem/MenuItem.styles.js +0 -37
- package/dist/organisms/SideBar/MenuItem/MenuItem.utils.js +0 -1
- package/dist/organisms/SideBar/SideBar.js +0 -1
- package/dist/organisms/SideBar/SideBar.styles.js +0 -41
- package/dist/organisms/SideBar/ToggleOpen.js +0 -1
- package/dist/organisms/SideBar/ToggleOpen.styles.js +0 -16
- package/dist/organisms/Status/Illustration.constants.js +0 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.utils.js +0 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useStartImpersonation.js +0 -1
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +0 -41
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/ImageFile.js +0 -7
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.styles.js +0 -79
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.js +0 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.styles.js +0 -7
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.js +0 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.styles.js +0 -19
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.utils.js +0 -1
- package/dist/providers/AuthProvider/AuthProvider.js +0 -1
- package/dist/providers/AuthProvider/AuthProviderInner.js +0 -1
- package/dist/providers/ReleaseNotesProvider.utils.js +0 -1
- package/dist/providers/SnackbarProvider/SnackbarProvider.js +0 -1
- package/dist/providers/SnackbarProvider/SnackbarProvider.styles.js +0 -41
- package/dist/providers/SnackbarProvider/SnackbarProvider.utils.js +0 -1
- package/dist/providers/TableOfContentsProvider.utils.js +0 -1
- package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.constants.js +0 -1
- package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js +0 -1
- package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +0 -24
- package/dist/providers/TutorialHighlightingProvider/TutorialPopover/StepIndicator.js +0 -20
- package/dist/providers/TutorialHighlightingProvider/TutorialPopover/TutorialPopover.js +0 -75
- package/dist/providers/TutorialHighlightingProvider/TutorialPopover/hooks/useTutorialPopoverPosition.js +0 -1
- package/dist/providers/TutorialHighlightingProvider/hooks/useReversedScrollY.js +0 -1
|
@@ -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{Template as t}from"../Template/Template.js";import{SelectorCard as n}from"./SelectorCard/SelectorCard.js";import{SelectorSkeleton as r}from"./SelectorCard/Skeleton.js";import{ChangingField as i}from"./ChangingField.js";import{useRef as a,useState as o}from"react";import{jsx as s,jsxs as c}from"react/jsx-runtime";import l from"styled-components";import{Waves as u}from"src/molecules/Waves/Waves";const{colors:d}=e,f=l.div`
|
|
2
2
|
> svg {
|
|
3
3
|
margin-bottom: -10px;
|
|
4
4
|
background-color: ${d.ui.background__light.rgba};
|
|
5
5
|
}
|
|
6
|
-
`,p=
|
|
6
|
+
`,p=l.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:l,isLoading:d,onChangedField:m,finishedText:h,showAccessITLink:g=!0,itemNameSingular:_=`field`})=>{let[v,y]=o(!1),b=a(``),x=t=>{t.name&&t.uuid&&(e({uuid:t.uuid,name:t.name,country:t.country??``}),b.current=t.name,y(!0))};return v?s(i,{fieldName:b.current,onChangedField:m,finishedText:h}):c(p,{className:`${t.FullWidth} ${t.WithoutScrollGutter}`,children:[s(f,{children:s(u,{})}),d?s(r,{}):s(n,{itemNameSingular:_,availableFields:l,onSelect:x,showAccessITLink:g})]})};export{m as FieldSelector};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import e,{useMemo as t,useState as n}from"react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{arrow_forward as a}from"@equinor/eds-icons";import o from"styled-components";import{Button as s,Card as c,Icon as l,Typography as u}from"@equinor/eds-core-react";import{colors as d,elevation as f,shape as p,spacings as m}from"src/atoms/style";import{SingleSelect as h}from"src/molecules/Select/SingleSelect/SingleSelect";const g=o(c)`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 50%;
|
|
4
4
|
top: 50%;
|
|
@@ -7,51 +7,51 @@ import{colors as e}from"../../../atoms/style/colors.js";import{spacings as t}fro
|
|
|
7
7
|
transform: translate(-50%, -50%);
|
|
8
8
|
width: 25rem;
|
|
9
9
|
height: auto;
|
|
10
|
-
padding: ${
|
|
11
|
-
box-shadow: ${
|
|
12
|
-
border-radius: ${
|
|
10
|
+
padding: ${m.large};
|
|
11
|
+
box-shadow: ${f.above_scrim};
|
|
12
|
+
border-radius: ${p.corners.borderRadius};
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
|
-
gap: ${
|
|
15
|
+
gap: ${m.large};
|
|
16
16
|
> h3 {
|
|
17
|
-
color: ${
|
|
17
|
+
color: ${d.text.static_icons__default.rgba};
|
|
18
18
|
}
|
|
19
19
|
> div {
|
|
20
20
|
display: flex;
|
|
21
21
|
flex-direction: column;
|
|
22
|
-
gap: ${
|
|
22
|
+
gap: ${m.large};
|
|
23
23
|
section {
|
|
24
24
|
display: grid;
|
|
25
25
|
grid-template-columns: 1fr auto;
|
|
26
26
|
align-items: flex-end;
|
|
27
|
-
grid-gap: ${
|
|
27
|
+
grid-gap: ${m.medium};
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
`,_=
|
|
30
|
+
`,_=o.div`
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
|
-
gap: ${
|
|
33
|
+
gap: ${m.small};
|
|
34
34
|
> h6 {
|
|
35
35
|
text-transform: capitalize;
|
|
36
36
|
}
|
|
37
|
-
`,v=
|
|
38
|
-
padding: ${
|
|
37
|
+
`,v=o.a`
|
|
38
|
+
padding: ${m.small} ${m.medium};
|
|
39
39
|
transition: background-color 200ms ease;
|
|
40
40
|
font-size: 14px;
|
|
41
41
|
line-height: 16px;
|
|
42
42
|
font-weight: 500;
|
|
43
|
-
border-radius: ${
|
|
43
|
+
border-radius: ${p.corners.borderRadius};
|
|
44
44
|
text-decoration: none;
|
|
45
|
-
color: ${
|
|
45
|
+
color: ${d.text.static_icons__default.rgba};
|
|
46
46
|
&:focus-within {
|
|
47
|
-
outline: ${
|
|
47
|
+
outline: ${d.interactive.primary__resting.rgba} dashed 2px;
|
|
48
48
|
}
|
|
49
49
|
&:active {
|
|
50
50
|
outline: 0;
|
|
51
|
-
background-color: ${
|
|
51
|
+
background-color: ${d.interactive.primary__selected_highlight.rgba};
|
|
52
52
|
}
|
|
53
53
|
&:hover {
|
|
54
|
-
background-color: ${
|
|
54
|
+
background-color: ${d.interactive.primary__hover_alt.rgba};
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
}
|
|
57
|
-
`,y=({availableFields:e,onSelect:
|
|
57
|
+
`,y=({availableFields:e,onSelect:o,itemNameSingular:c,showAccessITLink:d=!0})=>{let[f,p]=n(),m=()=>{f!==void 0&&o({name:f.name,uuid:f.uuid,country:f.country})},y=e=>{p(e)},b=t(()=>{let t=[];for(let n of e)n.name?t.push({label:n.name,value:n.name,...n}):console.error(`Field with no name found!:`,n);return t},[e]);return i(g,{children:[i(u,{variant:`h3`,children:[`Please select a `,c]}),i(`div`,{children:[i(`section`,{children:[r(h,{lightBackground:!0,value:f,items:b,placeholder:`Select a ${c}...`,onSelect:y}),r(s,{"data-testid":`nextButton`,variant:`contained_icon`,disabled:f===void 0,onClick:m,children:r(l,{data:a})})]}),d&&i(_,{children:[i(u,{variant:`overline`,children:[`Missing a `,c,`?`]}),r(v,{tabIndex:0,"data-testid":`missing-access`,href:`https://accessit.equinor.com/#`,target:`_blank`,children:`Go to AccessIT`})]})]})]})};export{y as SelectorCard};
|
|
@@ -1,4 +1,4 @@
|
|
|
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 t from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import i from"styled-components";import{Card as a}from"@equinor/eds-core-react";import{spacings as o}from"src/atoms/style";import{SkeletonBase as s}from"src/molecules/Skeleton/SkeletonBase/SkeletonBase";const{elevation:c,shape:l}=e,u=i(a)`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 50%;
|
|
4
4
|
top: 50%;
|
|
@@ -7,18 +7,18 @@ import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/
|
|
|
7
7
|
transform: translate(-50%, -50%);
|
|
8
8
|
width: 25rem;
|
|
9
9
|
align-items: center;
|
|
10
|
-
padding: ${
|
|
10
|
+
padding: ${o.large};
|
|
11
11
|
box-shadow: ${c.raised};
|
|
12
12
|
border-radius: ${l.corners.borderRadius};
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
justify-content: space-between;
|
|
16
|
-
`,d=
|
|
17
|
-
width: calc((25rem - 2 * ${
|
|
16
|
+
`,d=i(s)`
|
|
17
|
+
width: calc((25rem - 2 * ${o.large}) * 0.8);
|
|
18
18
|
height: calc(${l.button.minHeight});
|
|
19
|
-
`,f=
|
|
19
|
+
`,f=i(s)`
|
|
20
20
|
width: ${l.icon_button.minWidth};
|
|
21
21
|
height: ${l.icon_button.minHeight};
|
|
22
22
|
|
|
23
23
|
border-radius: ${l.icon_button.borderRadius};
|
|
24
|
-
`,p=()=>
|
|
24
|
+
`,p=()=>r(u,{children:[n(d,{role:`busy`}),n(f,{role:`busy`})]});export{p as SelectorSkeleton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useRef as e,useState as t}from"react";import{
|
|
1
|
+
import{useRef as e,useState as t}from"react";import{Fragment as n,jsx as r,jsxs as i}from"react/jsx-runtime";import{Menu as a}from"@equinor/eds-core-react";const o=({onOpenChange:o,menuItems:s,children:c})=>{let[l,u]=t(!1),d=e(null),f=()=>{u(!l),o?.(!l)},p=()=>{u(!1),o?.(!1)};return i(n,{children:[r(`button`,{ref:d,onClick:f,children:c}),l&&r(a,{open:!0,anchorEl:d.current,onClose:p,children:s})]})};export{o as ButtonWithMenu};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Container as e,Content as t,SearchField as n,SearchFieldWrapper as r,Section as i,StyledChip as a,Wrapper as o}from"./Filter.styles.js";import{useRef as s,useState as c}from"react";import{jsx as l,jsxs as u}from"react/jsx-runtime";import{colors as d}from"src/atoms/style/colors";import{arrow_drop_down as f,arrow_drop_up as p,clear as m,info_circle as h,search as g}from"@equinor/eds-icons";import{Button as _,Icon as v,Typography as y}from"@equinor/eds-core-react";import{AnimatePresence as b,motion as x}from"framer-motion";import{AutoCompleteMenu as S}from"src/organisms/Filter/AutoCompleteMenu";import{AutoCompleteText as C}from"src/organisms/Filter/AutoCompleteText";import{getFilteredAutoCompleteOptions as w}from"src/organisms/Filter/Filter.utils";function T({values:T,search:E,onSearchChange:D,onSearchEnter:O,onClearFilter:k,onClearAllFilters:A,children:j,topContent:M,inlineContent:N,initialOpen:P=!1,placeholder:F=`Search...`,id:I,...L}){let R=s(null),z=s(null),[B,V]=c(P),[H,U]=c(void 0),W=s(P?`auto`:0),G=()=>{V(e=>!e),W.current===`auto`&&(W.current=0)},K=()=>{B||V(!0)},q=()=>{R.current?.focus()},J=e=>{if(!(`autoCompleteOptions`in L)){O(e);return}let t=w({searchValue:e,autoCompleteOptions:L.autoCompleteOptions});if(t.length===1){L.onAutoComplete(t[0].key,t[0]);return}O(e)},Y=e=>{if(e.key===`Enter`&&E!==``)J(E);else if(e.key===`Backspace`&&E===``){if(H===void 0){for(let e of Object.keys(T).toReversed())if(T[e].length>0){U(e);break}return}k(H,T[H].length-1),U(void 0)}},X=Object.values(T).some(e=>e.length>0);return u(o,{id:I,children:[M,u(e,{children:[u(i,{ref:z,onClick:q,children:[l(v,{data:g,color:d.text.static_icons__tertiary.rgba}),Object.keys(T).flatMap(e=>T[e].map(({label:t,icon:n},r,i)=>l(a,{onDelete:()=>k(e,r),leadingIconData:n,$tryingToRemove:H===e&&r===i.length-1,children:t},`${t}-${r}-${e}`))),u(r,{children:[`autoCompleteOptions`in L&&L.autoCompleteOptions&&l(C,{search:E,autoCompleteOptions:L.autoCompleteOptions}),l(n,{ref:R,id:`filter-search-${I}`,type:`search`,autoComplete:`off`,value:E,placeholder:X?void 0:F,onChange:D,onKeyDownCapture:Y,onFocus:K})]}),Object.values(T).some(e=>e.length>0)&&l(_,{variant:`ghost_icon`,onClick:A,"data-testid":`clear-all-x`,children:l(v,{data:m,size:18,color:d.text.static_icons__tertiary.rgba})})]}),N,u(`button`,{onClick:G,"data-testid":`toggle-open-button`,children:[l(y,{variant:`button`,group:`navigation`,as:`span`,children:`Filters`}),l(v,{data:B?p:f,color:d.text.static_icons__tertiary.rgba})]})]}),l(b,{children:B&&l(x.div,{animate:{height:`auto`},initial:{height:W.current},exit:{height:0},children:u(t,{children:[u(`span`,{children:[l(v,{data:h,size:16,color:d.text.static_icons__tertiary.rgba}),l(y,{variant:`label`,group:`input`,color:d.text.static_icons__tertiary.rgba,children:`Type a keyword and press enter`})]}),j]})})}),`autoCompleteOptions`in L&&L.autoCompleteOptions&&l(S,{isFilterOpen:B,search:E,anchorElement:z.current,autoCompleteOptions:L.autoCompleteOptions,onAutoComplete:L.onAutoComplete,searchElement:R.current})]})}export{T as Filter};
|
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e,{css as t}from"styled-components";import{colors as n,shape as r,spacings as i,typography as a}from"src/atoms/style";import{motion as o}from"framer-motion";import{Chip as s}from"src/molecules/Chip/Chip";const c=e.div`
|
|
2
2
|
width: 100%;
|
|
3
|
-
border: 1px solid ${
|
|
4
|
-
background: ${
|
|
5
|
-
border-radius: ${
|
|
3
|
+
border: 1px solid ${n.ui.background__heavy.rgba};
|
|
4
|
+
background: ${n.ui.background__default.rgba};
|
|
5
|
+
border-radius: ${r.corners.borderRadius};
|
|
6
6
|
overflow: hidden;
|
|
7
|
-
`,l=
|
|
7
|
+
`,l=e.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
10
|
width: 100%;
|
|
11
|
-
outline: 1px solid ${
|
|
11
|
+
outline: 1px solid ${n.ui.background__medium.rgba};
|
|
12
12
|
> button:not([data-testid='clear-all-x']) {
|
|
13
|
-
padding: 0 ${
|
|
13
|
+
padding: 0 ${i.small} 0 ${i.medium_small};
|
|
14
14
|
display: flex;
|
|
15
|
-
gap: ${
|
|
15
|
+
gap: ${i.x_small};
|
|
16
16
|
align-items: center;
|
|
17
17
|
justify-content: center;
|
|
18
|
-
border-left: 1px solid ${
|
|
19
|
-
color: ${
|
|
18
|
+
border-left: 1px solid ${n.ui.background__medium.rgba};
|
|
19
|
+
color: ${n.interactive.primary__resting.rgba};
|
|
20
20
|
align-self: stretch;
|
|
21
21
|
span {
|
|
22
|
-
color: ${
|
|
22
|
+
color: ${n.interactive.primary__resting.rgba};
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&:hover {
|
|
26
|
-
background: ${
|
|
26
|
+
background: ${n.interactive.primary__hover_alt.rgba};
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
> button:last-child {
|
|
31
|
-
border-left: 1px solid ${
|
|
31
|
+
border-left: 1px solid ${n.ui.background__medium.rgba};
|
|
32
32
|
> span {
|
|
33
|
-
color: ${
|
|
33
|
+
color: ${n.text.static_icons__secondary.rgba};
|
|
34
34
|
}
|
|
35
35
|
&:hover {
|
|
36
|
-
background: ${
|
|
36
|
+
background: ${n.interactive.primary__hover_alt.rgba};
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
`,u=
|
|
39
|
+
`,u=e.section`
|
|
40
40
|
> svg:first-child {
|
|
41
41
|
flex-shrink: 0;
|
|
42
42
|
}
|
|
43
|
-
min-height: calc(48px - (2 * ${
|
|
43
|
+
min-height: calc(48px - (2 * ${i.medium_small}));
|
|
44
44
|
align-items: center;
|
|
45
45
|
flex-grow: 1;
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-wrap: wrap;
|
|
48
|
-
gap: ${
|
|
49
|
-
padding: ${
|
|
48
|
+
gap: ${i.x_small};
|
|
49
|
+
padding: ${i.medium_small} ${i.small};
|
|
50
50
|
cursor: text;
|
|
51
51
|
&:hover {
|
|
52
|
-
background: ${
|
|
52
|
+
background: ${n.ui.background__light_medium.rgba};
|
|
53
53
|
}
|
|
54
54
|
&:focus-within {
|
|
55
|
-
border-bottom: 1px solid ${
|
|
56
|
-
padding-bottom: calc(${
|
|
55
|
+
border-bottom: 1px solid ${n.interactive.primary__resting.rgba};
|
|
56
|
+
padding-bottom: calc(${i.medium_small} - 1px);
|
|
57
57
|
}
|
|
58
58
|
> button[data-testid='clear-all-x'] {
|
|
59
59
|
width: 24px;
|
|
60
60
|
height: 24px;
|
|
61
61
|
border-left: none;
|
|
62
|
-
margin-right: ${
|
|
62
|
+
margin-right: ${i.xx_small};
|
|
63
63
|
flex-shrink: 0;
|
|
64
64
|
&:after {
|
|
65
65
|
width: 24px;
|
|
66
66
|
height: 24px;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
`,d=
|
|
69
|
+
`,d=e.input`
|
|
70
70
|
background: transparent;
|
|
71
71
|
width: 0;
|
|
72
72
|
flex-grow: 1;
|
|
73
73
|
padding: 0;
|
|
74
74
|
font-family: 'Equinor', sans-serif;
|
|
75
|
-
font-size: ${
|
|
76
|
-
font-weight: ${
|
|
77
|
-
color: ${
|
|
75
|
+
font-size: ${a.input.text.fontSize};
|
|
76
|
+
font-weight: ${a.input.text.fontWeight};
|
|
77
|
+
color: ${n.text.static_icons__default.rgba};
|
|
78
78
|
outline: none;
|
|
79
79
|
border: none;
|
|
80
80
|
&::placeholder {
|
|
81
81
|
opacity: 1;
|
|
82
|
-
color: ${
|
|
82
|
+
color: ${n.text.static_icons__tertiary.rgba};
|
|
83
83
|
}
|
|
84
84
|
&::-webkit-search-cancel-button,
|
|
85
85
|
&::-webkit-search-results-button,
|
|
86
86
|
&::-webkit-search-results-decoration {
|
|
87
87
|
display: none;
|
|
88
88
|
}
|
|
89
|
-
`,f=
|
|
90
|
-
border-bottom-left-radius: ${
|
|
91
|
-
border-bottom-right-radius: ${
|
|
92
|
-
background: ${
|
|
89
|
+
`,f=e(o.div)`
|
|
90
|
+
border-bottom-left-radius: ${r.corners.borderRadius};
|
|
91
|
+
border-bottom-right-radius: ${r.corners.borderRadius};
|
|
92
|
+
background: ${n.ui.background__default.rgba};
|
|
93
93
|
overflow: hidden;
|
|
94
94
|
display: flex;
|
|
95
95
|
flex-direction: column;
|
|
96
|
-
gap: ${
|
|
97
|
-
padding: ${
|
|
96
|
+
gap: ${i.medium};
|
|
97
|
+
padding: ${i.medium};
|
|
98
98
|
> span {
|
|
99
99
|
display: flex;
|
|
100
|
-
gap: ${
|
|
100
|
+
gap: ${i.x_small};
|
|
101
101
|
}
|
|
102
|
-
`,p=
|
|
103
|
-
${({$tryingToRemove:
|
|
104
|
-
background: ${
|
|
102
|
+
`,p=e(s)`
|
|
103
|
+
${({$tryingToRemove:e})=>{if(e)return t`
|
|
104
|
+
background: ${n.interactive.primary__hover_alt.rgba};
|
|
105
105
|
`}}
|
|
106
|
-
`,m=
|
|
106
|
+
`,m=e.section`
|
|
107
107
|
position: relative;
|
|
108
108
|
flex-grow: 1;
|
|
109
109
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ButtonWithMenu as e}from"./ButtonWithMenu.js";import{useState as t}from"react";import{
|
|
1
|
+
import{ButtonWithMenu as e}from"./ButtonWithMenu.js";import{useState as t}from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{arrow_drop_down as i,arrow_drop_up as a}from"@equinor/eds-icons";import{Icon as o,Menu as s,Typography as c}from"@equinor/eds-core-react";function l({values:l,items:u,onQuickFilter:d,label:f=`Quick filter`}){let[p,m]=t(!1);return r(e,{onOpenChange:m,menuItems:Object.keys(u).flatMap(e=>u[e].map(t=>n(s.Item,{active:l[e]?.some(e=>e.value===t.value),onClick:()=>d(e,t),children:t.label},t.label))),children:[n(c,{as:`span`,variant:`button`,group:`navigation`,children:f}),n(o,{data:p?a:i})]})}export{l as QuickFilter};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ButtonWithMenu as e}from"./ButtonWithMenu.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{radio_button_selected as r,radio_button_unselected as i,sort as a}from"@equinor/eds-icons";import o from"styled-components";import{Icon as s,Menu as c,Typography as l}from"@equinor/eds-core-react";import{colors as u}from"src/atoms/style";const d=o(c.Item)`
|
|
2
2
|
> div {
|
|
3
3
|
grid-template-columns: 1fr auto;
|
|
4
4
|
}
|
|
5
|
-
`;function f({value:
|
|
5
|
+
`;function f({value:o,onChange:c,items:f}){let p=f.find(e=>e.value===o),m=e=>{c(e)};return n(e,{menuItems:f.map(e=>n(d,{onClick:()=>{m(e.value)},children:[e.label,t(s,{color:e.value===o?u.interactive.primary__resting.rgba:u.text.static_icons__tertiary.rgba,data:e.value===o?r:i})]},e.label)),children:[n(l,{as:`span`,variant:`button`,group:`navigation`,children:[`Sort by `,p?.label]}),t(s,{data:a})]})}export{f as SortMenu};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useEffect as e}from"react";import{environment as t}from"src/atoms/utils";const n=t.getAppName(import.meta.env.VITE_NAME),r=({title:t,children:r})=>(e(()=>{document.title!==t&&(document.title=`${n} - ${t}`)},[t]),r);export{r as PageTitle};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{RELEASE_NOTE_RICH_TEXT_COLLAPSED_HEIGHT as e}from"./ReleaseNote.constants.js";import{timeToRead as t,usingReleaseNoteDate as n}from"./ReleaseNote.utils.js";import{ToggleExpanded as r}from"./ToggleExpanded.js";import{forwardRef as i,useRef as a,useState as o}from"react";import{jsx as s,jsxs as c}from"react/jsx-runtime";import{ReleaseNotesService as l}from"@equinor/subsurface-app-management";import{formatDate as u,getImagesFromRichText as d}from"src/atoms/utils";import f from"styled-components";import{Typography as p}from"@equinor/eds-core-react";import{colors as m,shape as h,spacings as g}from"src/atoms/style";import{motion as _}from"framer-motion";import{RichTextDisplay as v}from"src/molecules/RichTextDisplay/RichTextDisplay";import{MetaTags as y}from"src/organisms/ReleaseNote/MetaTags";const b=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
padding: ${
|
|
4
|
+
padding: ${g.medium};
|
|
5
5
|
position: relative;
|
|
6
|
-
background: ${
|
|
7
|
-
border: 1px solid ${
|
|
8
|
-
border-radius: ${
|
|
6
|
+
background: ${m.ui.background__default.rgba};
|
|
7
|
+
border: 1px solid ${m.ui.background__heavy.rgba};
|
|
8
|
+
border-radius: ${h.corners.borderRadius};
|
|
9
9
|
min-width: 800px;
|
|
10
10
|
width: 100%;
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
> h4 {
|
|
13
|
-
margin-top: ${
|
|
14
|
-
margin-bottom: ${
|
|
13
|
+
margin-top: ${g.large};
|
|
14
|
+
margin-bottom: ${g.medium};
|
|
15
15
|
}
|
|
16
16
|
padding-bottom: calc(
|
|
17
|
-
68px + ${
|
|
17
|
+
68px + ${g.medium}
|
|
18
18
|
); // Space for the expand button
|
|
19
|
-
`,x=
|
|
19
|
+
`,x=f.header`
|
|
20
20
|
display: flex;
|
|
21
21
|
justify-content: space-between;
|
|
22
22
|
align-items: center;
|
|
23
|
-
`,S=
|
|
23
|
+
`,S=f.section`
|
|
24
24
|
display: flex;
|
|
25
|
-
gap: ${
|
|
25
|
+
gap: ${g.medium};
|
|
26
26
|
align-items: center;
|
|
27
|
-
`,C=
|
|
27
|
+
`,C=i(({applicationName:i,releaseDate:f,createdDate:h,tags:C,version:w,title:T,body:E,actionMenu:D,expanded:O=!1},k)=>{let A=n({releaseDate:f,createdDate:h}),j=a(O?`auto`:e),[M,N]=o(O),[P,F]=o(d(E).length>0),I=a(new ResizeObserver(t=>{t.at(0)&&t[0].target.scrollHeight>e&&F(!0)})),L=()=>{N(e=>!e)},R=e=>{e&&I.current.observe(e)};return c(b,{ref:k,style:{paddingBottom:M?g.medium:void 0},children:[c(x,{children:[c(S,{children:[s(p,{variant:`caption`,color:m.text.static_icons__secondary.rgba,children:i}),c(p,{variant:`overline`,color:m.text.static_icons__tertiary.rgba,children:[u(A),w?` ・ ${w}`:``,` ・ `,t(E)]})]}),s(y,{tags:C,children:D})]}),s(p,{variant:`h4`,children:T}),s(_.div,{ref:R,initial:{height:j.current},animate:{height:M?`auto`:e},style:{overflow:M?`auto`:void 0},children:s(v,{value:E,onImageRead:l.getReleaseNoteImage,padding:`none`})}),P&&!O&&s(r,{expanded:M,onToggleExpanded:L})]})});C.displayName=`ReleaseNote`;export{C as ReleaseNote};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{arrow_drop_down as n,arrow_drop_up as r}from"@equinor/eds-icons";import i from"styled-components";import{Icon as a}from"@equinor/eds-core-react";import{colors as o,spacings as s}from"src/atoms/style";import{Button as c}from"src/molecules/Button/Button";const l=i.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
bottom: 0;
|
|
4
4
|
left: 0;
|
|
5
|
-
gap: ${
|
|
6
|
-
padding: ${
|
|
5
|
+
gap: ${s.medium};
|
|
6
|
+
padding: ${s.medium};
|
|
7
7
|
background: linear-gradient(
|
|
8
|
-
color-mix(in srgb, ${
|
|
8
|
+
color-mix(in srgb, ${o.ui.background__default.rgba} 10%, transparent)
|
|
9
9
|
0%,
|
|
10
|
-
${
|
|
10
|
+
${o.ui.background__default.rgba} 15%
|
|
11
11
|
);
|
|
12
12
|
width: 100%;
|
|
13
|
-
`,u=({expanded:
|
|
13
|
+
`,u=({expanded:i,onToggleExpanded:o})=>e(l,{children:t(c,{variant:`ghost`,onClick:o,children:[`Show `,i?`less`:`more`,e(a,{data:i?r:n})]})});export{u as ToggleExpanded};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react140 from "react";
|
|
2
2
|
import { HTMLAttributes, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/organisms/SideBar/SideBar.d.ts
|
|
@@ -16,6 +16,6 @@ interface SideBarWithCreate extends SideBarProps {
|
|
|
16
16
|
createDisabled?: boolean;
|
|
17
17
|
createActive?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const SideBar:
|
|
19
|
+
declare const SideBar: react140.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react140.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { SideBar };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{MenuItem as e}from"
|
|
1
|
+
import{MenuItem as e}from"src/organisms/SideBar/MenuItem/MenuItem";import{SideBar as t}from"src/organisms/SideBar/SideBar";const n=t;n.Item=e;export{n as SideBar};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react112 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/Action.d.ts
|
|
4
4
|
interface ActionProps {
|
|
5
5
|
onClick: () => void;
|
|
6
6
|
buttonText?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const Action:
|
|
8
|
+
declare const Action: react112.ForwardRefExoticComponent<ActionProps & react112.RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Action };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEFAULT_ACTION_TEXT as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{
|
|
1
|
+
import{DEFAULT_ACTION_TEXT as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Button as r}from"@equinor/eds-core-react";const i=t(({buttonText:t=e,onClick:i},a)=>n(r,{ref:a,onClick:i,children:t}));i.displayName=`Status.Action`;export{i as Action};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react114 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/Description.d.ts
|
|
4
4
|
interface DescriptionProps {
|
|
5
5
|
text?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const Description:
|
|
7
|
+
declare const Description: react114.ForwardRefExoticComponent<DescriptionProps & react114.RefAttributes<HTMLHeadingElement>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Description };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEFAULT_DESCRIPTION as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{
|
|
1
|
+
import{DEFAULT_DESCRIPTION as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Typography as r}from"@equinor/eds-core-react";const i=t(({text:t=e},i)=>n(r,{ref:i,variant:`h4`,"data-testid":`description`,children:t}));i.displayName=`Status.Description`;export{i as Description};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import n from"styled-components";import{motion as r}from"framer-motion";import{SHAPES as i,SHAPE_ANIMATIONS as a,SHAPE_INITIALS as o,SHAPE_TRANSITIONS as s}from"src/organisms/Status/Illustration.constants";const c=n.div`
|
|
2
2
|
width: 328px;
|
|
3
3
|
height: 232px;
|
|
4
4
|
overflow: hidden;
|
|
@@ -14,4 +14,4 @@ import{SHAPES as e,SHAPE_ANIMATIONS as t,SHAPE_INITIALS as n,SHAPE_TRANSITIONS a
|
|
|
14
14
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
`,l=({color:
|
|
17
|
+
`,l=({color:n})=>e(c,{children:t(`svg`,{width:`1015`,height:`713`,viewBox:`0 0 1015 713`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[e(`rect`,{width:`1015`,height:`713`,fill:`#333333`}),a.map((t,n)=>e(r.path,{fillRule:`evenodd`,fill:i[n].fill,initial:o[n],animate:t,transition:s[n]},n)),e(`rect`,{width:`1015`,height:`713`,fill:n,mask:`url(#color-mask)`,style:{mixBlendMode:`multiply`}}),e(`rect`,{width:`1015`,height:`713`,filter:`url(#nnnoise-filter)`,mask:`url(#noise-mask)`}),t(`defs`,{children:[t(`mask`,{id:`color-mask`,children:[e(`rect`,{width:`1015`,height:`713`,fill:`white`}),e(r.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:o.at(-2),animate:a.at(-2),transition:s.at(-2),fill:`black`}),e(r.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:o.at(-1),animate:a.at(-1),transition:s.at(-1),fill:`black`})]}),t(`mask`,{id:`noise-mask`,children:[e(`rect`,{width:`1015`,height:`713`,fill:`white`}),e(r.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:o.at(-1),animate:a.at(-1),transition:s.at(-1),fill:`black`})]}),t(`filter`,{id:`nnnoise-filter`,x:`-20%`,y:`-20%`,width:`140%`,height:`140%`,filterUnits:`objectBoundingBox`,primitiveUnits:`userSpaceOnUse`,colorInterpolationFilters:`linearRGB`,children:[e(`feTurbulence`,{type:`turbulence`,baseFrequency:`0.2`,numOctaves:`4`,seed:`15`,stitchTiles:`stitch`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,result:`turbulence`}),e(r.feSpecularLighting,{surfaceScale:`60`,specularConstant:`2.3`,specularExponent:`10`,lightingColor:`#441c7b`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,in:`turbulence`,result:`specularLighting`,children:e(`feDistantLight`,{azimuth:`3`,elevation:`54`})}),e(`feColorMatrix`,{type:`saturate`,values:`0`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,in:`specularLighting`,result:`colormatrix`})]})]})]})});export{l as Illustration};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react116 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/MissingAccesses.d.ts
|
|
4
4
|
interface AccessType {
|
|
@@ -9,6 +9,6 @@ interface MissingAccessesProps {
|
|
|
9
9
|
accesses?: AccessType[];
|
|
10
10
|
text?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const MissingAccesses:
|
|
12
|
+
declare const MissingAccesses: react116.ForwardRefExoticComponent<MissingAccessesProps & react116.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { MissingAccesses };
|
|
@@ -1,11 +1,11 @@
|
|
|
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{forwardRef as t}from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{external_link as i}from"@equinor/eds-icons";import a from"styled-components";import{Button as o,Icon as s,Typography as c}from"@equinor/eds-core-react";import{spacings as l}from"src/atoms/style";const{colors:u}=e,d=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
gap: ${
|
|
4
|
+
gap: ${l.small};
|
|
5
5
|
> div {
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
align-items: center;
|
|
9
|
-
gap: ${
|
|
9
|
+
gap: ${l.medium};
|
|
10
10
|
}
|
|
11
|
-
`,f=
|
|
11
|
+
`,f=t(({accesses:e=[],text:t},a)=>r(d,{ref:a,children:[n(c,{group:`paragraph`,variant:`body_long_bold`,children:t??`You can apply for access to the app in AccessIT:`}),e?.map((e,t)=>r(`div`,{children:[n(c,{group:`paragraph`,variant:`body_short`,children:e.title}),e.url&&n(o,{as:`a`,"data-testid":`missing-access-button-${e.title}`,variant:`ghost_icon`,target:`_blank`,href:e.url,children:n(s,{data:i,color:u.text.static_icons__default.rgba})})]},t))]}));f.displayName=`Status.MissingAccesses`;export{f as MissingAccesses};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Illustration as e}from"./Illustration.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import r,{css as i}from"styled-components";import{colors as a,spacings as o}from"src/atoms/style";const s=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
gap: ${
|
|
4
|
+
gap: ${o.medium};
|
|
5
5
|
align-items: center;
|
|
6
6
|
justify-items: center;
|
|
7
7
|
max-width: 510px;
|
|
@@ -24,6 +24,6 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
|
|
|
24
24
|
}
|
|
25
25
|
// Action
|
|
26
26
|
> button {
|
|
27
|
-
margin-top: ${
|
|
27
|
+
margin-top: ${o.medium};
|
|
28
28
|
}
|
|
29
|
-
`,c=({color:
|
|
29
|
+
`,c=({color:r=a.interactive.primary__resting.rgba,expectedBackgroundColor:i=a.ui.background__light.rgba,children:o,center:c=!0})=>n(s,{$center:c,$expectedBackgroundColor:i,"data-testid":`status-container`,children:[t(e,{color:r}),o]});export{c as Status};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react108 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/Title.d.ts
|
|
4
4
|
interface TitleProps {
|
|
5
5
|
title?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const Title:
|
|
7
|
+
declare const Title: react108.ForwardRefExoticComponent<TitleProps & react108.RefAttributes<HTMLHeadingElement>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Title };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEFAULT_TITLE as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{
|
|
1
|
+
import{DEFAULT_TITLE as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Typography as r}from"@equinor/eds-core-react";const i=t(({title:t=e},i)=>n(r,{ref:i,variant:`h1`,bold:!0,"data-testid":`title`,children:t}));i.displayName=`Status.Title`;export{i as Title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{BadRequest as e}from"./BadRequest.js";import{GenericError as t}from"./GenericError.js";import{MissingAccessToApp as n}from"./MissingAccessToApp.js";import{MissingPermissions as r}from"./MissingPermissions.js";import{PageNotFound as i}from"./PageNotFound.js";import{ServerError as a}from"./ServerError.js";import{jsx as o}from"react/jsx-runtime";const s=({statusCode:s})=>s<400?null:o(s===400?e:s===401?n:s===403?r:s===404?i:s===500?a:t,{});export{s as ApiResponseError};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRouter as n}from"@tanstack/react-router";import{Status as r}from"src/organisms/Status";const i=()=>{let{history:i}=n(),a=()=>{i.go(-1)};return t(r,{color:`#AB9067`,children:[e(r.Title,{title:`Bad request`}),e(r.Description,{text:`We encountered some confusion regarding your request.
|
|
2
2
|
Please try again later, or if the issue persists, kindly report
|
|
3
|
-
it using the feedback form located in the top bar.`}),
|
|
3
|
+
it using the feedback form located in the top bar.`}),e(r.Action,{onClick:a})]})};export{i as BadRequest};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRouter as n}from"@tanstack/react-router";import{Status as r}from"src/organisms/Status";const i=()=>{let{history:i}=n(),a=()=>{i.go(-1)};return t(r,{children:[e(r.Title,{}),e(r.Description,{}),e(r.Action,{onClick:a})]})};export{i as GenericError};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{environment as n}from"src/atoms/utils";import{Status as r}from"src/organisms/Status";const i=()=>{let i=n.getAppName(import.meta.env.VITE_NAME),a=()=>{window.open(`https://accessit.equinor.com/Search/Search?term=${encodeURIComponent(i)}`,`_blank`)};return t(r,{children:[e(r.Title,{title:`You don't have access to ${i}`}),e(r.Description,{text:`You can apply for acces to the app in AccessIT`}),e(r.Action,{onClick:a,buttonText:`Apply for access`})]})};export{i as MissingAccessToApp};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRouter as n}from"@tanstack/react-router";import{Status as r}from"src/organisms/Status";const i=()=>{let{history:i}=n(),a=()=>{i.go(-1)};return t(r,{children:[e(r.Title,{title:`It looks like you don't have permission to access this page.`}),e(r.Action,{onClick:a})]})};export{i as MissingPermissions};
|