@equinor/amplify-component-lib 9.11.0 → 9.13.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/dist/atoms/hooks/index.d.ts +0 -1
  2. package/dist/atoms/hooks/useAmplifyKit.js +1 -1
  3. package/dist/atoms/hooks/useDebounce.js +1 -1
  4. package/dist/atoms/hooks/useFakeProgress.js +1 -1
  5. package/dist/atoms/hooks/useFaqsInApplication.js +1 -1
  6. package/dist/atoms/hooks/useLocalStorage.js +1 -1
  7. package/dist/atoms/hooks/useOnScreenMultiple.js +1 -1
  8. package/dist/atoms/hooks/usePrefetchRichTextImages.js +1 -1
  9. package/dist/atoms/hooks/usePrevious.js +1 -1
  10. package/dist/atoms/hooks/useSelect.js +1 -1
  11. package/dist/atoms/index.js +1 -1
  12. package/dist/atoms/style/colors.d.ts +3 -0
  13. package/dist/atoms/style/colors.js +1 -1
  14. package/dist/atoms/style/darkTokens.js +10 -0
  15. package/dist/atoms/style/lightTokens.js +10 -0
  16. package/dist/atoms/utils/auth_environment.js +1 -1
  17. package/dist/atoms/utils/date.js +1 -1
  18. package/dist/atoms/utils/export.js +1 -1
  19. package/dist/atoms/utils/richtext.js +1 -1
  20. package/dist/atoms/utils/string.js +1 -1
  21. package/dist/atoms/utils/tutorials.js +1 -1
  22. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.js +1 -1
  23. package/dist/deprecated/IconToggleButton.js +1 -1
  24. package/dist/deprecated/OldStepper/OldStep.js +1 -1
  25. package/dist/deprecated/OldStepper/OldStepLine.js +1 -1
  26. package/dist/deprecated/OldStepper/OldStepper.js +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/molecules/ApplicationIcon/ApplicationIcon.d.ts +1 -1
  29. package/dist/molecules/ApplicationIcon/ApplicationIcon.js +1 -1
  30. package/dist/molecules/ApplicationIcon/ApplicationIconBase.js +1 -1
  31. package/dist/molecules/ApplicationIcon/ApplicationIconCollection.d.ts +1 -0
  32. package/dist/molecules/ApplicationIcon/ApplicationIconCollection.js +1 -1
  33. package/dist/molecules/ApplicationIcon/Icons/Acquire.d.ts +1 -2
  34. package/dist/molecules/ApplicationIcon/Icons/Acquire.js +1 -1
  35. package/dist/molecules/ApplicationIcon/Icons/Bravos.d.ts +1 -2
  36. package/dist/molecules/ApplicationIcon/Icons/Bravos.js +1 -1
  37. package/dist/molecules/ApplicationIcon/Icons/Dasha.d.ts +1 -2
  38. package/dist/molecules/ApplicationIcon/Icons/Dasha.js +1 -1
  39. package/dist/molecules/ApplicationIcon/Icons/Fallback.d.ts +1 -2
  40. package/dist/molecules/ApplicationIcon/Icons/Fallback.js +1 -1
  41. package/dist/molecules/ApplicationIcon/Icons/FourDInsight.d.ts +1 -2
  42. package/dist/molecules/ApplicationIcon/Icons/FourDInsight.js +1 -1
  43. package/dist/molecules/ApplicationIcon/Icons/InPress.d.ts +1 -2
  44. package/dist/molecules/ApplicationIcon/Icons/InPress.js +1 -1
  45. package/dist/molecules/ApplicationIcon/Icons/JsEmbark.d.ts +1 -2
  46. package/dist/molecules/ApplicationIcon/Icons/JsEmbark.js +1 -1
  47. package/dist/molecules/ApplicationIcon/Icons/LoggingQualification.d.ts +1 -2
  48. package/dist/molecules/ApplicationIcon/Icons/LoggingQualification.js +1 -1
  49. package/dist/molecules/ApplicationIcon/Icons/Orca.d.ts +1 -2
  50. package/dist/molecules/ApplicationIcon/Icons/Orca.js +1 -1
  51. package/dist/molecules/ApplicationIcon/Icons/Premo.d.ts +1 -2
  52. package/dist/molecules/ApplicationIcon/Icons/Premo.js +1 -1
  53. package/dist/molecules/ApplicationIcon/Icons/Pwex.d.ts +1 -2
  54. package/dist/molecules/ApplicationIcon/Icons/Pwex.js +1 -1
  55. package/dist/molecules/ApplicationIcon/Icons/Recap.d.ts +1 -2
  56. package/dist/molecules/ApplicationIcon/Icons/Recap.js +1 -1
  57. package/dist/molecules/ApplicationIcon/Icons/Sam.js +1 -1
  58. package/dist/molecules/ApplicationIcon/Icons/SubsurfacePortal.d.ts +2 -0
  59. package/dist/molecules/ApplicationIcon/Icons/SubsurfacePortal.js +1 -0
  60. package/dist/molecules/Badge/Badge.js +1 -1
  61. package/dist/molecules/Button/Button.js +1 -1
  62. package/dist/molecules/Chip/Chip.js +1 -1
  63. package/dist/molecules/Chip/InteractiveChip.js +1 -1
  64. package/dist/molecules/Chip/ReadOnlyChip.js +1 -1
  65. package/dist/molecules/ContentMenu/ContentMenu.js +1 -1
  66. package/dist/molecules/DatePicker/DatePicker.js +1 -1
  67. package/dist/molecules/Dialog/Dialog.js +1 -1
  68. package/dist/molecules/Dialog/DialogAction.js +1 -1
  69. package/dist/molecules/EquinorLogo/EquinorLogo.js +1 -1
  70. package/dist/molecules/FeedBackIcon/FeedBackIcon.js +1 -1
  71. package/dist/molecules/FileProgress/CompactFileProgress.js +1 -1
  72. package/dist/molecules/FileProgress/CompactFileProgress.styles.d.ts +2 -2
  73. package/dist/molecules/FileProgress/FileProgress.js +1 -1
  74. package/dist/molecules/FileProgress/FileProgress.utils.js +1 -1
  75. package/dist/molecules/FileProgress/RegularFileProgress.js +1 -1
  76. package/dist/molecules/FileProgress/RegularFileProgress.styles.js +5 -3
  77. package/dist/molecules/FileUploadArea/FileUploadArea.js +2 -2
  78. package/dist/molecules/FullPageSpinner/FullPageSpinner.js +1 -1
  79. package/dist/molecules/InfoElement/CopyText.js +1 -1
  80. package/dist/molecules/InfoElement/InfoElement.js +1 -1
  81. package/dist/molecules/ListItem/ListItem.js +2 -2
  82. package/dist/molecules/ListItem/ListItem.utils.js +1 -1
  83. package/dist/molecules/OptionDrawer/OptionDrawer.js +1 -1
  84. package/dist/molecules/OptionDrawer/OptionDrawer.utils.js +1 -1
  85. package/dist/molecules/OptionalTooltip/OptionalTooltip.js +1 -1
  86. package/dist/molecules/ProfileAvatar/ProfileAvatar.js +1 -1
  87. package/dist/molecules/RichTextDisplay/RichTextDisplay.js +1 -1
  88. package/dist/molecules/RichTextEditor/EditorProvider.js +1 -1
  89. package/dist/molecules/RichTextEditor/MenuBar/MenuButton.js +1 -1
  90. package/dist/molecules/RichTextEditor/MenuBar/TextLinks.js +1 -1
  91. package/dist/molecules/RichTextEditor/RichTextEditor.styles.d.ts +1 -1
  92. package/dist/molecules/RichTextEditor/custom-extensions/AmplifyKit.js +1 -1
  93. package/dist/molecules/RichTextEditor/custom-extensions/ExtendedHeaders.js +1 -1
  94. package/dist/molecules/RichTextEditor/custom-extensions/ExtendedImage.js +1 -1
  95. package/dist/molecules/RichTextEditor/index.d.ts +1 -1
  96. package/dist/molecules/Search/Search.js +1 -1
  97. package/dist/molecules/Select/GroupedSelectMenu.js +1 -1
  98. package/dist/molecules/Select/ListSelectMenu.js +1 -1
  99. package/dist/molecules/Select/Select.js +1 -1
  100. package/dist/molecules/Select/Select.styles.d.ts +6 -6
  101. package/dist/molecules/Select/Select.styles.js +44 -43
  102. package/dist/molecules/Select/Select.types.d.ts +5 -2
  103. package/dist/molecules/Select/Select.utils.js +1 -1
  104. package/dist/molecules/Select/SelectMenuItem.js +1 -1
  105. package/dist/molecules/Select/SelectMenuItem.utils.js +1 -1
  106. package/dist/molecules/SelectionControls/Checkbox/Checkbox.js +1 -1
  107. package/dist/molecules/SelectionControls/Radio/Radio.js +1 -1
  108. package/dist/molecules/SelectionControls/Switch/Switch.js +1 -1
  109. package/dist/molecules/Sieve/Filter.js +1 -1
  110. package/dist/molecules/Sieve/Sieve.js +1 -1
  111. package/dist/molecules/Sieve/Sort.js +1 -1
  112. package/dist/molecules/SingleFilterMenu/SingleFilterMenu.js +1 -1
  113. package/dist/molecules/Stepper/Step/Step.js +1 -1
  114. package/dist/molecules/Stepper/StepLine.js +1 -1
  115. package/dist/molecules/Stepper/Stepper.js +1 -1
  116. package/dist/molecules/Stepper/SubTitle/SubStepIndicator.js +1 -1
  117. package/dist/molecules/Stepper/SubTitle/SubTitle.js +1 -1
  118. package/dist/molecules/Tabs/Tabs.js +1 -1
  119. package/dist/molecules/Waves/Waves.js +1 -1
  120. package/dist/node_modules/@equinor/eds-utils/dist/esm/hooks/useOutsideClick.js +1 -1
  121. package/dist/node_modules/lodash/lodash.js +1 -1
  122. package/dist/node_modules/prosemirror-model/dist/index.js +1 -1
  123. package/dist/node_modules/prosemirror-state/dist/index.js +1 -1
  124. package/dist/node_modules/prosemirror-transform/dist/index.js +1 -1
  125. package/dist/organisms/Faq/Category/Category.js +3 -3
  126. package/dist/organisms/Faq/Category/Question.js +2 -2
  127. package/dist/organisms/Faq/CategorySkeleton.js +1 -1
  128. package/dist/organisms/Faq/Faq.js +1 -1
  129. package/dist/organisms/Faq/Header.js +2 -2
  130. package/dist/organisms/FieldSelector/ChangingField.js +7 -7
  131. package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +2 -2
  132. package/dist/organisms/Filter/Filter.js +1 -1
  133. package/dist/organisms/Filter/Filter.styles.js +4 -4
  134. package/dist/organisms/Filter/QuickFilter.js +1 -1
  135. package/dist/organisms/Filter/SortMenu.js +2 -2
  136. package/dist/organisms/PageTitle/PageTitle.js +1 -1
  137. package/dist/organisms/ReleaseNote/MetaTags.js +1 -1
  138. package/dist/organisms/ReleaseNote/ReleaseNote.js +2 -2
  139. package/dist/organisms/ReleaseNote/ToggleExpanded.js +1 -1
  140. package/dist/organisms/SideBar/CreateItem.styles.js +1 -1
  141. package/dist/organisms/SideBar/MenuItem/BasicMenuItem.js +1 -1
  142. package/dist/organisms/SideBar/MenuItem/CollapsableMenuItem.js +2 -2
  143. package/dist/organisms/SideBar/MenuItem/MenuItem.styles.d.ts +295 -2
  144. package/dist/organisms/SideBar/MenuItem/MenuItem.styles.js +2 -2
  145. package/dist/organisms/SideBar/SideBar.js +1 -1
  146. package/dist/organisms/Status/Action.js +1 -1
  147. package/dist/organisms/Status/Description.js +1 -1
  148. package/dist/organisms/Status/Illustration.constants.js +1 -1
  149. package/dist/organisms/Status/Illustration.js +1 -1
  150. package/dist/organisms/Status/MissingAccesses.js +1 -1
  151. package/dist/organisms/Status/Title.js +1 -1
  152. package/dist/organisms/Status/collections/BadRequest.js +1 -1
  153. package/dist/organisms/Status/collections/GenericError.js +1 -1
  154. package/dist/organisms/Status/collections/MissingAccessToApp.js +1 -1
  155. package/dist/organisms/Status/collections/MissingPermissions.js +1 -1
  156. package/dist/organisms/Status/collections/PageNotFound.js +1 -1
  157. package/dist/organisms/Status/collections/ServerError.js +1 -1
  158. package/dist/organisms/TableOfContents/TableOfContents.js +1 -1
  159. package/dist/organisms/TableOfContents/TableOfContents.styles.d.ts +294 -1
  160. package/dist/organisms/TableOfContents/TableOfContents.styles.js +2 -2
  161. package/dist/organisms/TableOfContents/TableOfContentsItem.js +1 -1
  162. package/dist/organisms/ToggleGroup/ToggleGroup.js +2 -2
  163. package/dist/organisms/ToggleGroup/ToggleGroupOption.js +1 -1
  164. package/dist/organisms/TopBar/Account/Account.js +1 -1
  165. package/dist/organisms/TopBar/Account/AccountAvatar.js +1 -1
  166. package/dist/organisms/TopBar/Account/AccountButton.js +2 -2
  167. package/dist/organisms/TopBar/Account/ActiveUserImpersonationButton.js +2 -2
  168. package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +2 -2
  169. package/dist/organisms/TopBar/Account/ImpersonateButton.js +1 -1
  170. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.js +1 -1
  171. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
  172. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.styles.js +1 -1
  173. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.constants.js +1 -1
  174. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.styles.js +1 -1
  175. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.js +1 -1
  176. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.d.ts +1 -1
  177. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.js +1 -1
  178. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +1 -1
  179. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.js +1 -1
  180. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useCreateImpersonation.js +1 -1
  181. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useDeleteImpersonation.js +1 -1
  182. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useEditImpersonation.js +1 -1
  183. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useMappedRoles.js +1 -1
  184. package/dist/organisms/TopBar/Actions.js +1 -1
  185. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
  186. package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
  187. package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.d.ts +1 -1
  188. package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +1 -1
  189. package/dist/organisms/TopBar/Guidelines/Guidelines.js +1 -1
  190. package/dist/organisms/TopBar/Guidelines/Item.js +1 -1
  191. package/dist/organisms/TopBar/Guidelines/Section.js +1 -1
  192. package/dist/organisms/TopBar/Notifications/FilterOptions.js +1 -1
  193. package/dist/organisms/TopBar/Notifications/NotificationsInner.js +1 -1
  194. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/DefaultNotification.js +1 -1
  195. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +1 -1
  196. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -1
  197. package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.d.ts +1 -1
  198. package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +5 -5
  199. package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +1 -1
  200. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +2 -2
  201. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -1
  202. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/LockedInputTooltip.js +1 -1
  203. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +1 -1
  204. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/ImageFile.js +1 -1
  205. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.js +1 -1
  206. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.styles.d.ts +1 -1
  207. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +1 -1
  208. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +1 -1
  209. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +1 -1
  210. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +1 -1
  211. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.d.ts +1 -1
  212. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +1 -1
  213. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +1 -1
  214. package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
  215. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.js +1 -1
  216. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.utils.js +1 -1
  217. package/dist/organisms/TopBar/Resources/ResourceMenuItem.js +1 -1
  218. package/dist/organisms/TopBar/Resources/Resources.js +1 -1
  219. package/dist/organisms/TopBar/Settings.js +1 -1
  220. package/dist/organisms/TopBar/TopBar.js +1 -1
  221. package/dist/organisms/TopBar/TopBar.styles.d.ts +295 -2
  222. package/dist/organisms/TopBar/TopBar.styles.js +6 -6
  223. package/dist/organisms/TopBar/TopBarMenu.js +1 -1
  224. package/dist/organisms/TopBar/TransferToAppDialog.js +1 -1
  225. package/dist/organisms/TopBar/Tutorials/Tutorials.js +1 -1
  226. package/dist/providers/AuthProvider/AuthProvider.js +1 -1
  227. package/dist/providers/AuthProvider/AuthProviderInner.js +1 -1
  228. package/dist/providers/LoadingProvider.js +1 -1
  229. package/dist/providers/ReleaseNotesProvider.js +1 -1
  230. package/dist/providers/ReleaseNotesProvider.utils.js +1 -1
  231. package/dist/providers/SnackbarProvider/SnackbarProvider.js +1 -1
  232. package/dist/providers/StepperProvider.js +1 -1
  233. package/dist/providers/TableOfContentsProvider.js +1 -1
  234. package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
  235. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +1 -1
  236. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/StepIndicator.js +1 -1
  237. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/TutorialPopover.js +6 -6
  238. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/hooks/useTutorialPopoverPosition.js +1 -1
  239. package/dist/providers/TutorialHighlightingProvider/hooks/useReversedScrollY.js +1 -1
  240. package/package.json +5 -9
  241. package/dist/atoms/hooks/useSearchParameter.d.ts +0 -5
  242. package/dist/atoms/hooks/useSearchParameter.js +0 -1
