@equinor/amplify-component-lib 13.2.5-beta.1 → 13.2.5

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.js +1 -1
  2. package/dist/atoms/index.d.ts +1 -1
  3. package/dist/atoms/index.js +1 -1
  4. package/dist/atoms/style/index.d.ts +1 -1
  5. package/dist/atoms/style/index.js +1 -1
  6. package/dist/atoms/utils/auth_environment.d.ts +0 -1
  7. package/dist/atoms/utils/auth_environment.js +1 -1
  8. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +3 -3
  9. package/dist/deprecated/IconToggleButton.d.ts +3 -3
  10. package/dist/deprecated/OldStepper/OldStepLine.js +1 -1
  11. package/dist/deprecated/OldStepper/OldStepper.d.ts +1 -1
  12. package/dist/index.d.ts +1 -1
  13. package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.d.ts +1 -1
  14. package/dist/molecules/ApplicationIcon/ApplicationIcon.d.ts +1 -1
  15. package/dist/molecules/Badge/Badge.d.ts +1 -1
  16. package/dist/molecules/Button/Button.js +1 -1
  17. package/dist/molecules/Button/IconButton/IconButton.js +1 -1
  18. package/dist/molecules/Chip/Chip.d.ts +3 -3
  19. package/dist/molecules/Chip/Chip.styles.js +1 -1
  20. package/dist/molecules/Confetti/Confetti.types.d.ts +1 -1
  21. package/dist/molecules/Confetti/utils/seasonalColors.js +1 -1
  22. package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
  23. package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
  24. package/dist/molecules/Dialog/Dialog.d.ts +2 -2
  25. package/dist/molecules/EquinorLogo/EquinorLogo.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 +3 -3
  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 +7 -7
  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/PersistentComboBox/PersistentComboBox.d.ts +2 -2
  43. package/dist/molecules/Select/Select.styles.d.ts +7 -7
  44. package/dist/molecules/Select/Select.styles.js +1 -1
  45. package/dist/molecules/Select/Select.types.d.ts +1 -1
  46. package/dist/molecules/Select/SelectMenuItem.utils.js +1 -1
  47. package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
  48. package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
  49. package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
  50. package/dist/molecules/SelectionControls/Switch/Switch.d.ts +2 -2
  51. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +4 -4
  52. package/dist/molecules/Stepper/Step/Step.js +1 -1
  53. package/dist/molecules/Stepper/StepLine.js +1 -1
  54. package/dist/molecules/Stepper/Stepper.js +1 -1
  55. package/dist/molecules/Tabs/Tabs.d.ts +2 -2
  56. package/dist/molecules/Waves/Waves.d.ts +1 -1
  57. package/dist/molecules/index.d.ts +1 -1
  58. package/dist/molecules/index.js +1 -1
  59. package/dist/organisms/DataGrid/DataGrid.d.ts +2 -2
  60. package/dist/organisms/Faq/Faq.d.ts +1 -1
  61. package/dist/organisms/Faq/Faq.utils.js +1 -1
  62. package/dist/organisms/FieldSelector/ChangingField.js +1 -1
  63. package/dist/organisms/Filter/AutoCompleteText.js +1 -1
  64. package/dist/organisms/Filter/Filter.d.ts +2 -2
  65. package/dist/organisms/Filter/Filter.types.d.ts +1 -1
  66. package/dist/organisms/Filter/QuickFilter.d.ts +2 -2
  67. package/dist/organisms/Filter/SortMenu.d.ts +2 -2
  68. package/dist/organisms/ReleaseNote/ReleaseNote.d.ts +3 -3
  69. package/dist/organisms/SideBar/MenuItem/CollapsableMenuItem.js +4 -1
  70. package/dist/organisms/SideBar/MenuItem/MenuItem.d.ts +1 -1
  71. package/dist/organisms/SideBar/SideBar.d.ts +2 -2
  72. package/dist/organisms/SideBar/index.d.ts +1 -1
  73. package/dist/organisms/Status/Action.d.ts +2 -2
  74. package/dist/organisms/Status/Description.d.ts +2 -2
  75. package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
  76. package/dist/organisms/Status/Title.d.ts +2 -2
  77. package/dist/organisms/Status/collections/BadRequest.d.ts +2 -2
  78. package/dist/organisms/Status/collections/GenericError.d.ts +2 -2
  79. package/dist/organisms/Status/collections/MissingPermissions.d.ts +2 -2
  80. package/dist/organisms/Status/collections/PageNotFound.d.ts +2 -2
  81. package/dist/organisms/Status/collections/ServerError.d.ts +2 -2
  82. package/dist/organisms/Status/index.d.ts +1 -1
  83. package/dist/organisms/Template/Template.d.ts +5 -5
  84. package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
  85. package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
  86. package/dist/organisms/ToggleGroup/ToggleGroupOption.js +1 -1
  87. package/dist/organisms/TopBar/Account/Account.d.ts +1 -1
  88. package/dist/organisms/TopBar/Account/AccountButton.js +1 -1
  89. package/dist/organisms/TopBar/Actions.d.ts +2 -2
  90. package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +3 -3
  91. package/dist/organisms/TopBar/Guidelines/Guidelines.d.ts +1 -1
  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 +3 -26
  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 +1 -1
