@equinor/amplify-component-lib 13.2.3 → 13.2.5-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 (115) hide show
  1. package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
  2. package/dist/atoms/hooks/useLocalStorage.js +1 -1
  3. package/dist/atoms/hooks/useSelect.d.ts +3 -3
  4. package/dist/atoms/index.d.ts +1 -1
  5. package/dist/atoms/index.js +1 -1
  6. package/dist/atoms/style/index.d.ts +1 -1
  7. package/dist/atoms/style/index.js +1 -1
  8. package/dist/atoms/utils/auth_environment.d.ts +1 -0
  9. package/dist/atoms/utils/auth_environment.js +1 -1
  10. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +1 -1
  11. package/dist/deprecated/IconToggleButton.d.ts +1 -1
  12. package/dist/deprecated/OldStepper/OldStepLine.js +1 -1
  13. package/dist/deprecated/OldStepper/OldStepper.d.ts +1 -1
  14. package/dist/index.d.ts +1 -1
  15. package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.d.ts +1 -1
  16. package/dist/molecules/ApplicationIcon/ApplicationIcon.d.ts +1 -1
  17. package/dist/molecules/Badge/Badge.d.ts +1 -1
  18. package/dist/molecules/Button/Button.js +1 -1
  19. package/dist/molecules/Button/IconButton/IconButton.js +1 -1
  20. package/dist/molecules/Chip/Chip.d.ts +1 -1
  21. package/dist/molecules/Chip/Chip.styles.js +1 -1
  22. package/dist/molecules/Confetti/Confetti.types.d.ts +1 -1
  23. package/dist/molecules/Confetti/utils/seasonalColors.js +1 -1
  24. package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
  25. package/dist/molecules/Dialog/Dialog.d.ts +2 -2
  26. package/dist/molecules/FileProgress/CompactFileProgress.js +1 -1
  27. package/dist/molecules/FileProgress/FileProgress.types.d.ts +1 -1
  28. package/dist/molecules/IconCell/IconCell.d.ts +3 -3
  29. package/dist/molecules/IconCell/IconCell.styles.js +3 -3
  30. package/dist/molecules/IconCell/IconCell.utils.js +1 -1
  31. package/dist/molecules/ListItem/ListItem.d.ts +2 -2
  32. package/dist/molecules/OptionDrawer/OptionDrawer.d.ts +1 -1
  33. package/dist/molecules/OptionalTooltip/OptionalTooltip.d.ts +4 -4
  34. package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
  35. package/dist/molecules/ProfileAvatar/ProfileAvatar.js +1 -1
  36. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +7 -7
  37. package/dist/molecules/RichTextEditor/custom-extensions/AmplifyKit.js +1 -1
  38. package/dist/molecules/RichTextEditor/index.d.ts +8 -8
  39. package/dist/molecules/RichTextEditor/index.js +1 -1
  40. package/dist/molecules/Search/Search.d.ts +2 -2
  41. package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
  42. package/dist/molecules/Select/Select.js +1 -1
  43. package/dist/molecules/Select/Select.styles.d.ts +5 -5
  44. package/dist/molecules/Select/Select.styles.js +31 -13
  45. package/dist/molecules/Select/Select.types.d.ts +1 -1
  46. package/dist/molecules/Select/SelectMenuItem.js +1 -1
  47. package/dist/molecules/Select/SelectMenuItem.utils.js +1 -1
  48. package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
  49. package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
  50. package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
  51. package/dist/molecules/SelectionControls/Switch/Switch.d.ts +2 -2
  52. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
  53. package/dist/molecules/Stepper/Step/Step.js +1 -1
  54. package/dist/molecules/Stepper/StepLine.js +1 -1
  55. package/dist/molecules/Stepper/Stepper.js +1 -1
  56. package/dist/molecules/Tabs/Tab.styles.js +4 -0
  57. package/dist/molecules/Tabs/Tabs.d.ts +2 -2
  58. package/dist/molecules/Waves/Waves.d.ts +1 -1
  59. package/dist/molecules/index.d.ts +1 -1
  60. package/dist/molecules/index.js +1 -1
  61. package/dist/organisms/Faq/Faq.d.ts +1 -1
  62. package/dist/organisms/Faq/Faq.utils.js +1 -1
  63. package/dist/organisms/FieldSelector/ChangingField.js +1 -1
  64. package/dist/organisms/Filter/AutoCompleteText.js +1 -1
  65. package/dist/organisms/Filter/Filter.d.ts +2 -2
  66. package/dist/organisms/Filter/Filter.types.d.ts +1 -1
  67. package/dist/organisms/Filter/QuickFilter.d.ts +2 -2
  68. package/dist/organisms/Filter/SortMenu.d.ts +2 -2
  69. package/dist/organisms/SideBar/MenuItem/MenuItem.d.ts +1 -1
  70. package/dist/organisms/SideBar/SideBar.d.ts +2 -2
  71. package/dist/organisms/SideBar/index.d.ts +1 -1
  72. package/dist/organisms/Status/Action.d.ts +2 -2
  73. package/dist/organisms/Status/Description.d.ts +2 -2
  74. package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
  75. package/dist/organisms/Status/Title.d.ts +2 -2
  76. package/dist/organisms/Status/collections/BadRequest.d.ts +2 -2
  77. package/dist/organisms/Status/collections/GenericError.d.ts +2 -2
  78. package/dist/organisms/Status/collections/MissingPermissions.d.ts +2 -2
  79. package/dist/organisms/Status/collections/PageNotFound.d.ts +2 -2
  80. package/dist/organisms/Status/collections/ServerError.d.ts +2 -2
  81. package/dist/organisms/Status/index.d.ts +1 -1
  82. package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
  83. package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
  84. package/dist/organisms/ToggleGroup/ToggleGroupOption.js +1 -1
  85. package/dist/organisms/TopBar/Account/Account.d.ts +1 -1
  86. package/dist/organisms/TopBar/Account/AccountButton.js +1 -1
  87. package/dist/organisms/TopBar/Actions.d.ts +2 -2
  88. package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +3 -3
  89. package/dist/organisms/TopBar/Guidelines/Colorbox.d.ts +4 -4
  90. package/dist/organisms/TopBar/Guidelines/Guidelines.d.ts +1 -1
  91. package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
  92. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/Notifications.types.d.ts +1 -1
  93. package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +1 -1
  94. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/LockedInputTooltip.js +2 -2
  95. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +1 -1
  96. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/ImageFile.js +1 -1
  97. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.js +1 -1
  98. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +1 -1
  99. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -1
  100. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +1 -1
  101. package/dist/organisms/TopBar/Resources/Resources.d.ts +1 -1
  102. package/dist/organisms/TopBar/Tutorials/TutorialItem.js +1 -1
  103. package/dist/organisms/TopBar/index.d.ts +1 -1
  104. package/dist/organisms/index.d.ts +1 -1
  105. package/dist/organisms/index.js +1 -1
  106. package/dist/providers/AuthProvider/AuthProvider.d.ts +15 -3
  107. package/dist/providers/AuthProvider/AuthProvider.js +1 -1
  108. package/dist/providers/AuthProvider/AuthProviderInner.js +1 -1
  109. package/dist/providers/LoadingProvider.js +1 -1
  110. package/dist/providers/SnackbarProvider/SnackbarProvider.d.ts +1 -1
  111. package/dist/providers/StepperProvider.d.ts +1 -1
  112. package/dist/providers/StepperProvider.js +1 -1
  113. package/dist/providers/TableOfContentsProvider.d.ts +1 -1
  114. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +1 -1
  115. package/package.json +9 -9
@@ -132,10 +132,18 @@ import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS
132
132
  }
