@equinor/amplify-component-lib 12.0.6 → 12.0.7

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 (45) hide show
  1. package/dist/atoms/hooks/useSelect.d.ts +3 -3
  2. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
  3. package/dist/deprecated/IconToggleButton.d.ts +2 -2
  4. package/dist/molecules/Chip/Chip.d.ts +2 -2
  5. package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
  6. package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
  7. package/dist/molecules/Dialog/Dialog.d.ts +2 -2
  8. package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
  9. package/dist/molecules/IconCell/IconCell.d.ts +2 -2
  10. package/dist/molecules/ListItem/ListItem.d.ts +2 -2
  11. package/dist/molecules/OptionDrawer/OptionDrawer.d.ts +2 -2
  12. package/dist/molecules/OptionalTooltip/OptionalTooltip.d.ts +4 -4
  13. package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
  14. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +7 -7
  15. package/dist/molecules/RichTextEditor/index.d.ts +7 -7
  16. package/dist/molecules/Search/Search.d.ts +2 -2
  17. package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
  18. package/dist/molecules/Select/PersistentComboBox/PersistentComboBox.d.ts +2 -2
  19. package/dist/molecules/Select/Select.styles.d.ts +7 -7
  20. package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
  21. package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
  22. package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
  23. package/dist/molecules/SelectionControls/Switch/Switch.d.ts +2 -2
  24. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +4 -4
  25. package/dist/organisms/DataGrid/DataGrid.d.ts +2 -2
  26. package/dist/organisms/ReleaseNote/ReleaseNote.d.ts +3 -3
  27. package/dist/organisms/SideBar/SideBar.d.ts +2 -2
  28. package/dist/organisms/SideSheet/SideSheet.d.ts +1 -0
  29. package/dist/organisms/SideSheet/SideSheet.js +1 -1
  30. package/dist/organisms/SideSheet/SideSheet.styles.js +9 -3
  31. package/dist/organisms/SideSheet/SideSheet.types.d.ts +4 -1
  32. package/dist/organisms/Status/Action.d.ts +2 -2
  33. package/dist/organisms/Status/Description.d.ts +2 -2
  34. package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
  35. package/dist/organisms/Status/Title.d.ts +2 -2
  36. package/dist/organisms/Status/collections/BadRequest.d.ts +2 -2
  37. package/dist/organisms/Status/collections/GenericError.d.ts +2 -2
  38. package/dist/organisms/Status/collections/MissingPermissions.d.ts +2 -2
  39. package/dist/organisms/Template/Template.d.ts +5 -5
  40. package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
  41. package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
  42. package/dist/organisms/TopBar/Actions.d.ts +2 -2
  43. package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -2
  44. package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
  45. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { SelectOption, SelectOptionRequired } from "../../molecules/Select/Select.types.js";
2
2
  import { SelectComponentProps } from "../../molecules/Select/Select.js";
3
- import * as react212 from "react";
3
+ import * as react211 from "react";
4
4
  import { ChangeEvent, KeyboardEvent } from "react";
5
5
 
6
6
  //#region src/atoms/hooks/useSelect.d.ts
