@equinor/amplify-component-lib 8.0.2 → 8.2.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 (164) hide show
  1. package/dist/atoms/hooks/useReleaseNotesQuery.js +1 -1
  2. package/dist/atoms/hooks/useSelect.d.ts +1 -0
  3. package/dist/atoms/hooks/useSelect.js +1 -1
  4. package/dist/atoms/icons/map.js +1 -1
  5. package/dist/atoms/icons/other.js +1 -1
  6. package/dist/atoms/style/colors.d.ts +436 -4
  7. package/dist/atoms/style/colors.js +1 -1
  8. package/dist/atoms/style/darkTokens.d.ts +1 -1
  9. package/dist/atoms/style/darkTokens.js +153 -1
  10. package/dist/atoms/style/lightTokens.d.ts +1 -0
  11. package/dist/atoms/style/lightTokens.js +43 -0
  12. package/dist/atoms/style/spacingTokens.d.ts +1 -1
  13. package/dist/atoms/style/spacingTokens.js +40 -1
  14. package/dist/atoms/utils/index.d.ts +3 -2
  15. package/dist/atoms/utils/reactquery.d.ts +4 -0
  16. package/dist/atoms/utils/reactquery.js +1 -0
  17. package/dist/atoms/utils/richtext.d.ts +20 -0
  18. package/dist/atoms/utils/richtext.js +1 -0
  19. package/dist/deprecated/CommentField/CommentField.js +1 -1
  20. package/dist/deprecated/ConfirmationPopup.js +2 -2
  21. package/dist/deprecated/DataCard.js +8 -8
  22. package/dist/deprecated/EditableField.js +2 -2
  23. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.js +2 -2
  24. package/dist/deprecated/HeaderDrawer.js +5 -5
  25. package/dist/deprecated/MultiSelectDrawer.js +4 -4
  26. package/dist/deprecated/SingleSelectDrawer.js +3 -3
  27. package/dist/deprecated/Workflow/WorkflowDescription.js +5 -5
  28. package/dist/index.js +1 -1
  29. package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.d.ts +2 -3
  30. package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.js +1 -24
  31. package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.styles.d.ts +6 -0
  32. package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.styles.js +19 -0
  33. package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.utils.d.ts +2 -0
  34. package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.utils.js +1 -0
  35. package/dist/molecules/ApplicationIcon/ApplicationIcon.constants.d.ts +3 -3
  36. package/dist/molecules/ApplicationIcon/ApplicationIcon.js +1 -1
  37. package/dist/molecules/ApplicationIcon/ApplicationIcon.types.d.ts +1 -0
  38. package/dist/molecules/ApplicationIcon/ApplicationIcon.utils.d.ts +2 -1
  39. package/dist/molecules/ApplicationIcon/ApplicationIconBase.d.ts +1 -2
  40. package/dist/molecules/ApplicationIcon/ApplicationIconBase.js +1 -1
  41. package/dist/molecules/ApplicationIcon/ApplicationIconBase.styles.d.ts +19 -15
  42. package/dist/molecules/ApplicationIcon/ApplicationIconBase.styles.js +14 -14
  43. package/dist/molecules/ApplicationIcon/ApplicationIconData/AppIconSvg.d.ts +4 -3
  44. package/dist/molecules/ApplicationIcon/ApplicationIconData/AppIconSvg.js +1 -1
  45. package/dist/molecules/ApplicationIcon/ApplicationIconData/ApplicationIconCollection.d.ts +6 -3
  46. package/dist/molecules/ApplicationIcon/ApplicationIconData/ApplicationIconCollection.js +1 -1
  47. package/dist/molecules/Badge/Badge.js +1 -1
  48. package/dist/molecules/Badge/Badge.styles.js +2 -2
  49. package/dist/molecules/Chip/Chip.d.ts +4 -7
  50. package/dist/molecules/Chip/Chip.js +1 -1
  51. package/dist/molecules/Chip/Chip.styles.js +13 -13
  52. package/dist/molecules/Chip/InteractiveChip.js +1 -1
  53. package/dist/molecules/Chip/ReadOnlyChip.d.ts +2 -2
  54. package/dist/molecules/ContentMenu/ContentMenu.js +19 -19
  55. package/dist/molecules/EquinorLogo/EquinorLogo.js +1 -1
  56. package/dist/molecules/FileProgress/CompactFileProgress.js +1 -1
  57. package/dist/molecules/FileProgress/CompactFileProgress.styles.js +23 -23
  58. package/dist/molecules/FileProgress/RegularFileProgress.js +1 -1
  59. package/dist/molecules/FileProgress/RegularFileProgress.styles.js +10 -10
  60. package/dist/molecules/FileUploadArea/FileUploadArea.js +6 -6
  61. package/dist/molecules/FullPageSpinner/FullPageSpinner.js +5 -5
  62. package/dist/molecules/InfoElement/CopyText.js +9 -9
  63. package/dist/molecules/InfoElement/InfoElement.js +1 -1
  64. package/dist/molecules/ListItem/ListItem.js +8 -8
  65. package/dist/molecules/OptionDrawer/OptionDrawer.styles.js +11 -11
  66. package/dist/molecules/ProfileAvatar/ProfileAvatar.js +6 -6
  67. package/dist/molecules/RichTextDisplay/RichTextDisplay.js +1 -1
  68. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.js +6 -6
  69. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.styles.js +4 -4
  70. package/dist/molecules/RichTextEditor/RichTextEditor.js +1 -1
  71. package/dist/molecules/RichTextEditor/custom-extensions/ExtendedHeaders.js +1 -1
  72. package/dist/molecules/RichTextEditor/index.js +1 -1
  73. package/dist/molecules/Select/GroupedSelectMenu.js +1 -1
  74. package/dist/molecules/Select/Select.js +1 -1
  75. package/dist/molecules/Select/Select.styles.d.ts +3 -4
  76. package/dist/molecules/Select/Select.styles.js +42 -36
  77. package/dist/molecules/Select/Select.types.d.ts +3 -0
  78. package/dist/molecules/Select/SelectMenu.js +1 -1
  79. package/dist/molecules/Select/SelectMenuItem.js +1 -1
  80. package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +6 -0
  81. package/dist/molecules/SelectionControls/Checkbox/Checkbox.js +1 -0
  82. package/dist/molecules/SelectionControls/Radio/Radio.d.ts +6 -0
  83. package/dist/molecules/SelectionControls/Radio/Radio.js +1 -0
  84. package/dist/molecules/SelectionControls/SelectionControls.styles.d.ts +5 -0
  85. package/dist/molecules/SelectionControls/SelectionControls.styles.js +66 -0
  86. package/dist/molecules/SelectionControls/Switch/Switch.d.ts +5 -0
  87. package/dist/molecules/SelectionControls/Switch/Switch.js +1 -0
  88. package/dist/molecules/Sieve/Sieve.styles.js +16 -16
  89. package/dist/molecules/Sieve/Sort.js +1 -1
  90. package/dist/molecules/SingleFilterMenu/SingleFilterMenu.js +9 -9
  91. package/dist/molecules/Stepper/Step.js +2 -2
  92. package/dist/molecules/Stepper/Stepper.js +2 -2
  93. package/dist/molecules/TextField/TextField.js +3 -3
  94. package/dist/molecules/Waves/NoiseSvg.d.ts +2 -0
  95. package/dist/molecules/Waves/NoiseSvg.js +1 -0
  96. package/dist/molecules/Waves/Waves.js +1 -48
  97. package/dist/molecules/Waves/Waves.styles.d.ts +10 -0
  98. package/dist/molecules/Waves/Waves.styles.js +48 -0
  99. package/dist/molecules/index.d.ts +9 -3
  100. package/dist/organisms/ErrorPage/Description.js +1 -1
  101. package/dist/organisms/ErrorPage/Details.js +6 -6
  102. package/dist/organisms/ErrorPage/ErrorPage.js +2 -2
  103. package/dist/organisms/ErrorPage/MissingAccesses.js +2 -2
  104. package/dist/organisms/ErrorPage/Title.js +1 -1
  105. package/dist/organisms/ErrorPage/collections/PageNotFound.js +1 -1
  106. package/dist/organisms/ErrorPage/collections/Unauthorized.js +1 -1
  107. package/dist/organisms/FieldSelector/ChangingField.js +1 -1
  108. package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +2 -2
  109. package/dist/organisms/FieldSelector/SelectorCard/Skeleton.js +4 -4
  110. package/dist/organisms/FullPageStatus/FullPageStatus.js +2 -2
  111. package/dist/organisms/SideBar/MenuItem.styles.js +3 -3
  112. package/dist/organisms/SideBar/SideBar.styles.js +3 -3
  113. package/dist/organisms/SideBar/ToggleOpen.styles.js +5 -5
  114. package/dist/organisms/TableOfContents/TableOfContents.constants.js +1 -1
  115. package/dist/organisms/TableOfContents/TableOfContents.styles.js +3 -3
  116. package/dist/organisms/Template/Template.js +10 -9
  117. package/dist/organisms/TopBar/Account/Account.styles.js +7 -7
  118. package/dist/organisms/TopBar/Actions.js +2 -2
  119. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
  120. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.styles.js +5 -5
  121. package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +4 -4
  122. package/dist/organisms/TopBar/Guidelines/Item.js +2 -2
  123. package/dist/organisms/TopBar/Guidelines/Section.js +2 -2
  124. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/DefaultNotification.js +4 -4
  125. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +2 -2
  126. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -1
  127. package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +3 -3
  128. package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +1 -1
  129. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +2 -2
  130. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.styles.js +4 -4
  131. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +3 -3
  132. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +4 -4
  133. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +2 -2
  134. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +3 -3
  135. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +3 -3
  136. package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
  137. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/FilterHeader/FilterHeader.js +1 -1
  138. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/FilterHeader/FilterHeader.styles.js +3 -3
  139. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.styles.js +3 -3
  140. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.js +1 -1
  141. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.styles.js +4 -4
  142. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.styles.js +12 -12
  143. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/ReleasePost.js +1 -1
  144. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/ReleasePost.styles.js +1 -1
  145. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.js +1 -1
  146. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.js +4 -4
  147. package/dist/organisms/TopBar/Resources/ResourceMenuItem.js +2 -2
  148. package/dist/organisms/TopBar/Resources/Resources.js +4 -4
  149. package/dist/organisms/TopBar/Settings.d.ts +3 -16
  150. package/dist/organisms/TopBar/Settings.js +2 -2
  151. package/dist/organisms/TopBar/Settings.types.d.ts +28 -0
  152. package/dist/organisms/TopBar/TopBar.js +1 -1
  153. package/dist/organisms/TopBar/TopBar.styles.js +13 -13
  154. package/dist/organisms/TopBar/TopBarMenu.js +3 -3
  155. package/dist/organisms/TopBar/TransferToAppDialog.js +2 -2
  156. package/dist/organisms/index.d.ts +2 -1
  157. package/dist/providers/AuthProvider/AuthProvider.js +1 -1
  158. package/dist/providers/AuthProvider/AuthProviderInner.js +1 -1
  159. package/dist/tests/mockHandlers.d.ts +3 -0
  160. package/dist/tests/msalMock.d.ts +1 -0
  161. package/dist/tests/setupTests.d.ts +2 -0
  162. package/package.json +2 -3
  163. package/dist/atoms/utils/getFeatures.d.ts +0 -8
  164. package/dist/atoms/utils/getFeatures.js +0 -1