133
133
  > .amplify-combo-box-chip {
134
134
  cursor: not-allowed;
135
- background: ${r.interactive.disabled__fill.rgba};
135
+ background: ${r.interactive.disabled__fill.rgba} !important;
136
136
  color: ${r.interactive.disabled__text.rgba};
137
- > svg {
137
+ outline: 1px solid ${r.interactive.disabled__border.rgba};
138
+
139
+ &:hover {
140
+ outline: 1px solid ${r.interactive.disabled__border.rgba};
141
+ }
142
+
143
+ > .content > svg {
138
144
  fill: ${r.interactive.disabled__text.rgba};
145
+ display: none;
146
+
139
147
  &:hover {
140
148
  cursor: not-allowed;
141
149
  background: none;
@@ -196,16 +204,22 @@ import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS
196
204
  `,S=u.div`
197
205
  position: relative;
198
206
  isolation: isolate;
207
+ display: flex;
208
+ flex-direction: column;
199
209
  border: 1px solid ${r.ui.background__heavy.rgba};
200
210
  border-radius: ${a.corners.borderRadius};
201
- overflow: auto;
211
+ overflow: hidden;
202
212
  background-color: ${r.ui.background__default.rgba};
203
213
  height: ${({$shouldShowLabel:e,$maxHeight:t})=>t||(e?d`calc(100% - 16px)`:`100%`)};
204
214
  `,C=u.div`
205
215
  position: sticky;
206
216
  top: 0;
207
217
  z-index: 1;
208
- `,w=u.button`
218
+ `,w=u.div`
219
+ flex: 1;
220
+ min-height: 0;
221
+ overflow: auto;
222
+ `,T=u.button`
209
223
  width: 100%;
210
224
  display: flex;
211
225
  align-items: center;
@@ -222,19 +236,19 @@ import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS
222
236
  &:focus-visible {
223
237
  outline: 2px dashed ${r.interactive.primary__resting.rgba};
224
238
  }
225
- `,T=u.hr`
239
+ `,E=u.hr`
226
240
  height: calc(100% + ${i.medium} * 2);
227
241
  justify-self: center;
228
242
  width: ${i.x_large};
229
243
  min-width: ${i.x_large};
230
- `,E=u(l)`
244
+ `,D=u(l)`
231
245
  user-select: none;
232
246
  pointer-events: none;
233
247
  position: absolute;
234
248
  color: ${r.text.static_icons__tertiary.rgba};
235
249
  top: calc(50%);
236
250
  transform: translate(0, -50%);
237
- `,D=u(l)`
251
+ `,O=u(l)`
238
252
  user-select: none;
239
253
  pointer-events: none;
240
254
  position: absolute;
@@ -246,11 +260,11 @@ import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS
246
260
  text-overflow: ellipsis;
247
261
  color: ${r.text.static_icons__default.rgba};
248
262
  max-width: 100%;
249
- `,O=u(l)`
250
- margin: ${i.medium};
251
263
  `,k=u(l)`
264
+ margin: ${i.medium};
265
+ `,A=u(l)`
252
266
  margin-left: ${i.medium};
253
- `,A=u(c)`
267
+ `,j=u(c)`
254
268
  max-height: 20rem;
255
269
  max-width: inherit;
256
270
  overflow-y: auto;
@@ -258,12 +272,16 @@ import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS
258
272
  width: inherit;
259
273
  max-width: inherit;
260
274
  }
261
- `,j=u.div`
275
+ `,M=u.div`
262
276
  display: flex;
263
277
  align-items: center;
264
278
  gap: ${i.small};
265
- `,M=u(s)`
279
+ `,N=d`
266
280
  width: 36px;
267
281
  height: 36px;
268
282
  flex-shrink: 0;
269
- `;export{_ as ClearButton,v as ComboBoxChip,h as Container,b as GroupTitle,m as HelperWrapper,p as LabelWrapper,T as MenuItemSpacer,j as MenuItemWrapper,k as NoItemsFoundText,O as NoTagFoundText,S as PersistentComboBoxWrapper,y as PersistentGroupsWrapper,w as PersistentListItem,C as PersistentStickyWrapper,E as PlaceholderText,g as Section,M as SmallButton,A as StyledMenu,x as StyledMenuItem,D as ValueText,f as Wrapper};
283
+ `,P=u(s)`
284
+ ${N}
285
+ `,F=u.div`
286
+ ${N}
287
+ `;export{s as Button,F as ChevronPlaceholder,_ as ClearButton,v as ComboBoxChip,h as Container,b as GroupTitle,m as HelperWrapper,p as LabelWrapper,E as MenuItemSpacer,M as MenuItemWrapper,A as NoItemsFoundText,k as NoTagFoundText,S as PersistentComboBoxWrapper,y as PersistentGroupsWrapper,T as PersistentListItem,w as PersistentListScrollArea,C as PersistentStickyWrapper,D as PlaceholderText,g as Section,P as SmallButton,j as StyledMenu,x as StyledMenuItem,O as ValueText,f as Wrapper};
@@ -100,4 +100,4 @@ type CommonSelectProps<T extends SelectOptionRequired> = {
100
100
  'data-testid'?: string;
101
101
  } & CustomMenuItemComponentProps<T>;
102
102
  //#endregion
103
- export { CommonSelectProps, GroupedSelectProps, ListSelectProps, MenuModeSelectProps, MultiSelectCommon, PersistentModeSelectProps, PersistentSelectProps, SelectOption, SelectOptionRequired, SingleSelectCommon };
103
+ export { CommonSelectProps, CustomMenuItemComponentProps, GroupedSelectProps, ListSelectProps, MenuModeSelectProps, MultiSelectCommon, PersistentModeSelectProps, PersistentSelectProps, SelectGroup, SelectOption, SelectOptionRequired, SelectedState, SingleSelectCommon };
@@ -1 +1 @@
1
- import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../atoms/style/spacings.js";import{getChildOffset as n}from"./Select.utils.js";import{MenuItemSpacer as r,MenuItemWrapper as i,SmallButton as a}from"./Select.styles.js";import{DynamicMenuItem as o}from"./DynamicMenuItem.js";import{useMemo as s,useRef as c,useState as l}from"react";import{Icon as u}from"@equinor/eds-core-react";import{Fragment as d,jsx as f,jsxs as p}from"react/jsx-runtime";import{chevron_down as m,chevron_right as h}from"@equinor/eds-icons";const{colors:g}=e,_=e=>{let{index:v,childOffset:y,depth:b=0,item:x,itemRefs:S,onItemKeyDown:C,onItemSelect:w,CustomMenuItemComponent:T,mode:E}=e,[D,O]=l(!1),k=c(-1),A=c([]),j=(`values`in e?e.values.map(({value:e})=>e):[]).includes(x.value),M=s(()=>Array(b).fill(0).map((e,t)=>f(r,{},`spacer-${e+t}`)),[b]),N=e=>{e.stopPropagation(),O(e=>!e)},P=e=>{!D&&e.key===`ArrowDown`||e.key===`ArrowUp`?C(e):e.key===`ArrowRight`||e.key===`ArrowLeft`?O(e=>!e):D&&e.key===`ArrowDown`&&k.current===-1&&(k.current=0,A.current[k.current+y]?.focus())},F=e=>{e.key===`ArrowDown`?k.current+=1:e.key===`ArrowUp`&&--k.current,k.current<=-1?(S.current[v]?.focus(),k.current=-1):k.current+y===A.current.length?(k.current=-1,C(e),O(!1)):k.current>=0&&k.current<A.current.length-y&&A.current[k.current+y]?.focus()};return x.children&&x.children.length>0&&`values`in e?p(d,{children:[p(i,{style:{paddingLeft:b===0?t.small:0},children:[M,f(a,{variant:`ghost_icon`,onClick:N,"data-testid":`toggle-button`,children:f(u,{color:g.interactive.primary__resting.rgba,data:D?m:h})}),f(o,{menuItemProps:e,isSelected:j,handleOnParentKeyDown:P})]}),D&&x.children.map((t,r)=>f(_,{index:y+r,childOffset:y+n(x.children,r),depth:b+1,item:t,itemRefs:A,values:e.values,onItemKeyDown:F,onItemSelect:w,mode:E,parentHasNestedItems:!0,CustomMenuItemComponent:T},`child-${r}-${t.value}-${x.value}`))]}):`values`in e?p(i,{children:[M,f(o,{menuItemProps:e,isSelected:j})]}):f(i,{children:f(o,{menuItemProps:e,isSelected:!!(e.value&&x.value===e.value.value)})})};export{_ as SelectMenuItem};
1
+ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../atoms/style/spacings.js";import{getChildOffset as n}from"./Select.utils.js";import{ChevronPlaceholder as r,MenuItemSpacer as i,MenuItemWrapper as a,SmallButton as o}from"./Select.styles.js";import{DynamicMenuItem as s}from"./DynamicMenuItem.js";import{useMemo as c,useRef as l,useState as u}from"react";import{Icon as d}from"@equinor/eds-core-react";import{Fragment as f,jsx as p,jsxs as m}from"react/jsx-runtime";import{chevron_down as h,chevron_right as g}from"@equinor/eds-icons";const{colors:_}=e,v=e=>{let{index:y,childOffset:b,depth:x=0,item:S,itemRefs:C,onItemKeyDown:w,onItemSelect:T,CustomMenuItemComponent:E,mode:D}=e,[O,k]=u(!1),A=l(-1),j=l([]),M=(`values`in e?e.values.map(({value:e})=>e):[]).includes(S.value),N=c(()=>Array(x).fill(0).map((e,t)=>p(i,{},`spacer-${e+t}`)),[x]),P=e=>{e.stopPropagation(),k(e=>!e)},F=e=>{!O&&e.key===`ArrowDown`||e.key===`ArrowUp`?w(e):e.key===`ArrowRight`||e.key===`ArrowLeft`?k(e=>!e):O&&e.key===`ArrowDown`&&A.current===-1&&(A.current=0,j.current[A.current+b]?.focus())},I=e=>{e.key===`ArrowDown`?A.current+=1:e.key===`ArrowUp`&&--A.current,A.current<=-1?(C.current[y]?.focus(),A.current=-1):A.current+b===j.current.length?(A.current=-1,w(e),k(!1)):A.current>=0&&A.current<j.current.length-b&&j.current[A.current+b]?.focus()};return S.children&&S.children.length>0&&`values`in e?m(f,{children:[m(a,{style:{paddingLeft:x===0?t.small:0},children:[N,p(o,{variant:`ghost_icon`,onClick:P,"data-testid":`toggle-button`,children:p(d,{color:_.interactive.primary__resting.rgba,data:O?h:g})}),p(s,{menuItemProps:e,isSelected:M,handleOnParentKeyDown:F})]}),O&&S.children.map((t,r)=>p(v,{index:b+r,childOffset:b+n(S.children,r),depth:x+1,item:t,itemRefs:j,values:e.values,onItemKeyDown:I,onItemSelect:T,mode:D,parentHasNestedItems:!0,CustomMenuItemComponent:E},`child-${r}-${t.value}-${S.value}`))]}):`values`in e?m(a,{children:[N,x>0&&p(r,{}),p(s,{menuItemProps:e,isSelected:M})]}):p(a,{children:p(s,{menuItemProps:e,isSelected:!!(e.value&&S.value===e.value.value)})})};export{v as SelectMenuItem};
@@ -1 +1 @@
1
- import{flattenOptions as e}from"./Select.utils.js";import{checkbox as t,checkbox_indeterminate as n,checkbox_outline as r}from"@equinor/eds-icons";const i={selected:t,indeterminate:n,none:r};function a(e,t){return i[o(e,t)]}function o(t,n){let r=n.some(e=>e.value===t.value),i=n.map(({value:e})=>e),a=e([t])?.map(({value:e})=>e);return r?`selected`:a.some(e=>i.includes(e))?`indeterminate`:`none`}export{a as getParentIcon,o as getParentState};
1
+ import{flattenOptions as e}from"./Select.utils.js";import{checkbox as t,checkbox_indeterminate as n,checkbox_outline as r}from"@equinor/eds-icons";const i={selected:t,indeterminate:n,none:r};function a(e,t){let n=o(e,t);return i[n]}function o(t,n){let r=n.some(e=>e.value===t.value),i=n.map(({value:e})=>e),a=e([t])?.map(({value:e})=>e);return r?`selected`:a.some(e=>i.includes(e))?`indeterminate`:`none`}export{a as getParentIcon,o as getParentState};
@@ -1,5 +1,5 @@
1
1
  import { CommonSelectProps, GroupedSelectProps, ListSelectProps, SelectOptionRequired, SingleSelectCommon } from "../Select.types.js";
2
- import * as react65 from "react";
2
+ import * as react173 from "react";
3
3
 
4
4
  //#region src/molecules/Select/SingleSelect/SingleSelect.d.ts
5
5
  type SingleSelectProps<T extends SelectOptionRequired> = CommonSelectProps<T> & SingleSelectCommon<T> & (ListSelectProps<T> | GroupedSelectProps<T>);
@@ -15,6 +15,6 @@ type SingleSelectProps<T extends SelectOptionRequired> = CommonSelectProps<T> &
15
15
  * @param onSearchFilter - Custom filter function for search, default is "item.label.match(new RegExp(searchValue, 'i'))"
16
16
  * @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
17
17
  */
18
- declare function SingleSelect<T extends SelectOptionRequired>(props: SingleSelectProps<T>): react65.JSX.Element;
18
+ declare function SingleSelect<T extends SelectOptionRequired>(props: SingleSelectProps<T>): react173.JSX.Element;
19
19
  //#endregion
20
20
  export { SingleSelect, SingleSelectProps };
@@ -1,4 +1,4 @@
1
- import * as react170 from "react";
1
+ import * as react174 from "react";
2
2
  import { CheckboxProps } from "@equinor/eds-core-react";
3
3
 
4
4
  //#region src/molecules/SelectionControls/Checkbox/Checkbox.d.ts
@@ -7,6 +7,6 @@ interface CheckboxProps$1 extends CheckboxProps {
7
7
  outlined?: boolean;
8
8
  error?: boolean;
9
9
  }
10
- declare const Checkbox$1: react170.ForwardRefExoticComponent<CheckboxProps$1 & react170.RefAttributes<HTMLInputElement>>;
10
+ declare const Checkbox$1: react174.ForwardRefExoticComponent<CheckboxProps$1 & react174.RefAttributes<HTMLInputElement>>;
11
11
  //#endregion
12
12
  export { Checkbox$1 as Checkbox, CheckboxProps$1 as CheckboxProps };
@@ -1,4 +1,4 @@
1
- import * as react168 from "react";
1
+ import * as react180 from "react";
2
2
  import { RadioProps } from "@equinor/eds-core-react";
3
3
 
4
4
  //#region src/molecules/SelectionControls/Radio/Radio.d.ts
@@ -7,6 +7,6 @@ interface RadioProps$1 extends RadioProps {
7
7
  outlined?: boolean;
8
8
  error?: boolean;
9
9
  }
10
- declare const Radio$1: react168.ForwardRefExoticComponent<RadioProps$1 & react168.RefAttributes<HTMLInputElement>>;
10
+ declare const Radio$1: react180.ForwardRefExoticComponent<RadioProps$1 & react180.RefAttributes<HTMLInputElement>>;
11
11
  //#endregion
12
12
  export { Radio$1 as Radio, RadioProps$1 as RadioProps };
@@ -1,10 +1,10 @@
1
- import * as react172 from "react";
1
+ import * as react178 from "react";
2
2
  import { SwitchProps } from "@equinor/eds-core-react";
3
3
 
4
4
  //#region src/molecules/SelectionControls/Switch/Switch.d.ts
5
5
  interface SwitchProps$1 extends SwitchProps {
6
6
  outlined?: boolean;
7
7
  }
8
- declare const Switch$1: react172.ForwardRefExoticComponent<SwitchProps$1 & react172.RefAttributes<HTMLInputElement>>;
8
+ declare const Switch$1: react178.ForwardRefExoticComponent<SwitchProps$1 & react178.RefAttributes<HTMLInputElement>>;
9
9
  //#endregion
10
10
  export { Switch$1 as Switch, SwitchProps$1 as SwitchProps };
@@ -1,4 +1,4 @@
1
- import * as react60 from "react";
1
+ import * as react58 from "react";
2
2
  import * as styled_components12 from "styled-components";
3
3
  import * as styled_components_dist_types5 from "styled-components/dist/types";
4
4
  import * as styled_components_dist_models_Keyframes0 from "styled-components/dist/models/Keyframes";
@@ -8,6 +8,6 @@ declare const skeletonBaseloading: styled_components_dist_models_Keyframes0.defa
8
8
  interface SkeletonBaseProps {
9
9
  $offset?: number;
10
10
  }
11
- declare const SkeletonBase: styled_components_dist_types5.IStyledComponentBase<"web", styled_components12.FastOmit<styled_components12.FastOmit<react60.DetailedHTMLProps<react60.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$offset"> & SkeletonBaseProps, never> & Partial<Pick<styled_components12.FastOmit<react60.DetailedHTMLProps<react60.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$offset"> & SkeletonBaseProps, never>>> & string;
11
+ declare const SkeletonBase: styled_components_dist_types5.IStyledComponentBase<"web", styled_components12.FastOmit<styled_components12.FastOmit<react58.DetailedHTMLProps<react58.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$offset"> & SkeletonBaseProps, never> & Partial<Pick<styled_components12.FastOmit<react58.DetailedHTMLProps<react58.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$offset"> & SkeletonBaseProps, never>>> & string;
12
12
  //#endregion
13
13
  export { SkeletonBase, SkeletonBaseProps, skeletonBaseloading };
@@ -12,4 +12,4 @@ import{colors as e}from"../../../atoms/style/colors.js";import{spacings as t}fro
12
12
  cursor: pointer;
13
13
  }
14
14
  `:``}
15
- `,d=({index:t,onlyShowCurrentStepLabel:o=!1,children:s,allowJumpingAhead:d=!1})=>{let{currentStep:f,setCurrentStep:p,isStepAtIndexDisabled:m}=n(),h=m(t),g=i(()=>t<f?`body_short`:`body_short_bold`,[f,t,d]),_=i(()=>h||t>f&&!d?e.interactive.disabled__text.rgba:e.text.static_icons__default.rgba,[f,t,h,d]),v=i(()=>h?!1:!!(t<f||d&&t>f),[t,f,h,d]);return l(u,{"data-testid":`step`,$clickable:v,onClick:()=>{v&&p(t)},onKeyDown:e=>{v&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(t))},$disabled:h,"aria-disabled":!v,role:`button`,tabIndex:v?0:-1,children:[c(r,{index:t,disabled:h,allowJumpingAhead:d}),(!o||f===t)&&c(a,{variant:g,color:_,children:s})]})};export{d as default};
15
+ `,d=({index:t,onlyShowCurrentStepLabel:o=!1,children:s,allowJumpingAhead:d=!1})=>{let{currentStep:f,setCurrentStep:p,isStepAtIndexDisabled:m}=n(),h=m(t),g=i(()=>t<f?`body_short`:`body_short_bold`,[f,t,d]),_=i(()=>h||t>f&&!d?e.interactive.disabled__text.rgba:e.text.static_icons__default.rgba,[f,t,h,d]),v=i(()=>h?!1:!!(t<f||d&&t>f),[t,f,h,d]);return l(u,{"data-testid":`step`,$clickable:v,onClick:()=>{v&&p(t)},onKeyDown:e=>{v&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(t))},$disabled:h,"aria-disabled":!v,role:`button`,tabIndex:v?0:-1,children:[c(r,{index:t,disabled:h,allowJumpingAhead:d}),(!o||f===t)&&c(a,{variant:g,color:_,children:s})]})};export{d as Step,d as default};
@@ -4,4 +4,4 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
4
4
  background: ${e=>e.$background};
5
5
  border: none;
6
6
  margin: 0;
7
- `,o=({done:e})=>r(a,{$background:t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e])});export{o as StepLine};
7
+ `,o=({done:e})=>{let n=t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e]);return r(a,{$background:n})};export{o as StepLine};
@@ -1,4 +1,4 @@
1
- import{spacings as e}from"../../atoms/style/spacings.js";import{useStepper as t}from"../../providers/StepperProvider.js";import n from"./Step/Step.js";import{StepLine as r}from"./StepLine.js";import{SubTitle as i}from"./SubTitle/SubTitle.js";import{useMemo as a}from"react";import o,{css as s}from"styled-components";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=o.div`
1
+ import{spacings as e}from"../../atoms/style/spacings.js";import{useStepper as t}from"../../providers/StepperProvider.js";import{Step as n}from"./Step/Step.js";import{StepLine as r}from"./StepLine.js";import{SubTitle as i}from"./SubTitle/SubTitle.js";import{useMemo as a}from"react";import o,{css as s}from"styled-components";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e.xx_large};
@@ -84,7 +84,11 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
84
84
  background: ${e.interactive.primary__resting.rgba};
