@scattered-light/loomiere-base-ui 0.2.0 → 0.4.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.
Files changed (97) hide show
  1. package/dist/design-system/components/Accordion/README.md +1 -1
  2. package/dist/design-system/components/Accordion/preview.html +1 -1
  3. package/dist/design-system/components/AlertDialog/preview.html +1 -1
  4. package/dist/design-system/components/Autocomplete/preview.html +1 -1
  5. package/dist/design-system/components/Avatar/README.md +1 -1
  6. package/dist/design-system/components/Avatar/preview.html +1 -1
  7. package/dist/design-system/components/Button/README.md +1 -1
  8. package/dist/design-system/components/Button/preview.html +3 -3
  9. package/dist/design-system/components/Checkbox/preview.html +1 -1
  10. package/dist/design-system/components/CheckboxGroup/preview.html +1 -1
  11. package/dist/design-system/components/Collapsible/preview.html +1 -1
  12. package/dist/design-system/components/Combobox/preview.html +1 -1
  13. package/dist/design-system/components/ContextMenu/preview.html +1 -1
  14. package/dist/design-system/components/Dialog/README.md +1 -1
  15. package/dist/design-system/components/Dialog/preview.html +1 -1
  16. package/dist/design-system/components/Drawer/preview.html +1 -1
  17. package/dist/design-system/components/Field/preview.html +1 -1
  18. package/dist/design-system/components/Fieldset/preview.html +1 -1
  19. package/dist/design-system/components/Form/preview.html +1 -1
  20. package/dist/design-system/components/Input/preview.html +1 -1
  21. package/dist/design-system/components/Menu/preview.html +1 -1
  22. package/dist/design-system/components/Menubar/preview.html +1 -1
  23. package/dist/design-system/components/Meter/preview.html +1 -1
  24. package/dist/design-system/components/NavigationMenu/preview.html +1 -1
  25. package/dist/design-system/components/NumberField/preview.html +1 -1
  26. package/dist/design-system/components/OTPField/preview.html +1 -1
  27. package/dist/design-system/components/Popover/README.md +2 -2
  28. package/dist/design-system/components/Popover/preview.html +2 -2
  29. package/dist/design-system/components/PreviewCard/README.md +1 -1
  30. package/dist/design-system/components/PreviewCard/preview.html +1 -1
  31. package/dist/design-system/components/Progress/preview.html +1 -1
  32. package/dist/design-system/components/Radio/preview.html +1 -1
  33. package/dist/design-system/components/ScrollArea/preview.html +1 -1
  34. package/dist/design-system/components/Select/preview.html +1 -1
  35. package/dist/design-system/components/Separator/preview.html +1 -1
  36. package/dist/design-system/components/Slider/preview.html +1 -1
  37. package/dist/design-system/components/Switch/preview.html +1 -1
  38. package/dist/design-system/components/Table/README.md +50 -0
  39. package/dist/design-system/components/Table/preview.html +19 -0
  40. package/dist/design-system/components/Tabs/preview.html +1 -1
  41. package/dist/design-system/components/Toast/preview.html +1 -1
  42. package/dist/design-system/components/Toggle/README.md +1 -1
  43. package/dist/design-system/components/Toggle/preview.html +1 -1
  44. package/dist/design-system/components/ToggleGroup/preview.html +1 -1
  45. package/dist/design-system/components/Toolbar/preview.html +1 -1
  46. package/dist/design-system/components/Tooltip/preview.html +1 -1
  47. package/dist/design-system/components/bundle.js +5 -5
  48. package/dist/design-system/components/index.d.ts +2 -1
  49. package/dist/design-system/components/styles.css +687 -544
  50. package/dist/index.d.ts +2 -1
  51. package/dist/index.js +8 -2
  52. package/dist/index.js.map +1 -1
  53. package/dist/styles/components/Accordion.css +12 -12
  54. package/dist/styles/components/AlertDialog.css +1 -1
  55. package/dist/styles/components/Autocomplete.css +22 -22
  56. package/dist/styles/components/Avatar.css +15 -42
  57. package/dist/styles/components/Button.css +45 -25
  58. package/dist/styles/components/Checkbox.css +16 -16
  59. package/dist/styles/components/CheckboxGroup.css +1 -1
  60. package/dist/styles/components/Collapsible.css +16 -16
  61. package/dist/styles/components/Combobox.css +62 -62
  62. package/dist/styles/components/ContextMenu.css +12 -12
  63. package/dist/styles/components/Dialog.css +12 -12
  64. package/dist/styles/components/Drawer.css +11 -11
  65. package/dist/styles/components/Field.css +16 -16
  66. package/dist/styles/components/Fieldset.css +11 -11
  67. package/dist/styles/components/Form.css +1 -1
  68. package/dist/styles/components/Input.css +21 -21
  69. package/dist/styles/components/Menu.css +12 -12
  70. package/dist/styles/components/Menubar.css +17 -17
  71. package/dist/styles/components/Meter.css +11 -11
  72. package/dist/styles/components/NavigationMenu.css +22 -22
  73. package/dist/styles/components/NumberField.css +1 -1
  74. package/dist/styles/components/OTPField.css +11 -11
  75. package/dist/styles/components/Popover.css +15 -12
  76. package/dist/styles/components/PreviewCard.css +12 -12
  77. package/dist/styles/components/Progress.css +11 -11
  78. package/dist/styles/components/Radio.css +16 -16
  79. package/dist/styles/components/ScrollArea.css +1 -1
  80. package/dist/styles/components/Select.css +22 -22
  81. package/dist/styles/components/Separator.css +1 -1
  82. package/dist/styles/components/Slider.css +11 -11
  83. package/dist/styles/components/Switch.css +22 -22
  84. package/dist/styles/components/Table.css +144 -0
  85. package/dist/styles/components/Tabs.css +31 -31
  86. package/dist/styles/components/Toast.css +11 -11
  87. package/dist/styles/components/Toggle.css +24 -22
  88. package/dist/styles/components/ToggleGroup.css +1 -1
  89. package/dist/styles/components/Toolbar.css +6 -6
  90. package/dist/styles/components/Tooltip.css +6 -6
  91. package/dist/styles/index.css +2 -1
  92. package/dist/styles/reset/accessibility.css +1 -1
  93. package/dist/styles/reset/reset-accessibility.css +1 -1
  94. package/dist/styles/reset/reset-tailwind.css +1 -1
  95. package/dist/styles/reset/reset.css +1 -1
  96. package/dist/styles/tailwind.css +2 -1
  97. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Combobox - Mojave Theme