@@ -16,8 +16,8 @@ declare const useSelect: <T extends SelectOptionRequired>(props: SelectComponent
16
16
  handleOnOpen: () => void;
17
17
  handleOnRemoveItem: (item: SelectOption<T>) => void;
18
18
  search: string;
19
- searchRef: react212.RefObject<HTMLInputElement | null>;
20
- itemRefs: react212.RefObject<(HTMLButtonElement | null)[]>;
19
+ searchRef: react211.RefObject<HTMLInputElement | null>;
20
+ itemRefs: react211.RefObject<(HTMLButtonElement | null)[]>;
21
21
  selectedValues: T[];
22
22
  open: boolean;
23
23
  tryingToRemoveItem: T | undefined;
@@ -1,4 +1,4 @@
1
- import * as react4 from "react";
1
+ import * as react1 from "react";
2
2
  import { IconData } from "@equinor/eds-icons";
3
3
 
4
4
  //#region src/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts
@@ -12,6 +12,6 @@ interface ExpandingIconButtonProps {
12
12
  /**
13
13
  * @deprecated Being deprecated from amplify-component-lib move into app if you want the implementation
14
14
  */
15
- declare const ExpandingIconButton: react4.ForwardRefExoticComponent<ExpandingIconButtonProps & react4.RefAttributes<HTMLDivElement>>;
15
+ declare const ExpandingIconButton: react1.ForwardRefExoticComponent<ExpandingIconButtonProps & react1.RefAttributes<HTMLDivElement>>;
16
16
  //#endregion
17
17
  export { ExpandingIconButton };
@@ -1,4 +1,4 @@
1
- import * as react2 from "react";
1
+ import * as react0 from "react";
2
2
  import { IconData } from "@equinor/eds-icons";
3
3
 
4
4
  //#region src/deprecated/IconToggleButton.d.ts
@@ -21,6 +21,6 @@ interface IconToggleButtonProps {
21
21
  /**
22
22
  * @deprecated Being deprecated from amplify-component-lib move into app if you want the implementation
23
23
  */
24
- declare const IconToggleButton: react2.ForwardRefExoticComponent<IconToggleButtonProps & react2.RefAttributes<HTMLButtonElement>>;
24
+ declare const IconToggleButton: react0.ForwardRefExoticComponent<IconToggleButtonProps & react0.RefAttributes<HTMLButtonElement>>;
25
25
  //#endregion
26
26
  export { IconToggleButton };
@@ -1,4 +1,4 @@
1
- import * as react6 from "react";
1
+ import * as react13 from "react";
2
2
  import { HTMLAttributes, KeyboardEvent, MouseEvent, ReactNode } from "react";
3
3
  import { IconData } from "@equinor/eds-icons";
4
4
 
@@ -25,6 +25,6 @@ type DeletableChipProps = BaseChipProps & InteractiveChipBase & {
25
25
  onDelete: (event: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>) => void;
26
26
  };
27
27
  type ChipProps = Omit<HTMLAttributes<HTMLDivElement | HTMLButtonElement>, 'onClick'> & (ReadOnlyChipProps | ClickableChipProps | DeletableChipProps);
28
- declare const Chip: react6.ForwardRefExoticComponent<ChipProps & react6.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
28
+ declare const Chip: react13.ForwardRefExoticComponent<ChipProps & react13.RefAttributes<HTMLButtonElement | HTMLDivElement>>;
29
29
  //#endregion
30
30
  export { BaseChipProps, Chip, ClickableChipProps, DeletableChipProps };
@@ -1,5 +1,5 @@
1
1
  import { Variants } from "../../atoms/types/variants.js";
2
- import * as react10 from "react";
2
+ import * as react17 from "react";
3
3
  import { DatePickerProps } from "@equinor/eds-core-react";
4
4
 
5
5
  //#region src/molecules/DatePicker/DatePicker.d.ts
@@ -9,11 +9,11 @@ type DatePickerProps$1 = Omit<DatePickerProps, 'variant' | 'defaultValue'> & {
9
9
  meta?: string;
10
10
  loading?: boolean;
11
11
  };
12
- declare const DatePicker$1: react10.ForwardRefExoticComponent<Omit<DatePickerProps, "defaultValue" | "variant"> & {
12
+ declare const DatePicker$1: react17.ForwardRefExoticComponent<Omit<DatePickerProps, "defaultValue" | "variant"> & {
13
13
  variant?: Variants;
14
14
  defaultValue?: Date | undefined;
15
15
  meta?: string;
16
16
  loading?: boolean;
17
- } & react10.RefAttributes<HTMLDivElement>>;
17
+ } & react17.RefAttributes<HTMLDivElement>>;
18
18
  //#endregion
19
19
  export { DatePicker$1 as DatePicker, DatePickerProps$1 as DatePickerProps };
@@ -1,5 +1,5 @@
1
1
  import { Variants } from "../../atoms/types/variants.js";
2
- import * as react8 from "react";
2
+ import * as react19 from "react";
3
3
  import { DateRangePickerProps } from "@equinor/eds-core-react";
4
4
 
5
5
  //#region src/molecules/DateRangePicker/DateRangePicker.d.ts
@@ -8,10 +8,10 @@ type DateRangePickerProps$1 = Omit<DateRangePickerProps, 'variant'> & {
8
8
  meta?: string;
9
9
  loading?: boolean;
10
10
  };
11
- declare const DateRangePicker$1: react8.ForwardRefExoticComponent<Omit<DateRangePickerProps, "variant"> & {
11
+ declare const DateRangePicker$1: react19.ForwardRefExoticComponent<Omit<DateRangePickerProps, "variant"> & {
12
12
  variant?: Variants;
13
13
  meta?: string;
14
14
  loading?: boolean;
15
- } & react8.RefAttributes<HTMLDivElement>>;
15
+ } & react19.RefAttributes<HTMLDivElement>>;
16
16
  //#endregion
17
17
  export { DateRangePicker$1 as DateRangePicker, DateRangePickerProps$1 as DateRangePickerProps };
@@ -1,4 +1,4 @@
1
- import * as react14 from "react";
1
+ import * as react21 from "react";
2
2
  import { ReactNode } from "react";
3
3
  import { ButtonProps, DialogProps } from "@equinor/eds-core-react";
4
4
  import { IconData } from "@equinor/eds-icons";
@@ -51,6 +51,6 @@ interface DialogProps$1 extends Omit<DialogProps, 'title'> {
51
51
  * @param additionalInfo - Defaults to empty, and won't show the additional info button
52
52
  * Also inherits props from EDS dialog
53
53
  */
54
- declare const Dialog$1: react14.ForwardRefExoticComponent<DialogProps$1 & react14.RefAttributes<HTMLDivElement>>;
54
+ declare const Dialog$1: react21.ForwardRefExoticComponent<DialogProps$1 & react21.RefAttributes<HTMLDivElement>>;
55
55
  //#endregion
56
56
  export { Dialog$1 as Dialog, DialogAction, DialogProps$1 as DialogProps };
@@ -1,11 +1,11 @@
1
1
  import { SizeIconProps } from "../../atoms/types/Icon.js";
2
- import * as react12 from "react";
2
+ import * as react15 from "react";
3
3
 
4
4
  //#region src/molecules/EquinorLogo/EquinorLogo.d.ts
5
5
  interface EquinorLogoProps extends Partial<SizeIconProps> {
6
6
  large?: boolean;
7
7
  color?: 'red' | 'white' | 'black';
8
8
  }
9
- declare const EquinorLogo: react12.ForwardRefExoticComponent<EquinorLogoProps & react12.RefAttributes<SVGSVGElement>>;
9
+ declare const EquinorLogo: react15.ForwardRefExoticComponent<EquinorLogoProps & react15.RefAttributes<SVGSVGElement>>;
10
10
  //#endregion
11
11
  export { EquinorLogo, EquinorLogoProps };
@@ -1,5 +1,5 @@
1
1
  import { IconCellColor, IconCellState, IconCellVariant, IconCellVariants } from "./IconCell.types.js";
2
- import * as react16 from "react";
2
+ import * as react23 from "react";
3
3
  import { HTMLAttributes, MouseEventHandler, ReactNode } from "react";
4
4
  import { IconData } from "@equinor/eds-icons";
5
5
 
@@ -49,6 +49,6 @@ type IconCellProps = ScribbledOutProps | RegularIconCellProps;
49
49
  * @param {React.Ref<HTMLButtonElement>} ref - Ref forwarded to the inner button element.
50
50
  * @returns {JSX.Element} The rendered IconCell.
51
51
  */
52
- declare const IconCell: react16.ForwardRefExoticComponent<IconCellProps & react16.RefAttributes<HTMLButtonElement>>;
52
+ declare const IconCell: react23.ForwardRefExoticComponent<IconCellProps & react23.RefAttributes<HTMLButtonElement>>;
53
53
  //#endregion
54
54
  export { IconCell, IconCellProps };
@@ -1,4 +1,4 @@
1
- import * as react157 from "react";
1
+ import * as react160 from "react";
2
2
  import { FocusEventHandler, HTMLAttributes, MouseEventHandler, ReactNode } from "react";
3
3
  import { IconData } from "@equinor/eds-icons";
4
4
 
@@ -15,6 +15,6 @@ interface ListItemProps extends HTMLAttributes<HTMLButtonElement> {
15
15
  isChild?: boolean;
16
16
  borderBottom?: boolean;
17
17
  }
18
- declare const ListItem: react157.ForwardRefExoticComponent<ListItemProps & react157.RefAttributes<HTMLButtonElement>>;
18
+ declare const ListItem: react160.ForwardRefExoticComponent<ListItemProps & react160.RefAttributes<HTMLButtonElement>>;
19
19
  //#endregion
20
20
  export { ListItem, ListItemProps };
@@ -1,5 +1,5 @@
1
1
  import { ChangeEvent, MouseEvent } from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/molecules/OptionDrawer/OptionDrawer.d.ts
5
5
  interface ToggleEventProps<T> {
@@ -43,7 +43,7 @@ declare const OptionDrawer: {
43
43
  openAll,
44
44
  showIntermediateParent,
45
45
  parentHasNestedItems
46
- }: OptionDrawerProps<T>): react_jsx_runtime0.JSX.Element;
46
+ }: OptionDrawerProps<T>): react_jsx_runtime1.JSX.Element;
47
47
  displayName: string;
48
48
  };
49
49
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react20 from "react";
1
+ import * as react27 from "react";
2
2
  import { TooltipProps } from "@equinor/eds-core-react";
3
3
  import * as _floating_ui_utils0 from "@floating-ui/utils";
4
4
 
@@ -6,14 +6,14 @@ import * as _floating_ui_utils0 from "@floating-ui/utils";
6
6
  type OptionalTooltipProps = {
7
7
  textTransform?: string;
8
8
  } & TooltipProps;
9
- declare const OptionalTooltip: react20.ForwardRefExoticComponent<{
9
+ declare const OptionalTooltip: react27.ForwardRefExoticComponent<{
10
10
  textTransform?: string;
11
11
  } & {
12
12
  placement?: _floating_ui_utils0.Placement;
13
- title?: react20.ReactNode;
13
+ title?: react27.ReactNode;
14
14
  children: React.ReactElement & React.RefAttributes<HTMLElement>;
15
15
  enterDelay?: number;
16
16
  portalContainer?: HTMLElement;
17
- } & Omit<react20.HTMLAttributes<HTMLDivElement>, "title"> & react20.RefAttributes<HTMLDivElement>>;
17
+ } & Omit<react27.HTMLAttributes<HTMLDivElement>, "title"> & react27.RefAttributes<HTMLDivElement>>;
18
18
  //#endregion
19
19
  export { OptionalTooltip, OptionalTooltipProps };
@@ -1,4 +1,4 @@
1
- import * as react18 from "react";
1
+ import * as react25 from "react";
2
2
 
3
3
  //#region src/molecules/ProfileAvatar/ProfileAvatar.d.ts
4
4
  interface ProfileAvatarProps {
@@ -7,6 +7,6 @@ interface ProfileAvatarProps {
7
7
  size?: 'small' | 'small-medium' | 'medium' | 'large' | 'x-large' | number;
8
8
  disabled?: boolean;
9
9
  }
10
- declare const ProfileAvatar: react18.ForwardRefExoticComponent<ProfileAvatarProps & react18.RefAttributes<HTMLDivElement>>;
10
+ declare const ProfileAvatar: react25.ForwardRefExoticComponent<ProfileAvatarProps & react25.RefAttributes<HTMLDivElement>>;
11
11
  //#endregion
12
12
  export { ProfileAvatar, ProfileAvatarProps };
@@ -1,11 +1,11 @@
1
1
  import { EditorPanel, ImageExtensionFnProps, RichTextEditorFeatures } from "../RichTextEditor.types.js";
2
2
  import { MenuButtonProps } from "./MenuButton.js";
3
3
  import { AddImageProps } from "./AddImageButton.js";
4
- import * as react35 from "react";
4
+ import * as react31 from "react";
5
5
  import { FC } from "react";
6
- import * as styled_components5 from "styled-components";
6
+ import * as styled_components3 from "styled-components";
7
7
  import { Editor } from "@tiptap/react";
8
- import * as styled_components_dist_types1 from "styled-components/dist/types";
8
+ import * as styled_components_dist_types0 from "styled-components/dist/types";
9
9
 
10
10
  //#region src/molecules/RichTextEditor/MenuBar/MenuBar.d.ts
11
11
  interface MenuBarProps extends Pick<ImageExtensionFnProps, 'onImageUpload'> {
@@ -14,10 +14,10 @@ interface MenuBarProps extends Pick<ImageExtensionFnProps, 'onImageUpload'> {
14
14
  }
15
15
  declare const AmplifyBar: FC<MenuBarProps>;
16
16
  declare const EditorMenu: {
17
- Bar: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react35.DetailedHTMLProps<react35.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react35.DetailedHTMLProps<react35.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
18
- Bars: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react35.DetailedHTMLProps<react35.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react35.DetailedHTMLProps<react35.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
19
- Button: react35.ForwardRefExoticComponent<Omit<MenuButtonProps, "ref"> & react35.RefAttributes<HTMLButtonElement>>;
20
- Section: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react35.DetailedHTMLProps<react35.HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<react35.DetailedHTMLProps<react35.HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
17
+ Bar: styled_components_dist_types0.IStyledComponentBase<"web", styled_components3.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
18
+ Bars: styled_components_dist_types0.IStyledComponentBase<"web", styled_components3.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
19
+ Button: react31.ForwardRefExoticComponent<Omit<MenuButtonProps, "ref"> & react31.RefAttributes<HTMLButtonElement>>;
20
+ Section: styled_components_dist_types0.IStyledComponentBase<"web", styled_components3.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
21
21
  AddImageButton: FC<AddImageProps>;
22
22
  };
23
23
  declare const EditorText: {
@@ -2,17 +2,17 @@ import { EditorStylingProps, RichTextContentProps } from "./RichTextEditor.style
2
2
  import { EditorProviderProps } from "./EditorProvider.js";
3
3
  import { MenuBarProps } from "./MenuBar/MenuBar.js";
4
4
  import { RichTextEditor } from "./RichTextEditor.js";
5
- import * as react24 from "react";
6
- import * as styled_components0 from "styled-components";
5
+ import * as react45 from "react";
6
+ import * as styled_components6 from "styled-components";
7
7
  import * as _tiptap_react0 from "@tiptap/react";
8
- import * as styled_components_dist_types0 from "styled-components/dist/types";
8
+ import * as styled_components_dist_types3 from "styled-components/dist/types";
9
9
 
10
10
  //#region src/molecules/RichTextEditor/index.d.ts
11
11
  declare const RichText: {
12
- Styling: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<styled_components0.FastOmit<react24.DetailedHTMLProps<react24.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never> & Partial<Pick<styled_components0.FastOmit<react24.DetailedHTMLProps<react24.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never>>> & string;
13
- Provider: react24.FC<EditorProviderProps>;
14
- Content: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<styled_components0.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react24.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never> & Partial<Pick<styled_components0.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react24.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never>>> & string & Omit<react24.NamedExoticComponent<Omit<_tiptap_react0.EditorContentProps, "ref"> & react24.RefAttributes<HTMLDivElement>>, keyof react24.Component<any, {}, any>>;
15
- Bar: react24.FC<MenuBarProps>;
12
+ Styling: styled_components_dist_types3.IStyledComponentBase<"web", styled_components6.FastOmit<styled_components6.FastOmit<react45.DetailedHTMLProps<react45.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never> & Partial<Pick<styled_components6.FastOmit<react45.DetailedHTMLProps<react45.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never>>> & string;
13
+ Provider: react45.FC<EditorProviderProps>;
14
+ Content: styled_components_dist_types3.IStyledComponentBase<"web", styled_components6.FastOmit<styled_components6.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react45.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never> & Partial<Pick<styled_components6.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react45.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never>>> & string & Omit<react45.NamedExoticComponent<Omit<_tiptap_react0.EditorContentProps, "ref"> & react45.RefAttributes<HTMLDivElement>>, keyof react45.Component<any, {}, any>>;
15
+ Bar: react45.FC<MenuBarProps>;
16
16
  };
17
17
  //#endregion
18
18
  export { RichText };
@@ -1,10 +1,10 @@
1
- import * as react53 from "react";
1
+ import * as react56 from "react";
2
2
  import { SearchProps } from "@equinor/eds-core-react";
3
3
 
4
4
  //#region src/molecules/Search/Search.d.ts
5
5
  interface SearchProps$1 extends SearchProps {
6
6
  lightBackground?: boolean;
7
7
  }
8
- declare const Search$1: react53.ForwardRefExoticComponent<SearchProps$1 & react53.RefAttributes<HTMLInputElement>>;
8
+ declare const Search$1: react56.ForwardRefExoticComponent<SearchProps$1 & react56.RefAttributes<HTMLInputElement>>;
9
9
  //#endregion
10
10
  export { Search$1 as Search };
@@ -1,5 +1,5 @@
1
1
  import { CommonSelectProps, GroupedSelectProps, ListSelectProps, MultiSelectCommon, SelectOptionRequired } from "../Select.types.js";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/molecules/Select/ComboBox/ComboBox.d.ts
5
5
  type ComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T> & MultiSelectCommon<T> & (ListSelectProps<T> | GroupedSelectProps<T>);
@@ -17,6 +17,6 @@ type ComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T> & Mult
17
17
  * @param showSelectedAsText - If values should be shown as "5/10 Selected", defaults to false
18
18
  * @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
19
19
  */
20
- declare function ComboBox<T extends SelectOptionRequired>(props: ComboBoxProps<T>): react_jsx_runtime1.JSX.Element;
20
+ declare function ComboBox<T extends SelectOptionRequired>(props: ComboBoxProps<T>): react_jsx_runtime2.JSX.Element;
21
21
  //#endregion
22
22
  export { ComboBox, ComboBoxProps };
@@ -1,5 +1,5 @@
1
1
  import { CommonSelectProps, GroupedSelectProps, ListSelectProps, MultiSelectCommon, PersistentSelectProps, SelectOptionRequired } from "../Select.types.js";
2
- import * as react_jsx_runtime2 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/molecules/Select/PersistentComboBox/PersistentComboBox.d.ts
5
5
  type PersistentComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T> & MultiSelectCommon<T> & PersistentSelectProps & (GroupedSelectProps<T> | ListSelectProps<T>);
@@ -18,6 +18,6 @@ type PersistentComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps
18
18
  * @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
19
19
  * @param maxHeight - Max height of the persistent wrapper below the search field, optional
20
20
  */
21
- declare function PersistentComboBox<T extends SelectOptionRequired>(props: PersistentComboBoxProps<T>): react_jsx_runtime2.JSX.Element;
21
+ declare function PersistentComboBox<T extends SelectOptionRequired>(props: PersistentComboBoxProps<T>): react_jsx_runtime3.JSX.Element;
22
22
  //#endregion
23
23
  export { PersistentComboBox, PersistentComboBoxProps };
@@ -1,8 +1,8 @@
1
1
  import { BaseChipProps, ClickableChipProps, DeletableChipProps } from "../Chip/Chip.js";
2
- import * as react55 from "react";
2
+ import * as react62 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<react55.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
14
+ declare const ComboBoxChip: styled_components_dist_types6.IStyledComponentBase<"web", styled_components15.FastOmit<styled_components15.FastOmit<((Omit<react62.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
15
15
  onClick?: undefined;
16
16
  onDelete?: undefined;
17
- }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLDivElement | HTMLButtonElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never> & Partial<Pick<styled_components11.FastOmit<((Omit<react55.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
17
+ }) | ClickableChipProps | DeletableChipProps)) & react62.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types6.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never> & Partial<Pick<styled_components15.FastOmit<((Omit<react62.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
18
18
  onClick?: undefined;
19
19
  onDelete?: undefined;
20
- }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLDivElement | HTMLButtonElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never>>> & string & Omit<react55.ForwardRefExoticComponent<(Omit<react55.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
20
+ }) | ClickableChipProps | DeletableChipProps)) & react62.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types6.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never>>> & string & Omit<react62.ForwardRefExoticComponent<(Omit<react62.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
21
21
  onClick?: undefined;
22
22
  onDelete?: undefined;
23
- }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLDivElement | HTMLButtonElement>>, keyof react55.Component<any, {}, any>>;
23
+ }) | ClickableChipProps | DeletableChipProps)) & react62.RefAttributes<HTMLButtonElement | HTMLDivElement>>, keyof react62.Component<any, {}, any>>;
24
24
  //#endregion
