@hitachivantara/uikit-react-core 5.95.1 → 5.96.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.
@@ -0,0 +1,761 @@
1
+ import { mergeTheme, pentahoPlus as pentahoPlus$1, theme, neutral, slate, blue } from "@hitachivantara/uikit-styles";
2
+ const ld = (c1, c2) => `light-dark(${c1}, ${c2})`;
3
+ const semaColors = ["positive", "warning", "negative", "info"];
4
+ const notificationMap = {
5
+ success: "positive",
6
+ warning: "warning",
7
+ error: "negative",
8
+ default: "info",
9
+ info: "info",
10
+ accent: "accent"
11
+ };
12
+ const inputColors = {
13
+ bg: ld("#FFFFFF", "#020617")
14
+ };
15
+ const popperStyles = {
16
+ backgroundColor: theme.colors.bgContainer,
17
+ border: `1px solid ${theme.colors.borderSubtle}`,
18
+ borderRadius: theme.radii.large,
19
+ boxShadow: `0px 0px 6px 0px rgba(65, 65, 65, 0.08)`
20
+ };
21
+ const pentahoPlus = mergeTheme(pentahoPlus$1, {
22
+ components: {
23
+ HvLoading: {
24
+ classes: {
25
+ loadingBar: {
26
+ borderRadius: 1
27
+ }
28
+ }
29
+ },
30
+ HvBadge: {
31
+ classes: {
32
+ badgePosition: {
33
+ color: ld(theme.colors.textLight, theme.colors.textDark),
34
+ "&[data-color='textSubtle']:not(.HvBadge-badgePosition:empty)": {
35
+ color: theme.colors.textSubtle,
36
+ backgroundColor: theme.colors.bgPageSecondary
37
+ },
38
+ "&[data-color='primary']:not(.HvBadge-badgePosition:empty)": {
39
+ color: theme.colors.primary,
40
+ backgroundColor: theme.colors.primaryDimmed
41
+ }
42
+ }
43
+ }
44
+ },
45
+ HvCallout: {
46
+ classes: {
47
+ root: { outline: "1px solid var(--icolor, currentcolor)" },
48
+ ...Object.fromEntries(
49
+ Object.entries(notificationMap).map(([variant, color]) => [
50
+ variant,
51
+ {
52
+ backgroundColor: theme.colors[`${color}Dimmed`],
53
+ "--icolor": theme.colors[color],
54
+ "--outline": theme.colors[`${color}Border`],
55
+ "--bg": theme.colors[`${color}Subtle`],
56
+ "--title": theme.colors[`${color}Deep`]
57
+ }
58
+ ])
59
+ ),
60
+ message: {
61
+ "&&": {
62
+ color: theme.colors.secondary
63
+ }
64
+ },
65
+ messageIcon: {
66
+ alignSelf: "start",
67
+ borderRadius: theme.radii.round,
68
+ color: "var(--icolor)",
69
+ outline: `1px solid var(--outline)`,
70
+ backgroundColor: "var(--bg)"
71
+ },
72
+ messageTitle: {
73
+ color: "var(--title)"
74
+ },
75
+ actionClose: {
76
+ color: theme.colors.secondary
77
+ }
78
+ }
79
+ },
80
+ HvSnackbar: {
81
+ anchorOrigin: { vertical: "bottom", horizontal: "center" }
82
+ },
83
+ HvSnackbarProvider: {
84
+ anchorOrigin: { vertical: "bottom", horizontal: "center" }
85
+ },
86
+ HvBaseCheckBox: {
87
+ classes: {
88
+ root: {
89
+ borderRadius: theme.radii.base
90
+ }
91
+ }
92
+ },
93
+ HvCheckBoxIcon: {
94
+ classes: {
95
+ root: {
96
+ borderRadius: theme.radii.base
97
+ },
98
+ checked: {
99
+ "--bg-color": theme.colors.primary,
100
+ color: theme.colors.atmo1
101
+ }
102
+ }
103
+ },
104
+ HvBaseRadio: {
105
+ classes: {
106
+ root: {
107
+ borderRadius: theme.radii.base
108
+ }
109
+ }
110
+ },
111
+ HvRadioIcon: {
112
+ classes: {
113
+ checked: {
114
+ "--bg-color": theme.colors.primary
115
+ }
116
+ }
117
+ },
118
+ HvBaseSwitch: {
119
+ classes: {
120
+ root: {
121
+ borderRadius: theme.radii.base,
122
+ "&:hover": {
123
+ backgroundColor: theme.colors.bgHover
124
+ },
125
+ "& .HvBaseSwitch-switchBase": {
126
+ "& .HvBaseSwitch-thumb": {
127
+ borderColor: "transparent",
128
+ boxShadow: `0px 1px 1px 0px ${theme.alpha(slate[700], 0.16)}`
129
+ },
130
+ "+.HvBaseSwitch-track": {
131
+ height: 14,
132
+ backgroundColor: theme.colors.textDimmed,
133
+ borderColor: theme.colors.textSubtle
134
+ },
135
+ "&.HvBaseSwitch-checked": {
136
+ "& .HvBaseSwitch-thumb": {
137
+ border: `1px solid ${theme.colors.bgContainer}`
138
+ },
139
+ "+.HvBaseSwitch-track": {
140
+ borderColor: theme.colors.primaryStrong
141
+ }
142
+ },
143
+ "&.HvBaseSwitch-disabled": {
144
+ "& .HvBaseSwitch-thumb": {
145
+ backgroundColor: theme.colors.borderDisabled,
146
+ borderColor: theme.colors.borderDisabled
147
+ },
148
+ "+.HvBaseSwitch-track": {
149
+ borderColor: theme.colors.borderDisabled,
150
+ backgroundColor: theme.colors.bgDisabled
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ },
157
+ HvSelect: {
158
+ classes: {
159
+ root: {
160
+ borderRadius: theme.radii.round,
161
+ "&& .HvButton-secondarySubtle": {
162
+ borderColor: theme.colors.textDimmed,
163
+ backgroundColor: inputColors.bg
164
+ }
165
+ },
166
+ select: {
167
+ borderRadius: theme.radii.round
168
+ },
169
+ panel: {
170
+ ...popperStyles
171
+ },
172
+ popper: {
173
+ "&[data-popper-placement*='bottom'] .HvSelect-panel": {
174
+ borderRadius: theme.radii.large,
175
+ top: 1
176
+ },
177
+ "&[data-popper-placement*='top'] .HvSelect-panel": {
178
+ borderRadius: theme.radii.large,
179
+ top: -1
180
+ }
181
+ }
182
+ }
183
+ },
184
+ HvSuggestions: {
185
+ classes: {
186
+ list: {
187
+ ...popperStyles
188
+ }
189
+ }
190
+ },
191
+ HvTagsInput: {
192
+ classes: {
193
+ tagsList: {
194
+ backgroundColor: inputColors.bg,
195
+ padding: theme.space.xxs
196
+ },
197
+ singleLine: {
198
+ height: 32
199
+ }
200
+ }
201
+ },
202
+ HvTag: {
203
+ showSelectIcon: false,
204
+ size: "sm",
205
+ classes: {
206
+ root: {
207
+ outline: `1px solid ${theme.colors.border}`,
208
+ outlineOffset: -1,
209
+ borderRadius: theme.radii.round,
210
+ ":where(:not([data-color],.HvTag-disabled))": {
211
+ color: theme.colors.text,
212
+ "--tagColor": theme.colors.bgContainer
213
+ },
214
+ ":where([data-color]:not(.HvTag-disabled))": {
215
+ ":not([data-color$=_20],[data-color^=cat])": {
216
+ color: "var(--tagColor)",
217
+ backgroundColor: theme.mix("var(--tagColor)", "8%", "white"),
218
+ outlineColor: theme.mix("var(--tagColor)", "30%", "white"),
219
+ "&.HvTag-clickable:is(:hover,:focus-visible)": {
220
+ backgroundColor: theme.mix("var(--tagColor)", "20%", "white")
221
+ }
222
+ },
223
+ ...Object.fromEntries(
224
+ semaColors.map((color) => [
225
+ [`&[data-color=${color}]`],
226
+ {
227
+ color: theme.colors[`${color}Strong`],
228
+ backgroundColor: theme.colors[`${color}Dimmed`],
229
+ outlineColor: theme.colors[`${color}Border`],
230
+ "&.HvTag-clickable:has(:hover,:focus-visible)": {
231
+ backgroundColor: theme.colors[`${color}Subtle`]
232
+ }
233
+ }
234
+ ])
235
+ )
236
+ }
237
+ },
238
+ hasIcon: {
239
+ paddingLeft: theme.space.xs
240
+ },
241
+ xs: { borderRadius: theme.radii.base },
242
+ sm: { borderRadius: theme.radii.base },
243
+ md: { borderRadius: theme.radii.round },
244
+ label: {
245
+ paddingLeft: 8,
246
+ paddingRight: 8
247
+ },
248
+ deleteIcon: {
249
+ borderRadius: "inherit",
250
+ marginRight: 4
251
+ },
252
+ clickable: {
253
+ ":hover": {
254
+ backgroundColor: theme.colors.bgHover
255
+ }
256
+ },
257
+ selected: {
258
+ "&&": {
259
+ outlineColor: "currentcolor"
260
+ }
261
+ },
262
+ disabled: {
263
+ color: theme.colors.textDisabled,
264
+ outlineColor: "transparent",
265
+ "&,:hover": {
266
+ backgroundColor: theme.colors.bgDisabled
267
+ }
268
+ }
269
+ }
270
+ },
271
+ HvIconContainer: {
272
+ classes: {
273
+ root: {
274
+ padding: 0
275
+ },
276
+ xs: { fontSize: 16, padding: 0 },
277
+ sm: { fontSize: 20, padding: 2 },
278
+ md: { fontSize: 26, padding: 3 },
279
+ lg: { fontSize: 36, padding: 6 },
280
+ xl: { fontSize: 48, padding: 8 }
281
+ }
282
+ },
283
+ HvInlineEditor: {
284
+ classes: {
285
+ button: {
286
+ borderRadius: 2,
287
+ "&:focus": {
288
+ borderColor: theme.colors.secondary
289
+ }
290
+ },
291
+ inputRoot: {
292
+ borderRadius: 2
293
+ }
294
+ }
295
+ },
296
+ HvButtonBase: {
297
+ classes: {
298
+ root: {
299
+ ":where(:not(.HvButtonBase-disabled))": {
300
+ ":hover": { backgroundColor: theme.colors.primaryDimmed },
301
+ ":active": { backgroundColor: theme.colors.primarySubtle }
302
+ }
303
+ }
304
+ }
305
+ },
306
+ HvButton: {
307
+ radius: "full",
308
+ classes: {
309
+ root: {
310
+ ":where(:not(.HvButton-disabled,.HvButton-contained))": {
311
+ "&[data-color=positive]": { color: theme.colors.positive },
312
+ "&[data-color=warning]": { color: theme.colors.warning },
313
+ "&[data-color=negative]": { color: theme.colors.negative },
314
+ ":hover": { backgroundColor: theme.colors.primaryDimmed },
315
+ ":active": { backgroundColor: theme.colors.primarySubtle }
316
+ }
317
+ },
318
+ contained: {
319
+ ":where(:not(.HvButton-disabled))": {
320
+ color: "#FFFFFF",
321
+ "&[data-color=primary]": {
322
+ backgroundColor: theme.colors.primary,
323
+ ":hover": { backgroundColor: theme.colors.primaryStrong },
324
+ ":active": { backgroundColor: theme.colors.primaryDeep }
325
+ },
326
+ "&[data-color=positive]": {
327
+ ":hover": { backgroundColor: theme.colors.positiveDeep },
328
+ ":active": { backgroundColor: theme.colors.positiveStrong }
329
+ },
330
+ "&[data-color=warning]": {
331
+ ":hover": { backgroundColor: theme.colors.warningDeep },
332
+ ":active": { backgroundColor: theme.colors.warningStrong }
333
+ },
334
+ "&[data-color=negative]": {
335
+ ":hover": { backgroundColor: theme.colors.negativeDeep },
336
+ ":active": { backgroundColor: theme.colors.negativeStrong }
337
+ }
338
+ }
339
+ },
340
+ subtle: {
341
+ borderColor: theme.alpha("currentcolor", 0.4),
342
+ ":where(:not(.HvButton-disabled))": {
343
+ "&[data-color=primary]": {
344
+ borderColor: theme.colors.primarySubtle,
345
+ backgroundColor: theme.colors.primaryDimmed
346
+ },
347
+ "&[data-color=secondary]": {
348
+ borderColor: theme.colors.border,
349
+ backgroundColor: theme.colors.bgContainerSecondary
350
+ },
351
+ ":hover": {
352
+ backgroundColor: theme.colors.primaryDimmed
353
+ },
354
+ ":active": {
355
+ borderColor: "transparent",
356
+ backgroundColor: theme.colors.primarySubtle
357
+ },
358
+ "&[data-color=positive]": {
359
+ borderColor: theme.colors.positiveBorder,
360
+ backgroundColor: theme.colors.positiveDimmed,
361
+ ":hover": { backgroundColor: theme.colors.positiveSubtle },
362
+ ":active": {
363
+ backgroundColor: theme.colors.positiveBorder
364
+ }
365
+ },
366
+ "&[data-color=warning]": {
367
+ borderColor: theme.colors.warningBorder,
368
+ backgroundColor: theme.colors.warningDimmed,
369
+ ":hover": { backgroundColor: theme.colors.warningSubtle },
370
+ ":active": { backgroundColor: theme.colors.warningBorder }
371
+ },
372
+ "&[data-color=negative]": {
373
+ borderColor: theme.colors.negativeBorder,
374
+ backgroundColor: theme.colors.negativeDimmed,
375
+ ":hover": { backgroundColor: theme.colors.negativeSubtle },
376
+ ":active": {
377
+ backgroundColor: theme.colors.negativeBorder
378
+ }
379
+ }
380
+ }
381
+ },
382
+ ghost: {
383
+ ":where(:not(.HvButton-disabled))": {
384
+ "&[data-color=positive]": {
385
+ ":hover": { backgroundColor: theme.colors.positiveDimmed },
386
+ ":active": { backgroundColor: theme.colors.positiveSubtle }
387
+ },
388
+ "&[data-color=warning]": {
389
+ ":hover": { backgroundColor: theme.colors.warningDimmed },
390
+ ":active": { backgroundColor: theme.colors.warningSubtle }
391
+ },
392
+ "&[data-color=negative]": {
393
+ ":hover": { backgroundColor: theme.colors.negativeDimmed },
394
+ ":active": { backgroundColor: theme.colors.negativeSubtle }
395
+ }
396
+ }
397
+ },
398
+ disabled: {
399
+ color: theme.colors.textDisabled,
400
+ ":not(.HvButton-ghost)": {
401
+ borderColor: "transparent",
402
+ "&,:hover,:active": {
403
+ backgroundColor: theme.colors.bgDisabled
404
+ }
405
+ }
406
+ }
407
+ }
408
+ },
409
+ HvMultiButton: {
410
+ classes: {
411
+ multiple: {
412
+ borderRadius: theme.radii.full,
413
+ borderColor: theme.colors.border,
414
+ "& .HvMultiButton-button": {
415
+ borderColor: "inherit",
416
+ ...theme.typography.body,
417
+ "&.HvMultiButton-selected": {
418
+ color: theme.colors.primary,
419
+ backgroundColor: theme.colors.primaryDimmed
420
+ },
421
+ "&:not(.HvMultiButton-firstButton, .HvMultiButton-lastButton)": {
422
+ borderRadius: 0
423
+ }
424
+ }
425
+ },
426
+ vertical: {
427
+ borderRadius: theme.radii.large,
428
+ borderColor: theme.colors.border
429
+ }
430
+ }
431
+ },
432
+ HvDropdownButton: {
433
+ classes: {
434
+ disabled: {
435
+ backgroundColor: theme.colors.bgDisabled,
436
+ borderColor: theme.colors.bgDisabled,
437
+ "&.HvButton-subtle": {
438
+ borderColor: theme.colors.bgDisabled,
439
+ "&,:hover": {
440
+ backgroundColor: theme.colors.bgDisabled
441
+ }
442
+ },
443
+ "&.HvButton-ghost": {
444
+ borderColor: theme.colors.bgDisabled,
445
+ "&,:hover": {
446
+ backgroundColor: theme.colors.bgDisabled
447
+ }
448
+ }
449
+ }
450
+ }
451
+ },
452
+ HvHeader: {
453
+ classes: {
454
+ root: {
455
+ borderBottom: `1px solid ${theme.colors.atmo3}`,
456
+ boxShadow: "none"
457
+ }
458
+ }
459
+ },
460
+ HvHeaderBrand: {
461
+ classes: {
462
+ separator: {
463
+ backgroundColor: theme.colors.atmo4,
464
+ margin: theme.spacing(0, "md"),
465
+ height: 32
466
+ }
467
+ }
468
+ },
469
+ HvHeaderMenuBarBar: {
470
+ classes: {
471
+ active: {
472
+ boxShadow: "none",
473
+ borderBottom: `1px solid ${theme.colors.atmo3}`
474
+ },
475
+ list: {
476
+ "& li:hover > .HvHeader-MenuBar-hidden": {
477
+ boxShadow: "none",
478
+ borderBottom: `1px solid ${theme.colors.atmo3}`
479
+ },
480
+ "& li:focus-within > .HvHeader-MenuBar-hidden": {
481
+ boxShadow: "none",
482
+ borderBottom: `1px solid ${theme.colors.atmo3}`
483
+ }
484
+ }
485
+ }
486
+ },
487
+ HvVerticalNavigation: {
488
+ classes: {
489
+ root: {
490
+ width: 280,
491
+ color: theme.colors.base_light,
492
+ backgroundColor: slate[900],
493
+ borderRight: `1px solid ${slate[500]}`,
494
+ "& > :not(nav:first-of-type)": {
495
+ borderTop: `1px solid ${slate[500]}`
496
+ },
497
+ "& > :only-child": {
498
+ padding: theme.space.sm,
499
+ "& .HvVerticalNavigationSlider-listContainer": { padding: 0 }
500
+ }
501
+ },
502
+ slider: {
503
+ "& > div:first-of-type": {
504
+ borderBottom: `1px solid ${slate[500]}`
505
+ }
506
+ }
507
+ }
508
+ },
509
+ HvVerticalNavigationAction: {
510
+ classes: {
511
+ action: {
512
+ borderRadius: theme.radii.round,
513
+ "&:hover, &:focus": {
514
+ backgroundColor: slate[700]
515
+ }
516
+ }
517
+ }
518
+ },
519
+ HvVerticalNavigationSlider: {
520
+ classes: {
521
+ root: {
522
+ minHeight: "32px",
523
+ borderLeft: "unset",
524
+ borderRadius: theme.radii.round,
525
+ "&.HvIsFocused": {
526
+ backgroundColor: slate[700]
527
+ },
528
+ "&.HvListItem-interactive:not(.HvListItem-disabled):not(.HvListItem-selected):hover": {
529
+ backgroundColor: slate[700]
530
+ }
531
+ },
532
+ listItemDisabled: {
533
+ color: neutral[500],
534
+ backgroundColor: neutral[800],
535
+ "& .HvListItem-startAdornment": { backgroundColor: "transparent" },
536
+ "& .HvListItem-endAdornment": { backgroundColor: "transparent" }
537
+ },
538
+ listItemSelected: {
539
+ background: blue[800],
540
+ borderLeft: "unset"
541
+ },
542
+ listItemFocus: {
543
+ background: slate[700]
544
+ },
545
+ listContainer: {
546
+ padding: theme.space.sm
547
+ }
548
+ }
549
+ },
550
+ HvVerticalNavigationTreeViewItem: {
551
+ classes: {
552
+ content: {
553
+ borderLeft: "unset",
554
+ borderRadius: theme.radii.round,
555
+ ".HvVerticalNavigationTreeViewItem-selected>&": {
556
+ background: blue[800],
557
+ borderLeft: "unset"
558
+ },
559
+ ":not(.HvVerticalNavigationTreeViewItem-disabled>&):not(.HvVerticalNavigationTreeViewItem-selected>&)": {
560
+ "&:hover, &:focus-visible, &.focus-visible": {
561
+ background: slate[700]
562
+ }
563
+ },
564
+ ".HvVerticalNavigationTreeViewItem-focused>&": {
565
+ background: slate[700]
566
+ }
567
+ },
568
+ disabled: {
569
+ "& .HvVerticalNavigationTreeViewItem-label": {
570
+ color: neutral[500]
571
+ },
572
+ "& .HvVerticalNavigationTreeViewItem-content": {
573
+ background: neutral[800]
574
+ }
575
+ },
576
+ icon: {
577
+ "& .HvAvatar-root": {
578
+ borderRadius: theme.radii.round
579
+ }
580
+ }
581
+ }
582
+ },
583
+ HvCard: {
584
+ classes: {
585
+ root: {
586
+ outlineColor: theme.colors.borderSubtle,
587
+ "--rb": theme.radii.large,
588
+ // default non-semantic card
589
+ "&[data-color=sema0]": {
590
+ overflow: "hidden",
591
+ height: "fit-content",
592
+ "--rt": theme.radii.large,
593
+ "& .HvCard-semanticContainer": {
594
+ display: "none"
595
+ }
596
+ },
597
+ "& > :last-child:not(.HvCardMedia-root)": {
598
+ paddingBottom: theme.space.sm
599
+ },
600
+ "& .HvActionBar-root": {
601
+ padding: theme.spacing("xs", "sm"),
602
+ borderTop: "none"
603
+ }
604
+ },
605
+ selectable: {
606
+ ":hover": {
607
+ outlineColor: theme.colors.bgHover,
608
+ backgroundColor: theme.colors.primaryDimmed
609
+ }
610
+ },
611
+ selected: {
612
+ outlineColor: theme.colors.primaryDeep
613
+ },
614
+ semanticBar: {
615
+ "--bar-height": "2px",
616
+ borderRadius: `${theme.radii.base} ${theme.radii.base} 0 0`
617
+ }
618
+ }
619
+ },
620
+ HvCardHeader: {
621
+ classes: {
622
+ root: {
623
+ flexDirection: "row-reverse",
624
+ padding: theme.spacing("xs", "sm"),
625
+ gap: 0
626
+ }
627
+ }
628
+ },
629
+ HvCardContent: {
630
+ classes: {
631
+ content: {
632
+ padding: theme.spacing("xs", "sm"),
633
+ "&:last-child": {
634
+ paddingBottom: theme.space.xs
635
+ }
636
+ }
637
+ }
638
+ },
639
+ HvFooter: {
640
+ name: "Pentaho+"
641
+ },
642
+ HvTabs: {
643
+ classes: {
644
+ floating: {
645
+ "& .HvTab-root": {
646
+ marginTop: 0,
647
+ zIndex: 1,
648
+ "&:is(.HvTab-selected)": {
649
+ borderColor: "transparent",
650
+ backgroundColor: "transparent"
651
+ },
652
+ "&:hover": {
653
+ borderRadius: theme.radii.full
654
+ },
655
+ "::after": {
656
+ display: "none"
657
+ }
658
+ },
659
+ "& .HvTabs-indicator": {
660
+ height: "100%",
661
+ backgroundColor: theme.colors.bgContainer,
662
+ border: `1px solid ${theme.colors.primary}`,
663
+ borderRadius: theme.radii.full
664
+ },
665
+ "& .HvTabs-flexContainer": {
666
+ display: "inline-flex",
667
+ backgroundColor: theme.colors.bgPageSecondary,
668
+ borderRadius: theme.radii.full,
669
+ marginLeft: 0
670
+ }
671
+ }
672
+ }
673
+ },
674
+ HvLabel: {
675
+ classes: {
676
+ root: {
677
+ "& span[aria-hidden]": {
678
+ color: theme.form.errorColor
679
+ }
680
+ }
681
+ }
682
+ },
683
+ HvBaseInput: {
684
+ classes: {
685
+ root: {
686
+ borderColor: theme.colors.textDimmed,
687
+ backgroundColor: inputColors.bg
688
+ },
689
+ disabled: {
690
+ backgroundColor: theme.colors.bgDisabled
691
+ }
692
+ }
693
+ },
694
+ HvInput: {
695
+ classes: {
696
+ label: {
697
+ "& span[aria-hidden]::before": {
698
+ content: '" "'
699
+ }
700
+ },
701
+ inputRoot: {
702
+ ":has([type=search])": {
703
+ borderRadius: theme.radii.full
704
+ }
705
+ },
706
+ inputExtension: {
707
+ backgroundColor: "transparent",
708
+ height: 0,
709
+ boxShadow: "none"
710
+ }
711
+ }
712
+ },
713
+ HvBaseDropdown: {
714
+ classes: {
715
+ header: {
716
+ borderColor: theme.colors.textDimmed,
717
+ backgroundColor: inputColors.bg
718
+ },
719
+ headerOpen: {
720
+ "&,:hover": {
721
+ borderColor: theme.colors.textDimmed
722
+ }
723
+ },
724
+ panel: {
725
+ "&[data-popper-placement*='top'],&[data-popper-placement*='bottom']": {
726
+ ...popperStyles
727
+ }
728
+ }
729
+ }
730
+ },
731
+ HvDropDownMenu: {
732
+ classes: {
733
+ root: {
734
+ "--r": "calc(var(--HvButton-height) / 2)"
735
+ },
736
+ iconSelected: {
737
+ "&[data-color=secondary]": {
738
+ borderColor: theme.colors.textDimmed
739
+ }
740
+ }
741
+ }
742
+ },
743
+ HvNumberInput: {
744
+ classes: {
745
+ root: {
746
+ ".HvBaseInput-disabled .HvInput-adornmentsBox": {
747
+ backgroundColor: theme.colors.bgDisabled
748
+ }
749
+ },
750
+ adornmentsBox: {
751
+ backgroundColor: theme.colors.bgContainer,
752
+ borderLeft: `1px solid ${theme.colors.border}`,
753
+ borderRadius: theme.radii.none
754
+ }
755
+ }
756
+ }
757
+ }
758
+ });
759
+ export {
760
+ pentahoPlus
761
+ };