@scattered-light/loomiere-mojave 0.3.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 (70) hide show
  1. package/dist/exports/AGENTS.md +18 -13
  2. package/dist/exports/ag-grid-v32.css +8 -8
  3. package/dist/exports/ag-grid-v33.css +3 -3
  4. package/dist/exports/ag-grid-v33.js +6 -6
  5. package/dist/exports/ag-grid-v36.css +3 -3
  6. package/dist/exports/ag-grid-v36.js +7 -7
  7. package/dist/exports/catalog.json +4 -4
  8. package/dist/exports/chakra.js +453 -467
  9. package/dist/exports/design-system/README.md +17 -12
  10. package/dist/exports/design-system/components/Accordion/README.md +1 -1
  11. package/dist/exports/design-system/components/Accordion/preview.html +1 -1
  12. package/dist/exports/design-system/components/AlertDialog/preview.html +1 -1
  13. package/dist/exports/design-system/components/Autocomplete/preview.html +1 -1
  14. package/dist/exports/design-system/components/Avatar/README.md +1 -1
  15. package/dist/exports/design-system/components/Avatar/preview.html +1 -1
  16. package/dist/exports/design-system/components/Button/preview.html +3 -3
  17. package/dist/exports/design-system/components/Checkbox/preview.html +1 -1
  18. package/dist/exports/design-system/components/CheckboxGroup/preview.html +1 -1
  19. package/dist/exports/design-system/components/Collapsible/preview.html +1 -1
  20. package/dist/exports/design-system/components/Combobox/preview.html +1 -1
  21. package/dist/exports/design-system/components/ContextMenu/preview.html +1 -1
  22. package/dist/exports/design-system/components/Dialog/README.md +1 -1
  23. package/dist/exports/design-system/components/Dialog/preview.html +1 -1
  24. package/dist/exports/design-system/components/Drawer/preview.html +1 -1
  25. package/dist/exports/design-system/components/Field/preview.html +1 -1
  26. package/dist/exports/design-system/components/Fieldset/preview.html +1 -1
  27. package/dist/exports/design-system/components/Form/preview.html +1 -1
  28. package/dist/exports/design-system/components/Input/preview.html +1 -1
  29. package/dist/exports/design-system/components/Menu/preview.html +1 -1
  30. package/dist/exports/design-system/components/Menubar/preview.html +1 -1
  31. package/dist/exports/design-system/components/Meter/preview.html +1 -1
  32. package/dist/exports/design-system/components/NavigationMenu/preview.html +1 -1
  33. package/dist/exports/design-system/components/NumberField/preview.html +1 -1
  34. package/dist/exports/design-system/components/OTPField/preview.html +1 -1
  35. package/dist/exports/design-system/components/Popover/preview.html +1 -1
  36. package/dist/exports/design-system/components/PreviewCard/README.md +1 -1
  37. package/dist/exports/design-system/components/PreviewCard/preview.html +1 -1
  38. package/dist/exports/design-system/components/Progress/preview.html +1 -1
  39. package/dist/exports/design-system/components/Radio/preview.html +1 -1
  40. package/dist/exports/design-system/components/ScrollArea/preview.html +1 -1
  41. package/dist/exports/design-system/components/Select/preview.html +1 -1
  42. package/dist/exports/design-system/components/Separator/preview.html +1 -1
  43. package/dist/exports/design-system/components/Slider/preview.html +1 -1
  44. package/dist/exports/design-system/components/Switch/preview.html +1 -1
  45. package/dist/exports/design-system/components/Table/README.md +50 -0
  46. package/dist/exports/design-system/components/Table/preview.html +19 -0
  47. package/dist/exports/design-system/components/Tabs/preview.html +1 -1
  48. package/dist/exports/design-system/components/Toast/preview.html +1 -1
  49. package/dist/exports/design-system/components/Toggle/README.md +1 -1
  50. package/dist/exports/design-system/components/Toggle/preview.html +1 -1
  51. package/dist/exports/design-system/components/ToggleGroup/preview.html +1 -1
  52. package/dist/exports/design-system/components/Toolbar/preview.html +1 -1
  53. package/dist/exports/design-system/components/Tooltip/preview.html +1 -1
  54. package/dist/exports/design-system/components/bundle.css +1496 -1143
  55. package/dist/exports/design-system/components/bundle.js +5 -5
  56. package/dist/exports/design-system/components/index.d.ts +1 -11
  57. package/dist/exports/design-system/tokens.json +267 -155
  58. package/dist/exports/figma.json +1 -1
  59. package/dist/exports/mui.js +264 -268
  60. package/dist/exports/shadcn.css +12 -12
  61. package/dist/exports/tailwind.css +162 -184
  62. package/dist/exports/tokens.dtcg.json +1711 -629
  63. package/dist/tokens.css +664 -354
  64. package/dist/tokens.d.ts +313 -61
  65. package/dist/tokens.js +341 -89
  66. package/dist/tokens.json +2892 -1037
  67. package/dist/utilities.css +173 -200
  68. package/package.json +3 -2
  69. package/dist/exports/design-system/components/IconButton/README.md +0 -31
  70. package/dist/exports/design-system/components/IconButton/preview.html +0 -19