3
3
  *
4
4
  * No component tokens. The input is Input (Input.css); the chips box is a field; the
@@ -22,11 +22,11 @@
22
22
  }
23
23
 
24
24
  .ComboboxLabel {
25
- font-family: var(--sl-font-base-label-font-family);
26
- font-size: var(--sl-font-base-label-font-size);
27
- font-weight: var(--sl-font-base-label-font-weight);
28
- line-height: var(--sl-font-base-label-line-height);
29
- letter-spacing: var(--sl-font-base-label-letter-spacing);
25
+ font-family: var(--sl-font-label-base-font-family);
26
+ font-size: var(--sl-font-label-base-font-size);
27
+ font-weight: var(--sl-font-label-base-font-weight);
28
+ line-height: var(--sl-font-label-base-line-height);
29
+ letter-spacing: var(--sl-font-label-base-letter-spacing);
30
30
  display: flex;
31
31
  flex-direction: column;
32
32
  gap: var(--sl-field-label-spacing);
@@ -85,11 +85,11 @@
85
85
  }
86
86
 
87
87
  .ComboboxChip {
88
- font-family: var(--sl-font-condense-font-family);
89
- font-size: var(--sl-font-condense-font-size);
90
- font-weight: var(--sl-font-condense-font-weight);
91
- line-height: var(--sl-font-condense-line-height);
92
- letter-spacing: var(--sl-font-condense-letter-spacing);
88
+ font-family: var(--sl-font-body-condense-font-family);
89
+ font-size: var(--sl-font-body-condense-font-size);
90
+ font-weight: var(--sl-font-body-condense-font-weight);
91
+ line-height: var(--sl-font-body-condense-line-height);
92
+ letter-spacing: var(--sl-font-body-condense-letter-spacing);
93
93
  display: flex;
94
94
  align-items: center;
95
95
  gap: var(--sl-space-1);
@@ -257,11 +257,11 @@
257
257
  user-select: none;
258
258
  outline: none;
259
259
  transition: var(--sl-item-transition);
260
- font-family: var(--sl-font-base-font-family);
261
- font-size: var(--sl-font-base-font-size);
262
- font-weight: var(--sl-font-base-font-weight);
263
- line-height: var(--sl-font-base-line-height);
264
- letter-spacing: var(--sl-font-base-letter-spacing);
260
+ font-family: var(--sl-font-body-base-font-family);
261
+ font-size: var(--sl-font-body-base-font-size);
262
+ font-weight: var(--sl-font-body-base-font-weight);
263
+ line-height: var(--sl-font-body-base-line-height);
264
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
265
265
  cursor: pointer;
266
266
  list-style: none;
267
267
  }
@@ -273,11 +273,11 @@
273
273
  }
274
274
 
275
275
  .ComboboxItem[data-selected] {
276
- font-family: var(--sl-font-base-selected-font-family);
277
- font-size: var(--sl-font-base-selected-font-size);
278
- font-weight: var(--sl-font-base-selected-font-weight);
279
- line-height: var(--sl-font-base-selected-line-height);
280
- letter-spacing: var(--sl-font-base-selected-letter-spacing);
276
+ font-family: var(--sl-font-selected-base-font-family);
277
+ font-size: var(--sl-font-selected-base-font-size);
278
+ font-weight: var(--sl-font-selected-base-font-weight);
279
+ line-height: var(--sl-font-selected-base-line-height);
280
+ letter-spacing: var(--sl-font-selected-base-letter-spacing);
281
281
  background: var(--sl-item-background-selected);
282
282
  color: var(--sl-item-color-selected);
283
283
  }
@@ -313,12 +313,12 @@
313
313
  ============================================ */