85
85
  `,c=r.span`
86
86
  display: flex;
87
+ justify-content: center;
88
+ align-items: center;
87
89
  padding: ${t.x_small} ${t.small};
90
+ min-width: 24px;
91
+ min-height: 24px;
88
92
  background: ${e.interactive.primary__resting.rgba};
89
93
  border-radius: ${n.rounded.borderRadius};
90
94
  > span {
@@ -1,5 +1,5 @@
1
1
  import { Tabs as Tabs$1 } from "./Tabs.types.js";
2
- import * as react26 from "react";
2
+ import * as react57 from "react";
3
3
  import { HTMLAttributes, Ref } from "react";
4
4
 
5
5
  //#region src/molecules/Tabs/Tabs.d.ts
@@ -27,6 +27,6 @@ declare function Tabs<T>({
27
27
  onHover,
28
28
  ref,
29
29
  ...rest
30
- }: TabsProps<T>): react26.JSX.Element;
30
+ }: TabsProps<T>): react57.JSX.Element;
31
31
  //#endregion
32
32
  export { Tabs, TabsProps };
@@ -6,4 +6,4 @@ interface WavesProps {
6
6
  }
7
7
  declare const Waves: FC<WavesProps>;
8
8
  //#endregion
9
- export { Waves };
9
+ export { Waves, WavesProps };
@@ -52,4 +52,4 @@ import { Radio as Radio$1, RadioProps as RadioProps$1 } from "./SelectionControl
52
52
  import { Switch as Switch$1, SwitchProps as SwitchProps$1 } from "./SelectionControls/Switch/Switch.js";
