@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.
Files changed (55) hide show
  1. package/dist/components/Banner/Banner.d.ts +4 -4
  2. package/dist/components/Banner/Banner.stories.d.ts +2 -1
  3. package/dist/components/Button/Button.stories.d.ts +3 -2
  4. package/dist/components/DatePicker/useDatePicker.d.ts +8 -2
  5. package/dist/components/DatePicker/useDateRangePicker.d.ts +12 -3
  6. package/dist/components/Dialog/Dialog.d.ts +4 -4
  7. package/dist/components/DragDropFile/DragDropFile.d.ts +2 -1
  8. package/dist/components/DragDropFile/components/Wrapper.d.ts +2 -1
  9. package/dist/components/DragDropFile/styles.d.ts +3 -2
  10. package/dist/components/ErrorMessage/ErrorMessage.d.ts +2 -1
  11. package/dist/components/Modal/Modal.d.ts +1 -1
  12. package/dist/components/Popover/Popover.types.d.ts +6 -8
  13. package/dist/components/Section/Section.d.ts +2 -2
  14. package/dist/components/SideNavigation/Menu/Menu.d.ts +1 -1
  15. package/dist/components/SideNavigation/SideNavigation.d.ts +1 -1
  16. package/dist/components/Tabs/Tabs.d.ts +5 -5
  17. package/dist/components/Tag/Tag.stories.d.ts +2 -1
  18. package/dist/components/Text/Text.d.ts +1 -1
  19. package/dist/index.js +284 -243
  20. package/dist/index.js.map +1 -1
  21. package/dist/miranda-compatibility.theme-22a9ce26.js +2 -0
  22. package/dist/miranda-compatibility.theme-22a9ce26.js.map +1 -0
  23. package/dist/{prop-82e9ff9d.js → prop-201ffe28.js} +2 -2
  24. package/dist/{prop-82e9ff9d.js.map → prop-201ffe28.js.map} +1 -1
  25. package/dist/testing/index.js +1 -1
  26. package/dist/theming/index.js +1 -1
  27. package/dist/theming/themes/alice.theme.d.ts +70 -15
  28. package/dist/theming/themes/loadsmart.theme.d.ts +70 -15
  29. package/dist/theming/themes/miranda-compatibility.theme.d.ts +141 -85
  30. package/dist/tools/index.js +1 -1
  31. package/package.json +5 -5
  32. package/src/common/CloseButton/CloseButton.tsx +4 -1
  33. package/src/common/SelectionWrapper.tsx +8 -0
  34. package/src/components/Button/Button.tsx +44 -21
  35. package/src/components/Checkbox/Checkbox.tsx +1 -1
  36. package/src/components/Dropdown/Dropdown.test.tsx +1 -1
  37. package/src/components/Dropdown/DropdownMenu.tsx +3 -0
  38. package/src/components/Dropdown/DropdownTrigger.tsx +9 -11
  39. package/src/components/Link/Link.tsx +9 -0
  40. package/src/components/Popover/Popover.test.tsx +1 -2
  41. package/src/components/Popover/Popover.tsx +25 -68
  42. package/src/components/Popover/Popover.types.ts +6 -8
  43. package/src/components/Radio/Radio.tsx +1 -1
  44. package/src/components/Select/SelectTrigger.tsx +2 -9
  45. package/src/components/Switch/Switch.tsx +3 -1
  46. package/src/components/Tag/Tag.tsx +24 -4
  47. package/src/components/TextField/TextField.tsx +5 -2
  48. package/src/components/Textarea/Textarea.tsx +5 -2
  49. package/src/components/ToggleGroup/Toggle.tsx +3 -1
  50. package/src/components/Tooltip/Tooltip.tsx +1 -8
  51. package/src/theming/themes/alice.theme.ts +83 -15
  52. package/src/theming/themes/loadsmart.theme.ts +85 -16
  53. package/src/theming/themes/miranda-compatibility.theme.ts +181 -113
  54. package/dist/miranda-compatibility.theme-f99913ed.js +0 -2
  55. package/dist/miranda-compatibility.theme-f99913ed.js.map +0 -1