25
25
  export { ComboBoxChip };
@@ -1,5 +1,5 @@
1
1
  import { CommonSelectProps, GroupedSelectProps, ListSelectProps, SelectOptionRequired, SingleSelectCommon } from "../Select.types.js";
2
- import * as react_jsx_runtime3 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
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>): react_jsx_runtime3.JSX.Element;
18
+ declare function SingleSelect<T extends SelectOptionRequired>(props: SingleSelectProps<T>): react_jsx_runtime4.JSX.Element;
19
19
  //#endregion
20
20
  export { SingleSelect, SingleSelectProps };
@@ -1,4 +1,4 @@
1
- import * as react153 from "react";
1
+ import * as react162 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: react153.ForwardRefExoticComponent<CheckboxProps$1 & react153.RefAttributes<HTMLInputElement>>;
10
+ declare const Checkbox$1: react162.ForwardRefExoticComponent<CheckboxProps$1 & react162.RefAttributes<HTMLInputElement>>;
11
11
  //#endregion
12
12
  export { Checkbox$1 as Checkbox, CheckboxProps$1 as CheckboxProps };
@@ -1,4 +1,4 @@
1
- import * as react155 from "react";
1
+ import * as react164 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: react155.ForwardRefExoticComponent<RadioProps$1 & react155.RefAttributes<HTMLInputElement>>;
10
+ declare const Radio$1: react164.ForwardRefExoticComponent<RadioProps$1 & react164.RefAttributes<HTMLInputElement>>;
11
11
  //#endregion