@@ -1,8 +1,8 @@
1
1
  import { BaseChipProps, ClickableChipProps, DeletableChipProps } from "../Chip/Chip.js";
2
- import * as react58 from "react";
2
+ import * as react68 from "react";
3
3
  import "@equinor/eds-core-react";
4
- import * as styled_components11 from "styled-components";
5
- import * as styled_components_dist_types5 from "styled-components/dist/types";
4
+ import * as styled_components15 from "styled-components";
5
+ import * as styled_components_dist_types6 from "styled-components/dist/types";
6
6
 
7
7
  //#region src/molecules/Select/Select.styles.d.ts
8
8
 
@@ -11,15 +11,15 @@ interface ComboBoxChipProps {
11
11
  $lightBackground?: boolean;
12
12
  className: string;
13
13
  }
14
- declare const ComboBoxChip: styled_components_dist_types5.IStyledComponentBase<"web", styled_components11.FastOmit<styled_components11.FastOmit<((Omit<react58.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
14
+ declare const ComboBoxChip: styled_components_dist_types6.IStyledComponentBase<"web", styled_components15.FastOmit<styled_components15.FastOmit<((Omit<react68.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
15
15
  onClick?: undefined;
16
16
  onDelete?: undefined;
17
- }) | ClickableChipProps | DeletableChipProps)) & react58.RefAttributes<HTMLDivElement | HTMLButtonElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never> & Partial<Pick<styled_components11.FastOmit<((Omit<react58.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
17
+ }) | ClickableChipProps | DeletableChipProps)) & react68.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types6.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never> & Partial<Pick<styled_components15.FastOmit<((Omit<react68.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
18
18
  onClick?: undefined;
19
19
  onDelete?: undefined;
20
- }) | ClickableChipProps | DeletableChipProps)) & react58.RefAttributes<HTMLDivElement | HTMLButtonElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never>>> & string & Omit<react58.ForwardRefExoticComponent<(Omit<react58.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
20
+ }) | ClickableChipProps | DeletableChipProps)) & react68.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types6.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never>>> & string & Omit<react68.ForwardRefExoticComponent<(Omit<react68.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
21
21
  onClick?: undefined;
22
22
  onDelete?: undefined;
23
- }) | ClickableChipProps | DeletableChipProps)) & react58.RefAttributes<HTMLDivElement | HTMLButtonElement>>, keyof react58.Component<any, {}, any>>;
23
+ }) | ClickableChipProps | DeletableChipProps)) & react68.RefAttributes<HTMLButtonElement | HTMLDivElement>>, keyof react68.Component<any, {}, any>>;
24
24
  //#endregion
25
25
  export { ComboBoxChip };
@@ -284,4 +284,4 @@ import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS
284
284
  ${N}