314
314
 
315
315
  .ComboboxGroupLabel {
316
- font-family: var(--sl-font-condense-subtitle-label-font-family);
317
- font-size: var(--sl-font-condense-subtitle-label-font-size);
318
- font-weight: var(--sl-font-condense-subtitle-label-font-weight);
319
- line-height: var(--sl-font-condense-subtitle-label-line-height);
320
- letter-spacing: var(--sl-font-condense-subtitle-label-letter-spacing);
321
- text-transform: var(--sl-font-condense-subtitle-label-text-transform);
316
+ font-family: var(--sl-font-eyebrow-condense-font-family);
317
+ font-size: var(--sl-font-eyebrow-condense-font-size);
318
+ font-weight: var(--sl-font-eyebrow-condense-font-weight);
319
+ line-height: var(--sl-font-eyebrow-condense-line-height);
320
+ letter-spacing: var(--sl-font-eyebrow-condense-letter-spacing);
321
+ text-transform: var(--sl-font-eyebrow-condense-text-transform);
322
322
  padding-block: var(--sl-popup-group-label-padding-top) var(--sl-popup-group-label-padding-bottom);
323
323
  padding-inline: var(--sl-item-padding-inline);
324
324
  color: var(--sl-text-secondary);
@@ -332,11 +332,11 @@
332
332
  }
333
333
 
334
334
  .ComboboxEmpty:not(:empty) {
335
- font-family: var(--sl-font-condense-font-family);
336
- font-size: var(--sl-font-condense-font-size);
337
- font-weight: var(--sl-font-condense-font-weight);
338
- line-height: var(--sl-font-condense-line-height);
339
- letter-spacing: var(--sl-font-condense-letter-spacing);
335
+ font-family: var(--sl-font-body-condense-font-family);
336
+ font-size: var(--sl-font-body-condense-font-size);
337
+ font-weight: var(--sl-font-body-condense-font-weight);
338
+ line-height: var(--sl-font-body-condense-line-height);
339
+ letter-spacing: var(--sl-font-body-condense-letter-spacing);
340
340
  padding-block: var(--sl-popup-empty-padding-block);
341
341
  padding-inline: var(--sl-item-padding-inline);
342
342
  color: var(--sl-text-tertiary);
@@ -347,11 +347,11 @@
347
347
  and shown while results load or when it has a message. */
348
348
  .ComboboxPopup[aria-busy] .ComboboxStatus,
349
349
  .ComboboxStatus:not(:empty) {
350
- font-family: var(--sl-font-condense-font-family);
351
- font-size: var(--sl-font-condense-font-size);
352
- font-weight: var(--sl-font-condense-font-weight);
353
- line-height: var(--sl-font-condense-line-height);
354
- letter-spacing: var(--sl-font-condense-letter-spacing);
350
+ font-family: var(--sl-font-body-condense-font-family);
351
+ font-size: var(--sl-font-body-condense-font-size);
352
+ font-weight: var(--sl-font-body-condense-font-weight);
353
+ line-height: var(--sl-font-body-condense-line-height);
354
+ letter-spacing: var(--sl-font-body-condense-letter-spacing);
355
355
  position: static;
356
356
  width: auto;
357
357
  height: auto;
@@ -383,11 +383,11 @@
383
383
  border-radius: var(--sl-field-radius);
384
384
  transition: var(--sl-field-transition);
385
385
  outline: none;
386
- font-family: var(--sl-font-base-font-family);
387
- font-size: var(--sl-font-base-font-size);
388
- font-weight: var(--sl-font-base-font-weight);
389
- line-height: var(--sl-font-base-line-height);
390
- letter-spacing: var(--sl-font-base-letter-spacing);
386
+ font-family: var(--sl-font-body-base-font-family);
387
+ font-size: var(--sl-font-body-base-font-size);
388
+ font-weight: var(--sl-font-body-base-font-weight);
389
+ line-height: var(--sl-font-body-base-line-height);
390
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
391
391
  display: flex;
392
392
  align-items: center;
393
393
  justify-content: space-between;
@@ -444,20 +444,20 @@
444
444
  }
445
445
 
446
446
  .ComboboxItemTitle {
447
- font-family: var(--sl-font-base-trigger-font-family);
448
- font-size: var(--sl-font-base-trigger-font-size);
449
- font-weight: var(--sl-font-base-trigger-font-weight);
450
- line-height: var(--sl-font-base-trigger-line-height);
451
- letter-spacing: var(--sl-font-base-trigger-letter-spacing);
447
+ font-family: var(--sl-font-trigger-base-font-family);
448
+ font-size: var(--sl-font-trigger-base-font-size);
449
+ font-weight: var(--sl-font-trigger-base-font-weight);
450
+ line-height: var(--sl-font-trigger-base-line-height);
451
+ letter-spacing: var(--sl-font-trigger-base-letter-spacing);
452
452
  color: var(--sl-text-primary);
453
453
  }
454
454
 
455
455
  .ComboboxItemSubtitle {
456
- font-family: var(--sl-font-condense-font-family);
457
- font-size: var(--sl-font-condense-font-size);
458
- font-weight: var(--sl-font-condense-font-weight);
459
- line-height: var(--sl-font-condense-line-height);
460
- letter-spacing: var(--sl-font-condense-letter-spacing);
456
+ font-family: var(--sl-font-body-condense-font-family);
457
+ font-size: var(--sl-font-body-condense-font-size);
458
+ font-weight: var(--sl-font-body-condense-font-weight);
459
+ line-height: var(--sl-font-body-condense-line-height);
460
+ letter-spacing: var(--sl-font-body-condense-letter-spacing);
461
461
  display: flex;
462
462
  gap: var(--sl-space-2);
463
463
  margin-top: var(--sl-space-0-5);
@@ -465,20 +465,20 @@
465
465
  }
466
466
 
467
467
  .ComboboxItemUsername {
468
- font-family: var(--sl-font-base-label-font-family);
469
- font-size: var(--sl-font-base-label-font-size);
470
- font-weight: var(--sl-font-base-label-font-weight);
471
- line-height: var(--sl-font-base-label-line-height);
472
- letter-spacing: var(--sl-font-base-label-letter-spacing);
468
+ font-family: var(--sl-font-label-base-font-family);
469
+ font-size: var(--sl-font-label-base-font-size);
470
+ font-weight: var(--sl-font-label-base-font-weight);
471
+ line-height: var(--sl-font-label-base-line-height);
472
+ letter-spacing: var(--sl-font-label-base-letter-spacing);
473
473
  color: var(--sl-interactive-default);
474
474
  }
475
475
 
476
476
  .ComboboxItemEmail {
477
- font-family: var(--sl-font-minimize-font-family);
478
- font-size: var(--sl-font-minimize-font-size);
479
- font-weight: var(--sl-font-minimize-font-weight);
480
- line-height: var(--sl-font-minimize-line-height);
481
- letter-spacing: var(--sl-font-minimize-letter-spacing);
477
+ font-family: var(--sl-font-body-minimize-font-family);
478
+ font-size: var(--sl-font-body-minimize-font-size);
479
+ font-weight: var(--sl-font-body-minimize-font-weight);
480
+ line-height: var(--sl-font-body-minimize-line-height);
481
+ letter-spacing: var(--sl-font-body-minimize-letter-spacing);
482
482
  margin-top: var(--sl-space-0-5);
483
483
  color: var(--sl-text-tertiary);
484
484
  }
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Context Menu - Mojave Theme
3
3
  *
4
4
  * No component tokens. Opens on right-click; the trigger area only sets the cursor. The popup is the popup concept, rows are item rows at the
@@ -57,11 +57,11 @@
57
57
  user-select: none;
58
58
  outline: none;
59
59
  transition: var(--sl-item-transition);
60
- font-family: var(--sl-font-base-font-family);
61
- font-size: var(--sl-font-base-font-size);
62
- font-weight: var(--sl-font-base-font-weight);
63
- line-height: var(--sl-font-base-line-height);
64
- letter-spacing: var(--sl-font-base-letter-spacing);
60
+ font-family: var(--sl-font-body-base-font-family);
61
+ font-size: var(--sl-font-body-base-font-size);
62
+ font-weight: var(--sl-font-body-base-font-weight);
63
+ line-height: var(--sl-font-body-base-line-height);
64
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
65
65
  padding-block: var(--sl-item-padding-block-dense);
66
66
  cursor: pointer;
67
67
  list-style: none;
@@ -124,12 +124,12 @@
124
124
  }