@@ -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 l}from"./Select.utils.js";import{SelectMenuItem as n}from"./SelectMenuItem.js";const r=r=>{const{onItemSelect:o,onItemKeyDown:s,itemRefs:c,groups:a,search:f}=r,u=t((()=>{if(""===f)return a;const e=new RegExp(f,"i");return a.map((t=>({title:t.title,items:t.items.filter((t=>t.label.match(e)))}))).filter((e=>e.items.length>0))}),[a,f]),p=t((()=>{const e=u.map((e=>e.items.length));return l(e)}),[u]);return 0===u.length?e(m,{children:"No items found"}):"values"in r?u.map(((t,m)=>e(i.Section,{index:m,title:t.title,children:t.items.map(((i,l)=>e(n,{index:l+p[m],childOffset:0,item:i,multiselect:!0,itemRefs:c,onItemKeyDown:s,onItemSelect:o,values:r.values},`${t.title}-${m}-item-${i.value}`)))},`${t.title}-${m}`))):u.map(((t,m)=>e(i.Section,{index:m,title:t.title,children:t.items.map(((i,l)=>e(n,{index:l+p[m],childOffset:0,item:i,itemRefs:c,onItemKeyDown:s,onItemSelect:o},`${t.title}-${m}-item-${i.value}`)))},`${t.title}-${m}`)))};export{r 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,onMouseEnterItem:f}=l,p=t((()=>{if(""===a)return u;const e=new RegExp(a,"i");return u.map((t=>({title:t.title,items:t.items.filter((t=>t.label.match(e)))}))).filter((e=>e.items.length>0))}),[u,a]),d=t((()=>{const e=p.map((e=>e.items.length));return n(e)}),[p]);return 0===p.length?e(m,{children:"No items found"}):"values"in l?p.map(((t,m)=>e(i.Section,{index:m,title:t.title,children:t.items.map(((i,n)=>e(o,{index:n+d[m],childOffset:0,item:i,multiselect:!0,itemRefs:c,onItemKeyDown:s,onItemSelect:r,onMouseEnterItem:f,values:l.values},`${t.title}-${m}-item-${i.value}`)))},`${t.title}-${m}`))):p.map(((t,m)=>e(i.Section,{index:m,title:t.title,children:t.items.map(((i,n)=>e(o,{index:n+d[m],childOffset:0,item:i,itemRefs:c,onItemKeyDown:s,onItemSelect:r,onMouseEnterItem:f},`${t.title}-${m}-item-${i.value}`)))},`${t.title}-${m}`)))};export{l as GroupedSelectMenu};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as o}from"react/jsx-runtime";import{useRef as l,useMemo as n}from"react";import{Label as a,CircularProgress as t,Icon as r}from"@equinor/eds-core-react";import{arrow_drop_up as i,arrow_drop_down as c,clear as d}from"@equinor/eds-icons";import{tokens as s}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{useSelect as m}from"../../atoms/hooks/useSelect.js";import{GroupedSelectMenu as h}from"./GroupedSelectMenu.js";import{ValueText as u,StyledChip as p,Container as g,Section as b,PlaceholderText as f,ClearButton as v,StyledMenu as y}from"./Select.styles.js";import{SelectMenu as S}from"./SelectMenu.js";const{colors:x}=s,C=s=>{const{clearable:C=!0,loading:O=!1,disabled:k=!1,lightBackground:I=!1,underlineHighlight:R=!1,sortValues:j=!0,placeholder:w="Select...",label:D,meta:$,id:B=`amplify-combobox-${D}`,variant:K}=s,{handleOnClear:T,handleOnItemKeyDown:_,handleOnItemSelect:q,handleOnSearchChange:M,handleOnSearchKeyDown:V,handleToggleOpen:z,itemRefs:H,search:P,selectedValues:A,handleOnClose:E,handleOnOpen:F,handleOnRemoveItem:G,open:N,searchRef:W,tryingToRemoveItem:J}=m({...s,clearable:C,loading:O,disabled:k,lightBackground:I,underlineHighlight:R,sortValues:j,placeholder:w}),L=l(null),Q=n((()=>!!D||!!$),[D,$]),U=n((()=>"value"in s&&s.value?e(u,{children:s.value.label}):A.map((o=>e(p,{"data-testid":"amplify-combobox-chip",className:"amplify-combo-box-chip",onDelete:()=>G(o),$tryingToRemove:J?.value===o.value,$lightBackground:I,children:o.label},o.value)))),[A,J,I,s,G]);return o("div",{children:[o(g,{"data-testid":"combobox-container",ref:L,onClick:F,"aria-expanded":N,$variant:K,$lightBackground:I,$shouldShowTopMargin:Q,children:[Q&&e(a,{label:D,meta:$,htmlFor:B}),o(b,{children:[""===P&&0===A.length&&e(f,{children:w}),(""===P||"values"in s&&A.length>0)&&U,e("input",{id:B,disabled:k||O,ref:W,type:"search",role:"combobox",value:P,autoComplete:"off",onChange:M,onKeyDownCapture:V})]}),O?e(t,{size:16}):e(r,{onClick:z,data:N?i:c,color:x.interactive.primary__resting.rgba}),C&&A.length>0&&!O&&e(v,{variant:"ghost_icon",onClick:T,"data-testid":"clearBtn",children:e(r,{data:d,size:18})})]}),N&&e(y,{open:!0,id:"combobox-menu",anchorEl:L.current,onClose:E,placement:"bottom",matchAnchorWidth:!0,children:s.groups?e(h,{...s,search:P,itemRefs:H,onItemSelect:q,onItemKeyDown:_}):e(S,{...s,search:P,itemRefs:H,onItemSelect:q,onItemKeyDown:_,selectableParent:"values"in s&&s.selectableParent})})]})};export{C as Select};
1
+ import{jsx as e,jsxs as o}from"react/jsx-runtime";import{useRef as n,useMemo as t}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 c,clear as s}from"@equinor/eds-icons";import{tokens as d}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{useSelect as m}from"../../atoms/hooks/useSelect.js";import{GroupedSelectMenu as h}from"./GroupedSelectMenu.js";import{ValueText as u,StyledChip as p,Container as g,Section as b,PlaceholderText as f,ClearButton as v,StyledMenu as y}from"./Select.styles.js";import{SelectMenu as O}from"./SelectMenu.js";import{useOutsideClick as k}from"../../node_modules/@equinor/eds-utils/dist/esm/hooks/useOutsideClick.js";const{colors:C}=d,I=d=>{const{clearable:I=!0,loading:S=!1,disabled:x=!1,lightBackground:j=!1,underlineHighlight:D=!1,sortValues:R=!0,placeholder:w="Select...",label:M,meta:$,id:B=`amplify-combobox-${M}`,variant:K,inDialog:_=!1}=d,{handleOnClear:q,handleOnItemKeyDown:E,handleOnItemSelect:T,handleOnSearchChange:V,handleOnSearchKeyDown:z,handleToggleOpen:H,itemRefs:P,search:A,selectedValues:F,handleOnClose:G,handleOnOpen:N,handleOnRemoveItem:W,handleOnMouseEnterItem:J,open:L,searchRef:Q,tryingToRemoveItem:U}=m({...d,clearable:I,loading:S,disabled:x,lightBackground:j,underlineHighlight:D,sortValues:R,placeholder:w}),X=n(null),Y=n(null),Z=t((()=>!!M||!!$),[M,$]);k(Y.current,(e=>{_&&L&&e.target&&X.current&&Y.current&&!X.current.contains(e.target)&&!Y.current?.contains(e.target)&&G()}));const ee=t((()=>"value"in d&&d.value?e(u,{children:d.value.label}):F.map((o=>e(p,{"data-testid":"amplify-combobox-chip",className:"amplify-combo-box-chip",onDelete:()=>W(o),$tryingToRemove:U?.value===o.value,$lightBackground:j,children:o.label},o.value)))),[F,U,j,d,W]);return o("div",{children:[o(g,{"data-testid":"combobox-container",ref:X,onClick:N,"aria-expanded":L,$variant:K,$lightBackground:j,$shouldShowTopMargin:Z,children:[Z&&e(l,{label:M,meta:$,htmlFor:B}),o(b,{children:[""===A&&0===F.length&&e(f,{children:w}),(""===A||"values"in d&&F.length>0)&&ee,e("input",{id:B,disabled:x||S,ref:Q,type:"search",role:"combobox",value:A,autoComplete:"off",onChange:V,onKeyDownCapture:z})]}),S?e(r,{size:16}):e(a,{onClick:H,data:L?i:c,color:C.interactive.primary__resting.rgba}),I&&F.length>0&&!S&&e(v,{variant:"ghost_icon",onClick:q,"data-testid":"clearBtn",children:e(a,{data:s,size:18})})]}),L&&e(y,{ref:Y,open:!0,id:"combobox-menu",anchorEl:X.current,onClose:G,placement:"bottom",matchAnchorWidth:!0,children:d.groups?e(h,{...d,search:A,itemRefs:P,onItemSelect:T,onItemKeyDown:E,onMouseEnterItem:J}):e(O,{...d,search:A,itemRefs:P,onItemSelect:T,onItemKeyDown:E,onMouseEnterItem:J,selectableParent:"values"in d&&d.selectableParent})})]})};export{I as Select};
@@ -26,10 +26,9 @@ interface StyledChipProps {
26
26
  $lightBackground?: boolean;
27
27
  className: string;
28
28
  }
