@solid-design-system/components 1.0.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 (119) hide show
  1. package/LICENSE.md +20 -0
  2. package/README.md +15 -0
  3. package/dist/components/es/button.js +125 -0
  4. package/dist/components/es/classix.js +1 -0
  5. package/dist/components/es/component.styles.js +1 -0
  6. package/dist/components/es/icon.js +17 -0
  7. package/dist/components/es/if-defined.js +11 -0
  8. package/dist/components/es/include.js +1 -0
  9. package/dist/components/es/include.styles.js +1 -0
  10. package/dist/components/es/library.js +1 -0
  11. package/dist/components/es/library.system.js +1 -0
  12. package/dist/components/es/link.js +1 -0
  13. package/dist/components/es/lit-element.js +23 -0
  14. package/dist/components/es/request.js +1 -0
  15. package/dist/components/es/request2.js +1 -0
  16. package/dist/components/es/solid-components.js +1 -0
  17. package/dist/components/es/solid-element.js +21 -0
  18. package/dist/components/es/spinner.js +1 -0
  19. package/dist/components/es/state.js +6 -0
  20. package/dist/components/es/watch.js +1 -0
  21. package/dist/components/umd/solid-components.js +200 -0
  22. package/dist/custom-elements.json +1 -0
  23. package/dist/package/components/button/button.d.ts +48 -0
  24. package/dist/package/components/button/button.js +391 -0
  25. package/dist/package/components/icon/icon.d.ts +22 -0
  26. package/dist/package/components/icon/icon.js +129 -0
  27. package/dist/package/components/icon/library.d.ts +16 -0
  28. package/dist/package/components/icon/library.js +17 -0
  29. package/dist/package/components/icon/library.system.d.ts +7 -0
  30. package/dist/package/components/icon/library.system.js +26 -0
  31. package/dist/package/components/icon/request.d.ts +11 -0
  32. package/dist/package/components/icon/request.js +24 -0
  33. package/dist/package/components/include/include.d.ts +16 -0
  34. package/dist/package/components/include/include.js +72 -0
  35. package/dist/package/components/include/include.styles.d.ts +2 -0
  36. package/dist/package/components/include/include.styles.js +6 -0
  37. package/dist/package/components/include/request.d.ts +7 -0
  38. package/dist/package/components/include/request.js +18 -0
  39. package/dist/package/components/link/link.d.ts +22 -0
  40. package/dist/package/components/link/link.js +107 -0
  41. package/dist/package/components/spinner/spinner.d.ts +12 -0
  42. package/dist/package/components/spinner/spinner.js +46 -0
  43. package/dist/package/internal/form.d.ts +35 -0
  44. package/dist/package/internal/form.js +212 -0
  45. package/dist/package/internal/slot.d.ts +14 -0
  46. package/dist/package/internal/slot.js +47 -0
  47. package/dist/package/internal/solid-element.d.ts +26 -0
  48. package/dist/package/internal/solid-element.js +38 -0
  49. package/dist/package/internal/watch.d.ts +11 -0
  50. package/dist/package/internal/watch.js +28 -0
  51. package/dist/package/node_modules/.pnpm/@shoelace-style_localize@3.1.0/node_modules/@shoelace-style/localize/dist/index.js +103 -0
  52. package/dist/package/solid-components.d.ts +6 -0
  53. package/dist/package/solid-components.js +14 -0
  54. package/dist/package/styles/component.styles.d.ts +2 -0
  55. package/dist/package/styles/component.styles.js +5 -0
  56. package/dist/package/styles/tailwind.css.js +4 -0
  57. package/dist/package/translations/en.d.ts +3 -0
  58. package/dist/package/translations/en.js +31 -0
  59. package/dist/package/utilities/localize.d.ts +25 -0
  60. package/dist/package/utilities/localize.js +7 -0
  61. package/dist/versioned-components/es/button.js +125 -0
  62. package/dist/versioned-components/es/classix.js +1 -0
  63. package/dist/versioned-components/es/component.styles.js +1 -0
  64. package/dist/versioned-components/es/icon.js +17 -0
  65. package/dist/versioned-components/es/if-defined.js +11 -0
  66. package/dist/versioned-components/es/include.js +1 -0
  67. package/dist/versioned-components/es/include.styles.js +1 -0
  68. package/dist/versioned-components/es/library.js +1 -0
  69. package/dist/versioned-components/es/library.system.js +1 -0
  70. package/dist/versioned-components/es/link.js +1 -0
  71. package/dist/versioned-components/es/lit-element.js +23 -0
  72. package/dist/versioned-components/es/request.js +1 -0
  73. package/dist/versioned-components/es/request2.js +1 -0
  74. package/dist/versioned-components/es/solid-components.js +1 -0
  75. package/dist/versioned-components/es/solid-element.js +21 -0
  76. package/dist/versioned-components/es/spinner.js +1 -0
  77. package/dist/versioned-components/es/state.js +6 -0
  78. package/dist/versioned-components/es/watch.js +1 -0
  79. package/dist/versioned-package/components/button/button.d.ts +48 -0
  80. package/dist/versioned-package/components/button/button.js +391 -0
  81. package/dist/versioned-package/components/icon/icon.d.ts +22 -0
  82. package/dist/versioned-package/components/icon/icon.js +129 -0
  83. package/dist/versioned-package/components/icon/library.d.ts +16 -0
  84. package/dist/versioned-package/components/icon/library.js +17 -0
  85. package/dist/versioned-package/components/icon/library.system.d.ts +7 -0
  86. package/dist/versioned-package/components/icon/library.system.js +26 -0
  87. package/dist/versioned-package/components/icon/request.d.ts +11 -0
  88. package/dist/versioned-package/components/icon/request.js +24 -0
  89. package/dist/versioned-package/components/include/include.d.ts +16 -0
  90. package/dist/versioned-package/components/include/include.js +72 -0
  91. package/dist/versioned-package/components/include/include.styles.d.ts +2 -0
  92. package/dist/versioned-package/components/include/include.styles.js +6 -0
  93. package/dist/versioned-package/components/include/request.d.ts +7 -0
  94. package/dist/versioned-package/components/include/request.js +18 -0
  95. package/dist/versioned-package/components/link/link.d.ts +22 -0
  96. package/dist/versioned-package/components/link/link.js +107 -0
  97. package/dist/versioned-package/components/spinner/spinner.d.ts +12 -0
  98. package/dist/versioned-package/components/spinner/spinner.js +46 -0
  99. package/dist/versioned-package/internal/form.d.ts +35 -0
  100. package/dist/versioned-package/internal/form.js +212 -0
  101. package/dist/versioned-package/internal/slot.d.ts +14 -0
  102. package/dist/versioned-package/internal/slot.js +47 -0
  103. package/dist/versioned-package/internal/solid-element.d.ts +26 -0
  104. package/dist/versioned-package/internal/solid-element.js +38 -0
  105. package/dist/versioned-package/internal/watch.d.ts +11 -0
  106. package/dist/versioned-package/internal/watch.js +28 -0
  107. package/dist/versioned-package/node_modules/.pnpm/@shoelace-style_localize@3.1.0/node_modules/@shoelace-style/localize/dist/index.js +103 -0
  108. package/dist/versioned-package/solid-components.d.ts +6 -0
  109. package/dist/versioned-package/solid-components.js +14 -0
  110. package/dist/versioned-package/styles/component.styles.d.ts +2 -0
  111. package/dist/versioned-package/styles/component.styles.js +5 -0
  112. package/dist/versioned-package/styles/tailwind.css.js +4 -0
  113. package/dist/versioned-package/translations/en.d.ts +3 -0
  114. package/dist/versioned-package/translations/en.js +31 -0
  115. package/dist/versioned-package/utilities/localize.d.ts +25 -0
  116. package/dist/versioned-package/utilities/localize.js +7 -0
  117. package/dist/vscode.html-custom-data.json +661 -0
  118. package/dist/web-types.json +1449 -0
  119. package/package.json +185 -0