125
125
 
126
126
  .ContextMenuGroupLabel {
127
- font-family: var(--sl-font-condense-subtitle-label-font-family);
128
- font-size: var(--sl-font-condense-subtitle-label-font-size);
129
- font-weight: var(--sl-font-condense-subtitle-label-font-weight);
130
- line-height: var(--sl-font-condense-subtitle-label-line-height);
131
- letter-spacing: var(--sl-font-condense-subtitle-label-letter-spacing);
132
- text-transform: var(--sl-font-condense-subtitle-label-text-transform);
127
+ font-family: var(--sl-font-eyebrow-condense-font-family);
128
+ font-size: var(--sl-font-eyebrow-condense-font-size);
129
+ font-weight: var(--sl-font-eyebrow-condense-font-weight);
130
+ line-height: var(--sl-font-eyebrow-condense-line-height);
131
+ letter-spacing: var(--sl-font-eyebrow-condense-letter-spacing);
132
+ text-transform: var(--sl-font-eyebrow-condense-text-transform);
133
133
  padding-block: var(--sl-popup-group-label-padding-top) var(--sl-popup-group-label-padding-bottom);
134
134
  padding-inline: var(--sl-item-padding-inline);
135
135
  color: var(--sl-text-secondary);
@@ -1,8 +1,8 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Dialog and Alert dialog - Mojave Theme
3
3
  *
4
4
  * Both are centered modals built from the modal concept (tokens/semantic/modal.json):
5
- * the modal-surface and modal-backdrop patterns, the maximize-xl heading and base
5
+ * the modal-surface and modal-backdrop patterns, the title-amplify heading and base
6
6
  * description. Alert dialog shares every rule here; AlertDialog.css adds nothing of
7
7
  * its own. Action buttons are plain .Button elements, so they follow the emphasis levels.
8
8
  */
@@ -92,11 +92,11 @@
92
92
  /* Title */
93
93
  .DialogTitle,
94
94
  .AlertDialogTitle {
95
- font-family: var(--sl-font-maximize-xl-font-family);
96
- font-size: var(--sl-font-maximize-xl-font-size);
97
- font-weight: var(--sl-font-maximize-xl-font-weight);
98
- line-height: var(--sl-font-maximize-xl-line-height);
99
- letter-spacing: var(--sl-font-maximize-xl-letter-spacing);
95
+ font-family: var(--sl-font-title-amplify-font-family);
96
+ font-size: var(--sl-font-title-amplify-font-size);
97
+ font-weight: var(--sl-font-title-amplify-font-weight);
98
+ line-height: var(--sl-font-title-amplify-line-height);
99
+ letter-spacing: var(--sl-font-title-amplify-letter-spacing);
100
100
  color: var(--sl-modal-title-color);
101
101
  margin: 0;
102
102
  }
@@ -104,11 +104,11 @@
104
104
  /* Description */
105
105
  .DialogDescription,
106
106
  .AlertDialogDescription {
107
- font-family: var(--sl-font-base-font-family);
108
- font-size: var(--sl-font-base-font-size);
109
- font-weight: var(--sl-font-base-font-weight);
110
- line-height: var(--sl-font-base-line-height);
111
- letter-spacing: var(--sl-font-base-letter-spacing);
107
+ font-family: var(--sl-font-body-base-font-family);
108
+ font-size: var(--sl-font-body-base-font-size);
109
+ font-weight: var(--sl-font-body-base-font-weight);
110
+ line-height: var(--sl-font-body-base-line-height);
111
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
112
112
  color: var(--sl-modal-description-color);
113
113
  margin: 0;
114
114
  }
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Drawer - a panel that slides in from an edge and can be swiped away.
3
3
  The surface, scrim, heading and motion are the modal concept's (--sl-modal-*), so a
4
4
  drawer reads as a dialog's sibling; only its size and grab bar are its own
@@ -106,21 +106,21 @@
106
106
  }