29
- declare const StyledChip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("../Chip/Chip").BaseChipProps, StyledChipProps>> & string & Omit<{
30
- ({ children, variant, disabled, onClick, onDelete, ...otherProps }: import("../Chip/Chip").BaseChipProps): import("react/jsx-runtime").JSX.Element;
31
- displayName: string;
32
- }, keyof import("react").Component<any, {}, any>>;
29
+ declare const StyledChip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../Chip/Chip").BaseChipProps & import("react").RefAttributes<HTMLDivElement | HTMLButtonElement>, "ref"> & {
30
+ ref?: ((instance: HTMLDivElement | HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement | HTMLButtonElement> | null | undefined;
31
+ }, StyledChipProps>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Chip/Chip").BaseChipProps & import("react").RefAttributes<HTMLDivElement | HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
33
32
  interface CustomMenuItemProps {
34
33
  $paddedLeft?: boolean;
35
34
  }
@@ -1,16 +1,16 @@
1
- import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";export{Button}from"@equinor/eds-core-react";import{tokens as a}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{colors as o}from"../../atoms/style/colors.js";import{spacings as i}from"../../atoms/style/spacings.js";import{Chip as n}from"../Chip/Chip.js";import s from"styled-components";const{colors:l,spacings:c}=a,d={warning:l.interactive.warning__resting.rgba,error:l.interactive.danger__resting.rgba,success:l.interactive.success__resting.rgba,dirty:o.dark_blue.rgba},g=s.div`
1
+ import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";export{Button}from"@equinor/eds-core-react";import{colors as a}from"../../atoms/style/colors.js";import{spacings as o}from"../../atoms/style/spacings.js";import{Chip as i}from"../Chip/Chip.js";import n from"styled-components";const s={warning:a.interactive.warning__resting.rgba,error:a.interactive.danger__resting.rgba,success:a.interactive.success__resting.rgba,dirty:a.dataviz.darkblue.darker},l=n.div`
2
2
  position: relative;
3
3
  display: grid;
4
4
  grid-template-columns: 1fr auto;
5
5
  align-items: center;
6
6
  padding: 6px 8px;
7
7
 
8
- ${({$variant:r})=>r?`box-shadow: inset 0 -2px 0 0 ${d[r]}`:`box-shadow: inset 0 -1px 0 0 ${l.text.static_icons__tertiary.rgba}`};
8
+ ${({$variant:r})=>r?`box-shadow: inset 0 -2px 0 0 ${s[r]}`:`box-shadow: inset 0 -1px 0 0 ${a.text.static_icons__tertiary.rgba}`};
9
9
 
10
- ${({$lightBackground:r})=>r?`background-color: ${l.ui.background__default.rgba}`:`background-color: ${l.ui.background__light.rgba}`};
10
+ ${({$lightBackground:r})=>r?`background-color: ${a.ui.background__default.rgba}`:`background-color: ${a.ui.background__light.rgba}`};
11
11
 
12
12
  &[aria-expanded='true'] {
13
- box-shadow: inset 0 -2px 0 0 ${l.interactive.primary__resting.rgba};
13
+ box-shadow: inset 0 -2px 0 0 ${a.interactive.primary__resting.rgba};
14
14
  }
15
15
 
16
16
  ${({$shouldShowTopMargin:r})=>r&&"margin-top: 1rem;"};
@@ -28,7 +28,7 @@ import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";expor
28
28
  > svg:not([role='progressbar']) {
29
29
  cursor: pointer;
30
30
  &:hover {
31
- background: ${l.interactive.primary__hover_alt.rgba};
31
+ background: ${a.interactive.primary__hover_alt.rgba};
32
32
  border-radius: 50%;
33
33
  }
34
34
  }
@@ -38,20 +38,20 @@ import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";expor
38
38
  box-shadow: none;
39
39
  > svg:not([role='progressbar']) {
40
40
  cursor: not-allowed;
41
- fill: ${l.interactive.disabled__text.rgba};
41
+ fill: ${a.interactive.disabled__text.rgba};
42
42
  &:hover {
43
43
  background: transparent;
44
44
  }
45
45
  }
46
46
  > label {
47
- color: ${l.interactive.disabled__text.rgba};
47
+ color: ${a.interactive.disabled__text.rgba};
48
48
  }
49
49
  }
50
- `,p=s.section`
50
+ `,c=n.section`
51
51
  position: relative;
52
52
  display: flex;
