@equinor/amplify-component-lib 8.18.2 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/hooks/useSelect.js +1 -1
- package/dist/atoms/index.js +1 -1
- package/dist/atoms/types/SideBar.d.ts +1 -0
- package/dist/atoms/utils/index.d.ts +0 -57
- package/dist/deprecated/index.d.ts +0 -36
- package/dist/index.js +1 -1
- package/dist/molecules/Badge/Badge.js +1 -1
- package/dist/molecules/Chip/Chip.d.ts +1 -1
- package/dist/molecules/Dialog/DialogAction.js +1 -1
- package/dist/molecules/FileProgress/CompactFileProgress.js +1 -1
- package/dist/molecules/FileProgress/CompactFileProgress.styles.d.ts +3 -3
- package/dist/molecules/FileProgress/CompactFileProgress.styles.js +26 -20
- package/dist/molecules/FileProgress/FileProgress.utils.js +1 -1
- package/dist/molecules/FileProgress/RegularFileProgress.js +1 -1
- package/dist/molecules/FileUploadArea/FileUploadArea.js +19 -19
- package/dist/molecules/InfoElement/InfoElement.js +1 -1
- package/dist/molecules/ListItem/ListItem.js +7 -7
- package/dist/molecules/ListItem/ListItem.utils.d.ts +1 -1
- package/dist/molecules/ListItem/ListItem.utils.js +1 -1
- package/dist/molecules/OptionDrawer/OptionDrawer.js +1 -1
- package/dist/molecules/OptionDrawer/OptionDrawer.styles.d.ts +1 -22
- package/dist/molecules/OptionDrawer/OptionDrawer.styles.js +8 -8
- package/dist/molecules/RichTextEditor/RichTextEditor.styles.js +2 -2
- package/dist/molecules/RichTextEditor/custom-extensions/ExtendedHeaders.js +1 -1
- package/dist/molecules/Select/GroupedSelectMenu.js +1 -1
- package/dist/molecules/Select/ListSelectMenu.js +1 -1
- package/dist/molecules/Select/Select.styles.d.ts +21 -20
- package/dist/molecules/Select/Select.styles.js +14 -8
- package/dist/molecules/Select/Select.types.d.ts +1 -1
- package/dist/molecules/Select/SelectMenuItem.js +1 -1
- package/dist/molecules/Stepper/SubTitle/SubTitle.js +3 -3
- package/dist/node_modules/lodash/lodash.js +1 -1
- package/dist/organisms/FieldSelector/ChangingField.js +8 -8
- package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +11 -11
- package/dist/organisms/Filter/Filter.styles.d.ts +11 -11
- package/dist/organisms/Filter/Filter.styles.js +37 -37
- package/dist/organisms/Filter/Sorting.js +2 -2
- package/dist/organisms/SideBar/CreateItem.styles.d.ts +2 -2
- package/dist/organisms/SideBar/MenuItem.js +1 -1
- package/dist/organisms/SideBar/MenuItem.styles.d.ts +1 -1
- package/dist/organisms/SideBar/MenuItem.styles.js +8 -8
- package/dist/organisms/Status/Description.js +1 -1
- package/dist/organisms/Status/Illustration.constants.js +1 -1
- package/dist/organisms/Status/Status.js +7 -7
- package/dist/organisms/Status/Title.js +1 -1
- package/dist/organisms/Status/collections/MissingAccessToApp.js +1 -1
- package/dist/organisms/TableOfContents/TableOfContents.styles.js +52 -50
- package/dist/organisms/TopBar/Account/Account.js +1 -1
- package/dist/organisms/TopBar/Account/AccountAvatar.js +3 -3
- package/dist/organisms/TopBar/Account/AccountButton.js +4 -4
- package/dist/organisms/TopBar/Account/ActiveUserImpersonationButton.js +4 -4
- package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateButton.js +2 -2
- package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.styles.js +2 -2
- package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.styles.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.d.ts +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.js +6 -6
- package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +6 -6
- package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.d.ts +11 -11
- package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.js +9 -9
- package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
- package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.styles.d.ts +2 -2
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.d.ts +1 -1
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +14 -14
- package/dist/organisms/TopBar/Guidelines/Item.js +2 -2
- package/dist/organisms/TopBar/Guidelines/Section.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/DefaultNotification.js +4 -4
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +4 -4
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -1
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.d.ts +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.d.ts +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +9 -9
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.styles.d.ts +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.d.ts +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +5 -5
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +5 -5
- package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/FilterHeader/FilterHeader.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.styles.d.ts +2 -2
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/ReleasePost.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/ReleasePost.styles.d.ts +3 -3
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/ReleasePost.styles.js +25 -25
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/ReleasePost.utils.d.ts +1 -0
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/ReleasePost.utils.js +1 -0
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.d.ts +1 -2
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.js +3 -14
- package/dist/organisms/TopBar/Resources/Resources.js +5 -5
- package/dist/organisms/TopBar/Settings.d.ts +2 -1
- package/dist/organisms/TopBar/Settings.js +11 -11
- package/dist/organisms/TopBar/TopBar.js +1 -1
- package/dist/organisms/TopBar/TopBar.styles.d.ts +3 -3
- package/dist/organisms/TopBar/TransferToAppDialog.js +2 -2
- package/dist/providers/AuthProvider/AuthProviderInner.js +1 -1
- package/dist/providers/LoadingProvider.js +1 -1
- package/dist/providers/ReleaseNotesProvider.utils.js +1 -1
- package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/tests/mockHandlers.d.ts +2 -1
- package/package.json +72 -73
- package/dist/atoms/utils/errors.d.ts +0 -10
- package/dist/atoms/utils/errors.js +0 -1
- package/dist/atoms/utils/index.js +0 -1
- package/dist/deprecated/CommentField/CommentField.d.ts +0 -13
- package/dist/deprecated/CommentField/CommentField.js +0 -40
- package/dist/deprecated/CommentField/NewCommentField.d.ts +0 -9
- package/dist/deprecated/ConfirmationPopup.d.ts +0 -17
- package/dist/deprecated/ConfirmationPopup.js +0 -22
- package/dist/deprecated/DataCard.d.ts +0 -18
- package/dist/deprecated/DataCard.js +0 -27
- package/dist/deprecated/EditableField.d.ts +0 -13
- package/dist/deprecated/EditableField.js +0 -20
- package/dist/deprecated/ErrorPage/Action.d.ts +0 -6
- package/dist/deprecated/ErrorPage/Action.js +0 -1
- package/dist/deprecated/ErrorPage/Description.d.ts +0 -5
- package/dist/deprecated/ErrorPage/Description.js +0 -1
- package/dist/deprecated/ErrorPage/Details.d.ts +0 -5
- package/dist/deprecated/ErrorPage/Details.js +0 -23
- package/dist/deprecated/ErrorPage/ErrorPage.d.ts +0 -6
- package/dist/deprecated/ErrorPage/ErrorPage.js +0 -14
- package/dist/deprecated/ErrorPage/MissingAccesses.d.ts +0 -10
- package/dist/deprecated/ErrorPage/MissingAccesses.js +0 -11
- package/dist/deprecated/ErrorPage/Title.d.ts +0 -5
- package/dist/deprecated/ErrorPage/Title.js +0 -1
- package/dist/deprecated/ErrorPage/collections/OldPageNotFound.d.ts +0 -5
- package/dist/deprecated/ErrorPage/collections/OldPageNotFound.js +0 -1
- package/dist/deprecated/ErrorPage/collections/OldUnauthorized.d.ts +0 -6
- package/dist/deprecated/ErrorPage/collections/OldUnauthorized.js +0 -4
- package/dist/deprecated/ErrorPage/collections/index.d.ts +0 -2
- package/dist/deprecated/ErrorPage/illustrations/GlitchAnimation.d.ts +0 -5
- package/dist/deprecated/ErrorPage/illustrations/GlitchAnimation.js +0 -18
- package/dist/deprecated/ErrorPage/illustrations/QuestioningAnimation.d.ts +0 -5
- package/dist/deprecated/ErrorPage/illustrations/QuestioningAnimation.js +0 -18
- package/dist/deprecated/ErrorPage/index.d.ts +0 -18
- package/dist/deprecated/ErrorPage/index.js +0 -1
- package/dist/deprecated/FullPageStatus/FullPageStatus.d.ts +0 -10
- package/dist/deprecated/FullPageStatus/FullPageStatus.js +0 -18
- package/dist/deprecated/HeaderDrawer.d.ts +0 -11
- package/dist/deprecated/HeaderDrawer.js +0 -21
- package/dist/deprecated/MultiSelectDrawer.d.ts +0 -29
- package/dist/deprecated/MultiSelectDrawer.js +0 -28
- package/dist/deprecated/SingleSelectDrawer.d.ts +0 -27
- package/dist/deprecated/SingleSelectDrawer.js +0 -25
- package/dist/deprecated/Tutorial/HighlightBlocks/HighlightBlocks.d.ts +0 -13
- package/dist/deprecated/Tutorial/HighlightBlocks/HighlightBlocks.js +0 -14
- package/dist/deprecated/Tutorial/Tutorial.d.ts +0 -20
- package/dist/deprecated/Tutorial/Tutorial.js +0 -1
- package/dist/deprecated/Tutorial/TutorialStart.d.ts +0 -11
- package/dist/deprecated/Tutorial/TutorialStart.js +0 -39
- package/dist/deprecated/Tutorial/TutorialSteps.d.ts +0 -9
- package/dist/deprecated/Tutorial/TutorialSteps.js +0 -50
- package/dist/deprecated/Tutorial/stories/TutorialStoryComponent.d.ts +0 -4
- package/dist/deprecated/Workflow/StatusChip.d.ts +0 -13
- package/dist/deprecated/Workflow/StatusChip.js +0 -25
- package/dist/deprecated/Workflow/WorkflowDescription.d.ts +0 -17
- package/dist/deprecated/Workflow/WorkflowDescription.js +0 -24
- package/dist/deprecated/Workflow/WorkflowStatusBar.d.ts +0 -23
- package/dist/deprecated/Workflow/WorkflowStatusBar.js +0 -33
- package/dist/deprecated/index.js +0 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/TextContent.d.ts +0 -6
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/TextContent.js +0 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/hooks/useTokenReleaseNote.js +0 -1
|
@@ -14,13 +14,13 @@ declare const Section: import("styled-components/dist/types").IStyledComponentBa
|
|
|
14
14
|
declare const ClearButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<{
|
|
15
15
|
as?: import("react").ElementType | undefined;
|
|
16
16
|
} & {
|
|
17
|
-
color?: "
|
|
17
|
+
color?: "primary" | "danger" | "secondary";
|
|
18
18
|
variant?: "contained" | "contained_icon" | "outlined" | "ghost" | "ghost_icon";
|
|
19
19
|
href?: string;
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
type?: string;
|
|
22
22
|
fullWidth?: boolean;
|
|
23
|
-
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Omit<any, "href" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | "
|
|
23
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Omit<any, "variant" | "href" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | "fullWidth">, never>> & string & Omit<import("@equinor/eds-utils").OverridableComponent<import("@equinor/eds-core-react").ButtonProps, HTMLButtonElement> & {
|
|
24
24
|
Group: typeof import("@equinor/eds-core-react/dist/types/components/Button/ButtonGroup").ButtonGroup;
|
|
25
25
|
Toggle: typeof import("@equinor/eds-core-react/dist/types/components/Button/ToggleButton/ToggleButton").ToggleButton;
|
|
26
26
|
}, keyof import("react").Component<any, {}, any>>;
|
|
@@ -29,27 +29,28 @@ interface ComboBoxChipProps {
|
|
|
29
29
|
$lightBackground?: boolean;
|
|
30
30
|
className: string;
|
|
31
31
|
}
|
|
32
|
-
declare const ComboBoxChip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<Omit<import("react").HTMLAttributes<
|
|
32
|
+
declare const ComboBoxChip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<Omit<import("react").HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & import("../Chip/Chip").BaseChipProps & import("../Chip/Chip").InteractiveChipBase & {
|
|
33
33
|
onClick: (event: import("react").MouseEvent<HTMLButtonElement> | import("react").KeyboardEvent<HTMLButtonElement>) => void;
|
|
34
34
|
onDelete?: undefined;
|
|
35
|
-
} & import("react").RefAttributes<
|
|
36
|
-
ref?: ((instance:
|
|
37
|
-
}) | (Omit<Omit<import("react").HTMLAttributes<
|
|
35
|
+
} & import("react").RefAttributes<HTMLDivElement | HTMLButtonElement>, "ref"> & {
|
|
36
|
+
ref?: ((instance: HTMLDivElement | HTMLButtonElement | 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 | HTMLButtonElement> | null | undefined;
|
|
37
|
+
}) | (Omit<Omit<import("react").HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & import("../Chip/Chip").BaseChipProps & import("../Chip/Chip").InteractiveChipBase & {
|
|
38
38
|
onClick?: undefined;
|
|
39
39
|
onDelete: (event: import("react").MouseEvent<HTMLButtonElement> | import("react").KeyboardEvent<HTMLButtonElement>) => void;
|
|
40
|
-
} & import("react").RefAttributes<
|
|
41
|
-
ref?: ((instance:
|
|
42
|
-
}) | (Omit<Omit<import("react").HTMLAttributes<
|
|
40
|
+
} & import("react").RefAttributes<HTMLDivElement | HTMLButtonElement>, "ref"> & {
|
|
41
|
+
ref?: ((instance: HTMLDivElement | HTMLButtonElement | 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 | HTMLButtonElement> | null | undefined;
|
|
42
|
+
}) | (Omit<Omit<import("react").HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & import("../Chip/Chip").BaseChipProps & {
|
|
43
43
|
onClick?: undefined;
|
|
44
44
|
onDelete?: undefined;
|
|
45
|
-
} & import("react").RefAttributes<
|
|
46
|
-
ref?: ((instance:
|
|
47
|
-
}), ComboBoxChipProps>> & string & Omit<import("react").ForwardRefExoticComponent<(Omit<import("react").HTMLAttributes<
|
|
45
|
+
} & import("react").RefAttributes<HTMLDivElement | HTMLButtonElement>, "ref"> & {
|
|
46
|
+
ref?: ((instance: HTMLDivElement | HTMLButtonElement | 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 | HTMLButtonElement> | null | undefined;
|
|
47
|
+
}), ComboBoxChipProps>> & string & Omit<import("react").ForwardRefExoticComponent<(Omit<import("react").HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & (import("../Chip/Chip").ClickableChipProps | import("../Chip/Chip").DeletableChipProps | (import("../Chip/Chip").BaseChipProps & {
|
|
48
48
|
onClick?: undefined;
|
|
49
49
|
onDelete?: undefined;
|
|
50
|
-
}))) & import("react").RefAttributes<
|
|
50
|
+
}))) & import("react").RefAttributes<HTMLDivElement | HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
|
|
51
51
|
interface CustomMenuItemProps {
|
|
52
52
|
$paddedLeft?: boolean;
|
|
53
|
+
$selected?: boolean;
|
|
53
54
|
}
|
|
54
55
|
declare const StyledMenuItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<{
|
|
55
56
|
as?: import("react").ElementType | undefined;
|
|
@@ -66,7 +67,7 @@ declare const StyledMenuItem: import("styled-components/dist/types").IStyledComp
|
|
|
66
67
|
declare const MenuItemSpacer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, never>> & string;
|
|
67
68
|
declare const PlaceholderText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<({
|
|
68
69
|
as?: import("react").ElementType | undefined;
|
|
69
|
-
} & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "
|
|
70
|
+
} & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "variant" | "color" | "suppressHydrationWarning" | "className" | "id" | "lang" | "style" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "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" | "link" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "bold" | "group" | "italic" | "token" | "lines">)) & import("styled-components/dist/types").BaseObject, import("styled-components/dist/types").BaseObject>> & string & Omit<import("@equinor/eds-utils").OverridableComponent<import("@equinor/eds-core-react").TypographyProps, HTMLElement>, keyof import("react").Component<any, {}, any>>;
|
|
70
71
|
declare const ValueText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<{
|
|
71
72
|
as?: import("react").ElementType | undefined;
|
|
72
73
|
} & {
|
|
@@ -78,7 +79,7 @@ declare const ValueText: import("styled-components/dist/types").IStyledComponent
|
|
|
78
79
|
color?: import("@equinor/eds-core-react/dist/types/components/Typography/Typography.tokens").ColorVariants | string;
|
|
79
80
|
token?: Partial<import("@equinor/eds-tokens").Typography>;
|
|
80
81
|
lines?: number;
|
|
81
|
-
} & import("react").
|
|
82
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & Omit<any, "nonce" | "variant" | "color" | "suppressHydrationWarning" | "className" | "id" | "lang" | "style" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "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" | "link" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "bold" | "group" | "italic" | "token" | "lines">, never> | import("styled-components").FastOmit<{
|
|
82
83
|
as?: import("react").ElementType | undefined;
|
|
83
84
|
} & {
|
|
84
85
|
variant?: import("@equinor/eds-core-react/dist/types/components/Typography/Typography.tokens").TypographyVariants;
|
|
@@ -89,13 +90,13 @@ declare const ValueText: import("styled-components/dist/types").IStyledComponent
|
|
|
89
90
|
color?: import("@equinor/eds-core-react/dist/types/components/Typography/Typography.tokens").ColorVariants | string;
|
|
90
91
|
token?: Partial<import("@equinor/eds-tokens").Typography>;
|
|
91
92
|
lines?: number;
|
|
92
|
-
} & import("react").
|
|
93
|
+
} & import("react").HTMLAttributes<HTMLElement> & Omit<any, "nonce" | "variant" | "color" | "suppressHydrationWarning" | "className" | "id" | "lang" | "style" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "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" | "link" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "bold" | "group" | "italic" | "token" | "lines">, never>, import("styled-components/dist/types").BaseObject>> & string;
|
|
93
94
|
declare const NoTagFoundText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<({
|
|
94
95
|
as?: import("react").ElementType | undefined;
|
|
95
|
-
} & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "
|
|
96
|
+
} & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "variant" | "color" | "suppressHydrationWarning" | "className" | "id" | "lang" | "style" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "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" | "link" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "bold" | "group" | "italic" | "token" | "lines">)) & import("styled-components/dist/types").BaseObject, import("styled-components/dist/types").BaseObject>> & string & Omit<import("@equinor/eds-utils").OverridableComponent<import("@equinor/eds-core-react").TypographyProps, HTMLElement>, keyof import("react").Component<any, {}, any>>;
|
|
96
97
|
declare const NoItemsFoundText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<({
|
|
97
98
|
as?: import("react").ElementType | undefined;
|
|
98
|
-
} & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "
|
|
99
|
+
} & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "variant" | "color" | "suppressHydrationWarning" | "className" | "id" | "lang" | "style" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "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" | "link" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "bold" | "group" | "italic" | "token" | "lines">)) & import("styled-components/dist/types").BaseObject, import("styled-components/dist/types").BaseObject>> & string & Omit<import("@equinor/eds-utils").OverridableComponent<import("@equinor/eds-core-react").TypographyProps, HTMLElement>, keyof import("react").Component<any, {}, any>>;
|
|
99
100
|
declare const StyledMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
|
|
100
101
|
anchorEl?: HTMLElement | null;
|
|
101
102
|
open: boolean;
|
|
@@ -118,13 +119,13 @@ declare const MenuItemWrapper: import("styled-components/dist/types").IStyledCom
|
|
|
118
119
|
declare const SmallButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<{
|
|
119
120
|
as?: import("react").ElementType | undefined;
|
|
120
121
|
} & {
|
|
121
|
-
color?: "
|
|
122
|
+
color?: "primary" | "danger" | "secondary";
|
|
122
123
|
variant?: "contained" | "contained_icon" | "outlined" | "ghost" | "ghost_icon";
|
|
123
124
|
href?: string;
|
|
124
125
|
disabled?: boolean;
|
|
125
126
|
type?: string;
|
|
126
127
|
fullWidth?: boolean;
|
|
127
|
-
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Omit<any, "href" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | "
|
|
128
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Omit<any, "variant" | "href" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | "fullWidth">, never>> & string & Omit<import("@equinor/eds-utils").OverridableComponent<import("@equinor/eds-core-react").ButtonProps, HTMLButtonElement> & {
|
|
128
129
|
Group: typeof import("@equinor/eds-core-react/dist/types/components/Button/ButtonGroup").ButtonGroup;
|
|
129
130
|
Toggle: typeof import("@equinor/eds-core-react/dist/types/components/Button/ToggleButton/ToggleButton").ToggleButton;
|
|
130
131
|
}, keyof import("react").Component<any, {}, any>>;
|
|
@@ -93,7 +93,7 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
|
|
|
93
93
|
width: calc(100% - 24px);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
`,
|
|
96
|
+
`,h=d.section`
|
|
97
97
|
position: relative;
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-wrap: wrap;
|
|
@@ -135,7 +135,7 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
`,
|
|
138
|
+
`,u=d(t)`
|
|
139
139
|
position: absolute;
|
|
140
140
|
top: 50%;
|
|
141
141
|
transform: translate(0, -50%);
|
|
@@ -154,10 +154,9 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
|
|
|
154
154
|
background: ${({$tryingToRemove:t,$lightBackground:e})=>t?o.interactive.primary__hover_alt.rgba:e?o.ui.background__light.rgba:o.ui.background__default.rgba} !important;
|
|
155
155
|
`,x=d(e.Item)`
|
|
156
156
|
flex-grow: 1;
|
|
157
|
-
border-radius: 2px;
|
|
158
157
|
${({$paddedLeft:t})=>t&&"margin-left: 36px"};
|
|
159
158
|
padding-left: 10px;
|
|
160
|
-
|
|
159
|
+
|
|
161
160
|
> div {
|
|
162
161
|
grid-auto-columns: auto;
|
|
163
162
|
justify-content: flex-start;
|
|
@@ -170,16 +169,24 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
|
|
|
170
169
|
&:focus-visible {
|
|
171
170
|
outline: 2px dashed ${o.interactive.primary__resting.rgba};
|
|
172
171
|
}
|
|
172
|
+
|
|
173
|
+
${({$selected:t})=>t?c`
|
|
174
|
+
background: ${o.interactive.primary__selected_highlight.rgba};
|
|
175
|
+
|
|
176
|
+
&:hover {
|
|
177
|
+
background: ${o.interactive.primary__selected_hover.rgba};
|
|
178
|
+
}
|
|
179
|
+
`:""}}
|
|
173
180
|
`,_=d.hr`
|
|
174
181
|
height: calc(100% + ${s.medium} * 2);
|
|
175
182
|
justify-self: center;
|
|
176
183
|
width: ${s.x_large};
|
|
177
|
-
|
|
184
|
+
`,$=d(r)`
|
|
178
185
|
position: absolute;
|
|
179
186
|
color: ${o.text.static_icons__tertiary.rgba};
|
|
180
187
|
top: calc(50%);
|
|
181
188
|
transform: translate(0, -50%);
|
|
182
|
-
|
|
189
|
+
`,f=d($)`
|
|
183
190
|
white-space: nowrap;
|
|
184
191
|
overflow: hidden;
|
|
185
192
|
text-overflow: ellipsis;
|
|
@@ -200,8 +207,7 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
|
|
|
200
207
|
`,k=d.div`
|
|
201
208
|
display: flex;
|
|
202
209
|
align-items: center;
|
|
203
|
-
padding: 0 ${s.small};
|
|
204
210
|
`,j=d(t)`
|
|
205
211
|
width: 36px;
|
|
206
212
|
height: 36px;
|
|
207
|
-
`;export{
|
|
213
|
+
`;export{u as ClearButton,m as ComboBoxChip,b as Container,g as HelperWrapper,_ as MenuItemSpacer,k as MenuItemWrapper,w as NoItemsFoundText,v as NoTagFoundText,$ as PlaceholderText,h as Section,j as SmallButton,y as StyledMenu,x as StyledMenuItem,f as ValueText,p as Wrapper};
|
|
@@ -54,7 +54,7 @@ export type SingleSelectMenuItemProps<T extends SelectOptionRequired> = {
|
|
|
54
54
|
multiselect?: undefined;
|
|
55
55
|
isParentSelected?: boolean;
|
|
56
56
|
parentHasNestedItems?: boolean;
|
|
57
|
-
} & Omit<SelectMenuProps<T>, 'search'> & SelectMenuItemProps<T>;
|
|
57
|
+
} & Omit<SelectMenuProps<T>, 'search'> & SelectMenuItemProps<T> & Pick<SingleSelectCommon<T>, 'value'>;
|
|
58
58
|
export type MultiSelectMenuItemProps<T extends SelectOptionRequired> = {
|
|
59
59
|
isParentSelected?: boolean;
|
|
60
60
|
parentHasNestedItems?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{useState as n,useRef as
|
|
1
|
+
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{useState as n,useRef as o,useMemo as c}from"react";import{Icon as i}from"@equinor/eds-core-react";import{checkbox_outline as l,chevron_down as a,chevron_right as s,checkbox as u}from"@equinor/eds-icons";import{tokens as d}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{getChildOffset as m}from"./Select.utils.js";import{getParentIcon as p}from"./SelectMenuItem.utils.js";import{spacings as h}from"../../atoms/style/spacings.js";import{MenuItemSpacer as f,MenuItemWrapper as y,SmallButton as v,StyledMenuItem as g}from"./Select.styles.js";const{colors:w}=d,k=d=>{const{index:b,childOffset:x,depth:C=0,item:D,multiselect:$,itemRefs:A,onItemKeyDown:I,onItemSelect:_,parentHasNestedItems:j=!1}=d,[K,S]=n(!1),O=o(-1),q=o([]),L=("values"in d?d.values.map((({value:e})=>e)):[]).includes(D.value),M=c((()=>$?p(D,d.values):l),[D,$,d]),R=c((()=>new Array(C).fill(0).map(((r,t)=>e(f,{},`spacer-${r+t}`)))),[C]),H=e=>{e.preventDefault(),_(D)},N=e=>{e.stopPropagation(),S((e=>!e))},U=e=>{"ArrowDown"===e.key?O.current+=1:"ArrowUp"===e.key&&(O.current-=1),O.current<=-1?(A.current[b]?.focus(),O.current=-1):O.current+x===q.current.length?(O.current=-1,I(e),S(!1)):O.current>=0&&O.current<q.current.length-x&&q.current[O.current+x]?.focus()},P=e=>{!K&&"ArrowDown"===e.key||"ArrowUp"===e.key?I(e):"ArrowRight"===e.key||"ArrowLeft"===e.key?S((e=>!e)):K&&"ArrowDown"===e.key&&-1===O.current&&(O.current=0,q.current[O.current+x]?.focus())};return D.children&&D.children.length>0&&$?r(t,{children:[r(y,{style:{paddingLeft:0===C?h.small:0},children:[R,e(v,{variant:"ghost_icon",onClick:N,"data-testid":"toggle-button",children:e(i,{color:w.interactive.primary__resting.rgba,data:K?a:s})}),r(g,{$depth:C,ref:e=>{A.current[b]=e},index:b,closeMenuOnClick:!1,onKeyDownCapture:P,onClick:H,children:[e(i,{color:w.interactive.primary__resting.rgba,data:M}),e("span",{children:D.label})]})]}),K&&D.children.map(((r,t)=>e(k,{index:x+t,childOffset:x+m(D.children,t),depth:C+1,multiselect:!0,item:r,itemRefs:q,values:d.values,onItemKeyDown:U,onItemSelect:_,parentHasNestedItems:!0},`child-${t}-${r.value}-${D.value}`)))]}):$?r(y,{children:[R,r(g,{$depth:C,$paddedLeft:j,ref:e=>{A.current[b]=e},index:b,tabIndex:C,closeMenuOnClick:!1,onKeyDownCapture:I,onClick:H,children:[e(i,{color:w.interactive.primary__resting.rgba,data:L?u:l}),e("span",{children:D.label})]})]}):e(y,{children:e(g,{$depth:C,$selected:d.value&&D.value===d.value.value,ref:e=>{A.current[b]=e},index:b,onKeyDownCapture:I,onClick:H,children:e("span",{children:D.label})})})};export{k as SelectMenuItem};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{jsxs as t,jsx as
|
|
1
|
+
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{colors as i}from"../../../atoms/style/colors.js";import{spacings as r}from"../../../atoms/style/spacings.js";import"../../AnimatedCheckmark/AnimatedCheckmark.styles.js";import"../../ApplicationIcon/ApplicationIcon.js";import"../../Badge/Badge.styles.js";import{Typography as o}from"@equinor/eds-core-react";import"../../Banner/Banner.styles.js";import"@equinor/eds-icons";import"../../Chip/Chip.js";import"react";import"../../ContentMenu/ContentMenu.styles.js";import"../../DatePicker/DatePicker.js";import"../../Dialog/Dialog.js";import"../../EquinorLogo/EquinorLogo.js";import"../../FileProgress/CompactFileProgress.styles.js";import"../../../atoms/utils/auth_environment.js";import"html2canvas";import"proj4";import"../../RichTextEditor/RichTextEditor.types.js";import"../../FileProgress/RegularFileProgress.styles.js";import"../../FileUploadArea/FileUploadArea.js";import"../../FullPageSpinner/FullPageSpinner.js";import"../../InfoElement/InfoElement.js";import"../../OptionalTooltip/OptionalTooltip.js";import"../../ProfileAvatar/ProfileAvatar.js";import"@tiptap/react";import"../../RichTextEditor/custom-extensions/AmplifyKit.js";import"../../RichTextEditor/RichTextEditor.styles.js";import"../../RichTextEditor/MenuBar/MenuBar.js";import"@tanstack/react-query";import"../../RichTextEditor/MenuBar/MenuBar.styles.js";import"../../RichTextEditor/MenuBar/MenuButton.js";import"../../Search/Search.js";import"react-router-dom";import"../../Sieve/Sieve.styles.js";import"../../../_virtual/lodash.js";import"../../SingleFilterMenu/SingleFilterMenu.js";import"../../Skeleton/SkeletonBase/SkeletonBase.js";import"../../Skeleton/Skeleton.styles.js";import"../Stepper.js";import"../../OptionDrawer/OptionDrawer.js";import"../../Select/Select.styles.js";import"../../ListItem/ListItem.js";import"../../SelectionControls/Checkbox/Checkbox.js";import"../../SelectionControls/Radio/Radio.js";import"../../SelectionControls/Switch/Switch.js";import{SubStepIndicator as s}from"./SubStepIndicator.js";import{useStepper as n}from"../../../providers/StepperProvider.js";import p from"styled-components";const l=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
gap: ${
|
|
4
|
+
gap: ${r.small};
|
|
5
5
|
align-self: center;
|
|
6
6
|
align-items: center;
|
|
7
|
-
`,a=()=>{const{currentStep:
|
|
7
|
+
`,a=()=>{const{currentStep:r,currentSubStep:p,steps:a}=n(),m="subSteps"in a[r]?a[r].subSteps:[],c=m?.at(p);return!c&&void 0===a[r].title||!m?null:a[r].title?t(l,{children:[e(o,{variant:"h3",children:a[r].title}),a[r].description&&e(o,{variant:"caption",children:a[r].description})]}):t(l,{children:[e(o,{variant:"caption",color:i.text.static_icons__secondary.rgba,children:`${p+1} of ${m.length}`}),e(o,{variant:"h3",children:c?.title}),c?.description&&e(o,{variant:"caption",children:c.description}),e(s,{})]})};export{a as SubTitle};
|