@swell/swell-ui 0.0.0-stage → 0.1.1

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 (225) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +165 -2
  3. package/custom-elements.json +8274 -0
  4. package/dist/chunks/badge-Dt6q8Cqa.js +11 -0
  5. package/dist/chunks/button-C7nCiu-t.js +123 -0
  6. package/dist/chunks/card-CvSQEug8.js +10 -0
  7. package/dist/chunks/checkbox-BRI_A1TP.js +99 -0
  8. package/dist/chunks/chip-BtnufSMG.js +48 -0
  9. package/dist/chunks/config-C-FYxOaJ.js +588 -0
  10. package/dist/chunks/define-BlQTa1g4.js +19 -0
  11. package/dist/chunks/description-BHfQ8meK.js +19 -0
  12. package/dist/chunks/disclosure-CET8-H6f.js +56 -0
  13. package/dist/chunks/divider-BfkO0c1j.js +27 -0
  14. package/dist/chunks/element-B4-_7TLZ.js +138 -0
  15. package/dist/chunks/input-Uun-ls2_.js +53 -0
  16. package/dist/chunks/link-8qHFEKQE.js +53 -0
  17. package/dist/chunks/link-D4NC86oc.js +24 -0
  18. package/dist/chunks/lookup-5icr_T6o.js +205 -0
  19. package/dist/chunks/lookup-list-Bw6OJoDS.js +19 -0
  20. package/dist/chunks/lookup-option-Mn3k8W2M.js +26 -0
  21. package/dist/chunks/popover-D3Ob6slA.js +92 -0
  22. package/dist/chunks/popup-Dbh2fchP.js +21 -0
  23. package/dist/chunks/quantity-h3wqn8tC.js +140 -0
  24. package/dist/chunks/radio-BhFDL3pO.js +192 -0
  25. package/dist/chunks/radio-option-hT29S8Zl.js +88 -0
  26. package/dist/chunks/select-DS1n_htj.js +331 -0
  27. package/dist/chunks/select-option-DoM9GAe0.js +66 -0
  28. package/dist/chunks/skeleton-DfPjhls9.js +13 -0
  29. package/dist/chunks/status-B23JZ5RQ.js +71 -0
  30. package/dist/chunks/tab-BpjFUbFO.js +107 -0
  31. package/dist/chunks/tabs-aWKq1Iaz.js +122 -0
  32. package/dist/chunks/text-ZWPy-iB3.js +26 -0
  33. package/dist/chunks/text-field-BB_MRt5h.js +158 -0
  34. package/dist/chunks/textarea-L6_OJ2IN.js +18 -0
  35. package/dist/chunks/thumbnail-CLe9AsFg.js +21 -0
  36. package/dist/chunks/toggle-C7-oPgWR.js +22 -0
  37. package/dist/chunks/ui-HcyMKwzs.js +11 -0
  38. package/dist/editors/vscode.css-custom-data.json +824 -0
  39. package/dist/editors/vscode.html-custom-data.json +1156 -0
  40. package/dist/editors/web-types.json +1706 -0
  41. package/dist/elements/badge.d.ts +1 -0
  42. package/dist/elements/badge.js +1 -0
  43. package/dist/elements/button.d.ts +1 -0
  44. package/dist/elements/button.js +1 -0
  45. package/dist/elements/card.d.ts +1 -0
  46. package/dist/elements/card.js +1 -0
  47. package/dist/elements/checkbox.d.ts +1 -0
  48. package/dist/elements/checkbox.js +1 -0
  49. package/dist/elements/chip.d.ts +1 -0
  50. package/dist/elements/chip.js +1 -0
  51. package/dist/elements/disclosure.d.ts +1 -0
  52. package/dist/elements/disclosure.js +1 -0
  53. package/dist/elements/divider.d.ts +1 -0
  54. package/dist/elements/divider.js +1 -0
  55. package/dist/elements/input.d.ts +1 -0
  56. package/dist/elements/input.js +1 -0
  57. package/dist/elements/link.d.ts +1 -0
  58. package/dist/elements/link.js +1 -0
  59. package/dist/elements/lookup-list.d.ts +1 -0
  60. package/dist/elements/lookup-list.js +1 -0
  61. package/dist/elements/lookup-option.d.ts +1 -0
  62. package/dist/elements/lookup-option.js +1 -0
  63. package/dist/elements/lookup.d.ts +1 -0
  64. package/dist/elements/lookup.js +1 -0
  65. package/dist/elements/popover.d.ts +1 -0
  66. package/dist/elements/popover.js +1 -0
  67. package/dist/elements/quantity.d.ts +1 -0
  68. package/dist/elements/quantity.js +1 -0
  69. package/dist/elements/radio-option.d.ts +1 -0
  70. package/dist/elements/radio-option.js +1 -0
  71. package/dist/elements/radio.d.ts +1 -0
  72. package/dist/elements/radio.js +1 -0
  73. package/dist/elements/select-option.d.ts +1 -0
  74. package/dist/elements/select-option.js +1 -0
  75. package/dist/elements/select.d.ts +1 -0
  76. package/dist/elements/select.js +1 -0
  77. package/dist/elements/skeleton.d.ts +1 -0
  78. package/dist/elements/skeleton.js +1 -0
  79. package/dist/elements/status.d.ts +1 -0
  80. package/dist/elements/status.js +1 -0
  81. package/dist/elements/tab.d.ts +1 -0
  82. package/dist/elements/tab.js +1 -0
  83. package/dist/elements/tabs.d.ts +1 -0
  84. package/dist/elements/tabs.js +1 -0
  85. package/dist/elements/text.d.ts +1 -0
  86. package/dist/elements/text.js +1 -0
  87. package/dist/elements/textarea.d.ts +1 -0
  88. package/dist/elements/textarea.js +1 -0
  89. package/dist/elements/thumbnail.d.ts +1 -0
  90. package/dist/elements/thumbnail.js +1 -0
  91. package/dist/elements/ui.d.ts +1 -0
  92. package/dist/elements/ui.js +1 -0
  93. package/dist/frameworks/jsx.d.ts +3589 -0
  94. package/dist/frameworks/preact.d.ts +9 -0
  95. package/dist/frameworks/solid.d.ts +7 -0
  96. package/dist/frameworks/svelte.d.ts +1676 -0
  97. package/dist/frameworks/vue.d.ts +827 -0
  98. package/dist/index.js +80 -0
  99. package/dist/react/badge.d.ts +12 -0
  100. package/dist/react/badge.js +4 -0
  101. package/dist/react/button.d.ts +16 -0
  102. package/dist/react/button.js +4 -0
  103. package/dist/react/card.d.ts +11 -0
  104. package/dist/react/card.js +4 -0
  105. package/dist/react/checkbox.d.ts +14 -0
  106. package/dist/react/checkbox.js +4 -0
  107. package/dist/react/chip.d.ts +12 -0
  108. package/dist/react/chip.js +4 -0
  109. package/dist/react/create.js +49 -0
  110. package/dist/react/disclosure.d.ts +11 -0
  111. package/dist/react/disclosure.js +4 -0
  112. package/dist/react/divider.d.ts +9 -0
  113. package/dist/react/divider.js +4 -0
  114. package/dist/react/index.d.ts +26 -0
  115. package/dist/react/index.js +26 -0
  116. package/dist/react/input.d.ts +28 -0
  117. package/dist/react/input.js +4 -0
  118. package/dist/react/link.d.ts +15 -0
  119. package/dist/react/link.js +4 -0
  120. package/dist/react/lookup-list.d.ts +9 -0
  121. package/dist/react/lookup-list.js +4 -0
  122. package/dist/react/lookup-option.d.ts +11 -0
  123. package/dist/react/lookup-option.js +4 -0
  124. package/dist/react/lookup.d.ts +28 -0
  125. package/dist/react/lookup.js +4 -0
  126. package/dist/react/popover.d.ts +11 -0
  127. package/dist/react/popover.js +4 -0
  128. package/dist/react/quantity.d.ts +15 -0
  129. package/dist/react/quantity.js +4 -0
  130. package/dist/react/radio-option.d.ts +11 -0
  131. package/dist/react/radio-option.js +4 -0
  132. package/dist/react/radio.d.ts +18 -0
  133. package/dist/react/radio.js +4 -0
  134. package/dist/react/select-option.d.ts +11 -0
  135. package/dist/react/select-option.js +4 -0
  136. package/dist/react/select.d.ts +20 -0
  137. package/dist/react/select.js +4 -0
  138. package/dist/react/skeleton.d.ts +11 -0
  139. package/dist/react/skeleton.js +4 -0
  140. package/dist/react/status.d.ts +12 -0
  141. package/dist/react/status.js +4 -0
  142. package/dist/react/tab.d.ts +10 -0
  143. package/dist/react/tab.js +4 -0
  144. package/dist/react/tabs.d.ts +17 -0
  145. package/dist/react/tabs.js +4 -0
  146. package/dist/react/text.d.ts +12 -0
  147. package/dist/react/text.js +4 -0
  148. package/dist/react/textarea.d.ts +23 -0
  149. package/dist/react/textarea.js +4 -0
  150. package/dist/react/thumbnail.d.ts +13 -0
  151. package/dist/react/thumbnail.js +4 -0
  152. package/dist/react/ui.d.ts +10 -0
  153. package/dist/react/ui.js +4 -0
  154. package/dist/types/components/core/badge/badge.d.ts +25 -0
  155. package/dist/types/components/core/button/button.d.ts +60 -0
  156. package/dist/types/components/core/card/card.d.ts +21 -0
  157. package/dist/types/components/core/checkbox/checkbox.d.ts +46 -0
  158. package/dist/types/components/core/chip/chip.d.ts +36 -0
  159. package/dist/types/components/core/disclosure/disclosure.d.ts +37 -0
  160. package/dist/types/components/core/divider/divider.d.ts +21 -0
  161. package/dist/types/components/core/index.d.ts +21 -0
  162. package/dist/types/components/core/input/input.d.ts +57 -0
  163. package/dist/types/components/core/link/link.d.ts +42 -0
  164. package/dist/types/components/core/lookup/lookup-list.d.ts +21 -0
  165. package/dist/types/components/core/lookup/lookup-option.d.ts +27 -0
  166. package/dist/types/components/core/lookup/lookup.d.ts +32 -0
  167. package/dist/types/components/core/popover/popover.d.ts +33 -0
  168. package/dist/types/components/core/quantity/quantity.d.ts +47 -0
  169. package/dist/types/components/core/radio/radio-option.d.ts +82 -0
  170. package/dist/types/components/core/radio/radio.d.ts +65 -0
  171. package/dist/types/components/core/select/select-option.d.ts +69 -0
  172. package/dist/types/components/core/select/select.d.ts +70 -0
  173. package/dist/types/components/core/skeleton/skeleton.d.ts +23 -0
  174. package/dist/types/components/core/status/status.d.ts +38 -0
  175. package/dist/types/components/core/tabs/tab.d.ts +76 -0
  176. package/dist/types/components/core/tabs/tabs.d.ts +46 -0
  177. package/dist/types/components/core/text/text.d.ts +23 -0
  178. package/dist/types/components/core/textarea/textarea.d.ts +45 -0
  179. package/dist/types/components/core/thumbnail/thumbnail.d.ts +27 -0
  180. package/dist/types/components/core/ui/ui.d.ts +16 -0
  181. package/dist/types/components/elements.d.ts +1 -0
  182. package/dist/types/react/create.d.ts +8 -0
  183. package/dist/types/runtime/config.d.ts +25 -0
  184. package/dist/types/runtime/css.d.ts +12 -0
  185. package/dist/types/runtime/define.d.ts +4 -0
  186. package/dist/types/runtime/description.d.ts +12 -0
  187. package/dist/types/runtime/element.d.ts +61 -0
  188. package/dist/types/runtime/focus.d.ts +5 -0
  189. package/dist/types/runtime/form.d.ts +5 -0
  190. package/dist/types/runtime/index.d.ts +2 -0
  191. package/dist/types/runtime/link.d.ts +17 -0
  192. package/dist/types/runtime/loader.d.ts +21 -0
  193. package/dist/types/runtime/popup.d.ts +8 -0
  194. package/dist/types/runtime/sheet.d.ts +31 -0
  195. package/dist/types/runtime/text-field.d.ts +47 -0
  196. package/dist/types/runtime/toggle.d.ts +8 -0
  197. package/dist/types/runtime/tokens.generated.d.ts +492 -0
  198. package/dist/types/runtime/values.d.ts +6 -0
  199. package/dist/types/runtime/variants.d.ts +4 -0
  200. package/package.json +136 -4
  201. package/resolver.json +111 -0
  202. package/src/components/core/badge/tokens.json +152 -0
  203. package/src/components/core/button/tokens.dark.json +16 -0
  204. package/src/components/core/button/tokens.json +232 -0
  205. package/src/components/core/card/tokens.json +35 -0
  206. package/src/components/core/checkbox/tokens.json +15 -0
  207. package/src/components/core/chip/tokens.json +144 -0
  208. package/src/components/core/link/tokens.json +24 -0
  209. package/src/components/core/radio/tokens.dark.json +17 -0
  210. package/src/components/core/radio/tokens.json +114 -0
  211. package/src/components/core/status/tokens.dark.json +71 -0
  212. package/src/components/core/status/tokens.json +135 -0
  213. package/src/components/core/tabs/tokens.json +80 -0
  214. package/src/components/core/text/tokens.json +222 -0
  215. package/src/components/core/thumbnail/tokens.json +46 -0
  216. package/tokens/border.json +38 -0
  217. package/tokens/color.dark.json +88 -0
  218. package/tokens/color.json +115 -0
  219. package/tokens/control.json +115 -0
  220. package/tokens/field.dark.json +65 -0
  221. package/tokens/field.json +158 -0
  222. package/tokens/focus.json +26 -0
  223. package/tokens/font.json +117 -0
  224. package/tokens/motion.json +49 -0
  225. package/tokens/overlay.json +81 -0