@@ -0,0 +1,661 @@
1
+ {
2
+ "version": 1.1,
3
+ "tags": [
4
+ {
5
+ "name": "sd-button",
6
+ "description": "Buttons represent actions that are available to the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.",
7
+ "attributes": [
8
+ {
9
+ "name": "title",
10
+ "values": []
11
+ },
12
+ {
13
+ "name": "variant",
14
+ "description": "The button's theme variant.",
15
+ "values": [
16
+ {
17
+ "name": "primary"
18
+ },
19
+ {
20
+ "name": "secondary"
21
+ },
22
+ {
23
+ "name": "tertiary"
24
+ },
25
+ {
26
+ "name": "cta"
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "name": "inverted",
32
+ "description": "Inverts the button.",
33
+ "values": []
34
+ },
35
+ {
36
+ "name": "size",
37
+ "description": "The button's size.",
38
+ "values": [
39
+ {
40
+ "name": "lg"
41
+ },
42
+ {
43
+ "name": "md"
44
+ },
45
+ {
46
+ "name": "sm"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "name": "disabled",
52
+ "description": "Disables the button.",
53
+ "values": []
54
+ },
55
+ {
56
+ "name": "loading",
57
+ "description": "Draws the button in a loading state.",
58
+ "values": []
59
+ },
60
+ {
61
+ "name": "type",
62
+ "description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
63
+ "values": [
64
+ {
65
+ "name": "button"
66
+ },
67
+ {
68
+ "name": "submit"
69
+ },
70
+ {
71
+ "name": "reset"
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "name": "name",
77
+ "description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
78
+ "values": []
79
+ },
80
+ {
81
+ "name": "value",
82
+ "description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
83
+ "values": []
84
+ },
85
+ {
86
+ "name": "href",
87
+ "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
88
+ "values": []
89
+ },
90
+ {
91
+ "name": "target",
92
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
93
+ "values": [
94
+ {
95
+ "name": "_blank"
96
+ },
97
+ {
98
+ "name": "_parent"
99
+ },
100
+ {
101
+ "name": "_self"
102
+ },
103
+ {
104
+ "name": "_top"
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "name": "download",
110
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
111
+ "values": []
112
+ },
113
+ {
114
+ "name": "form",
115
+ "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
116
+ "values": []
117
+ },
118
+ {
119
+ "name": "formaction",
120
+ "description": "Used to override the form owner's `action` attribute.",
121
+ "values": []
122
+ },
123
+ {
124
+ "name": "formenctype",
125
+ "description": "Used to override the form owner's `enctype` attribute.",
126
+ "values": [
127
+ {
128
+ "name": "application/x-www-form-urlencoded"
129
+ },
130
+ {
131
+ "name": "multipart/form-data"
132
+ },
133
+ {
134
+ "name": "text/plain"
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ "name": "formmethod",
140
+ "description": "Used to override the form owner's `method` attribute.",
141
+ "values": [
142
+ {
143
+ "name": "post"
144
+ },
145
+ {
146
+ "name": "get"
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ "name": "formnovalidate",
152
+ "description": "Used to override the form owner's `novalidate` attribute.",
153
+ "values": []
154
+ },
155
+ {
156
+ "name": "formtarget",
157
+ "description": "Used to override the form owner's `target` attribute.",
158
+ "values": [
159
+ {
160
+ "name": "_self"
161
+ },
162
+ {
163
+ "name": "_blank"
164
+ },
165
+ {
166
+ "name": "_parent"
167
+ },
168
+ {
169
+ "name": "_top"
170
+ }
171
+ ]
172
+ }
173
+ ],
174
+ "references": []
175
+ },
176
+ {
177
+ "name": "sd-icon",
178
+ "description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the icon has loaded.\n- **sd-error** - Emitted when the icon fails to load due to an error.",
179
+ "attributes": [
180
+ {
181
+ "name": "name",
182
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
183
+ "values": []
184
+ },
185
+ {
186
+ "name": "src",
187
+ "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks. Only SVGs on a local or CORS-enabled endpoint are supported. If you're using more than one custom icon,\nit might make sense to register a custom icon library.",
188
+ "values": []
189
+ },
190
+ {
191
+ "name": "label",
192
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
193
+ "values": []
194
+ },
195
+ {
196
+ "name": "library",
197
+ "description": "The name of a registered custom icon library.",
198
+ "values": []
199
+ },
200
+ {
201
+ "name": "color",
202
+ "description": "The color of the icon.\n\"current\" refers to currentColor and makes it possible to easily style the icon from outside without any CSS variables.",
203
+ "values": [
204
+ {
205
+ "name": "currentColor"
206
+ },
207
+ {
208
+ "name": "primary"
209
+ },
210
+ {
211
+ "name": "white"
212
+ }
213
+ ]
214
+ }
215
+ ],
216
+ "references": []
217
+ },
218
+ {
219
+ "name": "sd-include",
220
+ "description": "Includes give you the power to embed external HTML files into the page.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the included file is loaded.\n- **sd-error** - Emitted when the included file fails to load due to an error.",
221
+ "attributes": [
222
+ {
223
+ "name": "src",
224
+ "description": "The location of the HTML file to include. Be sure you trust the content you are including as it will be executed as\ncode and can result in XSS attacks.",
225
+ "values": []
226
+ },
227
+ {
228
+ "name": "mode",
229
+ "description": "The fetch mode to use.",
230
+ "values": [
231
+ {
232
+ "name": "cors"
233
+ },
234
+ {
235
+ "name": "no-cors"
236
+ },
237
+ {
238
+ "name": "same-origin"
239
+ }
240
+ ]
241
+ },
242
+ {
243
+ "name": "allow-scripts",
244
+ "description": "Allows included scripts to be executed. Be sure you trust the content you are including as it will be executed as\ncode and can result in XSS attacks.",
245
+ "values": []
246
+ }
247
+ ],
248
+ "references": []
249
+ },
250
+ {
251
+ "name": "sd-link",
252
+ "description": "A link component.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n\n### **Slots:**\n - _default_ - The default slot.\n- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
253
+ "attributes": [
254
+ {
255
+ "name": "size",
256
+ "description": "The link's size.",
257
+ "values": [
258
+ {
259
+ "name": "inherit"
260
+ },
261
+ {
262
+ "name": "lg"
263
+ },
264
+ {
265
+ "name": "sm"
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "name": "inverted",
271
+ "description": "Inverts the link.",
272
+ "values": []
273
+ },
274
+ {
275
+ "name": "standalone",
276
+ "description": "Control the layout of icon and text within the component and the component's positioning.",
277
+ "values": []
278
+ },
279
+ {
280
+ "name": "href",
281
+ "description": "When not set, the link will render as disabled.",
282
+ "values": []
283
+ },
284
+ {
285
+ "name": "target",
286
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
287
+ "values": [
288
+ {
289
+ "name": "_blank"
290
+ },
291
+ {
292
+ "name": "_parent"
293
+ },
294
+ {
295
+ "name": "_self"
296
+ },
297
+ {
298
+ "name": "_top"
299
+ }
300
+ ]
301
+ },
302
+ {
303
+ "name": "download",
304
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
305
+ "values": []
306
+ }
307
+ ],
308
+ "references": []
309
+ },
310
+ {
311
+ "name": "sd-spinner",
312
+ "description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
313
+ "attributes": [
314
+ {
315
+ "name": "color",
316
+ "description": "The color color of the spinner.",
317
+ "values": [
318
+ {
319
+ "name": "primary"
320
+ },
321
+ {
322
+ "name": "white"
323
+ },
324
+ {
325
+ "name": "currentColor"
326
+ }
327
+ ]
328
+ }
329
+ ],
330
+ "references": []
331
+ },
332
+ {
333
+ "name": "sd-1-0-0-button",
334
+ "description": "Buttons represent actions that are available to the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.",
335
+ "attributes": [
336
+ {
337
+ "name": "title",
338
+ "values": []
339
+ },
340
+ {
341
+ "name": "variant",
342
+ "description": "The button's theme variant.",
343
+ "values": [
344
+ {
345
+ "name": "primary"
346
+ },
347
+ {
348
+ "name": "secondary"
349
+ },
350
+ {
351
+ "name": "tertiary"
352
+ },
353
+ {
354
+ "name": "cta"
355
+ }
356
+ ]
357
+ },
358
+ {
359
+ "name": "inverted",
360
+ "description": "Inverts the button.",
361
+ "values": []
362
+ },
363
+ {
364
+ "name": "size",
365
+ "description": "The button's size.",
366
+ "values": [
367
+ {
368
+ "name": "lg"
369
+ },
370
+ {
371
+ "name": "md"
372
+ },
373
+ {
374
+ "name": "sm"
375
+ }
376
+ ]
377
+ },
378
+ {
379
+ "name": "disabled",
380
+ "description": "Disables the button.",
381
+ "values": []
382
+ },
383
+ {
384
+ "name": "loading",
385
+ "description": "Draws the button in a loading state.",
386
+ "values": []
387
+ },
388
+ {
389
+ "name": "type",
390
+ "description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
391
+ "values": [
392
+ {
393
+ "name": "button"
394
+ },
395
+ {
396
+ "name": "submit"
397
+ },
398
+ {
399
+ "name": "reset"
400
+ }
401
+ ]
402
+ },
403
+ {
404
+ "name": "name",
405
+ "description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
406
+ "values": []
407
+ },
408
+ {
409
+ "name": "value",
410
+ "description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
411
+ "values": []
412
+ },
413
+ {
414
+ "name": "href",
415
+ "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
416
+ "values": []
417
+ },
418
+ {
419
+ "name": "target",
420
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
421
+ "values": [
422
+ {
423
+ "name": "_blank"
424
+ },
425
+ {
426
+ "name": "_parent"
427
+ },
428
+ {
429
+ "name": "_self"
430
+ },
431
+ {
432
+ "name": "_top"
433
+ }
434
+ ]
435
+ },
436
+ {
437
+ "name": "download",
438
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
439
+ "values": []
440
+ },
441
+ {
442
+ "name": "form",
443
+ "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
444
+ "values": []
445
+ },
446
+ {
447
+ "name": "formaction",
448
+ "description": "Used to override the form owner's `action` attribute.",
449
+ "values": []
450
+ },
451
+ {
452
+ "name": "formenctype",
453
+ "description": "Used to override the form owner's `enctype` attribute.",
454
+ "values": [
455
+ {
456
+ "name": "application/x-www-form-urlencoded"
457
+ },
458
+ {
459
+ "name": "multipart/form-data"
460
+ },
461
+ {
462
+ "name": "text/plain"
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ "name": "formmethod",
468
+ "description": "Used to override the form owner's `method` attribute.",
469
+ "values": [
470
+ {
471
+ "name": "post"
472
+ },
473
+ {
474
+ "name": "get"
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "name": "formnovalidate",
480
+ "description": "Used to override the form owner's `novalidate` attribute.",
481
+ "values": []
482
+ },
483
+ {
484
+ "name": "formtarget",
485
+ "description": "Used to override the form owner's `target` attribute.",
486
+ "values": [
487
+ {
488
+ "name": "_self"
489
+ },
490
+ {
491
+ "name": "_blank"
492
+ },
493
+ {
494
+ "name": "_parent"
495
+ },
496
+ {
497
+ "name": "_top"
498
+ }
499
+ ]
500
+ }
501
+ ],
502
+ "references": []
503
+ },
504
+ {
505
+ "name": "sd-1-0-0-icon",
506
+ "description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the icon has loaded.\n- **sd-error** - Emitted when the icon fails to load due to an error.",
507
+ "attributes": [
508
+ {
509
+ "name": "name",
510
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
511
+ "values": []
512
+ },
513
+ {
514
+ "name": "src",
515
+ "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks. Only SVGs on a local or CORS-enabled endpoint are supported. If you're using more than one custom icon,\nit might make sense to register a custom icon library.",
516
+ "values": []
517
+ },
518
+ {
519
+ "name": "label",
520
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
521
+ "values": []
522
+ },
523
+ {
524
+ "name": "library",
525
+ "description": "The name of a registered custom icon library.",
526
+ "values": []
527
+ },
528
+ {
529
+ "name": "color",
530
+ "description": "The color of the icon.\n\"current\" refers to currentColor and makes it possible to easily style the icon from outside without any CSS variables.",
531
+ "values": [
532
+ {
533
+ "name": "currentColor"
534
+ },
535
+ {
536
+ "name": "primary"
537
+ },
538
+ {
539
+ "name": "white"
540
+ }
541
+ ]
542
+ }
543
+ ],
544
+ "references": []
545
+ },
546
+ {
547
+ "name": "sd-1-0-0-include",
548
+ "description": "Includes give you the power to embed external HTML files into the page.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the included file is loaded.\n- **sd-error** - Emitted when the included file fails to load due to an error.",
549
+ "attributes": [
550
+ {
551
+ "name": "src",
552
+ "description": "The location of the HTML file to include. Be sure you trust the content you are including as it will be executed as\ncode and can result in XSS attacks.",
553
+ "values": []
554
+ },
555
+ {
556
+ "name": "mode",
557
+ "description": "The fetch mode to use.",
558
+ "values": [
559
+ {
560
+ "name": "cors"
561
+ },
562
+ {
563
+ "name": "no-cors"
564
+ },
565
+ {
566
+ "name": "same-origin"
567
+ }
568
+ ]
569
+ },
570
+ {
571
+ "name": "allow-scripts",
572
+ "description": "Allows included scripts to be executed. Be sure you trust the content you are including as it will be executed as\ncode and can result in XSS attacks.",
573
+ "values": []
574
+ }
575
+ ],
576
+ "references": []
577
+ },
578
+ {
579
+ "name": "sd-1-0-0-link",
580
+ "description": "A link component.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n\n### **Slots:**\n - _default_ - The default slot.\n- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
581
+ "attributes": [
582
+ {
583
+ "name": "size",
584
+ "description": "The link's size.",
585
+ "values": [
586
+ {
587
+ "name": "inherit"
588
+ },
589
+ {
590
+ "name": "lg"
591
+ },
592
+ {
593
+ "name": "sm"
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "name": "inverted",
599
+ "description": "Inverts the link.",
600
+ "values": []
601
+ },
602
+ {
603
+ "name": "standalone",
604
+ "description": "Control the layout of icon and text within the component and the component's positioning.",
605
+ "values": []
606
+ },
607
+ {
608
+ "name": "href",
609
+ "description": "When not set, the link will render as disabled.",
610
+ "values": []
611
+ },
612
+ {
613
+ "name": "target",
614
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
615
+ "values": [
616
+ {
617
+ "name": "_blank"
618
+ },
619
+ {
620
+ "name": "_parent"
621
+ },
622
+ {
623
+ "name": "_self"
624
+ },
625
+ {
626
+ "name": "_top"
627
+ }
628
+ ]
629
+ },
630
+ {
631
+ "name": "download",
632
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
633
+ "values": []
634
+ }
635
+ ],
636
+ "references": []
637
+ },
638
+ {
639
+ "name": "sd-1-0-0-spinner",
640
+ "description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
641
+ "attributes": [
642
+ {
643
+ "name": "color",
644
+ "description": "The color color of the spinner.",
645
+ "values": [
646
+ {
647
+ "name": "primary"
648
+ },
649
+ {
650
+ "name": "white"
651
+ },
652
+ {
653
+ "name": "currentColor"
654
+ }
655
+ ]
656
+ }
657
+ ],
658
+ "references": []
659
+ }
660
+ ]
661
+ }