285
285
  `,F=u.div`
286
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};
287
+ `;export{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, CustomMenuItemComponentProps, GroupedSelectProps, ListSelectProps, MenuModeSelectProps, MultiSelectCommon, PersistentModeSelectProps, PersistentSelectProps, SelectGroup, SelectOption, SelectOptionRequired, SelectedState, SingleSelectCommon };
103
+ export { CommonSelectProps, GroupedSelectProps, ListSelectProps, MenuModeSelectProps, MultiSelectCommon, PersistentModeSelectProps, PersistentSelectProps, SelectOption, SelectOptionRequired, SingleSelectCommon };
@@ -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){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
+ 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,5 +1,5 @@
1
1
  import { CommonSelectProps, GroupedSelectProps, ListSelectProps, SelectOptionRequired, SingleSelectCommon } from "../Select.types.js";
2
- import * as react165 from "react";
2
+ import * as react67 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>): react165.JSX.Element;
18
+ declare function SingleSelect<T extends SelectOptionRequired>(props: SingleSelectProps<T>): react67.JSX.Element;
19
19
  //#endregion
20
20
  export { SingleSelect, SingleSelectProps };
@@ -1,4 +1,4 @@
1
- import * as react168 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: react168.ForwardRefExoticComponent<CheckboxProps$1 & react168.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 react170 from "react";
1
+ import * as react178 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: react170.ForwardRefExoticComponent<RadioProps$1 & react170.RefAttributes<HTMLInputElement>>;
10
+ declare const Radio$1: react178.ForwardRefExoticComponent<RadioProps$1 & react178.RefAttributes<HTMLInputElement>>;
11
11
  //#endregion
12
12
  export { Radio$1 as Radio, RadioProps$1 as RadioProps };
@@ -1,10 +1,10 @@
1
- import * as react173 from "react";
1
+ import * as react180 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: react173.ForwardRefExoticComponent<SwitchProps$1 & react173.RefAttributes<HTMLInputElement>>;
8
+ declare const Switch$1: react180.ForwardRefExoticComponent<SwitchProps$1 & react180.RefAttributes<HTMLInputElement>>;
9
9
  //#endregion
10
10
  export { Switch$1 as Switch, SwitchProps$1 as SwitchProps };
@@ -1,6 +1,6 @@
1
- import * as react50 from "react";
2
- import * as styled_components8 from "styled-components";
3
- import * as styled_components_dist_types4 from "styled-components/dist/types";
1
+ import * as react58 from "react";
2
+ import * as styled_components12 from "styled-components";
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";
5
5
 
6
6
  //#region src/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts
@@ -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_types4.IStyledComponentBase<"web", styled_components8.FastOmit<styled_components8.FastOmit<react50.DetailedHTMLProps<react50.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$offset"> & SkeletonBaseProps, never> & Partial<Pick<styled_components8.FastOmit<react50.DetailedHTMLProps<react50.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 Step,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 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})=>{let n=t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e]);return r(a,{$background:n})};export{o as StepLine};
7
+ `,o=({done:e})=>r(a,{$background:t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e])});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{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`
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`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e.xx_large};
@@ -1,5 +1,5 @@
1
1
  import { Tabs as Tabs$1 } from "./Tabs.types.js";
2
- import * as react35 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>): react35.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, WavesProps };
9
+ export { Waves };
@@ -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, 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 };
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 };
@@ -1 +1 @@
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};
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,7 +1,7 @@
1
- import * as react172 from "react";
1
+ import * as react6 from "react";
2
2
  import { EdsDataGridProps } from "@equinor/eds-data-grid-react";
3
3
 
4
4
  //#region src/organisms/DataGrid/DataGrid.d.ts
5
- declare const DataGrid: <T>(props: EdsDataGridProps<T>) => react172.JSX.Element;
5
+ declare const DataGrid: <T>(props: EdsDataGridProps<T>) => react6.JSX.Element;
6
6
  //#endregion
7
7
  export { DataGrid };
