@yarcl/react 0.1.0 → 0.2.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 (223) hide show
  1. package/README.md +14 -2
  2. package/{src/apply.ts → dist/apply.d.ts} +4 -23
  3. package/dist/apply.js +37 -0
  4. package/dist/classes.d.ts +13 -0
  5. package/dist/classes.js +22 -0
  6. package/dist/cli.d.ts +2 -0
  7. package/dist/cli.js +58 -0
  8. package/dist/color.js +49 -32
  9. package/dist/components/Accordion.d.ts +96 -0
  10. package/dist/components/Accordion.js +148 -0
  11. package/dist/components/Alert.d.ts +60 -0
  12. package/dist/components/Alert.js +61 -0
  13. package/dist/components/Avatar.d.ts +100 -0
  14. package/dist/components/Avatar.js +89 -0
  15. package/dist/components/Badge.d.ts +44 -0
  16. package/dist/components/Badge.js +43 -0
  17. package/dist/components/Breadcrumb.d.ts +77 -0
  18. package/dist/components/Breadcrumb.js +126 -0
  19. package/dist/components/Button.d.ts +18 -0
  20. package/dist/components/Button.js +33 -0
  21. package/dist/components/ButtonGroup.d.ts +29 -0
  22. package/dist/components/ButtonGroup.js +37 -0
  23. package/dist/components/Card.d.ts +36 -0
  24. package/dist/components/Card.js +26 -0
  25. package/dist/components/Checkbox.d.ts +28 -0
  26. package/dist/components/Checkbox.js +38 -0
  27. package/dist/components/Combobox.d.ts +75 -0
  28. package/dist/components/Combobox.js +362 -0
  29. package/dist/components/CommandPalette.d.ts +92 -0
  30. package/dist/components/CommandPalette.js +293 -0
  31. package/dist/components/DatePicker.d.ts +157 -0
  32. package/dist/components/DatePicker.js +230 -0
  33. package/dist/components/Dialog.d.ts +25 -0
  34. package/dist/components/Dialog.js +29 -0
  35. package/dist/components/Divider.d.ts +23 -0
  36. package/dist/components/Divider.js +25 -0
  37. package/dist/components/Drawer.d.ts +21 -0
  38. package/dist/components/Drawer.js +25 -0
  39. package/dist/components/EmptyState.d.ts +51 -0
  40. package/dist/components/EmptyState.js +47 -0
  41. package/dist/components/Field.d.ts +27 -0
  42. package/dist/components/Field.js +59 -0
  43. package/dist/components/Heading.d.ts +26 -0
  44. package/dist/components/Heading.js +25 -0
  45. package/dist/components/HoverCard.d.ts +47 -0
  46. package/dist/components/HoverCard.js +53 -0
  47. package/dist/components/IconButton.d.ts +19 -0
  48. package/dist/components/IconButton.js +32 -0
  49. package/dist/components/Inline.d.ts +21 -0
  50. package/dist/components/Inline.js +24 -0
  51. package/dist/components/Input.d.ts +19 -0
  52. package/dist/components/Input.js +25 -0
  53. package/dist/components/Label.d.ts +46 -0
  54. package/dist/components/Label.js +33 -0
  55. package/dist/components/Link.d.ts +27 -0
  56. package/dist/components/Link.js +26 -0
  57. package/dist/components/Menu.d.ts +73 -0
  58. package/dist/components/Menu.js +143 -0
  59. package/dist/components/Modal.d.ts +45 -0
  60. package/dist/components/Modal.js +110 -0
  61. package/dist/components/NumberInput.d.ts +49 -0
  62. package/dist/components/NumberInput.js +130 -0
  63. package/dist/components/Pagination.d.ts +86 -0
  64. package/dist/components/Pagination.js +119 -0
  65. package/dist/components/Popover.d.ts +72 -0
  66. package/dist/components/Popover.js +87 -0
  67. package/dist/components/Progress.d.ts +60 -0
  68. package/dist/components/Progress.js +59 -0
  69. package/dist/components/Radio.d.ts +32 -0
  70. package/dist/components/Radio.js +47 -0
  71. package/dist/components/RadioGroup.d.ts +57 -0
  72. package/dist/components/RadioGroup.js +68 -0
  73. package/dist/components/Select.d.ts +47 -0
  74. package/dist/components/Select.js +138 -0
  75. package/dist/components/Skeleton.d.ts +46 -0
  76. package/dist/components/Skeleton.js +40 -0
  77. package/dist/components/Slider.d.ts +126 -0
  78. package/dist/components/Slider.js +166 -0
  79. package/dist/components/Spinner.d.ts +23 -0
  80. package/dist/components/Spinner.js +23 -0
  81. package/dist/components/Stack.d.ts +35 -0
  82. package/dist/components/Stack.js +24 -0
  83. package/dist/components/Switch.d.ts +27 -0
  84. package/dist/components/Switch.js +33 -0
  85. package/dist/components/Table.d.ts +71 -0
  86. package/dist/components/Table.js +61 -0
  87. package/dist/components/Tabs.d.ts +66 -0
  88. package/dist/components/Tabs.js +109 -0
  89. package/dist/components/Text.d.ts +32 -0
  90. package/dist/components/Text.js +28 -0
  91. package/dist/components/Textarea.d.ts +15 -0
  92. package/dist/components/Textarea.js +24 -0
  93. package/dist/components/Toast.d.ts +90 -0
  94. package/dist/components/Toast.js +156 -0
  95. package/dist/components/ToggleGroup.d.ts +79 -0
  96. package/dist/components/ToggleGroup.js +101 -0
  97. package/dist/components/Tooltip.d.ts +46 -0
  98. package/dist/components/Tooltip.js +62 -0
  99. package/dist/components/VisuallyHidden.d.ts +18 -0
  100. package/dist/components/VisuallyHidden.js +22 -0
  101. package/dist/contrast.d.ts +32 -0
  102. package/dist/css.d.ts +2 -2
  103. package/dist/css.js +193 -157
  104. package/dist/define.d.ts +40 -15
  105. package/dist/define.js +30 -27
  106. package/dist/demo.d.ts +2 -0
  107. package/dist/demo.js +2 -0
  108. package/dist/esbuild.cjs +5 -0
  109. package/dist/esbuild.d.ts +4 -0
  110. package/dist/esbuild.js +6 -0
  111. package/dist/field-context.d.ts +16 -0
  112. package/dist/field-context.js +17 -0
  113. package/dist/floating.d.ts +12 -0
  114. package/dist/floating.js +52 -0
  115. package/dist/hooks.d.ts +1 -0
  116. package/dist/hooks.js +12 -0
  117. package/{src/index.ts → dist/index.d.ts} +11 -33
  118. package/dist/index.js +50 -0
  119. package/dist/init.d.ts +18 -0
  120. package/dist/init.js +224 -0
  121. package/dist/plugin.d.ts +10 -26
  122. package/dist/plugin.js +152 -78
  123. package/dist/reference/DemoYarcl.d.ts +12 -0
  124. package/dist/reference/DemoYarcl.js +312 -0
  125. package/dist/reference/DesignReference.d.ts +24 -0
  126. package/dist/reference/DesignReference.js +403 -0
  127. package/dist/reference/index.js +2 -0
  128. package/dist/rollup.cjs +5 -0
  129. package/dist/rollup.d.ts +4 -0
  130. package/dist/rollup.js +6 -0
  131. package/dist/rspack.cjs +5 -0
  132. package/dist/rspack.d.ts +4 -0
  133. package/dist/rspack.js +6 -0
  134. package/dist/runtime.d.ts +13 -0
  135. package/dist/runtime.js +30 -0
  136. package/dist/setup.d.ts +6 -0
  137. package/dist/setup.js +33 -0
  138. package/{src → dist}/styles.css +224 -106
  139. package/dist/themes/bloom.d.ts +295 -0
  140. package/dist/themes/bloom.js +202 -0
  141. package/dist/themes/brutalist.d.ts +277 -0
  142. package/dist/themes/brutalist.js +199 -0
  143. package/dist/themes/compact.d.ts +274 -0
  144. package/dist/themes/compact.js +200 -0
  145. package/dist/themes/contract.d.ts +23 -0
  146. package/dist/themes/editorial.d.ts +277 -0
  147. package/dist/themes/editorial.js +183 -0
  148. package/dist/themes/index.d.ts +1425 -0
  149. package/dist/themes/index.js +45 -0
  150. package/{src/types.ts → dist/types.d.ts} +40 -37
  151. package/dist/vite.cjs +5 -0
  152. package/dist/vite.d.ts +4 -0
  153. package/dist/vite.js +6 -0
  154. package/dist/webpack.cjs +5 -0
  155. package/dist/webpack.d.ts +4 -0
  156. package/dist/webpack.js +6 -0
  157. package/dist/yarcl.config.d.ts +276 -0
  158. package/dist/yarcl.config.js +273 -0
  159. package/package.json +69 -17
  160. package/src/classes.ts +0 -23
  161. package/src/color.ts +0 -48
  162. package/src/components/Accordion.tsx +0 -274
  163. package/src/components/Alert.tsx +0 -85
  164. package/src/components/Badge.tsx +0 -79
  165. package/src/components/Breadcrumb.tsx +0 -239
  166. package/src/components/Button.tsx +0 -58
  167. package/src/components/ButtonGroup.tsx +0 -61
  168. package/src/components/Card.tsx +0 -50
  169. package/src/components/Checkbox.tsx +0 -49
  170. package/src/components/Combobox.tsx +0 -522
  171. package/src/components/CommandPalette.tsx +0 -452
  172. package/src/components/DatePicker.tsx +0 -432
  173. package/src/components/Dialog.tsx +0 -39
  174. package/src/components/Divider.tsx +0 -34
  175. package/src/components/Drawer.tsx +0 -31
  176. package/src/components/Field.tsx +0 -61
  177. package/src/components/Heading.tsx +0 -40
  178. package/src/components/HoverCard.tsx +0 -108
  179. package/src/components/IconButton.tsx +0 -59
  180. package/src/components/Inline.tsx +0 -42
  181. package/src/components/Input.tsx +0 -28
  182. package/src/components/Label.tsx +0 -58
  183. package/src/components/Link.tsx +0 -41
  184. package/src/components/Menu.tsx +0 -207
  185. package/src/components/Modal.tsx +0 -164
  186. package/src/components/NumberInput.tsx +0 -208
  187. package/src/components/Pagination.tsx +0 -227
  188. package/src/components/Popover.tsx +0 -140
  189. package/src/components/Progress.tsx +0 -122
  190. package/src/components/Radio.tsx +0 -59
  191. package/src/components/RadioGroup.tsx +0 -114
  192. package/src/components/Select.tsx +0 -197
  193. package/src/components/Skeleton.tsx +0 -95
  194. package/src/components/Slider.tsx +0 -315
  195. package/src/components/Spinner.tsx +0 -38
  196. package/src/components/Stack.tsx +0 -57
  197. package/src/components/Switch.tsx +0 -42
  198. package/src/components/Table.tsx +0 -99
  199. package/src/components/Tabs.tsx +0 -159
  200. package/src/components/Text.tsx +0 -67
  201. package/src/components/Textarea.tsx +0 -26
  202. package/src/components/Toast.tsx +0 -190
  203. package/src/components/ToggleGroup.tsx +0 -227
  204. package/src/components/Tooltip.tsx +0 -78
  205. package/src/contrast.ts +0 -82
  206. package/src/css.ts +0 -228
  207. package/src/define.check.ts +0 -259
  208. package/src/define.ts +0 -379
  209. package/src/field-context.ts +0 -31
  210. package/src/floating.tsx +0 -61
  211. package/src/hooks.ts +0 -19
  212. package/src/plugin.ts +0 -94
  213. package/src/reference/DesignReference.tsx +0 -374
  214. package/src/runtime.ts +0 -38
  215. package/src/themes/bloom.ts +0 -72
  216. package/src/themes/brutalist.ts +0 -63
  217. package/src/themes/compact.ts +0 -63
  218. package/src/themes/contract.ts +0 -24
  219. package/src/themes/editorial.ts +0 -55
  220. package/src/themes/index.ts +0 -47
  221. package/src/yarcl.config.ts +0 -104
  222. /package/{src/reference/index.ts → dist/reference/index.d.ts} +0 -0
  223. /package/{src → dist}/reference/reference.css +0 -0