@@ -1 +1 @@
1
- import{jsx as t,jsxs as o}from"react/jsx-runtime";import{forwardRef as e}from"react";import{Icon as i}from"@equinor/eds-core-react";import{MenuButtonStyle as r}from"./MenuBar.styles.js";import{OptionalTooltip as l}from"../../OptionalTooltip/OptionalTooltip.js";const n=e((({icon:e,onClick:n,active:a=!1,disabled:c=!1,tooltip:m,children:p,...d},s)=>t(l,{title:m,placement:"bottom",children:o(r,{ref:s,$active:a,onClick:n,disabled:c,type:"button",...d,children:[t(i,{data:e}),p]})})));n.displayName="MenuButton";export{n as MenuButton};
1
+ import{jsx as t,jsxs as o}from"react/jsx-runtime";import{forwardRef as e}from"react";import{Icon as i}from"@equinor/eds-core-react";import{MenuButtonStyle as r}from"./MenuBar.styles.js";import{OptionalTooltip as l}from"../../OptionalTooltip/OptionalTooltip.js";const n=e(({icon:e,onClick:n,active:a=!1,disabled:c=!1,tooltip:m,children:p,...d},s)=>t(l,{title:m,placement:"bottom",children:o(r,{ref:s,$active:a,onClick:n,disabled:c,type:"button",...d,children:[t(i,{data:e}),p]})}));n.displayName="MenuButton";export{n as MenuButton};
@@ -3,4 +3,4 @@ import{jsxs as e,Fragment as t,jsx as n}from"react/jsx-runtime";import{useState
3
3
  gap: ${k.comfortable.medium};
4
4
  padding: ${k.comfortable.small};
5
5
  width: 15rem;
6
- `,v=({editor:a,features:h})=>{const[k,v]=r(!1),x=i(null),b=i(""),[j,y]=r(!1),C=()=>{v(!1),b.current="",a.chain().focus().unsetHighlight().run()},q=()=>{f(b.current)?(b.current.includes("http")||(b.current=`https://${b.current}`),a.chain().focus().extendMarkRange("link").setLink({href:b.current}).run(),C(),j&&y(!1)):y(!0)};if(!h||h.includes(d.LINKS))return e(t,{children:[e(m.Section,{children:[n(m.Button,{active:k,ref:x,icon:l,onClick:()=>{v((e=>!e)),a.chain().focus().setHighlight({color:"#accef7"}).run()},disabled:a.state.selection.empty,"data-testid":"link-button"}),n(m.Button,{icon:u,onClick:()=>a?.chain().focus().unsetLink().run(),disabled:!a.isActive("link"),"data-testid":"unsetlink-button"})]}),k&&n(o,{open:!0,anchorEl:x.current,onClose:C,children:e(g,{children:[n(p,{inputRef:e=>{e?.focus()},id:"link",placeholder:"Insert link",autoComplete:"off",inputIcon:n(c,{data:l}),onChange:e=>{b.current=e.target.value},onKeyDown:e=>{"Enter"===e.key&&q()},variant:j?"error":void 0}),n(s,{variant:"outlined",onClick:q,children:"Save"})]})})]})};export{v as TextLinks};
6
+ `,v=({editor:a,features:h})=>{const[k,v]=r(!1),x=i(null),b=i(""),[j,y]=r(!1),C=()=>{v(!1),b.current="",a.chain().focus().unsetHighlight().run()},q=()=>{f(b.current)?(b.current.includes("http")||(b.current=`https://${b.current}`),a.chain().focus().extendMarkRange("link").setLink({href:b.current}).run(),C(),j&&y(!1)):y(!0)};if(!h||h.includes(d.LINKS))return e(t,{children:[e(m.Section,{children:[n(m.Button,{active:k,ref:x,icon:l,onClick:()=>{v(e=>!e),a.chain().focus().setHighlight({color:"#accef7"}).run()},disabled:a.state.selection.empty,"data-testid":"link-button"}),n(m.Button,{icon:u,onClick:()=>a?.chain().focus().unsetLink().run(),disabled:!a.isActive("link"),"data-testid":"unsetlink-button"})]}),k&&n(o,{open:!0,anchorEl:x.current,onClose:C,children:e(g,{children:[n(p,{inputRef:e=>{e?.focus()},id:"link",placeholder:"Insert link",autoComplete:"off",inputIcon:n(c,{data:l}),onChange:e=>{b.current=e.target.value},onKeyDown:e=>{"Enter"===e.key&&q()},variant:j?"error":void 0}),n(s,{variant:"outlined",onClick:q,children:"Save"})]})})]})};export{v as TextLinks};
@@ -4,7 +4,7 @@ export interface RichTextContentProps {
4
4
  $maxHeight?: string;
5
5
  className?: string;
6
6
  }
7
- export declare const EditorContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("@tiptap/react").EditorContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, RichTextContentProps>> & string & Omit<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("@tiptap/react").EditorContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>, keyof import("react").Component<any, {}, any>>;
7
+ export declare const EditorContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("@tiptap/react").EditorContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, RichTextContentProps>> & string & Omit<import("react").NamedExoticComponent<Omit<import("@tiptap/react").EditorContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
8
8
  export interface EditorStylingProps {
9
9
  $lightBackground?: boolean;
10
10
  $highlighted?: boolean;
@@ -1 +1 @@
1
- import{Extension as e}from"@tiptap/core";import{Bold as t}from"@tiptap/extension-bold";import{BulletList as o}from"@tiptap/extension-bullet-list";import{CodeBlockLowlight as n}from"@tiptap/extension-code-block-lowlight";import{Color as i}from"@tiptap/extension-color";import{Document as r}from"@tiptap/extension-document";import{Dropcursor as a}from"@tiptap/extension-dropcursor";import p from"@tiptap/extension-gapcursor";import{HardBreak as m}from"@tiptap/extension-hard-break";import{Highlight as s}from"@tiptap/extension-highlight";import{History as l}from"@tiptap/extension-history";import{Italic as x}from"@tiptap/extension-italic";import{Link as d}from"@tiptap/extension-link";import{ListItem as f}from"@tiptap/extension-list-item";import{OrderedList as h}from"@tiptap/extension-ordered-list";import{Paragraph as g}from"@tiptap/extension-paragraph";import{Placeholder as c}from"@tiptap/extension-placeholder";import{Table as b}from"@tiptap/extension-table";import{TableCell as u}from"@tiptap/extension-table-cell";import{TableHeader as y}from"@tiptap/extension-table-header";import{TableRow as w}from"@tiptap/extension-table-row";import{Text as k}from"@tiptap/extension-text";import{TextAlign as A}from"@tiptap/extension-text-align";import{TextStyle as B}from"@tiptap/extension-text-style";import{Typography as L}from"@tiptap/extension-typography";import j from"./ExtendedHeaders.js";import C from"./ExtendedImage.js";import{mergeDefaults as E}from"./mergeDefaults.js";import{createLowlight as H,common as I}from"lowlight";const z=H(I),D=[{name:"bold",extension:t},{name:"bulletList",extension:o},{name:"document",extension:r},{name:"hardBreak",extension:m},{name:"history",extension:l},{name:"italic",extension:x},{name:"listItem",extension:f},{name:"orderedList",extension:h},{name:"paragraph",extension:g},{name:"text",extension:k},{name:"codeBlockLowlight",extension:n},{name:"color",extension:i},{name:"dropCursor",extension:a},{name:"gapCursor",extension:p},{name:"highlight",extension:s},{name:"link",extension:d},{name:"placeholder",extension:c},{name:"table",extension:b},{name:"tableCell",extension:u},{name:"tableHeader",extension:y},{name:"tableRow",extension:w},{name:"typography",extension:L},{name:"textStyle",extension:B},{name:"textAlign",extension:A},{name:"image",extension:C},{name:"heading",extension:j}],K=e.create({name:"AmplifyKit",addExtensions(){const e=E({options:this.options,defaults:{codeBlockLowlight:{lowlight:z},highlight:{multicolor:!0},table:{resizable:!0},image:{allowBase64:!0},placeholder:{placeholder:"Add text and content here..."},textAlign:{types:["heading","paragraph","img"]}}});return D.filter((t=>!1!==e[t.name])).map((t=>{const o=e[t.name];return o?t.extension.configure(o):t.extension}))}});export{K as AmplifyKit,E as mergeDefaults};
1
+ import{Extension as e}from"@tiptap/core";import{Bold as t}from"@tiptap/extension-bold";import{BulletList as o}from"@tiptap/extension-bullet-list";import{CodeBlockLowlight as n}from"@tiptap/extension-code-block-lowlight";import{Color as i}from"@tiptap/extension-color";import{Document as r}from"@tiptap/extension-document";import{Dropcursor as a}from"@tiptap/extension-dropcursor";import p from"@tiptap/extension-gapcursor";import{HardBreak as m}from"@tiptap/extension-hard-break";import{Highlight as s}from"@tiptap/extension-highlight";import{History as l}from"@tiptap/extension-history";import{Italic as x}from"@tiptap/extension-italic";import{Link as d}from"@tiptap/extension-link";import{ListItem as f}from"@tiptap/extension-list-item";import{OrderedList as h}from"@tiptap/extension-ordered-list";import{Paragraph as g}from"@tiptap/extension-paragraph";import{Placeholder as c}from"@tiptap/extension-placeholder";import{Table as b}from"@tiptap/extension-table";import{TableCell as u}from"@tiptap/extension-table-cell";import{TableHeader as y}from"@tiptap/extension-table-header";import{TableRow as w}from"@tiptap/extension-table-row";import{Text as k}from"@tiptap/extension-text";import{TextAlign as A}from"@tiptap/extension-text-align";import{TextStyle as B}from"@tiptap/extension-text-style";import{Typography as L}from"@tiptap/extension-typography";import j from"./ExtendedHeaders.js";import C from"./ExtendedImage.js";import{mergeDefaults as E}from"./mergeDefaults.js";import{createLowlight as H,common as I}from"lowlight";const z=H(I),D=[{name:"bold",extension:t},{name:"bulletList",extension:o},{name:"document",extension:r},{name:"hardBreak",extension:m},{name:"history",extension:l},{name:"italic",extension:x},{name:"listItem",extension:f},{name:"orderedList",extension:h},{name:"paragraph",extension:g},{name:"text",extension:k},{name:"codeBlockLowlight",extension:n},{name:"color",extension:i},{name:"dropCursor",extension:a},{name:"gapCursor",extension:p},{name:"highlight",extension:s},{name:"link",extension:d},{name:"placeholder",extension:c},{name:"table",extension:b},{name:"tableCell",extension:u},{name:"tableHeader",extension:y},{name:"tableRow",extension:w},{name:"typography",extension:L},{name:"textStyle",extension:B},{name:"textAlign",extension:A},{name:"image",extension:C},{name:"heading",extension:j}],K=e.create({name:"AmplifyKit",addExtensions(){const e=E({options:this.options,defaults:{codeBlockLowlight:{lowlight:z},highlight:{multicolor:!0},table:{resizable:!0},image:{allowBase64:!0},placeholder:{placeholder:"Add text and content here..."},textAlign:{types:["heading","paragraph","img"]}}});return D.filter(t=>!1!==e[t.name]).map(t=>{const o=e[t.name];return o?t.extension.configure(o):t.extension})}});export{K as AmplifyKit,E as mergeDefaults};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import e from"@tiptap/extension-heading";import{ReactNodeViewRenderer as o,NodeViewWrapper as r,NodeViewContent as i}from"@tiptap/react";import"../../AnimatedCheckmark/AnimatedCheckmark.styles.js";import"../../ApplicationIcon/ApplicationIcon.js";import"../../Badge/Badge.styles.js";import{Typography as s}from"@equinor/eds-core-react";import"../../Banner/Banner.styles.js";import"@equinor/eds-icons";import"../../Button/Button.js";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/style/colors.js";import"../../../atoms/utils/auth_environment.js";import"html2canvas";import"proj4";import"../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"./AmplifyKit.js";import"../RichTextEditor.styles.js";import"../MenuBar/MenuBar.js";import"@tanstack/react-query";import"../../Tabs/Tabs.js";import"../MenuBar/MenuBar.styles.js";import"../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/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"../../Waves/Waves.styles.js";import"framer-motion";const n=e=>{const o=e.node.attrs.level;let n="h1";return 2===o&&(n="h2"),3===o&&(n="h3"),4===o&&(n="h4"),5===o&&(n="h5"),6===o&&(n="h6"),t(r,{children:t(s,{variant:n,children:t(i,{className:"content is-editable"})})})};var p=e.extend({content:"inline*",addNodeView:()=>o(n)});export{p as default};
1
+ import{jsx as t}from"react/jsx-runtime";import e from"@tiptap/extension-heading";import{ReactNodeViewRenderer as o,NodeViewWrapper as r,NodeViewContent as i}from"@tiptap/react";import"../../AnimatedCheckmark/AnimatedCheckmark.styles.js";import"../../ApplicationIcon/ApplicationIcon.js";import"../../Badge/Badge.styles.js";import{Typography as s}from"@equinor/eds-core-react";import"../../Banner/Banner.styles.js";import"@equinor/eds-icons";import"../../Button/Button.js";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/style/colors.js";import"../../../atoms/utils/auth_environment.js";import"html2canvas";import"proj4";import"../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"./AmplifyKit.js";import"../RichTextEditor.styles.js";import"../MenuBar/MenuBar.js";import"@tanstack/react-query";import"../../Tabs/Tabs.js";import"../MenuBar/MenuBar.styles.js";import"../MenuBar/MenuButton.js";import"../../Search/Search.js";import"@tanstack/react-router";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/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"../../Waves/Waves.styles.js";import"framer-motion";const n=e=>{const o=e.node.attrs.level;let n="h1";return 2===o&&(n="h2"),3===o&&(n="h3"),4===o&&(n="h4"),5===o&&(n="h5"),6===o&&(n="h6"),t(r,{children:t(s,{variant:n,children:t(i,{className:"content is-editable"})})})};var p=e.extend({content:"inline*",addNodeView:()=>o(n)});export{p as default};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import e from"@tiptap/extension-image";import{Plugin as r,PluginKey as o}from"../../../node_modules/prosemirror-state/dist/index.js";import{ReactNodeViewRenderer as a,NodeViewWrapper as s}from"@tiptap/react";import{useRichTextImage as n}from"../../../atoms/hooks/useRichTextImage.js";const i=e=>{const{src:r,alt:o}=e.node.attrs,a=e.extension.options.onImageRead,{data:i}=n(r,a);return t(s,{children:t("img",{src:i,alt:o})})};var c=e.extend({addOptions(){return{...this.parent?.(),onImageUpload:void 0,onImageRead:void 0}},addNodeView:()=>a(i),addProseMirrorPlugins(){const{onImageUpload:t}=this.options;return[new r({key:new o("extendedImageHandler"),props:{handleDOMEvents:{drop(e,r){const o=r.dataTransfer?.files?.length;if(!o||void 0===t)return;const a=Array.from(r.dataTransfer.files).filter((t=>/image/i.test(t.type)));if(0===a.length)return;r.preventDefault();const{schema:s}=e.state,n=e.posAtCoords({left:r.clientX,top:r.clientY});if(n)for(const r of a)t(r).then((t=>{if(!t)return;const r=s.nodes.image.create({src:t.src,alt:t.alt}),o=e.state.tr.insert(n.pos,r);e.dispatch(o)})).catch((t=>{console.error(t)}))},paste(e,r){const o=r.clipboardData?.files?.length;if(!o||void 0===t)return;const a=Array.from(r.clipboardData.files).filter((t=>/image/i.test(t.type)));if(0===a.length)return;r.preventDefault();const{schema:s}=e.state;for(const r of a)t(r).then((t=>{if(!t)return;const r=s.nodes.image.create({src:t.src,alt:t.src}),o=e.state.tr.replaceSelectionWith(r);e.dispatch(o)})).catch((t=>{console.error(t)}))}}}})]}});export{c as default};
1
+ import{jsx as t}from"react/jsx-runtime";import e from"@tiptap/extension-image";import{Plugin as r,PluginKey as o}from"../../../node_modules/prosemirror-state/dist/index.js";import{ReactNodeViewRenderer as a,NodeViewWrapper as s}from"@tiptap/react";import{useRichTextImage as n}from"../../../atoms/hooks/useRichTextImage.js";const i=e=>{const{src:r,alt:o}=e.node.attrs,a=e.extension.options.onImageRead,{data:i}=n(r,a);return t(s,{children:t("img",{src:i,alt:o})})};var c=e.extend({addOptions(){return{...this.parent?.(),onImageUpload:void 0,onImageRead:void 0}},addNodeView:()=>a(i),addProseMirrorPlugins(){const{onImageUpload:t}=this.options;return[new r({key:new o("extendedImageHandler"),props:{handleDOMEvents:{drop(e,r){const o=r.dataTransfer?.files?.length;if(!o||void 0===t)return;const a=Array.from(r.dataTransfer.files).filter(t=>/image/i.test(t.type));if(0===a.length)return;r.preventDefault();const{schema:s}=e.state,n=e.posAtCoords({left:r.clientX,top:r.clientY});if(n)for(const r of a)t(r).then(t=>{if(!t)return;const r=s.nodes.image.create({src:t.src,alt:t.alt}),o=e.state.tr.insert(n.pos,r);e.dispatch(o)}).catch(t=>{console.error(t)})},paste(e,r){const o=r.clipboardData?.files?.length;if(!o||void 0===t)return;const a=Array.from(r.clipboardData.files).filter(t=>/image/i.test(t.type));if(0===a.length)return;r.preventDefault();const{schema:s}=e.state;for(const r of a)t(r).then(t=>{if(!t)return;const r=s.nodes.image.create({src:t.src,alt:t.src}),o=e.state.tr.replaceSelectionWith(r);e.dispatch(o)}).catch(t=>{console.error(t)})}}}})]}});export{c as default};
@@ -2,7 +2,7 @@ export { RichTextEditor } from './RichTextEditor';
2
2
  export declare const RichText: {
3
3
  Styling: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("./RichTextEditor.styles").EditorStylingProps>> & string;
4
4
  Provider: import("react").FC<import("./EditorProvider").EditorProviderProps>;
5
- Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("@tiptap/react").EditorContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, import("./RichTextEditor.styles").RichTextContentProps>> & string & Omit<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("@tiptap/react").EditorContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>, keyof import("react").Component<any, {}, any>>;
5
+ Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("@tiptap/react").EditorContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, import("./RichTextEditor.styles").RichTextContentProps>> & string & Omit<import("react").NamedExoticComponent<Omit<import("@tiptap/react").EditorContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
6
6
  Display: import("react").FC<import("../RichTextDisplay/RichTextDisplay").RichTextDisplayProps & import("react").HTMLAttributes<HTMLDivElement>>;
7
7
  Bar: import("react").FC<import("./MenuBar/MenuBar").MenuBarProps>;
8
8
  };
@@ -17,4 +17,4 @@ import{jsx as t}from"react/jsx-runtime";import{forwardRef as o}from"react";impor
17
17
  box-shadow: inset 0 -2px 0 0 ${a.interactive.primary__resting.rgba};
18
18
  }
19
19
  }
