@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,50 @@
|
|
|
1
|
+
import { EnvironmentType } from 'src/types/Environment';
|
|
2
|
+
export declare const Bar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
|
|
3
|
+
elevation?: "none" | "raised";
|
|
4
|
+
sticky?: boolean;
|
|
5
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
8
|
+
elevation?: "none" | "raised";
|
|
9
|
+
sticky?: boolean;
|
|
10
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
11
|
+
Actions: typeof import("@equinor/eds-core-react/dist/types/components/TopBar/Actions").Actions;
|
|
12
|
+
Header: typeof import("@equinor/eds-core-react/dist/types/components/TopBar/Header").Header;
|
|
13
|
+
CustomContent: typeof import("@equinor/eds-core-react/dist/types/components/TopBar/CustomContent").CustomContent;
|
|
14
|
+
}, keyof import("react").Component<any, {}, any>>;
|
|
15
|
+
export declare const AppIdentifier: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
16
|
+
export declare const AppAndFieldContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("@equinor/eds-core-react").TopbarHeaderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
18
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("@equinor/eds-core-react").TopbarHeaderProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
19
|
+
interface AppNameProps {
|
|
20
|
+
$capitalize: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const AppName: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<({
|
|
23
|
+
as?: import("react").ElementType | undefined;
|
|
24
|
+
} & import("@equinor/eds-core-react").TypographyProps & Omit<any, "children" | "variant" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "italic" | "bold" | "link" | "group" | "token" | "lines">) & import("styled-components/dist/types").BaseObject, AppNameProps>> & string & Omit<import("@equinor/eds-utils").OverridableComponent<import("@equinor/eds-core-react").TypographyProps, HTMLElement>, keyof import("react").Component<any, {}, any>>;
|
|
25
|
+
export declare const CircularProgress: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Omit<import("@equinor/eds-core-react").CircularProgressProps, "ref"> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
|
|
26
|
+
ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
27
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("@equinor/eds-core-react").CircularProgressProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>, keyof import("react").Component<any, {}, any>>;
|
|
28
|
+
interface EnvironmentTagProps {
|
|
29
|
+
$environmentType: EnvironmentType;
|
|
30
|
+
}
|
|
31
|
+
export declare const EnvironmentTag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, EnvironmentTagProps>> & string;
|
|
32
|
+
export declare const UnreadRedDot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
33
|
+
interface ButtonProps {
|
|
34
|
+
$isSelected: boolean;
|
|
35
|
+
$fieldSelector?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare const TopBarButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<{
|
|
38
|
+
as?: import("react").ElementType | undefined;
|
|
39
|
+
} & {
|
|
40
|
+
color?: "danger" | "primary" | "secondary";
|
|
41
|
+
variant?: "ghost" | "contained" | "contained_icon" | "outlined" | "ghost_icon";
|
|
42
|
+
href?: string;
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
type?: string;
|
|
45
|
+
fullWidth?: boolean;
|
|
46
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Omit<any, "variant" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | "href" | "fullWidth">, ButtonProps>> & string & Omit<import("@equinor/eds-utils").OverridableComponent<import("@equinor/eds-core-react").ButtonProps, HTMLButtonElement> & {
|
|
47
|
+
Group: typeof import("@equinor/eds-core-react/dist/types/components/Button/ButtonGroup").ButtonGroup;
|
|
48
|
+
Toggle: typeof import("@equinor/eds-core-react/dist/types/components/Button/ToggleButton/ToggleButton").ToggleButton;
|
|
49
|
+
}, keyof import("react").Component<any, {}, any>>;
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
interface TopBarMenuContentProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
anchorEl: HTMLElement | null;
|
|
8
|
+
contentPadding?: boolean;
|
|
9
|
+
isNotification?: boolean;
|
|
10
|
+
withGap?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const TopBarMenu: React.ForwardRefExoticComponent<TopBarMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default TopBarMenu;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import ApplicationDrawer from './ApplicationDrawer/ApplicationDrawer';
|
|
2
|
+
import { GuidelineSections } from './Guidelines/Guidelines';
|
|
3
|
+
import Notifications from './Notifications/Notifications';
|
|
4
|
+
import { Resources } from './Resources/Resources';
|
|
5
|
+
import { Actions } from './Actions';
|
|
6
|
+
import FieldSelector from './FieldSelector';
|
|
7
|
+
import Guidelines from './Guidelines';
|
|
8
|
+
import { ISettingsProps, Settings } from './Settings';
|
|
9
|
+
import { TopBar as BaseTopBar } from './TopBar';
|
|
10
|
+
import { Account } from 'src/components/Navigation/TopBar/Account/Account';
|
|
11
|
+
type TopBarType = typeof BaseTopBar & {
|
|
12
|
+
Account: typeof Account;
|
|
13
|
+
Actions: typeof Actions;
|
|
14
|
+
Guidelines: typeof Guidelines;
|
|
15
|
+
Settings: typeof Settings;
|
|
16
|
+
Notifications: typeof Notifications;
|
|
17
|
+
FieldSelector: typeof FieldSelector;
|
|
18
|
+
Resources: typeof Resources;
|
|
19
|
+
ApplicationDrawer: typeof ApplicationDrawer;
|
|
20
|
+
};
|
|
21
|
+
declare const TopBar: TopBarType;
|
|
22
|
+
export default TopBar;
|
|
23
|
+
export type { GuidelineSections, ISettingsProps, TopBarType };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IStyledComponent } from 'styled-components';
|
|
2
|
+
interface ContentProps {
|
|
3
|
+
$open: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContentProps>> & string;
|
|
6
|
+
declare const GlobalStyles: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
|
|
7
|
+
type TemplateType = IStyledComponent<'web', any> & {
|
|
8
|
+
Container: IStyledComponent<'web', any>;
|
|
9
|
+
Content: typeof Content;
|
|
10
|
+
GlobalStyles: typeof GlobalStyles;
|
|
11
|
+
};
|
|
12
|
+
declare const Template: TemplateType;
|
|
13
|
+
export default Template;
|
|
14
|
+
export type { ContentProps, TemplateType };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export { Chip } from './DataDisplay/Chip/Chip';
|
|
2
|
+
export { default as DataCard } from './DataDisplay/DataCard';
|
|
3
|
+
export { default as HeaderDrawer } from './DataDisplay/HeaderDrawer';
|
|
4
|
+
export { default as InfoElement } from 'src/components/DataDisplay/InfoElement/InfoElement';
|
|
5
|
+
export { default as OptionalTooltip } from './DataDisplay/OptionalTooltip';
|
|
6
|
+
export type { ProfileAvatarProps } from './DataDisplay/ProfileAvatar';
|
|
7
|
+
export { default as ProfileAvatar } from './DataDisplay/ProfileAvatar';
|
|
8
|
+
export { default as RichTextDisplay } from './DataDisplay/RichTextDisplay';
|
|
9
|
+
export { Table } from './DataDisplay/Table/Table';
|
|
10
|
+
export { default as HighlightBlocks } from './DataDisplay/Tutorial/HighlightBlocks/HighlightBlocks';
|
|
11
|
+
export type { Step, TutorialProps } from './DataDisplay/Tutorial/Tutorial';
|
|
12
|
+
export { default as Tutorial } from './DataDisplay/Tutorial/Tutorial';
|
|
13
|
+
export { default as StatusChip } from './DataDisplay/Workflow/StatusChip';
|
|
14
|
+
export { default as WorkflowDescription } from './DataDisplay/Workflow/WorkflowDescription';
|
|
15
|
+
export { default as WorkflowStatusBar } from './DataDisplay/Workflow/WorkflowStatusBar';
|
|
16
|
+
export { default as Feature } from './Feature/Feature';
|
|
17
|
+
export { default as AnimatedCheckmark } from './Feedback/AnimatedCheckmark';
|
|
18
|
+
export { default as ConfirmationPopup } from './Feedback/ConfirmationPopup';
|
|
19
|
+
export { default as ErrorPage } from './Feedback/ErrorPage';
|
|
20
|
+
export type { ErrorContentProps } from './Feedback/ErrorPage/ErrorPage';
|
|
21
|
+
export { default as GlitchAnimation } from './Feedback/ErrorPage/illustrations/GlitchAnimation';
|
|
22
|
+
export { default as QuestioningAnimation } from './Feedback/ErrorPage/illustrations/QuestioningAnimation';
|
|
23
|
+
export { default as FileProgress } from './Feedback/FileProgress/FileProgress';
|
|
24
|
+
export { default as FullPageSpinner } from './Feedback/FullPageSpinner';
|
|
25
|
+
export { default as FullPageStatus } from './Feedback/FullPageStatus';
|
|
26
|
+
export { default as PageNotFound } from './Feedback/PageNotFound';
|
|
27
|
+
export { default as SkeletonBase } from './Feedback/Skeleton/SkeletonBase/SkeletonBase';
|
|
28
|
+
export { skeletonBaseloading } from './Feedback/Skeleton/SkeletonBase/SkeletonBase';
|
|
29
|
+
export { default as SkeletonGradient } from './Feedback/Skeleton/SkeletonGradient/SkeletonGradient';
|
|
30
|
+
export { default as Stepper } from './Feedback/Stepper/Stepper';
|
|
31
|
+
export { Unauthorized } from './Feedback/Unauthorized';
|
|
32
|
+
export * from './Icons/AmplifyIcons';
|
|
33
|
+
export { default as DataAcquisition } from './Icons/ApplicationIcon/Acquire';
|
|
34
|
+
export type { ApplicationName } from './Icons/ApplicationIcon/ApplicationIcon';
|
|
35
|
+
export { default as ApplicationIcon } from './Icons/ApplicationIcon/ApplicationIcon';
|
|
36
|
+
export { acquire, dasha, fallback, fourDInsight, inPress, loggingQualification, orca, portal, pwex, recap, premo, } from './Icons/ApplicationIcon/ApplicationIconCollection';
|
|
37
|
+
export { default as DataSharing } from './Icons/ApplicationIcon/Dasha';
|
|
38
|
+
export { default as DataExperience } from './Icons/ApplicationIcon/FourDInsight';
|
|
39
|
+
export { default as Portal } from './Icons/ApplicationIcon/Portal';
|
|
40
|
+
export { default as DataTracker } from './Icons/ApplicationIcon/Recap';
|
|
41
|
+
export { default as EquinorLogo } from './Icons/EquinorLogo';
|
|
42
|
+
export { default as DefaultIcon } from './Icons/Fallback';
|
|
43
|
+
export { default as FeedBackIcon } from './Icons/FeedBackIcon/FeedBackIcon';
|
|
44
|
+
export { default as NothingFilled } from './Icons/FeedBackIcon/NegativeFilled';
|
|
45
|
+
export { default as NothingOutlined } from './Icons/FeedBackIcon/NegativeOutlined';
|
|
46
|
+
export { default as SomethingFilled } from './Icons/FeedBackIcon/PositiveFilled';
|
|
47
|
+
export { default as SomethingOutlined } from './Icons/FeedBackIcon/PositiveOutlined';
|
|
48
|
+
export { ComboBox } from 'src/components/Inputs/Select/ComboBox/ComboBox';
|
|
49
|
+
export { default as CommentField } from './Inputs/CommentField/CommentField';
|
|
50
|
+
export { default as NewComment } from './Inputs/CommentField/NewCommentField';
|
|
51
|
+
export { default as ContentMenu } from './Inputs/ContentMenu';
|
|
52
|
+
export { default as CopyText } from 'src/components/DataDisplay/InfoElement/CopyText';
|
|
53
|
+
export { default as EditableField } from './Inputs/EditableField';
|
|
54
|
+
export { ExpandingIconButton } from './Inputs/ExpandingIconButton/ExpandingIconButton';
|
|
55
|
+
export type { ExpandingIconButtonProps } from './Inputs/ExpandingIconButton/ExpandingIconButton';
|
|
56
|
+
export { default as FileUploadArea } from './Inputs/FileUploadArea';
|
|
57
|
+
export { default as IconToggleButton } from './Inputs/IconToggleButton';
|
|
58
|
+
export { default as RichTextEditor } from './Inputs/RichTextEditor/RichTextEditor';
|
|
59
|
+
export { RichTextEditorFeatures } from './Inputs/RichTextEditor/RichTextEditor.types';
|
|
60
|
+
export { Search } from './Inputs/Search/Search';
|
|
61
|
+
export { default as MultiSelectDrawer } from './Inputs/SelectDrawer/MultiSelectDrawer';
|
|
62
|
+
export { default as OptionDrawer } from './Inputs/SelectDrawer/OptionDrawer';
|
|
63
|
+
export { default as SingleSelectDrawer } from './Inputs/SelectDrawer/SingleSelectDrawer';
|
|
64
|
+
export { default as Filter } from './Inputs/Sieve/Filter';
|
|
65
|
+
export { default as Sieve } from './Inputs/Sieve/Sieve';
|
|
66
|
+
export type { Option, SieveValue } from './Inputs/Sieve/Sieve.types';
|
|
67
|
+
export { default as SingleFilterMenu } from './Inputs/SingleFilterMenu';
|
|
68
|
+
export { TextField } from './Inputs/TextField/TextField';
|
|
69
|
+
export { TableOfContents } from './Navigation/TableOfContents/TableOfContents';
|
|
70
|
+
export type { TableOfContentsProps } from './Navigation/TableOfContents/TableOfContents';
|
|
71
|
+
export type { TableOfContentsVariants } from './Navigation/TableOfContents/TableOfContents.types';
|
|
72
|
+
export { default as PageWithTitle } from './Navigation/PageWithTitle';
|
|
73
|
+
export { default as SelectField } from './Navigation/SelectField/SelectField';
|
|
74
|
+
export type { ItemType, SidebarType } from './Navigation/SideBar';
|
|
75
|
+
export { default as SideBar } from './Navigation/SideBar';
|
|
76
|
+
export type { GuidelineSections, ISettingsProps, TopBarType, } from './Navigation/TopBar';
|
|
77
|
+
export { default as TopBar } from './Navigation/TopBar';
|
|
78
|
+
export { default as ResourceMenuItem } from './Navigation/TopBar/Resources/ResourceMenuItem';
|
|
79
|
+
export type { ContentProps, TemplateType } from './Template/Template';
|
|
80
|
+
export { default as Template } from './Template/Template';
|
|
81
|
+
export type { SelectOption, SelectOptionRequired, } from './Inputs/Select/Select.types';
|
|
82
|
+
export { SingleSelect } from './Inputs/Select/SingleSelect/SingleSelect';
|
|
83
|
+
export type { SingleSelectProps } from './Inputs/Select/SingleSelect/SingleSelect';
|
|
84
|
+
export type { ComboBoxProps } from 'src/components/Inputs/Select/ComboBox/ComboBox';
|
|
85
|
+
export { Badge } from './DataDisplay/Badge/Badge';
|
|
86
|
+
export type { BreadcrumbProps, BreadcrumbsProps, ButtonProps, CheckboxProps, CircularProgressProps, DialogActionsProps, DialogContentProps, DialogHeaderProps, DialogProps, DialogTitleProps, DotProgressProps, IconProps, LabelProps, LinearProgressProps, MenuItemProps, MenuProps, MenuSectionProps, PopoverActionsProps, PopoverContentProps, PopoverHeaderProps, PopoverProps, PopoverTitleProps, RadioProps, StarProgressProps, SwitchProps, TabListProps, TabPanelProps, TabPanelsProps, TabsProps, TypographyProps, DividerProps, CardProps, } from '@equinor/eds-core-react';
|
|
87
|
+
export { Breadcrumbs, Button, Checkbox, CircularProgress, Dialog, Divider, DotProgress, Icon, Label, LinearProgress, Menu, Radio, StarProgress, Switch, Tabs, Typography, Card, } from '@equinor/eds-core-react';
|
|
88
|
+
/**
|
|
89
|
+
* @deprecated Being deprecated from amplify-components-library, import directly from EDS if still needed
|
|
90
|
+
*/
|
|
91
|
+
declare const Popover: import("react").ForwardRefExoticComponent<{
|
|
92
|
+
placement?: import("@floating-ui/utils").Placement;
|
|
93
|
+
onClose?: () => void;
|
|
94
|
+
anchorEl?: HTMLElement | null;
|
|
95
|
+
open: boolean;
|
|
96
|
+
withinPortal?: boolean;
|
|
97
|
+
trapFocus?: boolean;
|
|
98
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
99
|
+
Title: typeof import("@equinor/eds-core-react/dist/types/components/Popover/PopoverTitle").PopoverTitle;
|
|
100
|
+
Content: typeof import("@equinor/eds-core-react/dist/types/components/Popover/PopoverContent").PopoverContent;
|
|
101
|
+
Header: typeof import("@equinor/eds-core-react/dist/types/components/Popover/PopoverHeader").PopoverHeader;
|
|
102
|
+
Actions: typeof import("@equinor/eds-core-react/dist/types/components/Popover/PopoverActions").PopoverActions;
|
|
103
|
+
};
|
|
104
|
+
export { Popover };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useNotification } from '../components/Navigation/TopBar/Notifications/NotificationProvider';
|
|
2
|
+
import { useAuth } from '../providers/AuthProvider/AuthProvider';
|
|
3
|
+
import { useReleaseNotes } from '../providers/ReleaseNotesProvider';
|
|
4
|
+
import { useSideBar } from '../providers/SideBarProvider';
|
|
5
|
+
import { useSnackbar } from '../providers/SnackbarProvider';
|
|
6
|
+
import { useTableOfContents } from '../providers/TableOfContentsProvider';
|
|
7
|
+
import { useTutorialSteps } from '../providers/TutorialStepsProvider';
|
|
8
|
+
import { useDebounce } from './useDebounce';
|
|
9
|
+
import { useFakeProgress } from './useFakeProgress';
|
|
10
|
+
import { useFeatureToggling } from './useFeatureToggling';
|
|
11
|
+
import { useLocalStorage } from './useLocalStorage';
|
|
12
|
+
import { useOnScreen, useOnScreenMultiple } from './useOnScreen';
|
|
13
|
+
import { usePrevious } from './usePrevious';
|
|
14
|
+
import { useReleaseNotesQuery } from './useReleaseNotesQuery';
|
|
15
|
+
import { useSignalRMessages } from './useSignalRMessages';
|
|
16
|
+
import { useSelect } from 'src/hooks/useSelect';
|
|
17
|
+
export { useAuth, useSelect, useDebounce, useFakeProgress, useFeatureToggling, useLocalStorage, useNotification, useOnScreen, useOnScreenMultiple, useTableOfContents, usePrevious, useReleaseNotes, useReleaseNotesQuery, useSideBar, useSignalRMessages, useSnackbar, useTutorialSteps, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useDebounce<T>(value: T, delay: number): T;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface useFakeProgressProps {
|
|
2
|
+
onDone: () => void;
|
|
3
|
+
progressDelayMs?: number;
|
|
4
|
+
finishedTimeoutMs?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function useFakeProgress({ onDone, progressDelayMs, finishedTimeoutMs, }: useFakeProgressProps): {
|
|
7
|
+
finished: boolean;
|
|
8
|
+
progress: number;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const LAST_UPDATED_KEY_SUFFIX = "-last-updated";
|
|
2
|
+
export declare const getLocalStorage: <T>(key: string, defaultState: T, keepAliveMs?: number) => T;
|
|
3
|
+
export declare const updateLocalStorage: <T>(key: string, state: T) => void;
|
|
4
|
+
export declare const useLocalStorage: <T>(key: string, defaultState: T, keepAliveMs?: number) => readonly [T, import("react").Dispatch<import("react").SetStateAction<T>>, () => void];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function usePrevious<T>(value: T): T | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ReleaseNote } from 'src/api/models/ReleaseNote';
|
|
2
|
+
interface ReleaseNotesQueryProps {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function useReleaseNotesQuery(options?: ReleaseNotesQueryProps): import("@tanstack/react-query").UseQueryResult<ReleaseNote[], Error>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ChangeEvent, KeyboardEvent } from 'react';
|
|
2
|
+
import { SelectOption } from 'src/components';
|
|
3
|
+
import { SelectComponentProps } from 'src/components/Inputs/Select/Select';
|
|
4
|
+
import { SelectOptionRequired } from 'src/components/Inputs/Select/Select.types';
|
|
5
|
+
declare const useSelect: <T extends SelectOptionRequired>(props: SelectComponentProps<T>) => {
|
|
6
|
+
handleOnItemSelect: (item: SelectOption<T>) => void;
|
|
7
|
+
handleOnItemKeyDown: (event: KeyboardEvent<HTMLButtonElement>) => void;
|
|
8
|
+
handleOnSearchKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
9
|
+
handleOnClear: () => void;
|
|
10
|
+
handleOnSearchChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
+
handleToggleOpen: () => void;
|
|
12
|
+
handleOnClose: () => void;
|
|
13
|
+
handleOnOpen: () => void;
|
|
14
|
+
handleOnRemoveItem: (item: T) => void;
|
|
15
|
+
search: string;
|
|
16
|
+
searchRef: import("react").MutableRefObject<HTMLInputElement | null>;
|
|
17
|
+
itemRefs: import("react").MutableRefObject<(HTMLButtonElement | null)[]>;
|
|
18
|
+
selectedValues: T[];
|
|
19
|
+
open: boolean;
|
|
20
|
+
tryingToRemoveItem: T | undefined;
|
|
21
|
+
};
|
|
22
|
+
export { useSelect };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function useSignalRMessages<T extends {
|
|
2
|
+
SequenceNumber?: number | null;
|
|
3
|
+
Read?: boolean | null;
|
|
4
|
+
Subject?: string | null;
|
|
5
|
+
}>(topic: string): {
|
|
6
|
+
messages: T[];
|
|
7
|
+
hasUnreadMessages: boolean;
|
|
8
|
+
setMessageAsRead: (message: T) => void;
|
|
9
|
+
setAllMessagesAsRead: () => void;
|
|
10
|
+
deleteMessage: (message: T) => Promise<void>;
|
|
11
|
+
closeConnection: () => Promise<void>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from './components';
|
|
2
|
+
import * as allHooks from './hooks';
|
|
3
|
+
export * from './hooks';
|
|
4
|
+
import * as allProviders from './providers';
|
|
5
|
+
export * from './providers';
|
|
6
|
+
export * as style from './style';
|
|
7
|
+
export * from './types';
|
|
8
|
+
import * as allConstants from './constants';
|
|
9
|
+
export * from './constants';
|
|
10
|
+
import * as allUtils from './utils';
|
|
11
|
+
export * from './utils';
|
|
12
|
+
/** @deprecated use direct export instead */
|
|
13
|
+
declare const hooks: typeof allHooks;
|
|
14
|
+
/** @deprecated use direct export instead */
|
|
15
|
+
declare const providers: typeof allProviders;
|
|
16
|
+
/** @deprecated use direct export instead */
|
|
17
|
+
declare const utils: typeof allUtils;
|
|
18
|
+
/** @deprecated use direct export instead */
|
|
19
|
+
declare const constants: typeof allConstants;
|
|
20
|
+
export { hooks, providers, utils, constants };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { AccountInfo } from '@azure/msal-browser';
|
|
3
|
+
export type AuthState = 'loading' | 'authorized' | 'unauthorized';
|
|
4
|
+
export interface AuthContextType {
|
|
5
|
+
account: AccountInfo | undefined;
|
|
6
|
+
photo: string | undefined;
|
|
7
|
+
roles: string[] | undefined;
|
|
8
|
+
logout: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const useAuth: () => AuthContextType;
|
|
11
|
+
interface AuthProviderProps {
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
loadingComponent?: ReactElement;
|
|
14
|
+
unauthorizedComponent?: ReactElement;
|
|
15
|
+
}
|
|
16
|
+
declare const AuthProvider: FC<AuthProviderProps>;
|
|
17
|
+
export default AuthProvider;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { AccountInfo } from '@azure/msal-common';
|
|
3
|
+
import { AuthState } from './AuthProvider';
|
|
4
|
+
export interface AuthProviderInnerProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
account: AccountInfo | undefined;
|
|
7
|
+
setAccount: (val: AccountInfo | undefined) => void;
|
|
8
|
+
setPhoto: (val: string | undefined) => void;
|
|
9
|
+
setRoles: (val: string[] | undefined) => void;
|
|
10
|
+
authState: AuthState;
|
|
11
|
+
setAuthState: (val: AuthState) => void;
|
|
12
|
+
loadingComponent?: ReactElement;
|
|
13
|
+
unauthorizedComponent?: ReactElement;
|
|
14
|
+
}
|
|
15
|
+
declare const AuthProviderInner: FC<AuthProviderInnerProps>;
|
|
16
|
+
export default AuthProviderInner;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { Feature, GraphUser } from '../api';
|
|
3
|
+
export declare const isUserInActiveUserArray: (username: string, activeUsers: GraphUser[] | undefined | null) => boolean;
|
|
4
|
+
interface FeatureToggleContextType {
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
isError: boolean;
|
|
7
|
+
features?: Feature[] | null;
|
|
8
|
+
}
|
|
9
|
+
export declare function useFeatureToggleContext(): FeatureToggleContextType;
|
|
10
|
+
interface FeatureToggleProviderProps {
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const FeatureToggleProvider: FC<FeatureToggleProviderProps>;
|
|
14
|
+
export default FeatureToggleProvider;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Dispatch, FC, ReactNode, SetStateAction } from 'react';
|
|
2
|
+
import { ReleaseNote } from 'src/api/models/ReleaseNote';
|
|
3
|
+
import { Option, SieveValue } from 'src/components';
|
|
4
|
+
import { TableOfContentsItemType } from 'src/providers/TableOfContentsProvider';
|
|
5
|
+
interface ReleaseNotesContextState {
|
|
6
|
+
search: SieveValue;
|
|
7
|
+
setSearch: Dispatch<SetStateAction<SieveValue>>;
|
|
8
|
+
selectedReleaseNoteTypes?: Option[];
|
|
9
|
+
open: boolean;
|
|
10
|
+
setOpen: (open: boolean) => void;
|
|
11
|
+
toggle: () => void;
|
|
12
|
+
filteredData: ReleaseNote[];
|
|
13
|
+
releaseNotesYears: TableOfContentsItemType[];
|
|
14
|
+
}
|
|
15
|
+
export declare const useReleaseNotes: () => ReleaseNotesContextState;
|
|
16
|
+
interface ReleaseNotesContextProviderProps {
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare const ReleaseNotesProvider: FC<ReleaseNotesContextProviderProps>;
|
|
21
|
+
export default ReleaseNotesProvider;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
interface SideBarContextType {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
setIsOpen: (value: boolean) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function useSideBar(): SideBarContextType;
|
|
7
|
+
declare const SideBarProvider: FC<{
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}>;
|
|
10
|
+
export default SideBarProvider;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { SnackbarProps } from '@equinor/eds-core-react';
|
|
3
|
+
interface ShowSnackbarSettings {
|
|
4
|
+
customProps?: SnackbarProps;
|
|
5
|
+
action?: {
|
|
6
|
+
text: string;
|
|
7
|
+
handler: () => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export interface State {
|
|
12
|
+
showSnackbar: (text: string, props?: ShowSnackbarSettings) => void;
|
|
13
|
+
setActionDisabledState: (disabled: boolean) => void;
|
|
14
|
+
hideSnackbar: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const useSnackbar: () => State;
|
|
17
|
+
export type SnackbarProviderProps = {
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
} & SnackbarProps;
|
|
20
|
+
export declare const SnackbarProvider: FC<SnackbarProviderProps>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface TableOfContentsItemType {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
count?: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
children?: TableOfContentsItemType[];
|
|
8
|
+
}
|
|
9
|
+
interface SetSelectedOptions {
|
|
10
|
+
behavior?: ScrollBehavior | undefined;
|
|
11
|
+
shouldInstantlyJumpOnMount?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface TableOfContentsContextType {
|
|
14
|
+
items: TableOfContentsItemType[];
|
|
15
|
+
selected: string | undefined;
|
|
16
|
+
setSelected: (value: string, options?: SetSelectedOptions) => void;
|
|
17
|
+
isActive: (item: TableOfContentsItemType) => boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare function useTableOfContents(): TableOfContentsContextType;
|
|
20
|
+
export interface TableOfContentsProviderProps {
|
|
21
|
+
items: TableOfContentsItemType[];
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
hashNavigation?: boolean;
|
|
24
|
+
}
|
|
25
|
+
declare const TableOfContentsProvider: FC<TableOfContentsProviderProps>;
|
|
26
|
+
export default TableOfContentsProvider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const HIGHLIGHT_PADDING = 8;
|
|
2
|
+
export declare const DIALOG_EDGE_MARGIN = 24;
|
|
3
|
+
export declare const TUTORIAL_SEARCH_PARAM_KEY = "tutorial";
|
|
4
|
+
export declare const TUTORIAL_LOCALSTORAGE_VALUE_STRING = "hasCompletedTutorial";
|
|
5
|
+
export declare const TUTORIAL_HIGHLIGHTER_DATATEST_ID = "tutorial-highlighter";
|
|
6
|
+
export declare const GET_TUTORIALS_FOR_APP = "getTutorialsForApp";
|
|
7
|
+
export declare const GET_TUTORIALS_SAS_TOKEN = "getTutorialsSasToken";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Dispatch, FC, MutableRefObject, ReactNode, SetStateAction } from 'react';
|
|
2
|
+
import { CustomTutorialComponent } from './TutorialProvider.types';
|
|
3
|
+
import { CustomTutorialStep, GenericTutorialStep, Tutorial } from 'src/api';
|
|
4
|
+
export interface TutorialContextType {
|
|
5
|
+
activeTutorial: Tutorial | undefined;
|
|
6
|
+
setActiveTutorial: Dispatch<SetStateAction<Tutorial | undefined>>;
|
|
7
|
+
currentStep: number;
|
|
8
|
+
setCurrentStep: Dispatch<SetStateAction<number>>;
|
|
9
|
+
allElementsToHighlight: HTMLElement[] | undefined;
|
|
10
|
+
setAllElementsToHighlight: Dispatch<SetStateAction<HTMLElement[] | undefined>>;
|
|
11
|
+
customStepComponents: CustomTutorialComponent[] | undefined;
|
|
12
|
+
currentStepObject: GenericTutorialStep | CustomTutorialStep | undefined;
|
|
13
|
+
isLastStep: boolean;
|
|
14
|
+
dialogRef: MutableRefObject<HTMLDialogElement | null>;
|
|
15
|
+
clearSearchParam: () => void;
|
|
16
|
+
shortNameFromParams: string | undefined;
|
|
17
|
+
setShortNameFromParams: Dispatch<SetStateAction<string | undefined>>;
|
|
18
|
+
tutorialsFromProps: Tutorial[];
|
|
19
|
+
tutorialError: boolean;
|
|
20
|
+
setTutorialError: Dispatch<SetStateAction<boolean>>;
|
|
21
|
+
viewportWidth: number;
|
|
22
|
+
}
|
|
23
|
+
export declare const TutorialContext: import("react").Context<TutorialContextType | undefined>;
|
|
24
|
+
interface TutorialProviderProps {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
customStepComponents?: CustomTutorialComponent[];
|
|
27
|
+
tutorials?: Tutorial[];
|
|
28
|
+
}
|
|
29
|
+
declare const TutorialProvider: FC<TutorialProviderProps>;
|
|
30
|
+
export default TutorialProvider;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const useGetTutorialsForApp: () => import("@tanstack/react-query").UseQueryResult<import("../../api").Tutorial[], Error>;
|
|
2
|
+
export declare const useGetTutorialSasToken: () => import("@tanstack/react-query").UseQueryResult<string, Error>;
|
|
3
|
+
export declare const useTutorial: () => import("src/providers/TutorialProvider/TutorialProvider").TutorialContextType;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Highlighter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const DialogWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const StyledTutorialDialog: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, never>> & string;
|
|
4
|
+
export declare const DialogContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const DialogImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
6
|
+
export declare const DialogActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const NavigateSteps: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
export declare const TutorialErrorDialog: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
|
|
9
|
+
isDismissable?: boolean;
|
|
10
|
+
open: boolean;
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
dialogRef?: import("react").ForwardedRef<HTMLDialogElement>;
|
|
13
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
16
|
+
isDismissable?: boolean;
|
|
17
|
+
open: boolean;
|
|
18
|
+
onClose?: () => void;
|
|
19
|
+
dialogRef?: import("react").ForwardedRef<HTMLDialogElement>;
|
|
20
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
21
|
+
Actions: typeof import("@equinor/eds-core-react/dist/types/components/Dialog/DialogActions").DialogActions;
|
|
22
|
+
Title: typeof import("@equinor/eds-core-react/dist/types/components/Dialog/DialogTitle").DialogTitle;
|
|
23
|
+
CustomContent: typeof import("@equinor/eds-core-react/dist/types/components/Dialog/DialogContent").DialogContent;
|
|
24
|
+
Content: typeof import("@equinor/eds-core-react/dist/types/components/Dialog/DialogContent").DialogContent;
|
|
25
|
+
Header: typeof import("@equinor/eds-core-react/dist/types/components/Dialog/DialogHeader").DialogHeader;
|
|
26
|
+
}, keyof import("react").Component<any, {}, any>>;
|