53
53
  flex-wrap: wrap;
54
- gap: ${i.x_small};
54
+ gap: ${o.x_small};
55
55
  min-height: 24px;
56
56
  input[type='search'] {
57
57
  background: transparent;
@@ -59,7 +59,7 @@ import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";expor
59
59
  flex-grow: 1;
60
60
  padding: 0;
61
61
  font-family: 'Equinor', sans-serif;
62
- color: ${l.text.static_icons__default.rgba};
62
+ color: ${a.text.static_icons__default.rgba};
63
63
  outline: none;
64
64
  border: none;
65
65
  }
@@ -74,14 +74,14 @@ import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";expor
74
74
  }
75
75
  &:has(input:disabled) {
76
76
  > p {
77
- color: ${l.interactive.disabled__text.rgba};
77
+ color: ${a.interactive.disabled__text.rgba};
78
78
  }
79
79
  > .amplify-combo-box-chip {
80
80
  cursor: not-allowed;
81
- background: ${l.interactive.disabled__fill.rgba};
82
- color: ${l.interactive.disabled__text.rgba};
81
+ background: ${a.interactive.disabled__fill.rgba};
82
+ color: ${a.interactive.disabled__text.rgba};
83
83
  > svg {
84
- fill: ${l.interactive.disabled__text.rgba};
84
+ fill: ${a.interactive.disabled__text.rgba};
85
85
  &:hover {
86
86
  cursor: not-allowed;
87
87
  background: none;
@@ -89,7 +89,7 @@ import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";expor
89
89
  }
90
90
  }
91
91
  }
92
- `,b=s(r)`
92
+ `,d=n(r)`
93
93
  position: absolute;
94
94
  top: 50%;
95
95
  transform: translate(0, -50%);
@@ -97,17 +97,17 @@ import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";expor
97
97
  width: 24px;
98
98
  height: 24px;
99
99
  svg {
100
- fill: ${l.text.static_icons__secondary.rgba};
100
+ fill: ${a.text.static_icons__secondary.rgba};
101
101
  }
102
102
  &:after {
103
103
  width: 24px;
104
104
  height: 24px;
105
105
  left: 0;
106
106
  }
107
- `,u=s(n)`
108
- background: ${({$tryingToRemove:r,$lightBackground:e})=>r?l.interactive.primary__hover_alt.rgba:e?l.ui.background__light.rgba:l.ui.background__default.rgba} !important;
109
- `,_=s(e.Item)`
110
- flex: 1;
107
+ `,g=n(i)`
108
+ background: ${({$tryingToRemove:r,$lightBackground:e})=>r?a.interactive.primary__hover_alt.rgba:e?a.ui.background__light.rgba:a.ui.background__default.rgba} !important;
109
+ `,p=n(e.Item)`
110
+ flex-grow: 1;
111
111
  border-radius: 2px;
112
112
  ${({$paddedLeft:r})=>r&&"margin-left: 36px"};
113
113
  padding-left: 10px;
@@ -117,33 +117,39 @@ import{Button as r,Menu as e,Typography as t}from"@equinor/eds-core-react";expor
117
117
  }
118
118
 
119
119
  &:focus-visible {
120
- background: ${l.interactive.primary__hover_alt.rgba};
120
+ background: ${a.interactive.primary__hover_alt.rgba};
121
121
  }
122
122
 
123
+ /* Hide any background change on hover since we set focus on hover now */
123
124
  &:hover {
124
- background: ${l.interactive.primary__hover_alt.rgba};
125
+ background: ${a.interactive.primary__hover_alt.rgba};
126
+ background: transparent;
127
+ }
128
+
129
+ &:focus-visible {
130
+ background: ${a.interactive.primary__hover_alt.rgba};
125
131
  }
126
- `,h=s.hr`
127
- height: calc(100% + ${c.comfortable.medium} * 2);
132
+ `,b=n.hr`
133
+ height: calc(100% + ${o.medium} * 2);
128
134
  justify-self: center;
129
- width: ${i.x_large};
130
- `,m=s(t)`
135
+ width: ${o.x_large};
136
+ `,u=n(t)`
131
137
  position: absolute;
132
- color: ${l.text.static_icons__tertiary.rgba};
138
+ color: ${a.text.static_icons__tertiary.rgba};
133
139
  top: calc(50%);
134
140
  transform: translate(0, -50%);
135
- `,x=s(m)`
136
- color: ${l.text.static_icons__default.rgba};
137
- `,f=s(t)`
138
- margin-left: ${c.comfortable.medium};
139
- `,v=s(e)`
141
+ `,_=n(u)`
142
+ color: ${a.text.static_icons__default.rgba};
143
+ `,h=n(t)`
144
+ margin-left: ${o.medium};
145
+ `,m=n(e)`
140
146
  max-height: 20rem;
141
147
  overflow: auto;
142
- `,$=s.div`
148
+ `,v=n.div`
143
149
  display: flex;
144
150
  align-items: center;
145
- padding: 0 ${i.small};
146
- `,w=s(r)`
151
+ padding: 0 ${o.small};
152
+ `,x=n(r)`
147
153
  width: 36px;
148
154
  height: 36px;
149
- `;export{b as ClearButton,g as Container,h as MenuItemSpacer,$ as MenuItemWrapper,f as NoItemsFoundText,m as PlaceholderText,p as Section,w as SmallButton,u as StyledChip,v as StyledMenu,_ as StyledMenuItem,d as VARIANT_COLORS,x as ValueText};
155
+ `;export{d as ClearButton,l as Container,b as MenuItemSpacer,v as MenuItemWrapper,h as NoItemsFoundText,u as PlaceholderText,c as Section,x as SmallButton,g as StyledChip,m as StyledMenu,p as StyledMenuItem,s as VARIANT_COLORS,_ as ValueText};
@@ -31,6 +31,7 @@ export interface SelectMenuProps<T extends SelectOptionRequired> {
31
31
  itemRefs: MutableRefObject<(HTMLButtonElement | null)[]>;
32
32
  onItemKeyDown: (event: KeyboardEvent<HTMLButtonElement>) => void;
33
33
  onItemSelect: (item: SelectOption<T>) => void;
34
+ onMouseEnterItem: (index: number) => void;
34
35
  selectableParent?: boolean;
35
36
  }