53
53
  import { Waves } from "./Waves/Waves.js";
54
54
  import { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, CircularProgress as CircularProgress$1, CircularProgressProps, Dialog as EDSDialog, DialogProps as EDSDialogProps, Divider as Divider$1, DividerProps, DotProgress as DotProgress$1, DotProgressProps, Icon as Icon$1, IconProps as IconProps$1, LinearProgress as LinearProgress$1, LinearProgressProps, Menu as Menu$1, MenuProps, SearchProps as SearchProps$1, Typography as Typography$1, TypographyProps } from "@equinor/eds-core-react";
55
- export { Accordion, type AccordionHeaderActionsProps, type AccordionHeaderProps, type AccordionHeaderTitleProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, CircularProgress$1 as CircularProgress, type CircularProgressProps, Divider$1 as Divider, type DividerProps, DotProgress$1 as DotProgress, type DotProgressProps, EDSDialog, type EDSDialogProps, Icon$1 as Icon, type IconProps$1 as IconProps, LinearProgress$1 as LinearProgress, type LinearProgressProps, Menu$1 as Menu, type MenuProps, type SearchProps$1 as SearchProps, Typography$1 as Typography, type TypographyProps };
55
+ export { Accordion, type AccordionHeaderActionsProps, type AccordionHeaderProps, type AccordionHeaderTitleProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, AmplifyBar, AmplifyKit, AnimatedCheckmark, ApplicationIcon, type ApplicationIconProps, Badge, type BadgeProps, Banner, type BannerProps, type BaseChipProps, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button$1 as Button, type ButtonProps, Checkbox$1 as Checkbox, type CheckboxProps$1 as CheckboxProps, Chip$1 as Chip, CircularProgress$1 as CircularProgress, type CircularProgressProps, ComboBox, ComboBoxChip, type ComboBoxProps, Confetti, type ConfettiBoomProps, type ConfettiProps, type ConfettiShowerProps, DEFAULT_FEATURES, DatePicker$1 as DatePicker, type DatePickerProps$1 as DatePickerProps, DateRangePicker$1 as DateRangePicker, type DateRangePickerProps$1 as DateRangePickerProps, Dialog$1 as Dialog, type DialogAction, type DialogProps$1 as DialogProps, Divider$1 as Divider, type DividerProps, DotProgress$1 as DotProgress, type DotProgressProps, EDSDialog, type EDSDialogProps, EditorMenu, EditorPanel, EditorText, EquinorLogo, type EquinorLogoProps, FeedBackIcon, type FeedBackIconProps, FileProgress, type FileProgressProps, type FileProgressPropsExtension, FileUploadArea, type FileUploadAreaProps, FullPageSpinner, type FullPageSpinnerProps, Icon$1 as Icon, IconButton, type IconButtonProps, IconCell, type IconCellColor, type IconCellColorObject, IconCellColors, type IconCellProps, type IconCellState, IconCellStates, type IconCellVariant, IconCellVariants, type IconProps$1 as IconProps, ImageExtensionFnProps, InfoElement, type InfoElementProps, InformationalNotice, type InformationalNoticeProps, LinearProgress$1 as LinearProgress, type LinearProgressProps, ListItem, type ListItemProps, Menu$1 as Menu, type MenuProps, OptionDrawer, type OptionDrawerProps, type OptionDrawerSelectItem, OptionalTooltip, type OptionalTooltipProps, PersistentComboBox, type PersistentComboBoxProps, ProfileAvatar, type ProfileAvatarProps, Radio$1 as Radio, type RadioProps$1 as RadioProps, RichText, RichTextDisplay, type RichTextDisplayProps, RichTextEditor, RichTextEditorFeatures, type RichTextEditorProps, Search$1 as Search, type SearchProps$1 as SearchProps, type SelectOption, type SelectOptionRequired, SingleSelect, type SingleSelectProps, SkeletonBase, type SkeletonBaseProps, SkeletonGradient, type SkeletonGradientProps, Stepper, type StepperProps, Switch$1 as Switch, type SwitchProps$1 as SwitchProps, type Tab, TableHeader, type TableHeaderProps, TableMenuBar, Tabs, type TabsProps, Tag, type TagProps, TextField$1 as TextField, type TextFieldProps$1 as TextFieldProps, TextTable, Toast, type ToastProps, Typography$1 as Typography, type TypographyProps, Waves, skeletonBaseloading };
@@ -1 +1 @@
1
- import"./FullPageSpinner/FullPageSpinner.js";import"./RichTextEditor/RichTextEditor.types.js";import"./RichTextEditor/custom-extensions/AmplifyKit.js";import"./AnimatedCheckmark/AnimatedCheckmark.js";import"./ApplicationIcon/ApplicationIcon.js";import"./Badge/Badge.js";import"./Banner/Banner.js";import"./Button/Button.js";import"./Button/IconButton/IconButton.js";import"./Chip/Chip.js";import"./Confetti/Confetti.js";import"./Skeleton/SkeletonBase/SkeletonBase.js";import"./DatePicker/DatePicker.js";import"./DateRangePicker/DateRangePicker.js";import"./OptionalTooltip/OptionalTooltip.js";import"./Dialog/Dialog.js";import"./EquinorLogo/EquinorLogo.js";import"./FileProgress/FileProgress.js";import"./FileUploadArea/FileUploadArea.js";import"./IconCell/IconCell.types.js";import"./IconCell/IconCell.js";import"./InfoElement/InfoElement.js";import"./InformationalNotice/InformationalNotice.js";import"./ProfileAvatar/ProfileAvatar.js";import"./RichTextDisplay/RichTextDisplay.js";import"./RichTextEditor/MenuBar/Table/TableBar.js";import"./TextField/TextField.js";import"./RichTextEditor/MenuBar/MenuBar.js";import"./RichTextEditor/RichTextEditor.js";import"./RichTextEditor/index.js";import"./Tabs/Tabs.js";import"./Search/Search.js";import"./Skeleton/SkeletonGradient/SkeletonGradient.js";import"./Stepper/Stepper.js";import"./OptionDrawer/OptionDrawer.js";import"./Select/Select.styles.js";import"./Select/ComboBox/ComboBox.js";import"./Select/PersistentComboBox/PersistentComboBox.js";import"./Select/SingleSelect/SingleSelect.js";import"./Tag/Tag.js";import"./TableHeader/TableHeader.js";import"./FeedBackIcon/FeedBackIcon.js";import"./ListItem/ListItem.js";import"./SelectionControls/Checkbox/Checkbox.js";import"./SelectionControls/Radio/Radio.js";import"./SelectionControls/Switch/Switch.js";import"./Waves/Waves.js";import"./Toast/Toast.js";import{Accordion as e,Breadcrumbs as t,CircularProgress as n,Dialog as r,Divider as i,DotProgress as a,Icon as o,LinearProgress as s,Menu as c,Typography as l}from"@equinor/eds-core-react";export{e as Accordion,t as Breadcrumbs,n as CircularProgress,i as Divider,a as DotProgress,r as EDSDialog,o as Icon,s as LinearProgress,c as Menu,l as Typography};
1
+ import{FullPageSpinner as e}from"./FullPageSpinner/FullPageSpinner.js";import{DEFAULT_FEATURES as t,RichTextEditorFeatures as n}from"./RichTextEditor/RichTextEditor.types.js";import{AmplifyKit as r}from"./RichTextEditor/custom-extensions/AmplifyKit.js";import{AnimatedCheckmark as i}from"./AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as a}from"./ApplicationIcon/ApplicationIcon.js";import{Badge as o}from"./Badge/Badge.js";import{Banner as s}from"./Banner/Banner.js";import{Button as c}from"./Button/Button.js";import{IconButton as l}from"./Button/IconButton/IconButton.js";import{Chip as u}from"./Chip/Chip.js";import{Confetti as d}from"./Confetti/Confetti.js";import{SkeletonBase as f,skeletonBaseloading as p}from"./Skeleton/SkeletonBase/SkeletonBase.js";import{DatePicker as m}from"./DatePicker/DatePicker.js";import{DateRangePicker as h}from"./DateRangePicker/DateRangePicker.js";import{OptionalTooltip as g}from"./OptionalTooltip/OptionalTooltip.js";import{Dialog as _}from"./Dialog/Dialog.js";import{EquinorLogo as v}from"./EquinorLogo/EquinorLogo.js";import{FileProgress as y}from"./FileProgress/FileProgress.js";import{FileUploadArea as b}from"./FileUploadArea/FileUploadArea.js";import{IconCellColors as x,IconCellStates as S,IconCellVariants as C}from"./IconCell/IconCell.types.js";import{IconCell as w}from"./IconCell/IconCell.js";import{InfoElement as T}from"./InfoElement/InfoElement.js";import{InformationalNotice as E}from"./InformationalNotice/InformationalNotice.js";import{ProfileAvatar as D}from"./ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as O}from"./RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as k,TextTable as A}from"./RichTextEditor/MenuBar/Table/TableBar.js";import{TextField as j}from"./TextField/TextField.js";import{AmplifyBar as M,EditorMenu as N,EditorText as P}from"./RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as F}from"./RichTextEditor/RichTextEditor.js";import{RichText as I}from"./RichTextEditor/index.js";import{Tabs as L}from"./Tabs/Tabs.js";import{Search as R}from"./Search/Search.js";import{SkeletonGradient as z}from"./Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as B}from"./Stepper/Stepper.js";import{OptionDrawer as V}from"./OptionDrawer/OptionDrawer.js";import{ComboBoxChip as H}from"./Select/Select.styles.js";import{ComboBox as U}from"./Select/ComboBox/ComboBox.js";import{PersistentComboBox as W}from"./Select/PersistentComboBox/PersistentComboBox.js";import{SingleSelect as G}from"./Select/SingleSelect/SingleSelect.js";import{Tag as K}from"./Tag/Tag.js";import{TableHeader as q}from"./TableHeader/TableHeader.js";import{FeedBackIcon as J}from"./FeedBackIcon/FeedBackIcon.js";import{ListItem as Y}from"./ListItem/ListItem.js";import{Checkbox as X}from"./SelectionControls/Checkbox/Checkbox.js";import{Radio as Z}from"./SelectionControls/Radio/Radio.js";import{Switch as Q}from"./SelectionControls/Switch/Switch.js";import{Waves as $}from"./Waves/Waves.js";import{Toast as ee}from"./Toast/Toast.js";import{Accordion as te,Breadcrumbs as ne,CircularProgress as re,Dialog as ie,Divider as ae,DotProgress as oe,Icon as se,LinearProgress as ce,Menu as le,Typography as ue}from"@equinor/eds-core-react";export{te as Accordion,M as AmplifyBar,r as AmplifyKit,i as AnimatedCheckmark,a as ApplicationIcon,o as Badge,s as Banner,ne as Breadcrumbs,c as Button,X as Checkbox,u as Chip,re as CircularProgress,U as ComboBox,H as ComboBoxChip,d as Confetti,t as DEFAULT_FEATURES,m as DatePicker,h as DateRangePicker,_ as Dialog,ae as Divider,oe as DotProgress,ie as EDSDialog,N as EditorMenu,P as EditorText,v as EquinorLogo,J as FeedBackIcon,y as FileProgress,b as FileUploadArea,e as FullPageSpinner,se as Icon,l as IconButton,w as IconCell,x as IconCellColors,S as IconCellStates,C as IconCellVariants,T as InfoElement,E as InformationalNotice,ce as LinearProgress,Y as ListItem,le as Menu,V as OptionDrawer,g as OptionalTooltip,W as PersistentComboBox,D as ProfileAvatar,Z as Radio,I as RichText,O as RichTextDisplay,F as RichTextEditor,n as RichTextEditorFeatures,R as Search,G as SingleSelect,f as SkeletonBase,z as SkeletonGradient,B as Stepper,Q as Switch,q as TableHeader,k as TableMenuBar,L as Tabs,K as Tag,j as TextField,A as TextTable,ee as Toast,ue as Typography,$ as Waves,p as skeletonBaseloading};
@@ -7,4 +7,4 @@ interface FaqProps {
7
7
  }
