@equinor/amplify-component-lib 13.1.3 → 13.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/style/colors.d.ts +33 -3
- package/dist/atoms/style/colors.js +1 -1
- package/dist/atoms/style/darkTokens.js +16 -1
- package/dist/atoms/style/lightTokens.js +16 -1
- package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
- package/dist/deprecated/IconToggleButton.d.ts +2 -2
- package/dist/molecules/Chip/Chip.d.ts +2 -2
- package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
- package/dist/molecules/Dialog/Dialog.d.ts +2 -2
- package/dist/molecules/ListItem/ListItem.d.ts +2 -2
- package/dist/molecules/OptionDrawer/OptionDrawer.d.ts +2 -2
- package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +5 -5
- package/dist/molecules/Search/Search.d.ts +2 -2
- package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
- package/dist/molecules/Select/Select.styles.d.ts +4 -4
- package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
- package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
- package/dist/molecules/SelectionControls/Switch/Switch.d.ts +2 -2
- package/dist/molecules/Tag/Tag.js +1 -0
- package/dist/organisms/Filter/Filter.d.ts +2 -2
- package/dist/organisms/Filter/SortMenu.d.ts +2 -2
- package/dist/organisms/Status/collections/BadRequest.d.ts +2 -2
- package/dist/organisms/Status/collections/GenericError.d.ts +2 -2
- package/dist/organisms/Status/collections/MissingPermissions.d.ts +2 -2
- package/dist/organisms/Status/collections/PageNotFound.d.ts +2 -2
- package/package.json +1 -1
|
@@ -10,6 +10,9 @@ declare const colors: {
|
|
|
10
10
|
readonly background__tutorial_card: {
|
|
11
11
|
readonly rgba: "var(--amplify_ui_background_tutorial_card, rgba(222, 237, 238, 1))";
|
|
12
12
|
};
|
|
13
|
+
readonly background__success: {
|
|
14
|
+
readonly rgba: "var(--amplify_ui_background_success, rgba(230, 250, 236, 1))";
|
|
15
|
+
};
|
|
13
16
|
readonly background__default: {
|
|
14
17
|
hex: string;
|
|
15
18
|
hsla: string;
|
|
@@ -60,15 +63,42 @@ declare const colors: {
|
|
|
60
63
|
readonly primary__pressed: {
|
|
61
64
|
readonly rgba: "var(--amplify_interactive_primary_pressed, rgba(19, 46, 49, 1))";
|
|
62
65
|
};
|
|
66
|
+
readonly primary__nested_hover: {
|
|
67
|
+
readonly rgba: "var(--amplify_interactive_primary__nested_hover, rgba(187, 219, 223, 1))";
|
|
68
|
+
};
|
|
69
|
+
readonly danger__text_hover: {
|
|
70
|
+
readonly rgba: "var(--amplify_interactive_danger__text_hover, rgba(154, 16, 38, 1))";
|
|
71
|
+
};
|
|
72
|
+
readonly danger__nested_hover: {
|
|
73
|
+
readonly rgba: "var(--amplify_interactive_danger__nested_hover, rgba(255, 208, 206, 1))";
|
|
74
|
+
};
|
|
75
|
+
readonly warning__text_hover: {
|
|
76
|
+
readonly rgba: "var(--amplify_interactive_warning__text_hover, rgba(155, 73, 0, 1))";
|
|
77
|
+
};
|
|
78
|
+
readonly warning__nested_hover: {
|
|
79
|
+
readonly rgba: "var(--amplify_interactive_warning__nested_hover, rgba(246, 202, 170, 1))";
|
|
80
|
+
};
|
|
81
|
+
readonly success__text_hover: {
|
|
82
|
+
readonly rgba: "var(--amplify_interactive_success__text_hover, rgba(32, 105, 31, 1))";
|
|
83
|
+
};
|
|
84
|
+
readonly success__nested_hover: {
|
|
85
|
+
readonly rgba: "var(--amplify_interactive_success__nested_hover, rgba(195, 243, 210, 1))";
|
|
86
|
+
};
|
|
87
|
+
readonly info__text: {
|
|
88
|
+
readonly rgba: "var(--amplify_interactive_info__text, rgba(0, 112, 169, 1))";
|
|
89
|
+
};
|
|
90
|
+
readonly info__text_hover: {
|
|
91
|
+
readonly rgba: "var(--amplify_interactive_info__text_hover, rgba(8, 88, 131, 1))";
|
|
92
|
+
};
|
|
93
|
+
readonly info__nested_hover: {
|
|
94
|
+
readonly rgba: "var(--amplify_interactive_info__nested_hover, rgba(181, 218, 245, 1))";
|
|
95
|
+
};
|
|
63
96
|
readonly tutorial__active_step: {
|
|
64
97
|
readonly rgba: "var(--amplify_interactive_tutorial_active_step, rgba(0, 112, 121, 1))";
|
|
65
98
|
};
|
|
66
99
|
readonly tutorial__inactive_step: {
|
|
67
100
|
readonly rgba: "var(--amplify_interactive_tutorial_inactive_step, rgba(168, 206, 209, 1))";
|
|
68
101
|
};
|
|
69
|
-
readonly inner_hover: {
|
|
70
|
-
readonly rgba: "var(--amplify_interactive_inner_hover, rgba(198, 223, 225, 1))";
|
|
71
|
-
};
|
|
72
102
|
readonly primary__selected_highlight: {
|
|
73
103
|
hex: string;
|
|
74
104
|
hsla: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";const{colors:t}=e,n={...t,ui:{...t.ui,background__light_medium:{rgba:`var(--amplify_ui_background_light_medium, rgba(235, 235, 235, 1))`},background__heavy:{rgba:`var(--amplify_ui_background_heavy, rgba(189, 189, 189, 1))`},background__tutorial_card:{rgba:`var(--amplify_ui_background_tutorial_card, rgba(222, 237, 238, 1))`}},interactive:{...t.interactive,primary__pressed:{rgba:`var(--amplify_interactive_primary_pressed, rgba(19, 46, 49, 1))`},
|
|
1
|
+
import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";const{colors:t}=e,n={...t,ui:{...t.ui,background__light_medium:{rgba:`var(--amplify_ui_background_light_medium, rgba(235, 235, 235, 1))`},background__heavy:{rgba:`var(--amplify_ui_background_heavy, rgba(189, 189, 189, 1))`},background__tutorial_card:{rgba:`var(--amplify_ui_background_tutorial_card, rgba(222, 237, 238, 1))`},background__success:{rgba:`var(--amplify_ui_background_success, rgba(230, 250, 236, 1))`}},interactive:{...t.interactive,primary__pressed:{rgba:`var(--amplify_interactive_primary_pressed, rgba(19, 46, 49, 1))`},primary__nested_hover:{rgba:`var(--amplify_interactive_primary__nested_hover, rgba(187, 219, 223, 1))`},danger__text_hover:{rgba:`var(--amplify_interactive_danger__text_hover, rgba(154, 16, 38, 1))`},danger__nested_hover:{rgba:`var(--amplify_interactive_danger__nested_hover, rgba(255, 208, 206, 1))`},warning__text_hover:{rgba:`var(--amplify_interactive_warning__text_hover, rgba(155, 73, 0, 1))`},warning__nested_hover:{rgba:`var(--amplify_interactive_warning__nested_hover, rgba(246, 202, 170, 1))`},success__text_hover:{rgba:`var(--amplify_interactive_success__text_hover, rgba(32, 105, 31, 1))`},success__nested_hover:{rgba:`var(--amplify_interactive_success__nested_hover, rgba(195, 243, 210, 1))`},info__text:{rgba:`var(--amplify_interactive_info__text, rgba(0, 112, 169, 1))`},info__text_hover:{rgba:`var(--amplify_interactive_info__text_hover, rgba(8, 88, 131, 1))`},info__nested_hover:{rgba:`var(--amplify_interactive_info__nested_hover, rgba(181, 218, 245, 1))`},tutorial__active_step:{rgba:`var(--amplify_interactive_tutorial_active_step, rgba(0, 112, 121, 1))`},tutorial__inactive_step:{rgba:`var(--amplify_interactive_tutorial_inactive_step, rgba(168, 206, 209, 1))`}},dataviz:{primary:{lighter:`var(--amplify_dataviz_primary_lighter, rgba(206, 229, 255, 1))`,muted:`var(--amplify_dataviz_primary_muted, rgba(74, 149, 236, 1))`,default:`var(--amplify_dataviz_primary_default, rgba(0, 107, 229, 1))`,darker:`var(--amplify_dataviz_primary_darker, rgba(0, 83, 178, 1))`,primary10:`var(--amplify_dataviz_primary_10, rgba(235, 245, 255, 1))`,primary20:`var(--amplify_dataviz_primary_20, rgba(211, 231, 253, 1))`,primary30:`var(--amplify_dataviz_primary_30, rgba(167, 206, 251, 1))`,primary40:`var(--amplify_dataviz_primary_40, rgba(133, 187, 250, 1))`,primary50:`var(--amplify_dataviz_primary_50, rgba(89, 163, 248, 1))`,primary60:`var(--amplify_dataviz_primary_60, rgba(40, 136, 246, 1))`,primary70:`var(--amplify_dataviz_primary_70, rgba(10, 115, 235, 1))`,primary80:`var(--amplify_dataviz_primary_80, rgba(8, 91, 186, 1))`,primary90:`var(--amplify_dataviz_primary_90, rgba(5, 60, 122, 1))`},darkblue:{lighter:`var(--amplify_dataviz_darkblue_lighter, rgba(191, 220, 252, 1))`,default:`var(--amplify_dataviz_darkblue_default, rgba(0, 71, 153, 1))`,darker:`var(--amplify_dataviz_darkblue_darker, rgba(4, 48, 98, 1))`},lightblue:{lighter:`var(--amplify_dataviz_lightblue_lighter, rgba(211, 238, 253, 1))`,default:`var(--amplify_dataviz_lightblue_default, rgba(133, 208, 250, 1))`,darker:`var(--amplify_dataviz_lightblue_darker, rgba(35, 170, 246, 1))`},lightgreen:{lighter:`var(--amplify_dataviz_lightgreen_lighter, rgba(220, 241, 236, 1))`,default:`var(--amplify_dataviz_lightgreen_default, rgba(10, 194, 154, 1))`,darker:`var(--amplify_dataviz_lightgreen_darker, rgba(8, 145, 115, 1))`},darkgreen:{lighter:`var(--amplify_dataviz_darkgreen_lighter, rgba(200, 237, 227, 1))`,default:`var(--amplify_dataviz_darkgreen_default, rgba(0, 102, 76, 1))`,darker:`var(--amplify_dataviz_darkgreen_darker, rgba(0, 61, 46, 1))`},darkpink:{lighter:`var(--amplify_dataviz_darkpink_lighter, rgba(252, 212, 229, 1))`,muted:`var(--amplify_dataviz_darkpink_muted, rgba(242, 129, 176, 1))`,default:`var(--amplify_dataviz_darkpink_default, rgba(169, 30, 88, 1))`,darker:`var(--amplify_dataviz_darkpink_darker, rgba(135, 18, 67, 1))`},lightpink:{lighter:`var(--amplify_dataviz_lightpink_lighter, rgba(255, 219, 222, 1))`,default:`var(--amplify_dataviz_lightpink_default, rgba(255, 128, 138, 1))`,darker:`var(--amplify_dataviz_lightpink_darker, rgba(225, 81, 93, 1))`,deep:`var(--amplify_dataviz_lightpink_deep, rgba(143, 23, 33, 1))`},darkyellow:{lighter:`var(--amplify_dataviz_darkyellow_lighter, rgba(244, 226, 195, 1))`,default:`var(--amplify_dataviz_darkyellow_default, rgba(160, 112, 28, 1))`,darker:`var(--amplify_dataviz_darkyellow_darker, rgba(121, 85, 21, 1))`,deep:`var(--amplify_dataviz_darkyellow_deep, rgba(98, 77, 42, 1))`},lightyellow:{lighter:`var(--amplify_dataviz_lightyellow_lighter, rgba(255, 240, 194, 1))`,default:`var(--amplify_dataviz_lightyellow_default, rgba(253, 203, 53, 1))`,darker:`var(--amplify_dataviz_lightyellow_darker, rgba(227, 171, 2, 1))`,deep:`var(--amplify_dataviz_lightyellow_deep, rgba(200, 150, 0, 1))`},orange:{lighter:`var(--amplify_dataviz_orange_lighter, rgba(255, 222, 198, 1))`,muted:`var(--amplify_dataviz_orange_muted, rgba(255, 173, 99, 1))`,default:`var(--amplify_dataviz_orange_default, rgba(227, 128, 36, 1))`,darker:`var(--amplify_dataviz_orange_darker, rgba(121, 61, 21, 1))`},darkpurple:{lighter:`var(--amplify_dataviz_darkpurple_lighter, rgba(232, 209, 246, 1))`,default:`var(--amplify_dataviz_darkpurple_default, rgba(147, 20, 219, 1))`,darker:`var(--amplify_dataviz_darkpurple_darker, rgba(97, 1, 152, 1))`},lightpurple:{lighter:`var(--amplify_dataviz_lightpurple_lighter, rgba(234, 224, 255, 1))`,default:`var(--amplify_dataviz_lightpurple_default, rgba(186, 153, 255, 1))`,darker:`var(--amplify_dataviz_lightpurple_darker, rgba(155, 89, 242, 1))`},darkgray:{lighter:`var(--amplify-dataviz_darkgray_lighter, rgba(173, 173, 173, 1))`,default:`var(--amplify_dataviz_darkgray_default, rgba(122, 122, 122,1))`,darker:`var(--amplify-dataviz_darkgray_darker, rgba(86, 86, 86,1))`,deep:`var(--amplify-dataviz_darkgray_deep, rgba(69, 69, 69, 1))`},lightgray:{pale:`var(--amplify_dataviz_lightgray_pale, rgba(235, 238, 240, 1))`,lighter:`var(--amplify_dataviz_lightgray_lighter, rgba(194, 200, 204, 1))`,default:`var(--amplify_dataviz_lightgray_default, rgba(144, 155, 162, 1))`,darker:`var(--amplify_dataviz_lightgray_darker, rgba(91, 102, 108, 1))`}}},r={warning:n.interactive.warning__resting.rgba,error:n.interactive.danger__resting.rgba,success:n.interactive.success__resting.rgba,dirty:n.infographic.substitute__blue_ocean.rgba},i={warning:n.interactive.warning__hover.rgba,error:n.interactive.danger__hover.rgba,success:n.interactive.success__hover.rgba,dirty:n.infographic.substitute__blue_ocean.rgba};export{r as VARIANT_COLORS,i as VARIANT_HELPER_TEXT_COLORS,n as colors};
|
|
@@ -8,7 +8,20 @@ import{css as e}from"styled-components";const t=e`
|
|
|
8
8
|
|
|
9
9
|
--amplify_interactive_tutorial_active_step: rgba(154, 202, 206, 1);
|
|
10
10
|
--amplify_interactive_tutorial_inactive_step: rgba(96, 125, 127, 1);
|
|
11
|
-
--
|
|
11
|
+
--amplify_interactive_primary__nested_hover: rgba(62, 115, 120, 1);
|
|
12
|
+
|
|
13
|
+
--amplify_interactive_danger__text_hover: rgba(255, 193, 191, 1);
|
|
14
|
+
--amplify_interactive_danger__nested_hover: rgba(146, 58, 60, 1);
|
|
15
|
+
|
|
16
|
+
--amplify_interactive_warning__text_hover: rgba(255, 173, 99, 1);
|
|
17
|
+
--amplify_interactive_warning__nested_hover: rgba(151, 87, 27, 1);
|
|
18
|
+
|
|
19
|
+
--amplify_interactive_success__text_hover: rgba(188, 242, 184, 1);
|
|
20
|
+
--amplify_interactive_success__nested_hover: rgba(0, 95, 87, 1);
|
|
21
|
+
|
|
22
|
+
--amplify_interactive_info__text: rgba(183, 232, 255, 1);
|
|
23
|
+
--amplify_interactive_info__text_hover: rgba(162, 224, 255, 1);
|
|
24
|
+
--amplify_interactive_info__nested_hover: rgba(49, 111, 152, 1);
|
|
12
25
|
|
|
13
26
|
/* Override super specific text colors to just default text color */
|
|
14
27
|
--eds_heading__h1_bold_color: var(--eds_text_static_icons__default);
|
|
@@ -78,6 +91,8 @@ import{css as e}from"styled-components";const t=e`
|
|
|
78
91
|
--amplify_ui_background_light_medium: rgba(40, 58, 72, 1);
|
|
79
92
|
--amplify_ui_background_heavy: rgba(50, 72, 89, 1);
|
|
80
93
|
--amplify_ui_background_tutorial_card: rgba(50, 72, 89, 1);
|
|
94
|
+
--amplify_ui_background_success: rgba(0, 151, 123, 1);
|
|
95
|
+
|
|
81
96
|
--eds_ui_background__scrim: rgba(0, 0, 0, 0.4);
|
|
82
97
|
--eds_ui_background__overlay: rgba(0, 0, 0, 0.8);
|
|
83
98
|
--eds_ui_background__medium: rgba(44, 64, 79, 1);
|
|
@@ -3,11 +3,26 @@ import{css as e}from"styled-components";const t=e`
|
|
|
3
3
|
--amplify_ui_background_light_medium: rgba(235, 235, 235, 1);
|
|
4
4
|
--amplify_ui_background_heavy: rgba(189, 189, 189, 1);
|
|
5
5
|
--amplify_ui_background_tutorial_card: rgba(222, 237, 238, 1);
|
|
6
|
+
--amplify_ui_background_success: rgba(230, 250, 236, 1);
|
|
6
7
|
|
|
7
8
|
--amplify_interactive_primary_pressed: rgba(19, 46, 49, 1);
|
|
9
|
+
--amplify_interactive_primary__nested_hover: rgba(187, 219, 223, 1);
|
|
10
|
+
|
|
11
|
+
--amplify_interactive_danger__text_hover: rgba(154, 16, 38, 1);
|
|
12
|
+
--amplify_interactive_danger__nested_hover: rgba(255, 208, 206, 1);
|
|
13
|
+
|
|
14
|
+
--amplify_interactive_warning__text_hover: rgba(155, 73, 0, 1);
|
|
15
|
+
--amplify_interactive_warning__nested_hover: rgba(246, 202, 170, 1);
|
|
16
|
+
|
|
17
|
+
--amplify_interactive_success__text_hover: rgba(32, 105, 31, 1);
|
|
18
|
+
--amplify_interactive_success__nested_hover: rgba(195, 243, 210, 1);
|
|
19
|
+
|
|
20
|
+
--amplify_interactive_info__text: rgba(0, 112, 169, 1);
|
|
21
|
+
--amplify_interactive_info__text_hover: rgba(8, 88, 131, 1);
|
|
22
|
+
--amplify_interactive_info__nested_hover: rgba(181, 218, 245, 1);
|
|
23
|
+
|
|
8
24
|
--amplify_interactive_tutorial_active_step: rgba(0, 112, 121, 1);
|
|
9
25
|
--amplify_interactive_tutorial_inactive_step: rgba(168, 206, 209, 1);
|
|
10
|
-
--amplify_interactive_inner_hover: rgba(198, 223, 225, 1);
|
|
11
26
|
|
|
12
27
|
--amplify_dataviz_primary_default: rgba(0, 107, 229, 1);
|
|
13
28
|
--amplify_dataviz_primary_darker: rgba(0, 83, 178, 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
15
|
+
declare const ExpandingIconButton: react1.ForwardRefExoticComponent<ExpandingIconButtonProps & react1.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ExpandingIconButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
24
|
+
declare const IconToggleButton: react0.ForwardRefExoticComponent<IconToggleButtonProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { IconToggleButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react12 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:
|
|
28
|
+
declare const Chip: react12.ForwardRefExoticComponent<ChipProps & react12.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
|
|
2
|
+
import * as react6 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:
|
|
12
|
+
declare const DatePicker$1: react6.ForwardRefExoticComponent<Omit<DatePickerProps, "defaultValue" | "variant"> & {
|
|
13
13
|
variant?: Variants;
|
|
14
14
|
defaultValue?: Date | undefined;
|
|
15
15
|
meta?: string;
|
|
16
16
|
loading?: boolean;
|
|
17
|
-
} &
|
|
17
|
+
} & react6.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { DatePicker$1 as DatePicker, DatePickerProps$1 as DatePickerProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonColors, ButtonVariants } from "../Button/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react8 from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { DialogProps } from "@equinor/eds-core-react";
|
|
5
5
|
import { IconData } from "@equinor/eds-icons";
|
|
@@ -52,6 +52,6 @@ interface DialogProps$1 extends Omit<DialogProps, 'title'> {
|
|
|
52
52
|
* @param additionalInfo - Defaults to empty, and won't show the additional info button
|
|
53
53
|
* Also inherits props from EDS dialog
|
|
54
54
|
*/
|
|
55
|
-
declare const Dialog$1:
|
|
55
|
+
declare const Dialog$1: react8.ForwardRefExoticComponent<DialogProps$1 & react8.RefAttributes<HTMLDivElement>>;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { Dialog$1 as Dialog, DialogAction, DialogProps$1 as DialogProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react157 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:
|
|
18
|
+
declare const ListItem: react157.ForwardRefExoticComponent<ListItemProps & react157.RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ListItem, ListItemProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeEvent, MouseEvent } from "react";
|
|
2
|
-
import * as
|
|
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>):
|
|
46
|
+
}: OptionDrawerProps<T>): react_jsx_runtime1.JSX.Element;
|
|
47
47
|
displayName: string;
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
4
|
+
import * as react37 from "react";
|
|
5
5
|
import { FC } from "react";
|
|
6
6
|
import * as styled_components5 from "styled-components";
|
|
7
7
|
import { Editor } from "@tiptap/react";
|
|
@@ -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<
|
|
18
|
-
Bars: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<
|
|
19
|
-
Button:
|
|
20
|
-
Section: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<
|
|
17
|
+
Bar: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react37.DetailedHTMLProps<react37.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react37.DetailedHTMLProps<react37.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
18
|
+
Bars: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react37.DetailedHTMLProps<react37.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react37.DetailedHTMLProps<react37.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
19
|
+
Button: react37.ForwardRefExoticComponent<Omit<MenuButtonProps, "ref"> & react37.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
Section: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react37.DetailedHTMLProps<react37.HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<react37.DetailedHTMLProps<react37.HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
|
|
21
21
|
AddImageButton: FC<AddImageProps>;
|
|
22
22
|
};
|
|
23
23
|
declare const EditorText: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react35 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:
|
|
8
|
+
declare const Search$1: react35.ForwardRefExoticComponent<SearchProps$1 & react35.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
|
|
2
|
+
import * as react_jsx_runtime0 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>):
|
|
20
|
+
declare function ComboBox<T extends SelectOptionRequired>(props: ComboBoxProps<T>): react_jsx_runtime0.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ComboBox, ComboBoxProps };
|
|
@@ -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<
|
|
14
|
+
declare const ComboBoxChip: styled_components_dist_types5.IStyledComponentBase<"web", styled_components11.FastOmit<styled_components11.FastOmit<((Omit<react55.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
|
|
15
15
|
onClick?: undefined;
|
|
16
16
|
onDelete?: undefined;
|
|
17
|
-
}) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<
|
|
17
|
+
}) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never> & Partial<Pick<styled_components11.FastOmit<((Omit<react55.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
|
|
18
18
|
onClick?: undefined;
|
|
19
19
|
onDelete?: undefined;
|
|
20
|
-
}) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<
|
|
20
|
+
}) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never>>> & string & Omit<react55.ForwardRefExoticComponent<(Omit<react55.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
|
|
21
21
|
onClick?: undefined;
|
|
22
22
|
onDelete?: undefined;
|
|
23
|
-
}) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<
|
|
23
|
+
}) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLButtonElement | HTMLDivElement>>, keyof react55.Component<any, {}, any>>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { ComboBoxChip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react159 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:
|
|
10
|
+
declare const Checkbox$1: react159.ForwardRefExoticComponent<CheckboxProps$1 & react159.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Checkbox$1 as Checkbox, CheckboxProps$1 as CheckboxProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react153 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:
|
|
10
|
+
declare const Radio$1: react153.ForwardRefExoticComponent<RadioProps$1 & react153.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Radio$1 as Radio, RadioProps$1 as RadioProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react155 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:
|
|
8
|
+
declare const Switch$1: react155.ForwardRefExoticComponent<SwitchProps$1 & react155.RefAttributes<HTMLInputElement>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Switch$1 as Switch, SwitchProps$1 as SwitchProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterProps } from "./Filter.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
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>):
|
|
35
|
+
}: FilterProps<T>): react_jsx_runtime5.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { Filter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
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>):
|
|
16
|
+
}: SortMenuProps<S>): react_jsx_runtime6.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { SortMenu };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 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) =>
|
|
15
|
+
}: BadRequestProps) => react_jsx_runtime9.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { BadRequest };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 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) =>
|
|
17
|
+
}: GenericErrorProps) => react_jsx_runtime11.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { GenericError };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime8 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) =>
|
|
17
|
+
}: MissingPermissionsProps) => react_jsx_runtime8.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { MissingPermissions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
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) =>
|
|
15
|
+
}: PageNotFoundProps) => react_jsx_runtime10.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { PageNotFound };
|