@equinor/amplify-component-lib 8.9.0 → 8.9.2

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 (69) hide show
  1. package/dist/atoms/hooks/useAmplifyKit.js +1 -1
  2. package/dist/atoms/index.js +1 -1
  3. package/dist/atoms/style/colors.d.ts +151 -145
  4. package/dist/atoms/style/colors.js +1 -1
  5. package/dist/atoms/style/darkTokens.js +3 -1
  6. package/dist/atoms/style/index.d.ts +549 -1
  7. package/dist/atoms/style/index.js +1 -1
  8. package/dist/atoms/style/lightTokens.js +7 -3
  9. package/dist/atoms/utils/auth_environment.js +1 -1
  10. package/dist/atoms/utils/errors.js +1 -1
  11. package/dist/deprecated/CommentField/CommentField.js +13 -13
  12. package/dist/index.js +1 -1
  13. package/dist/molecules/Chip/Chip.styles.js +14 -14
  14. package/dist/molecules/Dialog/Dialog.d.ts +1 -0
  15. package/dist/molecules/Dialog/DialogAction.js +1 -1
  16. package/dist/molecules/FileProgress/FileProgress.d.ts +4 -0
  17. package/dist/molecules/FileProgress/RegularFileProgress.js +1 -1
  18. package/dist/molecules/FileUploadArea/FileUploadArea.js +32 -15
  19. package/dist/molecules/FileUploadArea/UploadIllustration.d.ts +2 -0
  20. package/dist/molecules/FileUploadArea/UploadIllustration.js +1 -0
  21. package/dist/molecules/ProfileAvatar/ProfileAvatar.js +8 -3
  22. package/dist/molecules/RichTextDisplay/RichTextDisplay.d.ts +5 -2
  23. package/dist/molecules/RichTextDisplay/RichTextDisplay.js +1 -1
  24. package/dist/molecules/RichTextEditor/EditorProvider.js +1 -1
  25. package/dist/molecules/RichTextEditor/RichTextEditor.d.ts +1 -0
  26. package/dist/molecules/RichTextEditor/RichTextEditor.js +1 -1
  27. package/dist/molecules/RichTextEditor/RichTextEditor.styles.d.ts +1 -0
  28. package/dist/molecules/RichTextEditor/RichTextEditor.styles.js +14 -14
  29. package/dist/molecules/RichTextEditor/index.d.ts +1 -0
  30. package/dist/molecules/RichTextEditor/index.js +1 -1
  31. package/dist/molecules/SelectionControls/SelectionControls.styles.js +18 -15
  32. package/dist/organisms/ErrorPage/collections/PageNotFound.js +1 -1
  33. package/dist/organisms/ErrorPage/collections/Unauthorized.js +2 -2
  34. package/dist/organisms/FieldSelector/ChangingField.js +4 -4
  35. package/dist/organisms/SideBar/CreateItem.d.ts +1 -0
  36. package/dist/organisms/SideBar/CreateItem.js +1 -1
  37. package/dist/organisms/SideBar/CreateItem.styles.d.ts +4 -1
  38. package/dist/organisms/SideBar/CreateItem.styles.js +6 -5
  39. package/dist/organisms/SideBar/SideBar.d.ts +1 -0
  40. package/dist/organisms/SideBar/SideBar.js +1 -1
  41. package/dist/organisms/TopBar/Account/Account.d.ts +4 -3
  42. package/dist/organisms/TopBar/Account/Account.js +1 -1
  43. package/dist/organisms/TopBar/Account/Account.styles.js +29 -26
  44. package/dist/organisms/TopBar/Account/AccountAvatar.js +3 -3
  45. package/dist/organisms/TopBar/Account/AccountButton.js +3 -3
  46. package/dist/organisms/TopBar/Account/ActiveUserImpersonationButton.js +4 -4
  47. package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +1 -1
  48. package/dist/organisms/TopBar/Account/ImpersonateButton.js +4 -4
  49. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateNewUserButton.js +3 -3
  50. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.d.ts +0 -1
  51. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.js +1 -1
  52. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
  53. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.styles.js +15 -12
  54. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.styles.js +2 -2
  55. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.js +1 -1
  56. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.d.ts +3 -0
  57. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.js +9 -6
  58. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +5 -2
  59. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.d.ts +1 -1
  60. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.js +14 -7
  61. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useCreateImpersonation.js +1 -1
  62. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
  63. package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
  64. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/FilterHeader/FilterHeader.js +1 -1
  65. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/ReleasePost.js +1 -1
  66. package/dist/organisms/TopBar/Resources/Resources.js +5 -5
  67. package/dist/organisms/TopBar/TransferToAppDialog.js +11 -11
  68. package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
  69. package/package.json +1 -1