20
- `,s=o(((o,r)=>t(n,{...o,ref:r,autoComplete:"off"})));s.displayName="HeaderDrawer";export{s as Search};
20
+ `,s=o((o,r)=>t(n,{...o,ref:r,autoComplete:"off"}));s.displayName="HeaderDrawer";export{s as Search};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{useMemo as t}from"react";import{Menu as i}from"@equinor/eds-core-react";import{NoItemsFoundText as m}from"./Select.styles.js";import{getCumulativeArrayFromNumberedArray as n}from"./Select.utils.js";import{SelectMenuItem as o}from"./SelectMenuItem.js";const l=l=>{const{onItemSelect:r,onItemKeyDown:s,itemRefs:c,groups:u,search:a,onSearchFilter:p,CustomMenuItemComponent:f}=l,d=t((()=>{if(""===a)return u;const e=new RegExp(a.trim(),"i");return u.map((t=>({title:t.title,items:t.items.filter((t=>void 0!==p?p(a,t):t.label.match(e)))}))).filter((e=>e.items.length>0))}),[u,p,a]),h=t((()=>{const e=d.map((e=>e.items.length));return n(e)}),[d]);return 0===d.length?e(m,{children:"No items found"}):"values"in l?d.map(((t,m)=>e(i.Section,{index:m,title:t.title,children:t.items.map(((i,n)=>e(o,{index:n+h[m],childOffset:0,item:i,itemRefs:c,onItemKeyDown:s,onItemSelect:r,values:l.values,CustomMenuItemComponent:f},`${t.title}-${m}-item-${i.value}`)))},`${t.title}-${m}`))):d.map(((t,m)=>e(i.Section,{index:m,title:t.title,children:t.items.map(((i,n)=>e(o,{index:n+h[m],childOffset:0,item:i,itemRefs:c,onItemKeyDown:s,onItemSelect:r,value:l.value,CustomMenuItemComponent:f},`${t.title}-${m}-item-${i.value}`)))},`${t.title}-${m}`)))};export{l as GroupedSelectMenu};
1
+ import{jsx as e}from"react/jsx-runtime";import{useMemo as t}from"react";import{Menu as i}from"@equinor/eds-core-react";import{NoItemsFoundText as m}from"./Select.styles.js";import{getCumulativeArrayFromNumberedArray as n}from"./Select.utils.js";import{SelectMenuItem as o}from"./SelectMenuItem.js";const l=l=>{const{onItemSelect:r,onItemKeyDown:s,itemRefs:c,groups:u,search:a,onSearchFilter:p,CustomMenuItemComponent:f}=l,d=t(()=>{if(""===a)return u;const e=new RegExp(a.trim(),"i");return u.map(t=>({title:t.title,items:t.items.filter(t=>void 0!==p?p(a,t):t.label.match(e))})).filter(e=>e.items.length>0)},[u,p,a]),h=t(()=>{const e=d.map(e=>e.items.length);return n(e)},[d]);return 0===d.length?e(m,{children:"No items found"}):"values"in l?d.map((t,m)=>e(i.Section,{index:m,title:t.title,children:t.items.map((i,n)=>e(o,{index:n+h[m],childOffset:0,item:i,itemRefs:c,onItemKeyDown:s,onItemSelect:r,values:l.values,CustomMenuItemComponent:f},`${t.title}-${m}-item-${i.value}`))},`${t.title}-${m}`)):d.map((t,m)=>e(i.Section,{index:m,title:t.title,children:t.items.map((i,n)=>e(o,{index:n+h[m],childOffset:0,item:i,itemRefs:c,onItemKeyDown:s,onItemSelect:r,value:l.value,CustomMenuItemComponent:f},`${t.title}-${m}-item-${i.value}`))},`${t.title}-${m}`))};export{l as GroupedSelectMenu};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import{useMemo as i}from"react";import{Menu as n}from"@equinor/eds-core-react";import{AddTagItem as o}from"./AddTagItem.js";import{capitalize as m}from"../../atoms/utils/string.js";import{NoItemsFoundText as d,NoTagFoundText as l}from"./Select.styles.js";import{flattenOptions as s,getChildOffset as a}from"./Select.utils.js";import{SelectMenuItem as c}from"./SelectMenuItem.js";const u=u=>{const{search:f,items:h,itemRefs:p,onItemKeyDown:g,onSearchFilter:I}=u,x=i((()=>{if(""===f)return h;const e=new RegExp(f.trim(),"i");return s(h).filter((t=>void 0!==I?I(f,t):t.label.match(e)))}),[h,I,f]);if(0===x.length&&(!u.onAddItem||""===f))return e(d,{children:"No items found"});const S=x.some((e=>e.children&&e.children.length>0)),A=x.map(((e,t)=>({childOffset:a(x,t),index:t,item:e,itemValue:e.value,parentHasNestedItems:S,...u})));if("onAddItem"in u&&u.onAddItem&&""!==f&&(1===x.length&&x.at(0)?.label.toLowerCase()!==f.trim().toLowerCase()||1!==x.length)){const i=u.itemSingularWord?u.itemSingularWord:"tag";return t(r,{children:[e(n.Section,{title:`Add ${i}`,index:0,children:e(o,{index:0,itemRefs:p,onItemKeyDown:g,onAddItem:u.onAddItem,addItemSingularWord:i,children:f})}),e(n.Section,{title:`${m(i)} search results`,index:1,children:A.length>0?A.map(((t,r)=>e(c,{...t,index:r+1},`menu-item-${r}-${t.item.value}`))):t(l,{children:["No ",i,' for "',f,'" found.']})})]})}return A.map(((t,r)=>e(c,{...t,index:r},`menu-item-${r}-${t.item.value}`)))};export{u as ListSelectMenu};
1
+ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import{useMemo as i}from"react";import{Menu as n}from"@equinor/eds-core-react";import{AddTagItem as o}from"./AddTagItem.js";import{capitalize as m}from"../../atoms/utils/string.js";import{NoItemsFoundText as d,NoTagFoundText as l}from"./Select.styles.js";import{flattenOptions as s,getChildOffset as a}from"./Select.utils.js";import{SelectMenuItem as c}from"./SelectMenuItem.js";const u=u=>{const{search:f,items:h,itemRefs:p,onItemKeyDown:g,onSearchFilter:I}=u,x=i(()=>{if(""===f)return h;const e=new RegExp(f.trim(),"i");return s(h).filter(t=>void 0!==I?I(f,t):t.label.match(e))},[h,I,f]);if(0===x.length&&(!u.onAddItem||""===f))return e(d,{children:"No items found"});const S=x.some(e=>e.children&&e.children.length>0),A=x.map((e,t)=>({childOffset:a(x,t),index:t,item:e,itemValue:e.value,parentHasNestedItems:S,...u}));if("onAddItem"in u&&u.onAddItem&&""!==f&&(1===x.length&&x.at(0)?.label.toLowerCase()!==f.trim().toLowerCase()||1!==x.length)){const i=u.itemSingularWord?u.itemSingularWord:"tag";return t(r,{children:[e(n.Section,{title:`Add ${i}`,index:0,children:e(o,{index:0,itemRefs:p,onItemKeyDown:g,onAddItem:u.onAddItem,addItemSingularWord:i,children:f})}),e(n.Section,{title:`${m(i)} search results`,index:1,children:A.length>0?A.map((t,r)=>e(c,{...t,index:r+1},`menu-item-${r}-${t.item.value}`)):t(l,{children:["No ",i,' for "',f,'" found.']})})]})}return A.map((t,r)=>e(c,{...t,index:r},`menu-item-${r}-${t.item.value}`))};export{u as ListSelectMenu};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRef as o,useMemo as n}from"react";import{Label as l,CircularProgress as r,Icon as a}from"@equinor/eds-core-react";import{arrow_drop_up as i,arrow_drop_down as s,clear as c}from"@equinor/eds-icons";import{tokens as m}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{useSelect as d}from"../../atoms/hooks/useSelect.js";import{getVariantIcon as u}from"../../atoms/utils/forms.js";import{GroupedSelectMenu as h}from"./GroupedSelectMenu.js";import{ListSelectMenu as p}from"./ListSelectMenu.js";import{ValueText as g,ComboBoxChip as f,Wrapper as b,Container as v,Section as x,PlaceholderText as C,ClearButton as S,HelperWrapper as y,StyledMenu as I}from"./Select.styles.js";import{useOutsideClick as w}from"../../node_modules/@equinor/eds-utils/dist/esm/hooks/useOutsideClick.js";const{colors:O}=m,k=m=>{const{clearable:k=!0,loading:A=!1,disabled:T=!1,lightBackground:$=!1,underlineHighlight:j=!1,sortValues:D=!0,placeholder:R="Select...",label:M,helperText:V,showHelperIcon:B=!0,meta:F,id:K=`amplify-combobox-${M}`,variant:_,inDialog:q=!1,onSearchFilter:z,"data-testid":H,CustomMenuItemComponent:W}=m,{handleOnAddItem:E,handleOnClear:G,handleOnItemKeyDown:L,handleOnItemSelect:N,handleOnSearchChange:J,handleOnSearchKeyDown:P,handleToggleOpen:Q,itemRefs:U,search:X,selectedValues:Y,handleOnClose:Z,handleOnOpen:ee,handleOnRemoveItem:te,open:oe,searchRef:ne,tryingToRemoveItem:le}=d({...m,clearable:k,loading:A,disabled:T,lightBackground:$,underlineHighlight:j,sortValues:D,placeholder:R}),re=o(null),ae=o(null),ie=n((()=>!!M||!!F),[M,F]),se=n((()=>!!V),[V]),ce=n((()=>{if(B)return u(_)}),[B,_]);w(ae.current,(e=>{q&&oe&&e.target&&re.current&&ae.current&&!re.current.contains(e.target)&&!ae.current?.contains(e.target)&&Z()}));const me=n((()=>{if("value"in m&&m.value)return e(g,{children:m.value.label});if("showSelectedAsText"in m&&m.showSelectedAsText){const t=m.items?m.items.length:m.groups.flatMap((e=>e.items)).length,o="function"==typeof m.showSelectedAsText?m.showSelectedAsText({selectedAmount:Y.length,totalAmount:t}):`${Y.length}/${t} Selected`;return e(g,{children:o})}return Y.map((t=>"customValueComponent"in m&&m.customValueComponent?e(m.customValueComponent,{item:t,onDelete:()=>te(t),tryingToRemove:void 0!==le&&le.value===t.value},t.value):e(f,{"data-testid":"amplify-combobox-chip",className:"amplify-combo-box-chip",onDelete:()=>te(t),$tryingToRemove:le?.value===t.value,$lightBackground:$,children:t.label},t.value)))}),[Y,le,$,m,te]);return t("div",{children:[ie&&e(l,{label:M,meta:F,htmlFor:K}),t(b,{children:[t(v,{"data-testid":H||"combobox-container",ref:re,onClick:ee,"aria-expanded":oe,$variant:_,$lightBackground:$,children:[t(x,{children:[""===X&&0===Y.length&&e(C,{children:R}),(""===X&&"value"in m||"values"in m&&Y.length>0&&(!m.showSelectedAsText||m.showSelectedAsText&&""===X))&&me,e("input",{id:K,disabled:T||A,ref:ne,type:"search",role:"combobox",value:X,autoComplete:"off",onChange:J,onKeyDownCapture:P})]}),A?e(r,{size:16}):e(a,{onClick:Q,data:oe?i:s,color:O.interactive.primary__resting.rgba}),k&&Y.length>0&&!A&&e(S,{id:"clear",variant:"ghost_icon",onClick:G,"data-testid":"clearBtn",children:e(a,{data:c,size:18})})]}),se&&t(y,{$variant:_,children:[ce&&e(a,{data:ce,size:16}),e(l,{label:V,htmlFor:K})]})]}),oe&&e(I,{ref:ae,open:!0,id:"combobox-menu",anchorEl:re.current,onClose:Z,placement:"bottom",style:{width:`${re.current?.clientWidth}px`,maxWidth:`${re.current?.clientWidth}px`},children:"groups"in m&&m.groups?e(h,{...m,search:X,itemRefs:U,onItemSelect:N,onItemKeyDown:L,onSearchFilter:z,CustomMenuItemComponent:W}):e(p,{...m,search:X,itemRefs:U,onAddItem:m.onAddItem?E:void 0,onItemSelect:N,onItemKeyDown:L,onSearchFilter:z,CustomMenuItemComponent:W})},`select-menu-${X}`)]})};export{k as Select};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRef as o,useMemo as n}from"react";import{Label as l,CircularProgress as r,Icon as a}from"@equinor/eds-core-react";import{arrow_drop_up as i,arrow_drop_down as s,clear as c}from"@equinor/eds-icons";import{tokens as m}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{useSelect as d}from"../../atoms/hooks/useSelect.js";import{getVariantIcon as u}from"../../atoms/utils/forms.js";import{GroupedSelectMenu as h}from"./GroupedSelectMenu.js";import{ListSelectMenu as p}from"./ListSelectMenu.js";import{ValueText as g,ComboBoxChip as f,Wrapper as b,Container as v,Section as C,PlaceholderText as x,ClearButton as S,HelperWrapper as y,StyledMenu as I}from"./Select.styles.js";import{useOutsideClick as w}from"../../node_modules/@equinor/eds-utils/dist/esm/hooks/useOutsideClick.js";const{colors:O}=m,k=m=>{const{clearable:k=!0,loading:A=!1,disabled:T=!1,lightBackground:$=!1,underlineHighlight:V=!1,sortValues:j=!0,placeholder:D="Select...",label:R,helperText:M,showHelperIcon:B=!0,meta:F,id:K=`amplify-combobox-${R}`,variant:_,inDialog:q=!1,onSearchFilter:z,"data-testid":H,CustomMenuItemComponent:W}=m,{handleOnAddItem:E,handleOnClear:G,handleOnItemKeyDown:L,handleOnItemSelect:N,handleOnSearchChange:J,handleOnSearchKeyDown:P,handleToggleOpen:Q,itemRefs:U,search:X,selectedValues:Y,handleOnClose:Z,handleOnOpen:ee,handleOnRemoveItem:te,open:oe,searchRef:ne,tryingToRemoveItem:le}=d({...m,clearable:k,loading:A,disabled:T,lightBackground:$,underlineHighlight:V,sortValues:j,placeholder:D}),re=o(null),ae=o(null),ie=n(()=>!!R||!!F,[R,F]),se=n(()=>!!M,[M]),ce=n(()=>{if(B)return u(_)},[B,_]);w(ae.current,e=>{q&&oe&&e.target&&re.current&&ae.current&&!re.current.contains(e.target)&&!ae.current?.contains(e.target)&&Z()});const me=n(()=>{if("value"in m&&m.value&&"customValueComponent"in m&&m.customValueComponent)return e(m.customValueComponent,{item:m.value});if("value"in m&&m.value)return e(g,{children:m.value.label});if("showSelectedAsText"in m&&m.showSelectedAsText){const t=m.items?m.items.length:m.groups.flatMap(e=>e.items).length,o="function"==typeof m.showSelectedAsText?m.showSelectedAsText({selectedAmount:Y.length,totalAmount:t}):`${Y.length}/${t} Selected`;return e(g,{children:o})}return Y.map(t=>"customValueComponent"in m&&m.customValueComponent?e(m.customValueComponent,{item:t,onDelete:()=>te(t),tryingToRemove:void 0!==le&&le.value===t.value},t.value):e(f,{"data-testid":"amplify-combobox-chip",className:"amplify-combo-box-chip",onDelete:()=>te(t),$tryingToRemove:le?.value===t.value,$lightBackground:$,children:t.label},t.value))},[Y,le,$,m,te]);return t("div",{children:[ie&&e(l,{label:R,meta:F,htmlFor:K,disabled:T}),t(b,{children:[t(v,{"data-testid":H||"combobox-container",ref:re,onClick:ee,"aria-expanded":oe,$variant:_,$lightBackground:$,children:[t(C,{children:[""===X&&0===Y.length&&e(x,{children:D}),(""===X&&"value"in m||"values"in m&&Y.length>0&&(!m.showSelectedAsText||m.showSelectedAsText&&""===X))&&me,e("input",{id:K,disabled:T||A,ref:ne,type:"search",role:"combobox",value:X,autoComplete:"off",onChange:J,onKeyDownCapture:P})]}),A?e(r,{size:16}):e(a,{onClick:Q,data:oe?i:s,color:O.interactive.primary__resting.rgba}),k&&Y.length>0&&!A&&e(S,{id:"clear",variant:"ghost_icon",onClick:G,"data-testid":"clearBtn",children:e(a,{data:c,size:18})})]}),se&&t(y,{$variant:T?"disabled":_,children:[ce&&e(a,{data:ce,size:16}),e(l,{label:M,htmlFor:K})]})]}),oe&&e(I,{ref:ae,open:!0,id:"combobox-menu",anchorEl:re.current,onClose:Z,placement:"bottom",style:{width:`${re.current?.clientWidth}px`,maxWidth:`${re.current?.clientWidth}px`},children:"groups"in m&&m.groups?e(h,{...m,search:X,itemRefs:U,onItemSelect:N,onItemKeyDown:L,onSearchFilter:z,CustomMenuItemComponent:W}):e(p,{...m,search:X,itemRefs:U,onAddItem:m.onAddItem?E:void 0,onItemSelect:N,onItemKeyDown:L,onSearchFilter:z,CustomMenuItemComponent:W})},`select-menu-${X}`)]})};export{k as Select};
@@ -2,7 +2,7 @@ import { Button } from '@equinor/eds-core-react';
2
2
  import { Variants } from '../../atoms/types/variants';