12
12
  export { Radio$1 as Radio, RadioProps$1 as RadioProps };
@@ -1,10 +1,10 @@
1
- import * as react159 from "react";
1
+ import * as react166 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: react159.ForwardRefExoticComponent<SwitchProps$1 & react159.RefAttributes<HTMLInputElement>>;
8
+ declare const Switch$1: react166.ForwardRefExoticComponent<SwitchProps$1 & react166.RefAttributes<HTMLInputElement>>;
9
9
  //#endregion
10
10
  export { Switch$1 as Switch, SwitchProps$1 as SwitchProps };
@@ -1,6 +1,6 @@
1
- import * as react49 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<react49.DetailedHTMLProps<react49.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$offset"> & SkeletonBaseProps, never> & Partial<Pick<styled_components8.FastOmit<react49.DetailedHTMLProps<react49.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 };
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime4 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
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>) => react_jsx_runtime4.JSX.Element;
5
+ declare const DataGrid: <T>(props: EdsDataGridProps<T>) => react_jsx_runtime0.JSX.Element;
6
6
  //#endregion
7
7
  export { DataGrid };
@@ -1,4 +1,4 @@
1
- import * as react166 from "react";
1
+ import * as react11 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: react166.ForwardRefExoticComponent<{
10
+ declare const ReleaseNote$1: react11.ForwardRefExoticComponent<{
11
11
  actionMenu?: ReactNode;
12
12
  expanded?: boolean;
13
- } & ReleaseNote & react166.RefAttributes<HTMLDivElement>>;
13
+ } & ReleaseNote & react11.RefAttributes<HTMLDivElement>>;
14
14
  //#endregion
