@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.
@@ -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.warning_140 }
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.primary_80,
54
- borderColor: theme.colors.primary_80
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.positive_80,
60
- borderColor: theme.colors.positive_80
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.warning_120,
79
+ backgroundColor: theme.colors.warningStrong,
65
80
  ":hover, &:focus-visible": {
66
- backgroundColor: theme.colors.warning_140,
67
- borderColor: theme.colors.warning_140
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.negative_80,
73
- borderColor: theme.colors.negative_80
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.atmo1
178
+ backgroundColor: theme.colors.bgContainer
107
179
  },
108
180
  "&& .HvButton-disabled": {
109
- backgroundColor: theme.colors.atmo3
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.secondary
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.secondary}!important`
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.bgContainerSecondary
393
+ backgroundColor: theme.colors.bgPage
396
394
  },
397
395
  ":hover": {
398
396
  backgroundColor: theme.colors.primaryDimmed