@@ -3,266 +3,239 @@
3
3
  /* Text styles: one class per text style token. */
4
4
 
5
5
  /* Body copy in the base tier, the default UI and body text. */
6
- .text-style-base {
7
- font-family: var(--sl-font-base-font-family);
8
- font-size: var(--sl-font-base-font-size);
9
- font-weight: var(--sl-font-base-font-weight);
10
- line-height: var(--sl-font-base-line-height);
11
- letter-spacing: var(--sl-font-base-letter-spacing);
6
+ .text-style-body-base {
7
+ font-family: var(--sl-font-body-base-font-family);
8
+ font-size: var(--sl-font-body-base-font-size);
9
+ font-weight: var(--sl-font-body-base-font-weight);
10
+ line-height: var(--sl-font-body-base-line-height);
11
+ letter-spacing: var(--sl-font-body-base-letter-spacing);
12
12
  }
13
13
 
14
14
  /* The selected or current item in the base tier (the default UI and body text): selected tabs and toggles, the current nav item or page. Base body text at semibold, so selection reads without changing size. */
15
- .text-style-base-selected {
16
- font-family: var(--sl-font-base-selected-font-family);
17
- font-size: var(--sl-font-base-selected-font-size);
18
- font-weight: var(--sl-font-base-selected-font-weight);
19
- line-height: var(--sl-font-base-selected-line-height);
20
- letter-spacing: var(--sl-font-base-selected-letter-spacing);
15
+ .text-style-selected-base {
16
+ font-family: var(--sl-font-selected-base-font-family);
17
+ font-size: var(--sl-font-selected-base-font-size);
18
+ font-weight: var(--sl-font-selected-base-font-weight);
19
+ line-height: var(--sl-font-selected-base-line-height);
20
+ letter-spacing: var(--sl-font-selected-base-letter-spacing);
21
21
  }
22
22
 
23
23
  /* Form labels in the base tier, the default UI and body text. */
24
- .text-style-base-label {
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);
24
+ .text-style-label-base {
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
  }
31
31
 
32
32
  /* Links in the base tier. The same type as base body text: a link stands out by color and underline, not by its type. */
33
- .text-style-base-link {
34
- font-family: var(--sl-font-base-link-font-family);
35
- font-size: var(--sl-font-base-link-font-size);
36
- font-weight: var(--sl-font-base-link-font-weight);
37
- line-height: var(--sl-font-base-link-line-height);
38
- letter-spacing: var(--sl-font-base-link-letter-spacing);
33
+ .text-style-link-base {
34
+ font-family: var(--sl-font-link-base-font-family);
35
+ font-size: var(--sl-font-link-base-font-size);
36
+ font-weight: var(--sl-font-link-base-font-weight);
37
+ line-height: var(--sl-font-link-base-line-height);
38
+ letter-spacing: var(--sl-font-link-base-letter-spacing);
39
39
  }
40
40
 
41
41
  /* Subtitles in the base tier, the default UI and body text. */
42
- .text-style-base-subtitle {
43
- font-family: var(--sl-font-base-subtitle-font-family);
44
- font-size: var(--sl-font-base-subtitle-font-size);
45
- font-weight: var(--sl-font-base-subtitle-font-weight);
46
- line-height: var(--sl-font-base-subtitle-line-height);
47
- letter-spacing: var(--sl-font-base-subtitle-letter-spacing);
42
+ .text-style-subtitle-base {
43
+ font-family: var(--sl-font-subtitle-base-font-family);
44
+ font-size: var(--sl-font-subtitle-base-font-size);
45
+ font-weight: var(--sl-font-subtitle-base-font-weight);
46
+ line-height: var(--sl-font-subtitle-base-line-height);
47
+ letter-spacing: var(--sl-font-subtitle-base-letter-spacing);
48
48
  }
49
49
 
50
50
  /* Buttons and triggers in the base tier, the default UI and body text. */
51
- .text-style-base-trigger {
52
- font-family: var(--sl-font-base-trigger-font-family);
53
- font-size: var(--sl-font-base-trigger-font-size);
54
- font-weight: var(--sl-font-base-trigger-font-weight);
55
- line-height: var(--sl-font-base-trigger-line-height);
56
- letter-spacing: var(--sl-font-base-trigger-letter-spacing);
51
+ .text-style-trigger-base {
52
+ font-family: var(--sl-font-trigger-base-font-family);
53
+ font-size: var(--sl-font-trigger-base-font-size);
54
+ font-weight: var(--sl-font-trigger-base-font-weight);
55
+ line-height: var(--sl-font-trigger-base-line-height);
56
+ letter-spacing: var(--sl-font-trigger-base-letter-spacing);
57
+ }
58
+
59
+ /* Titles in the base tier: a toast, an accordion row, a list item heading. Titles use the display family; the tier sets the size. */
60
+ .text-style-title-base {
61
+ font-family: var(--sl-font-title-base-font-family);
62
+ font-size: var(--sl-font-title-base-font-size);
63
+ font-weight: var(--sl-font-title-base-font-weight);
64
+ line-height: var(--sl-font-title-base-line-height);
65
+ letter-spacing: var(--sl-font-title-base-letter-spacing);
57
66
  }
58
67
 
59
68
  /* Code uses the mono family so characters line up. */
60
- .text-style-code {
61
- font-family: var(--sl-font-code-font-family);
62
- font-size: var(--sl-font-code-font-size);
63
- font-weight: var(--sl-font-code-font-weight);
64
- line-height: var(--sl-font-code-line-height);
65
- letter-spacing: var(--sl-font-code-letter-spacing);
69
+ .text-style-code-condense {
70
+ font-family: var(--sl-font-code-condense-font-family);
71
+ font-size: var(--sl-font-code-condense-font-size);
72
+ font-weight: var(--sl-font-code-condense-font-weight);
73
+ line-height: var(--sl-font-code-condense-line-height);
74
+ letter-spacing: var(--sl-font-code-condense-letter-spacing);
66
75
  }
67
76
 
68
77
  /* Body copy in the condense tier, dense UI text (tables, secondary labels). */
69
- .text-style-condense {
70
- font-family: var(--sl-font-condense-font-family);
71
- font-size: var(--sl-font-condense-font-size);
72
- font-weight: var(--sl-font-condense-font-weight);
73
- line-height: var(--sl-font-condense-line-height);
74
- letter-spacing: var(--sl-font-condense-letter-spacing);
78
+ .text-style-body-condense {
79
+ font-family: var(--sl-font-body-condense-font-family);
80
+ font-size: var(--sl-font-body-condense-font-size);
81
+ font-weight: var(--sl-font-body-condense-font-weight);
82
+ line-height: var(--sl-font-body-condense-line-height);
83
+ letter-spacing: var(--sl-font-body-condense-letter-spacing);
75
84
  }
76
85
 
77
86
  /* Buttons and triggers in the condense tier (dense UI): condense body text at medium, like base-trigger one tier down. */
78
- .text-style-condense-trigger {
79
- font-family: var(--sl-font-condense-trigger-font-family);
80
- font-size: var(--sl-font-condense-trigger-font-size);
81
- font-weight: var(--sl-font-condense-trigger-font-weight);
82
- line-height: var(--sl-font-condense-trigger-line-height);
83
- letter-spacing: var(--sl-font-condense-trigger-letter-spacing);
87
+ .text-style-trigger-condense {
88
+ font-family: var(--sl-font-trigger-condense-font-family);
89
+ font-size: var(--sl-font-trigger-condense-font-size);
90
+ font-weight: var(--sl-font-trigger-condense-font-weight);
91
+ line-height: var(--sl-font-trigger-condense-line-height);
92
+ letter-spacing: var(--sl-font-trigger-condense-letter-spacing);
84
93
  }
85
94
 
86
95
  /* The selected or current item in the condense tier (dense UI text): selected tabs and toggles, the current nav item or page. Condense body text at semibold, so selection reads without changing size. */
87
- .text-style-condense-selected {
88
- font-family: var(--sl-font-condense-selected-font-family);
89
- font-size: var(--sl-font-condense-selected-font-size);
90
- font-weight: var(--sl-font-condense-selected-font-weight);
91
- line-height: var(--sl-font-condense-selected-line-height);
92
- letter-spacing: var(--sl-font-condense-selected-letter-spacing);
96
+ .text-style-selected-condense {
97
+ font-family: var(--sl-font-selected-condense-font-family);
98
+ font-size: var(--sl-font-selected-condense-font-size);
99
+ font-weight: var(--sl-font-selected-condense-font-weight);
100
+ line-height: var(--sl-font-selected-condense-line-height);
101
+ letter-spacing: var(--sl-font-selected-condense-letter-spacing);
93
102
  }
94
103
 
95
104
  /* Links in the condense tier. The same type as condense body text: a link stands out by color and underline, not by its type. */
96
- .text-style-condense-link {
97
- font-family: var(--sl-font-condense-link-font-family);
98
- font-size: var(--sl-font-condense-link-font-size);
99
- font-weight: var(--sl-font-condense-link-font-weight);
100
- line-height: var(--sl-font-condense-link-line-height);
101
- letter-spacing: var(--sl-font-condense-link-letter-spacing);
105
+ .text-style-link-condense {
106
+ font-family: var(--sl-font-link-condense-font-family);
107
+ font-size: var(--sl-font-link-condense-font-size);
108
+ font-weight: var(--sl-font-link-condense-font-weight);
109
+ line-height: var(--sl-font-link-condense-line-height);
110
+ letter-spacing: var(--sl-font-link-condense-letter-spacing);
102
111
  }
103
112
 
104
113
  /* Subtitles in the condense tier, dense UI text (tables, secondary labels). */
105
- .text-style-condense-subtitle {
106
- font-family: var(--sl-font-condense-subtitle-font-family);
107
- font-size: var(--sl-font-condense-subtitle-font-size);
108
- font-weight: var(--sl-font-condense-subtitle-font-weight);
109
- line-height: var(--sl-font-condense-subtitle-line-height);
110
- letter-spacing: var(--sl-font-condense-subtitle-letter-spacing);
114
+ .text-style-subtitle-condense {
115
+ font-family: var(--sl-font-subtitle-condense-font-family);
116
+ font-size: var(--sl-font-subtitle-condense-font-size);
117
+ font-weight: var(--sl-font-subtitle-condense-font-weight);
118
+ line-height: var(--sl-font-subtitle-condense-line-height);
119
+ letter-spacing: var(--sl-font-subtitle-condense-letter-spacing);
111
120
  }
112
121
 
113
122
  /* Small uppercase eyebrow labels in the condense tier, dense UI text (tables, secondary labels). */
114
- .text-style-condense-subtitle-label {
115
- font-family: var(--sl-font-condense-subtitle-label-font-family);
116
- font-size: var(--sl-font-condense-subtitle-label-font-size);
117
- font-weight: var(--sl-font-condense-subtitle-label-font-weight);
118
- line-height: var(--sl-font-condense-subtitle-label-line-height);
119
- letter-spacing: var(--sl-font-condense-subtitle-label-letter-spacing);
120
- text-transform: var(--sl-font-condense-subtitle-label-text-transform);
123
+ .text-style-eyebrow-condense {
124
+ font-family: var(--sl-font-eyebrow-condense-font-family);
125
+ font-size: var(--sl-font-eyebrow-condense-font-size);
126
+ font-weight: var(--sl-font-eyebrow-condense-font-weight);
127
+ line-height: var(--sl-font-eyebrow-condense-line-height);
128
+ letter-spacing: var(--sl-font-eyebrow-condense-letter-spacing);
129
+ text-transform: var(--sl-font-eyebrow-condense-text-transform);
130
+ }
131
+
132
+ /* Titles in the condense tier: group headers in tables, menus and dense panels. Titles use the display family; the tier sets the size. */
133
+ .text-style-title-condense {
134
+ font-family: var(--sl-font-title-condense-font-family);
135
+ font-size: var(--sl-font-title-condense-font-size);
136
+ font-weight: var(--sl-font-title-condense-font-weight);
137
+ line-height: var(--sl-font-title-condense-line-height);
138
+ letter-spacing: var(--sl-font-title-condense-letter-spacing);
121
139
  }
122
140
 
123
141
  /* Body copy in the magnify tier, emphasized body text (lead paragraphs). */
124
- .text-style-magnify {
125
- font-family: var(--sl-font-magnify-font-family);
126
- font-size: var(--sl-font-magnify-font-size);
127
- font-weight: var(--sl-font-magnify-font-weight);
128
- line-height: var(--sl-font-magnify-line-height);
129
- letter-spacing: var(--sl-font-magnify-letter-spacing);
142
+ .text-style-body-magnify {
143
+ font-family: var(--sl-font-body-magnify-font-family);
144
+ font-size: var(--sl-font-body-magnify-font-size);
145
+ font-weight: var(--sl-font-body-magnify-font-weight);
146
+ line-height: var(--sl-font-body-magnify-line-height);
147
+ letter-spacing: var(--sl-font-body-magnify-letter-spacing);
130
148
  }
131
149
 
132
150
  /* Buttons and triggers in the magnify tier (emphasized, larger UI): magnify body text at medium, like base-trigger one tier up. */
133
- .text-style-magnify-trigger {
134
- font-family: var(--sl-font-magnify-trigger-font-family);
135
- font-size: var(--sl-font-magnify-trigger-font-size);
136
- font-weight: var(--sl-font-magnify-trigger-font-weight);
137
- line-height: var(--sl-font-magnify-trigger-line-height);
138
- letter-spacing: var(--sl-font-magnify-trigger-letter-spacing);
151
+ .text-style-trigger-magnify {
152
+ font-family: var(--sl-font-trigger-magnify-font-family);
153
+ font-size: var(--sl-font-trigger-magnify-font-size);
154
+ font-weight: var(--sl-font-trigger-magnify-font-weight);
155
+ line-height: var(--sl-font-trigger-magnify-line-height);
156
+ letter-spacing: var(--sl-font-trigger-magnify-letter-spacing);
157
+ }
158
+
159
+ /* Titles in the magnify tier: popovers, cards and fieldsets. Titles use the display family; the tier sets the size. */
160
+ .text-style-title-magnify {
161
+ font-family: var(--sl-font-title-magnify-font-family);
162
+ font-size: var(--sl-font-title-magnify-font-size);
163
+ font-weight: var(--sl-font-title-magnify-font-weight);
164
+ line-height: var(--sl-font-title-magnify-line-height);
165
+ letter-spacing: var(--sl-font-title-magnify-letter-spacing);
139
166
  }
140
167
 
141
168
  /* Body copy in the minimize tier, the smallest functional text (captions, fine print). */
142
- .text-style-minimize {
143
- font-family: var(--sl-font-minimize-font-family);
144
- font-size: var(--sl-font-minimize-font-size);
145
- font-weight: var(--sl-font-minimize-font-weight);
146
- line-height: var(--sl-font-minimize-line-height);
147
- letter-spacing: var(--sl-font-minimize-letter-spacing);
169
+ .text-style-body-minimize {
170
+ font-family: var(--sl-font-body-minimize-font-family);
171
+ font-size: var(--sl-font-body-minimize-font-size);
172
+ font-weight: var(--sl-font-body-minimize-font-weight);
173
+ line-height: var(--sl-font-body-minimize-line-height);
174
+ letter-spacing: var(--sl-font-body-minimize-letter-spacing);
148
175
  }
149
176
 
150
177
  /* Buttons and triggers in the minimize tier (the smallest UI): minimize body text at medium, like base-trigger one tier down. */
151
- .text-style-minimize-trigger {
152
- font-family: var(--sl-font-minimize-trigger-font-family);
153
- font-size: var(--sl-font-minimize-trigger-font-size);
154
- font-weight: var(--sl-font-minimize-trigger-font-weight);
155
- line-height: var(--sl-font-minimize-trigger-line-height);
156
- letter-spacing: var(--sl-font-minimize-trigger-letter-spacing);
178
+ .text-style-trigger-minimize {
179
+ font-family: var(--sl-font-trigger-minimize-font-family);
180
+ font-size: var(--sl-font-trigger-minimize-font-size);
181
+ font-weight: var(--sl-font-trigger-minimize-font-weight);
182
+ line-height: var(--sl-font-trigger-minimize-line-height);
183
+ letter-spacing: var(--sl-font-trigger-minimize-letter-spacing);
157
184
  }
158
185
 
159
186
  /* The selected or current item in the minimize tier (the smallest functional text): selected tabs and toggles, the current nav item or page. Minimize body text at semibold, so selection reads without changing size. */
160
- .text-style-minimize-selected {
161
- font-family: var(--sl-font-minimize-selected-font-family);
162
- font-size: var(--sl-font-minimize-selected-font-size);
163
- font-weight: var(--sl-font-minimize-selected-font-weight);
164
- line-height: var(--sl-font-minimize-selected-line-height);
165
- letter-spacing: var(--sl-font-minimize-selected-letter-spacing);
187
+ .text-style-selected-minimize {
188
+ font-family: var(--sl-font-selected-minimize-font-family);
189
+ font-size: var(--sl-font-selected-minimize-font-size);
190
+ font-weight: var(--sl-font-selected-minimize-font-weight);
191
+ line-height: var(--sl-font-selected-minimize-line-height);
192
+ letter-spacing: var(--sl-font-selected-minimize-letter-spacing);
166
193
  }
167
194
 
168
195
  /* Links in the minimize tier. The same type as minimize body text: a link stands out by color and underline, not by its type. */
169
- .text-style-minimize-link {
170
- font-family: var(--sl-font-minimize-link-font-family);
171
- font-size: var(--sl-font-minimize-link-font-size);
172
- font-weight: var(--sl-font-minimize-link-font-weight);
173
- line-height: var(--sl-font-minimize-link-line-height);
174
- letter-spacing: var(--sl-font-minimize-link-letter-spacing);
196
+ .text-style-link-minimize {
197
+ font-family: var(--sl-font-link-minimize-font-family);
198
+ font-size: var(--sl-font-link-minimize-font-size);
199
+ font-weight: var(--sl-font-link-minimize-font-weight);
200
+ line-height: var(--sl-font-link-minimize-line-height);
201
+ letter-spacing: var(--sl-font-link-minimize-letter-spacing);
175
202
  }
176
203
 
177
204
  /* Subtitles in the minimize tier, the smallest functional text (captions, fine print). */
178
- .text-style-minimize-subtitle {
179
- font-family: var(--sl-font-minimize-subtitle-font-family);
180
- font-size: var(--sl-font-minimize-subtitle-font-size);
181
- font-weight: var(--sl-font-minimize-subtitle-font-weight);
182
- line-height: var(--sl-font-minimize-subtitle-line-height);
183
- letter-spacing: var(--sl-font-minimize-subtitle-letter-spacing);
205
+ .text-style-subtitle-minimize {
206
+ font-family: var(--sl-font-subtitle-minimize-font-family);
207
+ font-size: var(--sl-font-subtitle-minimize-font-size);
208
+ font-weight: var(--sl-font-subtitle-minimize-font-weight);
209
+ line-height: var(--sl-font-subtitle-minimize-line-height);
210
+ letter-spacing: var(--sl-font-subtitle-minimize-letter-spacing);
184
211
  }
185
212
 
186
213
  /* Small uppercase eyebrow labels in the minimize tier, the smallest functional text (captions, fine print). */
187
- .text-style-minimize-subtitle-label {
188
- font-family: var(--sl-font-minimize-subtitle-label-font-family);
189
- font-size: var(--sl-font-minimize-subtitle-label-font-size);
190
- font-weight: var(--sl-font-minimize-subtitle-label-font-weight);
191
- line-height: var(--sl-font-minimize-subtitle-label-line-height);
192
- letter-spacing: var(--sl-font-minimize-subtitle-label-letter-spacing);
193
- text-transform: var(--sl-font-minimize-subtitle-label-text-transform);
194
- }
195
-
196
- /* Display text at 2xl, for headings and hero copy. */
197
- .text-style-maximize-2xl {
198
- font-family: var(--sl-font-maximize-2xl-font-family);
199
- font-size: var(--sl-font-maximize-2xl-font-size);
200
- font-weight: var(--sl-font-maximize-2xl-font-weight);
201
- line-height: var(--sl-font-maximize-2xl-line-height);
202
- letter-spacing: var(--sl-font-maximize-2xl-letter-spacing);
203
- }
204
-
205
- /* Display text at 3xl, for headings and hero copy. */
206
- .text-style-maximize-3xl {
207
- font-family: var(--sl-font-maximize-3xl-font-family);
208
- font-size: var(--sl-font-maximize-3xl-font-size);
209
- font-weight: var(--sl-font-maximize-3xl-font-weight);
210
- line-height: var(--sl-font-maximize-3xl-line-height);
211
- letter-spacing: var(--sl-font-maximize-3xl-letter-spacing);
212
- }
213
-
214
- /* Display text at 4xl, for headings and hero copy. */
215
- .text-style-maximize-4xl {
216
- font-family: var(--sl-font-maximize-4xl-font-family);
217
- font-size: var(--sl-font-maximize-4xl-font-size);
218
- font-weight: var(--sl-font-maximize-4xl-font-weight);
219
- line-height: var(--sl-font-maximize-4xl-line-height);
220
- letter-spacing: var(--sl-font-maximize-4xl-letter-spacing);
221
- }
222
-
223
- /* Display text at lg, for headings and hero copy. */
224
- .text-style-maximize-lg {
225
- font-family: var(--sl-font-maximize-lg-font-family);
226
- font-size: var(--sl-font-maximize-lg-font-size);
227
- font-weight: var(--sl-font-maximize-lg-font-weight);
228
- line-height: var(--sl-font-maximize-lg-line-height);
229
- letter-spacing: var(--sl-font-maximize-lg-letter-spacing);
230
- }
231
-
232
- /* Display text at md, for headings and hero copy. */
233
- .text-style-maximize-md {
234
- font-family: var(--sl-font-maximize-md-font-family);
235
- font-size: var(--sl-font-maximize-md-font-size);
236
- font-weight: var(--sl-font-maximize-md-font-weight);
237
- line-height: var(--sl-font-maximize-md-line-height);
238
- letter-spacing: var(--sl-font-maximize-md-letter-spacing);
239
- }
240
-
241
- /* Display text at sm, for headings and hero copy. */
242
- .text-style-maximize-sm {
243
- font-family: var(--sl-font-maximize-sm-font-family);
244
- font-size: var(--sl-font-maximize-sm-font-size);
245
- font-weight: var(--sl-font-maximize-sm-font-weight);
246
- line-height: var(--sl-font-maximize-sm-line-height);
247
- letter-spacing: var(--sl-font-maximize-sm-letter-spacing);
248
- }
249
-
250
- /* Display text at xl, for headings and hero copy. */
251
- .text-style-maximize-xl {
252
- font-family: var(--sl-font-maximize-xl-font-family);
253
- font-size: var(--sl-font-maximize-xl-font-size);
254
- font-weight: var(--sl-font-maximize-xl-font-weight);
255
- line-height: var(--sl-font-maximize-xl-line-height);
256
- letter-spacing: var(--sl-font-maximize-xl-letter-spacing);
257
- }
258
-
259
- /* Display text at xs, for headings and hero copy. */
260
- .text-style-maximize-xs {
261
- font-family: var(--sl-font-maximize-xs-font-family);
262
- font-size: var(--sl-font-maximize-xs-font-size);
263
- font-weight: var(--sl-font-maximize-xs-font-weight);
264
- line-height: var(--sl-font-maximize-xs-line-height);
265
- letter-spacing: var(--sl-font-maximize-xs-letter-spacing);
214
+ .text-style-eyebrow-minimize {
215
+ font-family: var(--sl-font-eyebrow-minimize-font-family);
216
+ font-size: var(--sl-font-eyebrow-minimize-font-size);
217
+ font-weight: var(--sl-font-eyebrow-minimize-font-weight);
218
+ line-height: var(--sl-font-eyebrow-minimize-line-height);
219
+ letter-spacing: var(--sl-font-eyebrow-minimize-letter-spacing);
220
+ text-transform: var(--sl-font-eyebrow-minimize-text-transform);
221
+ }
222
+
223
+ /* Titles in the amplify tier: dialogs, drawers and page sections. Titles use the display family; the tier sets the size. */
224
+ .text-style-title-amplify {
225
+ font-family: var(--sl-font-title-amplify-font-family);
226
+ font-size: var(--sl-font-title-amplify-font-size);
227
+ font-weight: var(--sl-font-title-amplify-font-weight);
228
+ line-height: var(--sl-font-title-amplify-line-height);
229
+ letter-spacing: var(--sl-font-title-amplify-letter-spacing);
230
+ }
231
+
232
+ /* Titles in the maximize tier: the page head. Titles use the display family; the tier sets the size. */
233
+ .text-style-title-maximize {
234
+ font-family: var(--sl-font-title-maximize-font-family);
235
+ font-size: var(--sl-font-title-maximize-font-size);
236
+ font-weight: var(--sl-font-title-maximize-font-weight);
237
+ line-height: var(--sl-font-title-maximize-line-height);
238
+ letter-spacing: var(--sl-font-title-maximize-letter-spacing);
266
239
  }
267
240
 
268
241
  /* Responsive visibility from the breakpoint tokens. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scattered-light/loomiere-mojave",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Mojave, the demo theme for Loomiere: desert stone and purple, built from one brand file.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,6 +46,7 @@
46
46
  "build": "loomiere build",
47
47
  "studio": "loomiere studio",
48
48
  "lab": "loomiere lab",
49
+ "figma": "loomiere figma push",
49
50
  "prepack": "loomiere build"
50
51
  },
51
52
  "publishConfig": {
@@ -61,6 +62,6 @@
61
62
  }
62
63
  },
63
64
  "devDependencies": {
64
- "@scattered-light/loomiere": "0.3.0"
65
+ "@scattered-light/loomiere": "0.4.0"
65
66
  }
66
67
  }
@@ -1,31 +0,0 @@
1
- # IconButton
2
-
3
- The Base UI Button styled by the theme. A small, quiet icon-only button: the icon-button concept (tokens/semantic/icon-button.json), the same look as the X that closes a dialog or toast, as a part of its own. For calendar arrows, row actions and clear buttons, where a Button would be too loud. No component tokens.
4
-
5
- Use `Loomiere.IconButton`, this package's wrapper: it puts the class names on for you (`import { IconButton } from '@scattered-light/loomiere-base-ui'` in an app). The bare Base UI part is `Loomiere.Base.Button`.
6
-
7
- Base UI docs: https://base-ui.com/react/components/button
8
-
9
- ## Classes
10
-
11
- | Class | Data attributes it answers to |
12
- |---|---|
13
- | `IconButton` | |
14
-
15
- Base UI sets the state attributes (`data-checked`, `data-open`, `data-disabled`...) itself. Set `data-size`, `data-emphasis`, `data-variant` and `data-color` yourself; `data-color` takes any palette name (`primary`, `secondary`, `error`...) and repaints the part in it.
16
-
17
- ## Example
18
-
19
- From the IconButton stories (`Default`):
20
-
21
- ```tsx
22
- export const Default: Story = {
23
- render: () => (
24
- <IconButton type="button" aria-label="Next month">
25
- <Icon name="chevron_right" />
26
- </IconButton>
27
- ),
28
- };
29
- ```
30
-
31
- The preview also shows `CalendarHeader`, `RowActions`, `Disabled`.
@@ -1,19 +0,0 @@
1
- <!-- @dsCard group="Actions" height=480 subtitle="Default / CalendarHeader / RowActions / Disabled" -->
2
- <!doctype html>
3
- <html>
4
- <head>
5
- <meta charset="utf-8">
6
- <style>
7
- body { margin: 0; padding: var(--sl-space-4, 16px); background: var(--sl-surface-canvas); color: var(--sl-text-primary); }
8
- #root { display: grid; gap: var(--sl-space-5, 20px); }
9
- .ds-story-name { margin: 0 0 var(--sl-space-2, 8px); font: var(--sl-font-minimize-label-font, 500 10px sans-serif); color: var(--sl-text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; }
10
- </style>
11
- </head>
12
- <body>
13
- <div id="root"></div>
14
- <script>
15
- (()=>{var x=Object.create;var m=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),v=(e,t)=>{for(var o in t)m(e,o,{get:t[o],enumerable:!0})},E=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of g(t))!w.call(e,a)&&a!==o&&m(e,a,{get:()=>t[a],enumerable:!(s=f(t,a))||s.enumerable});return e};var B=(e,t,o)=>(o=e!=null?x(h(e)):{},E(t||!e||!e.__esModule?m(o,"default",{value:e,enumerable:!0}):o,e));var u=I((F,y)=>{y.exports=window.Loomiere});var p={};v(p,{CalendarHeader:()=>N,Default:()=>D,Disabled:()=>A,RowActions:()=>R,default:()=>d});var r=B(u(),1);var i=window.React;function n(e,t,o){let{children:s,...a}=t||{};return o!==void 0&&(a.key=o),s===void 0?i.createElement(e,a):Array.isArray(s)?i.createElement(e,a,...s):i.createElement(e,a,s)}var M=i.Fragment;var S={title:"Components/Lib/IconButton",component:r.IconButton,parameters:{layout:"centered"},tags:["autodocs","ds:lib"]},d=S,c=({name:e})=>n("span",{className:"material-symbols-outlined","aria-hidden":"true",children:e}),D={render:()=>n(r.IconButton,{type:"button","aria-label":"Next month",children:n(c,{name:"chevron_right"})})},N={render:()=>n("div",{style:{display:"flex",alignItems:"center",gap:"var(--sl-space-2)",width:"280px"},children:[n(r.IconButton,{type:"button","aria-label":"Previous month",children:n(c,{name:"chevron_left"})}),n("span",{className:"text-style-base-subtitle",style:{flexGrow:1,textAlign:"center"},children:"October 2026"}),n(r.IconButton,{type:"button","aria-label":"Next month",children:n(c,{name:"chevron_right"})})]})},R={render:()=>n("div",{style:{display:"flex",gap:"var(--sl-space-1)"},children:[n(r.IconButton,{type:"button","aria-label":"Edit",children:n(c,{name:"edit"})}),n(r.IconButton,{type:"button","aria-label":"Duplicate",children:n(c,{name:"content_copy"})}),n(r.IconButton,{type:"button","aria-label":"Delete",children:n(c,{name:"delete"})})]})},A={render:()=>n(r.IconButton,{type:"button","aria-label":"Next month",disabled:!0,children:n(c,{name:"chevron_right"})})};var l=window.React,b=d||{},_=["Default","CalendarHeader","RowActions","Disabled"];function j({id:e}){let t=p[e],o={...b.args||{},...t.args||{}};return(t.render||(a=>l.createElement(b.component,a)))(o,{args:o,id:e,name:e})}var O=_.map(e=>l.createElement("section",{key:e,className:"ds-story"},l.createElement("p",{className:"ds-story-name"},e.replace(/([a-z])([A-Z])/g,"$1 $2")),l.createElement("div",{className:"ds-story-body"},l.createElement(j,{id:e}))));window.ReactDOM.createRoot(document.getElementById("root")).render(l.createElement(l.Fragment,null,O));})();
16
-
17
- </script>
18
- </body>
19
- </html>