8
8
  declare const Faq: FC<FaqProps>;
9
9
  //#endregion
10
- export { Faq };
10
+ export { Faq, FaqProps };
@@ -1 +1 @@
1
- const e=e=>{let t=(e.faqs?.length??0)>0,n=e.subCategories?.some(e=>(e.faqs?.length??0)>0);return t||!!n};function t(e,t){let n=t.toLowerCase();return!e.answer||!e.question?!1:n===``?!0:e.answer.toLowerCase().includes(n)||e.question.toLowerCase().includes(n)}function n(t){return e(t)}function r(e,n){let r=(e.faqs??[]).filter(e=>!n||t(e,n)),i=(e.subCategories??[]).map(e=>{let r=(e.faqs??[]).filter(e=>!n||t(e,n));return r.length>0?{...e,faqs:r}:null}).filter(Boolean);return{...e,faqs:r,subCategories:i}}export{e as categoryHasFaqs,n as filterCategory,r as mapCategoryToSearch};
1
+ const e=e=>{let t=(e.faqs?.length??0)>0,n=e.subCategories?.some(e=>(e.faqs?.length??0)>0);return t||!!n};function t(e,t){let n=t.toLowerCase();return!e.answer||!e.question?!1:n===``?!0:e.answer.toLowerCase().includes(n)||e.question.toLowerCase().includes(n)}function n(t){return e(t)}function r(e,n){let r=(e.faqs??[]).filter(e=>!n||t(e,n)),i=(e.subCategories??[]).map(e=>{let r=(e.faqs??[]).filter(e=>!n||t(e,n));return r.length>0?{...e,faqs:r}:null}).filter(Boolean);return{...e,faqs:r,subCategories:i}}export{e as categoryHasFaqs,t as faqInSearch,n as filterCategory,r as mapCategoryToSearch};
@@ -21,4 +21,4 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
21
21
  span {
22
22
  text-transform: capitalize;
23
23
  }