15
15
  export { ReleaseNote$1 as ReleaseNote, ReleaseNoteProps };
@@ -1,4 +1,4 @@
1
- import * as react191 from "react";
1
+ import * as react168 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: react191.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react191.RefAttributes<HTMLDivElement>>;
19
+ declare const SideBar: react168.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react168.RefAttributes<HTMLDivElement>>;
20
20
  //#endregion
21
21
  export { SideBar };
@@ -10,6 +10,7 @@ import { FC } from "react";
10
10
  * @param title - Title to display in the header
11
11
  * @param type - How the side sheet should be position, default is standard
12
12
  * @param headerElements - Optional spot to put elements in the header, for example more action buttons
13
+ * @param width - Optional width override (number is treated as px)
13
14
  * @param children - Content in the side sheet
14
15
  */
15
16
  declare const SideSheet: FC<SideSheetProps>;
@@ -1 +1 @@
1
- import{Button as e}from"../../molecules/Button/Button.js";import{Header as t,ScrimWrapper as n,Sheet as r,Wrapper as i}from"./SideSheet.styles.js";import{Icon as a,Typography as o}from"@equinor/eds-core-react";import{jsx as s,jsxs as c}from"react/jsx-runtime";import{close as l}from"@equinor/eds-icons";import{AnimatePresence as u}from"motion/react";const d=({open:e,onClose:t,title:r,type:i=`standard`,headerElements:a,children:o,...c})=>`withScrim`in c&&c.withScrim?s(n,{"data-testid":`side-sheet-scrim`,onClick:e?t:void 0,initial:{display:`none`,background:`rgba(111,111,111,0)`},animate:{background:e?`rgba(111,111,111,0.35)`:`rgba(111,111,111,0)`,display:e?`block`:`none`},children:s(f,{open:e,onClose:t,title:r,type:`modal`,headerElements:a,withScrim:!0,children:o})}):s(f,{open:e,onClose:t,title:r,type:i,headerElements:a,children:o});function f({open:n,onClose:d,title:f,type:p=`standard`,headerElements:m,children:h,...g}){return s(u,{children:n&&s(i,{$type:p,$withShadow:!(`withScrim`in g&&g.withScrim),initial:{x:p===`standard`?void 0:`110%`,width:p===`standard`?0:void 0},animate:{x:p===`standard`?void 0:0,width:p===`standard`?`auto`:void 0},exit:{x:p===`standard`?void 0:`110%`,width:p===`standard`?0:void 0},transition:{bounce:.25},children:c(r,{$type:p,children:[c(t,{children:[s(o,{variant:`h2`,children:f}),m&&s(`section`,{children:m}),s(e,{"aria-label":`close side sheet`,variant:`ghost_icon`,onClick:d,style:{gridColumn:3},children:s(a,{data:l})})]}),h]})})})}export{d as SideSheet};
1
+ import{Button as e}from"../../molecules/Button/Button.js";import{Header as t,ScrimWrapper as n,Sheet as r,Wrapper as i}from"./SideSheet.styles.js";import{Icon as a,Typography as o}from"@equinor/eds-core-react";import{jsx as s,jsxs as c}from"react/jsx-runtime";import{close as l}from"@equinor/eds-icons";import{AnimatePresence as u}from"motion/react";const d=({open:e,onClose:t,title:r,type:i=`standard`,headerElements:a,width:o,children:c,...l})=>`withScrim`in l&&l.withScrim?s(n,{"data-testid":`side-sheet-scrim`,onClick:e?t:void 0,$zIndex:l.zIndex,initial:{display:`none`,background:`rgba(111,111,111,0)`},animate:{background:e?`rgba(111,111,111,0.35)`:`rgba(111,111,111,0)`,display:e?`block`:`none`},children:s(f,{open:e,onClose:t,title:r,type:`modal`,headerElements:a,width:o,zIndex:l.zIndex,withScrim:!0,children:c})}):i===`modal`||i===`floating`?s(f,{open:e,onClose:t,title:r,type:i,headerElements:a,width:o,zIndex:`zIndex`in l?l.zIndex:void 0,children:c}):s(f,{open:e,onClose:t,title:r,type:i,headerElements:a,width:o,children:c});function f({open:n,onClose:d,title:f,type:p=`standard`,headerElements:m,width:h,children:g,..._}){return s(u,{children:n&&s(i,{"data-testid":`side-sheet-wrapper`,$type:p,$withShadow:!(`withScrim`in _&&_.withScrim),$zIndex:`zIndex`in _?_.zIndex:void 0,initial:{x:p===`standard`?void 0:`110%`,width:p===`standard`?0:void 0},animate:{x:p===`standard`?void 0:0,width:p===`standard`?`auto`:void 0},exit:{x:p===`standard`?void 0:`110%`,width:p===`standard`?0:void 0},transition:{bounce:.25},children:c(r,{$type:p,$width:h,children:[c(t,{children:[s(o,{variant:`h2`,children:f}),m&&s(`section`,{children:m}),s(e,{"aria-label":`close side sheet`,variant:`ghost_icon`,onClick:d,style:{gridColumn:3},children:s(a,{data:l})})]}),g]})})})}export{d as SideSheet};
@@ -1,21 +1,27 @@
1
1
  import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{elevation as n,shape as r}from"../../atoms/style/index.js";import{css as i,styled as a}from"styled-components";import{motion as o}from"motion/react";const s=a(o.div)`
2
2
  overflow: hidden;
3
- ${({$type:e,$withShadow:a})=>e===`standard`?``:e===`floating`?i`
3
+ ${({$type:e,$withShadow:a,$zIndex:o})=>e===`standard`?``:e===`floating`?i`
4
4
  position: fixed;
5
5
  top: calc(64px + ${t.medium});
6
6
  right: ${t.medium};
7
7
  box-shadow: ${n.sticky};
8
8
  border-radius: ${r.corners.borderRadius};
9
+ ${o!==void 0&&i`
10
+ z-index: ${o};
11
+ `}
9
12
  `:i`
10
13
  position: fixed;
11
14
  top: 64px;
12
15
  right: 0;
13
16
  box-shadow: ${a?n.above_scrim:`none`};
17
+ ${o!==void 0&&i`
18
+ z-index: ${o};
19
+ `}
14
20
  `}