@@ -7,4 +7,4 @@ interface FaqProps {
7
7
  }
8
8
  declare const Faq: FC<FaqProps>;
9
9
  //#endregion
10
- export { Faq, FaqProps };
10
+ export { Faq };
@@ -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,t as faqInSearch,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,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,f as LinearProgress};
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};
@@ -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,s as StyledTypography};
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};
@@ -1,5 +1,5 @@
1
1
  import { FilterProps } from "./Filter.types.js";
2
- import * as react207 from "react";
2
+ import * as react183 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>): react207.JSX.Element;
35
+ }: FilterProps<T>): react183.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, FilterWithAutoCompleteOptions };
29
+ export { FilterProps };
@@ -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 react206 from "react";
3
+ import * as react184 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>): react206.JSX.Element;
17
+ }: QuickFilterProps<T>): react184.JSX.Element;
18
18
  //#endregion
19
19
  export { QuickFilter };
@@ -1,4 +1,4 @@
1
- import * as react205 from "react";
1
+ import * as react182 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>): react205.JSX.Element;
16
+ }: SortMenuProps<S>): react182.JSX.Element;
17
17
  //#endregion
18
18
  export { SortMenu };
@@ -1,4 +1,4 @@
1
- import * as react180 from "react";
1
+ import * as react7 from "react";
2
2
  import { ReactNode } from "react";
3
3
  import { ReleaseNote } from "@equinor/subsurface-app-management";
4
4
 
@@ -7,9 +7,9 @@ type ReleaseNoteProps = {
7
7
  actionMenu?: ReactNode;
8
8
  expanded?: boolean;
9
9
  } & ReleaseNote;
10
- declare const ReleaseNote$1: react180.ForwardRefExoticComponent<{
10
+ declare const ReleaseNote$1: react7.ForwardRefExoticComponent<{
11
11
  actionMenu?: ReactNode;
12
12
  expanded?: boolean;
13
- } & ReleaseNote & react180.RefAttributes<HTMLDivElement>>;
13
+ } & ReleaseNote & react7.RefAttributes<HTMLDivElement>>;
14
14
  //#endregion
15
15
  export { ReleaseNote$1 as ReleaseNote, ReleaseNoteProps };
@@ -45,4 +45,7 @@ import{colors as e}from"../../../atoms/style/colors.js";import{spacings as t}fro
45
45
  > p:first-child {
46
46
  grid-column: 2;
47
47
  }