24
- `,m=({fieldName:e,onChangedField:t,finishedText:a})=>{let{finished:s,progress:m}=r({onDone:t});return l(d,{children:s?u(c,{children:[u(p,{variant:`h3`,children:[`Changed to `,l(`span`,{children:n(e)})]}),l(i,{}),l(o,{variant:`h6`,children:a})]}):u(c,{children:[u(o,{variant:`h3`,children:[`Changing field.`,`.`.repeat(m/35)]}),l(f,{variant:`determinate`,value:m})]})})};export{m as ChangingField};
24
+ `,m=({fieldName:e,onChangedField:t,finishedText:a})=>{let{finished:s,progress:m}=r({onDone:t});return l(d,{children:s?u(c,{children:[u(p,{variant:`h3`,children:[`Changed to `,l(`span`,{children:n(e)})]}),l(i,{}),l(o,{variant:`h6`,children:a})]}):u(c,{children:[u(o,{variant:`h3`,children:[`Changing field.`,`.`.repeat(m/35)]}),l(f,{variant:`determinate`,value:m})]})})};export{m as ChangingField,f as LinearProgress};
@@ -8,4 +8,4 @@ import{colors as e}from"../../atoms/style/colors.js";import{findStartAndEndIndex
8
8
  > span {
9
9
  color: transparent;
10
10
  }
11
- `;function c({search:e,autoCompleteOptions:r}){let i=n({autoCompleteOptions:r,searchValue:e});if(i.length===0)return null;let c=i[0],[l,u]=t({searchValue:e,label:c.label});return l===0?o(s,{children:[a(`span`,{children:e.slice(0,e.length)}),c.label.slice(u+1)]}):null}export{c as AutoCompleteText};
11
+ `;function c({search:e,autoCompleteOptions:r}){let i=n({autoCompleteOptions:r,searchValue:e});if(i.length===0)return null;let c=i[0],[l,u]=t({searchValue:e,label:c.label});return l===0?o(s,{children:[a(`span`,{children:e.slice(0,e.length)}),c.label.slice(u+1)]}):null}export{c as AutoCompleteText,s as StyledTypography};
@@ -1,5 +1,5 @@
1
1
  import { FilterProps } from "./Filter.types.js";
2
- import * as react175 from "react";
2
+ import * as react187 from "react";
3
3
 
4
4
  //#region src/organisms/Filter/Filter.d.ts
5
5
 
@@ -32,6 +32,6 @@ declare function Filter<T extends string>({
32
32
  id,
33
33
  openOnFocus,
34
34
  ...rest
35
- }: FilterProps<T>): react175.JSX.Element;
35
+ }: FilterProps<T>): react187.JSX.Element;
36
36
  //#endregion
