@equinor/stratus-ui 1.8.1 → 1.8.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.
- package/dist/index.cjs +4 -4
- package/dist/index.js +391 -304
- package/dist/stratus-ui.css +1 -1
- package/dist/types/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/types/theme/palette.d.ts +29 -0
- package/dist/types/theme/palette.d.ts.map +1 -1
- package/dist/types/theme/themePalette.d.ts +88 -9
- package/dist/types/theme/themePalette.d.ts.map +1 -1
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAmB,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,iBAAiB,CAAC;AAOzB,KAAK,aAAa,GACd,wBAAwB,GACxB,4BAA4B,GAC5B,mCAAmC,GACnC,2BAA2B,GAC3B,kCAAkC,CAAC;AAEvC,KAAK,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAM7C,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,OAAO,CACrB,GAAG;IACF,uCAAuC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,2CAA2C;IAC3C,MAAM,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,GA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,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC/D,GAAG,QAAQ,CAAC;AAMb;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS;IA5EpB,uCAAuC;eAC5B,SAAS;IACpB,4BAA4B;gBAChB,MAAM;IAClB,0EAA0E;YAClE,cAAc;IACtB,2CAA2C;YACnC,SAAS;IACjB;;;OAGG;kBACW,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IACrD;;;OAGG;kBACW,SAAS;IACvB;;;OAGG;sBACe,OAAO;IACzB;;OAEG;eACQ,OAAO;IAClB;;;OAGG;yBACkB,MAAM,GAAG,OAAO;IACrC;;;OAGG;iBACU,YAAY;IACzB;;;OAGG;eACQ,OAAO;IAClB;;;OAGG;gBACS,OAAO;IACnB;;;OAGG;aACM,OAAO;IAChB;;;;OAIG;eACQ,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI;8IA2I9D,CAAC"}
|
|
@@ -25,6 +25,7 @@ export declare const palette: {
|
|
|
25
25
|
};
|
|
26
26
|
readonly secondary: {
|
|
27
27
|
readonly main: "var(--stratus-secondary)";
|
|
28
|
+
readonly hover: "var(--stratus-secondary-hover)";
|
|
28
29
|
readonly highlight: "var(--stratus-secondary-highlight)";
|
|
29
30
|
readonly light: "var(--stratus-secondary-light)";
|
|
30
31
|
};
|
|
@@ -36,10 +37,14 @@ export declare const palette: {
|
|
|
36
37
|
};
|
|
37
38
|
readonly warning: {
|
|
38
39
|
readonly main: "var(--stratus-warning)";
|
|
40
|
+
readonly hover: "var(--stratus-warning-hover)";
|
|
41
|
+
readonly text: "var(--stratus-warning-text)";
|
|
39
42
|
readonly highlight: "var(--stratus-warning-highlight)";
|
|
40
43
|
};
|
|
41
44
|
readonly success: {
|
|
42
45
|
readonly main: "var(--stratus-success)";
|
|
46
|
+
readonly hover: "var(--stratus-success-hover)";
|
|
47
|
+
readonly text: "var(--stratus-success-text)";
|
|
43
48
|
readonly highlight: "var(--stratus-success-highlight)";
|
|
44
49
|
};
|
|
45
50
|
readonly text: {
|
|
@@ -49,20 +54,44 @@ export declare const palette: {
|
|
|
49
54
|
readonly secondary: "var(--stratus-text-secondary)";
|
|
50
55
|
readonly tertiary: "var(--stratus-text-tertiary)";
|
|
51
56
|
readonly disabled: "var(--stratus-text-disabled)";
|
|
57
|
+
readonly inverted: "var(--stratus-text-inverted)";
|
|
58
|
+
readonly invertedAlt: "var(--stratus-text-inverted-alt)";
|
|
52
59
|
};
|
|
53
60
|
readonly surface: {
|
|
54
61
|
readonly surface: "var(--stratus-surface)";
|
|
55
62
|
readonly muted: "var(--stratus-surface-muted)";
|
|
63
|
+
readonly canvas: "var(--stratus-surface-muted)";
|
|
56
64
|
readonly raised: "var(--stratus-surface-raised)";
|
|
57
65
|
readonly nav: "var(--stratus-bg-nav)";
|
|
66
|
+
readonly popover: "var(--stratus-popover-bg)";
|
|
67
|
+
readonly overlay: "var(--stratus-bg-overlay)";
|
|
68
|
+
readonly lighten: "var(--stratus-bg-lighten)";
|
|
69
|
+
};
|
|
70
|
+
readonly background: {
|
|
71
|
+
readonly main: "var(--stratus-surface-muted)";
|
|
72
|
+
readonly nav: "var(--stratus-bg-nav)";
|
|
73
|
+
readonly paper: "var(--stratus-surface-raised)";
|
|
74
|
+
readonly popover: "var(--stratus-popover-bg)";
|
|
75
|
+
readonly overlay: "var(--stratus-bg-overlay)";
|
|
76
|
+
readonly lighten: "var(--stratus-bg-lighten)";
|
|
58
77
|
};
|
|
59
78
|
readonly border: {
|
|
60
79
|
readonly light: "var(--stratus-border-light)";
|
|
61
80
|
readonly divider: "var(--stratus-divider)";
|
|
62
81
|
};
|
|
63
82
|
readonly table: {
|
|
83
|
+
readonly header: "var(--stratus-table-header-bg)";
|
|
84
|
+
readonly headerActive: "var(--stratus-table-header-active-bg)";
|
|
85
|
+
readonly headerHover: "var(--stratus-table-header-hover-bg)";
|
|
86
|
+
readonly cell: "var(--stratus-table-cell-bg)";
|
|
87
|
+
readonly cellActive: "var(--stratus-table-cell-active-bg)";
|
|
64
88
|
readonly cellHover: "var(--stratus-table-row-hover-bg)";
|
|
65
89
|
};
|
|
90
|
+
readonly disabled: {
|
|
91
|
+
readonly fill: "var(--stratus-disabled-fill)";
|
|
92
|
+
readonly text: "var(--stratus-disabled-text)";
|
|
93
|
+
readonly border: "var(--stratus-disabled-border)";
|
|
94
|
+
};
|
|
66
95
|
};
|
|
67
96
|
export type Palette = typeof palette;
|
|
68
97
|
//# sourceMappingURL=palette.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/theme/palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/theme/palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EV,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC"}
|
|
@@ -8,42 +8,61 @@
|
|
|
8
8
|
export declare const themePalette: {
|
|
9
9
|
readonly primary: {
|
|
10
10
|
readonly main: "var(--stratus-primary)";
|
|
11
|
+
readonly hover: "var(--stratus-primary-hover)";
|
|
11
12
|
readonly hoverAlt: "var(--stratus-primary-hover-alt)";
|
|
12
13
|
readonly highlight: "var(--stratus-primary-highlight)";
|
|
14
|
+
readonly highlightHover: "var(--stratus-primary-highlight-hover)";
|
|
13
15
|
};
|
|
14
16
|
readonly secondary: {
|
|
17
|
+
readonly main: "var(--stratus-secondary)";
|
|
18
|
+
readonly hover: "var(--stratus-secondary-hover)";
|
|
15
19
|
readonly highlight: "var(--stratus-secondary-highlight)";
|
|
16
20
|
};
|
|
17
21
|
readonly danger: {
|
|
18
22
|
readonly main: "var(--stratus-error)";
|
|
19
23
|
readonly hover: "var(--stratus-error-hover)";
|
|
20
24
|
readonly text: "var(--stratus-error-text)";
|
|
25
|
+
readonly highlight: "var(--stratus-error-highlight)";
|
|
21
26
|
};
|
|
22
27
|
readonly warning: {
|
|
23
28
|
readonly main: "var(--stratus-warning)";
|
|
29
|
+
readonly hover: "var(--stratus-warning-hover)";
|
|
30
|
+
readonly text: "var(--stratus-warning-text)";
|
|
31
|
+
readonly highlight: "var(--stratus-warning-highlight)";
|
|
24
32
|
};
|
|
25
33
|
readonly success: {
|
|
26
34
|
readonly main: "var(--stratus-success)";
|
|
35
|
+
readonly hover: "var(--stratus-success-hover)";
|
|
36
|
+
readonly text: "var(--stratus-success-text)";
|
|
27
37
|
readonly highlight: "var(--stratus-success-highlight)";
|
|
28
38
|
};
|
|
29
39
|
readonly text: {
|
|
30
40
|
readonly main: "var(--stratus-text-main)";
|
|
31
41
|
readonly secondary: "var(--stratus-text-secondary)";
|
|
32
42
|
readonly tertiary: "var(--stratus-text-tertiary)";
|
|
43
|
+
readonly inverted: "var(--stratus-text-inverted)";
|
|
44
|
+
readonly invertedAlt: "var(--stratus-text-inverted-alt)";
|
|
33
45
|
};
|
|
34
46
|
readonly background: {
|
|
35
|
-
readonly main: "var(--stratus-surface)";
|
|
47
|
+
readonly main: "var(--stratus-surface-muted)";
|
|
48
|
+
readonly nav: "var(--stratus-bg-nav)";
|
|
49
|
+
readonly paper: "var(--stratus-surface-raised)";
|
|
50
|
+
readonly popover: "var(--stratus-popover-bg)";
|
|
51
|
+
readonly overlay: "var(--stratus-bg-overlay)";
|
|
52
|
+
readonly lighten: "var(--stratus-bg-lighten)";
|
|
36
53
|
};
|
|
37
54
|
readonly disabled: {
|
|
38
|
-
readonly border: "var(--stratus-border
|
|
39
|
-
readonly fill: "var(--stratus-
|
|
40
|
-
readonly text: "var(--stratus-text
|
|
55
|
+
readonly border: "var(--stratus-disabled-border)";
|
|
56
|
+
readonly fill: "var(--stratus-disabled-fill)";
|
|
57
|
+
readonly text: "var(--stratus-disabled-text)";
|
|
41
58
|
};
|
|
42
59
|
readonly table: {
|
|
43
|
-
readonly
|
|
60
|
+
readonly header: "var(--stratus-table-header-bg)";
|
|
61
|
+
readonly headerActive: "var(--stratus-table-header-active-bg)";
|
|
62
|
+
readonly headerHover: "var(--stratus-table-header-hover-bg)";
|
|
63
|
+
readonly cell: "var(--stratus-table-cell-bg)";
|
|
64
|
+
readonly cellActive: "var(--stratus-table-cell-active-bg)";
|
|
44
65
|
readonly cellHover: "var(--stratus-table-row-hover-bg)";
|
|
45
|
-
readonly header: "var(--stratus-surface-muted)";
|
|
46
|
-
readonly headerActive: "var(--stratus-surface-raised)";
|
|
47
66
|
};
|
|
48
67
|
};
|
|
49
68
|
/**
|
|
@@ -54,31 +73,48 @@ export declare const themePalette: {
|
|
|
54
73
|
export interface ThemePalette {
|
|
55
74
|
primary?: {
|
|
56
75
|
main?: string;
|
|
76
|
+
hover?: string;
|
|
57
77
|
hoverAlt?: string;
|
|
58
78
|
highlight?: string;
|
|
79
|
+
highlightHover?: string;
|
|
59
80
|
};
|
|
60
81
|
secondary?: {
|
|
82
|
+
main?: string;
|
|
83
|
+
hover?: string;
|
|
61
84
|
highlight?: string;
|
|
62
85
|
};
|
|
63
86
|
danger?: {
|
|
64
87
|
main?: string;
|
|
65
88
|
hover?: string;
|
|
66
89
|
text?: string;
|
|
90
|
+
highlight?: string;
|
|
67
91
|
};
|
|
68
92
|
warning?: {
|
|
69
93
|
main?: string;
|
|
94
|
+
hover?: string;
|
|
95
|
+
text?: string;
|
|
96
|
+
highlight?: string;
|
|
70
97
|
};
|
|
71
98
|
success?: {
|
|
72
99
|
main?: string;
|
|
100
|
+
hover?: string;
|
|
101
|
+
text?: string;
|
|
73
102
|
highlight?: string;
|
|
74
103
|
};
|
|
75
104
|
text?: {
|
|
76
105
|
main?: string;
|
|
77
106
|
secondary?: string;
|
|
78
107
|
tertiary?: string;
|
|
108
|
+
inverted?: string;
|
|
109
|
+
invertedAlt?: string;
|
|
79
110
|
};
|
|
80
111
|
background?: {
|
|
81
112
|
main?: string;
|
|
113
|
+
nav?: string;
|
|
114
|
+
paper?: string;
|
|
115
|
+
popover?: string;
|
|
116
|
+
overlay?: string;
|
|
117
|
+
lighten?: string;
|
|
82
118
|
};
|
|
83
119
|
disabled?: {
|
|
84
120
|
border?: string;
|
|
@@ -86,41 +122,71 @@ export interface ThemePalette {
|
|
|
86
122
|
text?: string;
|
|
87
123
|
};
|
|
88
124
|
table?: {
|
|
89
|
-
cellActive?: string;
|
|
90
|
-
cellHover?: string;
|
|
91
125
|
header?: string;
|
|
92
126
|
headerActive?: string;
|
|
127
|
+
headerHover?: string;
|
|
128
|
+
cell?: string;
|
|
129
|
+
cellActive?: string;
|
|
130
|
+
cellHover?: string;
|
|
93
131
|
};
|
|
94
132
|
}
|
|
95
133
|
/**
|
|
96
134
|
* Hook-compatible accessor for {@link themePalette}.
|
|
97
135
|
*/
|
|
98
136
|
export declare function useThemePalette(): ThemePalette;
|
|
137
|
+
/**
|
|
138
|
+
* Converts a `#rgb` or `#rrggbb` hex color to an `rgba(...)` string at the
|
|
139
|
+
* given alpha. Used by {@link colors.alpha} to reproduce opt-ui-core's
|
|
140
|
+
* `colors.alpha(color, alphaValue)` helper without pulling in the `color` npm
|
|
141
|
+
* package (all call sites only ever pass hex literals from this same file).
|
|
142
|
+
*/
|
|
143
|
+
declare function hexToRgba(hex: string, alphaValue: number): string;
|
|
99
144
|
/**
|
|
100
145
|
* Static color tokens previously provided by `@equinor/opt-ui-core`.
|
|
101
146
|
*/
|
|
102
147
|
export declare const colors: {
|
|
148
|
+
readonly alpha: typeof hexToRgba;
|
|
103
149
|
readonly primary: "#007079";
|
|
150
|
+
readonly primaryDark: "#97CACE";
|
|
104
151
|
readonly secondary: "#243746";
|
|
152
|
+
readonly secondaryDark: "#DEE5E7";
|
|
105
153
|
readonly primaryHighlight: "#E6FAEC";
|
|
106
154
|
readonly primaryHighlightHover: "#C3F3D2";
|
|
107
155
|
readonly disabledBorder: "#DCDCDC";
|
|
156
|
+
readonly disabledBorderDark: "#405462";
|
|
108
157
|
readonly white: "#ffffff";
|
|
158
|
+
readonly white16: "rgba(255,255,255,0.16)";
|
|
159
|
+
readonly white40: "rgba(255,255,255,0.4)";
|
|
160
|
+
readonly white74: "rgba(255,255,255,0.74)";
|
|
109
161
|
readonly mistblue21: "rgba(213,234,244,0.21)";
|
|
110
162
|
readonly black: "#000000";
|
|
163
|
+
readonly black1: "rgba(0,0,0,0.01)";
|
|
164
|
+
readonly black3: "rgba(0,0,0,0.03)";
|
|
165
|
+
readonly black10: "rgba(0,0,0,0.1)";
|
|
111
166
|
readonly black28: "rgba(0,0,0,0.28)";
|
|
112
167
|
readonly black15: "rgba(0,0,0,0.15)";
|
|
168
|
+
readonly black74: "rgba(0,0,0,0.74)";
|
|
169
|
+
readonly backgroundDark: "#132634";
|
|
170
|
+
readonly backgroundNavDark: "#3E4F5C";
|
|
171
|
+
readonly backgroundOverlayDark: "#2E3F4D";
|
|
113
172
|
readonly blueOcean: "#004088";
|
|
114
173
|
readonly blueOvercast: "#0084c4";
|
|
115
174
|
readonly blueSky: "#52c0ff";
|
|
116
175
|
readonly danger: "#EB0000";
|
|
176
|
+
readonly dangerDark: "#EB0000";
|
|
177
|
+
readonly dangerHover: "#B30D2F";
|
|
178
|
+
readonly dangerText: "#B30D2F";
|
|
117
179
|
readonly dangerHighlight: "#FFC1C1";
|
|
180
|
+
readonly dangerHighlightDark: "rgba(255, 102, 112, 0.1)";
|
|
118
181
|
readonly dangerHoverDark: "#FF949B";
|
|
119
182
|
readonly disabledFill: "#EAEAEA";
|
|
120
183
|
readonly disabledText: "#BEBEBE";
|
|
184
|
+
readonly disabledTextDark: "#637583";
|
|
121
185
|
readonly energeticred: "#eb0037";
|
|
186
|
+
readonly energeticred13: "#ffe0e7";
|
|
122
187
|
readonly energeticred34: "#ffaebf";
|
|
123
188
|
readonly energeticred55: "#ff7d98";
|
|
189
|
+
readonly energeticredHover: "#b30d2f";
|
|
124
190
|
readonly grey: "#171717";
|
|
125
191
|
readonly grey10: "#f7f7f7";
|
|
126
192
|
readonly grey15: "#eaeaea";
|
|
@@ -132,6 +198,8 @@ export declare const colors: {
|
|
|
132
198
|
readonly grey70: "#565656";
|
|
133
199
|
readonly grey80: "#3d3d3d";
|
|
134
200
|
readonly grey90: "#333333";
|
|
201
|
+
readonly greenCucumber: "#005f57";
|
|
202
|
+
readonly greenMint: "#40d38f";
|
|
135
203
|
readonly lichengreen: "#e6faec";
|
|
136
204
|
readonly mistblue: "#d5eaf4";
|
|
137
205
|
readonly mossgreen: "#007079";
|
|
@@ -139,22 +207,33 @@ export declare const colors: {
|
|
|
139
207
|
readonly mossgreen21: "#c9e0e2";
|
|
140
208
|
readonly mossgreen34: "#a8ced1";
|
|
141
209
|
readonly mossgreen55: "#73b1b5";
|
|
210
|
+
readonly iwitOrange: "#FF9200";
|
|
211
|
+
readonly iwitYellow: "#FBCA36";
|
|
142
212
|
readonly orange: "#FF9200";
|
|
143
213
|
readonly primaryHover: "#004f55";
|
|
144
214
|
readonly primaryHoverAlt: "#deedee";
|
|
215
|
+
readonly primaryHoverAltDark: "rgba(173, 226, 230, 0.1)";
|
|
216
|
+
readonly primaryHoverDark: "#ADE2E6";
|
|
145
217
|
readonly red: "#F8434C";
|
|
146
218
|
readonly secondaryHighlight: "#D5EAF4";
|
|
219
|
+
readonly secondaryHighlightDark: "rgba(255, 255, 255, 0.1)";
|
|
147
220
|
readonly slateblue: "#243746";
|
|
148
221
|
readonly sprucewood: "#ffe7d6";
|
|
149
222
|
readonly success: "#4BB748";
|
|
150
223
|
readonly successDark: "#4BB748";
|
|
151
224
|
readonly successHighlight: "#E6FAEC";
|
|
225
|
+
readonly successHighlightDark: "rgba(161, 218, 160, 0.1)";
|
|
226
|
+
readonly successText: "#358132";
|
|
227
|
+
readonly tableHeaderFillHoverDark: "#324D62";
|
|
228
|
+
readonly textTertiaryDark: "#9CA6AC";
|
|
152
229
|
readonly timpOrange: "#E57E00";
|
|
153
230
|
readonly warning: "#FF9200";
|
|
154
231
|
readonly warningHighlight: "#FFE7D6";
|
|
232
|
+
readonly warningHover: "#AD6200";
|
|
155
233
|
readonly warningHoverDark: "#FFDAA8";
|
|
156
234
|
readonly warningText: "#AD6200";
|
|
157
235
|
readonly warningTextDark: "#FFC67A";
|
|
158
236
|
readonly yellow: "#FFDF7F";
|
|
159
237
|
};
|
|
238
|
+
export {};
|
|
160
239
|
//# sourceMappingURL=themePalette.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themePalette.d.ts","sourceRoot":"","sources":["../../../src/theme/themePalette.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"themePalette.d.ts","sourceRoot":"","sources":["../../../src/theme/themePalette.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Df,CAAC;AAEX;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,SAAS,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAClE,MAA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AAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C;AAED;;;;;GAKG;AACH,iBAAS,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAY1D;AAED;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FT,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/stratus-ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"packageManager": "yarn@4.12.0",
|
|
6
6
|
"scripts": {
|
|
@@ -63,31 +63,31 @@
|
|
|
63
63
|
"@types/node": "^24.12.4",
|
|
64
64
|
"@types/react": "^19.2.17",
|
|
65
65
|
"@types/react-dom": "^19.2.3",
|
|
66
|
-
"@vitejs/plugin-react": "^6.0.
|
|
67
|
-
"eslint": "^10.
|
|
68
|
-
"eslint-plugin-oxlint": "^1.
|
|
66
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
67
|
+
"eslint": "^10.6.0",
|
|
68
|
+
"eslint-plugin-oxlint": "^1.71.0",
|
|
69
69
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
70
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
70
|
+
"eslint-plugin-react-refresh": "^0.5.3",
|
|
71
71
|
"eslint-plugin-storybook": "10.4.6",
|
|
72
|
-
"globals": "^17.
|
|
72
|
+
"globals": "^17.7.0",
|
|
73
73
|
"jsdom": "^29.1.1",
|
|
74
|
-
"oxlint": "^1.
|
|
74
|
+
"oxlint": "^1.73.0",
|
|
75
75
|
"react": "^19.2.7",
|
|
76
76
|
"react-dom": "^19.2.7",
|
|
77
77
|
"storybook": "^10.4.4",
|
|
78
78
|
"storybook-dark-mode": "^5.0.0",
|
|
79
79
|
"typescript": "~6.0.3",
|
|
80
|
-
"typescript-eslint": "^8.
|
|
81
|
-
"vite": "^8.
|
|
82
|
-
"vitest": "^4.1.
|
|
80
|
+
"typescript-eslint": "^8.63.0",
|
|
81
|
+
"vite": "^8.1.3",
|
|
82
|
+
"vitest": "^4.1.10",
|
|
83
83
|
"vitest-axe": "^0.1.0"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@equinor/eds-icons": "^1.5.
|
|
87
|
-
"@equinor/eds-tokens": "^2.3.
|
|
86
|
+
"@equinor/eds-icons": "^1.5.1",
|
|
87
|
+
"@equinor/eds-tokens": "^2.3.1",
|
|
88
88
|
"@popperjs/core": "^2.11.8",
|
|
89
89
|
"@tanstack/react-table": "^8.21.3",
|
|
90
|
-
"@tanstack/react-virtual": "^3.14.
|
|
90
|
+
"@tanstack/react-virtual": "^3.14.5",
|
|
91
91
|
"@tiptap/core": "^3.26.1",
|
|
92
92
|
"@tiptap/extension-color": "^3.26.1",
|
|
93
93
|
"@tiptap/extension-highlight": "^3.26.1",
|