@@ -132,6 +132,7 @@ const mirandaCompatibility = {
132
132
  'button-large-height': height('large'),
133
133
  'button-large-padding-x': spacing('m'),
134
134
  'button-large-padding-y': rem('14px'),
135
+ 'button-outline-offset': '2px',
135
136
 
136
137
  // button primary
137
138
  'button-primary-background': color('primary'),
@@ -152,28 +153,30 @@ const mirandaCompatibility = {
152
153
  'button-primary-color--active': color('neutral-white'),
153
154
  'button-primary-color--disabled': color('neutral-white'),
154
155
 
155
- 'button-primary-outline': shadow('glow-primary'),
156
+ 'button-primary-outline': `1px solid ${toCSSValue('color-primary-60')}`,
157
+ 'button-primary-box-shadow': 'none',
156
158
 
157
159
  // button secondary
158
160
  'button-secondary-background': color('transparent'),
159
- 'button-secondary-background--hover': toCSSValue('color-neutral-60', 0.2),
160
- 'button-secondary-background--focus': toCSSValue('color-neutral-60', 0.2),
161
- 'button-secondary-background--active': color('transparent'),
161
+ 'button-secondary-background--hover': toCSSValue('color-background-tertiary'),
162
+ 'button-secondary-background--focus': color('transparent'),
163
+ 'button-secondary-background--active': toCSSValue('color-background-tertiary'),
162
164
  'button-secondary-background--disabled': color('transparent'),
163
165
 
164
- 'button-secondary-border-color': color('primary'),
165
- 'button-secondary-border-color--hover': toCSSValue('color-primary-100'),
166
+ 'button-secondary-border-color': toCSSValue('color-primary-100'),
167
+ 'button-secondary-border-color--hover': toCSSValue('color-primary-60'),
166
168
  'button-secondary-border-color--focus': toCSSValue('color-primary-100'),
167
- 'button-secondary-border-color--active': toCSSValue('color-primary-60', 0.6),
168
- 'button-secondary-border-color--disabled': color('primary'),
169
+ 'button-secondary-border-color--active': toCSSValue('color-primary-60'),
170
+ 'button-secondary-border-color--disabled': toCSSValue('color-primary-100'),
169
171
 
170
- 'button-secondary-color': color('primary'),
171
- 'button-secondary-color--hover': toCSSValue('color-primary-100'),
172
- 'button-secondary-color--focus': color('primary'),
173
- 'button-secondary-color--active': toCSSValue('color-primary-60', 0.6),
174
- 'button-secondary-color--disabled': color('primary'),
172
+ 'button-secondary-color': toCSSValue('color-primary-100'),
173
+ 'button-secondary-color--hover': toCSSValue('color-primary-60'),
174
+ 'button-secondary-color--focus': toCSSValue('color-primary-100'),
175
+ 'button-secondary-color--active': toCSSValue('color-primary-60'),
176
+ 'button-secondary-color--disabled': toCSSValue('color-primary-100'),
175
177
 
176
- 'button-secondary-outline': shadow('glow-primary'),
178
+ 'button-secondary-outline': `1px solid ${toCSSValue('color-primary-60')}`,
179
+ 'button-secondary-box-shadow': 'none',
177
180
 
178
181
  // button secondary dark
179
182
  'button-secondary-dark-background': color('transparent'),
@@ -194,26 +197,49 @@ const mirandaCompatibility = {
194
197
  'button-secondary-dark-color--active': toCSSValue('color-primary-60', 0.6),
195
198
  'button-secondary-dark-color--disabled': color('neutral-light'),
196
199
 
200
+ // button tertiary
201
+ 'button-tertiary-background': color('transparent'),
202
+ 'button-tertiary-background--hover': toCSSValue('color-background-tertiary'),
203
+ 'button-tertiary-background--focus': color('transparent'),
204
+ 'button-tertiary-background--active': toCSSValue('color-background-tertiary'),
205
+ 'button-tertiary-background--disabled': color('transparent'),
206
+
207
+ 'button-tertiary-border-color': color('transparent'),
208
+ 'button-tertiary-border-color--hover': toCSSValue('color-background-tertiary'),
209
+ 'button-tertiary-border-color--focus': color('transparent'),
210
+ 'button-tertiary-border-color--active': toCSSValue('color-background-tertiary'),
211
+ 'button-tertiary-border-color--disabled': color('transparent'),
212
+
213
+ 'button-tertiary-color': toCSSValue('color-primary-100'),
214
+ 'button-tertiary-color--hover': toCSSValue('color-primary-60'),
215
+ 'button-tertiary-color--focus': toCSSValue('color-primary-100'),
216
+ 'button-tertiary-color--active': toCSSValue('color-primary-60'),
217
+ 'button-tertiary-color--disabled': toCSSValue('color-primary-100'),
218
+
219
+ 'button-tertiary-outline': `1px solid ${toCSSValue('color-primary-60')}`,
220
+ 'button-tertiary-box-shadow': 'none',
221
+
197
222
  // button warning
198
- 'button-warning-background': color('transparent'),
199
- 'button-warning-background--hover': toCSSValue('color-warning-60', 0.2),
200
- 'button-warning-background--focus': color('transparent'),
201
- 'button-warning-background--active': color('transparent'),
202
- 'button-warning-background--disabled': color('transparent'),
203
-
204
- 'button-warning-border-color': color('warning-dark'),
205
- 'button-warning-border-color--hover': color('warning'),
206
- 'button-warning-border-color--focus': color('warning-dark'),
207
- 'button-warning-border-color--active': color('warning'),
208
- 'button-warning-border-color--disabled': color('warning-dark'),
209
-
210
- 'button-warning-color': color('warning-dark'),
211
- 'button-warning-color--hover': color('warning'),
212
- 'button-warning-color--focus': color('warning-dark'),
213
- 'button-warning-color--active': color('warning'),
214
- 'button-warning-color--disabled': color('warning-dark'),
215
-
216
- 'button-warning-outline': shadow('glow-warning'),
223
+ 'button-warning-background': toCSSValue('color-warning-60'),
224
+ 'button-warning-background--hover': toCSSValue('color-warning-100'),
225
+ 'button-warning-background--focus': toCSSValue('color-warning-60'),
226
+ 'button-warning-background--active': toCSSValue('color-warning-100'),
227
+ 'button-warning-background--disabled': toCSSValue('color-warning-60'),
228
+
229
+ 'button-warning-border-color': toCSSValue('color-warning-60'),
230
+ 'button-warning-border-color--hover': toCSSValue('color-warning-100'),
231
+ 'button-warning-border-color--focus': toCSSValue('color-warning-60'),
232
+ 'button-warning-border-color--active': toCSSValue('color-warning-100'),
233
+ 'button-warning-border-color--disabled': toCSSValue('color-warning-60'),
234
+
235
+ 'button-warning-color': toCSSValue('color-text-primary'),
236
+ 'button-warning-color--hover': toCSSValue('color-text-inverted'),
237
+ 'button-warning-color--focus': toCSSValue('color-text-primary'),
238
+ 'button-warning-color--active': toCSSValue('color-text-inverted'),
239
+ 'button-warning-color--disabled': color('neutral-white'),
240
+
241
+ 'button-warning-outline': `1px solid ${toCSSValue('color-warning-60')}`,
242
+ 'button-warning-box-shadow': 'none',
217
243
 
218
244
  // button icon
219
245
  'button-icon-border-radius': border.radius('circle'),
@@ -221,82 +247,90 @@ const mirandaCompatibility = {
221
247
  'button-icon-width': height('default'),
222
248
  'button-icon-large-width': height('large'),
223
249
 
224
- 'button-icon-background': color('neutral-lighter'),
225
- 'button-icon-background--hover': color('neutral-lighter'),
226
- 'button-icon-background--focus': color('neutral-lighter'),
227
- 'button-icon-background--active': color('neutral-light'),
228
- 'button-icon-background--disabled': color('neutral-lighter'),
250
+ 'button-icon-background': toCSSValue('color-background-tertiary'),
251
+ 'button-icon-background--hover': toCSSValue('color-background-highlight'),
252
+ 'button-icon-background--focus': toCSSValue('color-background-tertiary'),
253
+ 'button-icon-background--active': toCSSValue('color-background-highlight'),
254
+ 'button-icon-background--disabled': toCSSValue('color-background-tertiary'),
229
255
 
230
- 'button-icon-border-color': color('neutral-lighter'),
231
- 'button-icon-border-color--hover': color('neutral-lighter'),
232
- 'button-icon-border-color--focus': color('neutral-lighter'),
233
- 'button-icon-border-color--active': color('neutral-light'),
234
- 'button-icon-border-color--disabled': color('neutral-lighter'),
256
+ 'button-icon-border-color': toCSSValue('color-background-tertiary'),
257
+ 'button-icon-border-color--hover': toCSSValue('color-background-highlight'),
258
+ 'button-icon-border-color--focus': toCSSValue('color-background-tertiary'),
259
+ 'button-icon-border-color--active': toCSSValue('color-background-highlight'),
260
+ 'button-icon-border-color--disabled': toCSSValue('color-background-tertiary'),
235
261
 
236
- 'button-icon-color': color('neutral-darkest'),
262
+ 'button-icon-color': toCSSValue('color-background-secondary-inverted'),
237
263
  'button-icon-color--hover': toCSSValue('color-primary-60'),
238
- 'button-icon-color--focus': color('neutral-darkest'),
239
- 'button-icon-color--active': color('neutral-darkest'),
240
- 'button-icon-color--disabled': color('neutral-darkest'),
264
+ 'button-icon-color--focus': toCSSValue('color-primary-60'),
265
+ 'button-icon-color--active': toCSSValue('color-primary-60'),
266
+ 'button-icon-color--disabled': toCSSValue('color-background-secondary-inverted'),
241
267
 
242
- 'button-icon-outline': shadow('glow-primary'),
268
+ 'button-icon-outline': `1px solid ${toCSSValue('color-primary-60')}`,
269
+ 'button-icon-box-shadow': 'none',
243
270
 
244
271
  // tag
245
272
  'tag-border-radius': rem('30px'),
246
273
  'tag-border-width': border.width('thin'),
247
- 'tag-font-weight': font.weight('bold'),
248
274
  'tag-font-height': font.height('1'),
249
- 'tag-spacing': `0 ${spacing('s')}`,
250
- 'tag-spacing-removable': `0 ${spacing('xs')} 0 ${spacing('s')}`,
275
+ 'tag-spacing': `0 ${toCSSValue('spacing-3')}`,
276
+ 'tag-removable-spacing': `0 ${spacing('xs')} 0 ${spacing('s')}`,
251
277
  'tag-width': 'auto',
252
- 'tag-outline': shadow('glow-primary'),
278
+ 'tag-box-shadow': 'none',
279
+ 'tag-outline-offset': '2px',
253
280
 
254
281
  'tag-remove-button-background': color('neutral-white'),
255
282
  'tag-remove-button-border-radius': rem('24px'),
256
283
  'tag-icon-spacing': spacing('xs'),
257
284
 
258
285
  // tag small
259
- 'tag-small-font-size': font.size('6'),
260
- 'tag-small-height': rem('16px'),
286
+ 'tag-small-font-size': toCSSValue('font-size-1'),
287
+ 'tag-small-font-weight': toCSSValue('font-weight-medium'),
288
+ 'tag-small-height': rem('18px'),
261
289
  'tag-small-transform': 'uppercase',
262
290
  'tag-small-leading-display': 'none',
263
291
  'tag-small-remove-button-size': rem('0'),
264
292
  'tag-small-remove-button-icon-size': rem('0'),
265
- 'tag-small-spacing-removable': `0 ${spacing('s')}`,
293
+ 'tag-small-spacing': `0 ${toCSSValue('spacing-2')}`,
294
+ 'tag-small-removable-spacing': `0 ${spacing('s')}`,
266
295
 
267
296
  // tag medium
268
- 'tag-font-size': font.size('5'),
269
- 'tag-height': rem('24px'),
297
+ 'tag-font-size': toCSSValue('font-size-2'),
298
+ 'tag-font-weight': toCSSValue('font-weight-bold'),
299
+ 'tag-height': rem('28px'),
270
300
  'tag-transform': 'none',
271
301
  'tag-leading-display': 'inline-flex',
272
302
  'tag-remove-button-size': rem('16px'),
273
303
  'tag-remove-button-icon-size': rem('10px'),
274
304
 
275
305
  // tag large
276
- 'tag-large-font-size': font.size('4'),
277
- 'tag-large-height': rem('32px'),
306
+ 'tag-large-font-size': toCSSValue('font-size-4'),
307
+ 'tag-large-font-weight': toCSSValue('font-weight-bold'),
308
+ 'tag-large-height': rem('40px'),
278
309
  'tag-large-transform': 'none',
279
310
  'tag-large-leading-display': 'inline-flex',
280
311
  'tag-large-remove-button-size': rem('24px'),
281
312
  'tag-large-remove-button-icon-size': rem('12px'),
313
+ 'tag-large-spacing': `0 ${toCSSValue('spacing-4')}`,
282
314
 
283
315
  // tag default
284
- 'tag-default-background': color('neutral-light'),
285
- 'tag-default-background--hover': toCSSValue('color-accent-60', 0.4),
286
- 'tag-default-background--focus': color('neutral-dark', 0.2),
316
+ 'tag-default-background': toCSSValue('color-background-tertiary'),
317
+ 'tag-default-background--hover': toCSSValue('color-background-tertiary'),
318
+ 'tag-default-background--focus': toCSSValue('color-background-tertiary'),
287
319
 
288
- 'tag-default-color': color('neutral-darkest'),
320
+ 'tag-default-color': toCSSValue('color-text-tertiary'),
289
321
  'tag-default-color--hover': color('neutral-darkest'),
290
322
  'tag-default-color--focus': color('neutral-dark'),
291
323
 
292
- 'tag-default-border-color': 'transparent',
293
- 'tag-default-border-color--hover': 'transparent',
294
- 'tag-default-border-color--focus': 'transparent',
324
+ 'tag-default-border-color': toCSSValue('color-background-tertiary'),
325
+ 'tag-default-border-color--hover': toCSSValue('color-background-tertiary'),
326
+ 'tag-default-border-color--focus': toCSSValue('color-background-tertiary'),
327
+
328
+ 'tag-default-outline': `1px solid ${toCSSValue('color-neutral-100')}`,
295
329
 
296
330
  // tag outline
297
331
  'tag-outlined-background': color('transparent'),
298
- 'tag-outlined-background--hover': toCSSValue('color-accent-60', 0.4),
299
- 'tag-outlined-background--focus': color('neutral-white'),
332
+ 'tag-outlined-background--hover': color('transparent'),
333
+ 'tag-outlined-background--focus': color('transparent'),
300
334
 
301
335
  'tag-outlined-color': color('neutral-darkest'),
302
336
  'tag-outlined-color--hover': color('neutral-darkest'),
@@ -306,57 +340,67 @@ const mirandaCompatibility = {
306
340
  'tag-outlined-border-color--hover': color('neutral-darkest'),
307
341
  'tag-outlined-border-color--focus': color('neutral-darker'),
308
342
 
343
+ 'tag-outlined-outline': `1px solid ${toCSSValue('color-neutral-100')}`,
344
+
309
345
  // tag accent
310
- 'tag-accent-background': toCSSValue('color-primary-60', 0.2),
311
- 'tag-accent-background--hover': toCSSValue('color-primary-60', 0.4),
312
- 'tag-accent-background--focus': toCSSValue('color-primary-60', 0.2),
346
+ 'tag-accent-background': toCSSValue('color-accent-20'),
347
+ 'tag-accent-background--hover': toCSSValue('color-accent-20'),
348
+ 'tag-accent-background--focus': toCSSValue('color-accent-20'),
313
349
 
314
- 'tag-accent-color': toCSSValue('color-primary-60'),
315
- 'tag-accent-color--hover': toCSSValue('color-primary-60'),
316
- 'tag-accent-color--focus': toCSSValue('color-primary-60'),
350
+ 'tag-accent-color': toCSSValue('color-accent-60'),
351
+ 'tag-accent-color--hover': toCSSValue('color-accent-60'),
352
+ 'tag-accent-color--focus': toCSSValue('color-accent-60'),
317
353
 
318
354
  'tag-accent-border-color': 'transparent',
319
355
  'tag-accent-border-color--hover': 'transparent',
320
356
  'tag-accent-border-color--focus': 'transparent',
321
357
 
358
+ 'tag-accent-outline': `1px solid ${toCSSValue('color-accent-100')}`,
359
+
322
360
  // tag success
323
- 'tag-success-background': color('success-light'),
324
- 'tag-success-background--hover': color('success-light'),
325
- 'tag-success-background--focus': color('success-light'),
361
+ 'tag-success-background': toCSSValue('color-success-20'),
362
+ 'tag-success-background--hover': toCSSValue('color-success-20'),
363
+ 'tag-success-background--focus': toCSSValue('color-success-20'),
326
364
 
327
- 'tag-success-color': color('success-dark'),
365
+ 'tag-success-color': toCSSValue('color-success-60'),
328
366
  'tag-success-color--hover': color('success-dark'),
329
367
  'tag-success-color--focus': color('success-dark'),
330
368
 
331
- 'tag-success-border-color': color('success-light'),
332
- 'tag-success-border-color--hover': color('success-light'),
333
- 'tag-success-border-color--focus': color('success-light'),
369
+ 'tag-success-border-color': toCSSValue('color-success-20'),
370
+ 'tag-success-border-color--hover': toCSSValue('color-success-20'),
371
+ 'tag-success-border-color--focus': toCSSValue('color-success-20'),
372
+
373
+ 'tag-success-outline': `1px solid ${toCSSValue('color-success-100')}`,
334
374
 
335
375
  // tag warning
336
- 'tag-warning-background': color('warning-light'),
337
- 'tag-warning-background--hover': color('warning-light'),
338
- 'tag-warning-background--focus': color('warning-light'),
376
+ 'tag-warning-background': toCSSValue('color-warning-20'),
377
+ 'tag-warning-background--hover': toCSSValue('color-warning-20'),
378
+ 'tag-warning-background--focus': toCSSValue('color-warning-20'),
379
+
380
+ 'tag-warning-color': toCSSValue('color-warning-100'),
381
+ 'tag-warning-color--hover': toCSSValue('color-warning-100'),
382
+ 'tag-warning-color--focus': toCSSValue('color-warning-100'),
339
383
 
340
- 'tag-warning-color': color('warning-dark'),
341
- 'tag-warning-color--hover': color('warning-dark'),
342
- 'tag-warning-color--focus': color('warning-dark'),
384
+ 'tag-warning-border-color': toCSSValue('color-warning-20'),
385
+ 'tag-warning-border-color--hover': toCSSValue('color-warning-20'),
386
+ 'tag-warning-border-color--focus': toCSSValue('color-warning-20'),
343
387
 
344
- 'tag-warning-border-color': color('warning-light'),
345
- 'tag-warning-border-color--hover': color('warning-light'),
346
- 'tag-warning-border-color--focus': color('warning-light'),
388
+ 'tag-warning-outline': `1px solid ${toCSSValue('color-warning-100')}`,
347
389
 
348
390
  // tag danger
349
- 'tag-danger-background': color('danger-light'),
350
- 'tag-danger-background--hover': color('danger-light'),
351
- 'tag-danger-background--focus': color('danger-light'),
391
+ 'tag-danger-background': toCSSValue('color-danger-20'),
392
+ 'tag-danger-background--hover': toCSSValue('color-danger-20'),
393
+ 'tag-danger-background--focus': toCSSValue('color-danger-20'),
352
394
 
353
- 'tag-danger-color': color('danger-dark'),
354
- 'tag-danger-color--hover': color('danger-dark'),
355
- 'tag-danger-color--focus': color('danger-dark'),
395
+ 'tag-danger-color': toCSSValue('color-danger-60'),
396
+ 'tag-danger-color--hover': toCSSValue('color-danger-60'),
397
+ 'tag-danger-color--focus': toCSSValue('color-danger-60'),
356
398
 
357
- 'tag-danger-border-color': color('danger-light'),
358
- 'tag-danger-border-color--hover': color('danger-light'),
359
- 'tag-danger-border-color--focus': color('danger-light'),
399
+ 'tag-danger-border-color': toCSSValue('color-danger-20'),
400
+ 'tag-danger-border-color--hover': toCSSValue('color-danger-20'),
401
+ 'tag-danger-border-color--focus': toCSSValue('color-danger-20'),
402
+
403
+ 'tag-danger-outline': `1px solid ${toCSSValue('color-danger-100')}`,
360
404
 
361
405
  // checkbox
362
406
  'checkbox-color': color('neutral-darker'),
@@ -365,7 +409,9 @@ const mirandaCompatibility = {
365
409
 
366
410
  'checkbox-selector-border-radius': border.radius('s'),
367
411
  'checkbox-selector-size': rem('16px'),
368
- 'checkbox-selector-outline': shadow('glow-primary'),
412
+ 'checkbox-selector-box-shadow': 'none',
413
+ 'checkbox-selector-outline': `1px solid ${toCSSValue('color-primary-100')}`,
414
+ 'checkbox-selector-outline-offset': '2px',
369
415
 
370
416
  'checkbox-small-font-size': font.size('5'),
371
417
 
@@ -411,7 +457,7 @@ const mirandaCompatibility = {
411
457
 
412
458
  'radio-selector-border-radius': border.radius('circle'),
413
459
  'radio-selector-size': rem('24px'),
414
- 'radio-selector-outline': shadow('glow-primary'),
460
+ 'radio-selector-box-shadow': 'none',
415
461
 
416
462
  'radio-small-font-size': font.size('5'),
417
463
  'radio-small-selector-size': rem('16px'),
@@ -479,7 +525,9 @@ const mirandaCompatibility = {
479
525
  'text-field-padding-x': spacing('s'),
480
526
  'text-field-padding-y': spacing('s'),
481
527
 
482
- 'text-field-outline': shadow('glow-primary'),
528
+ 'text-field-box-shadow': 'none',
529
+ 'text-field-outline': `1px solid ${toCSSValue('color-primary-100')}`,
530
+ 'text-field-outline-offset': '2px',
483
531
 
484
532
  'text-field-small-height': height('small'),
485
533
  'text-field-small-padding-x': spacing('s'),
@@ -513,7 +561,7 @@ const mirandaCompatibility = {
513
561
  'text-field-success-border-color': color('accent'),
514
562
  'text-field-danger-border-color': toCSSValue('color-danger-60'),
515
563
 
516
- 'text-field-dark-outline': toCSSValue('color-neutral-60', 0.4),
564
+ 'text-field-dark-box-shadow': 'none',
517
565
 
518
566
  // textarea
519
567
  'textarea-border-radius': border.radius('s'),
@@ -525,7 +573,9 @@ const mirandaCompatibility = {
525
573
  'textarea-padding-x': spacing('s'),
526
574
  'textarea-padding-y': spacing('s'),
527
575
 
528
- 'textarea-outline': shadow('glow-primary'),
576
+ 'textarea-box-shadow': 'none',
577
+ 'textarea-outline': `1px solid ${toCSSValue('color-primary-100')}`,
578
+ 'textarea-outline-offset': '2px',
529
579
 
530
580
  'textarea-small-padding-x': spacing('s'),
531
581
  'textarea-small-padding-y': spacing('xs'),
@@ -558,7 +608,7 @@ const mirandaCompatibility = {
558
608
  'textarea-success-border-color': color('accent'),
559
609
  'textarea-danger-border-color': color('danger'),
560
610
 
561
- 'textarea-dark-outline': toCSSValue('color-neutral-60', 0.4),
611
+ 'textarea-dark-box-shadow': 'none',
562
612
 
563
613
  // link
564
614
  'link-font-size': font.size('3'),
@@ -568,6 +618,10 @@ const mirandaCompatibility = {
568
618
  'link-font-weight': font.weight('medium'),
569
619
  'link-font-weight--hover': font.weight('bold'),
570
620
 
621
+ 'link-box-shadow': 'none',
622
+ 'link-outline': `1px solid ${toCSSValue('color-primary-100')}`,
623
+ 'link-outline-offset': '2px',
624
+
571
625
  // breadcrumbs
572
626
  'breadcrumbs-font-size': font.size('2'),
573
627
  'breadcrumbs-font-height': font.height('2'),
@@ -692,7 +746,9 @@ const mirandaCompatibility = {
692
746
  'switch-height': rem('22px'),
693
747
  'switch-border-radius': rem('22px'),
694
748
 
695
- 'switch-outline': shadow('glow-primary'),
749
+ 'switch-box-shadow': 'none',
750
+ 'switch-outline': `1px solid ${toCSSValue('color-primary-100')}`,
751
+ 'switch-outline-offset': '2px',
696
752
 
697
753
  // Switch Large
698
754
  'switch-large-width': rem('70px'),
@@ -830,11 +886,16 @@ const mirandaCompatibility = {
830
886
  'top-navigation-item-color--hover': toCSSValue('color-brand'),
831
887
 
832
888
  // Select
889
+ 'select-trigger-height': `calc(${height('default')} - 2px)`,
890
+ 'select-trigger-border-color': toCSSValue('color-border'),
833
891
  'select-selected-option-check-color': toCSSValue('color-primary-60'),
834
892
  'select-selected-option-background-color': toCSSValue('color-primary-60', 0.2),
835
893
 
836
894
  // Toggle & Toggle Group
837
895
  'toggle-text-transform': 'initial',
896
+ 'toggle-box-shadow': 'none',
897
+ 'toggle-outline': `1px solid ${toCSSValue('color-primary-100')}`,
898
+ 'toggle-outline-offset': '2px',
838
899
  'toggle-background-color': color('transparent'),
839
900
  'toggle-background-color--hover': toCSSValue('color-background-tertiary'),
840
901
  'toggle-background-color--focus': color('transparent'),
@@ -863,8 +924,8 @@ const mirandaCompatibility = {
863
924
  'toggle-single-border-color--disabled': color('transparent'),
864
925
  'toggle-single-checked-border-color': toCSSValue('color-primary-20'),
865
926
  'toggle-single-checked-border-color--disabled': toCSSValue('color-primary-20'),
866
- 'toggle-single-font-size': toCSSValue('font-size-4'),
867
- 'toggle-single-small-font-size': '10px',
927
+ 'toggle-single-font-size': toCSSValue('font-size-3'),
928
+ 'toggle-single-small-font-size': toCSSValue('font-size-2'),
868
929
  'toggle-single-height': '30px',
869
930
  'toggle-single-small-height': '18px',
870
931
 
@@ -875,8 +936,8 @@ const mirandaCompatibility = {
875
936
  'toggle-multiple-border-color--disabled': color('transparent'),
876
937
  'toggle-multiple-checked-border-color': toCSSValue('color-primary-20'),
877
938
  'toggle-multiple-checked-border-color--disabled': toCSSValue('color-primary-20'),
878
- 'toggle-multiple-font-size': toCSSValue('font-size-4'),
879
- 'toggle-multiple-small-font-size': font.size('5'),
939
+ 'toggle-multiple-font-size': toCSSValue('font-size-3'),
940
+ 'toggle-multiple-small-font-size': toCSSValue('font-size-2'),
880
941
  'toggle-multiple-height': '30px',
881
942
  'toggle-multiple-small-height': '18px',
882
943
 
@@ -895,10 +956,17 @@ const mirandaCompatibility = {
895
956
  'toggle-group-single-padding': toCSSValue('spacing-1'),
896
957
 
897
958
  // dropdown
959
+ 'dropdown-trigger-border-color': toCSSValue('color-border'),
960
+ 'dropdown-trigger-dark-border-color': toCSSValue('color-border'),
961
+ 'dropdown-trigger-outlined-border-color': color('transparent'),
898
962
  'dropdown-trigger-expanded-color': toCSSValue('color-primary-60'),
899
- 'dropdown-trigger-height': height('default'),
900
- 'dropdown-trigger-small-height': height('small'),
901
- 'dropdown-trigger-large-height': height('large'),
963
+ 'dropdown-trigger-height': `calc(${height('default')} - 2px)`,
964
+ 'dropdown-trigger-small-height': `calc(${height('small')} - 2px)`,
965
+ 'dropdown-trigger-large-height': `calc(${height('large')} - 2px)`,
966
+
967
+ 'dropdown-trigger-box-shadow': 'none',
968
+ 'dropdown-trigger-outline': `1px solid ${toCSSValue('color-primary-100')}`,
969
+ 'dropdown-trigger-outline-offset': '2px',
902
970
  }
903
971
 
904
972
  export default mirandaCompatibility