36
37
  interface SelectMenuItemProps<T extends SelectOptionRequired> {
@@ -65,5 +66,7 @@ export interface CommonSelectProps {
65
66
  clearable?: boolean;
66
67
  meta?: string;
67
68
  onSearchChange?: (inputValue: string) => void;
69
+ inDialog?: boolean;
70
+ onOpenCallback?: (value: boolean) => void;
68
71
  }
69
72
  export {};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{useMemo as t}from"react";import{NoItemsFoundText as l}from"./Select.styles.js";import{flattenOptions as m,getChildOffset as n}from"./Select.utils.js";import{SelectMenuItem as s}from"./SelectMenuItem.js";const r=r=>{const{search:i,items:a,onItemSelect:o,itemRefs:c,onItemKeyDown:u,selectableParent:f}=r,p=t((()=>{if(""===i)return a;const e=new RegExp(i,"i");return m(a).map((({value:e,label:t})=>({value:e,label:t}))).filter((t=>t.label.match(e)))}),[a,i]);if(0===p.length)return e(l,{children:"No items found"});const d=p.some((e=>e.children&&e.children.length>0));return"values"in r?p.map(((t,l)=>e(s,{childOffset:n(p,l),index:l,multiselect:!0,item:t,itemRefs:c,onItemKeyDown:u,onItemSelect:o,values:r.values,selectableParent:f,parentHasNestedItems:d},`menu-item-${l}-${t.value}`))):p.map(((t,l)=>e(s,{childOffset:n(p,l),index:l,item:t,itemRefs:c,onItemKeyDown:u,onItemSelect:o,selectableParent:f,parentHasNestedItems:d},`menu-item-${l}-${t.value}`)))};export{r as SelectMenu};
1
+ import{jsx as e}from"react/jsx-runtime";import{useMemo as t}from"react";import{NoItemsFoundText as n}from"./Select.styles.js";import{flattenOptions as m,getChildOffset as l}from"./Select.utils.js";import{SelectMenuItem as s}from"./SelectMenuItem.js";const r=r=>{const{search:o,items:i,onItemSelect:a,itemRefs:c,onItemKeyDown:u,onMouseEnterItem:f,selectableParent:p}=r,I=t((()=>{if(""===o)return i;const e=new RegExp(o,"i");return m(i).map((({value:e,label:t})=>({value:e,label:t}))).filter((t=>t.label.match(e)))}),[i,o]);if(0===I.length)return e(n,{children:"No items found"});const d=I.some((e=>e.children&&e.children.length>0));return"values"in r?I.map(((t,n)=>e(s,{childOffset:l(I,n),index:n,multiselect:!0,item:t,itemRefs:c,onItemKeyDown:u,onItemSelect:a,onMouseEnterItem:f,values:r.values,selectableParent:p,parentHasNestedItems:d},`menu-item-${n}-${t.value}`))):I.map(((t,n)=>e(s,{childOffset:l(I,n),index:n,item:t,itemRefs:c,onItemKeyDown:u,onItemSelect:a,onMouseEnterItem:f,selectableParent:p,parentHasNestedItems:d},`menu-item-${n}-${t.value}`)))};export{r as SelectMenu};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{useState as n,useRef as i,useMemo as l}from"react";import{Icon as c}from"@equinor/eds-core-react";import{checkbox_outline as o,checkbox as a,checkbox_indeterminate as u,chevron_down as s,chevron_right as d}from"@equinor/eds-icons";import{tokens as m}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{MenuItemSpacer as p,MenuItemWrapper as h,SmallButton as f,StyledMenuItem as v}from"./Select.styles.js";import{flattenOptions as y,getChildOffset as g}from"./Select.utils.js";const{colors:w}=m,k=m=>{const{index:b,childOffset:_,depth:x=0,item:C,multiselect:A,itemRefs:D,onItemKeyDown:$,onItemSelect:I,selectableParent:K=!0,parentHasNestedItems:j=!1}=m,[O,S]=n(!1),q=i(-1),P=i([]),R=("values"in m?m.values.map((({value:e})=>e)):[]).includes(C.value),H=l((()=>{if(!A||!C.children||0===C.children.length)return o;if(R)return a;if([C,...C.children].some((e=>m.values.find((r=>r.value===e.value)))))return u;const e=m.values.map((({value:e})=>e)),r=y([C])?.map((({value:e})=>e));return r.some((r=>e.includes(r)))?u:o}),[C,A,m,R]),L=l((()=>new Array(x).fill(0).map(((r,t)=>e(p,{},`spacer-${r+t}`)))),[x]),M=()=>{if(I(C),!A)return void S((e=>!e));const e=!m.values.map((({value:e})=>e)).includes(C.value);S(e)},N=e=>{e.stopPropagation(),S((e=>!e))},U=e=>{"ArrowDown"===e.key?q.current+=1:"ArrowUp"===e.key&&(q.current-=1),q.current<=-1?(D.current[b]?.focus(),q.current=-1):q.current+_===P.current.length?(q.current=-1,$(e),S(!1)):q.current>=0&&q.current<P.current.length-_&&P.current[q.current+_]?.focus()},z=e=>{O||"ArrowDown"!==e.key&&"ArrowUp"!==e.key?"ArrowRight"===e.key||"ArrowLeft"===e.key?S((e=>!e)):O&&"ArrowDown"===e.key&&-1===q.current&&(q.current=0,P.current[q.current+_]?.focus()):$(e)};return C.children&&C.children.length>0&&A?r(t,{children:[r(h,{children:[L,e(f,{variant:"ghost_icon",onClick:N,"data-testid":"toggle-button",children:e(c,{color:w.interactive.primary__resting.rgba,data:O?s:d})}),r(v,{$depth:x,ref:e=>{D.current[b]=e},index:b,closeMenuOnClick:!1,onKeyDownCapture:z,onClick:M,children:[e(c,{color:K?w.interactive.primary__resting.rgba:w.interactive.disabled__fill.rgba,data:H}),C.label]})]}),O&&C.children.map(((r,t)=>e(k,{index:_+t,childOffset:_+g(C.children,t),depth:x+1,multiselect:!0,item:r,itemRefs:P,values:m.values,onItemKeyDown:U,onItemSelect:I,selectableParent:K,parentHasNestedItems:!0},`child-${t}-${r.value}-${C.value}`)))]}):A?r(h,{children:[L,r(v,{$depth:x,$paddedLeft:j,ref:e=>{D.current[b]=e},index:b,tabIndex:x,closeMenuOnClick:!1,onKeyDownCapture:$,onClick:M,children:[e(c,{color:w.interactive.primary__resting.rgba,data:R?a:o}),C.label]})]}):e(h,{children:e(v,{$depth:x,ref:e=>{D.current[b]=e},index:b,onKeyDownCapture:$,onClick:M,children:C.label})})};export{k as SelectMenuItem};
1
+ import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{useState as n,useRef as o,useMemo as c}from"react";import{Icon as i}from"@equinor/eds-core-react";import{checkbox_outline as l,checkbox as u,checkbox_indeterminate as a,chevron_down as s,chevron_right as d}from"@equinor/eds-icons";import{tokens as m}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{MenuItemSpacer as p,MenuItemWrapper as f,SmallButton as h,StyledMenuItem as v}from"./Select.styles.js";import{flattenOptions as y,getChildOffset as g}from"./Select.utils.js";const{colors:w}=m,k=m=>{const{index:b,childOffset:_,depth:x=0,item:C,multiselect:I,itemRefs:A,onItemKeyDown:D,onMouseEnterItem:$,onItemSelect:M,selectableParent:E=!0,parentHasNestedItems:K=!1}=m,[j,O]=n(!1),S=o(-1),q=o([]),P=("values"in m?m.values.map((({value:e})=>e)):[]).includes(C.value),R=c((()=>{if(!I||!C.children||0===C.children.length)return l;if(P)return u;if([C,...C.children].some((e=>m.values.find((r=>r.value===e.value)))))return a;const e=m.values.map((({value:e})=>e)),r=y([C])?.map((({value:e})=>e));return r.some((r=>e.includes(r)))?a:l}),[C,I,m,P]),H=c((()=>new Array(x).fill(0).map(((r,t)=>e(p,{},`spacer-${r+t}`)))),[x]),L=()=>{if(M(C),!I)return void O((e=>!e));const e=!m.values.map((({value:e})=>e)).includes(C.value);O(e)},N=()=>{$(b)},U=e=>{e.stopPropagation(),O((e=>!e))},z=e=>{"ArrowDown"===e.key?S.current+=1:"ArrowUp"===e.key&&(S.current-=1),S.current<=-1?(A.current[b]?.focus(),S.current=-1):S.current+_===q.current.length?(S.current=-1,D(e),O(!1)):S.current>=0&&S.current<q.current.length-_&&q.current[S.current+_]?.focus()},B=e=>{j||"ArrowDown"!==e.key&&"ArrowUp"!==e.key?"ArrowRight"===e.key||"ArrowLeft"===e.key?O((e=>!e)):j&&"ArrowDown"===e.key&&-1===S.current&&(S.current=0,q.current[S.current+_]?.focus()):D(e)},F=e=>{S.current=e,q.current.at(e)?.focus()};return C.children&&C.children.length>0&&I?r(t,{children:[r(f,{children:[H,e(h,{variant:"ghost_icon",onClick:U,"data-testid":"toggle-button",children:e(i,{color:w.interactive.primary__resting.rgba,data:j?s:d})}),r(v,{$depth:x,ref:e=>{A.current[b]=e},index:b,closeMenuOnClick:!1,onKeyDownCapture:B,onMouseEnter:N,onClick:L,children:[e(i,{color:E?w.interactive.primary__resting.rgba:w.interactive.disabled__fill.rgba,data:R}),C.label]})]}),j&&C.children.map(((r,t)=>e(k,{index:_+t,childOffset:_+g(C.children,t),depth:x+1,multiselect:!0,item:r,itemRefs:q,values:m.values,onItemKeyDown:z,onItemSelect:M,onMouseEnterItem:F,selectableParent:E,parentHasNestedItems:!0},`child-${t}-${r.value}-${C.value}`)))]}):I?r(f,{children:[H,r(v,{$depth:x,$paddedLeft:K,ref:e=>{A.current[b]=e},index:b,tabIndex:x,closeMenuOnClick:!1,onKeyDownCapture:D,onClick:L,onMouseEnter:N,children:[e(i,{color:w.interactive.primary__resting.rgba,data:P?u:l}),C.label]})]}):e(f,{children:e(v,{$depth:x,ref:e=>{A.current[b]=e},index:b,onKeyDownCapture:D,onClick:L,onMouseEnter:N,children:C.label})})};export{k as SelectMenuItem};
@@ -0,0 +1,6 @@
1
+ import { CheckboxProps as EDSCheckboxProps } from '@equinor/eds-core-react';
2
+ export interface CheckboxProps extends EDSCheckboxProps {
3
+ label: string;
4
+ outlined?: boolean;
5
+ }
6
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1 @@
1
+ import{jsx as o}from"react/jsx-runtime";import{forwardRef as e}from"react";import{Checkbox as r}from"@equinor/eds-core-react";import{Wrapper as t}from"../SelectionControls.styles.js";const i=e(((e,i)=>o(t,{$outlined:e.outlined||!1,children:o(r,{ref:i,...e})})));i.displayName="Checkbox";export{i as Checkbox};
@@ -0,0 +1,6 @@
1
+ import { RadioProps as EDSRadioProps } from '@equinor/eds-core-react';
2
+ export interface RadioProps extends EDSRadioProps {
3
+ label: string;
4
+ outlined?: boolean;
5
+ }
6
+ export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1 @@
1
+ import{jsx as o}from"react/jsx-runtime";import{forwardRef as r}from"react";import{Radio as e}from"@equinor/eds-core-react";import{Wrapper as t}from"../SelectionControls.styles.js";const i=r(((r,i)=>o(t,{$outlined:r.outlined||!1,children:o(e,{ref:i,...r})})));i.displayName="Radio";export{i as Radio};
@@ -0,0 +1,5 @@
1
+ interface WrapperProps {
2
+ $outlined: boolean;
3
+ }
4
+ export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, WrapperProps>> & string;
5
+ export {};
@@ -0,0 +1,66 @@
1
+ import{tokens as t}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{animation as a}from"../../atoms/style/animation.js";import"../../atoms/style/colors.js";import{spacings as e}from"../../atoms/style/spacings.js";import i,{css as r}from"styled-components";const{colors:s,shape:o}=t,n=i.span`
2
+ > label {
3
+ padding: 0 ${e.large} 0 ${e.small};
4
+ border-radius: ${o.button.borderRadius};
5
+ transition: background ${a.transitionMS};
6
+ }
7
+
8
+ /* Radio / Checkbox hover state override */
9
+ > label > span:before {
10
+ background-color: transparent !important;
11
+ }
12
+ /* Switch hover state override */
13
+ > label > span > input[type='checkbox'] + span {
14
+ background: transparent !important;
15
+ }
16
+ svg {
17
+ transition: fill ${a.transitionMS};
18
+ }
19
+ input:not(:checked) {
20
+ ~ svg {
21
+ fill: ${s.text.static_icons__tertiary.rgba};
22
+ &:hover {
23
+ fill: ${s.text.static_icons__default.rgba};
24
+ }
25
+ }
26
+ }
27
+ /* Switch dot override */
28
+ > label:has(input:checked) > span > span > span:last-child {
29
+ background: ${s.interactive.primary__resting.rgba};
30
+ }
31
+ > label:has(input:not(:checked)) > span > span > span:last-child {
32
+ background: ${s.text.static_icons__tertiary.rgba};
33
+ }
34
+
35
+ > label:hover:not(:has(input:disabled)) {
36
+ background: ${s.interactive.primary__hover_alt.rgba};
37
+ svg {
38
+ fill: ${s.text.static_icons__default.rgba};
39
+ }
40
+ }
41
+
42
+ > label:focus:not(:hover):not(:has(input:disabled)) {
43
+ outline: 1px dashed ${s.interactive.primary__resting.rgba};
44
+ outline-offset: -1px;
45
+ }
46
+
47
+ &:has(input:disabled) {
48
+ span:last-child {
49
+ color: ${s.interactive.disabled__text.rgba};
50
+ }
51
+ svg {
52
+ fill: ${s.interactive.disabled__text.rgba};
53
+ }
54
+ }
55
+
56
+ ${({$outlined:t})=>{if(t)return r`
57
+ > label {
58
+ outline: 1px solid ${s.ui.background__medium.rgba};
59
+ }
60
+ &:has(input:disabled) {
61
+ svg {
62
+ fill: ${s.interactive.disabled__border.rgba};
63
+ }
64
+ }
65
+ `}}
66
+ `;export{n as Wrapper};
@@ -0,0 +1,5 @@
1
+ import { SwitchProps as EDSSwitchProps } from '@equinor/eds-core-react';
2
+ export interface SwitchProps extends EDSSwitchProps {
3
+ outlined?: boolean;
4
+ }
5
+ export declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{forwardRef as o}from"react";import{Switch as t}from"@equinor/eds-core-react";import{Wrapper as e}from"../SelectionControls.styles.js";const i=o(((o,i)=>r(e,{$outlined:o.outlined||!1,children:r(t,{ref:i,...o})})));i.displayName="Switch";export{i as Switch};
@@ -1,39 +1,39 @@
1
- import{Chip as o,Search as e,Menu as i}from"@equinor/eds-core-react";import{tokens as t}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as n}from"../../atoms/style/spacings.js";import a from"styled-components";const{colors:r}=t,s=a.div`
1
+ import{Chip as o,Search as t,Menu as i}from"@equinor/eds-core-react";import{colors as e}from"../../atoms/style/colors.js";import{spacings as a}from"../../atoms/style/spacings.js";import r from"styled-components";const n=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: ${n.medium};
5
- `,d=a.div`
4
+ gap: ${a.medium};
5
+ `,s=r.div`
6
6
  display: flex;
7
- gap: ${n.medium};
7
+ gap: ${a.medium};
8
8
  align-items: center;
9
- `,u=a(o)`
10
- color: ${r.text.static_icons__default.rgba};
11
- background: ${r.ui.background__light.rgba};
12
- border: 1px solid ${r.ui.background__medium.rgba};
9
+ `,d=r(o)`
10
+ color: ${e.text.static_icons__default.rgba};
11
+ background: ${e.ui.background__light.rgba};
12
+ border: 1px solid ${e.ui.background__medium.rgba};
13
13
  line-height: normal;
14
14
  transition: background 0.15s ease-in;
15
15
 
16
16
  svg {
17
17
  z-index: auto;
18
- fill: ${r.text.static_icons__default.rgba};
18
+ fill: ${e.text.static_icons__default.rgba};
19
19
  }
20
- `,c=a(e)`
20
+ `,c=r(t)`
21
21
  > div {
22
22
  box-shadow: none;
23
23
  outline: none !important;
24
- background: ${r.ui.background__default.rgba};
24
+ background: ${e.ui.background__default.rgba};
25
25
  > input {
26
- color: ${r.text.static_icons__default.rgba};
26
+ color: ${e.text.static_icons__default.rgba};
27
27
  }
28
28
  > input:focus {
29
- box-shadow: inset 0px -2px 0px 0px ${r.interactive.primary__resting.rgba};
29
+ box-shadow: inset 0px -2px 0px 0px ${e.interactive.primary__resting.rgba};
30
30
  }
31
31
  }
32
- `,l=a(i.Item)`
32
+ `,l=r(i.Item)`
33
33
  outline: none !important;
34
34
  > div {
35
35
  grid-template-columns: 1fr auto;
36
36
  }
37
- `,m=a(o)`
37
+ `,u=r(o)`
38
38
  background: none;
39
- `;export{m as Chip,d as Container,u as FilterChip,l as MenuItem,c as Search,s as Wrapper};
39
+ `;export{u as Chip,s as Container,d as FilterChip,l as MenuItem,c as Search,n as Wrapper};
@@ -1 +1 @@
1
- import{jsxs as e,Fragment as o,jsx as r}from"react/jsx-runtime";import{useRef as t,useState as n}from"react";import{Icon as i,Menu as l}from"@equinor/eds-core-react";import{sort as s,radio_button_selected as c,radio_button_unselected as a}from"@equinor/eds-icons";import{tokens as m}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{Chip as d,MenuItem as p}from"./Sieve.styles.js";const{colors:u}=m,f=({options:m,selectedOption:f,setSelectedOption:h})=>{const b=t(null),[v,S]=n(!1);return 0===m.length?null:e(o,{children:[e(d,{ref:b,onClick:()=>{S(!v)},children:["Sort by ",r(i,{data:s})]}),v&&r(l,{open:!0,anchorEl:b.current,onClose:()=>{S(!1)},placement:"bottom-start",children:r(l.Section,{title:"Sort by",children:m.map((o=>e(p,{onClick:()=>(e=>{h(e)})(o),children:[o.label,r(i,{data:f?.value===o.value?c:a,color:u.interactive.primary__resting.rgba})]},`sort-item-${o.value}`)))})})]})};export{f as default};
1
+ import{jsxs as e,Fragment as t,jsx as r}from"react/jsx-runtime";import{useRef as o,useState as i}from"react";import{Icon as l,Menu as n}from"@equinor/eds-core-react";import{sort as c,radio_button_selected as a,radio_button_unselected as s}from"@equinor/eds-icons";import{colors as m}from"../../atoms/style/colors.js";import{Chip as p,MenuItem as d}from"./Sieve.styles.js";const u=({options:u,selectedOption:f,setSelectedOption:h})=>{const b=o(null),[v,y]=i(!1);return 0===u.length?null:e(t,{children:[e(p,{ref:b,onClick:()=>{y(!v)},children:["Sort by ",r(l,{data:c})]}),v&&r(n,{open:!0,anchorEl:b.current,onClose:()=>{y(!1)},placement:"bottom-start",children:r(n.Section,{title:"Sort by",children:u.map((t=>e(d,{onClick:()=>(e=>{h(e)})(t),children:[t.label,r(l,{data:f?.value===t.value?a:s,color:m.interactive.primary__resting.rgba})]},`sort-item-${t.value}`)))})})]})};export{u as default};
@@ -1,20 +1,20 @@
1
- import{jsxs as e,jsx as o}from"react/jsx-runtime";import{useState as n}from"react";import{Chip as i,Button as t,Menu as a,Icon as r,Typography as d}from"@equinor/eds-core-react";import{filter_list as l}from"@equinor/eds-icons";import{tokens as s}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as c}from"../../atoms/style/spacings.js";import u from"styled-components";const{colors:m}=s,p=u.div`
1
+ import{jsxs as o,jsx as e}from"react/jsx-runtime";import{useState as n}from"react";import{Chip as t,Button as i,Menu as a,Icon as r,Typography as d}from"@equinor/eds-core-react";import{filter_list as l}from"@equinor/eds-icons";import{tokens as s}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import"../../atoms/style/colors.js";import{spacings as c}from"../../atoms/style/spacings.js";import m from"styled-components";const{colors:u}=s,p=m.div`
2
2
  margin-left: auto;
3
3
  display: flex;
4
4
  align-items: center;
5
5
  gap: 25px;
6
- `,g=u(i)`
7
- background: ${e=>e.$backgroundColor};
8
- `,f=u(t)`
6
+ `,g=m(t)`
7
+ background: ${o=>o.$backgroundColor};
8
+ `,f=m(i)`
9
9
  justify-self: flex-end;
10
- `,h=u(a)`
10
+ `,h=m(a)`
11
11
  overflow-y: auto;
12
- `,v=u.div`
12
+ `,v=m.div`
13
13
  padding: ${c.medium};
14
14
  padding-left: ${c.large};
15
- `,b=u(a.Item)`
15
+ `,b=m(a.Item)`
16
16
  &:focus {
17
17
  outline: none;
18
- background: ${m.ui.background__light.rgba};
18
+ background: ${u.ui.background__light.rgba};
19
19
  }
20
- `,C=({onChange:i,customIcon:t,menuTitle:a,data:s,showChip:c=!1,chipColor:u=m.ui.background__default.rgba})=>{const[C,k]=n(!1),[_,x]=n(null),[y,$]=n(),j=()=>k(!1);return e(p,{children:[c&&y&&o(g,{"data-testid":"chip",onDelete:()=>{j(),i(void 0),$(void 0)},variant:"default",$backgroundColor:u,children:y}),o(f,{"data-testid":"menuButton",variant:"ghost_icon",onClick:e=>(e=>{const o=e.target;x(o),k(!C)})(e),children:o(r,{data:t??l})}),e(h,{open:C,anchorEl:_,onClose:j,placement:"bottom-end","data-testid":"menuContainer",children:[o(v,{children:o(d,{group:"navigation",variant:"label",children:a})}),s.map(((e,n)=>o(b,{onClick:()=>{return o=e,k(!1),void(y===o?($(void 0),i(void 0)):($(o),i(o)));var o},disabled:y===e&&c,active:y===e&&!c,children:o(d,{group:"navigation",variant:"menu_title",as:"span",children:e})},e+n)))]})]})};C.displayName="SingleFilterMenu";export{C as SingleFilterMenu};
20
+ `,C=({onChange:t,customIcon:i,menuTitle:a,data:s,showChip:c=!1,chipColor:m=u.ui.background__default.rgba})=>{const[C,k]=n(!1),[y,_]=n(null),[x,$]=n(),j=()=>k(!1);return o(p,{children:[c&&x&&e(g,{"data-testid":"chip",onDelete:()=>{j(),t(void 0),$(void 0)},variant:"default",$backgroundColor:m,children:x}),e(f,{"data-testid":"menuButton",variant:"ghost_icon",onClick:o=>(o=>{const e=o.target;_(e),k(!C)})(o),children:e(r,{data:i??l})}),o(h,{open:C,anchorEl:y,onClose:j,placement:"bottom-end","data-testid":"menuContainer",children:[e(v,{children:e(d,{group:"navigation",variant:"label",children:a})}),s.map(((o,n)=>e(b,{onClick:()=>{return e=o,k(!1),void(x===e?($(void 0),t(void 0)):($(e),t(e)));var e},disabled:x===o&&c,active:x===o&&!c,children:e(d,{group:"navigation",variant:"menu_title",as:"span",children:o})},o+n)))]})]})};C.displayName="SingleFilterMenu";export{C as SingleFilterMenu};
@@ -1,4 +1,4 @@
1
- import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useState as t,useMemo as i}from"react";import{Typography as n,Icon as a}from"@equinor/eds-core-react";import{check as o}from"@equinor/eds-icons";import{tokens as s}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as l}from"../../atoms/style/spacings.js";import d from"styled-components";const{colors:c,shape:p}=s,m=d.div`
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useState as t,useMemo as i}from"react";import{Typography as n,Icon as o}from"@equinor/eds-core-react";import{check as a}from"@equinor/eds-icons";import{tokens as s}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import"../../atoms/style/colors.js";import{spacings as l}from"../../atoms/style/spacings.js";import d from"styled-components";const{colors:c,shape:p}=s,m=d.div`
2
2
  display: flex;
3
3
  gap: ${l.small};
4
4
  align-items: center;
@@ -22,4 +22,4 @@ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useState as t,useMemo a
22
22
  > svg {
23
23
  transform: scale(0.9);
24
24
  }
25
- `,_=({currentIndex:s,setCurrentIndex:l,index:d,onlyShowCurrentStepLabel:p=!1,children:_})=>{const[b,g]=t(null),h=i((()=>e(u,d>=s?{$filled:d===s,children:e(n,{variant:"caption",children:d+1})}:{$outlined:!0,"data-testid":"wrapper",children:e(a,{data:o,color:c.interactive.primary__resting.rgba})})),[d,s]),x=i((()=>d<s?"body_short":"body_short_bold"),[s,d]),f=i((()=>d>s?c.interactive.disabled__text.rgba:c.text.static_icons__default.rgba),[s,d]);return r(m,{"data-testid":"step",ref:e=>{null===b&&null!==e&&g(e)},style:null===b||p?void 0:{width:`calc(${b.clientWidth}px)`},$clickable:d<s,onClick:()=>{d<s&&l(d)},children:[h,(!p||s===d)&&e(n,{variant:x,color:f,children:_})]})};export{_ as default};
25
+ `,_=({currentIndex:s,setCurrentIndex:l,index:d,onlyShowCurrentStepLabel:p=!1,children:_})=>{const[b,g]=t(null),h=i((()=>e(u,d>=s?{$filled:d===s,children:e(n,{variant:"caption",children:d+1})}:{$outlined:!0,"data-testid":"wrapper",children:e(o,{data:a,color:c.interactive.primary__resting.rgba})})),[d,s]),x=i((()=>d<s?"body_short":"body_short_bold"),[s,d]),f=i((()=>d>s?c.interactive.disabled__text.rgba:c.text.static_icons__default.rgba),[s,d]);return r(m,{"data-testid":"step",ref:e=>{null===b&&null!==e&&g(e)},style:null===b||p?void 0:{width:`calc(${b.clientWidth}px)`},$clickable:d<s,onClick:()=>{d<s&&l(d)},children:[h,(!p||s===d)&&e(n,{variant:x,color:f,children:_})]})};export{_ as default};
@@ -1,4 +1,4 @@
1
- import{jsx as t}from"react/jsx-runtime";import{useMemo as e}from"react";import{spacings as r}from"../../atoms/style/spacings.js";import n from"./Step.js";import o from"./StepLine.js";import s from"styled-components";const i=s.div`
1
+ import{jsx as t}from"react/jsx-runtime";import{useMemo as e}from"react";import"../../atoms/style/colors.js";import{spacings as r}from"../../atoms/style/spacings.js";import o from"./Step.js";import n from"./StepLine.js";import s from"styled-components";const i=s.div`
2
2
  display: grid;
3
3
  grid-template-columns:
4
4
  repeat(${({$stepAmount:t})=>t-1}, auto 1fr)
@@ -7,4 +7,4 @@ import{jsx as t}from"react/jsx-runtime";import{useMemo as e}from"react";import{s
7
7
  align-items: center;
8
8
  width: 100%;
9
9
  ${({$maxWidth:t})=>t&&`max-width: ${t}`}
10
- `,p=({current:r,setCurrent:s,steps:p,onlyShowCurrentStepLabel:m=!1,maxWidth:a})=>{const d=e((()=>{const e=[];return p.forEach(((i,a)=>{e.push(t(n,{index:a,currentIndex:r,setCurrentIndex:s,onlyShowCurrentStepLabel:m,children:i},`step-${a}`)),a!==p.length-1&&e.push(t(o,{done:r>a},`step-line-${a}`))})),e}),[r,m,s,p]);return t(i,{$stepAmount:p.length,$maxWidth:a,"data-testid":"stepper-container",children:d})};export{p as Stepper};
10
+ `,m=({current:r,setCurrent:s,steps:m,onlyShowCurrentStepLabel:p=!1,maxWidth:a})=>{const d=e((()=>{const e=[];return m.forEach(((i,a)=>{e.push(t(o,{index:a,currentIndex:r,setCurrentIndex:s,onlyShowCurrentStepLabel:p,children:i},`step-${a}`)),a!==m.length-1&&e.push(t(n,{done:r>a},`step-line-${a}`))})),e}),[r,p,s,m]);return t(i,{$stepAmount:m.length,$maxWidth:a,"data-testid":"stepper-container",children:d})};export{m as Stepper};
@@ -1,3 +1,3 @@
1
- import{jsx as t}from"react/jsx-runtime";import{TextField as n}from"@equinor/eds-core-react";import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import o from"styled-components";const{colors:r}=e,i=o(n)`
2
- ${t=>t.variant?`\n input, textarea {\n color: ${r.text.static_icons__default.rgba}\n }\n `:`\n input, textarea {\n color: ${r.text.static_icons__default.rgba}\n }\n div:focus-within {\n outline: none !important;\n input, textarea{\n box-shadow: inset 0 -2px 0 0 ${r.interactive.primary__resting.rgba};\n }\n }\n `}
3
- `,a=n=>t(i,{...n});export{a as TextField};
1
+ import{jsx as t}from"react/jsx-runtime";import{TextField as n}from"@equinor/eds-core-react";import{colors as o}from"../../atoms/style/colors.js";import r from"styled-components";const e=r(n)`
2
+ ${t=>t.variant?`\n input, textarea {\n color: ${o.text.static_icons__default.rgba}\n }\n `:`\n input, textarea {\n color: ${o.text.static_icons__default.rgba}\n }\n div:focus-within {\n outline: none !important;\n input, textarea{\n box-shadow: inset 0 -2px 0 0 ${o.interactive.primary__resting.rgba};\n }\n }\n `}
3
+ `,i=n=>t(e,{...n});export{i as TextField};
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const NoiseSvg: FC;
@@ -0,0 +1 @@
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";const i=()=>e("svg",{viewBox:"0 0 1500 1500",xmlns:"http://www.w3.org/2000/svg",children:[t("filter",{id:"noiseFilter",children:t("feTurbulence",{type:"fractalNoise",baseFrequency:1.5,numOctaves:3,stitchTiles:"stitch"})}),t("rect",{width:"100%",height:"100%",filter:"url(#noiseFilter)"})]});export{i as NoiseSvg};
@@ -1,48 +1 @@
1
- import{jsxs as t,jsx as e}from"react/jsx-runtime";import{WaveShapeWithNoise as r}from"./WaveShapeWithNoise.js";import a,{keyframes as o}from"styled-components";const i=a.div`
2
- --topGradientColor: #77d9dd;
3
- --bottomGradientColor: #407577;
4
-
5
- height: calc(100vh - 64px);
6
- width: 100%;
7
- overflow: hidden;
8
- position: relative;
9
- background: linear-gradient(
10
- 180deg,
11
- var(--bottomGradientColor) 0%,
12
- var(--topGradientColor) 100%
13
- );
14
- > svg {
15
- position: absolute;
16
- filter: grayscale(1);
17
- mix-blend-mode: color-burn;
18
- z-index: 0;
19
- }
20
- `,n=a.div`
21
- --heightFromBottom: ${({heightFromBottom:t})=>`${t}px`};
22
- bottom: var(--heightFromBottom);
23
- width: 100%;
24
- --rotate3d: rotateX(330deg) rotateY(-15deg) scaleX(1.2);
25
- position: absolute;
26
- `,l=o`
27
- 0% {
28
- transform: var(--rotate3d) translateY(-2px) rotateX(0) scaleY(1);
29
- }
30
- 50% {
31
- transform: var(--rotate3d) translateY(5px) rotateX(60deg) scaleY(0.8);
32
- }
33
- 100% {
34
- transform: var(--rotate3d) translateY(-2px) rotateX(0) scaleY(1);
35
- }
36
- `,s=a.div`
37
- position: absolute;
38
- height: 100%;
39
- min-height: 1000px;
40
- width: 100%;
41
- top: ${({waveIntervalDist:t})=>`${t}rem`};
42
- transform-origin: top;
43
- transform: var(--rotate3d) translateY(-2px) scaleY(1);
44
- filter: grayscale(1);
45
- mix-blend-mode: overlay;
46
-
47
- animation: ${l} 5.5s infinite ease alternate;
48
- `,d=()=>t("svg",{viewBox:"0 0 1500 1500",xmlns:"http://www.w3.org/2000/svg",children:[e("filter",{id:"noiseFilter",children:e("feTurbulence",{type:"fractalNoise",baseFrequency:1.5,numOctaves:3,stitchTiles:"stitch"})}),e("rect",{width:"100%",height:"100%",filter:"url(#noiseFilter)"})]}),m=({waveIntervalDist:a=3,waveDelay:o=.75,numWaves:l=10,heightFromBottom:m=600})=>{const h=Array.from({length:l},((t,e)=>({waveIntervalDist:e*a,delay:e*o,altWave:e%2==0})));return t(i,{children:[e(d,{}),e(n,{heightFromBottom:m,children:h.map(((t,a)=>e(s,{waveIntervalDist:t.waveIntervalDist,style:{animationDelay:`${t.delay}s`},children:e(r,{index:a,isAltWave:t.altWave})},a)))})]})};export{m as Waves};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{NoiseSvg as a}from"./NoiseSvg.js";import{Container as r,WaveInnerContainer as i,Wave as o}from"./Waves.styles.js";import{WaveShapeWithNoise as s}from"./WaveShapeWithNoise.js";const l=({waveIntervalDist:l=3,waveDelay:m=.75,numWaves:n=10,heightFromBottom:v=600})=>{const h=Array.from({length:n},((e,t)=>({waveIntervalDist:t*l,delay:t*m,altWave:t%2==0})));return e(r,{children:[t(a,{}),t(i,{$heightFromBottom:v,children:h.map(((e,a)=>t(o,{$waveIntervalDist:e.waveIntervalDist,style:{animationDelay:`${e.delay}s`},children:t(s,{index:a,isAltWave:e.altWave})},a)))})]})};export{l as Waves};
@@ -0,0 +1,10 @@
1
+ interface WaveInnerContainerProps {
2
+ $heightFromBottom: number;
3
+ }
4
+ export declare const WaveInnerContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, WaveInnerContainerProps>> & string;
5
+ interface WaveProps {
6
+ $waveIntervalDist: number;
7
+ }
8
+ export declare const Wave: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, WaveProps>> & string;
9
+ export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
+ export {};