@@ -1 +1 @@
1
- import{useMemo as e}from"react";import{RichText as o}from"../../molecules/RichTextEditor/index.js";import{RichTextEditorFeatures as r}from"../../molecules/RichTextEditor/RichTextEditor.types.js";const i=({features:i,placeholder:t,onImageUpload:l})=>e((()=>o.Kit.configure({placeholder:t?{placeholder:t}:void 0,image:!!i?.includes(r.IMAGES)&&{onImageUpload:l}})),[l,t,i]);export{i as useAmplifyKit};
1
+ import{useMemo as e}from"react";import{RichText as i}from"../../molecules/RichTextEditor/index.js";import{RichTextEditorFeatures as l}from"../../molecules/RichTextEditor/RichTextEditor.types.js";const o=({features:o,placeholder:d,onImageUpload:t})=>e((()=>i.Kit.configure({placeholder:d?{placeholder:d}:void 0,link:!!o?.includes(l.LINKS)&&{},table:!!o?.includes(l.TABLE)&&{},textAlign:!!o?.includes(l.ALIGNMENT)&&{},bulletList:!!o?.includes(l.LISTS)&&{},orderedList:!!o?.includes(l.LISTS)&&{},codeBlockLowlight:!!o?.includes(l.CODE)&&{},image:!!o?.includes(l.IMAGES)&&{onImageUpload:t},heading:!!o?.includes(l.HEADERS)&&{}})),[t,d,o]);export{o as useAmplifyKit};
@@ -1 +1 @@
1
- import"react";import"../molecules/RichTextEditor/custom-extensions/AmplifyKit.js";import"../molecules/RichTextEditor/MenuBar/MenuBar.js";import"@tiptap/react";import"../molecules/RichTextEditor/RichTextEditor.styles.js";import"react/jsx-runtime";import"../molecules/RichTextEditor/RichTextEditor.types.js";import"../node_modules/lodash/lodash.js";import"@equinor/subsurface-app-management";import"@microsoft/signalr";import"@tanstack/react-query";export{EnvironmentType}from"./enums/Environment.js";export{auth,environment}from"./utils/auth_environment.js";export{useNotification}from"../organisms/TopBar/Notifications/NotificationProvider.js";export{useAuth}from"../providers/AuthProvider/AuthProvider.js";export{useReleaseNotes}from"../providers/ReleaseNotesProvider.js";export{useSideBar}from"../providers/SideBarProvider.js";export{useSnackbar}from"../providers/SnackbarProvider/SnackbarProvider.js";export{useTableOfContents}from"../providers/TableOfContentsProvider.js";export{useThemeProvider}from"../providers/ThemeProvider/ThemeProvider.js";export{useTutorialSteps}from"../providers/TutorialStepsProvider.js";import*as r from"./style/index.js";export{ErrorType}from"./enums/Errors.js";export{Theme}from"./enums/Theme.js";import"../organisms/ErrorPage/illustrations/GlitchAnimation.js";import"../organisms/ErrorPage/illustrations/QuestioningAnimation.js";import"proj4";import"html2canvas";const e=r;export{e as style};
1
+ import"react";import"../molecules/RichTextEditor/custom-extensions/AmplifyKit.js";import"../molecules/RichTextEditor/MenuBar/MenuBar.js";import"@tiptap/react";import"../molecules/RichTextEditor/RichTextEditor.styles.js";import"react/jsx-runtime";import"../molecules/AnimatedCheckmark/AnimatedCheckmark.styles.js";import"../molecules/ApplicationIcon/ApplicationIcon.js";import"../molecules/Badge/Badge.styles.js";import"@equinor/eds-core-react";import"../molecules/Banner/Banner.styles.js";import"@equinor/eds-icons";import"../molecules/Chip/Chip.js";import"../molecules/ContentMenu/ContentMenu.js";import"../molecules/Dialog/Dialog.js";import"../molecules/EquinorLogo/EquinorLogo.js";import*as e from"./style/index.js";export{elevation,shape,typography}from"./style/index.js";import"../molecules/FileProgress/CompactFileProgress.styles.js";export{ErrorType}from"./enums/Errors.js";export{EnvironmentType}from"./enums/Environment.js";export{Theme}from"./enums/Theme.js";import"../organisms/ErrorPage/illustrations/GlitchAnimation.js";import"../organisms/ErrorPage/illustrations/QuestioningAnimation.js";import"proj4";import"../molecules/RichTextEditor/RichTextEditor.types.js";export{auth,environment}from"./utils/auth_environment.js";import"html2canvas";import"../molecules/FileProgress/RegularFileProgress.styles.js";import"../molecules/FileUploadArea/FileUploadArea.js";import"../molecules/FullPageSpinner/FullPageSpinner.js";import"../molecules/InfoElement/InfoElement.js";import"../molecules/OptionalTooltip/OptionalTooltip.js";import"../molecules/ProfileAvatar/ProfileAvatar.js";import"../molecules/RichTextEditor/MenuBar/MenuBar.styles.js";import"../molecules/RichTextEditor/MenuBar/MenuButton.js";import"../molecules/Search/Search.js";import"react-router-dom";import"../molecules/Sieve/Sieve.styles.js";import"../node_modules/lodash/lodash.js";import"../molecules/SingleFilterMenu/SingleFilterMenu.js";import"../molecules/Skeleton/SkeletonBase/SkeletonBase.js";import"../molecules/Stepper/Stepper.js";import"../molecules/OptionDrawer/OptionDrawer.js";import"../molecules/Select/Select.styles.js";export{colors}from"./style/colors.js";import"../molecules/ListItem/ListItem.js";import"../molecules/SelectionControls/Checkbox/Checkbox.js";import"../molecules/SelectionControls/Radio/Radio.js";import"../molecules/SelectionControls/Switch/Switch.js";import"@equinor/subsurface-app-management";import"@microsoft/signalr";import"@tanstack/react-query";export{useNotification}from"../organisms/TopBar/Notifications/NotificationProvider.js";export{useAuth}from"../providers/AuthProvider/AuthProvider.js";export{useReleaseNotes}from"../providers/ReleaseNotesProvider.js";export{useSideBar}from"../providers/SideBarProvider.js";export{useSnackbar}from"../providers/SnackbarProvider/SnackbarProvider.js";export{useTableOfContents}from"../providers/TableOfContentsProvider.js";export{useThemeProvider}from"../providers/ThemeProvider/ThemeProvider.js";export{useTutorialSteps}from"../providers/TutorialStepsProvider.js";const o=e;export{o as style};
@@ -1,447 +1,453 @@
1
1
  import { Variants } from '../types/variants';
