@hitachivantara/uikit-react-core 5.53.1 → 5.54.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/cjs/Button/Button.cjs +4 -1
- package/dist/cjs/Button/Button.cjs.map +1 -1
- package/dist/cjs/Button/Button.styles.cjs +5 -0
- package/dist/cjs/Button/Button.styles.cjs.map +1 -1
- package/dist/cjs/Card/Card.cjs +1 -2
- package/dist/cjs/Card/Card.cjs.map +1 -1
- package/dist/cjs/Dialog/Title/Title.cjs +11 -3
- package/dist/cjs/Dialog/Title/Title.cjs.map +1 -1
- package/dist/cjs/Dialog/Title/Title.styles.cjs +13 -3
- package/dist/cjs/Dialog/Title/Title.styles.cjs.map +1 -1
- package/dist/cjs/DropDownMenu/DropDownMenu.cjs +9 -2
- package/dist/cjs/DropDownMenu/DropDownMenu.cjs.map +1 -1
- package/dist/cjs/MultiButton/MultiButton.cjs +26 -9
- package/dist/cjs/MultiButton/MultiButton.cjs.map +1 -1
- package/dist/cjs/MultiButton/MultiButton.styles.cjs +377 -32
- package/dist/cjs/MultiButton/MultiButton.styles.cjs.map +1 -1
- package/dist/esm/Button/Button.js +5 -2
- package/dist/esm/Button/Button.js.map +1 -1
- package/dist/esm/Button/Button.styles.js +5 -0
- package/dist/esm/Button/Button.styles.js.map +1 -1
- package/dist/esm/Card/Card.js +1 -2
- package/dist/esm/Card/Card.js.map +1 -1
- package/dist/esm/Dialog/Title/Title.js +11 -3
- package/dist/esm/Dialog/Title/Title.js.map +1 -1
- package/dist/esm/Dialog/Title/Title.styles.js +13 -3
- package/dist/esm/Dialog/Title/Title.styles.js.map +1 -1
- package/dist/esm/DropDownMenu/DropDownMenu.js +9 -2
- package/dist/esm/DropDownMenu/DropDownMenu.js.map +1 -1
- package/dist/esm/MultiButton/MultiButton.js +27 -10
- package/dist/esm/MultiButton/MultiButton.js.map +1 -1
- package/dist/esm/MultiButton/MultiButton.styles.js +377 -32
- package/dist/esm/MultiButton/MultiButton.styles.js.map +1 -1
- package/dist/types/index.d.ts +33 -3
- package/package.json +5 -5
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { theme } from "@hitachivantara/uikit-styles";
|
|
2
2
|
import { createClasses } from "../utils/classes.js";
|
|
3
|
+
import { staticClasses as staticClasses$1 } from "../DropDownMenu/DropDownMenu.styles.js";
|
|
4
|
+
import "@emotion/react/jsx-runtime";
|
|
5
|
+
import "react";
|
|
6
|
+
import "@hitachivantara/uikit-react-icons";
|
|
3
7
|
const { staticClasses, useClasses } = createClasses("HvMultiButton", {
|
|
4
8
|
root: {
|
|
5
9
|
display: "flex",
|
|
6
|
-
height: 32,
|
|
7
10
|
alignItems: "center",
|
|
8
11
|
transition: "none",
|
|
9
12
|
background: theme.colors.atmo2,
|
|
@@ -14,9 +17,8 @@ const { staticClasses, useClasses } = createClasses("HvMultiButton", {
|
|
|
14
17
|
zIndex: 5
|
|
15
18
|
},
|
|
16
19
|
"& button$button": {
|
|
17
|
-
|
|
20
|
+
minWidth: "unset",
|
|
18
21
|
width: "100%",
|
|
19
|
-
minWidth: 32,
|
|
20
22
|
maxWidth: 200,
|
|
21
23
|
padding: 0,
|
|
22
24
|
transition: "none",
|
|
@@ -26,10 +28,8 @@ const { staticClasses, useClasses } = createClasses("HvMultiButton", {
|
|
|
26
28
|
borderLeft: "solid 1px transparent",
|
|
27
29
|
borderRight: "solid 1px transparent",
|
|
28
30
|
borderRadius: 0,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
backgroundColor: `${theme.colors.atmo3}`
|
|
32
|
-
},
|
|
31
|
+
fontWeight: theme.typography.body.fontWeight,
|
|
32
|
+
fontSize: theme.typography.body.fontSize,
|
|
33
33
|
"&:disabled": {
|
|
34
34
|
color: theme.colors.secondary_60,
|
|
35
35
|
borderTop: `solid 1px ${theme.colors.atmo4}`,
|
|
@@ -41,24 +41,36 @@ const { staticClasses, useClasses } = createClasses("HvMultiButton", {
|
|
|
41
41
|
borderRight: "solid 1px transparent"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
"
|
|
44
|
+
"&$firstButton": {
|
|
45
45
|
borderLeft: `solid 1px ${theme.colors.atmo4}`,
|
|
46
46
|
borderTopLeftRadius: theme.radii.base,
|
|
47
|
-
borderBottomLeftRadius: theme.radii.base
|
|
47
|
+
borderBottomLeftRadius: theme.radii.base,
|
|
48
|
+
"&:disabled": {
|
|
49
|
+
borderLeft: `solid 1px ${theme.colors.atmo4}`
|
|
50
|
+
}
|
|
48
51
|
},
|
|
49
|
-
"
|
|
52
|
+
"&$lastButton": {
|
|
50
53
|
borderRight: `solid 1px ${theme.colors.atmo4}`,
|
|
51
54
|
borderTopRightRadius: theme.radii.base,
|
|
52
55
|
borderBottomRightRadius: theme.radii.base,
|
|
56
|
+
"&:disabled": {
|
|
57
|
+
borderRight: `solid 1px ${theme.colors.atmo4}`
|
|
58
|
+
},
|
|
53
59
|
"&:disabled:hover": {
|
|
54
|
-
borderRight: `solid 1px ${theme.colors.atmo4}
|
|
60
|
+
borderRight: `solid 1px ${theme.colors.atmo4}`
|
|
55
61
|
}
|
|
56
62
|
},
|
|
57
|
-
"&:not(
|
|
63
|
+
"&:not($firstButton)": {
|
|
58
64
|
marginLeft: "-1px"
|
|
59
65
|
},
|
|
60
66
|
"&$selected": {
|
|
67
|
+
background: theme.colors.atmo1,
|
|
68
|
+
...theme.typography.label,
|
|
69
|
+
borderRadius: theme.radii.base,
|
|
70
|
+
border: `solid 1px ${theme.colors.secondary}`,
|
|
71
|
+
zIndex: 2,
|
|
61
72
|
"&:hover": {
|
|
73
|
+
background: theme.colors.atmo3,
|
|
62
74
|
"&:not(:disabled)": {
|
|
63
75
|
border: `solid 1px ${theme.colors.secondary}`
|
|
64
76
|
},
|
|
@@ -66,31 +78,220 @@ const { staticClasses, useClasses } = createClasses("HvMultiButton", {
|
|
|
66
78
|
border: `solid 1px ${theme.colors.atmo4}`
|
|
67
79
|
}
|
|
68
80
|
},
|
|
81
|
+
// prevent the focus ring to be hidden by sibling hover background
|
|
82
|
+
// even when selected
|
|
83
|
+
"&.HvIsFocusVisible": {
|
|
84
|
+
zIndex: 5
|
|
85
|
+
},
|
|
69
86
|
"&:disabled": {
|
|
70
87
|
zIndex: 1,
|
|
71
88
|
color: theme.colors.secondary_60,
|
|
72
89
|
background: theme.colors.atmo1,
|
|
73
|
-
border: `solid 1px ${theme.colors.
|
|
90
|
+
border: `solid 1px ${theme.colors.secondary}`
|
|
74
91
|
}
|
|
75
92
|
}
|
|
76
93
|
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
94
|
+
// dropdown menu styles
|
|
95
|
+
"& $button": {
|
|
96
|
+
[`&.${staticClasses$1.container}`]: {
|
|
97
|
+
width: "unset"
|
|
98
|
+
},
|
|
99
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
100
|
+
borderTop: `solid 1px ${theme.colors.atmo4}`,
|
|
101
|
+
borderBottom: `solid 1px ${theme.colors.atmo4}`,
|
|
102
|
+
borderLeft: "solid 1px transparent",
|
|
103
|
+
borderRight: "solid 1px transparent",
|
|
104
|
+
borderRadius: 0,
|
|
105
|
+
"&:disabled": {
|
|
106
|
+
borderTop: `solid 1px ${theme.colors.atmo4}`,
|
|
107
|
+
borderBottom: `solid 1px ${theme.colors.atmo4}`,
|
|
108
|
+
"&:hover": {
|
|
109
|
+
borderTop: `solid 1px ${theme.colors.atmo4}`,
|
|
110
|
+
borderBottom: `solid 1px ${theme.colors.atmo4}`,
|
|
111
|
+
borderLeft: "solid 1px transparent",
|
|
112
|
+
borderRight: "solid 1px transparent"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
86
115
|
},
|
|
87
|
-
|
|
116
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
88
117
|
border: `solid 1px ${theme.colors.secondary}`
|
|
89
118
|
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
119
|
+
"&$firstButton": {
|
|
120
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
121
|
+
borderLeft: `solid 1px ${theme.colors.atmo4}`,
|
|
122
|
+
borderTopLeftRadius: theme.radii.base,
|
|
123
|
+
borderBottomLeftRadius: theme.radii.base,
|
|
124
|
+
"&:disabled": {
|
|
125
|
+
borderLeft: `solid 1px ${theme.colors.atmo4}`
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
129
|
+
border: `solid 1px ${theme.colors.secondary}`
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"&$lastButton": {
|
|
133
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
134
|
+
borderRight: `solid 1px ${theme.colors.atmo4}`,
|
|
135
|
+
borderTopRightRadius: theme.radii.base,
|
|
136
|
+
borderBottomRightRadius: theme.radii.base,
|
|
137
|
+
"&:disabled": {
|
|
138
|
+
borderRight: `solid 1px ${theme.colors.atmo4}`
|
|
139
|
+
},
|
|
140
|
+
"&:disabled:hover": {
|
|
141
|
+
borderRight: `solid 1px ${theme.colors.atmo4}`
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
145
|
+
border: `solid 1px ${theme.colors.secondary}`
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"&:not($firstButton) > button": {
|
|
149
|
+
marginLeft: "-1px"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
splitGroup: {
|
|
154
|
+
background: theme.colors.atmo1,
|
|
155
|
+
"& button$button": {
|
|
156
|
+
marginLeft: -1,
|
|
157
|
+
"&:disabled": {
|
|
158
|
+
borderTop: "none",
|
|
159
|
+
borderBottom: "none",
|
|
160
|
+
"&:hover": {
|
|
161
|
+
borderTop: "none",
|
|
162
|
+
borderBottom: "none"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"&$firstButton": {
|
|
166
|
+
"&:not($selected):disabled": {
|
|
167
|
+
borderLeft: "none",
|
|
168
|
+
"&:hover": {
|
|
169
|
+
borderLeft: "none"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"&$lastButton": {
|
|
174
|
+
"&:not($selected):disabled": {
|
|
175
|
+
borderRight: "none",
|
|
176
|
+
"&:hover": {
|
|
177
|
+
borderRight: "none"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"&:not($firstButton)": {
|
|
182
|
+
marginLeft: 0
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
// dropdown menu styles
|
|
186
|
+
"& $button": {
|
|
187
|
+
marginLeft: -1,
|
|
188
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
189
|
+
"&:disabled": {
|
|
190
|
+
borderTop: "none",
|
|
191
|
+
borderBottom: "none",
|
|
192
|
+
"&:hover": {
|
|
193
|
+
borderTop: "none",
|
|
194
|
+
borderBottom: "none"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
199
|
+
zIndex: 2
|
|
200
|
+
},
|
|
201
|
+
"&$firstButton": {
|
|
202
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
203
|
+
"&:disabled": {
|
|
204
|
+
borderLeft: "none",
|
|
205
|
+
"&:hover": {
|
|
206
|
+
borderLeft: "none"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"&$lastButton": {
|
|
212
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
213
|
+
"&:disabled": {
|
|
214
|
+
borderRight: "none",
|
|
215
|
+
"&:hover": {
|
|
216
|
+
borderRight: "none"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"&:not($firstButton) > button": {
|
|
222
|
+
marginLeft: 0
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"&$secondarySubtle": {
|
|
226
|
+
"& button$button": {
|
|
227
|
+
borderTop: `solid 1px ${theme.colors.secondary}`,
|
|
228
|
+
borderBottom: `solid 1px ${theme.colors.secondary}`,
|
|
229
|
+
"&$firstButton": {
|
|
230
|
+
borderLeft: `solid 1px ${theme.colors.secondary}`
|
|
231
|
+
},
|
|
232
|
+
"&$lastButton": {
|
|
233
|
+
borderRight: `solid 1px ${theme.colors.secondary}`
|
|
234
|
+
},
|
|
235
|
+
"&:not($selected):disabled": {
|
|
236
|
+
borderTop: "none",
|
|
237
|
+
borderBottom: "none",
|
|
238
|
+
"&:hover": {
|
|
239
|
+
borderTop: "none",
|
|
240
|
+
borderBottom: "none"
|
|
241
|
+
},
|
|
242
|
+
"&$firstButton": {
|
|
243
|
+
"&:not($selected):disabled": {
|
|
244
|
+
borderLeft: "none",
|
|
245
|
+
"&:hover": {
|
|
246
|
+
borderLeft: "none"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"&$lastButton": {
|
|
251
|
+
"&:not($selected):disabled": {
|
|
252
|
+
borderRight: "none",
|
|
253
|
+
"&:hover": {
|
|
254
|
+
borderRight: "none"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"& $button": {
|
|
261
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
262
|
+
borderTop: `solid 1px ${theme.colors.secondary}`,
|
|
263
|
+
borderBottom: `solid 1px ${theme.colors.secondary}`,
|
|
264
|
+
"&:disabled": {
|
|
265
|
+
borderTop: "none",
|
|
266
|
+
borderBottom: "none",
|
|
267
|
+
"&:hover": {
|
|
268
|
+
borderTop: "none",
|
|
269
|
+
borderBottom: "none"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"&$firstButton": {
|
|
274
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
275
|
+
borderLeft: `solid 1px ${theme.colors.secondary}`,
|
|
276
|
+
"&:disabled": {
|
|
277
|
+
borderLeft: "none",
|
|
278
|
+
"&:hover": {
|
|
279
|
+
borderLeft: "none"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"&$lastButton": {
|
|
285
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
286
|
+
borderRight: `solid 1px ${theme.colors.secondary}`,
|
|
287
|
+
"&:disabled": {
|
|
288
|
+
borderRight: "none",
|
|
289
|
+
"&:hover": {
|
|
290
|
+
borderRight: "none"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
94
295
|
}
|
|
95
296
|
}
|
|
96
297
|
},
|
|
@@ -104,6 +305,7 @@ const { staticClasses, useClasses } = createClasses("HvMultiButton", {
|
|
|
104
305
|
flex: "1 1 20px"
|
|
105
306
|
},
|
|
106
307
|
"& button$button": {
|
|
308
|
+
minWidth: 32,
|
|
107
309
|
width: "100%",
|
|
108
310
|
borderLeft: `solid 1px ${theme.colors.atmo4}`,
|
|
109
311
|
borderRight: `solid 1px ${theme.colors.atmo4}`,
|
|
@@ -122,20 +324,20 @@ const { staticClasses, useClasses } = createClasses("HvMultiButton", {
|
|
|
122
324
|
borderBottom: "solid 1px transparent"
|
|
123
325
|
}
|
|
124
326
|
},
|
|
125
|
-
"
|
|
327
|
+
"&$firstButton": {
|
|
126
328
|
borderTop: `solid 1px ${theme.colors.atmo4}`,
|
|
127
329
|
borderTopLeftRadius: theme.radii.base,
|
|
128
330
|
borderTopRightRadius: theme.radii.base
|
|
129
331
|
},
|
|
130
|
-
"
|
|
332
|
+
"&$lastButton": {
|
|
131
333
|
borderBottom: `solid 1px ${theme.colors.atmo4}`,
|
|
132
334
|
borderBottomLeftRadius: theme.radii.base,
|
|
133
335
|
borderBottomRightRadius: theme.radii.base,
|
|
134
336
|
"&:disabled:hover": {
|
|
135
|
-
borderBottom: `solid 1px ${theme.colors.atmo4}
|
|
337
|
+
borderBottom: `solid 1px ${theme.colors.atmo4}`
|
|
136
338
|
}
|
|
137
339
|
},
|
|
138
|
-
"&:not(
|
|
340
|
+
"&:not($firstButton)": {
|
|
139
341
|
marginLeft: 0,
|
|
140
342
|
marginTop: -1
|
|
141
343
|
},
|
|
@@ -158,7 +360,150 @@ const { staticClasses, useClasses } = createClasses("HvMultiButton", {
|
|
|
158
360
|
}
|
|
159
361
|
}
|
|
160
362
|
}
|
|
161
|
-
}
|
|
363
|
+
},
|
|
364
|
+
primary: {
|
|
365
|
+
"& button$button": {
|
|
366
|
+
borderTop: "none",
|
|
367
|
+
borderBottom: "none",
|
|
368
|
+
"&$firstButton": {
|
|
369
|
+
borderLeft: "none"
|
|
370
|
+
},
|
|
371
|
+
"&$lastButton": {
|
|
372
|
+
borderRight: "none"
|
|
373
|
+
},
|
|
374
|
+
"&$selected": {
|
|
375
|
+
border: `solid 1px ${theme.colors.secondary}`
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
// dropdown menu styles
|
|
379
|
+
"& $button": {
|
|
380
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
381
|
+
borderTop: "none",
|
|
382
|
+
borderBottom: "none"
|
|
383
|
+
},
|
|
384
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
385
|
+
border: `solid 1px ${theme.colors.secondary}`
|
|
386
|
+
},
|
|
387
|
+
"&$firstButton": {
|
|
388
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
389
|
+
borderLeft: "none"
|
|
390
|
+
},
|
|
391
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
392
|
+
borderLeft: `solid 1px ${theme.colors.secondary}`
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"&$lastButton": {
|
|
396
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
397
|
+
borderRight: "none"
|
|
398
|
+
},
|
|
399
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
400
|
+
borderRight: `solid 1px ${theme.colors.secondary}`
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
primarySubtle: {
|
|
406
|
+
"& button$button": {
|
|
407
|
+
borderTop: `solid 1px ${theme.colors.primary}`,
|
|
408
|
+
borderBottom: `solid 1px ${theme.colors.primary}`,
|
|
409
|
+
"&$firstButton": {
|
|
410
|
+
borderLeft: `solid 1px ${theme.colors.primary}`
|
|
411
|
+
},
|
|
412
|
+
"&$lastButton": {
|
|
413
|
+
borderRight: `solid 1px ${theme.colors.primary}`
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
// dropdown menu styles
|
|
417
|
+
"& $button": {
|
|
418
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
419
|
+
borderTop: `solid 1px ${theme.colors.primary}`,
|
|
420
|
+
borderBottom: `solid 1px ${theme.colors.primary}`
|
|
421
|
+
},
|
|
422
|
+
"&$firstButton": {
|
|
423
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
424
|
+
borderLeft: `solid 1px ${theme.colors.primary}`
|
|
425
|
+
},
|
|
426
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
427
|
+
border: `solid 1px ${theme.colors.secondary}`
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"&$lastButton": {
|
|
431
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
432
|
+
borderRight: `solid 1px ${theme.colors.primary}`
|
|
433
|
+
},
|
|
434
|
+
[`& .${staticClasses$1.iconSelected}`]: {
|
|
435
|
+
border: `solid 1px ${theme.colors.secondary}`
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
primaryGhost: {},
|
|
441
|
+
secondary: {},
|
|
442
|
+
secondarySubtle: {},
|
|
443
|
+
secondaryGhost: {
|
|
444
|
+
"& button$button": {
|
|
445
|
+
"&:disabled": {
|
|
446
|
+
background: theme.colors.atmo3
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
// dropdown menu styles
|
|
450
|
+
"& $button": {
|
|
451
|
+
[`& .${staticClasses$1.icon}`]: {
|
|
452
|
+
"&:disabled": {
|
|
453
|
+
background: theme.colors.atmo3
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
firstButton: {},
|
|
459
|
+
lastButton: {},
|
|
460
|
+
split: {
|
|
461
|
+
width: 1,
|
|
462
|
+
height: "100%",
|
|
463
|
+
background: "currentColor"
|
|
464
|
+
},
|
|
465
|
+
splitContainer: {
|
|
466
|
+
zIndex: 1,
|
|
467
|
+
marginLeft: -1,
|
|
468
|
+
width: 1,
|
|
469
|
+
height: "100%",
|
|
470
|
+
paddingTop: 4,
|
|
471
|
+
paddingBottom: 4,
|
|
472
|
+
color: theme.colors.secondary,
|
|
473
|
+
borderTop: `1px solid ${theme.colors.atmo4}`,
|
|
474
|
+
borderBottom: `1px solid ${theme.colors.atmo4}`,
|
|
475
|
+
"&$primary": {
|
|
476
|
+
color: theme.colors.atmo1,
|
|
477
|
+
backgroundColor: theme.colors.primary,
|
|
478
|
+
borderTop: `1px solid ${theme.colors.primary}`,
|
|
479
|
+
borderBottom: `1px solid ${theme.colors.primary}`
|
|
480
|
+
},
|
|
481
|
+
"&$primarySubtle": {
|
|
482
|
+
color: theme.colors.primary,
|
|
483
|
+
borderTop: `1px solid ${theme.colors.primary}`,
|
|
484
|
+
borderBottom: `1px solid ${theme.colors.primary}`
|
|
485
|
+
},
|
|
486
|
+
"&$primaryGhost": {
|
|
487
|
+
color: theme.colors.primary,
|
|
488
|
+
borderTop: `1px solid ${theme.colors.primary}`,
|
|
489
|
+
borderBottom: `1px solid ${theme.colors.primary}`
|
|
490
|
+
},
|
|
491
|
+
"&$secondarySubtle": {
|
|
492
|
+
color: theme.colors.secondary,
|
|
493
|
+
borderTop: `1px solid ${theme.colors.secondary}`,
|
|
494
|
+
borderBottom: `1px solid ${theme.colors.secondary}`
|
|
495
|
+
},
|
|
496
|
+
"&$secondaryGhost": {
|
|
497
|
+
color: theme.colors.secondary
|
|
498
|
+
},
|
|
499
|
+
"&$splitDisabled": {
|
|
500
|
+
background: theme.colors.atmo3,
|
|
501
|
+
color: theme.colors.secondary_60,
|
|
502
|
+
borderTop: "none",
|
|
503
|
+
borderBottom: "none"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
splitDisabled: {}
|
|
162
507
|
});
|
|
163
508
|
export {
|
|
164
509
|
staticClasses,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiButton.styles.js","sources":["../../../src/MultiButton/MultiButton.styles.tsx"],"sourcesContent":["import { theme } from \"@hitachivantara/uikit-styles\";\n\nimport { createClasses } from \"../utils/classes\";\n\nexport const { staticClasses, useClasses } = createClasses(\"HvMultiButton\", {\n root: {\n display: \"flex\",\n height: 32,\n alignItems: \"center\",\n transition: \"none\",\n background: theme.colors.atmo2,\n position: \"relative\",\n zIndex: 0,\n\n // prevent the focus ring to be hidden by sibling hover background\n \"&>.HvIsFocusVisible\": {\n zIndex: 5,\n },\n\n \"& button$button\": {\n height: 32,\n width: \"100%\",\n minWidth: 32,\n maxWidth: 200,\n padding: 0,\n transition: \"none\",\n flex: \"1 0 0px\",\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n borderRadius: 0,\n ...theme.typography.body,\n \"&:active\": {\n backgroundColor: `${theme.colors.atmo3}`,\n },\n \"&:disabled\": {\n color: theme.colors.secondary_60,\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n \"&:hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n },\n },\n \"&:first-of-type\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: theme.radii.base,\n borderBottomLeftRadius: theme.radii.base,\n },\n \"&:last-of-type\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTopRightRadius: theme.radii.base,\n borderBottomRightRadius: theme.radii.base,\n \"&:disabled:hover\": {\n borderRight: `solid 1px ${theme.colors.atmo4} !important`,\n },\n },\n \"&:not(:first-of-type)\": {\n marginLeft: \"-1px\",\n },\n \"&$selected\": {\n \"&:hover\": {\n \"&:not(:disabled)\": {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n \"&:disabled\": {\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:disabled\": {\n zIndex: 1,\n color: theme.colors.secondary_60,\n background: theme.colors.atmo1,\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n },\n \"& button$button$selected\": {\n background: theme.colors.atmo1,\n height: 34,\n ...theme.typography.label,\n borderRadius: theme.radii.base,\n border: `solid 1px ${theme.colors.secondary}`,\n zIndex: 2,\n \"&:hover\": {\n background: theme.colors.atmo3,\n },\n \"&:first-of-type, &:last-of-type\": {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n\n // prevent the focus ring to be hidden by sibling hover background\n // even when selected\n \"&.HvIsFocusVisible\": {\n zIndex: 5,\n },\n },\n },\n button: {},\n selected: {},\n // vertical button display Styling\n vertical: {\n flexDirection: \"column\",\n height: \"auto\",\n btnSecondary: {\n flex: \"1 1 20px\",\n },\n \"& button$button\": {\n width: \"100%\",\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n \"&:disabled\": {\n color: theme.colors.secondary_60,\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n \"&:hover\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n },\n },\n \"&:first-of-type\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: theme.radii.base,\n borderTopRightRadius: theme.radii.base,\n },\n \"&:last-of-type\": {\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderBottomLeftRadius: theme.radii.base,\n borderBottomRightRadius: theme.radii.base,\n \"&:disabled:hover\": {\n borderBottom: `solid 1px ${theme.colors.atmo4} !important`,\n },\n },\n \"&:not(:first-of-type)\": {\n marginLeft: 0,\n marginTop: -1,\n },\n \"&$selected\": {\n height: 32,\n width: `calc(100% + 2px) !important`,\n background: theme.colors.atmo1,\n ...theme.typography.label,\n borderRadius: theme.radii.base,\n border: `solid 1px ${theme.colors.secondary}`,\n zIndex: 2,\n \"&:hover, &:focus\": {\n background: theme.colors.atmo3,\n },\n \"&:disabled\": {\n zIndex: 1,\n color: theme.colors.secondary_60,\n background: theme.colors.atmo1,\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n },\n },\n});\n"],"names":[],"mappings":";;AAIO,MAAM,EAAE,eAAe,eAAe,cAAc,iBAAiB;AAAA,EAC1E,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY,MAAM,OAAO;AAAA,IACzB,UAAU;AAAA,IACV,QAAQ;AAAA;AAAA,IAGR,uBAAuB;AAAA,MACrB,QAAQ;AAAA,IACV;AAAA,IAEA,mBAAmB;AAAA,MACjB,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,UAAU;AAAA,MACV,UAAU;AAAA,MACV,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,MAAM;AAAA,MACN,WAAW,aAAa,MAAM,OAAO,KAAK;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BAAkB;AAAA,QAChB,cAAc,aAAa,MAAM,OAAO,KAAK;AAAA,QAC7C,wBAAwB,MAAM,MAAM;AAAA,QACpC,yBAAyB,MAAM,MAAM;AAAA,QACrC,oBAAoB;AAAA,UAClB,cAAc,aAAa,MAAM,OAAO,KAAK;AAAA,QAC/C;AAAA,MACF;AAAA,MACA,yBAAyB;AAAA,QACvB,YAAY;AAAA,QACZ,WAAW;AAAA,MACb;AAAA,MACA,cAAc;AAAA,QACZ,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,YAAY,MAAM,OAAO;AAAA,QACzB,GAAG,MAAM,WAAW;AAAA,QACpB,cAAc,MAAM,MAAM;AAAA,QAC1B,QAAQ,aAAa,MAAM,OAAO,SAAS;AAAA,QAC3C,QAAQ;AAAA,QACR,oBAAoB;AAAA,UAClB,YAAY,MAAM,OAAO;AAAA,QAC3B;AAAA,QACA,cAAc;AAAA,UACZ,QAAQ;AAAA,UACR,OAAO,MAAM,OAAO;AAAA,UACpB,YAAY,MAAM,OAAO;AAAA,UACzB,QAAQ,aAAa,MAAM,OAAO,KAAK;AAAA,QACzC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC;"}
|
|
1
|
+
{"version":3,"file":"MultiButton.styles.js","sources":["../../../src/MultiButton/MultiButton.styles.tsx"],"sourcesContent":["import { theme } from \"@hitachivantara/uikit-styles\";\n\nimport { dropDownMenuClasses } from \"../DropDownMenu\";\n\nimport { createClasses } from \"../utils/classes\";\n\nexport const { staticClasses, useClasses } = createClasses(\"HvMultiButton\", {\n root: {\n display: \"flex\",\n alignItems: \"center\",\n transition: \"none\",\n background: theme.colors.atmo2,\n position: \"relative\",\n zIndex: 0,\n\n // prevent the focus ring to be hidden by sibling hover background\n \"&>.HvIsFocusVisible\": {\n zIndex: 5,\n },\n\n \"& button$button\": {\n minWidth: \"unset\",\n width: \"100%\",\n maxWidth: 200,\n padding: 0,\n transition: \"none\",\n flex: \"1 0 0px\",\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n borderRadius: 0,\n fontWeight: theme.typography.body.fontWeight,\n fontSize: theme.typography.body.fontSize,\n \"&:disabled\": {\n color: theme.colors.secondary_60,\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n \"&:hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n },\n },\n \"&$firstButton\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: theme.radii.base,\n borderBottomLeftRadius: theme.radii.base,\n \"&:disabled\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&$lastButton\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTopRightRadius: theme.radii.base,\n borderBottomRightRadius: theme.radii.base,\n \"&:disabled\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n },\n \"&:disabled:hover\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:not($firstButton)\": {\n marginLeft: \"-1px\",\n },\n \"&$selected\": {\n background: theme.colors.atmo1,\n ...theme.typography.label,\n borderRadius: theme.radii.base,\n border: `solid 1px ${theme.colors.secondary}`,\n zIndex: 2,\n \"&:hover\": {\n background: theme.colors.atmo3,\n \"&:not(:disabled)\": {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n \"&:disabled\": {\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n // prevent the focus ring to be hidden by sibling hover background\n // even when selected\n \"&.HvIsFocusVisible\": {\n zIndex: 5,\n },\n \"&:disabled\": {\n zIndex: 1,\n color: theme.colors.secondary_60,\n background: theme.colors.atmo1,\n border: `solid 1px ${theme.colors.secondary}`,\n },\n },\n },\n // dropdown menu styles\n \"& $button\": {\n [`&.${dropDownMenuClasses.container}`]: {\n width: \"unset\",\n },\n [`& .${dropDownMenuClasses.icon}`]: {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n borderRadius: 0,\n \"&:disabled\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n \"&:hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n },\n },\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n \"&$firstButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: theme.radii.base,\n borderBottomLeftRadius: theme.radii.base,\n \"&:disabled\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n },\n \"&$lastButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTopRightRadius: theme.radii.base,\n borderBottomRightRadius: theme.radii.base,\n \"&:disabled\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n },\n \"&:disabled:hover\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n },\n \"&:not($firstButton) > button\": {\n marginLeft: \"-1px\",\n },\n },\n },\n splitGroup: {\n background: theme.colors.atmo1,\n \"& button$button\": {\n marginLeft: -1,\n \"&:disabled\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n \"&:hover\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n },\n },\n \"&$firstButton\": {\n \"&:not($selected):disabled\": {\n borderLeft: \"none\",\n \"&:hover\": {\n borderLeft: \"none\",\n },\n },\n },\n \"&$lastButton\": {\n \"&:not($selected):disabled\": {\n borderRight: \"none\",\n \"&:hover\": {\n borderRight: \"none\",\n },\n },\n },\n \"&:not($firstButton)\": {\n marginLeft: 0,\n },\n },\n // dropdown menu styles\n \"& $button\": {\n marginLeft: -1,\n [`& .${dropDownMenuClasses.icon}`]: {\n \"&:disabled\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n \"&:hover\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n },\n },\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n zIndex: 2,\n },\n \"&$firstButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n \"&:disabled\": {\n borderLeft: \"none\",\n \"&:hover\": {\n borderLeft: \"none\",\n },\n },\n },\n },\n \"&$lastButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n \"&:disabled\": {\n borderRight: \"none\",\n \"&:hover\": {\n borderRight: \"none\",\n },\n },\n },\n },\n \"&:not($firstButton) > button\": {\n marginLeft: 0,\n },\n },\n \"&$secondarySubtle\": {\n \"& button$button\": {\n borderTop: `solid 1px ${theme.colors.secondary}`,\n borderBottom: `solid 1px ${theme.colors.secondary}`,\n \"&$firstButton\": {\n borderLeft: `solid 1px ${theme.colors.secondary}`,\n },\n \"&$lastButton\": {\n borderRight: `solid 1px ${theme.colors.secondary}`,\n },\n \"&:not($selected):disabled\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n \"&:hover\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n },\n \"&$firstButton\": {\n \"&:not($selected):disabled\": {\n borderLeft: \"none\",\n \"&:hover\": {\n borderLeft: \"none\",\n },\n },\n },\n \"&$lastButton\": {\n \"&:not($selected):disabled\": {\n borderRight: \"none\",\n \"&:hover\": {\n borderRight: \"none\",\n },\n },\n },\n },\n },\n \"& $button\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderTop: `solid 1px ${theme.colors.secondary}`,\n borderBottom: `solid 1px ${theme.colors.secondary}`,\n \"&:disabled\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n \"&:hover\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n },\n },\n },\n \"&$firstButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderLeft: `solid 1px ${theme.colors.secondary}`,\n \"&:disabled\": {\n borderLeft: \"none\",\n \"&:hover\": {\n borderLeft: \"none\",\n },\n },\n },\n },\n \"&$lastButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderRight: `solid 1px ${theme.colors.secondary}`,\n \"&:disabled\": {\n borderRight: \"none\",\n \"&:hover\": {\n borderRight: \"none\",\n },\n },\n },\n },\n },\n },\n },\n button: {},\n selected: {},\n // vertical button display Styling\n vertical: {\n flexDirection: \"column\",\n height: \"auto\",\n btnSecondary: {\n flex: \"1 1 20px\",\n },\n \"& button$button\": {\n minWidth: 32,\n width: \"100%\",\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n \"&:disabled\": {\n color: theme.colors.secondary_60,\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n \"&:hover\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n },\n },\n \"&$firstButton\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: theme.radii.base,\n borderTopRightRadius: theme.radii.base,\n },\n \"&$lastButton\": {\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderBottomLeftRadius: theme.radii.base,\n borderBottomRightRadius: theme.radii.base,\n \"&:disabled:hover\": {\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:not($firstButton)\": {\n marginLeft: 0,\n marginTop: -1,\n },\n \"&$selected\": {\n height: 32,\n width: `calc(100% + 2px) !important`,\n background: theme.colors.atmo1,\n ...theme.typography.label,\n borderRadius: theme.radii.base,\n border: `solid 1px ${theme.colors.secondary}`,\n zIndex: 2,\n \"&:hover, &:focus\": {\n background: theme.colors.atmo3,\n },\n \"&:disabled\": {\n zIndex: 1,\n color: theme.colors.secondary_60,\n background: theme.colors.atmo1,\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n },\n },\n primary: {\n \"& button$button\": {\n borderTop: \"none\",\n borderBottom: \"none\",\n\n \"&$firstButton\": {\n borderLeft: \"none\",\n },\n \"&$lastButton\": {\n borderRight: \"none\",\n },\n \"&$selected\": {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n },\n\n // dropdown menu styles\n \"& $button\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderTop: \"none\",\n borderBottom: \"none\",\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n \"&$firstButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderLeft: \"none\",\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n borderLeft: `solid 1px ${theme.colors.secondary}`,\n },\n },\n \"&$lastButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderRight: \"none\",\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n borderRight: `solid 1px ${theme.colors.secondary}`,\n },\n },\n },\n },\n primarySubtle: {\n \"& button$button\": {\n borderTop: `solid 1px ${theme.colors.primary}`,\n borderBottom: `solid 1px ${theme.colors.primary}`,\n \"&$firstButton\": {\n borderLeft: `solid 1px ${theme.colors.primary}`,\n },\n \"&$lastButton\": {\n borderRight: `solid 1px ${theme.colors.primary}`,\n },\n },\n // dropdown menu styles\n \"& $button\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderTop: `solid 1px ${theme.colors.primary}`,\n borderBottom: `solid 1px ${theme.colors.primary}`,\n },\n \"&$firstButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderLeft: `solid 1px ${theme.colors.primary}`,\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n },\n \"&$lastButton\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n borderRight: `solid 1px ${theme.colors.primary}`,\n },\n [`& .${dropDownMenuClasses.iconSelected}`]: {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n },\n },\n },\n primaryGhost: {},\n secondary: {},\n secondarySubtle: {},\n secondaryGhost: {\n \"& button$button\": {\n \"&:disabled\": {\n background: theme.colors.atmo3,\n },\n },\n // dropdown menu styles\n \"& $button\": {\n [`& .${dropDownMenuClasses.icon}`]: {\n \"&:disabled\": {\n background: theme.colors.atmo3,\n },\n },\n },\n },\n firstButton: {},\n lastButton: {},\n split: {\n width: 1,\n height: \"100%\",\n background: \"currentColor\",\n },\n splitContainer: {\n zIndex: 1,\n marginLeft: -1,\n width: 1,\n height: \"100%\",\n paddingTop: 4,\n paddingBottom: 4,\n color: theme.colors.secondary,\n borderTop: `1px solid ${theme.colors.atmo4}`,\n borderBottom: `1px solid ${theme.colors.atmo4}`,\n \"&$primary\": {\n color: theme.colors.atmo1,\n backgroundColor: theme.colors.primary,\n borderTop: `1px solid ${theme.colors.primary}`,\n borderBottom: `1px solid ${theme.colors.primary}`,\n },\n \"&$primarySubtle\": {\n color: theme.colors.primary,\n borderTop: `1px solid ${theme.colors.primary}`,\n borderBottom: `1px solid ${theme.colors.primary}`,\n },\n \"&$primaryGhost\": {\n color: theme.colors.primary,\n borderTop: `1px solid ${theme.colors.primary}`,\n borderBottom: `1px solid ${theme.colors.primary}`,\n },\n \"&$secondarySubtle\": {\n color: theme.colors.secondary,\n borderTop: `1px solid ${theme.colors.secondary}`,\n borderBottom: `1px solid ${theme.colors.secondary}`,\n },\n \"&$secondaryGhost\": {\n color: theme.colors.secondary,\n },\n \"&$splitDisabled\": {\n background: theme.colors.atmo3,\n color: theme.colors.secondary_60,\n borderTop: \"none\",\n borderBottom: \"none\",\n },\n },\n splitDisabled: {},\n});\n"],"names":["dropDownMenuClasses"],"mappings":";;;;;;AAMO,MAAM,EAAE,eAAe,eAAe,cAAc,iBAAiB;AAAA,EAC1E,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY,MAAM,OAAO;AAAA,IACzB,UAAU;AAAA,IACV,QAAQ;AAAA;AAAA,IAGR,uBAAuB;AAAA,MACrB,QAAQ;AAAA,IACV;AAAA,IAEA,mBAAmB;AAAA,MACjB,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,MAAM;AAAA,MACN,WAAW,aAAa,MAAM,OAAO,KAAK;AAAA,MAC1C,cAAc,aAAa,MAAM,OAAO,KAAK;AAAA,MAC7C,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,cAAc;AAAA,MACd,YAAY,MAAM,WAAW,KAAK;AAAA,MAClC,UAAU,MAAM,WAAW,KAAK;AAAA,MAChC,cAAc;AAAA,QACZ,OAAO,MAAM,OAAO;AAAA,QACpB,WAAW,aAAa,MAAM,OAAO,KAAK;AAAA,QAC1C,cAAc,aAAa,MAAM,OAAO,KAAK;AAAA,QAC7C,WAAW;AAAA,UACT,WAAW,aAAa,MAAM,OAAO,KAAK;AAAA,UAC1C,cAAc,aAAa,MAAM,OAAO,KAAK;AAAA,UAC7C,YAAY;AAAA,UACZ,aAAa;AAAA,QACf;AAAA,MACF;AAAA,MACA,iBAAiB;AAAA,QACf,YAAY,aAAa,MAAM,OAAO,KAAK;AAAA,QAC3C,qBAAqB,MAAM,MAAM;AAAA,QACjC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,WAAW,aAAa,MAAM,OAAO,OAAO;AAAA,MAC5C,cAAc,aAAa,MAAM,OAAO,OAAO;AAAA,IACjD;AAAA,IACA,qBAAqB;AAAA,MACnB,OAAO,MAAM,OAAO;AAAA,MACpB,WAAW,aAAa,MAAM,OAAO,SAAS;AAAA,MAC9C,cAAc,aAAa,MAAM,OAAO,SAAS;AAAA,IACnD;AAAA,IACA,oBAAoB;AAAA,MAClB,OAAO,MAAM,OAAO;AAAA,IACtB;AAAA,IACA,mBAAmB;AAAA,MACjB,YAAY,MAAM,OAAO;AAAA,MACzB,OAAO,MAAM,OAAO;AAAA,MACpB,WAAW;AAAA,MACX,cAAc;AAAA,IAChB;AAAA,EACF;AAAA,EACA,eAAe,CAAC;AAClB,CAAC;"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2290,12 +2290,12 @@ export declare interface HvCardProps extends HvBaseProps {
|
|
|
2290
2290
|
/** Whether the card is currently selected. */
|
|
2291
2291
|
selected?: boolean;
|
|
2292
2292
|
/** The background color of the card. */
|
|
2293
|
-
bgcolor?: "sema0" |
|
|
2293
|
+
bgcolor?: "sema0" | HvColorAny;
|
|
2294
2294
|
/**
|
|
2295
2295
|
* The border color at the top of the card. Must be one of palette semantic or atmosphere colors.
|
|
2296
2296
|
* To set another color, the borderTop should be override.
|
|
2297
2297
|
*/
|
|
2298
|
-
statusColor?: "sema0" |
|
|
2298
|
+
statusColor?: "sema0" | HvColorAny;
|
|
2299
2299
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
2300
2300
|
classes?: HvCardClasses;
|
|
2301
2301
|
}
|
|
@@ -3212,6 +3212,8 @@ export declare interface HvDropDownMenuProps extends HvBaseProps<HTMLDivElement,
|
|
|
3212
3212
|
category?: HvButtonVariant;
|
|
3213
3213
|
/** The variant to be used in the header. */
|
|
3214
3214
|
variant?: HvButtonVariant;
|
|
3215
|
+
/** Button size. */
|
|
3216
|
+
size?: HvButtonSize;
|
|
3215
3217
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
3216
3218
|
classes?: HvDropDownMenuClasses;
|
|
3217
3219
|
}
|
|
@@ -4584,6 +4586,10 @@ export declare interface HvMultiButtonProps extends HvBaseProps {
|
|
|
4584
4586
|
variant?: HvButtonVariant;
|
|
4585
4587
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
4586
4588
|
classes?: HvMultiButtonClasses;
|
|
4589
|
+
/** Button size. */
|
|
4590
|
+
size?: HvButtonSize;
|
|
4591
|
+
/** Add a split between buttons */
|
|
4592
|
+
split?: boolean;
|
|
4587
4593
|
}
|
|
4588
4594
|
|
|
4589
4595
|
export declare const hvNodeFallback: (value: any) => any;
|
|
@@ -7835,10 +7841,22 @@ export declare const loginClasses: {
|
|
|
7835
7841
|
};
|
|
7836
7842
|
|
|
7837
7843
|
export declare const multiButtonClasses: {
|
|
7844
|
+
secondary: "HvMultiButton-secondary";
|
|
7845
|
+
primary: "HvMultiButton-primary";
|
|
7838
7846
|
vertical: "HvMultiButton-vertical";
|
|
7847
|
+
split: "HvMultiButton-split";
|
|
7839
7848
|
root: "HvMultiButton-root";
|
|
7849
|
+
secondarySubtle: "HvMultiButton-secondarySubtle";
|
|
7840
7850
|
selected: "HvMultiButton-selected";
|
|
7841
7851
|
button: "HvMultiButton-button";
|
|
7852
|
+
secondaryGhost: "HvMultiButton-secondaryGhost";
|
|
7853
|
+
primaryGhost: "HvMultiButton-primaryGhost";
|
|
7854
|
+
primarySubtle: "HvMultiButton-primarySubtle";
|
|
7855
|
+
splitGroup: "HvMultiButton-splitGroup";
|
|
7856
|
+
firstButton: "HvMultiButton-firstButton";
|
|
7857
|
+
lastButton: "HvMultiButton-lastButton";
|
|
7858
|
+
splitContainer: "HvMultiButton-splitContainer";
|
|
7859
|
+
splitDisabled: "HvMultiButton-splitDisabled";
|
|
7842
7860
|
};
|
|
7843
7861
|
|
|
7844
7862
|
export declare const multiSelectionEventHandler: (evt: any, index: number, selectionAnchor: any, allValues: any[], selectedState: boolean[], selectionCheck: any) => any[];
|
|
@@ -10511,12 +10529,24 @@ declare const useClasses_86: (classesProp?: Partial<Record<"root" | "formContain
|
|
|
10511
10529
|
cx: (...args: any) => string;
|
|
10512
10530
|
};
|
|
10513
10531
|
|
|
10514
|
-
declare const useClasses_87: (classesProp?: Partial<Record<"vertical" | "root" | "selected" | "button", string>>, addStatic?: boolean) => {
|
|
10532
|
+
declare const useClasses_87: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "split" | "root" | "secondarySubtle" | "selected" | "button" | "secondaryGhost" | "primaryGhost" | "primarySubtle" | "splitGroup" | "firstButton" | "lastButton" | "splitContainer" | "splitDisabled", string>>, addStatic?: boolean) => {
|
|
10515
10533
|
classes: {
|
|
10534
|
+
secondary: string;
|
|
10535
|
+
primary: string;
|
|
10516
10536
|
vertical: string;
|
|
10537
|
+
split: string;
|
|
10517
10538
|
root: string;
|
|
10539
|
+
secondarySubtle: string;
|
|
10518
10540
|
selected: string;
|
|
10519
10541
|
button: string;
|
|
10542
|
+
secondaryGhost: string;
|
|
10543
|
+
primaryGhost: string;
|
|
10544
|
+
primarySubtle: string;
|
|
10545
|
+
splitGroup: string;
|
|
10546
|
+
firstButton: string;
|
|
10547
|
+
lastButton: string;
|
|
10548
|
+
splitContainer: string;
|
|
10549
|
+
splitDisabled: string;
|
|
10520
10550
|
};
|
|
10521
10551
|
css: {
|
|
10522
10552
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|