48
- `,D=({icon:t,name:s,items:h,...g})=>{let{pathname:D}=C(),O=w(),k=r(D),{isOpen:A}=n(),j=r(A),M=h.some(e=>!!O({...e})),N=d(null),[P,F]=f(!1),I=()=>F(e=>!e);l(()=>{(j&&!A&&P||k!==D&&P&&!A)&&F(!1)},[P,A,D,j,k]);let L=u(()=>v(i,{title:s,placement:`right`,children:v(c,{children:y(T,{ref:N,$open:A,$active:M,$expanded:P,onClick:I,...g,children:[v(a,{"data-testid":`icon-container`,children:v(p,{data:t,size:24,color:e.interactive.primary__resting.rgba})}),A&&y(_,{children:[v(o,{$active:!1,$disabled:!1,variant:`button`,group:`navigation`,children:s}),v(p,{data:P?x:b,size:24,color:e.interactive.primary__resting.rgba})]})]})})}),[P,t,M,A,s,g]);return P&&A?y(_,{children:[L,h.map((e,t)=>v(E,{$disabled:e.disabled||!1,...e,children:v(o,{$active:M,$disabled:e.disabled||!1,variant:`button`,group:`navigation`,children:e.name})},t))]}):P?y(_,{children:[L,v(m,{open:!0,anchorEl:N.current,placement:`right-start`,onClose:I,children:h.map(e=>v(m.Item,{as:S,active:!!O({...e}),style:{width:`256px`},...e,children:e.name},`${e.to}-${e.name}`))})]}):L};export{D as CollapsableMenuItem};
48
+ `,D=h(m)`
49
+ max-height: 80vh;
50
+ overflow-y: auto;
51
+ `,O=({icon:t,name:s,items:h,...g})=>{let{pathname:O}=C(),k=w(),A=r(O),{isOpen:j}=n(),M=r(j),N=h.some(e=>!!k({...e})),P=d(null),[F,I]=f(!1),L=()=>I(e=>!e);l(()=>{(M&&!j&&F||A!==O&&F&&!j)&&I(!1)},[F,j,O,M,A]);let R=u(()=>v(i,{title:s,placement:`right`,children:v(c,{children:y(T,{ref:P,$open:j,$active:N,$expanded:F,onClick:L,...g,children:[v(a,{"data-testid":`icon-container`,children:v(p,{data:t,size:24,color:e.interactive.primary__resting.rgba})}),j&&y(_,{children:[v(o,{$active:!1,$disabled:!1,variant:`button`,group:`navigation`,children:s}),v(p,{data:F?x:b,size:24,color:e.interactive.primary__resting.rgba})]})]})})}),[F,t,N,j,s,g]);return F&&j?y(_,{children:[R,h.map((e,t)=>v(E,{$disabled:e.disabled||!1,...e,children:v(o,{$active:N,$disabled:e.disabled||!1,variant:`button`,group:`navigation`,children:e.name})},t))]}):F?y(_,{children:[R,v(D,{open:!0,anchorEl:P.current,placement:`right-start`,onClose:L,children:h.map(e=>v(m.Item,{as:S,active:!!k({...e}),style:{width:`256px`},...e,children:e.name},`${e.to}-${e.name}`))})]}):R};export{O as CollapsableMenuItem};
@@ -7,4 +7,4 @@ type MenuItemProps = {
7
7
  } & SideBarMenuItem;
8
8
  declare const MenuItem: FC<MenuItemProps>;
9
9
  //#endregion
10
- export { MenuItem, MenuItemProps };
10
+ export { MenuItem };
@@ -1,4 +1,4 @@
1
- import * as react225 from "react";
1
+ import * as react185 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: react225.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react225.RefAttributes<HTMLDivElement>>;
19
+ declare const SideBar: react185.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react185.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, type SidebarType };
15
+ export { type ItemType, SideBar };
@@ -1,10 +1,10 @@
1
- import * as react219 from "react";
1
+ import * as react198 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: react219.ForwardRefExoticComponent<ActionProps & react219.RefAttributes<HTMLButtonElement>>;
8
+ declare const Action: react198.ForwardRefExoticComponent<ActionProps & react198.RefAttributes<HTMLButtonElement>>;
9
9
  //#endregion
10
10
  export { Action };
@@ -1,9 +1,9 @@
1
- import * as react221 from "react";
1
+ import * as react200 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: react221.ForwardRefExoticComponent<DescriptionProps & react221.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Description: react200.ForwardRefExoticComponent<DescriptionProps & react200.RefAttributes<HTMLHeadingElement>>;
8
8
  //#endregion
9
9
  export { Description };
@@ -1,4 +1,4 @@
1
- import * as react223 from "react";
1
+ import * as react202 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: react223.ForwardRefExoticComponent<MissingAccessesProps & react223.RefAttributes<HTMLDivElement>>;
12
+ declare const MissingAccesses: react202.ForwardRefExoticComponent<MissingAccessesProps & react202.RefAttributes<HTMLDivElement>>;
13
13
  //#endregion
14
14
  export { MissingAccesses };
@@ -1,9 +1,9 @@
1
- import * as react217 from "react";
1
+ import * as react196 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: react217.ForwardRefExoticComponent<TitleProps & react217.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Title: react196.ForwardRefExoticComponent<TitleProps & react196.RefAttributes<HTMLHeadingElement>>;
8
8
  //#endregion
9
9
  export { Title };
@@ -1,4 +1,4 @@
1
- import * as react208 from "react";
1
+ import * as react194 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) => react208.JSX.Element;
15
+ }: BadRequestProps) => react194.JSX.Element;
16
16
  //#endregion