3
3
  export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
4
  interface HelperWrapperProps {
5
- $variant?: Variants;
5
+ $variant?: Variants | 'disabled';
6
6
  }
7
7
  export declare const HelperWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, HelperWrapperProps>> & string;
8
8
  interface ContainerProps {
@@ -55,7 +55,7 @@ declare const StyledMenuItem: import("styled-components/dist/types").IStyledComp
55
55
  declare const MenuItemSpacer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, never>> & string;
56
56
  declare const PlaceholderText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<({
57
57
  as?: import("react").ElementType | undefined;
58
- } & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "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>>;
58
+ } & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "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>>;
59
59
  declare const ValueText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<{
60
60
  as?: import("react").ElementType | undefined;
61
61
  } & {
@@ -67,7 +67,7 @@ declare const ValueText: import("styled-components/dist/types").IStyledComponent
67
67
  color?: import("@equinor/eds-core-react/dist/types/components/Typography/Typography.tokens").ColorVariants | string;
68
68
  token?: Partial<import("@equinor/eds-tokens").Typography>;
69
69
  lines?: number;
70
- } & import("react").HTMLAttributes<HTMLElement> & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "token" | "lines">, never> | import("styled-components").FastOmit<{
70
+ } & import("react").HTMLAttributes<HTMLElement> & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "token" | "lines">, never> | import("styled-components").FastOmit<{
71
71
  as?: import("react").ElementType | undefined;
72
72
  } & {
73
73
  variant?: import("@equinor/eds-core-react/dist/types/components/Typography/Typography.tokens").TypographyVariants;
@@ -78,13 +78,13 @@ declare const ValueText: import("styled-components/dist/types").IStyledComponent
78
78
  color?: import("@equinor/eds-core-react/dist/types/components/Typography/Typography.tokens").ColorVariants | string;
79
79
  token?: Partial<import("@equinor/eds-tokens").Typography>;
80
80
  lines?: number;
81
- } & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "token" | "lines">, never>, import("styled-components/dist/types").BaseObject>> & string;
81
+ } & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "token" | "lines">, never>, import("styled-components/dist/types").BaseObject>> & string;
82
82
  declare const NoTagFoundText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<({
83
83
  as?: import("react").ElementType | undefined;
84
- } & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "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>>;
84
+ } & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "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>>;
85
85
  declare const NoItemsFoundText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<({
86
86
  as?: import("react").ElementType | undefined;
87
- } & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "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>>;
87
+ } & (import("@equinor/eds-core-react").TypographyProps & Omit<any, "nonce" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "italic" | "bold" | "variant" | "link" | "group" | "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>>;
88
88
  declare const StyledMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<{
89
89
  anchorEl?: HTMLElement | null;
90
90
  open: boolean;
@@ -1,4 +1,4 @@
1
- import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";export{Button}from"@equinor/eds-core-react";import{animation as a}from"../../atoms/style/animation.js";import{VARIANT_HELPER_TEXT_COLORS as i,VARIANT_COLORS as o,colors as n}from"../../atoms/style/colors.js";import{spacings as s}from"../../atoms/style/spacings.js";import{Chip as l}from"../Chip/Chip.js";import d,{css as c}from"styled-components";const p=d.div`
1
+ import{Button as e,Menu as t,Typography as r}from"@equinor/eds-core-react";export{Button}from"@equinor/eds-core-react";import{animation as i}from"../../atoms/style/animation.js";import{colors as a,VARIANT_HELPER_TEXT_COLORS as o,VARIANT_COLORS as n}from"../../atoms/style/colors.js";import{spacings as s}from"../../atoms/style/spacings.js";import{Chip as l}from"../Chip/Chip.js";import d,{css as c}from"styled-components";const p=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${s.small};
@@ -11,13 +11,13 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
11
11
  > label {
12
12
  margin: 0;
13
13
  }
14
- ${({$variant:t})=>t?c`
14
+ ${({$variant:e})=>e?c`
15
15
  > label {
16
- color: ${i[t]};
16
+ color: ${"disabled"===e?a.interactive.disabled__text.rgba:o[e]};
17
17
  }
18
18
  > svg {
19
19
  flex-shrink: 0;
20
- fill: ${o[t]};
20
+ fill: ${"disabled"===e?a.interactive.disabled__text.rgba:o[e]};
21
21
  }
22
22
  `:""}
23
23
  `,b=d.div`
@@ -27,35 +27,35 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
27
27
  align-items: center;
28
28
  padding: 6px 8px;
29
29
  transition:
30
- background ${a.transitionMS},
31
- box-shadow ${a.transitionMS};
30
+ background ${i.transitionMS},
31
+ box-shadow ${i.transitionMS};
32
32
  &:hover:not(:has(input:disabled)) {
33
33
  cursor: pointer;
34
- background: ${n.ui.background__light_medium.rgba};
34
+ background: ${a.ui.background__light_medium.rgba};
35
35
  }
36
36
 
37
- ${({$variant:t})=>t?"dirty"===t?c`
38
- box-shadow: inset 0 -2px 0 0 ${o[t]};
37
+ ${({$variant:e})=>e?"dirty"===e?c`
38
+ box-shadow: inset 0 -2px 0 0 ${n[e]};
39
39
  &:hover {
40
- box-shadow: inset 0 -2px 0 0 ${o[t]};
40
+ box-shadow: inset 0 -2px 0 0 ${n[e]};
41
41
  }
42
42
  `:c`
43
- outline: 1px solid ${o[t]};
43
+ outline: 1px solid ${n[e]};
44
44
  &:hover {
45
- box-shadow: inset 0 -1px 0 0 ${o[t]};
45
+ box-shadow: inset 0 -1px 0 0 ${n[e]};
46
46
  }
47
47
  `:c`
48
- box-shadow: inset 0 -1px 0 0 ${n.text.static_icons__tertiary.rgba};
48
+ box-shadow: inset 0 -1px 0 0 ${a.text.static_icons__tertiary.rgba};
49
49
  &:hover {
50
50
  box-shadow: inset 0 -2px 0 0
51
- ${n.text.static_icons__tertiary.rgba};
51
+ ${a.text.static_icons__tertiary.rgba};
52
52
  }
53
53
  `}
54
54
 
55
- ${({$lightBackground:t})=>t?`background-color: ${n.ui.background__default.rgba}`:`background-color: ${n.ui.background__light.rgba}`};
55
+ ${({$lightBackground:e})=>e?`background-color: ${a.ui.background__default.rgba}`:`background-color: ${a.ui.background__light.rgba}`};
56
56
 
57
57
  &[aria-expanded='true'] {
58
- box-shadow: inset 0 -2px 0 0 ${n.interactive.primary__resting.rgba};
58
+ box-shadow: inset 0 -2px 0 0 ${a.interactive.primary__resting.rgba};
59
59
  }
60
60
  &:has(input:disabled) {
61
61
  outline: none;
@@ -68,7 +68,7 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
68
68
  > svg:not([role='progressbar']) {
69
69
  cursor: pointer;
70
70
  &:hover {
71
- background: ${n.interactive.primary__hover_alt.rgba};
71
+ background: ${a.interactive.primary__hover_alt.rgba};
72
72
  border-radius: 50%;
73
73
  }
74
74
  }
@@ -78,13 +78,13 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
78
78
  box-shadow: none;
79
79
  > svg:not([role='progressbar']) {
80
80
  cursor: not-allowed;
81
- fill: ${n.interactive.disabled__text.rgba};
81
+ fill: ${a.interactive.disabled__text.rgba};
82
82
  &:hover {
83
83
  background: transparent;
84
84
  }
85
85
  }
86
86
  > label {
87
- color: ${n.interactive.disabled__text.rgba};
87
+ color: ${a.interactive.disabled__text.rgba};
88
88
  }
89
89
  }
90
90
 
@@ -105,7 +105,7 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
105
105
  flex-grow: 1;
106
106
  padding: 0;
107
107
  font-family: 'Equinor', sans-serif;
108
- color: ${n.text.static_icons__default.rgba};
108
+ color: ${a.text.static_icons__default.rgba};
109
109
  outline: none;
110
110
  border: none;
111
111
  }
@@ -120,14 +120,14 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
120
120
  }
121
121
  &:has(input:disabled) {
122
122
  > p {
123
- color: ${n.interactive.disabled__text.rgba};
123
+ color: ${a.interactive.disabled__text.rgba};
124
124
  }
125
125
  > .amplify-combo-box-chip {
126
126
  cursor: not-allowed;
127
- background: ${n.interactive.disabled__fill.rgba};
128
- color: ${n.interactive.disabled__text.rgba};
127
+ background: ${a.interactive.disabled__fill.rgba};
128
+ color: ${a.interactive.disabled__text.rgba};
129
129
  > svg {
130
- fill: ${n.interactive.disabled__text.rgba};
130
+ fill: ${a.interactive.disabled__text.rgba};
131
131
  &:hover {
132
132
  cursor: not-allowed;
133
133
  background: none;
@@ -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
- `,u=d(t)`
138
+ `,u=d(e)`
139
139
  position: absolute;
140
140
  top: 50%;
141
141
  transform: translate(0, -50%);
@@ -143,18 +143,18 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
143
143
  width: 24px;
144
144
  height: 24px;
145
145
  svg {
146
- fill: ${n.text.static_icons__secondary.rgba};
146
+ fill: ${a.text.static_icons__secondary.rgba};
147
147
  }
148
148
  &:after {
149
149
  width: 24px;
150
150
  height: 24px;
151
151
  left: 0;
152
152
  }
153
- `,m=d(l)`
154
- background: ${({$tryingToRemove:t,$lightBackground:e})=>t?n.interactive.primary__hover_alt.rgba:e?n.ui.background__light.rgba:n.ui.background__default.rgba} !important;
155
- `,x=d(e.Item)`
153
+ `,_=d(l)`
154
+ background: ${({$tryingToRemove:e,$lightBackground:t})=>e?a.interactive.primary__hover_alt.rgba:t?a.ui.background__light.rgba:a.ui.background__default.rgba} !important;
155
+ `,m=d(t.Item)`
156
156
  flex-grow: 1;
157
- ${({$paddedLeft:t})=>t&&"margin-left: 36px"};
157
+ ${({$paddedLeft:e})=>e&&"margin-left: 36px"};
158
158
  padding-left: 10px;
159
159
 
160
160
  > div {
@@ -163,42 +163,43 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
163
163
  }
164
164
 
165
165
  &:hover {
166
- background: ${n.interactive.primary__hover_alt.rgba};
166
+ background: ${a.interactive.primary__hover_alt.rgba};
167
167
  }
168
168
 
169
169
  &:focus-visible {
170
- outline: 2px dashed ${n.interactive.primary__resting.rgba};
170
+ outline: 2px dashed ${a.interactive.primary__resting.rgba};
171
171
  }
172
172
 
173
- ${({$selected:t})=>t?c`
174
- background: ${n.interactive.primary__selected_highlight.rgba};
173
+ ${({$selected:e})=>e?c`
174
+ background: ${a.interactive.primary__selected_highlight.rgba};
175
175
 
176
176
  &:hover {
177
- background: ${n.interactive.primary__selected_hover.rgba};
177
+ background: ${a.interactive.primary__selected_hover.rgba};
178
178
  }
179
179
  `:""}}
180
- `,_=d.hr`
180
+ `,x=d.hr`
181
181
  height: calc(100% + ${s.medium} * 2);
182
182
  justify-self: center;
183
183
  width: ${s.x_large};
184
+ min-width: ${s.x_large};
184
185
  `,$=d(r)`
185
186
  user-select: none;
186
187
  pointer-events: none;
187
188
  position: absolute;
188
- color: ${n.text.static_icons__tertiary.rgba};
189
+ color: ${a.text.static_icons__tertiary.rgba};
189
190
  top: calc(50%);
190
191
  transform: translate(0, -50%);
191
- `,f=d($)`
192
+ `,v=d($)`
192
193
  white-space: nowrap;
193
194
  overflow: hidden;
194
195
  text-overflow: ellipsis;
195
- color: ${n.text.static_icons__default.rgba};
196
+ color: ${a.text.static_icons__default.rgba};
196
197
  max-width: 100%;
197
- `,v=d(r)`
198
+ `,f=d(r)`
198
199
  margin: ${s.medium};
199
200
  `,w=d(r)`
200
201
  margin-left: ${s.medium};
201
- `,y=d(e)`
202
+ `,y=d(t)`
202
203
  max-height: 20rem;
203
204
  max-width: inherit;
204
205
  overflow-y: auto;
@@ -209,7 +210,7 @@ import{Button as t,Menu as e,Typography as r}from"@equinor/eds-core-react";expor
209
210
  `,k=d.div`
210
211
  display: flex;
211
212
  align-items: center;
212
- `,j=d(t)`
213
+ `,j=d(e)`
213
214
  width: 36px;
214
215
  height: 36px;
215
- `;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};
216
+ `;export{u as ClearButton,_ as ComboBoxChip,b as Container,g as HelperWrapper,x as MenuItemSpacer,k as MenuItemWrapper,w as NoItemsFoundText,f as NoTagFoundText,$ as PlaceholderText,h as Section,j as SmallButton,y as StyledMenu,m as StyledMenuItem,v as ValueText,p as Wrapper};