15
21
  `,c=a.div`
16
22
  display: flex;
17
23
  flex-direction: column;
18
- width: 500px;
24
+ width: ${({$width:e})=>e===void 0?`500px`:`${e}px`};
19
25
  background: ${e.ui.background__default.rgba};
20
26
  ${({$type:t})=>{if(t===`standard`)return i`
21
27
  background: none;
@@ -35,5 +41,5 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
35
41
  width: 100%;
36
42
  overflow: hidden;
37
43
  height: calc(100vh - 64px);
38
- z-index: 10000;
44
+ z-index: ${({$zIndex:e})=>e??1e4};
39
45
  `;export{l as Header,u as ScrimWrapper,c as Sheet,s as Wrapper};
@@ -1,4 +1,4 @@
1
- import { ReactElement } from "react";
1
+ import { CSSProperties, ReactElement } from "react";
2
2
 
3
3
  //#region src/organisms/SideSheet/SideSheet.types.d.ts
4
4
  interface BaseSideSheetProps {
@@ -6,6 +6,7 @@ interface BaseSideSheetProps {
6
6
  onClose: () => void;
7
7
  title: string;
8
8
  headerElements?: ReactElement | ReactElement[];
9
+ width?: number | undefined;
9
10
  children: ReactElement | ReactElement[];
10
11
  }
11
12
  interface StandardSideSheetProps extends BaseSideSheetProps {
@@ -14,9 +15,11 @@ interface StandardSideSheetProps extends BaseSideSheetProps {
14
15
  interface ModalSideSheetProps extends BaseSideSheetProps {
15
16
  type: 'modal';
16
17
  withScrim?: boolean;
18
+ zIndex?: CSSProperties['zIndex'];
17
19
  }
18
20
  interface FloatingSideSheetProps extends BaseSideSheetProps {
19
21
  type: 'floating';
22
+ zIndex?: CSSProperties['zIndex'];
20
23
  }
21
24
  type SideSheetProps = StandardSideSheetProps | ModalSideSheetProps | FloatingSideSheetProps;
22
25
  //#endregion
@@ -1,10 +1,10 @@
1
- import * as react199 from "react";
1
+ import * as react174 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: react199.ForwardRefExoticComponent<ActionProps & react199.RefAttributes<HTMLButtonElement>>;
8
+ declare const Action: react174.ForwardRefExoticComponent<ActionProps & react174.RefAttributes<HTMLButtonElement>>;
9
9
  //#endregion
10
10
  export { Action };
@@ -1,9 +1,9 @@
1
- import * as react201 from "react";
1
+ import * as react180 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: react201.ForwardRefExoticComponent<DescriptionProps & react201.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Description: react180.ForwardRefExoticComponent<DescriptionProps & react180.RefAttributes<HTMLHeadingElement>>;
8
8
  //#endregion
9
9
  export { Description };
@@ -1,4 +1,4 @@
1
- import * as react203 from "react";
1
+ import * as react178 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: react203.ForwardRefExoticComponent<MissingAccessesProps & react203.RefAttributes<HTMLDivElement>>;
12
+ declare const MissingAccesses: react178.ForwardRefExoticComponent<MissingAccessesProps & react178.RefAttributes<HTMLDivElement>>;
13
13
  //#endregion
14
14
  export { MissingAccesses };
@@ -1,9 +1,9 @@
1
- import * as react197 from "react";
1
+ import * as react176 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: react197.ForwardRefExoticComponent<TitleProps & react197.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Title: react176.ForwardRefExoticComponent<TitleProps & react176.RefAttributes<HTMLHeadingElement>>;
8
8
  //#endregion
9
9
  export { Title };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime9 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
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) => react_jsx_runtime9.JSX.Element;
15
+ }: BadRequestProps) => react_jsx_runtime8.JSX.Element;
16
16
  //#endregion
17
17
  export { BadRequest };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime8 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
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) => react_jsx_runtime8.JSX.Element;
17
+ }: GenericErrorProps) => react_jsx_runtime10.JSX.Element;
18
18
  //#endregion