107
107
 
108
108
  .DrawerTitle {
109
- font-family: var(--sl-font-maximize-xl-font-family);
110
- font-size: var(--sl-font-maximize-xl-font-size);
111
- font-weight: var(--sl-font-maximize-xl-font-weight);
112
- line-height: var(--sl-font-maximize-xl-line-height);
113
- letter-spacing: var(--sl-font-maximize-xl-letter-spacing);
109
+ font-family: var(--sl-font-title-amplify-font-family);
110
+ font-size: var(--sl-font-title-amplify-font-size);
111
+ font-weight: var(--sl-font-title-amplify-font-weight);
112
+ line-height: var(--sl-font-title-amplify-line-height);
113
+ letter-spacing: var(--sl-font-title-amplify-letter-spacing);
114
114
  margin: 0;
115
115
  color: var(--sl-modal-title-color);
116
116
  }
117
117
 
118
118
  .DrawerDescription {
119
- font-family: var(--sl-font-base-font-family);
120
- font-size: var(--sl-font-base-font-size);
121
- font-weight: var(--sl-font-base-font-weight);
122
- line-height: var(--sl-font-base-line-height);
123
- letter-spacing: var(--sl-font-base-letter-spacing);
119
+ font-family: var(--sl-font-body-base-font-family);
120
+ font-size: var(--sl-font-body-base-font-size);
121
+ font-weight: var(--sl-font-body-base-font-weight);
122
+ line-height: var(--sl-font-body-base-line-height);
123
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
124
124
  margin: 0;
125
125
  color: var(--sl-modal-description-color);
126
126
  }
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Field - Mojave Theme
3
3
  *
4
4
  * Label, control, description and error. No component tokens: spacing is the field
@@ -20,11 +20,11 @@
20
20
 
21
21
  .FieldLabel,