37
37
  export { Filter };
@@ -26,4 +26,4 @@ interface FilterWithAutoCompleteOptions<T extends string> extends CommonFilterPr
26
26
  }
27
27
  type FilterProps<T extends string> = CommonFilterProps<T> | FilterWithAutoCompleteOptions<T>;
28
28
  //#endregion
29
- export { FilterProps };
29
+ export { FilterProps, FilterWithAutoCompleteOptions };
@@ -1,6 +1,6 @@
1
1
  import { SelectOptionRequired } from "../../molecules/Select/Select.types.js";
2
2
  import { FilterProps } from "./Filter.types.js";
3
- import * as react176 from "react";
3
+ import * as react188 from "react";
4
4
 
5
5
  //#region src/organisms/Filter/QuickFilter.d.ts
6
6
  interface QuickFilterProps<T extends string> {
@@ -14,6 +14,6 @@ declare function QuickFilter<T extends string>({
14
14
  items,
15
15
  onQuickFilter,
16
16
  label
17
- }: QuickFilterProps<T>): react176.JSX.Element;
17
+ }: QuickFilterProps<T>): react188.JSX.Element;
18
18
  //#endregion
19
19
  export { QuickFilter };
@@ -1,4 +1,4 @@
1
- import * as react174 from "react";
1
+ import * as react186 from "react";
2
2
 
3
3
  //#region src/organisms/Filter/SortMenu.d.ts
4
4
  interface SortMenuProps<S> {
@@ -13,6 +13,6 @@ declare function SortMenu<S>({
13
13
  value,
14
14
  onChange,
15
15
  items
16
- }: SortMenuProps<S>): react174.JSX.Element;
16
+ }: SortMenuProps<S>): react186.JSX.Element;
17
17
  //#endregion
18
18
  export { SortMenu };
@@ -7,4 +7,4 @@ type MenuItemProps = {
7
7
  } & SideBarMenuItem;
8
8
  declare const MenuItem: FC<MenuItemProps>;
9
9
  //#endregion
10
- export { MenuItem };
10
+ export { MenuItem, MenuItemProps };
@@ -1,4 +1,4 @@
1
- import * as react177 from "react";
1
+ import * as react189 from "react";
2
2
  import { HTMLAttributes, ReactNode } from "react";
3
3
 
4
4
  //#region src/organisms/SideBar/SideBar.d.ts
@@ -16,6 +16,6 @@ interface SideBarWithCreate extends SideBarProps {
16
16
  createDisabled?: boolean;
17
17
  createActive?: boolean;
18
18
  }
19
- declare const SideBar: react177.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react177.RefAttributes<HTMLDivElement>>;
19
+ declare const SideBar: react189.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react189.RefAttributes<HTMLDivElement>>;
20
20
  //#endregion
21
21
  export { SideBar };
@@ -12,4 +12,4 @@ type SidebarType = typeof SideBar$1 & {
12
12
  type ItemType = SideBarMenuItem;
13
13
  declare const SideBar: SidebarType;
14
14
  //#endregion
15
- export { type ItemType, SideBar };
15
+ export { type ItemType, SideBar, type SidebarType };
@@ -1,10 +1,10 @@
1
- import * as react187 from "react";
1
+ import * as react196 from "react";
2
2
 
3
3
  //#region src/organisms/Status/Action.d.ts
4
4
  interface ActionProps {
5
5
  onClick: () => void;
6
6
  buttonText?: string;
7
7
  }
8
- declare const Action: react187.ForwardRefExoticComponent<ActionProps & react187.RefAttributes<HTMLButtonElement>>;
8
+ declare const Action: react196.ForwardRefExoticComponent<ActionProps & react196.RefAttributes<HTMLButtonElement>>;
9
9
  //#endregion
10
10
  export { Action };
@@ -1,9 +1,9 @@
1
- import * as react183 from "react";
1
+ import * as react202 from "react";
2
2
 
3
3
  //#region src/organisms/Status/Description.d.ts
4
4
  interface DescriptionProps {
5
5
  text?: string;
6
6
  }
7
- declare const Description: react183.ForwardRefExoticComponent<DescriptionProps & react183.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Description: react202.ForwardRefExoticComponent<DescriptionProps & react202.RefAttributes<HTMLHeadingElement>>;
8
8
  //#endregion
9
9
  export { Description };
@@ -1,4 +1,4 @@
1
- import * as react189 from "react";
1
+ import * as react200 from "react";
2
2
 
3
3
  //#region src/organisms/Status/MissingAccesses.d.ts
4
4
  interface AccessType {
@@ -9,6 +9,6 @@ interface MissingAccessesProps {
9
9
  accesses?: AccessType[];
10
10
  text?: string;
11
11
  }
12
- declare const MissingAccesses: react189.ForwardRefExoticComponent<MissingAccessesProps & react189.RefAttributes<HTMLDivElement>>;
12
+ declare const MissingAccesses: react200.ForwardRefExoticComponent<MissingAccessesProps & react200.RefAttributes<HTMLDivElement>>;
13
13
  //#endregion
14
14
  export { MissingAccesses };
@@ -1,9 +1,9 @@
1
- import * as react185 from "react";
1
+ import * as react198 from "react";
2
2
 
3
3
  //#region src/organisms/Status/Title.d.ts
4
4
  interface TitleProps {
5
5
  title?: string;
6
6
  }
7
- declare const Title: react185.ForwardRefExoticComponent<TitleProps & react185.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Title: react198.ForwardRefExoticComponent<TitleProps & react198.RefAttributes<HTMLHeadingElement>>;
8
8
  //#endregion
9
9
  export { Title };
@@ -1,4 +1,4 @@
1
- import * as react191 from "react";
1
+ import * as react195 from "react";
2
2
 
3
3
  //#region src/organisms/Status/collections/BadRequest.d.ts
4
4
  interface BadRequestProps {
@@ -12,6 +12,6 @@ declare const BadRequest: ({
12
12
  redirectFallbackUrl,
13
13
  onBackClick,
14
14
  hideBackButton
15
- }: BadRequestProps) => react191.JSX.Element;
15
+ }: BadRequestProps) => react195.JSX.Element;
16
16
  //#endregion
17
17
  export { BadRequest };
@@ -1,4 +1,4 @@
1
- import * as react192 from "react";
1
+ import * as react191 from "react";
2
2
 
3
3
  //#region src/organisms/Status/collections/GenericError.d.ts
4
4
  interface GenericErrorProps {
@@ -14,6 +14,6 @@ declare const GenericError: ({
14
14
  redirectFallbackUrl,
15
15
  onBackClick,
16
16
  hideBackButton
17
- }: GenericErrorProps) => react192.JSX.Element;
17
+ }: GenericErrorProps) => react191.JSX.Element;
18
18
  //#endregion
19
19
  export { GenericError };
