@equinor/amplify-component-lib 13.1.2 → 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/hooks/useSelect.d.ts +3 -3
- 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/molecules/Button/tokens/danger.js +1 -1
- package/dist/molecules/Button/tokens/disabled.js +1 -1
- package/dist/molecules/Button/tokens/primary.js +1 -1
- package/dist/molecules/Chip/Chip.d.ts +2 -2
- package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
- package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/dist/molecules/Dialog/Dialog.d.ts +2 -2
- package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
- package/dist/molecules/IconCell/IconCell.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/OptionalTooltip/OptionalTooltip.d.ts +4 -4
- package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
- package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +5 -5
- package/dist/molecules/RichTextEditor/index.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/PersistentComboBox/PersistentComboBox.d.ts +2 -2
- package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
- package/dist/molecules/SelectionControls/Checkbox/Checkbox.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/ServerError.d.ts +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
- 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
|
|
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:
|
|
20
|
-
itemRefs:
|
|
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;
|
|
@@ -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 +1 @@
|
|
|
1
|
-
import{colors as e}from"../../../atoms/style/colors.js";import{DISABLED_TOKENS as t}from"./disabled.js";const n={filled:{backgroundColor:e.interactive.danger__resting.rgba,color:e.text.static_icons__primary_white.rgba,outlineColor:e.interactive.danger__resting.rgba,hover:{backgroundColor:e.interactive.danger__hover.rgba,color:e.text.static_icons__primary_white.rgba},pressed:{backgroundColor:e.interactive.danger__hover.rgba,color:e.text.static_icons__primary_white.rgba},disabled:t.filled},outlined:{backgroundColor
|
|
1
|
+
import{colors as e}from"../../../atoms/style/colors.js";import{DISABLED_TOKENS as t}from"./disabled.js";const n={filled:{backgroundColor:e.interactive.danger__resting.rgba,color:e.text.static_icons__primary_white.rgba,outlineColor:e.interactive.danger__resting.rgba,hover:{backgroundColor:e.interactive.danger__hover.rgba,color:e.text.static_icons__primary_white.rgba},pressed:{backgroundColor:e.interactive.danger__hover.rgba,color:e.text.static_icons__primary_white.rgba},disabled:t.filled},outlined:{backgroundColor:`transparent`,color:e.interactive.danger__resting.rgba,borderColor:e.interactive.danger__resting.rgba,outlineColor:e.interactive.danger__resting.rgba,hover:{backgroundColor:e.interactive.danger__highlight.rgba,color:e.interactive.danger__hover.rgba,borderColor:e.interactive.danger__hover.rgba},pressed:{backgroundColor:`transparent`,color:e.interactive.danger__hover.rgba,borderColor:e.interactive.danger__hover.rgba},disabled:t.outlined},ghost:{backgroundColor:`transparent`,color:e.interactive.danger__resting.rgba,outlineColor:e.interactive.danger__resting.rgba,hover:{backgroundColor:e.interactive.danger__highlight.rgba,color:e.interactive.danger__hover.rgba},pressed:{backgroundColor:`transparent`,color:e.interactive.danger__hover.rgba,borderColor:e.interactive.danger__hover.rgba},disabled:t.ghost}};export{n as DANGER_TOKENS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{colors as e}from"../../../atoms/style/colors.js";const t={filled:{backgroundColor:e.interactive.disabled__fill.rgba,color:e.interactive.disabled__text.rgba},outlined:{backgroundColor
|
|
1
|
+
import{colors as e}from"../../../atoms/style/colors.js";const t={filled:{backgroundColor:e.interactive.disabled__fill.rgba,color:e.interactive.disabled__text.rgba},outlined:{backgroundColor:`transparent`,color:e.interactive.disabled__text.rgba,borderColor:e.interactive.disabled__text.rgba},ghost:{backgroundColor:`transparent`,color:e.interactive.disabled__text.rgba}};export{t as DISABLED_TOKENS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{colors as e}from"../../../atoms/style/colors.js";import{DISABLED_TOKENS as t}from"./disabled.js";const n={filled:{backgroundColor:e.interactive.primary__resting.rgba,color:e.text.static_icons__primary_white.rgba,outlineColor:e.interactive.primary__resting.rgba,hover:{backgroundColor:e.interactive.primary__hover.rgba,color:e.text.static_icons__primary_white.rgba,borderColor:e.interactive.primary__hover.rgba},pressed:{backgroundColor:e.interactive.primary__pressed.rgba,color:e.text.static_icons__primary_white.rgba},disabled:t.filled},outlined:{backgroundColor
|
|
1
|
+
import{colors as e}from"../../../atoms/style/colors.js";import{DISABLED_TOKENS as t}from"./disabled.js";const n={filled:{backgroundColor:e.interactive.primary__resting.rgba,color:e.text.static_icons__primary_white.rgba,outlineColor:e.interactive.primary__resting.rgba,hover:{backgroundColor:e.interactive.primary__hover.rgba,color:e.text.static_icons__primary_white.rgba,borderColor:e.interactive.primary__hover.rgba},pressed:{backgroundColor:e.interactive.primary__pressed.rgba,color:e.text.static_icons__primary_white.rgba},disabled:t.filled},outlined:{backgroundColor:`transparent`,color:e.interactive.primary__resting.rgba,borderColor:e.interactive.primary__resting.rgba,outlineColor:e.interactive.primary__resting.rgba,hover:{backgroundColor:e.interactive.primary__hover_alt.rgba,color:e.interactive.primary__hover.rgba,borderColor:e.interactive.primary__hover.rgba},pressed:{backgroundColor:`transparent`,color:e.interactive.primary__pressed.rgba,borderColor:e.interactive.primary__pressed.rgba},disabled:t.outlined},ghost:{backgroundColor:`transparent`,color:e.interactive.primary__resting.rgba,outlineColor:e.interactive.primary__resting.rgba,hover:{backgroundColor:e.interactive.primary__hover_alt.rgba,color:e.interactive.primary__hover.rgba,borderColor:e.interactive.primary__hover_alt.rgba},pressed:{backgroundColor:`transparent`,color:e.interactive.primary__pressed.rgba,borderColor:e.interactive.primary__pressed.rgba},disabled:t.ghost}};export{n as PRIMARY_TOKENS};
|
|
@@ -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 { Variants } from "../../atoms/types/variants.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react10 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:
|
|
11
|
+
declare const DateRangePicker$1: react10.ForwardRefExoticComponent<Omit<DateRangePickerProps, "variant"> & {
|
|
12
12
|
variant?: Variants;
|
|
13
13
|
meta?: string;
|
|
14
14
|
loading?: boolean;
|
|
15
|
-
} &
|
|
15
|
+
} & react10.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DateRangePicker$1 as DateRangePicker, DateRangePickerProps$1 as DateRangePickerProps };
|
|
@@ -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,11 +1,11 @@
|
|
|
1
1
|
import { SizeIconProps } from "../../atoms/types/Icon.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react14 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:
|
|
9
|
+
declare const EquinorLogo: react14.ForwardRefExoticComponent<EquinorLogoProps & react14.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
|
|
2
|
+
import * as react16 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:
|
|
52
|
+
declare const IconCell: react16.ForwardRefExoticComponent<IconCellProps & react16.RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { IconCell, IconCellProps };
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react18 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:
|
|
9
|
+
declare const OptionalTooltip: react18.ForwardRefExoticComponent<{
|
|
10
10
|
textTransform?: string;
|
|
11
11
|
} & {
|
|
12
12
|
placement?: _floating_ui_utils0.Placement;
|
|
13
|
-
title?:
|
|
13
|
+
title?: react18.ReactNode;
|
|
14
14
|
children: React.ReactElement & React.RefAttributes<HTMLElement>;
|
|
15
15
|
enterDelay?: number;
|
|
16
16
|
portalContainer?: HTMLElement;
|
|
17
|
-
} & Omit<
|
|
17
|
+
} & Omit<react18.HTMLAttributes<HTMLDivElement>, "title"> & react18.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { OptionalTooltip, OptionalTooltipProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react22 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:
|
|
10
|
+
declare const ProfileAvatar: react22.ForwardRefExoticComponent<ProfileAvatarProps & react22.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ProfileAvatar, ProfileAvatarProps };
|
|
@@ -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: {
|
|
@@ -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
|
|
5
|
+
import * as react24 from "react";
|
|
6
6
|
import * as styled_components0 from "styled-components";
|
|
7
7
|
import * as _tiptap_react0 from "@tiptap/react";
|
|
8
8
|
import * as styled_components_dist_types0 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<
|
|
13
|
-
Provider:
|
|
14
|
-
Content: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<styled_components0.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> &
|
|
15
|
-
Bar:
|
|
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>;
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
18
18
|
export { RichText };
|
|
@@ -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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, MultiSelectCommon, PersistentSelectProps, SelectOptionRequired } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 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>):
|
|
21
|
+
declare function PersistentComboBox<T extends SelectOptionRequired>(props: PersistentComboBoxProps<T>): react_jsx_runtime2.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { PersistentComboBox, PersistentComboBoxProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, SelectOptionRequired, SingleSelectCommon } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 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>):
|
|
18
|
+
declare function SingleSelect<T extends SelectOptionRequired>(props: SingleSelectProps<T>): react_jsx_runtime3.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { SingleSelect, SingleSelectProps };
|
|
@@ -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,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_runtime12 from "react/jsx-runtime";
|
|
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) =>
|
|
15
|
+
}: ServerErrorProps) => react_jsx_runtime12.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ServerError };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
9
|
+
declare const NotificationContext: react213.Context<NotificationContext | undefined>;
|
|
10
10
|
declare const useNotification: () => NotificationContext;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useNotification };
|