22
22
  .NumberFieldLabel {
23
- font-family: var(--sl-font-base-label-font-family);
24
- font-size: var(--sl-font-base-label-font-size);
25
- font-weight: var(--sl-font-base-label-font-weight);
26
- line-height: var(--sl-font-base-label-line-height);
27
- letter-spacing: var(--sl-font-base-label-letter-spacing);
23
+ font-family: var(--sl-font-label-base-font-family);
24
+ font-size: var(--sl-font-label-base-font-size);
25
+ font-weight: var(--sl-font-label-base-font-weight);
26
+ line-height: var(--sl-font-label-base-line-height);
27
+ letter-spacing: var(--sl-font-label-base-letter-spacing);
28
28
  display: block;
29
29
  margin-bottom: var(--sl-field-label-spacing);
30
30
  color: var(--sl-text-primary);
@@ -32,22 +32,22 @@
32
32
 
33
33
  .FieldDescription,
34
34
  .NumberFieldDescription {
35
- font-family: var(--sl-font-condense-font-family);
36
- font-size: var(--sl-font-condense-font-size);
37
- font-weight: var(--sl-font-condense-font-weight);
38
- line-height: var(--sl-font-condense-line-height);
39
- letter-spacing: var(--sl-font-condense-letter-spacing);
35
+ font-family: var(--sl-font-body-condense-font-family);
36
+ font-size: var(--sl-font-body-condense-font-size);
37
+ font-weight: var(--sl-font-body-condense-font-weight);
38
+ line-height: var(--sl-font-body-condense-line-height);
39
+ letter-spacing: var(--sl-font-body-condense-letter-spacing);
40
40
  margin: var(--sl-field-message-spacing) 0 0;
41
41
  color: var(--sl-text-secondary);
42
42
  }
43
43
 
44
44
  .FieldError,
45
45
  .NumberFieldError {
46
- font-family: var(--sl-font-base-label-font-family);
47
- font-size: var(--sl-font-base-label-font-size);
48
- font-weight: var(--sl-font-base-label-font-weight);
49
- line-height: var(--sl-font-base-label-line-height);
50
- letter-spacing: var(--sl-font-base-label-letter-spacing);
46
+ font-family: var(--sl-font-label-base-font-family);
47
+ font-size: var(--sl-font-label-base-font-size);
48
+ font-weight: var(--sl-font-label-base-font-weight);
49
+ line-height: var(--sl-font-label-base-line-height);
50
+ letter-spacing: var(--sl-font-label-base-letter-spacing);
51
51
  margin: var(--sl-field-message-spacing) 0 0;
52
52
  color: var(--sl-status-error);
53
53
  }
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Fieldset - Mojave Theme
3
3
  *
4
4
  * No component tokens: a titled group of fields, spaced by the stack gaps, with
@@ -20,22 +20,22 @@
20
20
  }
21
21
 
22
22
  .FieldsetLegend {
23
- font-family: var(--sl-font-maximize-lg-font-family);
24
- font-size: var(--sl-font-maximize-lg-font-size);
25
- font-weight: var(--sl-font-maximize-lg-font-weight);
26
- line-height: var(--sl-font-maximize-lg-line-height);
27
- letter-spacing: var(--sl-font-maximize-lg-letter-spacing);
23
+ font-family: var(--sl-font-title-magnify-font-family);
24
+ font-size: var(--sl-font-title-magnify-font-size);
25
+ font-weight: var(--sl-font-title-magnify-font-weight);
26
+ line-height: var(--sl-font-title-magnify-line-height);
27
+ letter-spacing: var(--sl-font-title-magnify-letter-spacing);
28
28
  margin-bottom: var(--sl-space-block-sm);
29
29
  padding: 0;
30
30
  color: var(--sl-text-primary);
31
31
  }
32
32
 