2
2
  export declare const colors: {
3
- readonly dataviz: {
4
- readonly darkblue: {
5
- readonly default: "var(--amplify_dataviz_darkblue_default, rgba(0, 71, 153, 1))";
6
- readonly darker: "var(--amplify_dataviz_darkblue_darker, rgba(4, 48, 98, 1))";
7
- readonly lighter: "var(--amplify_dataviz_darkblue_lighter, rgba(191, 220, 252, 1))";
8
- };
9
- readonly lightblue: {
10
- readonly default: "var(--amplify_dataviz_lightblue_default, rgba(133, 208, 250, 1))";
11
- readonly darker: "var(--amplify_dataviz_lightblue_darker, rgba(35, 170, 246, 1))";
12
- readonly lighter: "var(--amplify_dataviz_lightblue_lighter, rgba(211, 238, 253, 1))";
13
- };
14
- readonly lightgreen: {
15
- readonly default: "var(--amplify_dataviz_lightgreen_default, rgba(10, 194, 154, 1))";
16
- readonly darker: "var(--amplify_dataviz_lightgreen_darker, rgba(8, 145, 115, 1))";
17
- readonly lighter: "var(--amplify_dataviz_lightgreen_lighter, rgba(220, 241, 236, 1))";
18
- };
19
- readonly darkgreen: {
20
- readonly default: "var(--amplify_dataviz_darkgreen_default, rgba(0, 102, 76, 1))";
21
- readonly darker: "var(--amplify_dataviz_darkgreen_darker, rgba(0, 61, 46, 1))";
22
- readonly lighter: "var(--amplify_dataviz_darkgreen_lighter, rgba(200, 237, 227, 1))";
23
- };
24
- readonly darkpink: {
25
- readonly default: "var(--amplify_dataviz_darkpink_default, rgba(169, 30, 88, 1))";
26
- readonly darker: "var(--amplify_dataviz_darkpink_darker, rgba(135, 18, 67, 1))";
27
- readonly lighter: "var(--amplify_dataviz_darkpink_lighter, rgba(252, 212, 229, 1))";
28
- };
29
- readonly lightpink: {
30
- readonly default: "var(--amplify_dataviz_lightpink_default, rgba(255, 128, 138, 1))";
31
- readonly darker: "var(--amplify_dataviz_lightpink_darker, rgba(225, 81, 93, 1))";
32
- readonly lighter: "var(--amplify_dataviz_lightpink_lighter, rgba(255, 219, 222, 1))";
33
- };
34
- readonly darkyellow: {
35
- readonly default: "var(--amplify_dataviz_darkyellow_default, rgba(160, 112, 28, 1))";
36
- readonly darker: "var(--amplify_dataviz_darkyellow_darker, rgba(121, 85, 21, 1))";
37
- readonly lighter: "var(--amplify_dataviz_darkyellow_lighter, rgba(244, 226, 195, 1))";
38
- };
39
- readonly lightyellow: {
40
- readonly default: "var(--amplify_dataviz_lightyellow_default, rgba(253, 203, 53, 1))";
41
- readonly darker: "var(--amplify_dataviz_lightyellow_darker, rgba(227, 171, 2, 1))";
42
- readonly lighter: "var(--amplify_dataviz_lightyellow_lighter, rgba(255, 240, 194, 1))";
43
- };
44
- readonly darkpurple: {
45
- readonly default: "var(--amplify_dataviz_darkpurple_default, rgba(147, 20, 219, 1))";
46
- readonly darker: "var(--amplify_dataviz_darkpurple_darker, rgba(97, 1, 152, 1))";
47
- readonly lighter: "var(--amplify_dataviz_darkpurple_lighter, rgba(232, 209, 246, 1))";
48
- };
49
- readonly lightpurple: {
50
- readonly default: "var(--amplify_dataviz_lightpurple_default, rgba(186, 153, 255, 1))";
51
- readonly darker: "var(--amplify_dataviz_lightpurple_darker, rgba(155, 89, 242, 1))";
52
- readonly lighter: "var(--amplify_dataviz_lightpurple_lighter, rgba(234, 224, 255, 1))";
53
- };
54
- readonly darkgray: {
55
- readonly default: "var(--amplify_dataviz_darkgray_default, rgba(122, 122, 122,1))";
56
- readonly darker: "var(--amplify-dataviz_darkgray_darker, rgba(86, 86, 86,1))";
57
- readonly lighter: "var(--amplify-dataviz_darkgray_lighter, rgba(173, 173, 173, 1))";
58
- };
59
- readonly lightgray: {
60
- readonly default: "var(--amplify_dataviz_lightgray_default, rgba(144, 155, 162, 1))";
61
- readonly darker: "var(--amplify_dataviz_lightgray_darker, rgba(91, 102, 108, 1))";
62
- readonly lighter: "var(--amplify_dataviz_lightgray_lighter, rgba(194, 200, 204, 1))";
3
+ readonly ui: {
4
+ readonly background__light_medium: {
5
+ readonly rgba: "var(--amplify_ui_background_light_medium, rgba(235, 235, 235, 1))";
63
6
  };
64
- };
65
- readonly text: {
66
- static_icons__default: {
7
+ readonly background__default: {
67
8
  hex: string;
68
9
  hsla: string;
69
10
  rgba: string;
70
11
  };
71
- static_icons__secondary: {
12
+ readonly background__semitransparent: {
72
13
  hex: string;
73
14
  hsla: string;
74
15
  rgba: string;
75
16
  };
76
- static_icons__tertiary: {
17
+ readonly background__light: {
77
18
  hex: string;
78
19
  hsla: string;
79
20
  rgba: string;
80
21
  };
81
- static_icons__primary_white: {
22
+ readonly background__scrim: {
82
23
  hex: string;
83
24
  hsla: string;
84
25
  rgba: string;
85
26
  };
86
- };
87
- readonly ui: {
88
- background__default: {
27
+ readonly background__overlay: {
89
28
  hex: string;
90
29
  hsla: string;
91
30
  rgba: string;
92
31
  };
93
- background__semitransparent: {
32
+ readonly background__medium: {
94
33
  hex: string;
95
34
  hsla: string;
96
35
  rgba: string;
97
36
  };
98
- background__light: {
37
+ readonly background__info: {
99
38
  hex: string;
100
39
  hsla: string;
101
40
  rgba: string;
102
41
  };
103
- background__scrim: {
42
+ readonly background__warning: {
104
43
  hex: string;
105
44
  hsla: string;
106
45
  rgba: string;
107
46
  };
108
- background__overlay: {
47
+ readonly background__danger: {
109
48
  hex: string;
110
49
  hsla: string;
111
50
  rgba: string;
112
51
  };
113
- background__medium: {
52
+ };
53
+ readonly interactive: {
54
+ readonly primary__pressed: {
55
+ readonly rgba: "var(--amplify_interactive_primary_pressed, rgba(19, 46, 49, 1))";
56
+ };
57
+ readonly primary__selected_highlight: {
114
58
  hex: string;
115
59
  hsla: string;
116
60
  rgba: string;
117
61
  };
118
- background__info: {
62
+ readonly primary__selected_hover: {
119
63
  hex: string;
120
64
  hsla: string;
121
65
  rgba: string;
122
66
  };
123
- background__warning: {
67
+ readonly primary__resting: {
124
68
  hex: string;
125
69
  hsla: string;
126
70
  rgba: string;
127
71
  };
128
- background__danger: {
72
+ readonly primary__hover: {
129
73
  hex: string;
130
74
  hsla: string;
131
75
  rgba: string;
132
76
  };
133
- };
134
- readonly infographic: {
135
- substitute__purple_berry: {
77
+ readonly primary__hover_alt: {
136
78
  hex: string;
137
79
  hsla: string;
138
80
  rgba: string;
139
81
  };
140
- substitute__pink_rose: {
82
+ readonly secondary__highlight: {
141
83
  hex: string;
142
84
  hsla: string;
143
85
  rgba: string;
144
86
  };
145
- substitute__pink_salmon: {
87
+ readonly secondary__resting: {
146
88
  hex: string;
147
89
  hsla: string;
148
90
  rgba: string;
149
91
  };
150
- substitute__green_cucumber: {
92
+ readonly secondary__link_hover: {
151
93
  hex: string;
152
94
  hsla: string;
153
95
  rgba: string;
154
96
  };
155
- substitute__green_succulent: {
97
+ readonly danger__highlight: {
156
98
  hex: string;
157
99
  hsla: string;
158
100
  rgba: string;
159
101
  };
160
- substitute__green_mint: {
102
+ readonly danger__resting: {
161
103
  hex: string;
162
104
  hsla: string;
163
105
  rgba: string;
164
106
  };
165
- substitute__blue_ocean: {
107
+ readonly danger__hover: {
166
108
  hex: string;
167
109
  hsla: string;
168
110
  rgba: string;
169
111
  };
170
- substitute__blue_overcast: {
112
+ readonly danger__text: {
171
113
  hex: string;
172
114
  hsla: string;
173
115
  rgba: string;
174
116
  };
175
- substitute__blue_sky: {
117
+ readonly warning__highlight: {
176
118
  hex: string;
177
119
  hsla: string;
178
120
  rgba: string;
179
121
  };
180
- primary__moss_green_100: {
122
+ readonly warning__resting: {
181
123
  hex: string;
182
124
  hsla: string;
183
125
  rgba: string;
184
126
  };
185
- primary__moss_green_55: {
127
+ readonly warning__hover: {
186
128
  hex: string;
187
129
  hsla: string;
188
130
  rgba: string;
189
131
  };
190
- primary__moss_green_34: {
132
+ readonly warning__text: {
191
133
  hex: string;
192
134
  hsla: string;
193
135
  rgba: string;
194
136
  };
195
- primary__moss_green_21: {
137
+ readonly success__highlight: {
196
138
  hex: string;
197
139
  hsla: string;
198
140
  rgba: string;
199
141
  };
200
- primary__moss_green_13: {
142
+ readonly success__resting: {
201
143
  hex: string;
202
144
  hsla: string;
203
145
  rgba: string;
204
146
  };
205
- primary__energy_red_100: {
147
+ readonly success__hover: {
206
148
  hex: string;
207
149
  hsla: string;
208
150
  rgba: string;
209
151
  };
210
- primary__energy_red_55: {
152
+ readonly success__text: {
211
153
  hex: string;
212
154
  hsla: string;
213
155
  rgba: string;
214
156
  };
215
- primary__energy_red_34: {
157
+ readonly table__cell__fill_resting: {
216
158
  hex: string;
217
159
  hsla: string;
218
160
  rgba: string;
219
161
  };
220
- primary__energy_red_21: {
162
+ readonly table__cell__fill_hover: {
221
163
  hex: string;
222
164
  hsla: string;
223
165
  rgba: string;
224
166
  };
225
- primary__energy_red_13: {
167
+ readonly table__cell__fill_activated: {
226
168
  hex: string;
227
169
  hsla: string;
228
170
  rgba: string;
229
171
  };
230
- primary__weathered_red: {
172
+ readonly table__header__fill_activated: {
231
173
  hex: string;
232
174
  hsla: string;
233
175
  rgba: string;
234
176
  };
235
- primary__slate_blue: {
177
+ readonly table__header__fill_hover: {
236
178
  hex: string;
237
179
  hsla: string;
238
180
  rgba: string;
239
181
  };
240
- primary__spruce_wood: {
182
+ readonly table__header__fill_resting: {
241
183
  hex: string;
242
184
  hsla: string;
243
185
  rgba: string;
244
186
  };
245
- primary__mist_blue: {
187
+ readonly disabled__text: {
246
188
  hex: string;
247
189
  hsla: string;
248
190
  rgba: string;
249
191
  };
250
- primary__lichen_green: {
192
+ readonly text_highlight: {
251
193
  hex: string;
252
194
  hsla: string;
253
195
  rgba: string;
254
196
  };
255
- };
256
- readonly logo: {
257
- fill_positive: {
197
+ readonly focus: {
258
198
  hex: string;
259
199
  hsla: string;
260
200
  rgba: string;
261
201
  };
262
- fill_negative: {
202
+ readonly disabled__border: {
263
203
  hex: string;
264
204
  hsla: string;
265
205
  rgba: string;
266
206
  };
267
- };
268
- readonly interactive: {
269
- primary__selected_highlight: {
207
+ readonly disabled__fill: {
270
208
  hex: string;
271
209
  hsla: string;
272
210
  rgba: string;
273
211
  };
274
- primary__selected_hover: {
212
+ readonly link_on_interactive_colors: {
275
213
  hex: string;
276
214
  hsla: string;
277
215
  rgba: string;
278
216
  };
279
- primary__resting: {
217
+ readonly icon_on_interactive_colors: {
280
218
  hex: string;
281
219
  hsla: string;
282
220
  rgba: string;
283
221
  };
284
- primary__hover: {
222
+ readonly link_in_snackbars: {
285
223
  hex: string;
286
224
  hsla: string;
287
225
  rgba: string;
288
226
  };
289
- primary__hover_alt: {
227
+ readonly pressed_overlay_dark: {
290
228
  hex: string;
291
229
  hsla: string;
292
230
  rgba: string;
293
231
  };
294
- secondary__highlight: {
232
+ readonly pressed_overlay_light: {
295
233
  hex: string;
296
234
  hsla: string;
297
235
  rgba: string;
298
236
  };
299
- secondary__resting: {
237
+ };
238
+ readonly dataviz: {
239
+ readonly darkblue: {
240
+ readonly default: "var(--amplify_dataviz_darkblue_default, rgba(0, 71, 153, 1))";
241
+ readonly darker: "var(--amplify_dataviz_darkblue_darker, rgba(4, 48, 98, 1))";
242
+ readonly lighter: "var(--amplify_dataviz_darkblue_lighter, rgba(191, 220, 252, 1))";
243
+ };
244
+ readonly lightblue: {
245
+ readonly default: "var(--amplify_dataviz_lightblue_default, rgba(133, 208, 250, 1))";
246
+ readonly darker: "var(--amplify_dataviz_lightblue_darker, rgba(35, 170, 246, 1))";
247
+ readonly lighter: "var(--amplify_dataviz_lightblue_lighter, rgba(211, 238, 253, 1))";
248
+ };
249
+ readonly lightgreen: {
250
+ readonly default: "var(--amplify_dataviz_lightgreen_default, rgba(10, 194, 154, 1))";
251
+ readonly darker: "var(--amplify_dataviz_lightgreen_darker, rgba(8, 145, 115, 1))";
252
+ readonly lighter: "var(--amplify_dataviz_lightgreen_lighter, rgba(220, 241, 236, 1))";
253
+ };
254
+ readonly darkgreen: {
255
+ readonly default: "var(--amplify_dataviz_darkgreen_default, rgba(0, 102, 76, 1))";
256
+ readonly darker: "var(--amplify_dataviz_darkgreen_darker, rgba(0, 61, 46, 1))";
257
+ readonly lighter: "var(--amplify_dataviz_darkgreen_lighter, rgba(200, 237, 227, 1))";
258
+ };
259
+ readonly darkpink: {
260
+ readonly default: "var(--amplify_dataviz_darkpink_default, rgba(169, 30, 88, 1))";
261
+ readonly darker: "var(--amplify_dataviz_darkpink_darker, rgba(135, 18, 67, 1))";
262
+ readonly lighter: "var(--amplify_dataviz_darkpink_lighter, rgba(252, 212, 229, 1))";
263
+ };
264
+ readonly lightpink: {
265
+ readonly default: "var(--amplify_dataviz_lightpink_default, rgba(255, 128, 138, 1))";
266
+ readonly darker: "var(--amplify_dataviz_lightpink_darker, rgba(225, 81, 93, 1))";
267
+ readonly lighter: "var(--amplify_dataviz_lightpink_lighter, rgba(255, 219, 222, 1))";
268
+ };
269
+ readonly darkyellow: {
270
+ readonly default: "var(--amplify_dataviz_darkyellow_default, rgba(160, 112, 28, 1))";
271
+ readonly darker: "var(--amplify_dataviz_darkyellow_darker, rgba(121, 85, 21, 1))";
272
+ readonly lighter: "var(--amplify_dataviz_darkyellow_lighter, rgba(244, 226, 195, 1))";
273
+ };
274
+ readonly lightyellow: {
275
+ readonly default: "var(--amplify_dataviz_lightyellow_default, rgba(253, 203, 53, 1))";
276
+ readonly darker: "var(--amplify_dataviz_lightyellow_darker, rgba(227, 171, 2, 1))";
277
+ readonly lighter: "var(--amplify_dataviz_lightyellow_lighter, rgba(255, 240, 194, 1))";
278
+ };
279
+ readonly darkpurple: {
280
+ readonly default: "var(--amplify_dataviz_darkpurple_default, rgba(147, 20, 219, 1))";
281
+ readonly darker: "var(--amplify_dataviz_darkpurple_darker, rgba(97, 1, 152, 1))";
282
+ readonly lighter: "var(--amplify_dataviz_darkpurple_lighter, rgba(232, 209, 246, 1))";
283
+ };
284
+ readonly lightpurple: {
285
+ readonly default: "var(--amplify_dataviz_lightpurple_default, rgba(186, 153, 255, 1))";
286
+ readonly darker: "var(--amplify_dataviz_lightpurple_darker, rgba(155, 89, 242, 1))";
287
+ readonly lighter: "var(--amplify_dataviz_lightpurple_lighter, rgba(234, 224, 255, 1))";
288
+ };
289
+ readonly darkgray: {
290
+ readonly default: "var(--amplify_dataviz_darkgray_default, rgba(122, 122, 122,1))";
291
+ readonly darker: "var(--amplify-dataviz_darkgray_darker, rgba(86, 86, 86,1))";
292
+ readonly lighter: "var(--amplify-dataviz_darkgray_lighter, rgba(173, 173, 173, 1))";
293
+ };
294
+ readonly lightgray: {
295
+ readonly default: "var(--amplify_dataviz_lightgray_default, rgba(144, 155, 162, 1))";
296
+ readonly darker: "var(--amplify_dataviz_lightgray_darker, rgba(91, 102, 108, 1))";
297
+ readonly lighter: "var(--amplify_dataviz_lightgray_lighter, rgba(194, 200, 204, 1))";
298
+ };
299
+ };
300
+ readonly text: {
301
+ static_icons__default: {
300
302
  hex: string;
301
303
  hsla: string;
302
304
  rgba: string;
303
305
  };
304
- secondary__link_hover: {
306
+ static_icons__secondary: {
305
307
  hex: string;
306
308
  hsla: string;
307
309
  rgba: string;
308
310
  };
309
- danger__highlight: {
311
+ static_icons__tertiary: {
310
312
  hex: string;
311
313
  hsla: string;
312
314
  rgba: string;
313
315
  };
314
- danger__resting: {
316
+ static_icons__primary_white: {
315
317
  hex: string;
316
318
  hsla: string;
317
319
  rgba: string;
318
320
  };
319
- danger__hover: {
321
+ };
322
+ readonly infographic: {
323
+ substitute__purple_berry: {
320
324
  hex: string;
321
325
  hsla: string;
322
326
  rgba: string;
323
327
  };
324
- danger__text: {
328
+ substitute__pink_rose: {
325
329
  hex: string;
326
330
  hsla: string;
327
331
  rgba: string;
328
332
  };
329
- warning__highlight: {
333
+ substitute__pink_salmon: {
330
334
  hex: string;
331
335
  hsla: string;
332
336
  rgba: string;
333
337
  };
334
- warning__resting: {
338
+ substitute__green_cucumber: {
335
339
  hex: string;
336
340
  hsla: string;
337
341
  rgba: string;
338
342
  };
339
- warning__hover: {
343
+ substitute__green_succulent: {
340
344
  hex: string;
341
345
  hsla: string;
342
346
  rgba: string;
343
347
  };
344
- warning__text: {
348
+ substitute__green_mint: {
345
349
  hex: string;
346
350
  hsla: string;
347
351
  rgba: string;
348
352
  };
349
- success__highlight: {
353
+ substitute__blue_ocean: {
350
354
  hex: string;
351
355
  hsla: string;
352
356
  rgba: string;
353
357
  };
354
- success__resting: {
358
+ substitute__blue_overcast: {
355
359
  hex: string;
356
360
  hsla: string;
357
361
  rgba: string;
358
362
  };
359
- success__hover: {
363
+ substitute__blue_sky: {
360
364
  hex: string;
361
365
  hsla: string;
362
366
  rgba: string;
363
367
  };
364
- success__text: {
368
+ primary__moss_green_100: {
365
369
  hex: string;
366
370
  hsla: string;
367
371
  rgba: string;
368
372
  };
369
- table__cell__fill_resting: {
373
+ primary__moss_green_55: {
370
374
  hex: string;
371
375
  hsla: string;
372
376
  rgba: string;
373
377
  };
374
- table__cell__fill_hover: {
378
+ primary__moss_green_34: {
375
379
  hex: string;
376
380
  hsla: string;
377
381
  rgba: string;
378
382
  };
379
- table__cell__fill_activated: {
383
+ primary__moss_green_21: {
380
384
  hex: string;
381
385
  hsla: string;
382
386
  rgba: string;
383
387
  };
384
- table__header__fill_activated: {
388
+ primary__moss_green_13: {
385
389
  hex: string;
386
390
  hsla: string;
387
391
  rgba: string;
388
392
  };
389
- table__header__fill_hover: {
393
+ primary__energy_red_100: {
390
394
  hex: string;
391
395
  hsla: string;
392
396
  rgba: string;
393
397
  };
394
- table__header__fill_resting: {
398
+ primary__energy_red_55: {
395
399
  hex: string;
396
400
  hsla: string;
397
401
  rgba: string;
398
402
  };
399
- disabled__text: {
403
+ primary__energy_red_34: {
400
404
  hex: string;
401
405
  hsla: string;
402
406
  rgba: string;
403
407
  };
404
- text_highlight: {
408
+ primary__energy_red_21: {
405
409
  hex: string;
406
410
  hsla: string;
407
411
  rgba: string;
408
412
  };
409
- focus: {
413
+ primary__energy_red_13: {
410
414
  hex: string;
411
415
  hsla: string;
412
416
  rgba: string;
413
417
  };
414
- disabled__border: {
418
+ primary__weathered_red: {
415
419
  hex: string;
416
420
  hsla: string;
417
421
  rgba: string;
418
422
  };
419
- disabled__fill: {
423
+ primary__slate_blue: {
420
424
  hex: string;
421
425
  hsla: string;
422
426
  rgba: string;
423
427
  };
424
- link_on_interactive_colors: {
428
+ primary__spruce_wood: {
425
429
  hex: string;
426
430
  hsla: string;
427
431
  rgba: string;
428
432
  };
429
- icon_on_interactive_colors: {
433
+ primary__mist_blue: {
430
434
  hex: string;
431
435
  hsla: string;
432
436
  rgba: string;
433
437
  };
434
- link_in_snackbars: {
438
+ primary__lichen_green: {
435
439
  hex: string;
436
440
  hsla: string;
437
441
  rgba: string;
438
442
  };
439
- pressed_overlay_dark: {
443
+ };
444
+ readonly logo: {
445
+ fill_positive: {
440
446
  hex: string;
441
447
  hsla: string;
442
448
  rgba: string;
443
449
  };
444
- pressed_overlay_light: {
450
+ fill_negative: {
445
451
  hex: string;
446
452
  hsla: string;
447
453
  rgba: string;
@@ -1 +1 @@
1
- import{tokens as a}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";const{colors:r}=a,i={...r,dataviz:{darkblue:{default:"var(--amplify_dataviz_darkblue_default, rgba(0, 71, 153, 1))",darker:"var(--amplify_dataviz_darkblue_darker, rgba(4, 48, 98, 1))",lighter:"var(--amplify_dataviz_darkblue_lighter, rgba(191, 220, 252, 1))"},lightblue:{default:"var(--amplify_dataviz_lightblue_default, rgba(133, 208, 250, 1))",darker:"var(--amplify_dataviz_lightblue_darker, rgba(35, 170, 246, 1))",lighter:"var(--amplify_dataviz_lightblue_lighter, rgba(211, 238, 253, 1))"},lightgreen:{default:"var(--amplify_dataviz_lightgreen_default, rgba(10, 194, 154, 1))",darker:"var(--amplify_dataviz_lightgreen_darker, rgba(8, 145, 115, 1))",lighter:"var(--amplify_dataviz_lightgreen_lighter, rgba(220, 241, 236, 1))"},darkgreen:{default:"var(--amplify_dataviz_darkgreen_default, rgba(0, 102, 76, 1))",darker:"var(--amplify_dataviz_darkgreen_darker, rgba(0, 61, 46, 1))",lighter:"var(--amplify_dataviz_darkgreen_lighter, rgba(200, 237, 227, 1))"},darkpink:{default:"var(--amplify_dataviz_darkpink_default, rgba(169, 30, 88, 1))",darker:"var(--amplify_dataviz_darkpink_darker, rgba(135, 18, 67, 1))",lighter:"var(--amplify_dataviz_darkpink_lighter, rgba(252, 212, 229, 1))"},lightpink:{default:"var(--amplify_dataviz_lightpink_default, rgba(255, 128, 138, 1))",darker:"var(--amplify_dataviz_lightpink_darker, rgba(225, 81, 93, 1))",lighter:"var(--amplify_dataviz_lightpink_lighter, rgba(255, 219, 222, 1))"},darkyellow:{default:"var(--amplify_dataviz_darkyellow_default, rgba(160, 112, 28, 1))",darker:"var(--amplify_dataviz_darkyellow_darker, rgba(121, 85, 21, 1))",lighter:"var(--amplify_dataviz_darkyellow_lighter, rgba(244, 226, 195, 1))"},lightyellow:{default:"var(--amplify_dataviz_lightyellow_default, rgba(253, 203, 53, 1))",darker:"var(--amplify_dataviz_lightyellow_darker, rgba(227, 171, 2, 1))",lighter:"var(--amplify_dataviz_lightyellow_lighter, rgba(255, 240, 194, 1))"},darkpurple:{default:"var(--amplify_dataviz_darkpurple_default, rgba(147, 20, 219, 1))",darker:"var(--amplify_dataviz_darkpurple_darker, rgba(97, 1, 152, 1))",lighter:"var(--amplify_dataviz_darkpurple_lighter, rgba(232, 209, 246, 1))"},lightpurple:{default:"var(--amplify_dataviz_lightpurple_default, rgba(186, 153, 255, 1))",darker:"var(--amplify_dataviz_lightpurple_darker, rgba(155, 89, 242, 1))",lighter:"var(--amplify_dataviz_lightpurple_lighter, rgba(234, 224, 255, 1))"},darkgray:{default:"var(--amplify_dataviz_darkgray_default, rgba(122, 122, 122,1))",darker:"var(--amplify-dataviz_darkgray_darker, rgba(86, 86, 86,1))",lighter:"var(--amplify-dataviz_darkgray_lighter, rgba(173, 173, 173, 1))"},lightgray:{default:"var(--amplify_dataviz_lightgray_default, rgba(144, 155, 162, 1))",darker:"var(--amplify_dataviz_lightgray_darker, rgba(91, 102, 108, 1))",lighter:"var(--amplify_dataviz_lightgray_lighter, rgba(194, 200, 204, 1))"}}},e={warning:i.interactive.warning__resting.rgba,error:i.interactive.danger__resting.rgba,success:i.interactive.success__resting.rgba,dirty:i.infographic.substitute__blue_ocean.rgba},l={warning:i.interactive.warning__hover.rgba,error:i.interactive.danger__hover.rgba,success:i.interactive.success__hover.rgba,dirty:i.infographic.substitute__blue_ocean.rgba};export{e as VARIANT_COLORS,l as VARIANT_HELPER_COLORS,i as colors};
1
+ import{tokens as a}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";const{colors:r}=a,i={...r,ui:{...r.ui,background__light_medium:{rgba:"var(--amplify_ui_background_light_medium, rgba(235, 235, 235, 1))"}},interactive:{...r.interactive,primary__pressed:{rgba:"var(--amplify_interactive_primary_pressed, rgba(19, 46, 49, 1))"}},dataviz:{darkblue:{default:"var(--amplify_dataviz_darkblue_default, rgba(0, 71, 153, 1))",darker:"var(--amplify_dataviz_darkblue_darker, rgba(4, 48, 98, 1))",lighter:"var(--amplify_dataviz_darkblue_lighter, rgba(191, 220, 252, 1))"},lightblue:{default:"var(--amplify_dataviz_lightblue_default, rgba(133, 208, 250, 1))",darker:"var(--amplify_dataviz_lightblue_darker, rgba(35, 170, 246, 1))",lighter:"var(--amplify_dataviz_lightblue_lighter, rgba(211, 238, 253, 1))"},lightgreen:{default:"var(--amplify_dataviz_lightgreen_default, rgba(10, 194, 154, 1))",darker:"var(--amplify_dataviz_lightgreen_darker, rgba(8, 145, 115, 1))",lighter:"var(--amplify_dataviz_lightgreen_lighter, rgba(220, 241, 236, 1))"},darkgreen:{default:"var(--amplify_dataviz_darkgreen_default, rgba(0, 102, 76, 1))",darker:"var(--amplify_dataviz_darkgreen_darker, rgba(0, 61, 46, 1))",lighter:"var(--amplify_dataviz_darkgreen_lighter, rgba(200, 237, 227, 1))"},darkpink:{default:"var(--amplify_dataviz_darkpink_default, rgba(169, 30, 88, 1))",darker:"var(--amplify_dataviz_darkpink_darker, rgba(135, 18, 67, 1))",lighter:"var(--amplify_dataviz_darkpink_lighter, rgba(252, 212, 229, 1))"},lightpink:{default:"var(--amplify_dataviz_lightpink_default, rgba(255, 128, 138, 1))",darker:"var(--amplify_dataviz_lightpink_darker, rgba(225, 81, 93, 1))",lighter:"var(--amplify_dataviz_lightpink_lighter, rgba(255, 219, 222, 1))"},darkyellow:{default:"var(--amplify_dataviz_darkyellow_default, rgba(160, 112, 28, 1))",darker:"var(--amplify_dataviz_darkyellow_darker, rgba(121, 85, 21, 1))",lighter:"var(--amplify_dataviz_darkyellow_lighter, rgba(244, 226, 195, 1))"},lightyellow:{default:"var(--amplify_dataviz_lightyellow_default, rgba(253, 203, 53, 1))",darker:"var(--amplify_dataviz_lightyellow_darker, rgba(227, 171, 2, 1))",lighter:"var(--amplify_dataviz_lightyellow_lighter, rgba(255, 240, 194, 1))"},darkpurple:{default:"var(--amplify_dataviz_darkpurple_default, rgba(147, 20, 219, 1))",darker:"var(--amplify_dataviz_darkpurple_darker, rgba(97, 1, 152, 1))",lighter:"var(--amplify_dataviz_darkpurple_lighter, rgba(232, 209, 246, 1))"},lightpurple:{default:"var(--amplify_dataviz_lightpurple_default, rgba(186, 153, 255, 1))",darker:"var(--amplify_dataviz_lightpurple_darker, rgba(155, 89, 242, 1))",lighter:"var(--amplify_dataviz_lightpurple_lighter, rgba(234, 224, 255, 1))"},darkgray:{default:"var(--amplify_dataviz_darkgray_default, rgba(122, 122, 122,1))",darker:"var(--amplify-dataviz_darkgray_darker, rgba(86, 86, 86,1))",lighter:"var(--amplify-dataviz_darkgray_lighter, rgba(173, 173, 173, 1))"},lightgray:{default:"var(--amplify_dataviz_lightgray_default, rgba(144, 155, 162, 1))",darker:"var(--amplify_dataviz_lightgray_darker, rgba(91, 102, 108, 1))",lighter:"var(--amplify_dataviz_lightgray_lighter, rgba(194, 200, 204, 1))"}}},e={warning:i.interactive.warning__resting.rgba,error:i.interactive.danger__resting.rgba,success:i.interactive.success__resting.rgba,dirty:i.infographic.substitute__blue_ocean.rgba},l={warning:i.interactive.warning__hover.rgba,error:i.interactive.danger__hover.rgba,success:i.interactive.success__hover.rgba,dirty:i.infographic.substitute__blue_ocean.rgba};export{e as VARIANT_COLORS,l as VARIANT_HELPER_COLORS,i as colors};
@@ -1,6 +1,6 @@
1
1
  import{css as _}from"styled-components";const e=_`
2
2
  /*Dark Theme*/
3
- html[data-theme='dark'] {
3
+ [data-theme='dark'] {
4
4
  textarea,
5
5
  input {
6
6
  color: var(--eds_text_static_icons__default);
@@ -27,6 +27,7 @@ import{css as _}from"styled-components";const e=_`
27
27
  --eds_ui_background__default: rgba(19, 38, 52, 1);
28
28
  --eds_ui_background__semitransparent: rgba(255, 255, 255, 0.2);
29
29
  --eds_ui_background__light: rgba(38, 55, 68, 1);
30
+ --amplify_ui_background_light_medium: rgba(40, 58, 72, 1);
30
31
  --eds_ui_background__scrim: rgba(0, 0, 0, 0.4);
31
32
  --eds_ui_background__overlay: rgba(0, 0, 0, 0.8);
32
33
  --eds_ui_background__medium: rgba(44, 64, 79, 1);
@@ -64,6 +65,7 @@ import{css as _}from"styled-components";const e=_`
64
65
  --eds_interactive_primary__resting: rgba(151, 202, 206, 1);
65
66
  --eds_interactive_primary__hover: rgba(173, 226, 230, 1);
66
67
  --eds_interactive_primary__hover_alt: rgb(96, 125, 127);
68
+ --amplify_interactive_primary_pressed: rgba(95, 198, 206, 1);
67
69
  --eds_interactive_secondary__highlight: rgba(255, 255, 255, 0.1);
68
70
  --eds_interactive_secondary__resting: rgba(222, 229, 231, 1);
69
71
  --eds_interactive_secondary__link_hover: rgba(23, 36, 47, 1);