19
19
  export { GenericError };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime10 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime9 from "react/jsx-runtime";
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) => react_jsx_runtime10.JSX.Element;
17
+ }: MissingPermissionsProps) => react_jsx_runtime9.JSX.Element;
18
18
  //#endregion
19
19
  export { MissingPermissions };
@@ -1,14 +1,14 @@
1
- import * as react161 from "react";
2
- import * as styled_components46 from "styled-components";
1
+ import * as react6 from "react";
2
+ import * as styled_components0 from "styled-components";
3
3
  import { IStyledComponent } from "styled-components";
4
- import * as styled_components_dist_types38 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_types38.IStyledComponentBase<"web", styled_components46.FastOmit<styled_components46.FastOmit<react161.DetailedHTMLProps<react161.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never> & Partial<Pick<styled_components46.FastOmit<react161.DetailedHTMLProps<react161.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never>>> & string;
11
- declare const GlobalStyles: react161.NamedExoticComponent<styled_components46.ExecutionProps & object>;
10
+ declare const Content: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<styled_components0.FastOmit<react6.DetailedHTMLProps<react6.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never> & Partial<Pick<styled_components0.FastOmit<react6.DetailedHTMLProps<react6.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never>>> & string;
11
+ declare const GlobalStyles: react6.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 react205 from "react";
2
+ import * as react182 from "react";
3
3
 
