@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,1208 @@
1
+ import { mergeTheme, ds3 as ds3$1, theme } from "@hitachivantara/uikit-styles";
2
+ const ds3 = mergeTheme(ds3$1, {
3
+ components: {
4
+ HvActionBar: {
5
+ classes: {
6
+ root: {
7
+ borderTop: `3px solid ${theme.colors.atmo2}`
8
+ }
9
+ }
10
+ },
11
+ HvBaseCheckBox: {
12
+ classes: {
13
+ root: {
14
+ borderRadius: 0
15
+ }
16
+ }
17
+ },
18
+ HvCallout: {
19
+ classes: {
20
+ root: {
21
+ borderRadius: 0
22
+ }
23
+ }
24
+ },
25
+ HvCheckBoxIcon: {
26
+ classes: {
27
+ root: {
28
+ borderRadius: 0,
29
+ borderColor: theme.colors.text
30
+ },
31
+ checked: {
32
+ "--bg-color": theme.colors.text,
33
+ color: theme.colors.atmo1
34
+ },
35
+ semantic: {
36
+ "&[data-variant=indeterminate]": {
37
+ backgroundColor: theme.colors.textLight,
38
+ color: theme.colors.textDark
39
+ }
40
+ },
41
+ indeterminate: {
42
+ color: theme.colors.text
43
+ }
44
+ }
45
+ },
46
+ HvBaseDropdown: {
47
+ classes: {
48
+ header: {
49
+ borderRadius: 0,
50
+ border: `1px solid ${theme.colors.atmo4}`,
51
+ ":hover,:focus-visible": {
52
+ borderColor: theme.colors.secondary
53
+ }
54
+ },
55
+ headerOpen: {
56
+ "&,:hover": {
57
+ borderColor: "transparent",
58
+ boxShadow: theme.colors.shadow
59
+ }
60
+ },
61
+ headerDisabled: {
62
+ background: theme.colors.atmo3,
63
+ "&,:hover": {
64
+ borderColor: theme.colors.atmo4
65
+ }
66
+ },
67
+ headerReadOnly: {
68
+ background: theme.colors.atmo1,
69
+ "&,:focus-visible": {
70
+ border: "none"
71
+ }
72
+ },
73
+ placeholder: {
74
+ color: theme.colors.secondary_60
75
+ },
76
+ panel: {
77
+ boxShadow: theme.colors.shadow,
78
+ border: "1px solid transparent"
79
+ },
80
+ inputExtensionOpen: {
81
+ height: theme.space.xs,
82
+ borderRight: "1px solid transparent",
83
+ borderLeft: "1px solid transparent"
84
+ }
85
+ }
86
+ },
87
+ HvLabelContainer: {
88
+ classes: {
89
+ root: {
90
+ height: "auto"
91
+ }
92
+ }
93
+ },
94
+ HvBaseInput: {
95
+ classes: {
96
+ root: {
97
+ border: "none",
98
+ borderRadius: 0,
99
+ ":not(.HvBaseInput-disabled,.HvBaseInput-invalid,.HvBaseInput-readOnly)": {
100
+ ":hover,:focus-within": {
101
+ borderColor: theme.colors.secondary,
102
+ "::after": {
103
+ borderBottomColor: theme.colors.secondary
104
+ }
105
+ }
106
+ },
107
+ "::after": {
108
+ content: '" "',
109
+ position: "absolute",
110
+ inset: "auto 0 0",
111
+ margin: "0 2px",
112
+ borderBottom: `1px solid ${theme.colors.atmo4}`
113
+ }
114
+ },
115
+ invalid: {
116
+ "::after": {
117
+ borderBottomColor: theme.form.errorColor
118
+ }
119
+ },
120
+ disabled: {
121
+ backgroundColor: theme.colors.atmo3,
122
+ "&& .HvBaseInput-input": {
123
+ color: theme.colors.secondary_60,
124
+ WebkitTextFillColor: theme.colors.secondary_60
125
+ }
126
+ },
127
+ multiline: {
128
+ border: `1px solid ${theme.colors.atmo4}`,
129
+ "&::after": {
130
+ display: "none"
131
+ },
132
+ "&.HvBaseInput-disabled": {
133
+ borderColor: theme.colors.atmo4
134
+ }
135
+ },
136
+ readOnly: {
137
+ borderColor: "transparent",
138
+ backgroundColor: theme.colors.atmo1,
139
+ "::after": {
140
+ borderColor: "transparent"
141
+ }
142
+ },
143
+ focused: {
144
+ "&.HvBaseInput-readOnly": {
145
+ backgroundColor: theme.colors.atmo1
146
+ }
147
+ },
148
+ input: {
149
+ "&::placeholder": {
150
+ color: theme.colors.secondary_60
151
+ }
152
+ },
153
+ inputReadOnly: {
154
+ color: theme.colors.secondary
155
+ }
156
+ }
157
+ },
158
+ HvBaseRadio: {
159
+ classes: {
160
+ root: {
161
+ "&:hover": {
162
+ borderRadius: 0
163
+ }
164
+ }
165
+ }
166
+ },
167
+ HvRadioIcon: {
168
+ classes: {
169
+ checked: {
170
+ "--bg-color": theme.colors.text,
171
+ color: theme.colors.bgPage
172
+ }
173
+ }
174
+ },
175
+ HvBaseSwitch: {
176
+ classes: {
177
+ root: {
178
+ width: "32px",
179
+ height: "16px",
180
+ borderRadius: 0,
181
+ "&:hover": {
182
+ backgroundColor: "transparent"
183
+ },
184
+ " .HvBaseSwitch-switchBase.HvBaseSwitch-checked:not(.HvBaseSwitch-disabled) + .HvBaseSwitch-track": {
185
+ backgroundColor: theme.colors.text
186
+ }
187
+ },
188
+ switch: {
189
+ width: "32px",
190
+ height: "16px"
191
+ },
192
+ switchBase: {
193
+ width: "32px",
194
+ height: "16px"
195
+ },
196
+ track: {
197
+ backgroundColor: theme.colors.atmo2
198
+ },
199
+ thumb: {
200
+ width: 12,
201
+ height: 12
202
+ }
203
+ }
204
+ },
205
+ HvBreadCrumbPage: {
206
+ classes: {
207
+ link: {
208
+ ":hover,:focus": {
209
+ backgroundColor: theme.colors.atmo3
210
+ }
211
+ }
212
+ }
213
+ },
214
+ HvBulkActions: {
215
+ classes: {
216
+ root: {
217
+ border: "none",
218
+ backgroundColor: theme.colors.atmo1,
219
+ padding: "0px"
220
+ },
221
+ semantic: {
222
+ backgroundColor: theme.colors.neutral_20,
223
+ "& .HvBulkActions-selectAll div": {
224
+ color: theme.colors.base_dark,
225
+ "& *": {
226
+ color: theme.colors.base_dark,
227
+ backgroundColor: "transparent"
228
+ }
229
+ }
230
+ },
231
+ divider: {
232
+ display: "none"
233
+ }
234
+ }
235
+ },
236
+ HvButton: {
237
+ classes: {
238
+ root: {
239
+ padding: theme.spacing(0, "xs"),
240
+ minWidth: "70px"
241
+ },
242
+ icon: {
243
+ minWidth: "unset"
244
+ },
245
+ secondarySubtle: {
246
+ backgroundColor: theme.colors.atmo1,
247
+ borderColor: theme.colors.atmo4
248
+ },
249
+ secondary: {
250
+ backgroundColor: theme.colors.atmo1,
251
+ borderColor: theme.colors.atmo4
252
+ },
253
+ ghost: {},
254
+ disabled: {
255
+ "&:not(.HvButton-ghost):not(.HvButton-semantic)": {
256
+ backgroundColor: theme.colors.atmo3
257
+ },
258
+ "&.HvButton-subtle": {
259
+ borderColor: theme.colors.atmo4
260
+ }
261
+ }
262
+ }
263
+ },
264
+ HvCalendarHeader: {
265
+ classes: {
266
+ root: {
267
+ marginTop: theme.space.xs,
268
+ paddingBottom: 32,
269
+ "& input": {
270
+ height: "27px",
271
+ fontSize: "18px",
272
+ letterSpacing: "0.02em",
273
+ lineHeight: "28px",
274
+ fontWeight: theme.fontWeights.semibold
275
+ }
276
+ },
277
+ invalid: {
278
+ paddingBottom: 0
279
+ },
280
+ headerDayOfWeek: {
281
+ color: theme.colors.secondary
282
+ }
283
+ }
284
+ },
285
+ HvCard: {
286
+ classes: {
287
+ root: {
288
+ outline: "none",
289
+ borderRadius: 0
290
+ },
291
+ selectable: {
292
+ "&:hover": {
293
+ outline: `1px solid ${theme.colors.atmo4}`
294
+ }
295
+ },
296
+ icon: {
297
+ top: `calc(-24px + ${theme.space.xs})`,
298
+ right: `calc(-24px + ${theme.space.xs})`
299
+ }
300
+ }
301
+ },
302
+ HvCardHeader: {
303
+ classes: {
304
+ root: {
305
+ padding: theme.spacing("15px", "sm")
306
+ },
307
+ title: {
308
+ ...theme.typography.title3
309
+ },
310
+ titleShort: {
311
+ ...theme.typography.title3
312
+ },
313
+ subheader: {
314
+ ...theme.typography.body
315
+ }
316
+ }
317
+ },
318
+ HvCarousel: {
319
+ classes: {
320
+ xs: {
321
+ "& .HvCarousel-controls": {
322
+ display: "none"
323
+ }
324
+ },
325
+ controls: {
326
+ justifyContent: "space-between",
327
+ backgroundColor: "transparent",
328
+ border: "none"
329
+ },
330
+ counterContainer: {
331
+ display: "block"
332
+ },
333
+ thumbnail: {
334
+ "& img": {
335
+ borderRadius: 0
336
+ }
337
+ },
338
+ thumbnailSelected: {
339
+ "& img": {
340
+ border: `1px solid ${theme.colors.base_dark}`
341
+ }
342
+ }
343
+ }
344
+ },
345
+ HvCheckBox: {
346
+ classes: {
347
+ container: {
348
+ "&:hover": {
349
+ borderRadius: 0
350
+ }
351
+ }
352
+ }
353
+ },
354
+ HvColorPicker: {
355
+ classes: {
356
+ panel: {
357
+ minWidth: "240px",
358
+ padding: "20px 15px 20px 20px"
359
+ },
360
+ colorPicker: {
361
+ width: "205px"
362
+ },
363
+ headerColorValue: {
364
+ ...theme.typography.body
365
+ },
366
+ recommendedColorsRoot: {
367
+ ":not(:only-child)": {
368
+ paddingBottom: "20px"
369
+ }
370
+ }
371
+ }
372
+ },
373
+ HvColorPickerFields: {
374
+ classes: {
375
+ fields: {
376
+ paddingTop: "10px",
377
+ marginRight: "5px"
378
+ },
379
+ single: {
380
+ maxWidth: "40px",
381
+ paddingLeft: "5px"
382
+ },
383
+ double: {
384
+ maxWidth: "80px",
385
+ paddingRight: "20px"
386
+ }
387
+ }
388
+ },
389
+ HvColorPickerPicker: {
390
+ classes: {
391
+ pickers: {
392
+ flexDirection: "row"
393
+ },
394
+ saturation: {
395
+ width: "180px",
396
+ height: "180px",
397
+ marginRight: "5px",
398
+ "& > div": {
399
+ borderRadius: 0,
400
+ "& .saturation-white": {
401
+ borderRadius: 0,
402
+ "& .saturation-black": {
403
+ borderRadius: 0
404
+ }
405
+ }
406
+ }
407
+ },
408
+ saturationPointer: {
409
+ width: "6px",
410
+ height: "6px"
411
+ },
412
+ hue: {
413
+ height: "180px",
414
+ width: "15px",
415
+ marginTop: "0px",
416
+ "& .hue-horizontal": {
417
+ borderRadius: 0
418
+ }
419
+ },
420
+ hueSlider: {
421
+ width: "12px",
422
+ height: "6px",
423
+ background: "#fff",
424
+ marginLeft: "1px",
425
+ border: "1px solid #fff",
426
+ borderRadius: "1px"
427
+ }
428
+ }
429
+ },
430
+ HvColorPickerPresetColors: {
431
+ classes: {
432
+ root: { width: "205px" },
433
+ colors: {
434
+ width: "calc(100% + 5px)",
435
+ margin: "-5px -3px"
436
+ },
437
+ swatchWrap: {
438
+ width: "16px",
439
+ height: "16px",
440
+ margin: "5px",
441
+ "& > span > div": {
442
+ borderRadius: 0
443
+ }
444
+ }
445
+ }
446
+ },
447
+ HvColorPickerSavedColors: {
448
+ classes: {
449
+ addButton: {
450
+ margin: "5px",
451
+ width: "32px",
452
+ height: "32px"
453
+ },
454
+ root: {
455
+ width: "calc(100% + 5px)",
456
+ margin: "-5px -3px"
457
+ },
458
+ swatchWrap: {
459
+ width: "32px",
460
+ height: "32px",
461
+ margin: "4px",
462
+ "& > span > div": {
463
+ borderRadius: theme.radii.base
464
+ }
465
+ }
466
+ }
467
+ },
468
+ HvDatePicker: {
469
+ classes: {
470
+ inputText: {
471
+ ...theme.typography.body,
472
+ color: theme.colors.secondary_60
473
+ }
474
+ }
475
+ },
476
+ HvDialog: {
477
+ classes: {
478
+ paper: {
479
+ borderRadius: 0
480
+ }
481
+ }
482
+ },
483
+ HvDialogTitle: {
484
+ classes: {
485
+ titleText: {
486
+ ...theme.typography.xxsTitle
487
+ }
488
+ }
489
+ },
490
+ HvDropdown: {
491
+ classes: {
492
+ readOnly: {
493
+ "& .HvDropdown-dropdownHeader": {
494
+ border: "none",
495
+ backgroundColor: theme.colors.atmo1
496
+ }
497
+ },
498
+ placeholderClosed: {
499
+ color: theme.colors.secondary_60
500
+ }
501
+ }
502
+ },
503
+ HvDropDownMenu: {
504
+ classes: {
505
+ iconSelected: {
506
+ border: "none",
507
+ "&:hover": {
508
+ border: "none"
509
+ }
510
+ }
511
+ }
512
+ },
513
+ HvEmptyState: {
514
+ classes: {
515
+ titleContainer: {
516
+ marginTop: "2px",
517
+ ...theme.typography.xxsTitle
518
+ }
519
+ }
520
+ },
521
+ HvFile: {
522
+ classes: {
523
+ root: {
524
+ border: "none",
525
+ borderRadius: 0
526
+ },
527
+ progressbarContainer: {
528
+ height: "2px"
529
+ },
530
+ previewContainer: {
531
+ width: "52px",
532
+ height: "52px",
533
+ "& img": {
534
+ width: "100%",
535
+ height: "100%"
536
+ }
537
+ }
538
+ }
539
+ },
540
+ HvFileUploaderPreview: {
541
+ classes: {
542
+ previewButton: {
543
+ width: "52px",
544
+ height: "52px"
545
+ },
546
+ overlay: {
547
+ backgroundColor: theme.colors.atmo3,
548
+ opacity: "0.75",
549
+ borderRadius: 0
550
+ }
551
+ }
552
+ },
553
+ HvDropZone: {
554
+ classes: {
555
+ dropZoneContainer: {
556
+ border: `1px dotted ${theme.colors.atmo4}`,
557
+ background: theme.colors.atmo2,
558
+ borderRadius: 0,
559
+ ":hover,:focus-within": {
560
+ borderColor: theme.colors.secondary
561
+ }
562
+ },
563
+ dragAction: {
564
+ border: `1px dotted ${theme.colors.secondary}`
565
+ },
566
+ dropZoneContainerDisabled: {
567
+ "&,:hover": {
568
+ borderColor: theme.colors.atmo4
569
+ }
570
+ }
571
+ }
572
+ },
573
+ HvFilterGroupCounter: {
574
+ classes: {
575
+ partialCounter: {
576
+ fontWeight: theme.fontWeights.bold
577
+ }
578
+ }
579
+ },
580
+ HvFilterGroupContent: {
581
+ classes: {
582
+ rightSidePanel: {
583
+ boxShadow: `inset 8px 0 8px -6px ${theme.colors.shad1}`,
584
+ borderLeft: "none"
585
+ },
586
+ applyButton: {
587
+ marginRight: "0px"
588
+ }
589
+ }
590
+ },
591
+ HvGlobalActions: {
592
+ classes: {
593
+ section: {
594
+ "& .HvGlobalActions-wrapper": {
595
+ backgroundColor: "transparent",
596
+ paddingLeft: "0px"
597
+ }
598
+ },
599
+ wrapper: {
600
+ "&&": {
601
+ padding: theme.space.xs,
602
+ borderWidth: 0,
603
+ borderRadius: 0
604
+ }
605
+ },
606
+ sectionName: {
607
+ ...theme.typography.sectionTitle
608
+ }
609
+ }
610
+ },
611
+ HvHeader: {
612
+ classes: {
613
+ root: {
614
+ backgroundColor: theme.colors.atmo1,
615
+ borderTop: `4px solid ${theme.colors.brand}`
616
+ }
617
+ }
618
+ },
619
+ HvHeaderMenuBarBar: {
620
+ classes: {
621
+ active: {
622
+ top: `calc(${theme.header.height} - 4px)`
623
+ },
624
+ list: {
625
+ "& li:hover > .HvHeader-MenuBar-hidden": {
626
+ top: `calc(${theme.header.height} - 4px)`
627
+ },
628
+ "& li:focus-within > .HvHeader-MenuBar-hidden": {
629
+ top: `calc(${theme.header.height} - 4px)`
630
+ }
631
+ }
632
+ }
633
+ },
634
+ HvHeaderMenuItem: {
635
+ classes: {
636
+ root: {
637
+ borderTop: "2px solid transparent",
638
+ borderBottom: "none",
639
+ color: theme.colors.secondary
640
+ },
641
+ selected: {
642
+ borderBottom: "none",
643
+ color: theme.colors.brand,
644
+ "&.HvHeader-MenuItem-menu": {
645
+ borderTop: "2px solid transparent"
646
+ },
647
+ "&.HvHeader-MenuItem-menubar": {
648
+ borderTop: "2px solid currentcolor"
649
+ }
650
+ }
651
+ }
652
+ },
653
+ HvHorizontalScrollListItem: {
654
+ classes: {
655
+ root: {
656
+ maxWidth: 180
657
+ },
658
+ button: {
659
+ height: "32px",
660
+ borderBottom: "2px solid transparent",
661
+ "&:hover": {
662
+ backgroundColor: theme.colors.atmo3,
663
+ "& .HvHorizontalScrollListItem-notSelected": {
664
+ height: "10px",
665
+ width: "10px",
666
+ backgroundColor: theme.colors.atmo4
667
+ }
668
+ }
669
+ },
670
+ text: {
671
+ height: "32px",
672
+ borderBottom: "2px solid transparent",
673
+ padding: "8px 10px",
674
+ margin: 0
675
+ },
676
+ selected: {
677
+ borderBottom: `2px solid ${theme.colors.secondary}`
678
+ },
679
+ bullet: {
680
+ display: "none"
681
+ }
682
+ }
683
+ },
684
+ HvSelect: {
685
+ classes: {
686
+ select: {
687
+ ".HvButton-endIcon": {
688
+ marginRight: theme.spacing(-1)
689
+ }
690
+ },
691
+ panel: {
692
+ borderColor: theme.colors.atmo4
693
+ }
694
+ }
695
+ },
696
+ HvVerticalScrollListItem: {
697
+ classes: {
698
+ icon: {
699
+ fontSize: "10px"
700
+ },
701
+ notSelected: {
702
+ color: theme.colors.atmo4,
703
+ fontSize: "6px"
704
+ },
705
+ text: {
706
+ height: "32px",
707
+ width: "32px"
708
+ },
709
+ button: {
710
+ height: "32px",
711
+ width: "32px",
712
+ borderRadius: 0,
713
+ cursor: "pointer",
714
+ "&:hover": {
715
+ "& .HvVerticalScrollListItem-notSelected": {
716
+ fontSize: "10px",
717
+ color: theme.colors.atmo4
718
+ }
719
+ }
720
+ }
721
+ }
722
+ },
723
+ HvInlineEditor: {
724
+ classes: {
725
+ button: {
726
+ "&,:hover": {
727
+ border: "none",
728
+ backgroundColor: "transparent"
729
+ },
730
+ ":focus,:active": {
731
+ border: "none"
732
+ }
733
+ }
734
+ }
735
+ },
736
+ HvInfoMessage: {
737
+ classes: {
738
+ root: {
739
+ color: theme.colors.secondary
740
+ }
741
+ }
742
+ },
743
+ HvLabel: {
744
+ classes: {
745
+ root: { fontWeight: theme.fontWeights.semibold },
746
+ childGutter: { paddingBottom: 6 }
747
+ }
748
+ },
749
+ HvList: {
750
+ classes: {
751
+ itemSelector: {
752
+ "&:not(:hover):not(.HvIsFocused):not(:focus-within)": {
753
+ backgroundColor: "transparent"
754
+ }
755
+ }
756
+ }
757
+ },
758
+ HvListItem: {
759
+ classes: {
760
+ disabled: {
761
+ backgroundColor: "transparent"
762
+ }
763
+ }
764
+ },
765
+ HvPagination: {
766
+ classes: {
767
+ root: {
768
+ [`& .HvPagination-pageSizeInput`]: {
769
+ ...theme.typography.label,
770
+ "&:focus": {
771
+ padding: "unset"
772
+ }
773
+ },
774
+ [`& .HvPagination-pageSizeInputContainer`]: {
775
+ width: 40,
776
+ minWidth: 40
777
+ },
778
+ [`&& .HvPagination-pageSizeInputRoot`]: {
779
+ height: 32
780
+ }
781
+ },
782
+ icon: {
783
+ fontSize: 16
784
+ },
785
+ pageSizeOptions: {
786
+ height: 32
787
+ },
788
+ pageSizeHeader: {
789
+ height: "unset",
790
+ [`& .HvBaseDropdown-arrowContainer`]: {
791
+ marginTop: 0
792
+ }
793
+ },
794
+ pageSizeTextContainer: {
795
+ height: 32,
796
+ ...theme.typography.body
797
+ },
798
+ pageSizeOptionsSelect: {
799
+ ...theme.typography.body
800
+ },
801
+ totalPagesTextContainer: {
802
+ ...theme.typography.body
803
+ },
804
+ pageNavigator: {
805
+ alignItems: "stretch"
806
+ }
807
+ }
808
+ },
809
+ HvPaginationSelect: {
810
+ classes: {
811
+ header: {
812
+ borderColor: "transparent",
813
+ "&:hover": {
814
+ borderColor: "transparent"
815
+ }
816
+ }
817
+ }
818
+ },
819
+ HvQueryBuilder: {
820
+ classes: {
821
+ topGroup: {
822
+ paddingBottom: `calc(${theme.space.sm} * 3)`
823
+ },
824
+ subGroup: {
825
+ "&::before": {
826
+ left: "-42px"
827
+ }
828
+ },
829
+ subRulesContainer: {
830
+ left: "-41px"
831
+ },
832
+ topActionButtonContainer: {
833
+ position: "absolute",
834
+ bottom: `calc(-1 * ${theme.space.md} * 0.5)`,
835
+ right: `calc(${theme.space.sm} * 1.75)`
836
+ },
837
+ createConditionButton: {
838
+ ...theme.typography.link,
839
+ textDecoration: "underline"
840
+ },
841
+ createGroupButton: {
842
+ ...theme.typography.link,
843
+ textDecoration: "underline"
844
+ }
845
+ }
846
+ },
847
+ HvQueryBuilderRule: {
848
+ classes: {
849
+ root: {
850
+ "&::before": {
851
+ width: "21px",
852
+ height: "36px",
853
+ left: `calc( -1 * 21px)`
854
+ },
855
+ ":not(.HvQueryBuilder-topRulesContainer)>&:last-child::after": {
856
+ width: "21px",
857
+ left: `calc( -1 * 21px)`
858
+ }
859
+ },
860
+ actionsContainer: {
861
+ marginTop: "22px"
862
+ }
863
+ }
864
+ },
865
+ HvRadio: {
866
+ classes: {
867
+ container: {
868
+ "&:hover": {
869
+ borderRadius: 0
870
+ }
871
+ }
872
+ }
873
+ },
874
+ HvScrollToHorizontal: {
875
+ classes: {
876
+ root: {
877
+ backgroundColor: theme.alpha("atmo2", 0.8)
878
+ }
879
+ }
880
+ },
881
+ HvScrollToVertical: {
882
+ classes: {
883
+ root: {
884
+ backgroundColor: theme.alpha("atmo2", 0.8)
885
+ }
886
+ }
887
+ },
888
+ HvSlider: {
889
+ classes: {
890
+ trackDragging: {
891
+ "&& .rc-slider-track": {
892
+ "&::before": {
893
+ borderTop: `12px solid ${theme.colors.atmo3}`,
894
+ borderBottom: `12px solid ${theme.colors.atmo3}`
895
+ }
896
+ }
897
+ },
898
+ trackStandBy: {
899
+ "&& .rc-slider-track": {
900
+ "&:hover": {
901
+ "&::before": {
902
+ borderTop: `12px solid ${theme.colors.atmo3}`,
903
+ borderBottom: `12px solid ${theme.colors.atmo3}`
904
+ }
905
+ }
906
+ }
907
+ },
908
+ handleContainer: {
909
+ "&& .rc-slider-handle": {
910
+ "&:active": {
911
+ cursor: "grab",
912
+ "&::before": {
913
+ border: `9px solid ${theme.colors.secondary}`,
914
+ opacity: "20%"
915
+ }
916
+ },
917
+ "&:hover": {
918
+ "&::before": {
919
+ border: `9px solid ${theme.colors.secondary}`,
920
+ opacity: "20%"
921
+ }
922
+ }
923
+ }
924
+ }
925
+ }
926
+ },
927
+ HvSnackbarContent: {
928
+ classes: {
929
+ action: {
930
+ marginLeft: "inherit"
931
+ }
932
+ }
933
+ },
934
+ HvSwitch: {
935
+ classes: {
936
+ invalidSwitch: {
937
+ paddingBottom: "0px"
938
+ }
939
+ }
940
+ },
941
+ HvSuggestions: {
942
+ classes: {
943
+ list: {
944
+ borderColor: "transparent",
945
+ borderRadius: 0
946
+ }
947
+ }
948
+ },
949
+ HvTab: {
950
+ classes: {
951
+ root: {
952
+ padding: "0 20px",
953
+ "&:hover": {
954
+ backgroundColor: "transparent",
955
+ borderRadius: 0,
956
+ "&::after": {
957
+ height: "1px",
958
+ backgroundColor: theme.colors.secondary_60
959
+ }
960
+ }
961
+ }
962
+ }
963
+ },
964
+ HvTag: {
965
+ classes: {
966
+ root: {
967
+ "--tagColor": theme.colors.neutral_20
968
+ },
969
+ categorical: {
970
+ "--tagColor": theme.alpha("cat1", 0.2)
971
+ }
972
+ }
973
+ },
974
+ HvTagsInput: {
975
+ classes: {
976
+ disabled: {
977
+ "& .HvTagsInput-tagsList": {
978
+ backgroundColor: theme.colors.atmo1
979
+ }
980
+ },
981
+ readOnly: {
982
+ "& .HvTagsInput-tagsList": {
983
+ backgroundColor: theme.colors.atmo1,
984
+ borderColor: "transparent",
985
+ "&:hover": {
986
+ borderColor: "transparent"
987
+ }
988
+ }
989
+ },
990
+ tagInputRoot: {
991
+ "&::after": {
992
+ display: "none"
993
+ }
994
+ },
995
+ tagsList: {
996
+ borderColor: theme.colors.atmo4,
997
+ borderRadius: 0,
998
+ "&:hover": {
999
+ borderColor: theme.colors.secondary
1000
+ }
1001
+ }
1002
+ }
1003
+ },
1004
+ HvTableCell: {
1005
+ classes: {
1006
+ root: {
1007
+ padding: `calc(${theme.space.xs} - 2px ) ${theme.space.xs} calc(${theme.space.xs} - 3px ) ${theme.spacing(4)}`
1008
+ },
1009
+ head: {
1010
+ borderTop: `1px solid ${theme.colors.atmo4}`
1011
+ },
1012
+ body: {
1013
+ "&.HvTableCell-sorted": {
1014
+ backgroundImage: `linear-gradient(to right, ${theme.alpha(
1015
+ "atmo1",
1016
+ 0.4
1017
+ )}, ${theme.alpha("atmo1", 0.4)})`
1018
+ }
1019
+ },
1020
+ variantListactions: {
1021
+ borderLeft: `solid 2px ${theme.colors.atmo2}`
1022
+ },
1023
+ variantListcheckbox: {
1024
+ borderRight: `solid 2px ${theme.colors.atmo2}`
1025
+ }
1026
+ }
1027
+ },
1028
+ HvTableHeader: {
1029
+ classes: {
1030
+ head: {
1031
+ "&.HvTableHeader-sortable": {
1032
+ "&:hover": {
1033
+ backgroundColor: theme.colors.atmo3,
1034
+ "& .HvTableHeader-sortIcon": {
1035
+ visibility: "visible"
1036
+ }
1037
+ },
1038
+ "&:focus-within": {
1039
+ backgroundColor: theme.colors.atmo3,
1040
+ "& .HvTableHeader-sortIcon": {
1041
+ visibility: "visible"
1042
+ }
1043
+ }
1044
+ },
1045
+ "*:first-of-type > &": {
1046
+ borderTop: `1px solid ${theme.colors.atmo4}`
1047
+ }
1048
+ },
1049
+ sortButton: {
1050
+ ".HvTableHeader-root.HvTableHeader-sortable &": {
1051
+ "&:hover": {
1052
+ backgroundColor: "transparent"
1053
+ }
1054
+ }
1055
+ }
1056
+ }
1057
+ },
1058
+ HvTableRow: {
1059
+ classes: {
1060
+ root: {
1061
+ backgroundColor: "transparent"
1062
+ },
1063
+ selected: {
1064
+ backgroundColor: theme.colors.atmo1
1065
+ },
1066
+ variantList: {
1067
+ borderRadius: 0,
1068
+ "& td": {
1069
+ borderTop: "1px solid transparent",
1070
+ borderBottom: "1px solid transparent"
1071
+ },
1072
+ "& td:first-of-type": {
1073
+ borderLeft: "1px solid transparent",
1074
+ borderRadius: 0
1075
+ },
1076
+ "& td:last-of-type": {
1077
+ borderRight: "1px solid transparent",
1078
+ borderRadius: 0
1079
+ },
1080
+ "&.HvTableRow-selected": {
1081
+ "& td": {
1082
+ borderTop: `1px solid ${theme.colors.secondary}`,
1083
+ borderBottom: `1px solid ${theme.colors.secondary}`
1084
+ },
1085
+ "& td:first-of-type": {
1086
+ borderLeft: `1px solid ${theme.colors.secondary}`,
1087
+ borderRadius: 0
1088
+ },
1089
+ "& td:last-of-type": {
1090
+ borderRight: `1px solid ${theme.colors.secondary}`,
1091
+ borderRadius: 0
1092
+ },
1093
+ "&:hover": {
1094
+ "& td": {
1095
+ borderTop: `1px solid ${theme.colors.atmo4}`,
1096
+ borderBottom: `1px solid ${theme.colors.atmo4}`
1097
+ },
1098
+ "& td:first-of-type": {
1099
+ borderLeft: `1px solid ${theme.colors.atmo4}`,
1100
+ borderRadius: 0
1101
+ },
1102
+ "& td:last-of-type": {
1103
+ borderRight: `1px solid ${theme.colors.atmo4}`,
1104
+ borderRadius: 0
1105
+ }
1106
+ }
1107
+ },
1108
+ "&:hover": {
1109
+ "& td": {
1110
+ borderTop: `1px solid ${theme.colors.atmo4}`,
1111
+ borderBottom: `1px solid ${theme.colors.atmo4}`
1112
+ },
1113
+ "& td:first-of-type": {
1114
+ borderLeft: `1px solid ${theme.colors.atmo4}`,
1115
+ borderRadius: 0
1116
+ },
1117
+ "& td:last-of-type": {
1118
+ borderRight: `1px solid ${theme.colors.atmo4}`,
1119
+ borderRadius: 0
1120
+ }
1121
+ },
1122
+ "&.HvIsFocused": {
1123
+ borderRadius: 0
1124
+ }
1125
+ }
1126
+ }
1127
+ },
1128
+ HvMultiButton: {
1129
+ variant: "secondaryGhost",
1130
+ classes: {
1131
+ root: {
1132
+ "& button&.HvMultiButton-button&.HvMultiButton-selected": {
1133
+ height: 32
1134
+ }
1135
+ },
1136
+ splitDisabled: {
1137
+ backgroundColor: theme.colors.atmo3
1138
+ }
1139
+ }
1140
+ },
1141
+ HvTooltip: {
1142
+ classes: {
1143
+ popper: {
1144
+ "& .HvTooltip-tooltip": {
1145
+ borderRadius: 0
1146
+ }
1147
+ }
1148
+ }
1149
+ },
1150
+ HvVerticalNavigation: {
1151
+ classes: {
1152
+ root: {
1153
+ justifyContent: "space-between"
1154
+ }
1155
+ }
1156
+ },
1157
+ HvVerticalNavigationActions: {
1158
+ classes: {
1159
+ root: {
1160
+ marginTop: "none"
1161
+ }
1162
+ }
1163
+ },
1164
+ HvVerticalNavigationSlider: {
1165
+ classes: {
1166
+ root: {
1167
+ borderLeft: `2px solid transparent`
1168
+ },
1169
+ listItemSelected: {
1170
+ borderLeft: `2px solid ${theme.colors.brand}`
1171
+ }
1172
+ }
1173
+ },
1174
+ HvVerticalNavigationTreeViewItem: {
1175
+ classes: {
1176
+ content: {
1177
+ borderLeft: `2px solid transparent`,
1178
+ ".HvVerticalNavigationTreeViewItem-selected>&": {
1179
+ borderLeft: `2px solid ${theme.colors.brand}`
1180
+ }
1181
+ }
1182
+ }
1183
+ },
1184
+ HvWarningText: {
1185
+ classes: {
1186
+ warningText: {
1187
+ ...theme.typography.body,
1188
+ color: "inherit"
1189
+ },
1190
+ topGutter: { paddingTop: "8px" },
1191
+ defaultIcon: {
1192
+ fontSize: 16,
1193
+ margin: 8
1194
+ }
1195
+ }
1196
+ },
1197
+ HvWizardContainer: {
1198
+ classes: {
1199
+ paper: {
1200
+ maxHeight: "calc(100% - (2 * 100px))"
1201
+ }
1202
+ }
1203
+ }
1204
+ }
1205
+ });
1206
+ export {
1207
+ ds3
1208
+ };