@@ -0,0 +1,824 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "properties": [
5
+ {
6
+ "name": "--swell-color-background",
7
+ "description": "Page background."
8
+ },
9
+ {
10
+ "name": "--swell-color-foreground",
11
+ "description": "Text and icons on the page background."
12
+ },
13
+ {
14
+ "name": "--swell-color-border",
15
+ "description": "Decorative borders and dividers."
16
+ },
17
+ {
18
+ "name": "--swell-color-accent",
19
+ "description": "The brand color: filled buttons, links, checked controls, focus."
20
+ },
21
+ {
22
+ "name": "--swell-color-danger",
23
+ "description": "Errors: invalid fields, error messages."
24
+ },
25
+ {
26
+ "name": "--swell-color-success",
27
+ "description": "Success: success messages and a successful button."
28
+ },
29
+ {
30
+ "name": "--swell-color-warning",
31
+ "description": "Warnings: warning messages."
32
+ },
33
+ {
34
+ "name": "--swell-color-secondary-background",
35
+ "description": "Quiet areas: secondary buttons, status messages, filled fields."
36
+ },
37
+ {
38
+ "name": "--swell-color-secondary-foreground",
39
+ "description": "Quiet text: hints, captions, placeholders, secondary text."
40
+ },
41
+ {
42
+ "name": "--swell-color-secondary-border",
43
+ "description": "Borders of secondary buttons, badges and thumbnails."
44
+ },
45
+ {
46
+ "name": "--swell-color-secondary-accent",
47
+ "description": "The quiet color where there is no fill: secondary text and links, and the text of outline and plain secondary buttons and badges."
48
+ },
49
+ {
50
+ "name": "--swell-color-secondary-shadow",
51
+ "description": "Color of the shadow of filled secondary buttons."
52
+ },
53
+ {
54
+ "name": "--swell-font-family",
55
+ "description": "Font family."
56
+ },
57
+ {
58
+ "name": "--swell-font-size",
59
+ "description": "Base font size."
60
+ },
61
+ {
62
+ "name": "--swell-font-weight",
63
+ "description": "Base font weight."
64
+ },
65
+ {
66
+ "name": "--swell-font-tracking",
67
+ "description": "Base letter spacing, in em."
68
+ },
69
+ {
70
+ "name": "--swell-font-leading",
71
+ "description": "Base line height, as a multiple of the font size."
72
+ },
73
+ {
74
+ "name": "--swell-font-caption-size",
75
+ "description": "Small font size: captions, divider labels and medium chips."
76
+ },
77
+ {
78
+ "name": "--swell-font-footnote-size",
79
+ "description": "Smallest font size: footnotes, eyebrows and medium badges."
80
+ },
81
+ {
82
+ "name": "--swell-font-heading-family",
83
+ "description": "Font family of titles, headings, subheadings and the labels of vertical steps."
84
+ },
85
+ {
86
+ "name": "--swell-font-heading-weight",
87
+ "description": "Font weight of titles, headings, subheadings and the labels of vertical steps."
88
+ },
89
+ {
90
+ "name": "--swell-font-heading-tracking",
91
+ "description": "Letter spacing of headings and the labels of vertical steps, in em."
92
+ },
93
+ {
94
+ "name": "--swell-font-medium-weight",
95
+ "description": "A medium weight: a raised field label and the label of a button option."
96
+ },
97
+ {
98
+ "name": "--swell-font-strong-weight",
99
+ "description": "A strong weight: field labels, errors, plain status messages and links, tabs, the labels of outline and segmented options, badges and strong text."
100
+ },
101
+ {
102
+ "name": "--swell-font-bold-weight",
103
+ "description": "A bold weight: the count of a quantity, the numbers of steps, the chosen button option, chips, small badges and eyebrows."
104
+ },
105
+ {
106
+ "name": "--swell-border-radius",
107
+ "description": "Base corner radius."
108
+ },
109
+ {
110
+ "name": "--swell-border-width",
111
+ "description": "Width of a border or a line: the frames of fields, checkboxes, overlays, cards, chips, badges, thumbnails, status messages, quantities and button options, buttons, dividers, the lines between the options of a select, above a lookup's action and under tabs."
112
+ },
113
+ {
114
+ "name": "--swell-border-strong-width",
115
+ "description": "Width of a border that marks a control: outline buttons, the frames of outline radio options, radio circles, the circles of steps and skeleton cards."
116
+ },
117
+ {
118
+ "name": "--swell-focus-color",
119
+ "description": "Color of the focus outline."
120
+ },
121
+ {
122
+ "name": "--swell-focus-width",
123
+ "description": "Width of the focus outline."
124
+ },
125
+ {
126
+ "name": "--swell-focus-offset",
127
+ "description": "Gap between a component and its focus outline."
128
+ },
129
+ {
130
+ "name": "--swell-motion-duration-fast",
131
+ "description": "Color changes on hover and focus."
132
+ },
133
+ {
134
+ "name": "--swell-motion-duration-base",
135
+ "description": "Presses, small moves and pops: a check, a rising label, a list or an error appearing."
136
+ },
137
+ {
138
+ "name": "--swell-motion-duration-slow",
139
+ "description": "Large moves: a sliding marker, expanding content, a message appearing, a shake, a chip popping in."
140
+ },
141
+ {
142
+ "name": "--swell-motion-duration-loop",
143
+ "description": "Period of a continuous motion: the shimmer of a skeleton; the spinner of a loading button turns in two thirds of it."
144
+ },
145
+ {
146
+ "name": "--swell-motion-easing",
147
+ "description": "Easing of every transition that doesn't overshoot."
148
+ },
149
+ {
150
+ "name": "--swell-motion-spring",
151
+ "description": "Easing of pops that overshoot: checks and chips."
152
+ },
153
+ {
154
+ "name": "--swell-control-height",
155
+ "description": "Height of medium controls."
156
+ },
157
+ {
158
+ "name": "--swell-control-font-size",
159
+ "description": "Font size of medium controls."
160
+ },
161
+ {
162
+ "name": "--swell-control-xsmall-height",
163
+ "description": "Height of extra small controls, the smallest that holds a 16px line on a touch screen."
164
+ },
165
+ {
166
+ "name": "--swell-control-xsmall-font-size",
167
+ "description": "Font size of extra small controls."
168
+ },
169
+ {
170
+ "name": "--swell-control-small-height",
171
+ "description": "Height of small controls."
172
+ },
173
+ {
174
+ "name": "--swell-control-small-font-size",
175
+ "description": "Font size of small controls."
176
+ },
177
+ {
178
+ "name": "--swell-control-large-height",
179
+ "description": "Height of large controls."
180
+ },
181
+ {
182
+ "name": "--swell-control-large-font-size",
183
+ "description": "Font size of large controls."
184
+ },
185
+ {
186
+ "name": "--swell-control-xlarge-height",
187
+ "description": "Height of extra large controls."
188
+ },
189
+ {
190
+ "name": "--swell-control-xlarge-font-size",
191
+ "description": "Font size of extra large controls."
192
+ },
193
+ {
194
+ "name": "--swell-control-disabled-opacity",
195
+ "description": "Opacity of a disabled control, the disabled options of a choice, a busy quantity and the step of a quantity at its limit."
196
+ },
197
+ {
198
+ "name": "--swell-field-color-background",
199
+ "description": "Fill of filled fields."
200
+ },
201
+ {
202
+ "name": "--swell-field-color-foreground",
203
+ "description": "Text of fields."
204
+ },
205
+ {
206
+ "name": "--swell-field-color-border",
207
+ "description": "Border of fields, checkboxes and radio circles, at 3:1 against the background."
208
+ },
209
+ {
210
+ "name": "--swell-field-hover-color-border",
211
+ "description": "Border of fields, checkboxes and radio circles under the pointer."
212
+ },
213
+ {
214
+ "name": "--swell-field-focus-color-ring",
215
+ "description": "Soft ring around a focused outline field, outside its border in focus.color."
216
+ },
217
+ {
218
+ "name": "--swell-field-invalid-color-ring",
219
+ "description": "Soft ring around an invalid outline field, outside its border in color.danger."
220
+ },
221
+ {
222
+ "name": "--swell-field-label-font-family",
223
+ "description": "Font family of field labels."
224
+ },
225
+ {
226
+ "name": "--swell-field-label-font-weight",
227
+ "description": "Font weight of labels above fields; a floating label takes the base font weight at rest and font.medium.weight raised."
228
+ },
229
+ {
230
+ "name": "--swell-field-label-font-tracking",
231
+ "description": "Letter spacing of field labels, in em."
232
+ },
233
+ {
234
+ "name": "--swell-field-label-color-foreground",
235
+ "description": "Color of labels above fields; a floating label takes color.secondary.foreground."
236
+ },
237
+ {
238
+ "name": "--swell-field-ring-width",
239
+ "description": "Width of the ring around a focused or invalid outline field, and of the ring around the current step."
240
+ },
241
+ {
242
+ "name": "--swell-field-gap",
243
+ "description": "Space between the label, the field and the hint or error of a field, a checkbox and a radio group."
244
+ },
245
+ {
246
+ "name": "--swell-field-outline-color-background",
247
+ "description": "Fill of outline fields, such as a raised surface on a dark page or a field in an area of its own; transparent by default."
248
+ },
249
+ {
250
+ "name": "--swell-overlay-border-radius",
251
+ "description": "Corner radius of a floating surface."
252
+ },
253
+ {
254
+ "name": "--swell-overlay-color-background",
255
+ "description": "Background of a floating surface."
256
+ },
257
+ {
258
+ "name": "--swell-overlay-color-border",
259
+ "description": "Border of a floating surface, and the dividers between its rows."
260
+ },
261
+ {
262
+ "name": "--swell-overlay-color-shadow",
263
+ "description": "Color of the shadow of surfaces that float above the page."
264
+ },
265
+ {
266
+ "name": "--swell-overlay-shadow",
267
+ "description": "Shadow of the lists of selects and lookups and the panels of popovers, in overlay.color.shadow."
268
+ },
269
+ {
270
+ "name": "--swell-overlay-padding",
271
+ "description": "Padding of the panel of a popover."
272
+ },
273
+ {
274
+ "name": "--swell-overlay-offset",
275
+ "description": "Space between a field or a trigger and the list or panel it opens."
276
+ },
277
+ {
278
+ "name": "--swell-overlay-height",
279
+ "description": "The tallest a list or a panel grows before it scrolls."
280
+ },
281
+ {
282
+ "name": "--swell-text-font-family",
283
+ "description": "Font family of text."
284
+ },
285
+ {
286
+ "name": "--swell-text-font-size",
287
+ "description": "Font size of body text."
288
+ },
289
+ {
290
+ "name": "--swell-text-font-weight",
291
+ "description": "Font weight of body text."
292
+ },
293
+ {
294
+ "name": "--swell-text-font-tracking",
295
+ "description": "Letter spacing of body text, in em."
296
+ },
297
+ {
298
+ "name": "--swell-text-font-leading",
299
+ "description": "Line height of body text, as a multiple of the font size."
300
+ },
301
+ {
302
+ "name": "--swell-text-color-accent",
303
+ "description": "Color of text: text has no fill, so a variant colors it with its accent."
304
+ },
305
+ {
306
+ "name": "--swell-text-title-font-family",
307
+ "description": "Font family of titles."
308
+ },
309
+ {
310
+ "name": "--swell-text-title-font-size",
311
+ "description": "Font size of titles."
312
+ },
313
+ {
314
+ "name": "--swell-text-title-font-weight",
315
+ "description": "Font weight of titles."
316
+ },
317
+ {
318
+ "name": "--swell-text-title-font-tracking",
319
+ "description": "Letter spacing of titles, in em."
320
+ },
321
+ {
322
+ "name": "--swell-text-title-font-leading",
323
+ "description": "Line height of titles."
324
+ },
325
+ {
326
+ "name": "--swell-text-heading-font-family",
327
+ "description": "Font family of headings."
328
+ },
329
+ {
330
+ "name": "--swell-text-heading-font-size",
331
+ "description": "Font size of headings."
332
+ },
333
+ {
334
+ "name": "--swell-text-heading-font-weight",
335
+ "description": "Font weight of headings."
336
+ },
337
+ {
338
+ "name": "--swell-text-heading-font-tracking",
339
+ "description": "Letter spacing of headings, in em."
340
+ },
341
+ {
342
+ "name": "--swell-text-heading-font-leading",
343
+ "description": "Line height of headings."
344
+ },
345
+ {
346
+ "name": "--swell-text-subheading-font-family",
347
+ "description": "Font family of subheadings."
348
+ },
349
+ {
350
+ "name": "--swell-text-subheading-font-size",
351
+ "description": "Font size of subheadings."
352
+ },
353
+ {
354
+ "name": "--swell-text-subheading-font-weight",
355
+ "description": "Font weight of subheadings."
356
+ },
357
+ {
358
+ "name": "--swell-text-subheading-font-tracking",
359
+ "description": "Letter spacing of subheadings, in em."
360
+ },
361
+ {
362
+ "name": "--swell-text-subheading-font-leading",
363
+ "description": "Line height of subheadings."
364
+ },
365
+ {
366
+ "name": "--swell-text-strong-font-weight",
367
+ "description": "Font weight of strong text, such as the title of a group of fields."
368
+ },
369
+ {
370
+ "name": "--swell-text-caption-font-size",
371
+ "description": "Font size of captions."
372
+ },
373
+ {
374
+ "name": "--swell-text-footnote-font-size",
375
+ "description": "Font size of footnotes: legal text, footers and notes."
376
+ },
377
+ {
378
+ "name": "--swell-text-eyebrow-font-size",
379
+ "description": "Font size of eyebrows, the short uppercase lines above content."
380
+ },
381
+ {
382
+ "name": "--swell-text-eyebrow-font-weight",
383
+ "description": "Font weight of eyebrows."
384
+ },
385
+ {
386
+ "name": "--swell-text-eyebrow-font-tracking",
387
+ "description": "Letter spacing of eyebrows, in em."
388
+ },
389
+ {
390
+ "name": "--swell-link-font-weight",
391
+ "description": "Font weight of plain links."
392
+ },
393
+ {
394
+ "name": "--swell-link-color-accent",
395
+ "description": "Color of links."
396
+ },
397
+ {
398
+ "name": "--swell-button-height",
399
+ "description": "Height of medium buttons."
400
+ },
401
+ {
402
+ "name": "--swell-button-font-size",
403
+ "description": "Font size of medium buttons."
404
+ },
405
+ {
406
+ "name": "--swell-button-font-tracking",
407
+ "description": "Letter spacing of buttons, in em."
408
+ },
409
+ {
410
+ "name": "--swell-button-font-weight",
411
+ "description": "Font weight of button labels."
412
+ },
413
+ {
414
+ "name": "--swell-button-xsmall-height",
415
+ "description": "Height of extra small buttons."
416
+ },
417
+ {
418
+ "name": "--swell-button-xsmall-font-size",
419
+ "description": "Font size of extra small buttons."
420
+ },
421
+ {
422
+ "name": "--swell-button-small-height",
423
+ "description": "Height of small buttons."
424
+ },
425
+ {
426
+ "name": "--swell-button-small-font-size",
427
+ "description": "Font size of small buttons."
428
+ },
429
+ {
430
+ "name": "--swell-button-large-height",
431
+ "description": "Height of large buttons."
432
+ },
433
+ {
434
+ "name": "--swell-button-large-font-size",
435
+ "description": "Font size of large buttons."
436
+ },
437
+ {
438
+ "name": "--swell-button-large-font-tracking",
439
+ "description": "Letter spacing of large buttons, in em."
440
+ },
441
+ {
442
+ "name": "--swell-button-xlarge-height",
443
+ "description": "Height of extra large buttons."
444
+ },
445
+ {
446
+ "name": "--swell-button-xlarge-font-size",
447
+ "description": "Font size of extra large buttons."
448
+ },
449
+ {
450
+ "name": "--swell-button-xlarge-font-tracking",
451
+ "description": "Letter spacing of extra large buttons, in em."
452
+ },
453
+ {
454
+ "name": "--swell-button-border-radius",
455
+ "description": "Corner radius of buttons."
456
+ },
457
+ {
458
+ "name": "--swell-button-color-accent",
459
+ "description": "Text and border of outline and plain primary buttons."
460
+ },
461
+ {
462
+ "name": "--swell-button-color-background",
463
+ "description": "Fill of filled primary buttons."
464
+ },
465
+ {
466
+ "name": "--swell-button-color-foreground",
467
+ "description": "Text of filled primary buttons."
468
+ },
469
+ {
470
+ "name": "--swell-button-color-border",
471
+ "description": "Border of filled and outline primary buttons."
472
+ },
473
+ {
474
+ "name": "--swell-button-color-shadow",
475
+ "description": "Color of the shadow of filled buttons."
476
+ },
477
+ {
478
+ "name": "--swell-button-shadow",
479
+ "description": "Shadow of a filled button, in button.color.shadow; a successful button casts it in color.success."
480
+ },
481
+ {
482
+ "name": "--swell-button-hover-shadow",
483
+ "description": "Shadow of a filled button under the pointer, in button.color.shadow."
484
+ },
485
+ {
486
+ "name": "--swell-button-hover-offset",
487
+ "description": "How far a button rises under the pointer; 0 keeps it in place."
488
+ },
489
+ {
490
+ "name": "--swell-checkbox-border-radius",
491
+ "description": "Corner radius of checkboxes."
492
+ },
493
+ {
494
+ "name": "--swell-radio-border-radius",
495
+ "description": "Corner radius of outline options and of skeleton cards."
496
+ },
497
+ {
498
+ "name": "--swell-radio-color-background",
499
+ "description": "Background of outline and button options and of the marker of a segmented group."
500
+ },
501
+ {
502
+ "name": "--swell-radio-color-border",
503
+ "description": "Border of outline and button options; decorative: the circle of an outline option and the label of a button option mark the control."
504
+ },
505
+ {
506
+ "name": "--swell-radio-color-shadow",
507
+ "description": "Color of the shadow of the marker of a segmented group."
508
+ },
509
+ {
510
+ "name": "--swell-radio-checked-color-background",
511
+ "description": "Fill of the chosen option of a group drawn as buttons."
512
+ },
513
+ {
514
+ "name": "--swell-radio-shadow",
515
+ "description": "Shadow of the marker under the chosen option of a segmented group, in radio.color.shadow."
516
+ },
517
+ {
518
+ "name": "--swell-radio-gap",
519
+ "description": "Space between the options of a radio group."
520
+ },
521
+ {
522
+ "name": "--swell-radio-button-gap",
523
+ "description": "Space between the options of a radio group drawn as buttons."
524
+ },
525
+ {
526
+ "name": "--swell-status-border-radius",
527
+ "description": "Corner radius of status messages."
528
+ },
529
+ {
530
+ "name": "--swell-status-color-background",
531
+ "description": "Background of filled messages; a type sets its own."
532
+ },
533
+ {
534
+ "name": "--swell-status-color-foreground",
535
+ "description": "Text of status messages."
536
+ },
537
+ {
538
+ "name": "--swell-status-color-accent",
539
+ "description": "Icon of a message without a type, such as the host's start icon; a type sets its own, which also draws the border of an outline message and the text of a plain danger one."
540
+ },
541
+ {
542
+ "name": "--swell-status-color-border",
543
+ "description": "Border of messages; a type sets its own."
544
+ },
545
+ {
546
+ "name": "--swell-status-danger-color-accent",
547
+ "description": "Icon of danger messages, the border of an outline one and the text of a plain one."
548
+ },
549
+ {
550
+ "name": "--swell-status-danger-color-background",
551
+ "description": "Background of filled danger messages."
552
+ },
553
+ {
554
+ "name": "--swell-status-danger-color-border",
555
+ "description": "Border of filled danger messages."
556
+ },
557
+ {
558
+ "name": "--swell-status-success-color-accent",
559
+ "description": "Icon of success messages, the border of an outline one."
560
+ },
561
+ {
562
+ "name": "--swell-status-success-color-background",
563
+ "description": "Background of filled success messages."
564
+ },
565
+ {
566
+ "name": "--swell-status-success-color-border",
567
+ "description": "Border of filled success messages."
568
+ },
569
+ {
570
+ "name": "--swell-status-warning-color-accent",
571
+ "description": "Icon of warning messages, the border of an outline one."
572
+ },
573
+ {
574
+ "name": "--swell-status-warning-color-background",
575
+ "description": "Background of filled warning messages."
576
+ },
577
+ {
578
+ "name": "--swell-status-warning-color-border",
579
+ "description": "Border of filled warning messages."
580
+ },
581
+ {
582
+ "name": "--swell-badge-height",
583
+ "description": "Height and least width of medium badges."
584
+ },
585
+ {
586
+ "name": "--swell-badge-font-size",
587
+ "description": "Font size of medium badges."
588
+ },
589
+ {
590
+ "name": "--swell-badge-font-weight",
591
+ "description": "Font weight of medium badges."
592
+ },
593
+ {
594
+ "name": "--swell-badge-xsmall-height",
595
+ "description": "Height and least width of extra small badges, such as a count on an icon."
596
+ },
597
+ {
598
+ "name": "--swell-badge-xsmall-font-size",
599
+ "description": "Font size of extra small badges."
600
+ },
601
+ {
602
+ "name": "--swell-badge-xsmall-font-weight",
603
+ "description": "Font weight of extra small badges."
604
+ },
605
+ {
606
+ "name": "--swell-badge-small-height",
607
+ "description": "Height and least width of small badges, such as a count."
608
+ },
609
+ {
610
+ "name": "--swell-badge-small-font-size",
611
+ "description": "Font size of small badges."
612
+ },
613
+ {
614
+ "name": "--swell-badge-small-font-weight",
615
+ "description": "Font weight of small badges."
616
+ },
617
+ {
618
+ "name": "--swell-badge-large-height",
619
+ "description": "Height and least width of large badges."
620
+ },
621
+ {
622
+ "name": "--swell-badge-large-font-size",
623
+ "description": "Font size of large badges."
624
+ },
625
+ {
626
+ "name": "--swell-badge-xlarge-height",
627
+ "description": "Height and least width of extra large badges."
628
+ },
629
+ {
630
+ "name": "--swell-badge-xlarge-font-size",
631
+ "description": "Font size of extra large badges."
632
+ },
633
+ {
634
+ "name": "--swell-badge-color-background",
635
+ "description": "Fill of filled primary badges, such as a count."
636
+ },
637
+ {
638
+ "name": "--swell-badge-color-foreground",
639
+ "description": "Text of filled primary badges."
640
+ },
641
+ {
642
+ "name": "--swell-badge-color-border",
643
+ "description": "Border of outline primary badges."
644
+ },
645
+ {
646
+ "name": "--swell-badge-color-accent",
647
+ "description": "Text of outline primary badges."
648
+ },
649
+ {
650
+ "name": "--swell-chip-height",
651
+ "description": "Height of medium chips."
652
+ },
653
+ {
654
+ "name": "--swell-chip-font-size",
655
+ "description": "Font size of medium chips."
656
+ },
657
+ {
658
+ "name": "--swell-chip-font-weight",
659
+ "description": "Font weight of chips."
660
+ },
661
+ {
662
+ "name": "--swell-chip-font-tracking",
663
+ "description": "Letter spacing of chips, in em."
664
+ },
665
+ {
666
+ "name": "--swell-chip-xsmall-height",
667
+ "description": "Height of extra small chips."
668
+ },
669
+ {
670
+ "name": "--swell-chip-xsmall-font-size",
671
+ "description": "Font size of extra small chips."
672
+ },
673
+ {
674
+ "name": "--swell-chip-small-height",
675
+ "description": "Height of small chips."
676
+ },
677
+ {
678
+ "name": "--swell-chip-small-font-size",
679
+ "description": "Font size of small chips."
680
+ },
681
+ {
682
+ "name": "--swell-chip-large-height",
683
+ "description": "Height of large chips."
684
+ },
685
+ {
686
+ "name": "--swell-chip-large-font-size",
687
+ "description": "Font size of large chips."
688
+ },
689
+ {
690
+ "name": "--swell-chip-xlarge-height",
691
+ "description": "Height of extra large chips."
692
+ },
693
+ {
694
+ "name": "--swell-chip-xlarge-font-size",
695
+ "description": "Font size of extra large chips."
696
+ },
697
+ {
698
+ "name": "--swell-chip-color-background",
699
+ "description": "Fill of chips."
700
+ },
701
+ {
702
+ "name": "--swell-chip-color-foreground",
703
+ "description": "Text of chips."
704
+ },
705
+ {
706
+ "name": "--swell-chip-color-border",
707
+ "description": "Border of chips."
708
+ },
709
+ {
710
+ "name": "--swell-chip-color-accent",
711
+ "description": "The remove button of chips."
712
+ },
713
+ {
714
+ "name": "--swell-thumbnail-border-radius",
715
+ "description": "Corner radius of thumbnails that aren't circles."
716
+ },
717
+ {
718
+ "name": "--swell-thumbnail-color-background",
719
+ "description": "Fill of primary thumbnails, such as an avatar's initials."
720
+ },
721
+ {
722
+ "name": "--swell-thumbnail-color-foreground",
723
+ "description": "Initials and icons of primary thumbnails."
724
+ },
725
+ {
726
+ "name": "--swell-thumbnail-color-border",
727
+ "description": "Border of primary thumbnails; none by default, also over a photo."
728
+ },
729
+ {
730
+ "name": "--swell-thumbnail-font-weight",
731
+ "description": "Font weight of the initials in a thumbnail."
732
+ },
733
+ {
734
+ "name": "--swell-card-border-radius",
735
+ "description": "Corner radius of cards."
736
+ },
737
+ {
738
+ "name": "--swell-card-color-background",
739
+ "description": "Background of outline cards."
740
+ },
741
+ {
742
+ "name": "--swell-card-color-border",
743
+ "description": "Border of outline cards."
744
+ },
745
+ {
746
+ "name": "--swell-tabs-border-radius",
747
+ "description": "Corner radius of the marker of segmented tabs; the track takes 4px more."
748
+ },
749
+ {
750
+ "name": "--swell-tabs-indicator-width",
751
+ "description": "Width of the line that marks the chosen tab, and of the lines between steps."
752
+ },
753
+ {
754
+ "name": "--swell-tabs-color-background",
755
+ "description": "Background of the marker of segmented tabs."
756
+ },
757
+ {
758
+ "name": "--swell-tabs-color-shadow",
759
+ "description": "Color of the shadow of the marker of segmented tabs."
760
+ },
761
+ {
762
+ "name": "--swell-tabs-font-weight",
763
+ "description": "Font weight of tab labels."
764
+ },
765
+ {
766
+ "name": "--swell-tabs-shadow",
767
+ "description": "Shadow of the marker under the chosen segmented tab, in tabs.color.shadow."
768
+ }
769
+ ],
770
+ "pseudoElements": [
771
+ {
772
+ "name": "::part(remove)",
773
+ "description": "The remove button."
774
+ },
775
+ {
776
+ "name": "::part(content)",
777
+ "description": "The box that expands to show the content."
778
+ },
779
+ {
780
+ "name": "::part(link)",
781
+ "description": "The anchor, or the content of the button without `href`."
782
+ },
783
+ {
784
+ "name": "::part(frame)",
785
+ "description": "The box that draws the field around the native input, its start and its end."
786
+ },
787
+ {
788
+ "name": "::part(start)",
789
+ "description": "The box of the start content."
790
+ },
791
+ {
792
+ "name": "::part(end)",
793
+ "description": "The box of the end content."
794
+ },
795
+ {
796
+ "name": "::part(list)",
797
+ "description": "The popup that holds the list and the action."
798
+ },
799
+ {
800
+ "name": "::part(frame)",
801
+ "description": "The box that draws the field around the native input, its start and its end."
802
+ },
803
+ {
804
+ "name": "::part(start)",
805
+ "description": "The box of the start content."
806
+ },
807
+ {
808
+ "name": "::part(end)",
809
+ "description": "The box of the end content."
810
+ },
811
+ {
812
+ "name": "::part(panel)",
813
+ "description": "The floating panel."
814
+ },
815
+ {
816
+ "name": "::part(message)",
817
+ "description": "The message box."
818
+ },
819
+ {
820
+ "name": "::part(frame)",
821
+ "description": "The box that draws the field around the native textarea."
822
+ }
823
+ ]
824
+ }