@@ -1,4 +1,4 @@
1
- import * as react193 from "react";
1
+ import * as react192 from "react";
2
2
 
3
3
  //#region src/organisms/Status/collections/MissingPermissions.d.ts
4
4
  interface MissingPermissionsProps {
@@ -14,6 +14,6 @@ declare const MissingPermissions: ({
14
14
  redirectFallbackUrl,
15
15
  onBackClick,
16
16
  hideBackButton
17
- }: MissingPermissionsProps) => react193.JSX.Element;
17
+ }: MissingPermissionsProps) => react192.JSX.Element;
18
18
  //#endregion
19
19
  export { MissingPermissions };
@@ -1,4 +1,4 @@
1
- import * as react194 from "react";
1
+ import * as react193 from "react";
2
2
 
3
3
  //#region src/organisms/Status/collections/PageNotFound.d.ts
4
4
  interface PageNotFoundProps {
@@ -12,6 +12,6 @@ declare const PageNotFound: ({
12
12
  redirectFallbackUrl,
13
13
  onBackClick,
14
14
  hideBackButton
15
- }: PageNotFoundProps) => react194.JSX.Element;
15
+ }: PageNotFoundProps) => react193.JSX.Element;
16
16
  //#endregion
17
17
  export { PageNotFound };
@@ -1,4 +1,4 @@
1
- import * as react195 from "react";
1
+ import * as react194 from "react";
2
2
 
3
3
  //#region src/organisms/Status/collections/ServerError.d.ts
4
4
  interface ServerErrorProps {
@@ -12,6 +12,6 @@ declare const ServerError: ({
12
12
  redirectFallbackUrl,
13
13
  onBackClick,
14
14
  hideBackButton
15
- }: ServerErrorProps) => react195.JSX.Element;
15
+ }: ServerErrorProps) => react194.JSX.Element;
16
16
  //#endregion
17
17
  export { ServerError };
@@ -13,4 +13,4 @@ type StatusType = typeof Status$1 & {
13
13
  };
14
14
  declare const Status: StatusType;
15
15
  //#endregion
16
- export { Status };
16
+ export { Status, type StatusType };
@@ -1,7 +1,7 @@
1
1
  import { ToggleGroup as ToggleGroup$1 } from "./ToggleGroup.types.js";
2
- import * as react198 from "react";
2
+ import * as react206 from "react";
3
3
 
4
4
  //#region src/organisms/ToggleGroup/ToggleGroup.d.ts
5
- declare const ToggleGroup: react198.ForwardRefExoticComponent<ToggleGroup$1 & react198.RefAttributes<HTMLDivElement>>;
5
+ declare const ToggleGroup: react206.ForwardRefExoticComponent<ToggleGroup$1 & react206.RefAttributes<HTMLDivElement>>;
6
6
  //#endregion
7
7
  export { ToggleGroup };
@@ -1,9 +1,9 @@
1
1
  import { ToggleGroupOption as ToggleGroupOption$1 } from "./ToggleGroup.types.js";
2
- import * as react196 from "react";
2
+ import * as react204 from "react";
3
3
  import { HTMLAttributes } from "react";
4
4
 
5
5
  //#region src/organisms/ToggleGroup/ToggleGroupOption.d.ts
6
6
  type ToggleGroupOptionProps = ToggleGroupOption$1 & Omit<HTMLAttributes<HTMLButtonElement>, 'onToggle' | 'disabled'>;
7
- declare const ToggleGroupOption: react196.ForwardRefExoticComponent<ToggleGroupOptionProps & react196.RefAttributes<HTMLButtonElement>>;
7
+ declare const ToggleGroupOption: react204.ForwardRefExoticComponent<ToggleGroupOptionProps & react204.RefAttributes<HTMLButtonElement>>;
8
8
  //#endregion
9
9
  export { ToggleGroupOption };
@@ -55,4 +55,4 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
55
55
  fill: ${e.interactive.disabled__text.rgba};
56
56
  }
57
57
  }
58
- `,d=i(({checked:e,onToggle:t,icon:n,disabled:i,...s},d)=>l(u,{ref:d,"aria-checked":e,onClick:()=>{t(!e)},disabled:i,...`tooltip`in s?{...s,tooltip:void 0,toolTipPlacement:void 0}:{...s},children:[n?`tooltip`in s&&s.tooltip?c(r,{title:s.tooltip,placement:s.tooltipPlacement,children:c(a,{data:n,size:24})}):c(a,{data:n,size:24}):null,`label`in s?c(o,{as:`span`,variant:`button`,group:`navigation`,children:s.label}):null]}));d.displayName=`ToggleGroupOption`;export{d as ToggleGroupOption};
58
+ `,d=i(({checked:e,onToggle:t,icon:n,disabled:i,...s},d)=>{let f=`tooltip`in s?{...s,tooltip:void 0,toolTipPlacement:void 0}:{...s};return l(u,{ref:d,"aria-checked":e,onClick:()=>{t(!e)},disabled:i,...f,children:[n?`tooltip`in s&&s.tooltip?c(r,{title:s.tooltip,placement:s.tooltipPlacement,children:c(a,{data:n,size:24})}):c(a,{data:n,size:24}):null,`label`in s?c(o,{as:`span`,variant:`button`,group:`navigation`,children:s.label}):null]})});d.displayName=`ToggleGroupOption`;export{d as ToggleGroupOption};
@@ -11,4 +11,4 @@ interface AccountProps {
11
11
  }
12
12
  declare const Account: FC<AccountProps>;
13
13
  //#endregion
14
- export { Account };
14
+ export { Account, AccountProps };
@@ -6,4 +6,4 @@ import{spacings as e}from"../../../atoms/style/spacings.js";import{useAuth as t}
6
6
  background: ${({$variant:e})=>s(e).chipBackground};
7
7
  outline: none;
8
8
  padding: 0;
9
- `,h=l(({onClick:e,environmentToggle:n},s)=>{let{account:l,photo:u}=t(),{data:h}=i(),g=n.length>0,_=n.map(e=>o(e.value)),v=h?.roles?.sort()??[];return f(p,{children:[v.at(0)&&d(m,{$variant:`impersonate`,children:v[0]}),v.length>1&&d(m,{$variant:`impersonate`,children:`+${v.length-1}`}),g&&_.at(0)&&d(m,{$variant:`environment`,children:_[0]}),_.length>1&&d(m,{$variant:`environment`,children:`+${_.length-1}`}),d(a,{ref:s,onClick:e,children:g&&h?d(c,{size:36,variant:`combined`}):g?d(c,{size:36,name:n.map(e=>e.value).join(`, `),variant:`environment`}):h?d(c,{size:36,variant:`impersonate`}):d(r,{size:36,name:l?.name,url:u})})]})});h.displayName=`AccountButton`;export{h as AccountButton};
9
+ `,h=l(({onClick:e,environmentToggle:n},s)=>{let{account:l,photo:u}=t(),{data:h}=i(),g=n.length>0,_=n.map(e=>o(e.value)),v=h?.roles?.sort()??[];return f(p,{children:[v.at(0)&&d(m,{$variant:`impersonate`,children:v[0]}),v.length>1&&d(m,{$variant:`impersonate`,children:`+${v.length-1}`}),g&&_.at(0)&&d(m,{$variant:`environment`,children:_[0]}),_.length>1&&d(m,{$variant:`environment`,children:`+${_.length-1}`}),d(a,{ref:s,onClick:e,children:g&&h?d(c,{size:36,variant:`combined`}):g?d(c,{size:36,name:n.map(e=>e.value).join(`, `),variant:`environment`}):h?d(c,{size:36,variant:`impersonate`}):d(r,{size:36,name:l?.name,url:u})})]})});h.displayName=`AccountButton`;export{h as AccountButton,m as StatusChip};