@equinor/amplify-component-lib 0.0.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/LICENSE.md +7 -0
- package/README.md +66 -0
- package/dist/esm/_virtual/_commonjsHelpers.js +1 -0
- package/dist/esm/_virtual/lodash.js +1 -0
- package/dist/esm/api/core/ApiError.js +1 -0
- package/dist/esm/api/core/CancelablePromise.js +1 -0
- package/dist/esm/api/core/OpenAPI.js +1 -0
- package/dist/esm/api/core/request.js +1 -0
- package/dist/esm/api/models/ServiceNowUrgency.js +1 -0
- package/dist/esm/api/models/TutorialPosition.js +1 -0
- package/dist/esm/api/services/PortalService.js +1 -0
- package/dist/esm/api/services/ReleaseNotesService.js +1 -0
- package/dist/esm/api/services/TutorialService.js +1 -0
- package/dist/esm/components/DataDisplay/Badge/Badge.js +1 -0
- package/dist/esm/components/DataDisplay/Badge/Badge.styles.js +17 -0
- package/dist/esm/components/DataDisplay/Chip/Chip.js +1 -0
- package/dist/esm/components/DataDisplay/Chip/Chip.styles.js +72 -0
- package/dist/esm/components/DataDisplay/Chip/InteractiveChip.js +1 -0
- package/dist/esm/components/DataDisplay/Chip/ReadOnlyChip.js +1 -0
- package/dist/esm/components/DataDisplay/DataCard.js +27 -0
- package/dist/esm/components/DataDisplay/HeaderDrawer.js +21 -0
- package/dist/esm/components/DataDisplay/InfoElement/CopyText.js +41 -0
- package/dist/esm/components/DataDisplay/InfoElement/InfoElement.js +1 -0
- package/dist/esm/components/DataDisplay/OptionalTooltip.js +4 -0
- package/dist/esm/components/DataDisplay/ProfileAvatar.js +21 -0
- package/dist/esm/components/DataDisplay/RichTextDisplay.js +1 -0
- package/dist/esm/components/DataDisplay/Table/Table.js +35 -0
- package/dist/esm/components/DataDisplay/Tutorial/HighlightBlocks/HighlightBlocks.js +14 -0
- package/dist/esm/components/DataDisplay/Tutorial/Tutorial.js +1 -0
- package/dist/esm/components/DataDisplay/Tutorial/TutorialStart.js +39 -0
- package/dist/esm/components/DataDisplay/Tutorial/TutorialSteps.js +50 -0
- package/dist/esm/components/DataDisplay/Workflow/StatusChip.js +25 -0
- package/dist/esm/components/DataDisplay/Workflow/WorkflowDescription.js +24 -0
- package/dist/esm/components/DataDisplay/Workflow/WorkflowStatusBar.js +33 -0
- package/dist/esm/components/Feature/Feature.js +1 -0
- package/dist/esm/components/Feedback/AnimatedCheckmark.js +24 -0
- package/dist/esm/components/Feedback/ConfirmationPopup.js +22 -0
- package/dist/esm/components/Feedback/ErrorPage/Action.js +1 -0
- package/dist/esm/components/Feedback/ErrorPage/Description.js +1 -0
- package/dist/esm/components/Feedback/ErrorPage/Details.js +23 -0
- package/dist/esm/components/Feedback/ErrorPage/ErrorPage.js +14 -0
- package/dist/esm/components/Feedback/ErrorPage/MissingAccesses.js +11 -0
- package/dist/esm/components/Feedback/ErrorPage/Title.js +1 -0
- package/dist/esm/components/Feedback/ErrorPage/illustrations/GlitchAnimation.js +18 -0
- package/dist/esm/components/Feedback/ErrorPage/illustrations/QuestioningAnimation.js +18 -0
- package/dist/esm/components/Feedback/ErrorPage/index.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/CompactFileProgress.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/CompactFileProgress.styles.js +86 -0
- package/dist/esm/components/Feedback/FileProgress/FileProgress.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/FileProgress.utils.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/RegularFileProgress.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/RegularFileProgress.styles.js +32 -0
- package/dist/esm/components/Feedback/FullPageSpinner.js +18 -0
- package/dist/esm/components/Feedback/FullPageStatus.js +18 -0
- package/dist/esm/components/Feedback/PageNotFound.js +1 -0
- package/dist/esm/components/Feedback/Skeleton/Skeleton.styles.js +1 -0
- package/dist/esm/components/Feedback/Skeleton/SkeletonBase/SkeletonBase.js +28 -0
- package/dist/esm/components/Feedback/Skeleton/SkeletonGradient/SkeletonGradient.js +1 -0
- package/dist/esm/components/Feedback/Stepper/Step.js +25 -0
- package/dist/esm/components/Feedback/Stepper/StepLine.js +7 -0
- package/dist/esm/components/Feedback/Stepper/Stepper.js +10 -0
- package/dist/esm/components/Feedback/Unauthorized.js +4 -0
- package/dist/esm/components/Icons/AmplifyIcons.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Acquire.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/ApplicationIcon.constants.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/ApplicationIcon.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/ApplicationIconBase.js +39 -0
- package/dist/esm/components/Icons/ApplicationIcon/ApplicationIconCollection.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Bravos.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Dasha.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Fallback.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/FourDInsight.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/InPress.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/LoggingQualification.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Orca.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Portal.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Premo.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Pwex.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Recap.js +1 -0
- package/dist/esm/components/Icons/EquinorLogo.js +1 -0
- package/dist/esm/components/Icons/Fallback.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/FeedBackIcon.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/NegativeFilled.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/NegativeOutlined.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/PositiveFilled.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/PositiveOutlined.js +1 -0
- package/dist/esm/components/Inputs/CommentField/CommentField.js +40 -0
- package/dist/esm/components/Inputs/CommentField/NewCommentField.js +45 -0
- package/dist/esm/components/Inputs/ContentMenu.js +52 -0
- package/dist/esm/components/Inputs/EditableField.js +20 -0
- package/dist/esm/components/Inputs/ExpandingIconButton/ExpandingIconButton.js +24 -0
- package/dist/esm/components/Inputs/FileUploadArea.js +32 -0
- package/dist/esm/components/Inputs/IconToggleButton.js +1 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/AddImage.js +1 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/Links.js +6 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuBar.js +13 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuBar.styles.js +14 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuButton.js +28 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/TableBar.js +6 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/TextColor.js +45 -0
- package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.js +1 -0
- package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.styles.js +139 -0
- package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.types.js +1 -0
- package/dist/esm/components/Inputs/RichTextEditor/custom-extensions/ExtendedImage.js +1 -0
- package/dist/esm/components/Inputs/Search/Search.js +13 -0
- package/dist/esm/components/Inputs/Select/ComboBox/ComboBox.js +1 -0
- package/dist/esm/components/Inputs/Select/GroupedSelectMenu.js +1 -0
- package/dist/esm/components/Inputs/Select/Select.js +1 -0
- package/dist/esm/components/Inputs/Select/Select.styles.js +149 -0
- package/dist/esm/components/Inputs/Select/Select.utils.js +1 -0
- package/dist/esm/components/Inputs/Select/SelectMenu.js +1 -0
- package/dist/esm/components/Inputs/Select/SelectMenuItem.js +1 -0
- package/dist/esm/components/Inputs/Select/SingleSelect/SingleSelect.js +1 -0
- package/dist/esm/components/Inputs/SelectDrawer/MultiSelectDrawer.js +28 -0
- package/dist/esm/components/Inputs/SelectDrawer/OptionDrawer.js +1 -0
- package/dist/esm/components/Inputs/SelectDrawer/OptionDrawer.styles.js +37 -0
- package/dist/esm/components/Inputs/SelectDrawer/SingleSelectDrawer.js +25 -0
- package/dist/esm/components/Inputs/Sieve/Filter.js +1 -0
- package/dist/esm/components/Inputs/Sieve/Sieve.js +1 -0
- package/dist/esm/components/Inputs/Sieve/Sieve.styles.js +39 -0
- package/dist/esm/components/Inputs/Sieve/Sort.js +1 -0
- package/dist/esm/components/Inputs/SingleFilterMenu.js +20 -0
- package/dist/esm/components/Inputs/TextField/TextField.js +3 -0
- package/dist/esm/components/Navigation/PageWithTitle.js +1 -0
- package/dist/esm/components/Navigation/SelectField/ChangingField.js +24 -0
- package/dist/esm/components/Navigation/SelectField/SelectField.js +15 -0
- package/dist/esm/components/Navigation/SelectField/SelectorCard/SelectorCard.js +70 -0
- package/dist/esm/components/Navigation/SelectField/SelectorCard/Skeleton.js +24 -0
- package/dist/esm/components/Navigation/SideBar/CreateItem.js +1 -0
- package/dist/esm/components/Navigation/SideBar/CreateItem.styles.js +23 -0
- package/dist/esm/components/Navigation/SideBar/MenuItem.js +1 -0
- package/dist/esm/components/Navigation/SideBar/MenuItem.styles.js +38 -0
- package/dist/esm/components/Navigation/SideBar/SideBar.js +1 -0
- package/dist/esm/components/Navigation/SideBar/SideBar.styles.js +32 -0
- package/dist/esm/components/Navigation/SideBar/ToggleOpen.js +1 -0
- package/dist/esm/components/Navigation/SideBar/ToggleOpen.styles.js +21 -0
- package/dist/esm/components/Navigation/SideBar/index.js +1 -0
- package/dist/esm/components/Navigation/TableOfContents/TableOfContents.constants.js +1 -0
- package/dist/esm/components/Navigation/TableOfContents/TableOfContents.js +1 -0
- package/dist/esm/components/Navigation/TableOfContents/TableOfContents.styles.js +165 -0
- package/dist/esm/components/Navigation/TableOfContents/TableOfContentsItem.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Account/Account.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Account/Account.styles.js +36 -0
- package/dist/esm/components/Navigation/TopBar/Actions.js +6 -0
- package/dist/esm/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -0
- package/dist/esm/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.styles.js +73 -0
- package/dist/esm/components/Navigation/TopBar/FieldSelector.js +69 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/Colorbox.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/Guidelines.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/Item.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/Section.js +19 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/index.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/FilterOptions.js +36 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationProvider.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/Notifications.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsInner.js +8 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/DeafultNotification.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.js +5 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.js +14 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.js +53 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/Notifications.types.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.const.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.styles.js +41 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.types.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.utils.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Description.js +9 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/LockedInputTooltip.js +5 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Severity.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Title.js +3 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/ImageFile.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.js +5 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.styles.js +79 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Url.js +3 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackInner.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +4 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +5 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +9 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +20 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/Success.js +9 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useFeedbackContext.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useServiceNowIncident.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackFileUpload.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackPostMessage.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.styles.js +42 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.styles.js +43 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.styles.js +23 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.styles.js +42 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.types.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.styles.js +69 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.js +16 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/hooks/useTokenReleaseNote.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/TextContent.js +28 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ResourceMenuItem.js +20 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Resources.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Resources/TransferToAppDialog.js +33 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Tutorials/TutorialInfoDialog.js +15 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Tutorials/TutorialItem.js +12 -0
- package/dist/esm/components/Navigation/TopBar/Settings.js +25 -0
- package/dist/esm/components/Navigation/TopBar/TopBar.js +1 -0
- package/dist/esm/components/Navigation/TopBar/TopBar.styles.js +65 -0
- package/dist/esm/components/Navigation/TopBar/TopBarMenu.js +7 -0
- package/dist/esm/components/Navigation/TopBar/index.js +1 -0
- package/dist/esm/components/Template/Template.js +62 -0
- package/dist/esm/components/Visuals/Waves/VisualWaves.js +48 -0
- package/dist/esm/components/Visuals/Waves/WaveShapeWithNoise.js +1 -0
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/constants/colors.js +1 -0
- package/dist/esm/constants/index.js +1 -0
- package/dist/esm/hooks/index.js +1 -0
- package/dist/esm/hooks/useDebounce.js +1 -0
- package/dist/esm/hooks/useFakeProgress.js +1 -0
- package/dist/esm/hooks/useFeatureToggling.js +1 -0
- package/dist/esm/hooks/useLocalStorage.js +1 -0
- package/dist/esm/hooks/useOnScreen.js +1 -0
- package/dist/esm/hooks/usePrevious.js +1 -0
- package/dist/esm/hooks/useReleaseNotesQuery.js +1 -0
- package/dist/esm/hooks/useSelect.js +1 -0
- package/dist/esm/hooks/useSignalRMessages.js +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/clickbounds.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/colors.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/elevation.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/index.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/interactions.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/shape.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/spacings.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/typography.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-utils/dist/esm/hooks/useOutsideClick.js +1 -0
- package/dist/esm/node_modules/highlight.js/styles/base16/solarized-dark.css +163 -0
- package/dist/esm/node_modules/lodash/lodash.js +9 -0
- package/dist/esm/node_modules/prosemirror-model/dist/index.js +1 -0
- package/dist/esm/node_modules/prosemirror-state/dist/index.js +1 -0
- package/dist/esm/node_modules/prosemirror-transform/dist/index.js +1 -0
- package/dist/esm/providers/AuthProvider/AuthProvider.js +1 -0
- package/dist/esm/providers/AuthProvider/AuthProviderInner.js +1 -0
- package/dist/esm/providers/FeatureToggleProvider.js +1 -0
- package/dist/esm/providers/ReleaseNotesProvider.js +1 -0
- package/dist/esm/providers/SideBarProvider.js +1 -0
- package/dist/esm/providers/SnackbarProvider.js +1 -0
- package/dist/esm/providers/TableOfContentsProvider.js +1 -0
- package/dist/esm/providers/TableOfContentsProvider.utils.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialDialog.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.const.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.hooks.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.styles.js +67 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.utils.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProviderInner.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialStepIndicator.js +25 -0
- package/dist/esm/providers/TutorialStepsProvider.js +1 -0
- package/dist/esm/providers/index.js +1 -0
- package/dist/esm/style/darkTokens.js +1 -0
- package/dist/esm/style/index.js +1 -0
- package/dist/esm/style/spacingTokens.js +1 -0
- package/dist/esm/style/spacings.js +1 -0
- package/dist/esm/types/Environment.js +1 -0
- package/dist/esm/types/Errors.js +1 -0
- package/dist/esm/utils/auth_environment.js +1 -0
- package/dist/esm/utils/coordinate.js +1 -0
- package/dist/esm/utils/date.js +1 -0
- package/dist/esm/utils/errors.js +1 -0
- package/dist/esm/utils/export.js +1 -0
- package/dist/esm/utils/favicon.js +1 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/map.js +1 -0
- package/dist/esm/utils/releaseNotes.js +1 -0
- package/dist/esm/utils/size.js +1 -0
- package/dist/esm/utils/sort.js +1 -0
- package/dist/esm/utils/string.js +1 -0
- package/dist/esm/utils/url.js +1 -0
- package/dist/types/api/core/ApiError.d.ts +10 -0
- package/dist/types/api/core/ApiRequestOptions.d.ts +13 -0
- package/dist/types/api/core/ApiResult.d.ts +7 -0
- package/dist/types/api/core/CancelablePromise.d.ts +26 -0
- package/dist/types/api/core/OpenAPI.d.ts +32 -0
- package/dist/types/api/core/request.d.ts +13 -0
- package/dist/types/api/index.d.ts +15 -0
- package/dist/types/api/models/AccessRole.d.ts +4 -0
- package/dist/types/api/models/Applications.d.ts +17 -0
- package/dist/types/api/models/CustomTutorialStep.d.ts +4 -0
- package/dist/types/api/models/Feature.d.ts +8 -0
- package/dist/types/api/models/FeatureToggleDto.d.ts +5 -0
- package/dist/types/api/models/GenericTutorialStep.d.ts +7 -0
- package/dist/types/api/models/GraphUser.d.ts +6 -0
- package/dist/types/api/models/ReleaseNote.d.ts +9 -0
- package/dist/types/api/models/ReleaseNotePatch.d.ts +8 -0
- package/dist/types/api/models/ServiceNowIncidentAttachmentResponse.d.ts +7 -0
- package/dist/types/api/models/ServiceNowIncidentResponse.d.ts +13 -0
- package/dist/types/api/models/ServiceNowUrgency.d.ts +5 -0
- package/dist/types/api/models/Tutorial.d.ts +13 -0
- package/dist/types/api/models/TutorialPosition.d.ts +7 -0
- package/dist/types/api/models/TutorialStepBase.d.ts +4 -0
- package/dist/types/api/services/PortalService.d.ts +35 -0
- package/dist/types/api/services/ReleaseNotesService.d.ts +28 -0
- package/dist/types/api/services/TutorialService.d.ts +12 -0
- package/dist/types/components/DataDisplay/Badge/Badge.d.ts +7 -0
- package/dist/types/components/DataDisplay/Badge/Badge.styles.d.ts +6 -0
- package/dist/types/components/DataDisplay/Chip/Chip.d.ts +14 -0
- package/dist/types/components/DataDisplay/Chip/Chip.styles.d.ts +4 -0
- package/dist/types/components/DataDisplay/Chip/InteractiveChip.d.ts +4 -0
- package/dist/types/components/DataDisplay/Chip/ReadOnlyChip.d.ts +4 -0
- package/dist/types/components/DataDisplay/DataCard.d.ts +18 -0
- package/dist/types/components/DataDisplay/HeaderDrawer.d.ts +11 -0
- package/dist/types/components/DataDisplay/InfoElement/CopyText.d.ts +10 -0
- package/dist/types/components/DataDisplay/InfoElement/InfoElement.d.ts +9 -0
- package/dist/types/components/DataDisplay/OptionalTooltip.d.ts +9 -0
- package/dist/types/components/DataDisplay/ProfileAvatar.d.ts +9 -0
- package/dist/types/components/DataDisplay/RichTextDisplay.d.ts +9 -0
- package/dist/types/components/DataDisplay/Table/Table.d.ts +2 -0
- package/dist/types/components/DataDisplay/Table/stories/data.d.ts +13 -0
- package/dist/types/components/DataDisplay/Tutorial/HighlightBlocks/HighlightBlocks.d.ts +8 -0
- package/dist/types/components/DataDisplay/Tutorial/Tutorial.d.ts +20 -0
- package/dist/types/components/DataDisplay/Tutorial/TutorialStart.d.ts +11 -0
- package/dist/types/components/DataDisplay/Tutorial/TutorialSteps.d.ts +9 -0
- package/dist/types/components/DataDisplay/Tutorial/stories/TutorialStoryComponent.d.ts +4 -0
- package/dist/types/components/DataDisplay/Workflow/StatusChip.d.ts +13 -0
- package/dist/types/components/DataDisplay/Workflow/WorkflowDescription.d.ts +17 -0
- package/dist/types/components/DataDisplay/Workflow/WorkflowStatusBar.d.ts +23 -0
- package/dist/types/components/Feature/Feature.d.ts +9 -0
- package/dist/types/components/Feedback/AnimatedCheckmark.d.ts +6 -0
- package/dist/types/components/Feedback/ConfirmationPopup.d.ts +17 -0
- package/dist/types/components/Feedback/ErrorPage/Action.d.ts +6 -0
- package/dist/types/components/Feedback/ErrorPage/Description.d.ts +5 -0
- package/dist/types/components/Feedback/ErrorPage/Details.d.ts +5 -0
- package/dist/types/components/Feedback/ErrorPage/ErrorPage.d.ts +6 -0
- package/dist/types/components/Feedback/ErrorPage/MissingAccesses.d.ts +10 -0
- package/dist/types/components/Feedback/ErrorPage/Title.d.ts +5 -0
- package/dist/types/components/Feedback/ErrorPage/illustrations/GlitchAnimation.d.ts +3 -0
- package/dist/types/components/Feedback/ErrorPage/illustrations/QuestioningAnimation.d.ts +3 -0
- package/dist/types/components/Feedback/ErrorPage/index.d.ts +16 -0
- package/dist/types/components/Feedback/FileProgress/CompactFileProgress.d.ts +6 -0
- package/dist/types/components/Feedback/FileProgress/CompactFileProgress.styles.d.ts +31 -0
- package/dist/types/components/Feedback/FileProgress/FileProgress.d.ts +28 -0
- package/dist/types/components/Feedback/FileProgress/FileProgress.utils.d.ts +2 -0
- package/dist/types/components/Feedback/FileProgress/RegularFileProgress.d.ts +6 -0
- package/dist/types/components/Feedback/FileProgress/RegularFileProgress.styles.d.ts +18 -0
- package/dist/types/components/Feedback/FullPageSpinner.d.ts +7 -0
- package/dist/types/components/Feedback/FullPageStatus.d.ts +8 -0
- package/dist/types/components/Feedback/PageNotFound.d.ts +3 -0
- package/dist/types/components/Feedback/Skeleton/Skeleton.styles.d.ts +4 -0
- package/dist/types/components/Feedback/Skeleton/SkeletonBase/SkeletonBase.d.ts +6 -0
- package/dist/types/components/Feedback/Skeleton/SkeletonGradient/SkeletonGradient.d.ts +6 -0
- package/dist/types/components/Feedback/Stepper/Step.d.ts +10 -0
- package/dist/types/components/Feedback/Stepper/StepLine.d.ts +6 -0
- package/dist/types/components/Feedback/Stepper/Stepper.d.ts +10 -0
- package/dist/types/components/Feedback/Unauthorized.d.ts +2 -0
- package/dist/types/components/Icons/AmplifyIcons.d.ts +36 -0
- package/dist/types/components/Icons/ApplicationIcon/Acquire.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/ApplicationIcon.constants.d.ts +1 -0
- package/dist/types/components/Icons/ApplicationIcon/ApplicationIcon.d.ts +8 -0
- package/dist/types/components/Icons/ApplicationIcon/ApplicationIconBase.d.ts +16 -0
- package/dist/types/components/Icons/ApplicationIcon/ApplicationIconCollection.d.ts +16 -0
- package/dist/types/components/Icons/ApplicationIcon/Bravos.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Dasha.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Fallback.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/FourDInsight.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/InPress.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/LoggingQualification.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Orca.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Portal.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Premo.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Pwex.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Recap.d.ts +3 -0
- package/dist/types/components/Icons/EquinorLogo.d.ts +8 -0
- package/dist/types/components/Icons/Fallback.d.ts +4 -0
- package/dist/types/components/Icons/FeedBackIcon/FeedBackIcon.d.ts +8 -0
- package/dist/types/components/Icons/FeedBackIcon/NegativeFilled.d.ts +4 -0
- package/dist/types/components/Icons/FeedBackIcon/NegativeOutlined.d.ts +4 -0
- package/dist/types/components/Icons/FeedBackIcon/PositiveFilled.d.ts +4 -0
- package/dist/types/components/Icons/FeedBackIcon/PositiveOutlined.d.ts +4 -0
- package/dist/types/components/Inputs/CommentField/CommentField.d.ts +13 -0
- package/dist/types/components/Inputs/CommentField/NewCommentField.d.ts +9 -0
- package/dist/types/components/Inputs/ContentMenu.d.ts +14 -0
- package/dist/types/components/Inputs/EditableField.d.ts +13 -0
- package/dist/types/components/Inputs/ExpandingIconButton/ExpandingIconButton.d.ts +12 -0
- package/dist/types/components/Inputs/FileUploadArea.d.ts +7 -0
- package/dist/types/components/Inputs/IconToggleButton.d.ts +22 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/AddImage.d.ts +7 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/Links.d.ts +3 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuBar.d.ts +8 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuBar.styles.d.ts +1 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuButton.d.ts +15 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/TableBar.d.ts +3 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/TextColor.d.ts +3 -0
- package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.d.ts +17 -0
- package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.styles.d.ts +9 -0
- package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.types.d.ts +18 -0
- package/dist/types/components/Inputs/RichTextEditor/custom-extensions/ExtendedImage.d.ts +10 -0
- package/dist/types/components/Inputs/Search/Search.d.ts +2 -0
- package/dist/types/components/Inputs/Select/ComboBox/ComboBox.d.ts +3 -0
- package/dist/types/components/Inputs/Select/GroupedSelectMenu.d.ts +2 -0
- package/dist/types/components/Inputs/Select/Select.d.ts +3 -0
- package/dist/types/components/Inputs/Select/Select.styles.d.ts +110 -0
- package/dist/types/components/Inputs/Select/Select.types.d.ts +69 -0
- package/dist/types/components/Inputs/Select/Select.utils.d.ts +6 -0
- package/dist/types/components/Inputs/Select/SelectMenu.d.ts +2 -0
- package/dist/types/components/Inputs/Select/SelectMenuItem.d.ts +2 -0
- package/dist/types/components/Inputs/Select/SingleSelect/SingleSelect.d.ts +3 -0
- package/dist/types/components/Inputs/SelectDrawer/MultiSelectDrawer.d.ts +29 -0
- package/dist/types/components/Inputs/SelectDrawer/OptionDrawer.d.ts +35 -0
- package/dist/types/components/Inputs/SelectDrawer/OptionDrawer.styles.d.ts +14 -0
- package/dist/types/components/Inputs/SelectDrawer/SingleSelectDrawer.d.ts +27 -0
- package/dist/types/components/Inputs/SelectDrawer/index.d.ts +11 -0
- package/dist/types/components/Inputs/SelectDrawer/stories/data.d.ts +7 -0
- package/dist/types/components/Inputs/Sieve/Filter.d.ts +13 -0
- package/dist/types/components/Inputs/Sieve/Sieve.d.ts +4 -0
- package/dist/types/components/Inputs/Sieve/Sieve.styles.d.ts +40 -0
- package/dist/types/components/Inputs/Sieve/Sieve.types.d.ts +25 -0
- package/dist/types/components/Inputs/Sieve/Sort.d.ts +9 -0
- package/dist/types/components/Inputs/SingleFilterMenu.d.ts +12 -0
- package/dist/types/components/Inputs/TextField/TextField.d.ts +3 -0
- package/dist/types/components/Navigation/PageWithTitle.d.ts +7 -0
- package/dist/types/components/Navigation/SelectField/ChangingField.d.ts +17 -0
- package/dist/types/components/Navigation/SelectField/SelectField.d.ts +12 -0
- package/dist/types/components/Navigation/SelectField/SelectorCard/SelectorCard.d.ts +9 -0
- package/dist/types/components/Navigation/SelectField/SelectorCard/Skeleton.d.ts +2 -0
- package/dist/types/components/Navigation/SideBar/CreateItem.d.ts +8 -0
- package/dist/types/components/Navigation/SideBar/CreateItem.styles.d.ts +19 -0
- package/dist/types/components/Navigation/SideBar/MenuItem.d.ts +18 -0
- package/dist/types/components/Navigation/SideBar/MenuItem.styles.d.ts +17 -0
- package/dist/types/components/Navigation/SideBar/SideBar.d.ts +16 -0
- package/dist/types/components/Navigation/SideBar/SideBar.styles.d.ts +8 -0
- package/dist/types/components/Navigation/SideBar/ToggleOpen.d.ts +7 -0
- package/dist/types/components/Navigation/SideBar/ToggleOpen.styles.d.ts +5 -0
- package/dist/types/components/Navigation/SideBar/index.d.ts +8 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContents.constants.d.ts +3 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContents.d.ts +8 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContents.styles.d.ts +814 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContents.types.d.ts +1 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContentsItem.d.ts +11 -0
- package/dist/types/components/Navigation/TopBar/Account/Account.d.ts +10 -0
- package/dist/types/components/Navigation/TopBar/Account/Account.styles.d.ts +16 -0
- package/dist/types/components/Navigation/TopBar/Account/stories/data.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Actions.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.styles.d.ts +25 -0
- package/dist/types/components/Navigation/TopBar/FieldSelector.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/Colorbox.d.ts +5 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/Guidelines.d.ts +10 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/Item.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/Section.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/index.d.ts +8 -0
- package/dist/types/components/Navigation/TopBar/Notifications/FilterOptions.d.ts +10 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationProvider.d.ts +12 -0
- package/dist/types/components/Navigation/TopBar/Notifications/Notifications.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsInner.d.ts +10 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/DeafultNotification.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/SystemUserDefault.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.d.ts +37 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/Notifications.types.d.ts +96 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.const.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.styles.d.ts +8 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.types.d.ts +57 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.utils.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Description.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/LockedInputTooltip.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Severity.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Title.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/ImageFile.d.ts +14 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.styles.d.ts +20 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Url.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackInner.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.d.ts +6 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/RequestStatus.d.ts +8 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.d.ts +5 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/Success.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useFeedbackContext.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useServiceNowIncident.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackFileUpload.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackPostMessage.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/providers/FeedbackContextProvider.d.ts +37 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.styles.d.ts +5 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.d.ts +6 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.styles.d.ts +25 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.styles.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.styles.d.ts +19 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.types.d.ts +19 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.styles.d.ts +28 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/hooks/useTokenReleaseNote.d.ts +1 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/TextContent.d.ts +6 -0
- package/dist/types/components/Navigation/TopBar/Resources/ResourceMenuItem.d.ts +12 -0
- package/dist/types/components/Navigation/TopBar/Resources/Resources.d.ts +13 -0
- package/dist/types/components/Navigation/TopBar/Resources/TransferToAppDialog.d.ts +8 -0
- package/dist/types/components/Navigation/TopBar/Resources/Tutorials/TutorialInfoDialog.d.ts +15 -0
- package/dist/types/components/Navigation/TopBar/Resources/Tutorials/TutorialItem.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Settings.d.ts +20 -0
- package/dist/types/components/Navigation/TopBar/TopBar.d.ts +16 -0
- package/dist/types/components/Navigation/TopBar/TopBar.styles.d.ts +50 -0
- package/dist/types/components/Navigation/TopBar/TopBarMenu.d.ts +13 -0
- package/dist/types/components/Navigation/TopBar/index.d.ts +23 -0
- package/dist/types/components/Template/Template.d.ts +14 -0
- package/dist/types/components/Visuals/Waves/VisualWaves.d.ts +9 -0
- package/dist/types/components/Visuals/Waves/WaveShapeWithNoise.d.ts +7 -0
- package/dist/types/components/index.d.ts +104 -0
- package/dist/types/constants/colors.d.ts +7 -0
- package/dist/types/constants/index.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +17 -0
- package/dist/types/hooks/useDebounce.d.ts +1 -0
- package/dist/types/hooks/useFakeProgress.d.ts +10 -0
- package/dist/types/hooks/useFeatureToggling.d.ts +3 -0
- package/dist/types/hooks/useLocalStorage.d.ts +4 -0
- package/dist/types/hooks/useOnScreen.d.ts +4 -0
- package/dist/types/hooks/usePrevious.d.ts +1 -0
- package/dist/types/hooks/useReleaseNotesQuery.d.ts +6 -0
- package/dist/types/hooks/useSelect.d.ts +22 -0
- package/dist/types/hooks/useSignalRMessages.d.ts +12 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/providers/AuthProvider/AuthProvider.d.ts +17 -0
- package/dist/types/providers/AuthProvider/AuthProviderInner.d.ts +16 -0
- package/dist/types/providers/FeatureToggleProvider.d.ts +14 -0
- package/dist/types/providers/ReleaseNotesProvider.d.ts +21 -0
- package/dist/types/providers/SideBarProvider.d.ts +10 -0
- package/dist/types/providers/SnackbarProvider.d.ts +21 -0
- package/dist/types/providers/TableOfContentsProvider.d.ts +26 -0
- package/dist/types/providers/TableOfContentsProvider.utils.d.ts +2 -0
- package/dist/types/providers/TutorialProvider/TutorialDialog.d.ts +3 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.const.d.ts +7 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.d.ts +30 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.hooks.d.ts +3 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.styles.d.ts +26 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.types.d.ts +11 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.utils.d.ts +3 -0
- package/dist/types/providers/TutorialProvider/TutorialProviderInner.d.ts +3 -0
- package/dist/types/providers/TutorialProvider/TutorialStepIndicator.d.ts +8 -0
- package/dist/types/providers/TutorialStepsProvider.d.ts +13 -0
- package/dist/types/providers/index.d.ts +10 -0
- package/dist/types/storybook/InfoCard.d.ts +8 -0
- package/dist/types/storybook/Links.d.ts +9 -0
- package/dist/types/storybook/PropsTable.d.ts +10 -0
- package/dist/types/storybook/Stack.d.ts +9 -0
- package/dist/types/storybook/Story.d.ts +2 -0
- package/dist/types/storybook/index.d.ts +6 -0
- package/dist/types/storybook/useMockProgress.d.ts +1 -0
- package/dist/types/style/darkTokens.d.ts +1 -0
- package/dist/types/style/index.d.ts +2 -0
- package/dist/types/style/spacingTokens.d.ts +1 -0
- package/dist/types/style/spacings.d.ts +11 -0
- package/dist/types/tests/browserMocks.d.ts +24 -0
- package/dist/types/tests/setupTests.d.ts +2 -0
- package/dist/types/tests/test-utils.d.ts +6 -0
- package/dist/types/types/Environment.d.ts +6 -0
- package/dist/types/types/Errors.d.ts +19 -0
- package/dist/types/types/Field.d.ts +5 -0
- package/dist/types/types/Guidelines.d.ts +14 -0
- package/dist/types/types/Icon.d.ts +7 -0
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/utils/UtilStory.d.ts +7 -0
- package/dist/types/utils/auth_environment.d.ts +47 -0
- package/dist/types/utils/coordinate.d.ts +7 -0
- package/dist/types/utils/date.d.ts +15 -0
- package/dist/types/utils/errors.d.ts +8 -0
- package/dist/types/utils/export.d.ts +3 -0
- package/dist/types/utils/favicon.d.ts +4 -0
- package/dist/types/utils/index.d.ts +12 -0
- package/dist/types/utils/map.d.ts +14 -0
- package/dist/types/utils/releaseNotes.d.ts +18 -0
- package/dist/types/utils/size.d.ts +5 -0
- package/dist/types/utils/sort.d.ts +10 -0
- package/dist/types/utils/string.d.ts +5 -0
- package/dist/types/utils/url.d.ts +5 -0
- package/package.json +178 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as i}from"../../../style/spacings.js";import t from"styled-components";const{colors:o}=e,s=t.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-self: stretch;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
width: ${e=>e.$width};
|
|
8
|
+
min-width: ${e=>e.$width};
|
|
9
|
+
height: calc(100vh - 64px);
|
|
10
|
+
position: sticky;
|
|
11
|
+
top: 64px;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
border-right: 1px solid ${o.ui.background__medium.rgba};
|
|
14
|
+
background-color: ${o.ui.background__default.rgba};
|
|
15
|
+
`,l=t.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
align-items: flex-start;
|
|
19
|
+
flex: 1 0 0;
|
|
20
|
+
align-self: stretch;
|
|
21
|
+
`,d=t.div`
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-items: flex-start;
|
|
25
|
+
align-self: stretch;
|
|
26
|
+
border-top: 1px solid ${o.ui.background__medium.rgba};
|
|
27
|
+
`,n=t.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
align-self: stretch;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
padding: 20px ${i.medium};
|
|
32
|
+
`;export{d as BottomItemContainer,n as EquinorIconContainer,s as NavigationContainer,l as TopItemContainer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{Icon as o,Typography as i}from"@equinor/eds-core-react";import{first_page as r,last_page as n}from"@equinor/eds-icons";import{tokens as a}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{IconContainer as s}from"./MenuItem.styles.js";import{Container as c}from"./ToggleOpen.styles.js";import l from"../../DataDisplay/OptionalTooltip.js";const{colors:d}=a,m=({isOpen:a,toggle:m})=>a?e(c,{$open:a,onClick:m,children:[t(s,{"data-testid":"icon-container",children:t(o,{size:24,data:r,color:d.interactive.primary__resting.rgba})}),t(i,{variant:"button",group:"navigation",color:d.text.static_icons__default.rgba,children:"Collapse"})]}):t(c,{$open:a,onClick:m,children:t(l,{title:"Expand",placement:"right",children:t(s,{"data-testid":"icon-container",children:t(o,{size:24,data:n,color:d.interactive.primary__resting.rgba})})})});export{m as default};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as o}from"../../../style/spacings.js";import t from"styled-components";const{colors:r}=e,i=t.button`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-self: stretch;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: ${({$open:e})=>!e&&"center"};
|
|
6
|
+
height: 64px;
|
|
7
|
+
padding: ${o.medium};
|
|
8
|
+
gap: ${o.medium};
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
border-bottom: 1px solid ${r.ui.background__medium.rgba};
|
|
11
|
+
transition: background 0.1s ease-out;
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
background: ${r.interactive.primary__hover_alt.rgba};
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
&:focus {
|
|
18
|
+
outline: 1px dashed ${r.interactive.primary__resting.rgba};
|
|
19
|
+
outline-offset: -1px;
|
|
20
|
+
}
|
|
21
|
+
`;export{i as Container};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./MenuItem.js";import{SideBar as m}from"./SideBar.js";const t=m;t.Item=e,t.Item.displayName="SideBar.Item";export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{spacings as o}from"../../../style/spacings.js";const s={buttons:"39px",border:"34px"},t={buttons:o.x_small,border:"0"};export{t as GAP,s as HEIGHT};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{useMemo as t}from"react";import r from"./TableOfContentsItem.js";import{TableOfContentsContainer as o,BorderItemsContainer as n}from"./TableOfContents.styles.js";import{useTableOfContents as i}from"../../../providers/TableOfContentsProvider.js";import{getValues as a}from"../../../providers/TableOfContentsProvider.utils.js";const s=({variant:s="buttons",onlyShowSelectedChildren:l=!0,isLink:d=!1})=>{const{items:m,selected:c}=i(),u=t((()=>{for(const[e,t]of m.entries()){const r=a([],t);if(t.value===c||c&&r.includes(c))return e}return-1}),[m,c]);return e(o,"border"===s?{className:"page-menu",$variant:s,layoutRoot:!0,children:m.map(((t,o)=>e(n,{"data-testid":`border-items-container-${t.value}`,$index:o,$activeIndex:u,"aria-selected":u===o,children:e(r,{variant:s,...t,onlyShowSelectedChildren:l,isLink:d})},t.value)))}:{className:"page-menu",$variant:s,layoutRoot:!0,children:m.map((t=>e(r,{variant:s,...t,onlyShowSelectedChildren:l,isLink:d},t.value)))})};export{s as TableOfContents};
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import{Link as t}from"react-router-dom";import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{HEIGHT as i}from"./TableOfContents.constants.js";import{spacings as o}from"../../../style/spacings.js";import{motion as r}from"framer-motion";import a,{css as n}from"styled-components";const{colors:s,shape:l}=e,d=a.button`
|
|
2
|
+
&:hover {
|
|
3
|
+
background: ${s.interactive.primary__hover_alt.rgba};
|
|
4
|
+
}
|
|
5
|
+
&:focus {
|
|
6
|
+
outline: 2px dashed ${s.interactive.focus.rgba};
|
|
7
|
+
outline-offset: -4px;
|
|
8
|
+
}
|
|
9
|
+
position: relative;
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-template-columns: auto 1fr;
|
|
12
|
+
align-items: center;
|
|
13
|
+
gap: ${o.small};
|
|
14
|
+
color: ${s.text.static_icons__default.rgba};
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
padding: 0 ${o.medium};
|
|
17
|
+
height: ${({$variant:t})=>i[t]};
|
|
18
|
+
transition: background 200ms;
|
|
19
|
+
> span {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
position: relative;
|
|
23
|
+
text-align: left;
|
|
24
|
+
font-family: 'Equinor', sans-serif;
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
}
|
|
28
|
+
${({$variant:t,$active:e})=>{switch(t){case"buttons":return n`
|
|
29
|
+
border-radius: ${l.corners.borderRadius};
|
|
30
|
+
background: ${e?s.interactive.primary__hover_alt.rgba:"none"};
|
|
31
|
+
`;case"border":return n`
|
|
32
|
+
> span {
|
|
33
|
+
font-weight: ${e?700:500};
|
|
34
|
+
&:after {
|
|
35
|
+
height: 0;
|
|
36
|
+
display: block;
|
|
37
|
+
content: attr(title);
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
visibility: hidden;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`}}}
|
|
45
|
+
${({$active:t})=>!t&&n`
|
|
46
|
+
&:disabled {
|
|
47
|
+
color: ${s.interactive.disabled__text.rgba};
|
|
48
|
+
cursor: not-allowed;
|
|
49
|
+
}
|
|
50
|
+
`}
|
|
51
|
+
`,c=a(t)`
|
|
52
|
+
text-decoration: none;
|
|
53
|
+
&:focus,
|
|
54
|
+
&:hover,
|
|
55
|
+
&:active {
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
color: ${s.text.static_icons__default.rgba};
|
|
58
|
+
}
|
|
59
|
+
&:hover {
|
|
60
|
+
background: ${s.interactive.primary__hover_alt.rgba};
|
|
61
|
+
}
|
|
62
|
+
&:focus-visible {
|
|
63
|
+
color: ${s.text.static_icons__default.rgba};
|
|
64
|
+
outline: 2px dashed ${s.interactive.focus.rgba};
|
|
65
|
+
outline-offset: -4px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
${({$disabled:t,$active:e})=>t&&!e&&n`
|
|
69
|
+
color: ${s.interactive.disabled__text.rgba} !important;
|
|
70
|
+
&:hover {
|
|
71
|
+
cursor: not-allowed;
|
|
72
|
+
}
|
|
73
|
+
`};
|
|
74
|
+
|
|
75
|
+
position: relative;
|
|
76
|
+
display: grid;
|
|
77
|
+
grid-template-columns: auto 1fr;
|
|
78
|
+
align-items: center;
|
|
79
|
+
gap: ${o.small};
|
|
80
|
+
color: ${s.text.static_icons__default.rgba};
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
padding: 0 ${o.medium};
|
|
83
|
+
height: ${({$variant:t})=>i[t]};
|
|
84
|
+
transition: background 200ms;
|
|
85
|
+
|
|
86
|
+
> span {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
position: relative;
|
|
90
|
+
text-align: left;
|
|
91
|
+
font-family: 'Equinor', sans-serif;
|
|
92
|
+
font-weight: 700;
|
|
93
|
+
font-size: 14px;
|
|
94
|
+
}
|
|
95
|
+
${({$variant:t,$active:e})=>{switch(t){case"buttons":return n`
|
|
96
|
+
border-radius: ${l.corners.borderRadius};
|
|
97
|
+
background: ${e?s.interactive.primary__hover_alt.rgba:"none"};
|
|
98
|
+
`;case"border":return n`
|
|
99
|
+
> span {
|
|
100
|
+
font-weight: ${e?700:500};
|
|
101
|
+
&:after {
|
|
102
|
+
height: 0;
|
|
103
|
+
display: block;
|
|
104
|
+
content: attr(title);
|
|
105
|
+
font-weight: 700;
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
overflow: hidden;
|
|
108
|
+
visibility: hidden;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
`}}}
|
|
112
|
+
`,u=a.div`
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
position: relative;
|
|
116
|
+
&:after {
|
|
117
|
+
position: absolute;
|
|
118
|
+
left: 0;
|
|
119
|
+
top: ${({$activeIndex:t,$index:e})=>100*(t-e)+"%"};
|
|
120
|
+
content: '';
|
|
121
|
+
width: 2px;
|
|
122
|
+
height: 100%;
|
|
123
|
+
background: ${s.interactive.primary__resting.rgba};
|
|
124
|
+
z-index: 100;
|
|
125
|
+
}
|
|
126
|
+
`,f=a(r.div)`
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
position: relative;
|
|
130
|
+
${({$variant:t})=>n`
|
|
131
|
+
min-height: ${i[t]};
|
|
132
|
+
${"buttons"===t&&`gap: ${o.x_small};`}
|
|
133
|
+
`}
|
|
134
|
+
`,p=a(r.div)`
|
|
135
|
+
display: flex;
|
|
136
|
+
flex-direction: column;
|
|
137
|
+
height: fit-content;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
${({$variant:t})=>{switch(t){case"buttons":return`gap: ${o.small};`;case"border":return n`
|
|
140
|
+
&:after {
|
|
141
|
+
position: absolute;
|
|
142
|
+
left: 0;
|
|
143
|
+
content: '';
|
|
144
|
+
width: 2px;
|
|
145
|
+
height: 100%;
|
|
146
|
+
background: ${s.ui.background__medium.rgba};
|
|
147
|
+
}
|
|
148
|
+
`}}}
|
|
149
|
+
`,g=a(r.div)`
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
${({$shouldShowChildren:t})=>t?null:n`
|
|
153
|
+
visibility: hidden;
|
|
154
|
+
height: 0 !important;
|
|
155
|
+
`}
|
|
156
|
+
> div > button, a {
|
|
157
|
+
${({$variant:t})=>{switch(t){case"buttons":return n`
|
|
158
|
+
margin-left: ${o.medium};
|
|
159
|
+
`;case"border":return n`
|
|
160
|
+
padding-left: ${o.x_large};
|
|
161
|
+
`}}}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
${({$variant:t})=>"buttons"===t&&`gap:${o.x_small};`}
|
|
165
|
+
`;export{u as BorderItemsContainer,d as Button,g as ChildContainer,c as Link,p as TableOfContentsContainer,f as TableOfContentsItemContainer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{useRef as i,useEffect as n,useMemo as a}from"react";import{HEIGHT as l,GAP as r}from"./TableOfContents.constants.js";import{TableOfContentsItemContainer as o,Link as d,Button as s,ChildContainer as c}from"./TableOfContents.styles.js";import{Badge as h}from"../../DataDisplay/Badge/Badge.js";import{useTableOfContents as v}from"../../../providers/TableOfContentsProvider.js";const u=({label:m,value:p,count:$,disabled:b=!1,children:f,variant:g,onlyShowSelectedChildren:y,isLink:C=!1})=>{const{isActive:S,selected:j,setSelected:k}=v(),w=i(void 0);n((()=>{void 0===w.current&&(w.current=0)}),[]);const x=a((()=>S({label:m,value:p,children:f})&&!b),[f,b,S,m,p]),D=t=>{b&&t&&t.preventDefault(),b||j===p||k(p)},O=y&&x||!y;return t(o,{$variant:g,layoutScroll:!0,layoutRoot:!0,children:[C?t(d,{$active:j===p,$variant:g,onClick:t=>D(t),to:b?"":`#${p}`,$disabled:b,tabIndex:b?-1:0,children:[e("span",{title:m,children:m}),void 0!==$&&e(h,{variant:0===$?"empty":"light",value:$})]}):t(s,{$active:j===p,$variant:g,onClick:()=>D(),disabled:b,children:[e("span",{title:m,children:m}),void 0!==$&&e(h,{variant:0===$?"empty":"light",value:$})]}),f&&e(c,{$shouldShowChildren:O,$variant:g,initial:{height:w.current},animate:{height:`\n calc(\n (${O?l[g]:"0"} * ${f.length})\n ${"buttons"===g?`+ (${r.buttons} * ${f.length-1})`:""}\n )`},transition:{duration:.4},children:f.map((t=>e(u,{onlyShowSelectedChildren:y,variant:g,...t,isLink:C},t.value)))})]})};export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as r,Fragment as o,jsx as e}from"react/jsx-runtime";import{useState as n,useRef as t,useCallback as i,useMemo as c}from"react";import{Typography as l,Button as a,Icon as m}from"@equinor/eds-core-react";import{log_out as s}from"@equinor/eds-icons";import{ProfileButton as u,Container as d,TextContent as h,RolesContainer as p,RoleChip as f,ButtonWrapper as j}from"./Account.styles.js";import A from"../../../DataDisplay/ProfileAvatar.js";import C from"../TopBarMenu.js";const g=({account:g,logout:v,photo:y,roles:B,renderCustomButton:k})=>{const[q,x]=n(!1),z=t(null),D=i((()=>x((r=>!r))),[]),T=c((()=>k?k(z,D):null),[k,D]);return r(o,{children:[T||e(u,{ref:z,onClick:D,children:e(A,{size:36,name:g?.name,url:y})}),r(C,{open:q,title:"Account",onClose:()=>x(!1),anchorEl:z.current,children:[r(d,{children:[e(A,{size:64,name:g?.name,url:y}),r(h,{children:[e(l,{variant:"h6",children:g?.name}),e(l,{children:g?.username})]}),B&&e(p,{children:B.map((r=>e(f,{children:r},r)))})]}),e(j,{children:r(a,{variant:"ghost",onClick:v,children:[e(m,{data:s}),"Log out"]})})]})]})};g.displayName="TopBar.Account";export{g as Account};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{Chip as i}from"@equinor/eds-core-react";import{tokens as e}from"../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as r}from"../../../../style/spacings.js";import o from"styled-components";const{colors:t}=e,s=o.button`
|
|
2
|
+
border-radius: 50%;
|
|
3
|
+
padding: 0;
|
|
4
|
+
outline-offset: ${r.x_small};
|
|
5
|
+
background: none;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
&:focus {
|
|
8
|
+
outline: 2px dashed ${t.interactive.primary__resting.rgba};
|
|
9
|
+
}
|
|
10
|
+
`,a=o.div`
|
|
11
|
+
padding: ${r.medium} ${r.small} 0 ${r.small};
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: ${r.small};
|
|
16
|
+
> div:first-child {
|
|
17
|
+
border: 1px solid ${t.text.static_icons__primary_white.rgba};
|
|
18
|
+
border-radius: 50%;
|
|
19
|
+
}
|
|
20
|
+
`,d=o.div`
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
align-items: center;
|
|
24
|
+
`,n=o.section`
|
|
25
|
+
display: flex;
|
|
26
|
+
gap: ${r.small};
|
|
27
|
+
margin-top: ${r.small};
|
|
28
|
+
`,l=o(i)`
|
|
29
|
+
background: ${t.ui.background__light.rgba};
|
|
30
|
+
border: 1px solid ${t.ui.background__medium.rgba};
|
|
31
|
+
color: ${t.text.static_icons__default.rgba};
|
|
32
|
+
`,m=o.div`
|
|
33
|
+
display: grid;
|
|
34
|
+
margin-top: ${r.x_large};
|
|
35
|
+
justify-content: center;
|
|
36
|
+
`;export{m as ButtonWrapper,a as Container,s as ProfileButton,l as RoleChip,n as RolesContainer,d as TextContent};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import{TopBar as o}from"@equinor/eds-core-react";import{spacings as t}from"../../../style/spacings.js";import i from"styled-components";const s=i(o.Actions)`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
flex-direction: row-reverse;
|
|
5
|
+
gap: ${t.large};
|
|
6
|
+
`,m=e((({children:e},o)=>r(s,{ref:o,children:e})));m.displayName="TopBar.Actions";export{m as Actions};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as r,Fragment as i,jsx as e}from"react/jsx-runtime";import{useState as o,useRef as t}from"react";import{Icon as a,DotProgress as n,Typography as c}from"@equinor/eds-core-react";import{apps as l,exit_to_app as s}from"@equinor/eds-icons";import{tokens as p}from"../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{useQuery as d}from"@tanstack/react-query";import{TopBarButton as m}from"../TopBar.styles.js";import h from"../TopBarMenu.js";import{PortalService as u}from"../../../../api/services/PortalService.js";import v from"../../../Icons/ApplicationIcon/ApplicationIcon.js";import{MenuSection as g,ApplicationContent as f,LoadingApplications as A,NoApplications as j,ApplicationBox as _,ApplicationButton as y,ApplicationName as C,MenuFixedItem as T,TextContainer as E}from"./ApplicationDrawer.styles.js";import P from"../Resources/TransferToAppDialog.js";import{environment as b}from"../../../../utils/auth_environment.js";import"../../../Feedback/ErrorPage/illustrations/GlitchAnimation.js";import"../../../Feedback/ErrorPage/illustrations/QuestioningAnimation.js";import"../../../../types/Errors.js";import"html2canvas";import"proj4";const{colors:k}=p,{getAppName:S,PORTAL_URL_WITHOUT_LOCALHOST:q}=b,I=()=>{const[p,b]=o(!1),[I,L]=o(void 0),[x,N]=o(!1),{data:z=[],isLoading:O}=d({queryKey:["userApplications"],queryFn:()=>u.userApplications()}),$=t(null),B=()=>b(!p),F=()=>{b(!1),L(void 0)};return r(i,O?{children:[e(m,{variant:"ghost",onClick:B,ref:$,$isSelected:p,children:e(a,{data:l,size:24})}),e(h,{open:p,title:"Your available applications",onClose:F,anchorEl:$.current,contentPadding:!1,children:e(i,{children:e(g,{children:e(f,{children:e(A,{children:e(n,{color:"primary"})})})})})})]}:{children:[e(m,{variant:"ghost",onClick:B,ref:$,$isSelected:p,children:e(a,{data:l,size:24})}),e(h,{open:p,title:"Your available applications",onClose:F,anchorEl:$.current,contentPadding:!1,children:r(i,{children:[r(g,{children:[0===z.length?e(j,{children:e(c,{group:"paragraph",variant:"body_short",style:{color:k.text.static_icons__tertiary.rgba},children:"You don't have access to other applications"})}):e(c,{group:"paragraph",variant:"overline",children:"SWITCH BETWEEN APPS"}),e(f,{children:e(i,{children:z.map(((i,o)=>{const t=S(import.meta.env.VITE_NAME)===i.name;return e(_,{$isSelected:t,"data-testid":`application-box-${i.name}`,children:r(y,{variant:"ghost_icon",onClick:()=>{L(i)},"data-testid":i.name,children:[e(v,{name:i.name.toLowerCase(),size:36}),e(C,{children:e(c,{group:"paragraph",variant:"caption",children:i.name})})]})},o)}))})})]}),e(T,{"data-testid":"access-it-link",onClick:()=>{N(!0)},children:r("div",{children:[r(E,{children:[e(c,{variant:"overline",children:"Access to more applications?"}),e(c,{variant:"h6",children:"Go to Application Portal"})]}),e(a,{data:s,color:k.interactive.primary__resting.rgba,size:24})]})})]})}),x&&e(P,{onClose:F,applicationName:"Portal",url:q}),I&&e(P,{onClose:F,applicationName:I.name,url:I.url})]})};export{I as default};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import{Button as e}from"@equinor/eds-core-react";import{tokens as i}from"../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as r}from"../../../../style/spacings.js";import d from"styled-components";const{colors:t,shape:o}=i,n=d.div`
|
|
2
|
+
border-bottom: 1px solid ${t.ui.background__light.rgba};
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
|
|
6
|
+
padding: ${r.small} ${r.medium} ${r.medium}
|
|
7
|
+
${r.medium};
|
|
8
|
+
> p {
|
|
9
|
+
margin-left: ${r.small};
|
|
10
|
+
}
|
|
11
|
+
`,a=d.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: flex-start;
|
|
14
|
+
> p {
|
|
15
|
+
text-align: center;
|
|
16
|
+
}
|
|
17
|
+
`,l=d.div`
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
20
|
+
padding-top: ${r.small};
|
|
21
|
+
justify-items: center;
|
|
22
|
+
gap: ${r.small};
|
|
23
|
+
`,s=d.div`
|
|
24
|
+
> div {
|
|
25
|
+
display: grid;
|
|
26
|
+
grid-template-columns: 1fr 24px;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
&:hover {
|
|
31
|
+
background: ${t.interactive.primary__selected_hover.rgba};
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
border-top: 1px solid ${t.ui.background__light.rgba};
|
|
35
|
+
outline: none !important;
|
|
36
|
+
padding: ${r.medium};
|
|
37
|
+
svg {
|
|
38
|
+
align-self: center;
|
|
39
|
+
}
|
|
40
|
+
`,m=d.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
> h6 {
|
|
44
|
+
text-transform: capitalize;
|
|
45
|
+
}
|
|
46
|
+
`,p=d.div`
|
|
47
|
+
display: flex;
|
|
48
|
+
padding: ${r.medium};
|
|
49
|
+
`,c=d.div`
|
|
50
|
+
display: flex;
|
|
51
|
+
padding: ${r.large};
|
|
52
|
+
align-items: center;
|
|
53
|
+
grid-column: span 3;
|
|
54
|
+
`,g=d.div`
|
|
55
|
+
display: flex;
|
|
56
|
+
width: 100%;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
align-items: center;
|
|
60
|
+
background: ${({$isSelected:e})=>e?t.interactive.primary__selected_highlight.rgba:"none"};
|
|
61
|
+
border-radius: ${o.corners.borderRadius};
|
|
62
|
+
&:hover {
|
|
63
|
+
background: ${t.interactive.primary__hover_alt.rgba};
|
|
64
|
+
border-radius: ${o.corners.borderRadius};
|
|
65
|
+
}
|
|
66
|
+
`,u=d(e)`
|
|
67
|
+
height: 96px;
|
|
68
|
+
|
|
69
|
+
> span {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
}
|
|
73
|
+
`;export{g as ApplicationBox,u as ApplicationButton,l as ApplicationContent,a as ApplicationName,c as LoadingApplications,s as MenuFixedItem,n as MenuSection,p as NoApplications,m as TextContainer};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import{jsxs as e,jsx as i,Fragment as r}from"react/jsx-runtime";import{forwardRef as t,useState as o,useRef as n,useMemo as a}from"react";import{Typography as l,Icon as d,Search as c}from"@equinor/eds-core-react";import{platform as s,arrow_drop_up as m,arrow_drop_down as u,check as p,exit_to_app as h}from"@equinor/eds-icons";import{tokens as g}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{TopBarButton as f}from"./TopBar.styles.js";import v from"./TopBarMenu.js";import{spacings as _}from"../../../style/spacings.js";import b from"styled-components";import{useOutsideClick as x}from"../../../node_modules/@equinor/eds-utils/dist/esm/hooks/useOutsideClick.js";const{colors:$}=g,y=b.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
|
|
5
|
+
padding: ${_.medium_small} ${_.medium};
|
|
6
|
+
div[role='search'] {
|
|
7
|
+
> div {
|
|
8
|
+
outline: none !important;
|
|
9
|
+
}
|
|
10
|
+
input {
|
|
11
|
+
color: ${$.text.static_icons__default.rgba};
|
|
12
|
+
}
|
|
13
|
+
input:focus {
|
|
14
|
+
box-shadow: inset 0 -2px 0 0 ${$.interactive.primary__resting.rgba};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`,k=b(l)`
|
|
18
|
+
margin: 0 auto ${_.medium};
|
|
19
|
+
`,w=b.div`
|
|
20
|
+
max-height: 25vh;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
overflow-y: auto;
|
|
24
|
+
`,C=b.div`
|
|
25
|
+
&:hover {
|
|
26
|
+
background: ${$.interactive.primary__selected_hover.rgba};
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
border-top: 1px solid ${$.ui.background__light.rgba};
|
|
30
|
+
outline: none !important;
|
|
31
|
+
padding: ${_.medium} ${_.large};
|
|
32
|
+
`,j=b.div`
|
|
33
|
+
${e=>e.$active&&`background: ${$.interactive.primary__selected_highlight.rgba};\n `};
|
|
34
|
+
> div {
|
|
35
|
+
display: grid;
|
|
36
|
+
grid-template-columns: 1fr 24px;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
&:hover {
|
|
41
|
+
background: ${$.interactive.primary__selected_hover.rgba};
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
border-top: 1px solid ${$.ui.background__light.rgba};
|
|
45
|
+
outline: none !important;
|
|
46
|
+
padding: ${_.medium} ${_.large};
|
|
47
|
+
svg {
|
|
48
|
+
align-self: center;
|
|
49
|
+
}
|
|
50
|
+
`,L=b.div`
|
|
51
|
+
border-bottom: 1px solid ${$.ui.background__light.rgba};
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
> p {
|
|
55
|
+
margin-left: ${_.large};
|
|
56
|
+
margin-bottom: ${_.small};
|
|
57
|
+
}
|
|
58
|
+
`,S=b.div`
|
|
59
|
+
padding-top: ${_.small};
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
padding-bottom: ${_.xxx_large};
|
|
63
|
+
`,q=b.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
> h6 {
|
|
67
|
+
text-transform: capitalize;
|
|
68
|
+
}
|
|
69
|
+
`,F=t((({currentField:t,availableFields:g,onSelect:_,showAccessITLink:b=!0},F)=>{const[z,T]=o(!1),A=n(null),B=n(null),[I,M]=o(""),N=()=>T(!1);x(A.current,(e=>{B.current!==e.target&&T(!1)}));const E=a((()=>""===I?g.filter((e=>e.name?.toLowerCase()!==t?.name?.toLowerCase())):g.filter((e=>e.name?.toLowerCase().includes(I.toLowerCase())))),[g,I,t]),G=a((()=>0===E.length&&g.length>1),[g.length,E.length]),O=a((()=>{if(t?.name)return t?.name?.charAt(0).toUpperCase()+t?.name?.slice(1)}),[t?.name]),P=a((()=>E.length>=4||""!==I),[E,I]);return void 0===t?null:e("div",{ref:F,children:[e(f,{variant:"ghost",ref:B,onClick:()=>T(!z),$isSelected:z,"data-testid":"field-selector-top-bar-button",$fieldSelector:!0,children:[i(d,{data:s,size:24}),O,i(d,{data:z?m:u})]}),i(v,{open:z,title:"Field Selection",onClose:N,anchorEl:B.current,contentPadding:!1,ref:A,children:e(r,{children:[e(L,{children:[P&&i(y,{children:i(c,{autoFocus:!0,placeholder:"Search fields",value:I,onChange:e=>{M(e.target.value)}})}),e(w,{children:[t&&!G&&""===I&&i(j,{$active:!0,children:e("div",{children:[i(q,{children:i(l,{variant:"h6",children:t.name?.toLowerCase()})}),i(d,{data:p,color:$.interactive.primary__resting.rgba,size:24})]})}),G?i(S,{children:i(k,{variant:"body_short",color:$.text.static_icons__tertiary.rgba,children:"No fields matching your search"})}):E.map((e=>i(C,{onClick:()=>{_(e),N()},children:i(q,{children:i(l,{variant:"h6",children:e.name?.toLowerCase()})})},e.uuid)))]})]}),b&&!G&&i(j,{"data-testid":"access-it-link",onClick:()=>window.open("https://accessit.equinor.com/#","_blank"),children:e("div",{children:[e(q,{children:[i(l,{variant:"overline",children:"Missing a field?"}),i(l,{variant:"h6",children:"Go to AccessIT"})]}),i(d,{data:h,color:$.interactive.primary__resting.rgba,size:24})]})})]})})]})}));F.displayName="FieldSelector";export{F as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{tokens as o}from"../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import e from"styled-components";const{elevation:s}=o,d=e.div`
|
|
2
|
+
width: 52px;
|
|
3
|
+
height: 32px;
|
|
4
|
+
background-color: ${o=>o.$color};
|
|
5
|
+
box-shadow: ${s.raised};
|
|
6
|
+
`;export{d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as o,Fragment as t,jsx as e}from"react/jsx-runtime";import{useState as r,useRef as i}from"react";import{Icon as n}from"@equinor/eds-core-react";import{info_circle as c}from"@equinor/eds-icons";import l from"./Colorbox.js";import s from"./Item.js";import m from"./Section.js";import{TopBarButton as a}from"../TopBar.styles.js";import p from"../TopBarMenu.js";const d=({sections:d})=>{const[f,h]=r(!1),u=i(null);return o(t,{children:[e(a,{variant:"ghost",ref:u,onClick:()=>{h(!f)},"data-testid":"show-hide-button",$isSelected:f,children:e(n,{data:c})},"topbar-notifications"),e(p,{open:f,anchorEl:u.current,onClose:()=>{h(!1)},withGap:!0,children:d.map(((t,r)=>e(m,{title:t.sectionName,children:t.items.map(((t,i)=>"element"in t?e(s,{title:t.title,children:t.element},`${i}-${r}`):o(s,{title:t.title,children:[t.colorBox&&e(l,{"data-testid":`color-box-${t.title}`,$color:t.color}),e(n,{data:t.icon,color:t.color,size:24})]},`${i}-${r}`)))},`section-${t.sectionName}`)))})]})};d.displayName="TopBar.Guidelines";export{d as Guidelines};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{Typography as r}from"@equinor/eds-core-react";import{spacings as i}from"../../../../style/spacings.js";import o from"styled-components";const n=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: flex-start;
|
|
5
|
+
gap: ${i.medium_small};
|
|
6
|
+
`,s=({title:i,children:o})=>t(n,{children:[o,e(r,{variant:"caption",children:i})]});export{s as default};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import{jsxs as e,jsx as i}from"react/jsx-runtime";import{Typography as t}from"@equinor/eds-core-react";import{spacings as o}from"../../../../style/spacings.js";import n from"styled-components";const r=n.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${o.medium};
|
|
5
|
+
> p {
|
|
6
|
+
padding-left: ${o.medium};
|
|
7
|
+
padding-top: ${o.small};
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
> section {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: ${o.medium};
|
|
14
|
+
margin-left: ${o.medium};
|
|
15
|
+
overflow: auto;
|
|
16
|
+
height: fit-content;
|
|
17
|
+
max-height: 66vh;
|
|
18
|
+
}
|
|
19
|
+
`,d=({title:o,children:n})=>e(r,{"data-testid":"guidelines-section",children:[i(t,{variant:"overline",children:o}),i("section",{children:n})]});export{d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"./Colorbox.js";import{Guidelines as r}from"./Guidelines.js";const s=r;s.Colorbox=o;export{s as default};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{jsxs as e,Fragment as i,jsx as r}from"react/jsx-runtime";import{useState as o,useRef as n}from"react";import{Menu as t,Typography as a,Icon as l}from"@equinor/eds-core-react";import{filter_list as c,sort as d,checkbox as s,checkbox_outline as m}from"@equinor/eds-icons";import{tokens as p}from"../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{SortNotification as h,FilterNotification as u}from"./NotificationsTemplate/Notifications.types.js";import g from"styled-components";const{spacings:f,colors:b,shape:_}=p,E=g(t.Item)`
|
|
2
|
+
display: flex;
|
|
3
|
+
`,v=g.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: ${f.comfortable.small};
|
|
6
|
+
padding: ${f.comfortable.medium};
|
|
7
|
+
`,k=g(t)`
|
|
8
|
+
padding: ${f.comfortable.small} 0;
|
|
9
|
+
`,$=g.div`
|
|
10
|
+
padding: ${f.comfortable.small} ${f.comfortable.large};
|
|
11
|
+
`,S=g.span`
|
|
12
|
+
font-family: 'Equionor', sans-serif;
|
|
13
|
+
font-size: 12px;
|
|
14
|
+
border-radius: ${_.rounded.borderRadius};
|
|
15
|
+
border: ${({$active:e})=>e?`solid 1px ${b.interactive.primary__selected_hover.rgba}`:`solid 1px ${b.ui.background__medium.rgba}`};
|
|
16
|
+
background-color: ${({$active:e})=>e?b.interactive.primary__selected_highlight.rgba:b.ui.background__default.rgba};
|
|
17
|
+
color: black;
|
|
18
|
+
padding: ${f.comfortable.x_small} ${f.comfortable.small};
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
align-items: center;
|
|
22
|
+
grid-gap: ${f.comfortable.small};
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
&:hover {
|
|
25
|
+
background: ${b.interactive.primary__selected_highlight.rgba};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
> p {
|
|
29
|
+
line-height: normal;
|
|
30
|
+
height: min-content;
|
|
31
|
+
font-size: 12px;
|
|
32
|
+
}
|
|
33
|
+
> svg {
|
|
34
|
+
color: ${({$active:e})=>e?b.text.static_icons__default.rgba:b.interactive.primary__resting.rgba};
|
|
35
|
+
}
|
|
36
|
+
`,C=({onFilter:t,onSort:p,sortMenuRef:g,filterMenuRef:f})=>{const[b,_]=o(!1),[C,N]=o(!1),x=n(null),y=n(null),[O,D]=o({[h.UNREAD]:!1,[h.OLD_NEWEST]:!1,[h.NEW_OLDEST]:!1}),[R,U]=o({[u.SYSTEM]:!1,[u.USER]:!1,[u.UNREAD]:!1}),M=()=>{_(!1)},T=()=>{N(!1)},A=e=>{t(R[e]?[]:[e]),U((i=>({...i,[e]:!i[e]})))},L=e=>{p(O[e]?[]:[e]),D((i=>({...i,[e]:!i[e]})))};return e(i,{children:[e(v,{children:[e(S,{onClick:()=>b?M():(_(!0),void N(!1)),ref:x,$active:b,children:[r(a,{group:"ui",variant:"chip__badge",children:"Filter by"}),r(l,{data:c,size:16})]}),e(S,{onClick:()=>C?T():(N(!0),void _(!1)),ref:y,$active:C,children:[r(a,{group:"ui",variant:"chip__badge",children:"Sort by"}),r(l,{data:d,size:16})]})]}),b&&e(k,{open:b,anchorEl:x.current,placement:"bottom-start",ref:f,onClose:M,children:[r($,{children:r(a,{group:"navigation",variant:"label",children:"Filter notifications"})}),e(E,{onClick:()=>A(u.USER),closeMenuOnClick:!1,children:[r(l,{data:R[u.USER]?s:m}),r(a,{children:" User messages "})]}),e(E,{onClick:()=>A(u.SYSTEM),closeMenuOnClick:!1,children:[r(l,{data:R[u.SYSTEM]?s:m}),r(a,{children:" System messages "})]}),e(E,{onClick:()=>A(u.UNREAD),closeMenuOnClick:!1,children:[r(l,{data:R[u.UNREAD]?s:m}),r(a,{children:" Unread "})]})]}),C&&e(k,{open:C,anchorEl:y.current,placement:"bottom-start",ref:g,onClose:T,children:[r($,{children:r(a,{group:"navigation",variant:"label",children:"Sort notifications"})}),e(E,{onClick:()=>L(h.NEW_OLDEST),closeMenuOnClick:!1,children:[r(l,{data:O[h.NEW_OLDEST]?s:m}),r(a,{children:" Newest to oldest "})]}),e(E,{onClick:()=>L(h.OLD_NEWEST),closeMenuOnClick:!1,children:[r(l,{data:O[h.OLD_NEWEST]?s:m}),r(a,{children:" Oldest to newest "})]}),e(E,{onClick:()=>L(h.UNREAD),closeMenuOnClick:!1,children:[r(l,{data:O[h.UNREAD]?s:m}),r(a,{children:" Unread"})]})]})]})};export{C as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{createContext as t,useContext as e,useState as i}from"react";const o=t(void 0),n=()=>{const r=e(o);if(void 0===r)throw new Error("useNotificationContext must be used within a Notification provider");return r},s=({children:t})=>{const[e,n]=i(!1);return r(o.Provider,{value:{isOpen:e,setIsOpen:n},children:t})};export{s as default,n as useNotification};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import r from"./NotificationProvider.js";import{NotificationsInner as i}from"./NotificationsInner.js";const t=t=>o(r,{children:o(i,{...t})});export{t as default};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{useRef as t,useState as e,useMemo as i,createElement as o}from"react";import{jsxs as n,Fragment as r,jsx as s}from"react/jsx-runtime";import{Icon as a}from"@equinor/eds-core-react";import{notifications as l}from"@equinor/eds-icons";import{TopBarButton as c,UnreadRedDot as d}from"../TopBar.styles.js";import m from"./NotificationsTemplate/NotificationElements/NoNotifications.js";import{FilterNotification as f,SortNotification as p}from"./NotificationsTemplate/Notifications.types.js";import u from"./NotificationsTemplate/NotificationTemplate.js";import h from"./FilterOptions.js";import{useNotification as N}from"./NotificationProvider.js";import T from"../TopBarMenu.js";import R from"styled-components";const g=R.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
`,j=R.div`
|
|
4
|
+
overflow: auto;
|
|
5
|
+
height: fit-content;
|
|
6
|
+
max-height: 66vh;
|
|
7
|
+
width: 350px;
|
|
8
|
+
`,E=({children:R,hasUnread:E=!1,setAllAsRead:v,showFilterOptions:S=!1,notifications:w})=>{const y=t(null),x=t(null),D=t(null),{isOpen:O,setIsOpen:A}=N(),[M,U]=e([]),[b,q]=e([]),B=i((()=>{if(!w)return[];let t=[...w];return M.length>0&&(t=t.filter((t=>M.includes(f.UNREAD)?!t.Read:M.includes(f.USER)?t.user:M.includes(f.SYSTEM)?!t.user:void 0))),b.length>0&&(t=t.sort(((t,e)=>{const i=new Date(t.time).getTime(),o=new Date(e.time).getTime();return b.includes(p.OLD_NEWEST)?o-i:b.includes(p.UNREAD)?t.Read===e.Read?0:t.Read?1:-1:i-o}))),t}),[M,w,b]),F=()=>{v(),A(!1)};return n(r,{children:[n(c,{variant:"ghost",ref:y,onClick:()=>{O?F():A(!0)},"data-testid":"show-hide-button",$isSelected:O,children:[s(a,{data:l,size:24}),E&&s(d,{"data-testid":"unread-dot"})]},"topbar-notifications"),n(T,{open:O,anchorEl:y.current,contentPadding:!1,isNotification:!0,onClose:F,children:[S&&s(g,{children:s(h,{onFilter:U,onSort:q,sortMenuRef:D,filterMenuRef:x})}),s(j,R?{children:R}:{children:B&&B?.length>0?B.map((t=>o(u,{...t,key:t.SequenceNumber}))):s(m,{})})]})]})};E.displayName="TopBar.NotificationsInner";export{E as NotificationsInner};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{Typography as o}from"@equinor/eds-core-react";import{tokens as t}from"../../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{NotificationsTypes as i}from"../Notifications.types.js";import r from"styled-components";const{spacings:m}=t,s=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${m.comfortable.medium};
|
|
5
|
+
padding-top: ${m.comfortable.medium_small};
|
|
6
|
+
`,a=({message:t})=>e(s,{"data-testid":i.DEFAULT,children:e(o,{group:"table",variant:"cell_text",children:t})});export{a as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{jsxs as e,jsx as i}from"react/jsx-runtime";import{Tooltip as o,Typography as r}from"@equinor/eds-core-react";import{tokens as t}from"../../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import l from"styled-components";const{spacings:n}=t,d=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${n.comfortable.medium};
|
|
5
|
+
padding-top: ${n.comfortable.medium_small};
|
|
6
|
+
`,a=({well:t,commentsCount:l,onClick:n})=>e(d,{children:[i(o,{title:`Go to ${t.displayName}`,children:e("div",{onClick:n,children:[i(r,{group:"table",variant:"cell_text",bold:!0,children:"Experience report are due in 3 weeks"}),i(r,{group:"table",variant:"cell_text",children:t.displayName})]})}),i("div",{children:e(r,{group:"table",variant:"cell_text",children:[l," experiences"]})})]});export{a as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{jsx as e,jsxs as o}from"react/jsx-runtime";import{Tooltip as r,Typography as t}from"@equinor/eds-core-react";import{tokens as i}from"../../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import m from"styled-components";const{spacings:a}=i,n=m.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${a.comfortable.medium};
|
|
5
|
+
padding-top: ${a.comfortable.medium_small};
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
`,s=({fromUser:i,branchName:m,onClick:a})=>e(n,{onClick:a,children:e(r,{title:`Go to ${m}`,children:o(t,{group:"table",variant:"cell_text",children:[i.displayName," has merged your branch ",m," to the master"]})})});export{s as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{jsxs as e,jsx as o}from"react/jsx-runtime";import{Typography as i}from"@equinor/eds-core-react";import{tokens as r}from"../../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import n from"../../../../../Icons/FeedBackIcon/FeedBackIcon.js";import t from"styled-components";const{spacings:m}=r,s=t.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${m.comfortable.medium};
|
|
5
|
+
align-items: center;
|
|
6
|
+
padding: ${m.comfortable.large};
|
|
7
|
+
`,a=()=>e(s,{children:[o(n,{name:"positive",variant:"filled"}),o(i,{children:" No notifications "})]});export{a as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{Tooltip as r,Typography as l}from"@equinor/eds-core-react";import{tokens as t}from"../../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import o from"styled-components";const{spacings:n}=t,d=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${n.comfortable.medium};
|
|
5
|
+
`,a=({experienceCount:t,well:o,onClick:n})=>e(r,{title:`Go to ${o.displayName}`,children:i(d,{onClick:n,children:[i("div",{children:[e(l,{group:"table",variant:"cell_text",bold:!0,children:"Experiences are ready to be published"}),e(l,{group:"table",variant:"cell_text",children:o.displayName})]}),e("div",{children:e(l,{group:"table",variant:"cell_text",children:t})})]})});export{a as default};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{Tooltip as r,Typography as t,Chip as l}from"@equinor/eds-core-react";import{tokens as o}from"../../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{NotificationsTypes as a}from"../Notifications.types.js";import n from"styled-components";const{spacings:d}=o,p=n.div`
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: 1fr 1fr;
|
|
4
|
+
gap: ${d.comfortable.medium};
|
|
5
|
+
padding-top: ${d.comfortable.medium_small};
|
|
6
|
+
`,c=n.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
`,s=n.div`
|
|
10
|
+
grid-column: span 3;
|
|
11
|
+
display: flex;
|
|
12
|
+
gap: 5px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
`,m=({field:o,wellbore:n,dataType:d,onClick:m})=>e(r,{title:`Go to ${d}`,children:i(p,{onClick:m,"data-testid":a.READY_TO_REPORT,children:[i(c,{children:[e(t,{group:"paragraph",variant:"overline",children:"Field"}),e(t,{group:"table",variant:"cell_text",children:o})]}),i(c,{children:[e(t,{group:"paragraph",variant:"overline",children:"WELLBORE"}),e(t,{group:"table",variant:"cell_text",children:n})]}),i(s,{children:[i(l,{children:[" ",d," "]}),e(t,{group:"navigation",variant:"label",children:"is ready to report"})]})]})});export{m as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{jsx as e,jsxs as o}from"react/jsx-runtime";import{Tooltip as r,Typography as t}from"@equinor/eds-core-react";import{tokens as i}from"../../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import a from"../../../../../DataDisplay/OptionalTooltip.js";import l from"styled-components";const{spacings:m}=i,n=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${m.comfortable.medium};
|
|
5
|
+
padding-top: ${m.comfortable.medium_small};
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
`,s=({fromUser:i,branchName:l,onClick:m})=>e(r,{title:`Go to ${l}`,children:e(n,{onClick:m,children:e(a,{title:`Go to ${l}`,children:o(t,{group:"table",variant:"cell_text",children:[i.displayName," has requested changes for branch ",l]})})})});export{s as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{jsx as e,jsxs as o}from"react/jsx-runtime";import{Tooltip as t,Typography as i}from"@equinor/eds-core-react";import{tokens as r}from"../../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{NotificationsTypes as a}from"../Notifications.types.js";import s from"../../../../../DataDisplay/OptionalTooltip.js";import m from"styled-components";const{spacings:l}=r,n=m.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${l.comfortable.medium};
|
|
5
|
+
padding-top: ${l.comfortable.medium_small};
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
`,d=({fromUser:r,branchName:m,onClick:l})=>e(t,{title:`Go to ${m}`,children:e(n,{onClick:l,"data-testid":a.REQUESTED_REVIEW,children:e(s,{title:`Go to ${m}`,children:o(i,{group:"table",variant:"cell_text",children:[r.displayName," has requested review for branch ",m]})})})});export{d as default};
|