@hitachivantara/uikit-react-core 5.95.0 → 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,142 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const uikitStyles = require("@hitachivantara/uikit-styles");
4
+ const ds5 = uikitStyles.mergeTheme(uikitStyles.ds5, {
5
+ components: {
6
+ HvAvatar: {
7
+ classes: {
8
+ square: {
9
+ borderRadius: uikitStyles.theme.radii.round
10
+ }
11
+ }
12
+ },
13
+ HvBannerContent: {
14
+ classes: {
15
+ root: {
16
+ borderRadius: 0
17
+ }
18
+ }
19
+ },
20
+ HvBaseDropdown: {
21
+ classes: {
22
+ headerOpen: {
23
+ "--r": uikitStyles.theme.radii.round,
24
+ "&[data-popper-placement*='top']": {
25
+ borderRadius: "0 0 var(--r) var(--r)"
26
+ },
27
+ "&[data-popper-placement*='bottom']": {
28
+ borderRadius: "var(--r) var(--r) 0 0"
29
+ }
30
+ },
31
+ panel: {
32
+ "--r": uikitStyles.theme.radii.round,
33
+ "&[data-popper-placement*='top']": {
34
+ top: 1,
35
+ borderRadius: "var(--r) var(--r) 0 0"
36
+ },
37
+ "&[data-popper-placement*='bottom']": {
38
+ top: -1,
39
+ borderRadius: "0 0 var(--r) var(--r)"
40
+ }
41
+ }
42
+ }
43
+ },
44
+ HvButton: {
45
+ radius: "round",
46
+ classes: {
47
+ root: {
48
+ ":where(:not(.HvButton-disabled,.HvButton-contained))": {
49
+ "&[data-color=warning]": { color: uikitStyles.theme.colors.warning_140 }
50
+ }
51
+ },
52
+ contained: {
53
+ ":where([data-color=primary]:not(.HvButton-disabled))": {
54
+ ":hover, &:focus-visible": {
55
+ backgroundColor: uikitStyles.theme.colors.primary_80,
56
+ borderColor: uikitStyles.theme.colors.primary_80
57
+ }
58
+ },
59
+ ":where([data-color=positive]:not(.HvButton-disabled))": {
60
+ ":hover, &:focus-visible": {
61
+ backgroundColor: uikitStyles.theme.colors.positive_80,
62
+ borderColor: uikitStyles.theme.colors.positive_80
63
+ }
64
+ },
65
+ ":where([data-color=warning]:not(.HvButton-disabled))": {
66
+ backgroundColor: uikitStyles.theme.colors.warning_120,
67
+ ":hover, &:focus-visible": {
68
+ backgroundColor: uikitStyles.theme.colors.warning_140,
69
+ borderColor: uikitStyles.theme.colors.warning_140
70
+ }
71
+ },
72
+ ":where([data-color=negative]:not(.HvButton-disabled))": {
73
+ ":hover, &:focus-visible": {
74
+ backgroundColor: uikitStyles.theme.colors.negative_80,
75
+ borderColor: uikitStyles.theme.colors.negative_80
76
+ }
77
+ }
78
+ }
79
+ }
80
+ },
81
+ HvDropdownButton: {
82
+ classes: {
83
+ open: {
84
+ "&[data-popper-placement*='top']": {
85
+ borderTopLeftRadius: 0,
86
+ borderTopRightRadius: 0
87
+ },
88
+ "&[data-popper-placement*='bottom']": {
89
+ borderBottomLeftRadius: 0,
90
+ borderBottomRightRadius: 0
91
+ }
92
+ }
93
+ }
94
+ },
95
+ HvMultiButton: {
96
+ classes: {
97
+ splitGroup: {
98
+ // NEXT5 subtle multi-buttons have a custom background
99
+ "& .HvButton-subtle": {
100
+ backgroundColor: uikitStyles.theme.colors.atmo1
101
+ },
102
+ "&& .HvButton-disabled": {
103
+ backgroundColor: uikitStyles.theme.colors.atmo3
104
+ }
105
+ }
106
+ }
107
+ },
108
+ HvSelect: {
109
+ classes: {
110
+ popper: {
111
+ "--r": uikitStyles.theme.radii.round,
112
+ "&[data-popper-placement*='top'] .HvSelect-panel": {
113
+ borderRadius: "var(--r) var(--r) 0 0"
114
+ },
115
+ "&[data-popper-placement*='bottom'] .HvSelect-panel": {
116
+ borderRadius: "0 0 var(--r) var(--r)"
117
+ }
118
+ }
119
+ }
120
+ },
121
+ HvTab: {
122
+ classes: {
123
+ root: {
124
+ "&.HvTab-selected": {
125
+ color: uikitStyles.theme.colors.secondary
126
+ }
127
+ }
128
+ }
129
+ },
130
+ HvTag: {
131
+ classes: {
132
+ root: {
133
+ "--tagColor": uikitStyles.theme.colors.neutral_20
134
+ },
135
+ categorical: {
136
+ "--tagColor": uikitStyles.theme.alpha("cat1", 0.2)
137
+ }
138
+ }
139
+ }
140
+ }
141
+ });
142
+ exports.ds5 = ds5;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const ds3 = require("./ds3.cjs");
4
+ const ds5 = require("./ds5.cjs");
5
+ const pentahoPlus = require("./pentahoPlus.cjs");
6
+ const themes = { ds3: ds3.ds3, ds5: ds5.ds5, pentahoPlus: pentahoPlus.pentahoPlus };
7
+ exports.ds3 = ds3.ds3;
8
+ exports.ds5 = ds5.ds5;
9
+ exports.pentahoPlus = pentahoPlus.pentahoPlus;
10
+ exports.themes = themes;