@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,3 @@
|
|
|
1
|
+
import { Tutorial, TutorialPosition } from 'src/api';
|
|
2
|
+
export declare const getBestPositionWithoutOverlap: (highlightedBoundingRect: DOMRect, dialogBoundingRect: DOMRect) => TutorialPosition.TOP_LEFT | TutorialPosition.TOP_RIGHT | TutorialPosition.BOTTOM_LEFT | TutorialPosition.BOTTOM_RIGHT;
|
|
3
|
+
export declare const getAllElementsToHighlight: (activeTutorial: Tutorial) => (HTMLElement | null)[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CustomTutorialStep, GenericTutorialStep } from 'src/api';
|
|
3
|
+
interface TutorialStepIndicatorProps {
|
|
4
|
+
steps: (GenericTutorialStep | CustomTutorialStep)[];
|
|
5
|
+
currentStep: number;
|
|
6
|
+
}
|
|
7
|
+
declare const TutorialStepIndicator: FC<TutorialStepIndicatorProps>;
|
|
8
|
+
export default TutorialStepIndicator;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
interface TutorialContextState {
|
|
3
|
+
tutorialStep: string;
|
|
4
|
+
setTutorialStep: (val: string) => void;
|
|
5
|
+
showTutorialIntro: boolean;
|
|
6
|
+
setShowTutorialIntro: (val: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const useTutorialSteps: () => TutorialContextState;
|
|
9
|
+
declare const TutorialStepsProvider: FC<{
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
startOpen?: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
export default TutorialStepsProvider;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import AuthProvider from './AuthProvider/AuthProvider';
|
|
2
|
+
import TutorialProvider from './TutorialProvider/TutorialProvider';
|
|
3
|
+
import FeatureToggleProvider from './FeatureToggleProvider';
|
|
4
|
+
import ReleaseNotesProvider from './ReleaseNotesProvider';
|
|
5
|
+
import SideBarProvider from './SideBarProvider';
|
|
6
|
+
import { SnackbarProvider } from './SnackbarProvider';
|
|
7
|
+
import TableOfContentsProvider from './TableOfContentsProvider';
|
|
8
|
+
import TutorialStepsProvider from './TutorialStepsProvider';
|
|
9
|
+
export { AuthProvider, FeatureToggleProvider, TableOfContentsProvider, ReleaseNotesProvider, SideBarProvider, SnackbarProvider, TutorialProvider, TutorialStepsProvider, };
|
|
10
|
+
export type { TableOfContentsItemType } from './TableOfContentsProvider';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface LinksProps {
|
|
2
|
+
figmaUrl?: string;
|
|
3
|
+
ariaUrl?: string;
|
|
4
|
+
documentationUrl?: string;
|
|
5
|
+
sourceUrl?: string;
|
|
6
|
+
edsSBUrl?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Links: ({ ariaUrl, figmaUrl, documentationUrl, sourceUrl, edsSBUrl, }: LinksProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export declare const PropsTable: {
|
|
3
|
+
({ story, ...props }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
story?: string | undefined;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
propTypes: {
|
|
8
|
+
story: PropTypes.Requireable<string>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { CSSObject } from 'styled-components';
|
|
3
|
+
type StackProps = {
|
|
4
|
+
direction?: CSSObject['flexDirection'];
|
|
5
|
+
align?: CSSObject['alignItems'];
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
8
|
+
export declare const Stack: ({ children, direction, align, ...rest }: StackProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useMockProgress: (value?: number | null) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const darkTokens = "\n\n/*Dark Theme*/\nhtml[data-theme='dark'] {\n\n textarea, input {\n color: var(--eds_text_static_icons__default);\n }\n\n --eds_clickbound_jumbo__base: 88px;\n --eds_clickbound_default__base: 48px;\n --eds_clickbound_default__input: 56px;\n --eds_clickbound_compact__standard: 32px;\n --eds_clickbound_compact__input: 44px;\n\n --eds_text_static_icons__default: rgba(255, 255, 255, 1);\n --eds_text__static_icons__default: rgba(255, 255, 255, 1);\n\n --eds_text_static_icons__secondary: rgba(222, 229, 231, 1);\n --eds_text__static_icons__secondary: rgba(222, 229, 231, 1);\n\n --eds_text_static_icons__tertiary: rgba(156, 166, 172, 1);\n --eds_text__static_icons__tertiary: rgba(156, 166, 172, 1);\n\n --eds_text_static_icons__primary_white: rgba(61, 61, 61, 1);\n --eds_text__static_icons__primary_white: rgba(61, 61, 61, 1);\n\n --eds_ui_background__default: rgba(19, 38, 52, 1);\n --eds_ui_background__semitransparent: rgba(255, 255, 255, 0.2);\n --eds_ui_background__light: rgba(38, 55, 68, 1);\n --eds_ui_background__scrim: rgba(0, 0, 0, 0.4);\n --eds_ui_background__overlay: rgba(0, 0, 0, 0.8);\n --eds_ui_background__medium: rgba(44, 64, 79, 1);\n --eds_ui_background__info: rgba(43, 126, 166, 1);\n --eds_ui_background__warning: rgba(157, 105, 63, 1);\n --eds_ui_background__danger: rgba(183, 87, 87, 1);\n --eds_infographic_substitute__purple_berry: rgba(140, 17, 89, 1);\n --eds_infographic_substitute__pink_rose: rgba(226, 73, 115, 1);\n --eds_infographic_substitute__pink_salmon: rgba(255, 146, 168, 1);\n --eds_infographic_substitute__green_cucumber: rgba(0, 95, 87, 1);\n --eds_infographic_substitute__green_succulent: rgba(0, 151, 123, 1);\n --eds_infographic_substitute__green_mint: rgba(64, 211, 143, 1);\n --eds_infographic_substitute__blue_ocean: rgba(0, 64, 136, 1);\n --eds_infographic_substitute__blue_overcast: rgba(0, 132, 196, 1);\n --eds_infographic_substitute__blue_sky: rgba(82, 192, 255, 1);\n --eds_infographic_primary__moss_green_100: rgba(0, 112, 121, 1);\n --eds_infographic_primary__moss_green_55: rgba(115, 177, 181, 1);\n --eds_infographic_primary__moss_green_34: rgba(168, 206, 209, 1);\n --eds_infographic_primary__moss_green_21: rgba(201, 224, 226, 1);\n --eds_infographic_primary__moss_green_13: rgba(222, 237, 238, 1);\n --eds_infographic_primary__energy_red_100: rgba(235, 0, 55, 1);\n --eds_infographic_primary__energy_red_55: rgba(255, 125, 152, 1);\n --eds_infographic_primary__energy_red_34: rgba(255, 174, 191, 1);\n --eds_infographic_primary__energy_red_21: rgba(255, 205, 215, 1);\n --eds_infographic_primary__energy_red_13: rgba(255, 224, 231, 1);\n --eds_infographic_primary__weathered_red: rgba(125, 0, 35, 1);\n --eds_infographic_primary__slate_blue: rgba(36, 55, 70, 1);\n --eds_infographic_primary__spruce_wood: rgba(255, 231, 214, 1);\n --eds_infographic_primary__mist_blue: rgba(213, 234, 244, 1);\n --eds_infographic_primary__lichen_green: rgba(230, 250, 236, 1);\n --eds_logo_fill_positive: rgba(235, 0, 55, 1);\n --eds_logo_fill_negative: rgba(255, 255, 255, 1);\n --eds_interactive_primary__selected_highlight: rgba(0, 151, 123, 1);\n --eds_interactive_primary__selected_hover: rgba(0, 95, 87, 1);\n --eds_interactive_primary__resting: rgba(151, 202, 206, 1);\n --eds_interactive_primary__hover: rgba(173, 226, 230, 1);\n --eds_interactive_primary__hover_alt: rgb(96, 125, 127);\n --eds_interactive_secondary__highlight: rgba(255, 255, 255, 0.1);\n --eds_interactive_secondary__resting: rgba(222, 229, 231, 1);\n --eds_interactive_secondary__link_hover: rgba(23, 36, 47, 1);\n --eds_interactive_danger__highlight: rgba(90, 57, 70, 1);\n --eds_interactive_danger__resting: rgba(235, 0, 0, 1);\n --eds_interactive_danger__hover: rgba(255, 148, 155, 1);\n --eds_interactive_danger__text: rgba(255, 102, 112, 1);\n --eds_interactive_warning__highlight: rgba(90, 86, 73, 1);\n --eds_interactive_warning__resting: rgba(255, 146, 0, 1);\n --eds_interactive_warning__hover: rgba(255, 218, 168, 1);\n --eds_interactive_warning__text: rgba(255, 198, 122, 1);\n --eds_interactive_success__highlight: rgba(62, 92, 84, 1);\n --eds_interactive_success__resting: rgba(75, 183, 72, 1);\n --eds_interactive_success__hover: rgba(193, 231, 193, 1);\n --eds_interactive_success__text: rgba(161, 218, 160, 1);\n\n --eds_interactive_table__header__fill_activated: rgba(46, 63, 77, 1);\n --eds_interactive_table__header__fill_resting: rgba(36, 55, 70, 1);\n --eds_interactive_table__header__fill_hover: rgba(50, 77, 98, 1);\n --eds_interactive_table__cell__fill_activated: rgba(36, 55, 70, 1);\n --eds_interactive_table__cell__fill_resting: rgba(19, 38, 52, 1);\n --eds_interactive_table__cell__fill_hover: rgba(30, 60, 82, 1);\n\n --eds_interactive_disabled__text: rgba(99, 117, 131, 1);\n --eds_interactive__disabled__text: rgba(99, 117, 131, 1);\n\n --eds_interactive_disabled__border: rgba(64, 84, 98, 1);\n --eds_interactive__disabled__border: rgba(64, 84, 98, 1);\n\n --eds_interactive_disabled__fill: rgba(52, 68, 80, 1);\n --eds_interactive__disabled__fill: rgba(52, 68, 80, 1);\n\n --eds_interactive_text_highlight: rgba(213, 234, 244, 1);\n --eds_interactive__text_highlight: rgba(213, 234, 244, 1);\n\n --eds_interactive_focus: rgba(0, 112, 121, 1);\n\n --eds_interactive_link_on_interactive_colors: rgba(255, 255, 255, 1);\n --eds_interactive_icon_on_interactive_colors: rgba(255, 255, 255, 1);\n --eds_interactive_link_in_snackbars: rgba(151, 202, 206, 1);\n --eds_interactive_pressed_overlay_dark: rgba(0, 0, 0, 0.2);\n --eds_interactive_pressed_overlay_light: rgba(255, 255, 255, 0.2);\n\n --eds_elevation_raised: 0 1px 5px rgba(0, 0, 0, 0.2),\n 0 3px 4px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14);\n --eds_elevation_none: 0 0 1px rgba(0, 0, 0, 0.14);\n --eds_elevation_overlay: 0 1px 10px rgba(0, 0, 0, 0.2),\n 0 4px 5px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14);\n --eds_elevation_sticky: 0 4px 5px rgba(0, 0, 0, 0.2),\n 0 3px 14px rgba(0, 0, 0, 0.12), 0 8px 10px rgba(0, 0, 0, 0.14);\n --eds_elevation_temporary_nav: 0 7px 8px rgba(0, 0, 0, 0.2),\n 0 5px 22px rgba(0, 0, 0, 0.12), 0 12px 17px rgba(0, 0, 0, 0.14);\n --eds_elevation_above_scrim: 0 11px 15px rgba(0, 0, 0, 0.2),\n 0 9px 46px rgba(0, 0, 0, 0.12), 0 24px 38px rgba(0, 0, 0, 0.14);\n\n --eds_heading__h1_color: rgba(255, 255, 255, 1);\n --eds_heading__h2_color: rgba(255, 255, 255, 1);\n --eds_heading__h3_color: rgba(255, 255, 255, 1);\n --eds_heading__h4_color: rgba(255, 255, 255, 1);\n --eds_heading__h5_color: rgba(255, 255, 255, 1);\n --eds_heading__h6_color: rgba(255, 255, 255, 1);\n\n --eds_navigation__label_color: rgba(255, 255, 255, 1);\n --eds_navigation__button_color: rgba(255, 255, 255, 1);\n --eds_input__label_color: rgba(255, 255, 255, 1);\n --eds_input__text_color: var(--eds_text_static_icons__default);\n --eds_paragraph__body_short_color: rgba(255, 255, 255, 1);\n --eds_paragraph__body_long_link_color: rgba(255, 255, 255, 1);\n --eds_table__cell_header_color: rgba(255, 255, 255, 1);\n --eds_table__cell_text_color: rgba(255, 255, 255, 1);\n --eds_table__cell_text_bold_color: rgba(255, 255, 255, 1);\n --eds_table__cell_numeric_monospaced_color: rgba(255, 255, 255, 1);\n\n --eds_navigation__menu_title_color: rgba(255, 255, 255, 1);\n --eds_ui__accordion_header_color: rgba(255, 255, 255, 1);\n\n --eds_paragraph__overline_color: rgba(255, 255, 255, 1);\n --eds_paragraph__caption_color: rgba(255, 255, 255, 1);\n --eds_paragraph__body_short_color: rgba(255, 255, 255, 1);\n --eds_paragraph__body_long_color: rgba(255, 255, 255, 1);\n --eds_paragraph__meta_color: rgba(255, 255, 255, 1);\n\n --eds_interactive__icon_on_interactive_colors: rgba(255, 255, 255, 1);\n\n --eds_ui__chip__badge_color: var(--eds_text_static_icons__default);\n\n\n\n}\n\n\n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const spacingTokens = "\n/*Comfortable, by default*/\nhtml{\n --eds_spacing_xxx_large: 48px;\n --eds_spacing_xx_large: 40px;\n --eds_spacing_x_large: 32px;\n --eds_spacing_large: 24px;\n --eds_spacing_medium: 16px;\n --eds_spacing_medium_small: 12px;\n --eds_spacing_small: 8px;\n --eds_spacing_x_small: 4px;\n --eds_spacing_xx_small: 2px;\n}\n \n/*Compact*/\n[data-spacing-mode=\"compact\"] {\n--eds_spacing_xxx_large: 40px;\n--eds_spacing_xx_large: 32px;\n--eds_spacing_x_large: 40px;\n--eds_spacing_large: 16px;\n--eds_spacing_medium: 12px;\n--eds_spacing_medium_small: 8px;\n--eds_spacing_small: 4px;\n--eds_spacing_x_small: 2px;\n--eds_spacing_xx_small: 0px;\n}\n\n/*Extra Compact*/\n[data-spacing-mode=\"extra-compact\"] {\n--eds_spacing_xxx_large: 32px;\n--eds_spacing_xx_large: 24px;\n--eds_spacing_x_large: 16px;\n--eds_spacing_large: 12px;\n--eds_spacing_medium: 8px;\n--eds_spacing_medium_small: 4px;\n--eds_spacing_small: 2px;\n--eds_spacing_x_small: 0px;\n--eds_spacing_xx_small: 0px;\n}\n";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Mock } from 'vitest';
|
|
2
|
+
export declare class ClipboardDataMock {
|
|
3
|
+
getData: Mock<string[], [string]>;
|
|
4
|
+
setData: Mock<string[], [string, string]>;
|
|
5
|
+
constructor();
|
|
6
|
+
}
|
|
7
|
+
export declare class ClipboardEventMock extends Event {
|
|
8
|
+
clipboardData: ClipboardDataMock;
|
|
9
|
+
constructor(type: string, options?: EventInit);
|
|
10
|
+
}
|
|
11
|
+
export declare class DataTransferMock {
|
|
12
|
+
data: Record<string, string>;
|
|
13
|
+
constructor();
|
|
14
|
+
setData(format: string, data: string): void;
|
|
15
|
+
getData(format: string): string;
|
|
16
|
+
}
|
|
17
|
+
export declare class DragEventMock extends Event {
|
|
18
|
+
dataTransfer: DataTransferMock;
|
|
19
|
+
constructor(type: string, options?: EventInit);
|
|
20
|
+
}
|
|
21
|
+
export declare function mockGetBoundingClientRect(): DOMRect;
|
|
22
|
+
export declare class FakeDOMRectList extends Array<DOMRect> implements DOMRectList {
|
|
23
|
+
item(index: number): DOMRect | null;
|
|
24
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { render, RenderOptions } from '@testing-library/react';
|
|
3
|
+
import userEvent from '@testing-library/user-event';
|
|
4
|
+
declare const customRender: (ui: ReactElement, options?: RenderOptions) => ReturnType<typeof render>;
|
|
5
|
+
export * from '@testing-library/react';
|
|
6
|
+
export { customRender as render, userEvent };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare enum ErrorType {
|
|
3
|
+
ERROR_400 = "400",
|
|
4
|
+
ERROR_401 = "401",
|
|
5
|
+
ERROR_403 = "403",
|
|
6
|
+
ERROR_404 = "404",
|
|
7
|
+
ERROR_500 = "500",
|
|
8
|
+
DEFAULT = "default"
|
|
9
|
+
}
|
|
10
|
+
export interface ErrorContentType {
|
|
11
|
+
type: ErrorType;
|
|
12
|
+
illustration: ReactNode;
|
|
13
|
+
title: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
button?: {
|
|
16
|
+
text?: string;
|
|
17
|
+
onClick?: () => void;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IconData } from '@equinor/eds-icons';
|
|
3
|
+
interface IconItem {
|
|
4
|
+
title: string;
|
|
5
|
+
icon: IconData;
|
|
6
|
+
color: string;
|
|
7
|
+
colorBox?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
interface ElementItem {
|
|
10
|
+
title: string;
|
|
11
|
+
element: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export type GuidelineItem = IconItem | ElementItem;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { PublicClientApplication } from '@azure/msal-browser';
|
|
2
|
+
import { EnvironmentType } from 'src/types/Environment';
|
|
3
|
+
interface EnvVariables {
|
|
4
|
+
CLIENT_ID: string;
|
|
5
|
+
NAME: string;
|
|
6
|
+
API_URL: string;
|
|
7
|
+
API_SCOPE: string;
|
|
8
|
+
ENVIRONMENT_NAME: string;
|
|
9
|
+
SERVICE_NOW_CONFIGURATION_ITEM: string;
|
|
10
|
+
ALLOWED_PARENT_DOMAINS: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const auth: {
|
|
13
|
+
fetchMsGraph: (url: string, accessToken: string) => Promise<Response>;
|
|
14
|
+
GRAPH_SCOPES: {
|
|
15
|
+
OPENID: string;
|
|
16
|
+
PROFILE: string;
|
|
17
|
+
USER_READ: string;
|
|
18
|
+
};
|
|
19
|
+
GRAPH_REQUESTS_LOGIN: {
|
|
20
|
+
scopes: string[];
|
|
21
|
+
};
|
|
22
|
+
GRAPH_REQUESTS_PHOTO: {
|
|
23
|
+
scopes: string[];
|
|
24
|
+
};
|
|
25
|
+
GRAPH_REQUESTS_BACKEND: (apiScope: string) => {
|
|
26
|
+
scopes: string[];
|
|
27
|
+
};
|
|
28
|
+
GRAPH_ENDPOINTS: {
|
|
29
|
+
PHOTO: string;
|
|
30
|
+
};
|
|
31
|
+
msalApp: PublicClientApplication;
|
|
32
|
+
getToken: () => Promise<string>;
|
|
33
|
+
isReaderOnly: (roles: string[] | undefined) => boolean;
|
|
34
|
+
isInIframe: () => boolean;
|
|
35
|
+
};
|
|
36
|
+
export declare const environment: {
|
|
37
|
+
getConfig: (param: keyof EnvVariables) => string;
|
|
38
|
+
getAppName: (appName: string | undefined) => string;
|
|
39
|
+
getClientId: (clientId: string | undefined) => string;
|
|
40
|
+
getApiUrl: (apiUrl: string | undefined) => string;
|
|
41
|
+
getApiScope: (apiScope: string | undefined) => string;
|
|
42
|
+
getEnvironmentName: (environmentName: string | EnvironmentType | undefined) => EnvironmentType;
|
|
43
|
+
getIsMock: (isMock: string | undefined) => boolean;
|
|
44
|
+
getServiceNowConfigurationItem: (configurationItem: string | undefined) => string;
|
|
45
|
+
PORTAL_URL_WITHOUT_LOCALHOST: string;
|
|
46
|
+
};
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
formatDate: (date: Date | string | null | undefined, options?: {
|
|
3
|
+
format: "DD.MM.YYYY" | "DD. month YYYY" | "YYYY-MM-DD" | "DD.MM.YY" | "DD. month";
|
|
4
|
+
month?: "short" | "long";
|
|
5
|
+
useUTC?: boolean;
|
|
6
|
+
}) => string;
|
|
7
|
+
formatDateTime: (date: Date | string | null | undefined, options?: {
|
|
8
|
+
month?: "short" | "long";
|
|
9
|
+
hideYear?: boolean;
|
|
10
|
+
isGMT?: boolean;
|
|
11
|
+
}) => string;
|
|
12
|
+
formatRelativeDateTime: (date: Date | string | null | undefined, isGMT?: boolean) => string;
|
|
13
|
+
isBetweenDates: (date: Date | string | null | undefined, dates: [Date, Date]) => boolean;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ErrorContentType, ErrorType } from 'src/types/Errors';
|
|
2
|
+
export declare const getListOfErrors: (appName: string) => ErrorContentType[];
|
|
3
|
+
export declare const getErrorContent: (appName: string, errorType?: ErrorType) => ErrorContentType;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
getErrorContent: (appName: string, errorType?: ErrorType) => ErrorContentType;
|
|
6
|
+
getListOfErrors: (appName: string) => ErrorContentType[];
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { auth, environment } from './auth_environment';
|
|
2
|
+
import coordinate from './coordinate';
|
|
3
|
+
import date from './date';
|
|
4
|
+
import errors from './errors';
|
|
5
|
+
import exportComponent from './export';
|
|
6
|
+
import favicon from './favicon';
|
|
7
|
+
import map from './map';
|
|
8
|
+
import size from './size';
|
|
9
|
+
import sort from './sort';
|
|
10
|
+
import string from './string';
|
|
11
|
+
import url from './url';
|
|
12
|
+
export { auth, coordinate, date, environment, errors, exportComponent, favicon, map, size, sort, string, url, };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface Point {
|
|
2
|
+
lat: number;
|
|
3
|
+
lng: number;
|
|
4
|
+
}
|
|
5
|
+
declare function distanceLatLng(x: Point, y: Point): number;
|
|
6
|
+
declare function convertUtmToLatLng(x: string | number, y: string | number): Point;
|
|
7
|
+
declare function convertLatLngToUtm(coordinate: Point): [number, number];
|
|
8
|
+
declare const _default: {
|
|
9
|
+
distanceLatLng: typeof distanceLatLng;
|
|
10
|
+
utmProjection: string;
|
|
11
|
+
convertUtmToLatLng: typeof convertUtmToLatLng;
|
|
12
|
+
convertLatLngToUtm: typeof convertLatLngToUtm;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReleaseNote } from 'src/api/models/ReleaseNote';
|
|
2
|
+
import { TableOfContentsItemType } from 'src/providers/TableOfContentsProvider';
|
|
3
|
+
interface MonthData {
|
|
4
|
+
label: string;
|
|
5
|
+
value: Date;
|
|
6
|
+
}
|
|
7
|
+
interface YearData {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
months: MonthData[];
|
|
11
|
+
}
|
|
12
|
+
declare const extractDatesFromReleaseNotes: (releaseNotes: ReleaseNote[]) => TableOfContentsItemType[];
|
|
13
|
+
declare const monthValueToString: (monthValue: Date) => string;
|
|
14
|
+
declare const monthToString: (monthValue: Date) => string;
|
|
15
|
+
declare const yearValueToString: (yearValue: Date) => string;
|
|
16
|
+
declare const sortReleaseNotesByDate: (notes: ReleaseNote[]) => ReleaseNote[];
|
|
17
|
+
export type { MonthData, YearData };
|
|
18
|
+
export { extractDatesFromReleaseNotes, monthToString, monthValueToString, sortReleaseNotesByDate, yearValueToString, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare function sortByDate(a: Date | string, b: Date | string): number;
|
|
2
|
+
interface WellBore {
|
|
3
|
+
wellboreName?: string | null;
|
|
4
|
+
}
|
|
5
|
+
declare function sortByWellboreName(a: string | WellBore, b: string | WellBore): number;
|
|
6
|
+
declare const _default: {
|
|
7
|
+
sortByDate: typeof sortByDate;
|
|
8
|
+
sortByWellboreName: typeof sortByWellboreName;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
package/package.json
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@equinor/amplify-component-lib",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Frontend Typescript components for the Amplify team",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"author": "Amplify Team",
|
|
8
|
+
"license": "ISC",
|
|
9
|
+
"homepage": "https://github.com/equinor/amplify-components#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/equinor/amplify-components/issues"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/*"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"scripts": {
|
|
18
|
+
"start": "NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
|
|
19
|
+
"build-storybook": "NODE_OPTIONS='--openssl-legacy-provider --max-old-space-size=2048' storybook build",
|
|
20
|
+
"setup": "npm install",
|
|
21
|
+
"pretty": "prettier --check ./config ./src",
|
|
22
|
+
"pretty:fix": "prettier --write ./config ./src",
|
|
23
|
+
"lint": "eslint ./src --ext .ts,.tsx",
|
|
24
|
+
"lint:fix": "eslint ./src --ext .ts,.tsx --fix",
|
|
25
|
+
"test": "vitest watch",
|
|
26
|
+
"test:ci": "vitest run",
|
|
27
|
+
"test:coverage": "vitest run --coverage",
|
|
28
|
+
"precommit": "npx lint-staged",
|
|
29
|
+
"build": "npm run build-components",
|
|
30
|
+
"build-components": "rollup -c && tsc --project tsconfig.build.json && resolve-tspaths --project tsconfig.build.json",
|
|
31
|
+
"build-components:ci": "rm -rf lib dist && npm run build-components",
|
|
32
|
+
"build-and-use": "node tooling/build-and-use.mjs",
|
|
33
|
+
"brute-coverage": "node tooling/brute-coverage.mjs",
|
|
34
|
+
"prepare": "husky"
|
|
35
|
+
},
|
|
36
|
+
"browserslist": {
|
|
37
|
+
"production": [
|
|
38
|
+
">0.2%",
|
|
39
|
+
"not dead",
|
|
40
|
+
"not op_mini all"
|
|
41
|
+
],
|
|
42
|
+
"development": [
|
|
43
|
+
"last 1 chrome version",
|
|
44
|
+
"last 1 firefox version",
|
|
45
|
+
"last 1 safari version"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@azure/msal-browser": "3.10.0",
|
|
50
|
+
"@azure/msal-react": "2.0.12",
|
|
51
|
+
"@equinor/eds-core-react": "0.35.1",
|
|
52
|
+
"@equinor/eds-data-grid-react": "^0.2.0",
|
|
53
|
+
"@microsoft/signalr": "^8.0.0",
|
|
54
|
+
"@tiptap/core": "^2.2.3",
|
|
55
|
+
"@tiptap/extension-bold": "^2.2.3",
|
|
56
|
+
"@tiptap/extension-bullet-list": "^2.2.3",
|
|
57
|
+
"@tiptap/extension-code-block": "^2.2.3",
|
|
58
|
+
"@tiptap/extension-code-block-lowlight": "^2.2.3",
|
|
59
|
+
"@tiptap/extension-color": "^2.2.3",
|
|
60
|
+
"@tiptap/extension-document": "^2.2.3",
|
|
61
|
+
"@tiptap/extension-dropcursor": "^2.2.3",
|
|
62
|
+
"@tiptap/extension-gapcursor": "^2.2.3",
|
|
63
|
+
"@tiptap/extension-hard-break": "^2.2.3",
|
|
64
|
+
"@tiptap/extension-heading": "^2.2.3",
|
|
65
|
+
"@tiptap/extension-highlight": "^2.2.3",
|
|
66
|
+
"@tiptap/extension-history": "^2.2.3",
|
|
67
|
+
"@tiptap/extension-image": "^2.2.3",
|
|
68
|
+
"@tiptap/extension-italic": "^2.2.3",
|
|
69
|
+
"@tiptap/extension-link": "^2.2.3",
|
|
70
|
+
"@tiptap/extension-list-item": "^2.2.3",
|
|
71
|
+
"@tiptap/extension-ordered-list": "^2.2.3",
|
|
72
|
+
"@tiptap/extension-paragraph": "^2.2.3",
|
|
73
|
+
"@tiptap/extension-placeholder": "^2.2.3",
|
|
74
|
+
"@tiptap/extension-table": "^2.2.3",
|
|
75
|
+
"@tiptap/extension-table-cell": "^2.2.3",
|
|
76
|
+
"@tiptap/extension-table-header": "^2.2.3",
|
|
77
|
+
"@tiptap/extension-table-row": "^2.2.3",
|
|
78
|
+
"@tiptap/extension-text": "^2.2.3",
|
|
79
|
+
"@tiptap/extension-text-align": "^2.2.3",
|
|
80
|
+
"@tiptap/extension-text-style": "^2.2.3",
|
|
81
|
+
"@tiptap/extension-typography": "^2.2.3",
|
|
82
|
+
"@tiptap/pm": "^2.2.3",
|
|
83
|
+
"@tiptap/react": "^2.2.3",
|
|
84
|
+
"framer-motion": "^11.0.5",
|
|
85
|
+
"html2canvas": "^1.4.1",
|
|
86
|
+
"jwt-decode": "^4.0.0",
|
|
87
|
+
"lowlight": "^3.1.0",
|
|
88
|
+
"proj4": "^2.10.0",
|
|
89
|
+
"react-dropzone": "^14.2.3",
|
|
90
|
+
"react-markdown": "^9.0.1",
|
|
91
|
+
"rehype-raw": "^7.0.0",
|
|
92
|
+
"styled-components": "^6.1.8"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@equinor/eds-icons": "^0.21.0",
|
|
96
|
+
"@faker-js/faker": "^8.4.1",
|
|
97
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
98
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
99
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
100
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
101
|
+
"@storybook/addon-actions": "^8.1.10",
|
|
102
|
+
"@storybook/addon-designs": "^8.0.2",
|
|
103
|
+
"@storybook/addon-docs": "^8.1.10",
|
|
104
|
+
"@storybook/addon-essentials": "^8.1.10",
|
|
105
|
+
"@storybook/addon-links": "^8.1.10",
|
|
106
|
+
"@storybook/addon-mdx-gfm": "^8.1.10",
|
|
107
|
+
"@storybook/blocks": "^8.1.10",
|
|
108
|
+
"@storybook/components": "^8.1.10",
|
|
109
|
+
"@storybook/manager-api": "^8.1.10",
|
|
110
|
+
"@storybook/preview-api": "^8.1.10",
|
|
111
|
+
"@storybook/react": "^8.1.10",
|
|
112
|
+
"@storybook/react-vite": "^8.1.10",
|
|
113
|
+
"@tanstack/react-query": "^5.20.5",
|
|
114
|
+
"@testing-library/dom": "^9.3.4",
|
|
115
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
116
|
+
"@testing-library/react": "^14.2.1",
|
|
117
|
+
"@testing-library/user-event": "^14.5.2",
|
|
118
|
+
"@types/lodash-es": "^4.17.12",
|
|
119
|
+
"@types/mocha": "^10.0.6",
|
|
120
|
+
"@types/node": "^20.11.19",
|
|
121
|
+
"@types/proj4": "^2.5.5",
|
|
122
|
+
"@types/random-seed": "^0.3.5",
|
|
123
|
+
"@types/react": "^18.2.55",
|
|
124
|
+
"@types/react-dom": "^18.2.19",
|
|
125
|
+
"@types/react-router-dom": "^5.3.3",
|
|
126
|
+
"@types/styled-components": "^5.1.34",
|
|
127
|
+
"@types/uuid": "^9.0.8",
|
|
128
|
+
"@types/wicg-file-system-access": "^2023.10.5",
|
|
129
|
+
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
130
|
+
"@typescript-eslint/parser": "^7.0.1",
|
|
131
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
132
|
+
"@vitest/coverage-v8": "^1.2.2",
|
|
133
|
+
"eslint": "^8.56.0",
|
|
134
|
+
"eslint-plugin-react": "^7.33.2",
|
|
135
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
136
|
+
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
137
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
138
|
+
"husky": "^9.0.11",
|
|
139
|
+
"jest-styled-components": "^7.2.0",
|
|
140
|
+
"jsdom": "^24.0.0",
|
|
141
|
+
"lint-staged": "^15.2.2",
|
|
142
|
+
"ora": "^8.0.1",
|
|
143
|
+
"prettier": "^3.2.5",
|
|
144
|
+
"react": "^18.2.0",
|
|
145
|
+
"react-dom": "^18.2.0",
|
|
146
|
+
"react-router": "^6.22.3",
|
|
147
|
+
"react-router-dom": "^6.22.3",
|
|
148
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
149
|
+
"resolve-tspaths": "^0.8.19",
|
|
150
|
+
"rollup": "^4.18.1",
|
|
151
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
152
|
+
"rollup-plugin-import-css": "^3.5.0",
|
|
153
|
+
"semantic-release": "^22.0.12",
|
|
154
|
+
"semantic-release-gitmoji": "^1.6.5",
|
|
155
|
+
"storybook": "^8.1.10",
|
|
156
|
+
"storybook-addon-data-theme-switcher": "^0.4.2",
|
|
157
|
+
"storybook-addon-react-docgen": "^1.2.44",
|
|
158
|
+
"storybook-addon-remix-react-router": "^3.0.0",
|
|
159
|
+
"typescript": "^5.5.3",
|
|
160
|
+
"uuid": "^9.0.1",
|
|
161
|
+
"vite": "^5.1.3",
|
|
162
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
163
|
+
"vite-tsconfig-paths": "^4.3.1",
|
|
164
|
+
"vitest": "^1.2.2"
|
|
165
|
+
},
|
|
166
|
+
"resolutions": {
|
|
167
|
+
"prosemirror-state": "1.4.3",
|
|
168
|
+
"ws": "8.17.1"
|
|
169
|
+
},
|
|
170
|
+
"peerDependencies": {
|
|
171
|
+
"@equinor/eds-icons": "*",
|
|
172
|
+
"@tanstack/react-query": "*",
|
|
173
|
+
"react": "^18.2.0",
|
|
174
|
+
"react-dom": "^18.2.0",
|
|
175
|
+
"react-router": "^6.11.1",
|
|
176
|
+
"react-router-dom": "^6.11.1"
|
|
177
|
+
}
|
|
178
|
+
}
|