@@ -0,0 +1,277 @@
1
+ /** Calm and considered: terracotta on cream, light grotesque type, square corners, flat surfaces, generous spacing. */
2
+ export declare const editorial: {
3
+ readonly colors: {
4
+ readonly primary: {
5
+ readonly light: "#9a3412";
6
+ readonly dark: "#fb923c";
7
+ };
8
+ readonly neutral: {
9
+ readonly light: "#57534e";
10
+ readonly dark: "#a8a29e";
11
+ };
12
+ readonly success: {
13
+ readonly light: "#3f6212";
14
+ readonly dark: "#a3e635";
15
+ };
16
+ readonly warning: {
17
+ readonly light: "#a16207";
18
+ readonly dark: "#fcd34d";
19
+ };
20
+ readonly danger: {
21
+ readonly light: "#9f1239";
22
+ readonly dark: "#fda4af";
23
+ };
24
+ readonly info: {
25
+ readonly light: "#1e3a8a";
26
+ readonly dark: "#93c5fd";
27
+ };
28
+ };
29
+ readonly neutrals: {
30
+ readonly bg: {
31
+ readonly light: "#f6f1e7";
32
+ readonly dark: "#1c1917";
33
+ };
34
+ readonly surface: {
35
+ readonly light: "#fffdf8";
36
+ readonly dark: "#262220";
37
+ };
38
+ readonly text: {
39
+ readonly light: "#1c1917";
40
+ readonly dark: "#f5efe3";
41
+ };
42
+ readonly muted: {
43
+ readonly light: "#57534e";
44
+ readonly dark: "#aaa39b";
45
+ };
46
+ readonly border: {
47
+ readonly light: "#d6cdbd";
48
+ readonly dark: "#48413b";
49
+ };
50
+ };
51
+ readonly sizes: {
52
+ readonly xs: {
53
+ readonly height: "1.75rem";
54
+ readonly paddingX: "0.75rem";
55
+ readonly fontSize: "0.8125rem";
56
+ readonly iconSize: "0.75rem";
57
+ };
58
+ readonly sm: {
59
+ readonly height: "2rem";
60
+ readonly paddingX: "0.875rem";
61
+ readonly fontSize: "0.875rem";
62
+ readonly iconSize: "0.875rem";
63
+ };
64
+ readonly md: {
65
+ readonly height: "2.625rem";
66
+ readonly paddingX: "1.375rem";
67
+ readonly fontSize: "1rem";
68
+ readonly iconSize: "1rem";
69
+ };
70
+ readonly lg: {
71
+ readonly height: "3.25rem";
72
+ readonly paddingX: "1.75rem";
73
+ readonly fontSize: "1.0625rem";
74
+ readonly iconSize: "1.25rem";
75
+ };
76
+ readonly xl: {
77
+ readonly height: "3.875rem";
78
+ readonly paddingX: "2.125rem";
79
+ readonly fontSize: "1.1875rem";
80
+ readonly iconSize: "1.375rem";
81
+ };
82
+ };
83
+ readonly radii: {
84
+ readonly square: "0";
85
+ readonly sm: "1px";
86
+ readonly md: "2px";
87
+ readonly lg: "3px";
88
+ readonly xl: "4px";
89
+ readonly rounded: "9999px";
90
+ };
91
+ readonly spacing: {
92
+ readonly xs: "0.375rem";
93
+ readonly sm: "0.75rem";
94
+ readonly md: "1.25rem";
95
+ readonly lg: "2rem";
96
+ readonly xl: "3rem";
97
+ };
98
+ readonly shadows: {
99
+ readonly sm: "none";
100
+ readonly md: "0 18px 40px -18px light-dark(rgb(68 44 20 / 0.35), rgb(0 0 0 / 0.75))";
101
+ readonly lg: "0 30px 60px -20px light-dark(rgb(68 44 20 / 0.4), rgb(0 0 0 / 0.8))";
102
+ };
103
+ readonly typography: {
104
+ readonly families: {
105
+ readonly sans: "\"Helvetica Neue\", Helvetica, \"Inter\", \"Segoe UI\", Arial, sans-serif";
106
+ readonly mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
107
+ };
108
+ readonly styles: {
109
+ readonly display: {
110
+ readonly family: "sans";
111
+ readonly size: "2.75rem";
112
+ readonly weight: 300;
113
+ readonly lineHeight: 1.05;
114
+ readonly letterSpacing: "-0.03em";
115
+ };
116
+ readonly heading: {
117
+ readonly family: "sans";
118
+ readonly size: "1.75rem";
119
+ readonly weight: 300;
120
+ readonly lineHeight: 1.2;
121
+ readonly letterSpacing: "-0.015em";
122
+ };
123
+ readonly subheading: {
124
+ readonly family: "sans";
125
+ readonly size: "1.25rem";
126
+ readonly weight: 600;
127
+ readonly lineHeight: 1.3;
128
+ };
129
+ readonly body: {
130
+ readonly family: "sans";
131
+ readonly size: "1rem";
132
+ readonly weight: 400;
133
+ readonly lineHeight: 1.6;
134
+ };
135
+ readonly caption: {
136
+ readonly family: "sans";
137
+ readonly size: "0.875rem";
138
+ readonly weight: 400;
139
+ readonly lineHeight: 1.5;
140
+ };
141
+ readonly code: {
142
+ readonly family: "mono";
143
+ readonly size: "0.875rem";
144
+ readonly weight: 400;
145
+ readonly lineHeight: 1.5;
146
+ };
147
+ readonly label: {
148
+ readonly family: "sans";
149
+ readonly size: "0.8125rem";
150
+ readonly weight: 700;
151
+ readonly lineHeight: 1.4;
152
+ readonly letterSpacing: "0.08em";
153
+ };
154
+ };
155
+ readonly headings: {
156
+ readonly h1: "display";
157
+ readonly h2: "heading";
158
+ readonly h3: "heading";
159
+ readonly h4: "subheading";
160
+ readonly h5: "subheading";
161
+ readonly h6: "label";
162
+ };
163
+ };
164
+ readonly focusRing: {
165
+ readonly width: "3px";
166
+ readonly offset: "3px";
167
+ readonly color: "primary";
168
+ readonly style: "double";
169
+ };
170
+ readonly defaults: {
171
+ readonly radius: "square";
172
+ readonly padding: "lg";
173
+ readonly gap: "md";
174
+ readonly floatingShadow: "md";
175
+ readonly size: "md";
176
+ readonly color: "primary";
177
+ readonly variant: "solid";
178
+ readonly errorColor: "danger";
179
+ readonly textStyle: "body";
180
+ readonly labelStyle: "label";
181
+ readonly helperStyle: "caption";
182
+ readonly density: "comfortable";
183
+ readonly softVariant: "soft";
184
+ readonly modalSize: "md";
185
+ };
186
+ readonly variants: {
187
+ readonly solid: {
188
+ readonly background: "fill";
189
+ readonly border: "color";
190
+ readonly text: "on";
191
+ };
192
+ readonly soft: {
193
+ readonly background: "tint";
194
+ readonly border: "none";
195
+ readonly text: "color";
196
+ };
197
+ readonly outline: {
198
+ readonly background: "none";
199
+ readonly border: "color";
200
+ readonly text: "color";
201
+ };
202
+ readonly ghost: {
203
+ readonly background: "none";
204
+ readonly border: "none";
205
+ readonly text: "color";
206
+ };
207
+ };
208
+ readonly density: {
209
+ readonly compact: {
210
+ readonly paddingX: "0.5rem";
211
+ readonly paddingY: "0.25rem";
212
+ readonly fontSize: "0.8125rem";
213
+ };
214
+ readonly comfortable: {
215
+ readonly paddingX: "0.75rem";
216
+ readonly paddingY: "0.625rem";
217
+ readonly fontSize: "0.875rem";
218
+ };
219
+ };
220
+ readonly modalSizes: {
221
+ readonly sm: "24rem";
222
+ readonly md: "32rem";
223
+ readonly lg: "48rem";
224
+ readonly xl: "64rem";
225
+ readonly full: "100vw";
226
+ };
227
+ readonly zIndex: {
228
+ readonly dropdown: 1000;
229
+ readonly tooltip: 1100;
230
+ readonly dialog: 1200;
231
+ readonly toast: 1300;
232
+ };
233
+ readonly motion: {
234
+ readonly fast: "120ms";
235
+ readonly base: "200ms";
236
+ readonly easing: "cubic-bezier(0.2, 0, 0, 1)";
237
+ };
238
+ readonly timing: {
239
+ readonly tooltipDelay: 400;
240
+ readonly hoverOpenDelay: 300;
241
+ readonly hoverCloseDelay: 150;
242
+ readonly toastDuration: 5000;
243
+ };
244
+ readonly borders: {
245
+ readonly width: "1px";
246
+ };
247
+ readonly components: {
248
+ readonly Avatar: {
249
+ readonly radius: "rounded";
250
+ };
251
+ readonly EmptyState: {
252
+ readonly color: "neutral";
253
+ readonly gap: "sm";
254
+ readonly padding: "lg";
255
+ readonly textStyle: "body";
256
+ };
257
+ readonly Alert: {
258
+ readonly gap: "sm";
259
+ readonly padding: "md";
260
+ readonly textStyle: "label";
261
+ };
262
+ readonly Drawer: {
263
+ readonly size: "sm";
264
+ };
265
+ readonly Tooltip: {
266
+ readonly radius: "md";
267
+ readonly padding: "sm";
268
+ readonly textStyle: "caption";
269
+ };
270
+ readonly Toast: {
271
+ readonly radius: "lg";
272
+ readonly gap: "sm";
273
+ readonly padding: "md";
274
+ readonly textStyle: "label";
275
+ };
276
+ };
277
+ };
@@ -0,0 +1,183 @@
1
+ import { defineConfig } from "../define.js";
2
+ import yarcl_config_default from "../yarcl.config.js";
3
+ //#region src/themes/editorial.ts
4
+ /** Calm and considered: terracotta on cream, light grotesque type, square corners, flat surfaces, generous spacing. */
5
+ var editorial = defineConfig({
6
+ ...yarcl_config_default,
7
+ colors: {
8
+ primary: {
9
+ light: "#9a3412",
10
+ dark: "#fb923c"
11
+ },
12
+ neutral: {
13
+ light: "#57534e",
14
+ dark: "#a8a29e"
15
+ },
16
+ success: {
17
+ light: "#3f6212",
18
+ dark: "#a3e635"
19
+ },
20
+ warning: {
21
+ light: "#a16207",
22
+ dark: "#fcd34d"
23
+ },
24
+ danger: {
25
+ light: "#9f1239",
26
+ dark: "#fda4af"
27
+ },
28
+ info: {
29
+ light: "#1e3a8a",
30
+ dark: "#93c5fd"
31
+ }
32
+ },
33
+ neutrals: {
34
+ bg: {
35
+ light: "#f6f1e7",
36
+ dark: "#1c1917"
37
+ },
38
+ surface: {
39
+ light: "#fffdf8",
40
+ dark: "#262220"
41
+ },
42
+ text: {
43
+ light: "#1c1917",
44
+ dark: "#f5efe3"
45
+ },
46
+ muted: {
47
+ light: "#57534e",
48
+ dark: "#aaa39b"
49
+ },
50
+ border: {
51
+ light: "#d6cdbd",
52
+ dark: "#48413b"
53
+ }
54
+ },
55
+ sizes: {
56
+ xs: {
57
+ height: "1.75rem",
58
+ paddingX: "0.75rem",
59
+ fontSize: "0.8125rem",
60
+ iconSize: "0.75rem"
61
+ },
62
+ sm: {
63
+ height: "2rem",
64
+ paddingX: "0.875rem",
65
+ fontSize: "0.875rem",
66
+ iconSize: "0.875rem"
67
+ },
68
+ md: {
69
+ height: "2.625rem",
70
+ paddingX: "1.375rem",
71
+ fontSize: "1rem",
72
+ iconSize: "1rem"
73
+ },
74
+ lg: {
75
+ height: "3.25rem",
76
+ paddingX: "1.75rem",
77
+ fontSize: "1.0625rem",
78
+ iconSize: "1.25rem"
79
+ },
80
+ xl: {
81
+ height: "3.875rem",
82
+ paddingX: "2.125rem",
83
+ fontSize: "1.1875rem",
84
+ iconSize: "1.375rem"
85
+ }
86
+ },
87
+ radii: {
88
+ square: "0",
89
+ sm: "1px",
90
+ md: "2px",
91
+ lg: "3px",
92
+ xl: "4px",
93
+ rounded: "9999px"
94
+ },
95
+ spacing: {
96
+ xs: "0.375rem",
97
+ sm: "0.75rem",
98
+ md: "1.25rem",
99
+ lg: "2rem",
100
+ xl: "3rem"
101
+ },
102
+ shadows: {
103
+ sm: "none",
104
+ md: "0 18px 40px -18px light-dark(rgb(68 44 20 / 0.35), rgb(0 0 0 / 0.75))",
105
+ lg: "0 30px 60px -20px light-dark(rgb(68 44 20 / 0.4), rgb(0 0 0 / 0.8))"
106
+ },
107
+ typography: {
108
+ families: {
109
+ sans: "\"Helvetica Neue\", Helvetica, \"Inter\", \"Segoe UI\", Arial, sans-serif",
110
+ mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace"
111
+ },
112
+ styles: {
113
+ display: {
114
+ family: "sans",
115
+ size: "2.75rem",
116
+ weight: 300,
117
+ lineHeight: 1.05,
118
+ letterSpacing: "-0.03em"
119
+ },
120
+ heading: {
121
+ family: "sans",
122
+ size: "1.75rem",
123
+ weight: 300,
124
+ lineHeight: 1.2,
125
+ letterSpacing: "-0.015em"
126
+ },
127
+ subheading: {
128
+ family: "sans",
129
+ size: "1.25rem",
130
+ weight: 600,
131
+ lineHeight: 1.3
132
+ },
133
+ body: {
134
+ family: "sans",
135
+ size: "1rem",
136
+ weight: 400,
137
+ lineHeight: 1.6
138
+ },
139
+ caption: {
140
+ family: "sans",
141
+ size: "0.875rem",
142
+ weight: 400,
143
+ lineHeight: 1.5
144
+ },
145
+ code: {
146
+ family: "mono",
147
+ size: "0.875rem",
148
+ weight: 400,
149
+ lineHeight: 1.5
150
+ },
151
+ label: {
152
+ family: "sans",
153
+ size: "0.8125rem",
154
+ weight: 700,
155
+ lineHeight: 1.4,
156
+ letterSpacing: "0.08em"
157
+ }
158
+ },
159
+ headings: {
160
+ h1: "display",
161
+ h2: "heading",
162
+ h3: "heading",
163
+ h4: "subheading",
164
+ h5: "subheading",
165
+ h6: "label"
166
+ }
167
+ },
168
+ focusRing: {
169
+ width: "3px",
170
+ offset: "3px",
171
+ color: "primary",
172
+ style: "double"
173
+ },
174
+ defaults: {
175
+ ...yarcl_config_default.defaults,
176
+ radius: "square",
177
+ padding: "lg",
178
+ gap: "md",
179
+ floatingShadow: "md"
180
+ }
181
+ });
182
+ //#endregion
183
+ export { editorial };