@hitachivantara/uikit-react-core 5.100.0 → 5.101.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/Dropdown/Dropdown.cjs +1 -0
- package/dist/cjs/Header/Navigation/MenuBar/Bar.cjs +1 -2
- package/dist/cjs/Header/Navigation/MenuBar/Bar.styles.cjs +2 -2
- package/dist/cjs/Pagination/Pagination.styles.cjs +8 -1
- package/dist/cjs/StatusIcon/StatusIcon.styles.cjs +1 -1
- package/dist/cjs/Table/TableHeader/TableHeader.styles.cjs +2 -0
- package/dist/cjs/Table/renderers/renderers.cjs +1 -2
- package/dist/cjs/Tag/Tag.cjs +9 -1
- package/dist/cjs/Tag/Tag.styles.cjs +4 -3
- package/dist/cjs/icons.cjs +1 -1
- package/dist/cjs/themes/ds3.cjs +0 -3
- package/dist/cjs/themes/ds5.cjs +96 -14
- package/dist/cjs/themes/pentahoPlus.cjs +1 -3
- package/dist/esm/Dropdown/Dropdown.js +1 -0
- package/dist/esm/Header/Navigation/MenuBar/Bar.js +1 -2
- package/dist/esm/Header/Navigation/MenuBar/Bar.styles.js +2 -2
- package/dist/esm/Pagination/Pagination.styles.js +8 -1
- package/dist/esm/StatusIcon/StatusIcon.styles.js +1 -1
- package/dist/esm/Table/TableHeader/TableHeader.styles.js +2 -0
- package/dist/esm/Table/renderers/renderers.js +1 -2
- package/dist/esm/Tag/Tag.js +10 -2
- package/dist/esm/Tag/Tag.styles.js +4 -3
- package/dist/esm/icons.js +1 -1
- package/dist/esm/themes/ds3.js +0 -3
- package/dist/esm/themes/ds5.js +96 -14
- package/dist/esm/themes/pentahoPlus.js +1 -3
- package/dist/types/index.d.ts +75 -73
- package/package.json +5 -5
package/dist/esm/themes/ds5.js
CHANGED
|
@@ -29,53 +29,88 @@ const ds5 = mergeTheme(ds5$1, {
|
|
|
29
29
|
panel: {
|
|
30
30
|
"--r": theme.radii.round,
|
|
31
31
|
"&[data-popper-placement*='top']": {
|
|
32
|
+
top: 1,
|
|
33
|
+
borderRadius: "var(--r) var(--r) var(--r) 0"
|
|
34
|
+
},
|
|
35
|
+
"&[data-popper-placement*='top']:has([data-is-dropdown='true'])": {
|
|
32
36
|
top: 1,
|
|
33
37
|
borderRadius: "var(--r) var(--r) 0 0"
|
|
34
38
|
},
|
|
35
39
|
"&[data-popper-placement*='bottom']": {
|
|
40
|
+
top: -1,
|
|
41
|
+
borderRadius: "0 var(--r) var(--r) var(--r)"
|
|
42
|
+
},
|
|
43
|
+
"&[data-popper-placement*='bottom']:has([data-is-dropdown='true'])": {
|
|
36
44
|
top: -1,
|
|
37
45
|
borderRadius: "0 0 var(--r) var(--r)"
|
|
38
46
|
}
|
|
39
47
|
}
|
|
40
48
|
}
|
|
41
49
|
},
|
|
50
|
+
HvBreadCrumb: {
|
|
51
|
+
classes: {
|
|
52
|
+
link: {
|
|
53
|
+
borderRadius: theme.radii.round
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
42
57
|
HvButton: {
|
|
43
58
|
radius: "round",
|
|
44
59
|
classes: {
|
|
45
60
|
root: {
|
|
46
61
|
":where(:not(.HvButton-disabled,.HvButton-contained))": {
|
|
47
|
-
"&[data-color=warning]": { color: theme.colors.
|
|
62
|
+
"&[data-color=warning]": { color: theme.colors.warningDeep }
|
|
48
63
|
}
|
|
49
64
|
},
|
|
50
65
|
contained: {
|
|
51
66
|
":where([data-color=primary]:not(.HvButton-disabled))": {
|
|
52
67
|
":hover, &:focus-visible": {
|
|
53
|
-
backgroundColor: theme.colors.
|
|
54
|
-
borderColor: theme.colors.
|
|
68
|
+
backgroundColor: theme.colors.primaryStrong,
|
|
69
|
+
borderColor: theme.colors.primaryStrong
|
|
55
70
|
}
|
|
56
71
|
},
|
|
57
72
|
":where([data-color=positive]:not(.HvButton-disabled))": {
|
|
58
73
|
":hover, &:focus-visible": {
|
|
59
|
-
backgroundColor: theme.colors.
|
|
60
|
-
borderColor: theme.colors.
|
|
74
|
+
backgroundColor: theme.colors.positiveStrong,
|
|
75
|
+
borderColor: theme.colors.positiveStrong
|
|
61
76
|
}
|
|
62
77
|
},
|
|
63
78
|
":where([data-color=warning]:not(.HvButton-disabled))": {
|
|
64
|
-
backgroundColor: theme.colors.
|
|
79
|
+
backgroundColor: theme.colors.warningStrong,
|
|
65
80
|
":hover, &:focus-visible": {
|
|
66
|
-
backgroundColor: theme.colors.
|
|
67
|
-
borderColor: theme.colors.
|
|
81
|
+
backgroundColor: theme.colors.warningDeep,
|
|
82
|
+
borderColor: theme.colors.warningDeep
|
|
68
83
|
}
|
|
69
84
|
},
|
|
70
85
|
":where([data-color=negative]:not(.HvButton-disabled))": {
|
|
71
86
|
":hover, &:focus-visible": {
|
|
72
|
-
backgroundColor: theme.colors.
|
|
73
|
-
borderColor: theme.colors.
|
|
87
|
+
backgroundColor: theme.colors.negativeStrong,
|
|
88
|
+
borderColor: theme.colors.negativeStrong
|
|
74
89
|
}
|
|
75
90
|
}
|
|
76
91
|
}
|
|
77
92
|
}
|
|
78
93
|
},
|
|
94
|
+
HvCalendar: {
|
|
95
|
+
classes: {
|
|
96
|
+
root: {
|
|
97
|
+
" .HvCalendarCell-cellContainer": {
|
|
98
|
+
borderRadius: theme.radii.round,
|
|
99
|
+
"& .HvCalendarCell-startBookend": {
|
|
100
|
+
borderTopLeftRadius: theme.radii.round,
|
|
101
|
+
borderBottomLeftRadius: theme.radii.round
|
|
102
|
+
},
|
|
103
|
+
"& .HvCalendarCell-endBookend": {
|
|
104
|
+
borderTopRightRadius: theme.radii.round,
|
|
105
|
+
borderBottomRightRadius: theme.radii.round
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
" .HvCalendarCell-calendarDateSelected": {
|
|
109
|
+
borderRadius: theme.radii.round
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
79
114
|
HvCallout: {
|
|
80
115
|
classes: {
|
|
81
116
|
messageIcon: {
|
|
@@ -84,6 +119,27 @@ const ds5 = mergeTheme(ds5$1, {
|
|
|
84
119
|
}
|
|
85
120
|
}
|
|
86
121
|
},
|
|
122
|
+
HvColorPicker: {
|
|
123
|
+
classes: {
|
|
124
|
+
colorPicker: {
|
|
125
|
+
" .HvColorPickerPresetColors-swatchWrap > span > div": {
|
|
126
|
+
borderRadius: theme.radii.round
|
|
127
|
+
},
|
|
128
|
+
" .HvColorPickerSavedColors-swatchWrap > span > div": {
|
|
129
|
+
borderRadius: theme.radii.round
|
|
130
|
+
},
|
|
131
|
+
" .HvColorPickerPicker-saturation > div": {
|
|
132
|
+
borderRadius: theme.radii.round,
|
|
133
|
+
" .saturation-white": {
|
|
134
|
+
borderRadius: theme.radii.round,
|
|
135
|
+
" .saturation-black": {
|
|
136
|
+
borderRadius: theme.radii.round
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
87
143
|
HvDropdownButton: {
|
|
88
144
|
classes: {
|
|
89
145
|
open: {
|
|
@@ -100,13 +156,29 @@ const ds5 = mergeTheme(ds5$1, {
|
|
|
100
156
|
},
|
|
101
157
|
HvMultiButton: {
|
|
102
158
|
classes: {
|
|
159
|
+
multiple: {
|
|
160
|
+
borderRadius: theme.radii.round,
|
|
161
|
+
"& .HvMultiButton-button.HvMultiButton-selected": {
|
|
162
|
+
borderRadius: theme.radii.round,
|
|
163
|
+
borderColor: theme.colors.primary,
|
|
164
|
+
borderWidth: 2
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
vertical: {
|
|
168
|
+
borderRadius: theme.radii.round,
|
|
169
|
+
"& .HvMultiButton-button.HvMultiButton-selected": {
|
|
170
|
+
borderRadius: theme.radii.round,
|
|
171
|
+
borderColor: theme.colors.primary,
|
|
172
|
+
borderWidth: 2
|
|
173
|
+
}
|
|
174
|
+
},
|
|
103
175
|
splitGroup: {
|
|
104
176
|
// NEXT5 subtle multi-buttons have a custom background
|
|
105
177
|
"& .HvButton-subtle": {
|
|
106
|
-
backgroundColor: theme.colors.
|
|
178
|
+
backgroundColor: theme.colors.bgContainer
|
|
107
179
|
},
|
|
108
180
|
"&& .HvButton-disabled": {
|
|
109
|
-
backgroundColor: theme.colors.
|
|
181
|
+
backgroundColor: theme.colors.bgDisabled
|
|
110
182
|
}
|
|
111
183
|
}
|
|
112
184
|
}
|
|
@@ -124,6 +196,13 @@ const ds5 = mergeTheme(ds5$1, {
|
|
|
124
196
|
}
|
|
125
197
|
}
|
|
126
198
|
},
|
|
199
|
+
HvSnackbarContent: {
|
|
200
|
+
classes: {
|
|
201
|
+
root: {
|
|
202
|
+
borderRadius: theme.radii.round
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
127
206
|
HvStatusIcon: {
|
|
128
207
|
type: "simple"
|
|
129
208
|
},
|
|
@@ -131,7 +210,7 @@ const ds5 = mergeTheme(ds5$1, {
|
|
|
131
210
|
classes: {
|
|
132
211
|
root: {
|
|
133
212
|
"&.HvTab-selected": {
|
|
134
|
-
color: theme.colors.
|
|
213
|
+
color: theme.colors.text
|
|
135
214
|
}
|
|
136
215
|
}
|
|
137
216
|
}
|
|
@@ -143,6 +222,9 @@ const ds5 = mergeTheme(ds5$1, {
|
|
|
143
222
|
},
|
|
144
223
|
categorical: {
|
|
145
224
|
"--tagColor": theme.alpha("cat1", 0.2)
|
|
225
|
+
},
|
|
226
|
+
xs: {
|
|
227
|
+
height: 19
|
|
146
228
|
}
|
|
147
229
|
}
|
|
148
230
|
},
|
|
@@ -153,7 +235,7 @@ const ds5 = mergeTheme(ds5$1, {
|
|
|
153
235
|
padding: 0
|
|
154
236
|
},
|
|
155
237
|
"& .HvIconContainer-root": {
|
|
156
|
-
color: `${theme.colors.
|
|
238
|
+
color: `${theme.colors.text}!important`
|
|
157
239
|
}
|
|
158
240
|
}
|
|
159
241
|
}
|
|
@@ -184,7 +184,6 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
184
184
|
classes: {
|
|
185
185
|
content: {
|
|
186
186
|
backgroundColor: theme.colors.bgPage
|
|
187
|
-
// = bgContainerSecondary
|
|
188
187
|
}
|
|
189
188
|
}
|
|
190
189
|
},
|
|
@@ -252,7 +251,6 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
252
251
|
root: {
|
|
253
252
|
outline: `1px solid ${theme.colors.border}`,
|
|
254
253
|
outlineOffset: -1,
|
|
255
|
-
borderRadius: theme.radii.round,
|
|
256
254
|
":where(:not([data-color],.HvTag-disabled))": {
|
|
257
255
|
color: theme.colors.text,
|
|
258
256
|
"--tagColor": theme.colors.bgContainer
|
|
@@ -392,7 +390,7 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
392
390
|
},
|
|
393
391
|
"&[data-color=secondary]": {
|
|
394
392
|
borderColor: theme.colors.border,
|
|
395
|
-
backgroundColor: theme.colors.
|
|
393
|
+
backgroundColor: theme.colors.bgPage
|
|
396
394
|
},
|
|
397
395
|
":hover": {
|
|
398
396
|
backgroundColor: theme.colors.primaryDimmed
|