17
17
  export { BadRequest };
@@ -1,4 +1,4 @@
1
- import * as react209 from "react";
1
+ import * as react195 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) => react209.JSX.Element;
17
+ }: GenericErrorProps) => react195.JSX.Element;
18
18
  //#endregion
19
19
  export { GenericError };
@@ -1,4 +1,4 @@
1
- import * as react211 from "react";
1
+ import * as react191 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) => react211.JSX.Element;
17
+ }: MissingPermissionsProps) => react191.JSX.Element;
18
18
  //#endregion
19
19
  export { MissingPermissions };
@@ -1,4 +1,4 @@
1
- import * as react210 from "react";
1
+ import * as react192 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) => react210.JSX.Element;
15
+ }: PageNotFoundProps) => react192.JSX.Element;
16
16
  //#endregion
17
17
  export { PageNotFound };
@@ -1,4 +1,4 @@
1
- import * as react212 from "react";
1
+ import * as react193 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) => react212.JSX.Element;
15
+ }: ServerErrorProps) => react193.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, type StatusType };
16
+ export { Status };
@@ -1,14 +1,14 @@
1
- import * as react175 from "react";
2
- import * as styled_components48 from "styled-components";
1
+ import * as react9 from "react";
2
+ import * as styled_components0 from "styled-components";
3
3
  import { IStyledComponent } from "styled-components";
4
- import * as styled_components_dist_types40 from "styled-components/dist/types";
4
+ import * as styled_components_dist_types0 from "styled-components/dist/types";
5
5
 
6
6
  //#region src/organisms/Template/Template.d.ts
7
7
  interface ContentProps {
8
8
  $open: boolean;
9
9
  }
10
- declare const Content: styled_components_dist_types40.IStyledComponentBase<"web", styled_components48.FastOmit<styled_components48.FastOmit<react175.DetailedHTMLProps<react175.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never> & Partial<Pick<styled_components48.FastOmit<react175.DetailedHTMLProps<react175.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never>>> & string;
11
- declare const GlobalStyles: react175.NamedExoticComponent<styled_components48.ExecutionProps & object>;
10
+ declare const Content: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<styled_components0.FastOmit<react9.DetailedHTMLProps<react9.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never> & Partial<Pick<styled_components0.FastOmit<react9.DetailedHTMLProps<react9.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never>>> & string;
11
+ declare const GlobalStyles: react9.NamedExoticComponent<styled_components0.ExecutionProps & object>;
12
12
  type TemplateType = IStyledComponent<'web', any> & {
13
13
  Container: IStyledComponent<'web', any>;
14
14
  Content: typeof Content;
@@ -1,7 +1,7 @@
1
1
  import { ToggleGroup as ToggleGroup$1 } from "./ToggleGroup.types.js";
2
- import * as react229 from "react";
2
+ import * as react206 from "react";
3
3
 
4
4
  //#region src/organisms/ToggleGroup/ToggleGroup.d.ts
5
- declare const ToggleGroup: react229.ForwardRefExoticComponent<ToggleGroup$1 & react229.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 react227 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: react227.ForwardRefExoticComponent<ToggleGroupOptionProps & react227.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)=>{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};
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};
@@ -11,4 +11,4 @@ interface AccountProps {
11
11
  }
12
12
  declare const Account: FC<AccountProps>;
13
13
  //#endregion
14
- export { Account, AccountProps };
14
+ export { Account };
@@ -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,m as StatusChip};
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};
@@ -1,7 +1,7 @@
1
- import * as react215 from "react";
1
+ import * as react189 from "react";
2
2
  import { HTMLAttributes } from "react";
3
3
 
4
4
  //#region src/organisms/TopBar/Actions.d.ts
5
- declare const Actions: react215.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react215.RefAttributes<HTMLDivElement>>;
5
+ declare const Actions: react189.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react189.RefAttributes<HTMLDivElement>>;
6
6
  //#endregion
7
7
  export { Actions };