4
4
  //#region src/organisms/ToggleGroup/ToggleGroup.d.ts
5
- declare const ToggleGroup: react205.ForwardRefExoticComponent<ToggleGroup$1 & react205.RefAttributes<HTMLDivElement>>;
5
+ declare const ToggleGroup: react182.ForwardRefExoticComponent<ToggleGroup$1 & react182.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 react207 from "react";
2
+ import * as react184 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: react207.ForwardRefExoticComponent<ToggleGroupOptionProps & react207.RefAttributes<HTMLButtonElement>>;
7
+ declare const ToggleGroupOption: react184.ForwardRefExoticComponent<ToggleGroupOptionProps & react184.RefAttributes<HTMLButtonElement>>;
8
8
  //#endregion
9
9
  export { ToggleGroupOption };
@@ -1,7 +1,7 @@
1
- import * as react195 from "react";
1
+ import * as react170 from "react";
2
2
  import { HTMLAttributes } from "react";
3
3
 
4
4
  //#region src/organisms/TopBar/Actions.d.ts
5
- declare const Actions: react195.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react195.RefAttributes<HTMLDivElement>>;
5
+ declare const Actions: react170.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react170.RefAttributes<HTMLDivElement>>;
6
6
  //#endregion
7
7
  export { Actions };
@@ -1,5 +1,5 @@
1
1
  import { Field } from "../../../atoms/types/Field.js";
2
- import * as react193 from "react";
2
+ import * as react172 from "react";
3
3
 
4
4
  //#region src/organisms/TopBar/FieldMenu/FieldMenu.d.ts
5
5
  interface FieldMenuProps {
@@ -8,6 +8,6 @@ interface FieldMenuProps {
8
8
  itemNameSingular?: string;
9
9
  showAccessITLink?: boolean;
10
10
  }
11
- declare const FieldMenu: react193.ForwardRefExoticComponent<FieldMenuProps & react193.RefAttributes<HTMLDivElement>>;
11
+ declare const FieldMenu: react172.ForwardRefExoticComponent<FieldMenuProps & react172.RefAttributes<HTMLDivElement>>;
12
12
  //#endregion
13
13
  export { FieldMenu };
@@ -1,4 +1,4 @@
1
- import * as react211 from "react";
1
+ import * as react213 from "react";
2
2
  import { Dispatch, FC, ReactNode, SetStateAction } from "react";
3
3
 
4
4
  //#region src/organisms/TopBar/Notifications/NotificationProvider.d.ts
@@ -6,7 +6,7 @@ interface NotificationContext {
6
6
  setIsOpen: Dispatch<SetStateAction<boolean>>;
7
7
  isOpen: boolean;
8
8
  }
9
- declare const NotificationContext: react211.Context<NotificationContext | undefined>;
9
+ declare const NotificationContext: react213.Context<NotificationContext | undefined>;
10
10
  declare const useNotification: () => NotificationContext;
11
11
  //#endregion
12
12
  export { useNotification };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/amplify-component-lib",
3
- "version": "12.0.6",
3
+ "version": "12.0.7",
4
4
  "description": "Frontend Typescript components for the Amplify team",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",