@loadsmart/loadsmart-ui 6.0.14 → 6.0.16
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/components/Banner/Banner.d.ts +4 -4
- package/dist/components/Banner/Banner.stories.d.ts +2 -1
- package/dist/components/Button/Button.stories.d.ts +3 -2
- package/dist/components/DatePicker/useDatePicker.d.ts +8 -2
- package/dist/components/DatePicker/useDateRangePicker.d.ts +12 -3
- package/dist/components/Dialog/Dialog.d.ts +4 -4
- package/dist/components/DragDropFile/DragDropFile.d.ts +2 -1
- package/dist/components/DragDropFile/components/Wrapper.d.ts +2 -1
- package/dist/components/DragDropFile/styles.d.ts +3 -2
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +2 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Popover/Popover.types.d.ts +6 -8
- package/dist/components/Section/Section.d.ts +2 -2
- package/dist/components/SideNavigation/Menu/Menu.d.ts +1 -1
- package/dist/components/SideNavigation/SideNavigation.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +5 -5
- package/dist/components/Tag/Tag.stories.d.ts +2 -1
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/index.js +284 -243
- package/dist/index.js.map +1 -1
- package/dist/miranda-compatibility.theme-22a9ce26.js +2 -0
- package/dist/miranda-compatibility.theme-22a9ce26.js.map +1 -0
- package/dist/{prop-82e9ff9d.js → prop-201ffe28.js} +2 -2
- package/dist/{prop-82e9ff9d.js.map → prop-201ffe28.js.map} +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/theming/index.js +1 -1
- package/dist/theming/themes/alice.theme.d.ts +70 -15
- package/dist/theming/themes/loadsmart.theme.d.ts +70 -15
- package/dist/theming/themes/miranda-compatibility.theme.d.ts +141 -85
- package/dist/tools/index.js +1 -1
- package/package.json +5 -5
- package/src/common/CloseButton/CloseButton.tsx +4 -1
- package/src/common/SelectionWrapper.tsx +8 -0
- package/src/components/Button/Button.tsx +44 -21
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Dropdown/Dropdown.test.tsx +1 -1
- package/src/components/Dropdown/DropdownMenu.tsx +3 -0
- package/src/components/Dropdown/DropdownTrigger.tsx +9 -11
- package/src/components/Link/Link.tsx +9 -0
- package/src/components/Popover/Popover.test.tsx +1 -2
- package/src/components/Popover/Popover.tsx +25 -68
- package/src/components/Popover/Popover.types.ts +6 -8
- package/src/components/Radio/Radio.tsx +1 -1
- package/src/components/Select/SelectTrigger.tsx +2 -9
- package/src/components/Switch/Switch.tsx +3 -1
- package/src/components/Tag/Tag.tsx +24 -4
- package/src/components/TextField/TextField.tsx +5 -2
- package/src/components/Textarea/Textarea.tsx +5 -2
- package/src/components/ToggleGroup/Toggle.tsx +3 -1
- package/src/components/Tooltip/Tooltip.tsx +1 -8
- package/src/theming/themes/alice.theme.ts +83 -15
- package/src/theming/themes/loadsmart.theme.ts +85 -16
- package/src/theming/themes/miranda-compatibility.theme.ts +181 -113
- package/dist/miranda-compatibility.theme-f99913ed.js +0 -2
- package/dist/miranda-compatibility.theme-f99913ed.js.map +0 -1
|
@@ -112,6 +112,7 @@ declare const mirandaCompatibility: {
|
|
|
112
112
|
'button-large-height': string | number;
|
|
113
113
|
'button-large-padding-x': string | number;
|
|
114
114
|
'button-large-padding-y': string;
|
|
115
|
+
'button-outline-offset': string;
|
|
115
116
|
'button-primary-background': string | number;
|
|
116
117
|
'button-primary-background--hover': string;
|
|
117
118
|
'button-primary-background--focus': string | number;
|
|
@@ -127,23 +128,25 @@ declare const mirandaCompatibility: {
|
|
|
127
128
|
'button-primary-color--focus': string | number;
|
|
128
129
|
'button-primary-color--active': string | number;
|
|
129
130
|
'button-primary-color--disabled': string | number;
|
|
130
|
-
'button-primary-outline': string
|
|
131
|
+
'button-primary-outline': string;
|
|
132
|
+
'button-primary-box-shadow': string;
|
|
131
133
|
'button-secondary-background': string | number;
|
|
132
134
|
'button-secondary-background--hover': string;
|
|
133
|
-
'button-secondary-background--focus': string;
|
|
134
|
-
'button-secondary-background--active': string
|
|
135
|
+
'button-secondary-background--focus': string | number;
|
|
136
|
+
'button-secondary-background--active': string;
|
|
135
137
|
'button-secondary-background--disabled': string | number;
|
|
136
|
-
'button-secondary-border-color': string
|
|
138
|
+
'button-secondary-border-color': string;
|
|
137
139
|
'button-secondary-border-color--hover': string;
|
|
138
140
|
'button-secondary-border-color--focus': string;
|
|
139
141
|
'button-secondary-border-color--active': string;
|
|
140
|
-
'button-secondary-border-color--disabled': string
|
|
141
|
-
'button-secondary-color': string
|
|
142
|
+
'button-secondary-border-color--disabled': string;
|
|
143
|
+
'button-secondary-color': string;
|
|
142
144
|
'button-secondary-color--hover': string;
|
|
143
|
-
'button-secondary-color--focus': string
|
|
145
|
+
'button-secondary-color--focus': string;
|
|
144
146
|
'button-secondary-color--active': string;
|
|
145
|
-
'button-secondary-color--disabled': string
|
|
146
|
-
'button-secondary-outline': string
|
|
147
|
+
'button-secondary-color--disabled': string;
|
|
148
|
+
'button-secondary-outline': string;
|
|
149
|
+
'button-secondary-box-shadow': string;
|
|
147
150
|
'button-secondary-dark-background': string | number;
|
|
148
151
|
'button-secondary-dark-background--hover': string;
|
|
149
152
|
'button-secondary-dark-background--focus': string | number;
|
|
@@ -159,83 +162,108 @@ declare const mirandaCompatibility: {
|
|
|
159
162
|
'button-secondary-dark-color--focus': string | number;
|
|
160
163
|
'button-secondary-dark-color--active': string;
|
|
161
164
|
'button-secondary-dark-color--disabled': string | number;
|
|
162
|
-
'button-
|
|
165
|
+
'button-tertiary-background': string | number;
|
|
166
|
+
'button-tertiary-background--hover': string;
|
|
167
|
+
'button-tertiary-background--focus': string | number;
|
|
168
|
+
'button-tertiary-background--active': string;
|
|
169
|
+
'button-tertiary-background--disabled': string | number;
|
|
170
|
+
'button-tertiary-border-color': string | number;
|
|
171
|
+
'button-tertiary-border-color--hover': string;
|
|
172
|
+
'button-tertiary-border-color--focus': string | number;
|
|
173
|
+
'button-tertiary-border-color--active': string;
|
|
174
|
+
'button-tertiary-border-color--disabled': string | number;
|
|
175
|
+
'button-tertiary-color': string;
|
|
176
|
+
'button-tertiary-color--hover': string;
|
|
177
|
+
'button-tertiary-color--focus': string;
|
|
178
|
+
'button-tertiary-color--active': string;
|
|
179
|
+
'button-tertiary-color--disabled': string;
|
|
180
|
+
'button-tertiary-outline': string;
|
|
181
|
+
'button-tertiary-box-shadow': string;
|
|
182
|
+
'button-warning-background': string;
|
|
163
183
|
'button-warning-background--hover': string;
|
|
164
|
-
'button-warning-background--focus': string
|
|
165
|
-
'button-warning-background--active': string
|
|
166
|
-
'button-warning-background--disabled': string
|
|
167
|
-
'button-warning-border-color': string
|
|
168
|
-
'button-warning-border-color--hover': string
|
|
169
|
-
'button-warning-border-color--focus': string
|
|
170
|
-
'button-warning-border-color--active': string
|
|
171
|
-
'button-warning-border-color--disabled': string
|
|
172
|
-
'button-warning-color': string
|
|
173
|
-
'button-warning-color--hover': string
|
|
174
|
-
'button-warning-color--focus': string
|
|
175
|
-
'button-warning-color--active': string
|
|
184
|
+
'button-warning-background--focus': string;
|
|
185
|
+
'button-warning-background--active': string;
|
|
186
|
+
'button-warning-background--disabled': string;
|
|
187
|
+
'button-warning-border-color': string;
|
|
188
|
+
'button-warning-border-color--hover': string;
|
|
189
|
+
'button-warning-border-color--focus': string;
|
|
190
|
+
'button-warning-border-color--active': string;
|
|
191
|
+
'button-warning-border-color--disabled': string;
|
|
192
|
+
'button-warning-color': string;
|
|
193
|
+
'button-warning-color--hover': string;
|
|
194
|
+
'button-warning-color--focus': string;
|
|
195
|
+
'button-warning-color--active': string;
|
|
176
196
|
'button-warning-color--disabled': string | number;
|
|
177
|
-
'button-warning-outline': string
|
|
197
|
+
'button-warning-outline': string;
|
|
198
|
+
'button-warning-box-shadow': string;
|
|
178
199
|
'button-icon-border-radius': string | number;
|
|
179
200
|
'button-icon-small-width': string | number;
|
|
180
201
|
'button-icon-width': string | number;
|
|
181
202
|
'button-icon-large-width': string | number;
|
|
182
|
-
'button-icon-background': string
|
|
183
|
-
'button-icon-background--hover': string
|
|
184
|
-
'button-icon-background--focus': string
|
|
185
|
-
'button-icon-background--active': string
|
|
186
|
-
'button-icon-background--disabled': string
|
|
187
|
-
'button-icon-border-color': string
|
|
188
|
-
'button-icon-border-color--hover': string
|
|
189
|
-
'button-icon-border-color--focus': string
|
|
190
|
-
'button-icon-border-color--active': string
|
|
191
|
-
'button-icon-border-color--disabled': string
|
|
192
|
-
'button-icon-color': string
|
|
203
|
+
'button-icon-background': string;
|
|
204
|
+
'button-icon-background--hover': string;
|
|
205
|
+
'button-icon-background--focus': string;
|
|
206
|
+
'button-icon-background--active': string;
|
|
207
|
+
'button-icon-background--disabled': string;
|
|
208
|
+
'button-icon-border-color': string;
|
|
209
|
+
'button-icon-border-color--hover': string;
|
|
210
|
+
'button-icon-border-color--focus': string;
|
|
211
|
+
'button-icon-border-color--active': string;
|
|
212
|
+
'button-icon-border-color--disabled': string;
|
|
213
|
+
'button-icon-color': string;
|
|
193
214
|
'button-icon-color--hover': string;
|
|
194
|
-
'button-icon-color--focus': string
|
|
195
|
-
'button-icon-color--active': string
|
|
196
|
-
'button-icon-color--disabled': string
|
|
197
|
-
'button-icon-outline': string
|
|
215
|
+
'button-icon-color--focus': string;
|
|
216
|
+
'button-icon-color--active': string;
|
|
217
|
+
'button-icon-color--disabled': string;
|
|
218
|
+
'button-icon-outline': string;
|
|
219
|
+
'button-icon-box-shadow': string;
|
|
198
220
|
'tag-border-radius': string;
|
|
199
221
|
'tag-border-width': string | number;
|
|
200
|
-
'tag-font-weight': string | number;
|
|
201
222
|
'tag-font-height': string | number;
|
|
202
223
|
'tag-spacing': string;
|
|
203
|
-
'tag-spacing
|
|
224
|
+
'tag-removable-spacing': string;
|
|
204
225
|
'tag-width': string;
|
|
205
|
-
'tag-
|
|
226
|
+
'tag-box-shadow': string;
|
|
227
|
+
'tag-outline-offset': string;
|
|
206
228
|
'tag-remove-button-background': string | number;
|
|
207
229
|
'tag-remove-button-border-radius': string;
|
|
208
230
|
'tag-icon-spacing': string | number;
|
|
209
|
-
'tag-small-font-size': string
|
|
231
|
+
'tag-small-font-size': string;
|
|
232
|
+
'tag-small-font-weight': string;
|
|
210
233
|
'tag-small-height': string;
|
|
211
234
|
'tag-small-transform': string;
|
|
212
235
|
'tag-small-leading-display': string;
|
|
213
236
|
'tag-small-remove-button-size': string;
|
|
214
237
|
'tag-small-remove-button-icon-size': string;
|
|
215
|
-
'tag-small-spacing
|
|
216
|
-
'tag-
|
|
238
|
+
'tag-small-spacing': string;
|
|
239
|
+
'tag-small-removable-spacing': string;
|
|
240
|
+
'tag-font-size': string;
|
|
241
|
+
'tag-font-weight': string;
|
|
217
242
|
'tag-height': string;
|
|
218
243
|
'tag-transform': string;
|
|
219
244
|
'tag-leading-display': string;
|
|
220
245
|
'tag-remove-button-size': string;
|
|
221
246
|
'tag-remove-button-icon-size': string;
|
|
222
|
-
'tag-large-font-size': string
|
|
247
|
+
'tag-large-font-size': string;
|
|
248
|
+
'tag-large-font-weight': string;
|
|
223
249
|
'tag-large-height': string;
|
|
224
250
|
'tag-large-transform': string;
|
|
225
251
|
'tag-large-leading-display': string;
|
|
226
252
|
'tag-large-remove-button-size': string;
|
|
227
253
|
'tag-large-remove-button-icon-size': string;
|
|
228
|
-
'tag-
|
|
254
|
+
'tag-large-spacing': string;
|
|
255
|
+
'tag-default-background': string;
|
|
229
256
|
'tag-default-background--hover': string;
|
|
230
|
-
'tag-default-background--focus': string
|
|
231
|
-
'tag-default-color': string
|
|
257
|
+
'tag-default-background--focus': string;
|
|
258
|
+
'tag-default-color': string;
|
|
232
259
|
'tag-default-color--hover': string | number;
|
|
233
260
|
'tag-default-color--focus': string | number;
|
|
234
261
|
'tag-default-border-color': string;
|
|
235
262
|
'tag-default-border-color--hover': string;
|
|
236
263
|
'tag-default-border-color--focus': string;
|
|
264
|
+
'tag-default-outline': string;
|
|
237
265
|
'tag-outlined-background': string | number;
|
|
238
|
-
'tag-outlined-background--hover': string;
|
|
266
|
+
'tag-outlined-background--hover': string | number;
|
|
239
267
|
'tag-outlined-background--focus': string | number;
|
|
240
268
|
'tag-outlined-color': string | number;
|
|
241
269
|
'tag-outlined-color--hover': string | number;
|
|
@@ -243,6 +271,7 @@ declare const mirandaCompatibility: {
|
|
|
243
271
|
'tag-outlined-border-color': string | number;
|
|
244
272
|
'tag-outlined-border-color--hover': string | number;
|
|
245
273
|
'tag-outlined-border-color--focus': string | number;
|
|
274
|
+
'tag-outlined-outline': string;
|
|
246
275
|
'tag-accent-background': string;
|
|
247
276
|
'tag-accent-background--hover': string;
|
|
248
277
|
'tag-accent-background--focus': string;
|
|
@@ -252,39 +281,45 @@ declare const mirandaCompatibility: {
|
|
|
252
281
|
'tag-accent-border-color': string;
|
|
253
282
|
'tag-accent-border-color--hover': string;
|
|
254
283
|
'tag-accent-border-color--focus': string;
|
|
255
|
-
'tag-
|
|
256
|
-
'tag-success-background
|
|
257
|
-
'tag-success-background--
|
|
258
|
-
'tag-success-
|
|
284
|
+
'tag-accent-outline': string;
|
|
285
|
+
'tag-success-background': string;
|
|
286
|
+
'tag-success-background--hover': string;
|
|
287
|
+
'tag-success-background--focus': string;
|
|
288
|
+
'tag-success-color': string;
|
|
259
289
|
'tag-success-color--hover': string | number;
|
|
260
290
|
'tag-success-color--focus': string | number;
|
|
261
|
-
'tag-success-border-color': string
|
|
262
|
-
'tag-success-border-color--hover': string
|
|
263
|
-
'tag-success-border-color--focus': string
|
|
264
|
-
'tag-
|
|
265
|
-
'tag-warning-background
|
|
266
|
-
'tag-warning-background--
|
|
267
|
-
'tag-warning-
|
|
268
|
-
'tag-warning-color
|
|
269
|
-
'tag-warning-color--
|
|
270
|
-
'tag-warning-
|
|
271
|
-
'tag-warning-border-color
|
|
272
|
-
'tag-warning-border-color--
|
|
273
|
-
'tag-
|
|
274
|
-
'tag-
|
|
275
|
-
'tag-danger-background
|
|
276
|
-
'tag-danger-
|
|
277
|
-
'tag-danger-
|
|
278
|
-
'tag-danger-color
|
|
279
|
-
'tag-danger-
|
|
280
|
-
'tag-danger-
|
|
281
|
-
'tag-danger-border-color
|
|
291
|
+
'tag-success-border-color': string;
|
|
292
|
+
'tag-success-border-color--hover': string;
|
|
293
|
+
'tag-success-border-color--focus': string;
|
|
294
|
+
'tag-success-outline': string;
|
|
295
|
+
'tag-warning-background': string;
|
|
296
|
+
'tag-warning-background--hover': string;
|
|
297
|
+
'tag-warning-background--focus': string;
|
|
298
|
+
'tag-warning-color': string;
|
|
299
|
+
'tag-warning-color--hover': string;
|
|
300
|
+
'tag-warning-color--focus': string;
|
|
301
|
+
'tag-warning-border-color': string;
|
|
302
|
+
'tag-warning-border-color--hover': string;
|
|
303
|
+
'tag-warning-border-color--focus': string;
|
|
304
|
+
'tag-warning-outline': string;
|
|
305
|
+
'tag-danger-background': string;
|
|
306
|
+
'tag-danger-background--hover': string;
|
|
307
|
+
'tag-danger-background--focus': string;
|
|
308
|
+
'tag-danger-color': string;
|
|
309
|
+
'tag-danger-color--hover': string;
|
|
310
|
+
'tag-danger-color--focus': string;
|
|
311
|
+
'tag-danger-border-color': string;
|
|
312
|
+
'tag-danger-border-color--hover': string;
|
|
313
|
+
'tag-danger-border-color--focus': string;
|
|
314
|
+
'tag-danger-outline': string;
|
|
282
315
|
'checkbox-color': string | number;
|
|
283
316
|
'checkbox-font-weight': string | number;
|
|
284
317
|
'checkbox-font-size': string | number;
|
|
285
318
|
'checkbox-selector-border-radius': string | number;
|
|
286
319
|
'checkbox-selector-size': string;
|
|
287
|
-
'checkbox-selector-
|
|
320
|
+
'checkbox-selector-box-shadow': string;
|
|
321
|
+
'checkbox-selector-outline': string;
|
|
322
|
+
'checkbox-selector-outline-offset': string;
|
|
288
323
|
'checkbox-small-font-size': string | number;
|
|
289
324
|
'checkbox-selector-icon-color': string | number;
|
|
290
325
|
'checkbox-selector-background': string | number;
|
|
@@ -317,7 +352,7 @@ declare const mirandaCompatibility: {
|
|
|
317
352
|
'radio-font-size': string | number;
|
|
318
353
|
'radio-selector-border-radius': string | number;
|
|
319
354
|
'radio-selector-size': string;
|
|
320
|
-
'radio-selector-
|
|
355
|
+
'radio-selector-box-shadow': string;
|
|
321
356
|
'radio-small-font-size': string | number;
|
|
322
357
|
'radio-small-selector-size': string;
|
|
323
358
|
'radio-selector-background': string | number;
|
|
@@ -368,7 +403,9 @@ declare const mirandaCompatibility: {
|
|
|
368
403
|
'text-field-height': string | number;
|
|
369
404
|
'text-field-padding-x': string | number;
|
|
370
405
|
'text-field-padding-y': string | number;
|
|
371
|
-
'text-field-
|
|
406
|
+
'text-field-box-shadow': string;
|
|
407
|
+
'text-field-outline': string;
|
|
408
|
+
'text-field-outline-offset': string;
|
|
372
409
|
'text-field-small-height': string | number;
|
|
373
410
|
'text-field-small-padding-x': string | number;
|
|
374
411
|
'text-field-small-padding-y': string | number;
|
|
@@ -393,7 +430,7 @@ declare const mirandaCompatibility: {
|
|
|
393
430
|
'text-field-dark-border-color--disabled': string | number;
|
|
394
431
|
'text-field-success-border-color': string | number;
|
|
395
432
|
'text-field-danger-border-color': string;
|
|
396
|
-
'text-field-dark-
|
|
433
|
+
'text-field-dark-box-shadow': string;
|
|
397
434
|
'textarea-border-radius': string | number;
|
|
398
435
|
'textarea-color': string | number;
|
|
399
436
|
'textarea-font-size': string | number;
|
|
@@ -402,7 +439,9 @@ declare const mirandaCompatibility: {
|
|
|
402
439
|
'textarea-min-height': string;
|
|
403
440
|
'textarea-padding-x': string | number;
|
|
404
441
|
'textarea-padding-y': string | number;
|
|
405
|
-
'textarea-
|
|
442
|
+
'textarea-box-shadow': string;
|
|
443
|
+
'textarea-outline': string;
|
|
444
|
+
'textarea-outline-offset': string;
|
|
406
445
|
'textarea-small-padding-x': string | number;
|
|
407
446
|
'textarea-small-padding-y': string | number;
|
|
408
447
|
'textarea-small-font-size': string | number;
|
|
@@ -426,12 +465,15 @@ declare const mirandaCompatibility: {
|
|
|
426
465
|
'textarea-dark-border-color--disabled': string | number;
|
|
427
466
|
'textarea-success-border-color': string | number;
|
|
428
467
|
'textarea-danger-border-color': string | number;
|
|
429
|
-
'textarea-dark-
|
|
468
|
+
'textarea-dark-box-shadow': string;
|
|
430
469
|
'link-font-size': string | number;
|
|
431
470
|
'link-font-height': string | number;
|
|
432
471
|
'link-color': string;
|
|
433
472
|
'link-font-weight': string | number;
|
|
434
473
|
'link-font-weight--hover': string | number;
|
|
474
|
+
'link-box-shadow': string;
|
|
475
|
+
'link-outline': string;
|
|
476
|
+
'link-outline-offset': string;
|
|
435
477
|
'breadcrumbs-font-size': string | number;
|
|
436
478
|
'breadcrumbs-font-height': string | number;
|
|
437
479
|
'breadcrumbs-font-weight': string | number;
|
|
@@ -515,7 +557,9 @@ declare const mirandaCompatibility: {
|
|
|
515
557
|
'switch-width': string;
|
|
516
558
|
'switch-height': string;
|
|
517
559
|
'switch-border-radius': string;
|
|
518
|
-
'switch-
|
|
560
|
+
'switch-box-shadow': string;
|
|
561
|
+
'switch-outline': string;
|
|
562
|
+
'switch-outline-offset': string;
|
|
519
563
|
'switch-large-width': string;
|
|
520
564
|
'switch-large-height': string;
|
|
521
565
|
'switch-large-border-radius': string;
|
|
@@ -610,9 +654,14 @@ declare const mirandaCompatibility: {
|
|
|
610
654
|
'top-navigation-item-icon-color': string | number;
|
|
611
655
|
'top-navigation-item-color': string | number;
|
|
612
656
|
'top-navigation-item-color--hover': string;
|
|
657
|
+
'select-trigger-height': string;
|
|
658
|
+
'select-trigger-border-color': string;
|
|
613
659
|
'select-selected-option-check-color': string;
|
|
614
660
|
'select-selected-option-background-color': string;
|
|
615
661
|
'toggle-text-transform': string;
|
|
662
|
+
'toggle-box-shadow': string;
|
|
663
|
+
'toggle-outline': string;
|
|
664
|
+
'toggle-outline-offset': string;
|
|
616
665
|
'toggle-background-color': string | number;
|
|
617
666
|
'toggle-background-color--hover': string;
|
|
618
667
|
'toggle-background-color--focus': string | number;
|
|
@@ -652,7 +701,7 @@ declare const mirandaCompatibility: {
|
|
|
652
701
|
'toggle-multiple-checked-border-color': string;
|
|
653
702
|
'toggle-multiple-checked-border-color--disabled': string;
|
|
654
703
|
'toggle-multiple-font-size': string;
|
|
655
|
-
'toggle-multiple-small-font-size': string
|
|
704
|
+
'toggle-multiple-small-font-size': string;
|
|
656
705
|
'toggle-multiple-height': string;
|
|
657
706
|
'toggle-multiple-small-height': string;
|
|
658
707
|
'toggle-group-border-color--disabled': string;
|
|
@@ -666,10 +715,16 @@ declare const mirandaCompatibility: {
|
|
|
666
715
|
'toggle-group-single-border-color': string;
|
|
667
716
|
'toggle-group-single-border-radius': string;
|
|
668
717
|
'toggle-group-single-padding': string;
|
|
718
|
+
'dropdown-trigger-border-color': string;
|
|
719
|
+
'dropdown-trigger-dark-border-color': string;
|
|
720
|
+
'dropdown-trigger-outlined-border-color': string | number;
|
|
669
721
|
'dropdown-trigger-expanded-color': string;
|
|
670
|
-
'dropdown-trigger-height': string
|
|
671
|
-
'dropdown-trigger-small-height': string
|
|
672
|
-
'dropdown-trigger-large-height': string
|
|
722
|
+
'dropdown-trigger-height': string;
|
|
723
|
+
'dropdown-trigger-small-height': string;
|
|
724
|
+
'dropdown-trigger-large-height': string;
|
|
725
|
+
'dropdown-trigger-box-shadow': string;
|
|
726
|
+
'dropdown-trigger-outline': string;
|
|
727
|
+
'dropdown-trigger-outline-offset': string;
|
|
673
728
|
'height-small': string;
|
|
674
729
|
'height-default': string;
|
|
675
730
|
'height-large': string;
|
|
@@ -741,6 +796,7 @@ declare const mirandaCompatibility: {
|
|
|
741
796
|
'border-radius-m': string;
|
|
742
797
|
'border-radius-l': string;
|
|
743
798
|
'border-radius-circle': string;
|
|
799
|
+
'tag-outline-outline': string;
|
|
744
800
|
'dropdown-background': string | number;
|
|
745
801
|
'dropdown-border-color': string | number;
|
|
746
802
|
'dropdown-border-radius': string | number;
|
package/dist/tools/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../prop-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../prop-201ffe28.js");require("../toArray-b56541b4.js"),require("../miranda-compatibility.theme-22a9ce26.js"),require("@loadsmart/miranda-tokens"),require("../theming/index.js"),exports.conditional=e.conditional,exports.prop=e.prop,exports.whenProps=e.whenProps;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loadsmart/loadsmart-ui",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.16",
|
|
4
4
|
"description": "Miranda UI, a React UI library",
|
|
5
5
|
"main": "dist",
|
|
6
6
|
"files": [
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"@types/lodash.range": "^3.2.6",
|
|
79
79
|
"@types/mdx": "^2.0.2",
|
|
80
80
|
"@types/node": "^18.11.18",
|
|
81
|
-
"@types/react": "^17.0.
|
|
82
|
-
"@types/react-dom": "^17.0.
|
|
81
|
+
"@types/react": "^17.0.59",
|
|
82
|
+
"@types/react-dom": "^17.0.20",
|
|
83
83
|
"@types/react-test-renderer": "^17.0.1",
|
|
84
|
-
"@types/styled-components": "^5.1.
|
|
84
|
+
"@types/styled-components": "^5.1.26",
|
|
85
85
|
"@typescript-eslint/eslint-plugin": "^4.22.1",
|
|
86
86
|
"@typescript-eslint/parser": "^4.22.1",
|
|
87
87
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"styled-components": ">=5.3.0"
|
|
150
150
|
},
|
|
151
151
|
"dependencies": {
|
|
152
|
-
"@floating-ui/react-dom": "^
|
|
152
|
+
"@floating-ui/react-dom": "^2.0.0",
|
|
153
153
|
"@loadsmart/utils-function": "0.3.1",
|
|
154
154
|
"@loadsmart/utils-object": "0.3.1",
|
|
155
155
|
"@loadsmart/utils-string": "0.3.1",
|
|
@@ -36,7 +36,10 @@ const Button = styled(BaseButton)`
|
|
|
36
36
|
})};
|
|
37
37
|
|
|
38
38
|
${focusable`
|
|
39
|
-
box-shadow: ${token('button-icon-
|
|
39
|
+
box-shadow: ${token('button-icon-box-shadow')};
|
|
40
|
+
|
|
41
|
+
outline: ${token('button-icon-outline')};
|
|
42
|
+
outline-offset: ${token('button-outline-offset')};
|
|
40
43
|
`}
|
|
41
44
|
`
|
|
42
45
|
|
|
@@ -5,6 +5,7 @@ import styled from 'styled-components'
|
|
|
5
5
|
import type ColorScheme from 'utils/types/ColorScheme'
|
|
6
6
|
import conditional, { whenProps } from 'tools/conditional'
|
|
7
7
|
import disableable from 'styles/disableable'
|
|
8
|
+
import focusable from 'styles/focusable'
|
|
8
9
|
import font from 'styles/font'
|
|
9
10
|
import { getToken as token } from 'theming'
|
|
10
11
|
import transition from 'styles/transition'
|
|
@@ -66,6 +67,8 @@ const StyledLabel = styled.label<SelectionStyleProps>`
|
|
|
66
67
|
|
|
67
68
|
cursor: pointer;
|
|
68
69
|
|
|
70
|
+
border-radius: ${token('border-radius-s')};
|
|
71
|
+
|
|
69
72
|
font-size: ${conditional({
|
|
70
73
|
'checkbox-font-size': whenProps({ scale: 'default' }),
|
|
71
74
|
'checkbox-small-font-size': whenProps({ scale: 'small' }),
|
|
@@ -93,6 +96,11 @@ const StyledLabel = styled.label<SelectionStyleProps>`
|
|
|
93
96
|
}
|
|
94
97
|
|
|
95
98
|
${disableable()}
|
|
99
|
+
|
|
100
|
+
${focusable`
|
|
101
|
+
outline: ${token('checkbox-selector-outline')};
|
|
102
|
+
outline-offset: ${token('checkbox-selector-outline-offset')};
|
|
103
|
+
`}
|
|
96
104
|
`
|
|
97
105
|
|
|
98
106
|
function SelectionWrapper({
|