33
33
  .FieldsetDescription {
34
- font-family: var(--sl-font-condense-font-family);
35
- font-size: var(--sl-font-condense-font-size);
36
- font-weight: var(--sl-font-condense-font-weight);
37
- line-height: var(--sl-font-condense-line-height);
38
- letter-spacing: var(--sl-font-condense-letter-spacing);
34
+ font-family: var(--sl-font-body-condense-font-family);
35
+ font-size: var(--sl-font-body-condense-font-size);
36
+ font-weight: var(--sl-font-body-condense-font-weight);
37
+ line-height: var(--sl-font-body-condense-line-height);
38
+ letter-spacing: var(--sl-font-body-condense-letter-spacing);
39
39
  margin-bottom: var(--sl-space-block-sm);
40
40
  color: var(--sl-text-secondary);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Form - Mojave Theme
3
3
  *
4
4
  * No component tokens: fields stack with the large block space, and the action
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Input - Mojave Theme
3
3
  *
4
4
  * No component tokens: the look is the field concept (tokens/semantic/field.json),
@@ -25,11 +25,11 @@
25
25
  border-radius: var(--sl-field-radius);
26
26
  transition: var(--sl-field-transition);
27
27
  outline: none;
28
- font-family: var(--sl-font-base-font-family);
29
- font-size: var(--sl-font-base-font-size);
30
- font-weight: var(--sl-font-base-font-weight);
31
- line-height: var(--sl-font-base-line-height);
32
- letter-spacing: var(--sl-font-base-letter-spacing);
28
+ font-family: var(--sl-font-body-base-font-family);
29
+ font-size: var(--sl-font-body-base-font-size);
30
+ font-weight: var(--sl-font-body-base-font-weight);
31
+ line-height: var(--sl-font-body-base-line-height);
32
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
33
33
  width: 100%;
34
34
  height: var(--sl-control-height-md);
35
35
  padding-block: var(--sl-control-padding-block);
@@ -103,33 +103,33 @@
103
103
  ============================================ */
104
104
 
105
105
  .Input[data-size='xs'] {
106
- font-family: var(--sl-font-minimize-font-family);
107
- font-size: var(--sl-font-minimize-font-size);
108
- font-weight: var(--sl-font-minimize-font-weight);
109
- line-height: var(--sl-font-minimize-line-height);
110
- letter-spacing: var(--sl-font-minimize-letter-spacing);
106
+ font-family: var(--sl-font-body-minimize-font-family);
107
+ font-size: var(--sl-font-body-minimize-font-size);
108
+ font-weight: var(--sl-font-body-minimize-font-weight);
109
+ line-height: var(--sl-font-body-minimize-line-height);
110
+ letter-spacing: var(--sl-font-body-minimize-letter-spacing);
111
111
  height: var(--sl-control-height-xs);
112
112
  padding-block: var(--sl-control-padding-block-xs);
113
113
  padding-inline: var(--sl-control-padding-inline-xs);
114
114
  }
115
115
 
116
116
  .Input[data-size='sm'] {
117
- font-family: var(--sl-font-condense-font-family);
118
- font-size: var(--sl-font-condense-font-size);
119
- font-weight: var(--sl-font-condense-font-weight);
120
- line-height: var(--sl-font-condense-line-height);
121
- letter-spacing: var(--sl-font-condense-letter-spacing);
117
+ font-family: var(--sl-font-body-condense-font-family);
118
+ font-size: var(--sl-font-body-condense-font-size);
119
+ font-weight: var(--sl-font-body-condense-font-weight);
120
+ line-height: var(--sl-font-body-condense-line-height);
121
+ letter-spacing: var(--sl-font-body-condense-letter-spacing);
122
122
  height: var(--sl-control-height-sm);
123
123
  padding-block: var(--sl-control-padding-block-sm);
124
124
  padding-inline: var(--sl-control-padding-inline-sm);
125
125
  }
126
126
 
127
127
  .Input[data-size='lg'] {
128
- font-family: var(--sl-font-magnify-font-family);
129
- font-size: var(--sl-font-magnify-font-size);
130
- font-weight: var(--sl-font-magnify-font-weight);
131
- line-height: var(--sl-font-magnify-line-height);
132
- letter-spacing: var(--sl-font-magnify-letter-spacing);
128
+ font-family: var(--sl-font-body-magnify-font-family);
129
+ font-size: var(--sl-font-body-magnify-font-size);
130
+ font-weight: var(--sl-font-body-magnify-font-weight);
131
+ line-height: var(--sl-font-body-magnify-line-height);
132
+ letter-spacing: var(--sl-font-body-magnify-letter-spacing);
133
133
  height: var(--sl-control-height-lg);
134
134
  padding-block: var(--sl-control-padding-block-lg);
135
135
  padding-inline: var(--sl-control-padding-inline-lg);
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Menu - Mojave Theme
3
3
  *
4
4
  * No component tokens. The trigger is a Button. The popup is the popup concept, rows are item rows at the
@@ -52,11 +52,11 @@
52
52
  user-select: none;
53
53
  outline: none;
54
54
  transition: var(--sl-item-transition);
55
- font-family: var(--sl-font-base-font-family);
56
- font-size: var(--sl-font-base-font-size);
57
- font-weight: var(--sl-font-base-font-weight);
58
- line-height: var(--sl-font-base-line-height);
59
- letter-spacing: var(--sl-font-base-letter-spacing);
55
+ font-family: var(--sl-font-body-base-font-family);
56
+ font-size: var(--sl-font-body-base-font-size);
57
+ font-weight: var(--sl-font-body-base-font-weight);
58
+ line-height: var(--sl-font-body-base-line-height);
59
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
60
60
  padding-block: var(--sl-item-padding-block-dense);
61
61
  cursor: pointer;
62
62
  list-style: none;
@@ -119,12 +119,12 @@
119
119
  }
120
120
 
121
121
  .MenuGroupLabel {
122
- font-family: var(--sl-font-condense-subtitle-label-font-family);
123
- font-size: var(--sl-font-condense-subtitle-label-font-size);
124
- font-weight: var(--sl-font-condense-subtitle-label-font-weight);
125
- line-height: var(--sl-font-condense-subtitle-label-line-height);
126
- letter-spacing: var(--sl-font-condense-subtitle-label-letter-spacing);
127
- text-transform: var(--sl-font-condense-subtitle-label-text-transform);
122
+ font-family: var(--sl-font-eyebrow-condense-font-family);
123
+ font-size: var(--sl-font-eyebrow-condense-font-size);
124
+ font-weight: var(--sl-font-eyebrow-condense-font-weight);
125
+ line-height: var(--sl-font-eyebrow-condense-line-height);
126
+ letter-spacing: var(--sl-font-eyebrow-condense-letter-spacing);
127
+ text-transform: var(--sl-font-eyebrow-condense-text-transform);
128
128
  padding-block: var(--sl-popup-group-label-padding-top) var(--sl-popup-group-label-padding-bottom);
129
129
  padding-inline: var(--sl-item-padding-inline);
130
130
  color: var(--sl-text-secondary);
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Menubar - Mojave Theme
3
3
  *
4
4
  * No component tokens. A row of quiet triggers, each opening a menu. The popup is the popup concept, rows are item rows at the
@@ -18,11 +18,11 @@
18
18
 
19
19
  /* Triggers look like menu rows until their menu opens, then like a selected row. */
20
20
  .MenubarTrigger {
21
- font-family: var(--sl-font-condense-trigger-font-family);
22
- font-size: var(--sl-font-condense-trigger-font-size);
23
- font-weight: var(--sl-font-condense-trigger-font-weight);
24
- line-height: var(--sl-font-condense-trigger-line-height);
25
- letter-spacing: var(--sl-font-condense-trigger-letter-spacing);
21
+ font-family: var(--sl-font-trigger-condense-font-family);
22
+ font-size: var(--sl-font-trigger-condense-font-size);
23
+ font-weight: var(--sl-font-trigger-condense-font-weight);
24
+ line-height: var(--sl-font-trigger-condense-line-height);
25
+ letter-spacing: var(--sl-font-trigger-condense-letter-spacing);
26
26
  padding-block: var(--sl-item-padding-block-dense);
27
27
  padding-inline: var(--sl-item-padding-inline);
28
28
  border: none;
@@ -96,11 +96,11 @@
96
96
  user-select: none;
97
97
  outline: none;
98
98
  transition: var(--sl-item-transition);
99
- font-family: var(--sl-font-base-font-family);
100
- font-size: var(--sl-font-base-font-size);
101
- font-weight: var(--sl-font-base-font-weight);
102
- line-height: var(--sl-font-base-line-height);
103
- letter-spacing: var(--sl-font-base-letter-spacing);
99
+ font-family: var(--sl-font-body-base-font-family);
100
+ font-size: var(--sl-font-body-base-font-size);
101
+ font-weight: var(--sl-font-body-base-font-weight);
102
+ line-height: var(--sl-font-body-base-line-height);
103
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
104
104
  padding-block: var(--sl-item-padding-block-dense);
105
105
  cursor: pointer;
106
106
  list-style: none;
@@ -163,12 +163,12 @@
163
163
  }
164
164
 
165
165
  .MenubarGroupLabel {
166
- font-family: var(--sl-font-condense-subtitle-label-font-family);
167
- font-size: var(--sl-font-condense-subtitle-label-font-size);
168
- font-weight: var(--sl-font-condense-subtitle-label-font-weight);
169
- line-height: var(--sl-font-condense-subtitle-label-line-height);
170
- letter-spacing: var(--sl-font-condense-subtitle-label-letter-spacing);
171
- text-transform: var(--sl-font-condense-subtitle-label-text-transform);
166
+ font-family: var(--sl-font-eyebrow-condense-font-family);
167
+ font-size: var(--sl-font-eyebrow-condense-font-size);
168
+ font-weight: var(--sl-font-eyebrow-condense-font-weight);
169
+ line-height: var(--sl-font-eyebrow-condense-line-height);
170
+ letter-spacing: var(--sl-font-eyebrow-condense-letter-spacing);
171
+ text-transform: var(--sl-font-eyebrow-condense-text-transform);
172
172
  padding-block: var(--sl-popup-group-label-padding-top) var(--sl-popup-group-label-padding-bottom);
173
173
  padding-inline: var(--sl-item-padding-inline);
174
174
  color: var(--sl-text-secondary);
@@ -1,4 +1,4 @@
1
- /* @scattered-light/loomiere-base-ui 0.2.0 · styles for @base-ui/react 1.9.0 */
1
+ /* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
2
2
  /* Meter - Mojave Theme
3
3
  *
4
4
  * A gauge (tokens/semantic/gauge.json). The fill is the solid color of the scope around it:
@@ -14,11 +14,11 @@
14
14
  }
15
15
 
16
16
  .MeterLabel {
17
- font-family: var(--sl-font-base-label-font-family);
18
- font-size: var(--sl-font-base-label-font-size);
19
- font-weight: var(--sl-font-base-label-font-weight);
20
- line-height: var(--sl-font-base-label-line-height);
21
- letter-spacing: var(--sl-font-base-label-letter-spacing);
17
+ font-family: var(--sl-font-label-base-font-family);
18
+ font-size: var(--sl-font-label-base-font-size);
19
+ font-weight: var(--sl-font-label-base-font-weight);
20
+ line-height: var(--sl-font-label-base-line-height);
21
+ letter-spacing: var(--sl-font-label-base-letter-spacing);
22
22
  color: var(--sl-gauge-label-color);
23
23
  display: flex;
24
24
  justify-content: space-between;
@@ -41,11 +41,11 @@
41
41
  }
42
42
 
43
43
  .MeterValue {
44
- font-family: var(--sl-font-minimize-font-family);
45
- font-size: var(--sl-font-minimize-font-size);
46
- font-weight: var(--sl-font-minimize-font-weight);
47
- line-height: var(--sl-font-minimize-line-height);
48
- letter-spacing: var(--sl-font-minimize-letter-spacing);
44
+ font-family: var(--sl-font-body-minimize-font-family);
45
+ font-size: var(--sl-font-body-minimize-font-size);
46
+ font-weight: var(--sl-font-body-minimize-font-weight);
47
+ line-height: var(--sl-font-body-minimize-line-height);
48
+ letter-spacing: var(--sl-font-body-minimize-letter-spacing);
49
49
  color: var(--sl-gauge-value-color);
50
50
  text-align: right;
51
51
  }