loseta 0.3.0 → 0.5.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 (153) hide show
  1. package/README.md +15 -6
  2. package/dist/add-policy.d.ts +15 -0
  3. package/dist/add-policy.js +53 -0
  4. package/dist/add-policy.js.map +1 -0
  5. package/dist/commands/add.d.ts +4 -0
  6. package/dist/commands/add.js +26 -26
  7. package/dist/commands/add.js.map +1 -1
  8. package/dist/commands/init.js +17 -7
  9. package/dist/commands/init.js.map +1 -1
  10. package/dist/commands/list.d.ts +6 -1
  11. package/dist/commands/list.js +23 -5
  12. package/dist/commands/list.js.map +1 -1
  13. package/dist/commands/style.js +14 -37
  14. package/dist/commands/style.js.map +1 -1
  15. package/dist/registry.d.ts +2 -0
  16. package/dist/registry.js +6 -0
  17. package/dist/registry.js.map +1 -1
  18. package/dist/style-selection.d.ts +32 -0
  19. package/dist/style-selection.js +52 -0
  20. package/dist/style-selection.js.map +1 -0
  21. package/dist/style-switch.d.ts +37 -0
  22. package/dist/style-switch.js +81 -0
  23. package/dist/style-switch.js.map +1 -0
  24. package/package.json +2 -1
  25. package/registry/components/accordion.css +65 -0
  26. package/registry/components/aspect-ratio.css +25 -0
  27. package/registry/components/avatar.css +54 -0
  28. package/registry/components/breadcrumb.css +57 -0
  29. package/registry/components/pagination.css +49 -0
  30. package/registry/components/progress.css +13 -0
  31. package/registry/components/separator.css +12 -0
  32. package/registry/components/spinner.css +8 -0
  33. package/registry/components/toggle-group.css +17 -0
  34. package/registry/components/toggle.css +31 -0
  35. package/registry/examples/accordion.html +56 -0
  36. package/registry/examples/aspect-ratio.html +9 -0
  37. package/registry/examples/avatar.html +21 -0
  38. package/registry/examples/breadcrumb.html +23 -0
  39. package/registry/examples/pagination.html +39 -0
  40. package/registry/examples/progress.html +5 -0
  41. package/registry/examples/separator.html +15 -0
  42. package/registry/examples/spinner.html +12 -0
  43. package/registry/examples/toggle-group.html +13 -0
  44. package/registry/examples/toggle.html +13 -0
  45. package/registry/registry.json +308 -1
  46. package/registry/reset.css +332 -80
  47. package/registry/styles/luma/badge.css +8 -10
  48. package/registry/styles/luma/button.css +37 -43
  49. package/registry/styles/luma/checkbox.css +12 -19
  50. package/registry/styles/luma/code-block.css +25 -30
  51. package/registry/styles/luma/dropdown-menu.css +4 -5
  52. package/registry/styles/luma/input.css +16 -17
  53. package/registry/styles/luma/label.css +8 -9
  54. package/registry/styles/luma/native-select.css +19 -15
  55. package/registry/styles/luma/radio.css +12 -19
  56. package/registry/styles/luma/switch.css +15 -21
  57. package/registry/styles/luma/tabs.css +9 -22
  58. package/registry/styles/luma/textarea.css +16 -17
  59. package/registry/styles/lyra/badge.css +8 -10
  60. package/registry/styles/lyra/button.css +37 -43
  61. package/registry/styles/lyra/checkbox.css +12 -19
  62. package/registry/styles/lyra/code-block.css +25 -30
  63. package/registry/styles/lyra/dropdown-menu.css +4 -5
  64. package/registry/styles/lyra/input.css +16 -16
  65. package/registry/styles/lyra/label.css +8 -9
  66. package/registry/styles/lyra/native-select.css +19 -15
  67. package/registry/styles/lyra/radio.css +12 -19
  68. package/registry/styles/lyra/switch.css +15 -21
  69. package/registry/styles/lyra/tabs.css +9 -22
  70. package/registry/styles/lyra/textarea.css +16 -16
  71. package/registry/styles/maia/badge.css +8 -10
  72. package/registry/styles/maia/button.css +37 -43
  73. package/registry/styles/maia/checkbox.css +12 -19
  74. package/registry/styles/maia/code-block.css +25 -30
  75. package/registry/styles/maia/dropdown-menu.css +4 -5
  76. package/registry/styles/maia/input.css +16 -17
  77. package/registry/styles/maia/label.css +8 -9
  78. package/registry/styles/maia/native-select.css +19 -15
  79. package/registry/styles/maia/radio.css +12 -19
  80. package/registry/styles/maia/switch.css +15 -21
  81. package/registry/styles/maia/tabs.css +9 -22
  82. package/registry/styles/maia/textarea.css +16 -17
  83. package/registry/styles/mira/badge.css +8 -10
  84. package/registry/styles/mira/button.css +37 -43
  85. package/registry/styles/mira/checkbox.css +12 -19
  86. package/registry/styles/mira/code-block.css +25 -30
  87. package/registry/styles/mira/dropdown-menu.css +4 -5
  88. package/registry/styles/mira/input.css +16 -16
  89. package/registry/styles/mira/label.css +8 -9
  90. package/registry/styles/mira/native-select.css +19 -15
  91. package/registry/styles/mira/radio.css +12 -19
  92. package/registry/styles/mira/switch.css +15 -21
  93. package/registry/styles/mira/tabs.css +9 -22
  94. package/registry/styles/mira/textarea.css +16 -16
  95. package/registry/styles/nova/accordion.css +59 -0
  96. package/registry/styles/nova/aspect-ratio.css +6 -0
  97. package/registry/styles/nova/avatar.css +89 -0
  98. package/registry/styles/nova/badge.css +8 -10
  99. package/registry/styles/nova/breadcrumb.css +61 -0
  100. package/registry/styles/nova/button.css +37 -43
  101. package/registry/styles/nova/checkbox.css +12 -19
  102. package/registry/styles/nova/code-block.css +25 -30
  103. package/registry/styles/nova/dropdown-menu.css +4 -5
  104. package/registry/styles/nova/input.css +16 -17
  105. package/registry/styles/nova/label.css +8 -9
  106. package/registry/styles/nova/native-select.css +19 -15
  107. package/registry/styles/nova/pagination.css +46 -0
  108. package/registry/styles/nova/progress.css +67 -0
  109. package/registry/styles/nova/radio.css +12 -19
  110. package/registry/styles/nova/separator.css +14 -0
  111. package/registry/styles/nova/spinner.css +35 -0
  112. package/registry/styles/nova/switch.css +15 -21
  113. package/registry/styles/nova/tabs.css +9 -22
  114. package/registry/styles/nova/textarea.css +16 -17
  115. package/registry/styles/nova/toggle-group.css +48 -0
  116. package/registry/styles/nova/toggle.css +110 -0
  117. package/registry/styles/rhea/badge.css +8 -10
  118. package/registry/styles/rhea/button.css +37 -43
  119. package/registry/styles/rhea/checkbox.css +12 -19
  120. package/registry/styles/rhea/code-block.css +25 -30
  121. package/registry/styles/rhea/dropdown-menu.css +4 -5
  122. package/registry/styles/rhea/input.css +16 -17
  123. package/registry/styles/rhea/label.css +8 -9
  124. package/registry/styles/rhea/native-select.css +19 -15
  125. package/registry/styles/rhea/radio.css +12 -19
  126. package/registry/styles/rhea/switch.css +15 -21
  127. package/registry/styles/rhea/tabs.css +9 -22
  128. package/registry/styles/rhea/textarea.css +16 -17
  129. package/registry/styles/sera/badge.css +8 -10
  130. package/registry/styles/sera/button.css +37 -43
  131. package/registry/styles/sera/checkbox.css +12 -19
  132. package/registry/styles/sera/code-block.css +25 -30
  133. package/registry/styles/sera/dropdown-menu.css +4 -5
  134. package/registry/styles/sera/input.css +16 -17
  135. package/registry/styles/sera/label.css +8 -9
  136. package/registry/styles/sera/native-select.css +19 -15
  137. package/registry/styles/sera/radio.css +12 -19
  138. package/registry/styles/sera/switch.css +15 -21
  139. package/registry/styles/sera/tabs.css +9 -22
  140. package/registry/styles/sera/textarea.css +16 -17
  141. package/registry/styles/vega/badge.css +8 -10
  142. package/registry/styles/vega/button.css +37 -43
  143. package/registry/styles/vega/checkbox.css +12 -19
  144. package/registry/styles/vega/code-block.css +25 -30
  145. package/registry/styles/vega/dropdown-menu.css +4 -5
  146. package/registry/styles/vega/input.css +16 -17
  147. package/registry/styles/vega/label.css +8 -9
  148. package/registry/styles/vega/native-select.css +19 -15
  149. package/registry/styles/vega/radio.css +12 -19
  150. package/registry/styles/vega/switch.css +15 -21
  151. package/registry/styles/vega/tabs.css +9 -22
  152. package/registry/styles/vega/textarea.css +16 -17
  153. package/registry/tokens.css +116 -130
@@ -0,0 +1,39 @@
1
+ <!-- Default -->
2
+ <nav class="pagination" aria-label="pagination">
3
+ <ul>
4
+ <li>
5
+ <a class="btn" data-variant="ghost" data-size="icon" href="#" aria-label="Go to previous page"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg></a>
6
+ </li>
7
+ <li><a class="btn" data-variant="ghost" href="#" aria-current="page">1</a></li>
8
+ <li><a class="btn" data-variant="ghost" href="#">2</a></li>
9
+ <li><a class="btn" data-variant="ghost" href="#">3</a></li>
10
+ <li>
11
+ <a class="btn" data-variant="ghost" data-size="icon" href="#" aria-label="Go to next page"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></a>
12
+ </li>
13
+ </ul>
14
+ </nav>
15
+
16
+ <!-- With ellipsis -->
17
+ <nav class="pagination" aria-label="pagination">
18
+ <ul>
19
+ <li>
20
+ <a class="btn" data-variant="ghost" href="#" aria-label="Go to previous page">
21
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg>
22
+ <span data-slot="label" aria-hidden="true">Previous</span>
23
+ </a>
24
+ </li>
25
+ <li><a class="btn" data-variant="ghost" href="#">1</a></li>
26
+ <li><a class="btn" data-variant="ghost" href="#">2</a></li>
27
+ <li><a class="btn" data-variant="ghost" href="#">3</a></li>
28
+ <li><span data-slot="ellipsis" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg></span></li>
29
+ <li><a class="btn" data-variant="ghost" href="#">8</a></li>
30
+ <li><a class="btn" data-variant="ghost" href="#">9</a></li>
31
+ <li><a class="btn" data-variant="ghost" href="#" aria-current="page">10</a></li>
32
+ <li>
33
+ <a class="btn" data-variant="ghost" href="#" aria-label="Go to next page">
34
+ <span data-slot="label" aria-hidden="true">Next</span>
35
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg>
36
+ </a>
37
+ </li>
38
+ </ul>
39
+ </nav>
@@ -0,0 +1,5 @@
1
+ <!-- Determinate -->
2
+ <progress class="progress" value="60" max="100" aria-label="Upload progress">60%</progress>
3
+
4
+ <!-- Indeterminate -->
5
+ <progress class="progress" max="100" aria-label="Loading">Loading…</progress>
@@ -0,0 +1,15 @@
1
+ <!-- Horizontal -->
2
+ <div style="display: grid; gap: 0.75rem">
3
+ <p>loseta components</p>
4
+ <hr class="separator" />
5
+ <p>Native CSS with copy-paste distribution.</p>
6
+ </div>
7
+
8
+ <!-- Vertical -->
9
+ <div style="display: flex; align-items: center; gap: 1rem; height: 1.5rem">
10
+ <span>Blog</span>
11
+ <div class="separator" role="separator" aria-orientation="vertical" data-orientation="vertical"></div>
12
+ <span>Docs</span>
13
+ <div class="separator" role="separator" aria-orientation="vertical" data-orientation="vertical"></div>
14
+ <span>Source</span>
15
+ </div>
@@ -0,0 +1,12 @@
1
+ <!-- Sizes -->
2
+ <div style="display: flex; align-items: center; gap: 1rem">
3
+ <span class="spinner" data-size="sm" role="status"><span class="sr-only">Loading</span></span>
4
+ <span class="spinner" role="status"><span class="sr-only">Loading</span></span>
5
+ <span class="spinner" data-size="lg" role="status"><span class="sr-only">Loading</span></span>
6
+ </div>
7
+
8
+ <!-- With a label -->
9
+ <div style="display: flex; align-items: center; gap: 0.5rem">
10
+ <span class="spinner" data-size="sm" aria-hidden="true"></span>
11
+ <span>Loading results…</span>
12
+ </div>
@@ -0,0 +1,13 @@
1
+ <!-- Joined -->
2
+ <div class="toggle-group" role="group" aria-label="Text alignment" data-spacing="joined">
3
+ <button type="button" class="toggle" aria-pressed="true" aria-label="Align left"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="21" x2="3" y1="6" y2="6"/><line x1="15" x2="3" y1="12" y2="12"/><line x1="17" x2="3" y1="18" y2="18"/></svg></button>
4
+ <button type="button" class="toggle" aria-pressed="false" aria-label="Align center"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="21" x2="3" y1="6" y2="6"/><line x1="17" x2="7" y1="12" y2="12"/><line x1="19" x2="5" y1="18" y2="18"/></svg></button>
5
+ <button type="button" class="toggle" aria-pressed="false" aria-label="Align right"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="21" x2="3" y1="6" y2="6"/><line x1="21" x2="9" y1="12" y2="12"/><line x1="21" x2="7" y1="18" y2="18"/></svg></button>
6
+ </div>
7
+
8
+ <!-- Vertical outline -->
9
+ <div class="toggle-group" role="group" aria-label="View density" data-orientation="vertical" data-variant="outline" data-size="sm">
10
+ <button type="button" class="toggle" aria-pressed="true">Compact</button>
11
+ <button type="button" class="toggle" aria-pressed="false">Default</button>
12
+ <button type="button" class="toggle" aria-pressed="false">Comfortable</button>
13
+ </div>
@@ -0,0 +1,13 @@
1
+ <!-- Variants -->
2
+ <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
3
+ <button type="button" class="toggle" aria-pressed="false">Bold</button>
4
+ <button type="button" class="toggle" data-variant="outline" aria-pressed="true">Italic</button>
5
+ <button type="button" class="toggle" data-variant="outline" aria-pressed="false" disabled>Underline</button>
6
+ </div>
7
+
8
+ <!-- Sizes -->
9
+ <div style="display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem">
10
+ <button type="button" class="toggle" data-size="sm" aria-pressed="false">Small</button>
11
+ <button type="button" class="toggle" aria-pressed="false">Default</button>
12
+ <button type="button" class="toggle" data-size="lg" aria-pressed="false">Large</button>
13
+ </div>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "./schema.json",
3
3
  "name": "loseta",
4
- "version": "0.3.0",
4
+ "version": "0.5.0",
5
5
  "styles": [
6
6
  {
7
7
  "name": "nova",
@@ -2087,6 +2087,313 @@
2087
2087
  "examples": [
2088
2088
  "examples/tooltip.html"
2089
2089
  ]
2090
+ },
2091
+ {
2092
+ "name": "accordion",
2093
+ "type": "component",
2094
+ "status": "experimental",
2095
+ "title": "Accordion",
2096
+ "description": "Displays a vertically stacked set of interactive headings that reveal content.",
2097
+ "docs": "/docs/components/accordion",
2098
+ "root": [
2099
+ ".accordion"
2100
+ ],
2101
+ "registryDependencies": [],
2102
+ "optionalDependencies": [],
2103
+ "files": [
2104
+ {
2105
+ "path": "components/accordion.css",
2106
+ "target": "components/accordion.css",
2107
+ "role": "base",
2108
+ "layer": "loseta.components"
2109
+ },
2110
+ {
2111
+ "path": "styles/nova/accordion.css",
2112
+ "target": "styles/nova/accordion.css",
2113
+ "role": "style",
2114
+ "layer": "loseta.style"
2115
+ }
2116
+ ],
2117
+ "examples": [
2118
+ "examples/accordion.html"
2119
+ ]
2120
+ },
2121
+ {
2122
+ "name": "aspect-ratio",
2123
+ "type": "component",
2124
+ "status": "experimental",
2125
+ "title": "Aspect Ratio",
2126
+ "description": "Constrains media to a preferred aspect ratio.",
2127
+ "docs": "/docs/components/aspect-ratio",
2128
+ "root": [
2129
+ ".aspect-ratio"
2130
+ ],
2131
+ "registryDependencies": [],
2132
+ "optionalDependencies": [],
2133
+ "files": [
2134
+ {
2135
+ "path": "components/aspect-ratio.css",
2136
+ "target": "components/aspect-ratio.css",
2137
+ "role": "base",
2138
+ "layer": "loseta.components"
2139
+ },
2140
+ {
2141
+ "path": "styles/nova/aspect-ratio.css",
2142
+ "target": "styles/nova/aspect-ratio.css",
2143
+ "role": "style",
2144
+ "layer": "loseta.style"
2145
+ }
2146
+ ],
2147
+ "examples": [
2148
+ "examples/aspect-ratio.html"
2149
+ ]
2150
+ },
2151
+ {
2152
+ "name": "avatar",
2153
+ "type": "component",
2154
+ "status": "experimental",
2155
+ "title": "Avatar",
2156
+ "description": "Displays an image or fallback initials representing a user.",
2157
+ "docs": "/docs/components/avatar",
2158
+ "root": [
2159
+ ".avatar",
2160
+ ".avatar-group"
2161
+ ],
2162
+ "registryDependencies": [],
2163
+ "optionalDependencies": [],
2164
+ "files": [
2165
+ {
2166
+ "path": "components/avatar.css",
2167
+ "target": "components/avatar.css",
2168
+ "role": "base",
2169
+ "layer": "loseta.components"
2170
+ },
2171
+ {
2172
+ "path": "styles/nova/avatar.css",
2173
+ "target": "styles/nova/avatar.css",
2174
+ "role": "style",
2175
+ "layer": "loseta.style"
2176
+ }
2177
+ ],
2178
+ "examples": [
2179
+ "examples/avatar.html"
2180
+ ]
2181
+ },
2182
+ {
2183
+ "name": "breadcrumb",
2184
+ "type": "component",
2185
+ "status": "experimental",
2186
+ "title": "Breadcrumb",
2187
+ "description": "Displays the path to the current resource using a hierarchy of links.",
2188
+ "docs": "/docs/components/breadcrumb",
2189
+ "root": [
2190
+ ".breadcrumb"
2191
+ ],
2192
+ "registryDependencies": [],
2193
+ "optionalDependencies": [
2194
+ "dropdown-menu"
2195
+ ],
2196
+ "files": [
2197
+ {
2198
+ "path": "components/breadcrumb.css",
2199
+ "target": "components/breadcrumb.css",
2200
+ "role": "base",
2201
+ "layer": "loseta.components"
2202
+ },
2203
+ {
2204
+ "path": "styles/nova/breadcrumb.css",
2205
+ "target": "styles/nova/breadcrumb.css",
2206
+ "role": "style",
2207
+ "layer": "loseta.style"
2208
+ }
2209
+ ],
2210
+ "examples": [
2211
+ "examples/breadcrumb.html"
2212
+ ]
2213
+ },
2214
+ {
2215
+ "name": "pagination",
2216
+ "type": "component",
2217
+ "status": "experimental",
2218
+ "title": "Pagination",
2219
+ "description": "Displays navigation for paged content.",
2220
+ "docs": "/docs/components/pagination",
2221
+ "root": [
2222
+ ".pagination"
2223
+ ],
2224
+ "registryDependencies": [],
2225
+ "optionalDependencies": [
2226
+ "button"
2227
+ ],
2228
+ "files": [
2229
+ {
2230
+ "path": "components/pagination.css",
2231
+ "target": "components/pagination.css",
2232
+ "role": "base",
2233
+ "layer": "loseta.components"
2234
+ },
2235
+ {
2236
+ "path": "styles/nova/pagination.css",
2237
+ "target": "styles/nova/pagination.css",
2238
+ "role": "style",
2239
+ "layer": "loseta.style"
2240
+ }
2241
+ ],
2242
+ "examples": [
2243
+ "examples/pagination.html"
2244
+ ]
2245
+ },
2246
+ {
2247
+ "name": "progress",
2248
+ "type": "component",
2249
+ "status": "experimental",
2250
+ "title": "Progress",
2251
+ "description": "Displays an indicator showing the completion progress of a task.",
2252
+ "docs": "/docs/components/progress",
2253
+ "root": [
2254
+ ".progress"
2255
+ ],
2256
+ "registryDependencies": [],
2257
+ "optionalDependencies": [],
2258
+ "files": [
2259
+ {
2260
+ "path": "components/progress.css",
2261
+ "target": "components/progress.css",
2262
+ "role": "base",
2263
+ "layer": "loseta.components"
2264
+ },
2265
+ {
2266
+ "path": "styles/nova/progress.css",
2267
+ "target": "styles/nova/progress.css",
2268
+ "role": "style",
2269
+ "layer": "loseta.style"
2270
+ }
2271
+ ],
2272
+ "examples": [
2273
+ "examples/progress.html"
2274
+ ]
2275
+ },
2276
+ {
2277
+ "name": "separator",
2278
+ "type": "component",
2279
+ "status": "experimental",
2280
+ "title": "Separator",
2281
+ "description": "Visually or semantically separates content.",
2282
+ "docs": "/docs/components/separator",
2283
+ "root": [
2284
+ ".separator"
2285
+ ],
2286
+ "registryDependencies": [],
2287
+ "optionalDependencies": [],
2288
+ "files": [
2289
+ {
2290
+ "path": "components/separator.css",
2291
+ "target": "components/separator.css",
2292
+ "role": "base",
2293
+ "layer": "loseta.components"
2294
+ },
2295
+ {
2296
+ "path": "styles/nova/separator.css",
2297
+ "target": "styles/nova/separator.css",
2298
+ "role": "style",
2299
+ "layer": "loseta.style"
2300
+ }
2301
+ ],
2302
+ "examples": [
2303
+ "examples/separator.html"
2304
+ ]
2305
+ },
2306
+ {
2307
+ "name": "spinner",
2308
+ "type": "component",
2309
+ "status": "experimental",
2310
+ "title": "Spinner",
2311
+ "description": "Displays an animated loading indicator.",
2312
+ "docs": "/docs/components/spinner",
2313
+ "root": [
2314
+ ".spinner"
2315
+ ],
2316
+ "registryDependencies": [],
2317
+ "optionalDependencies": [],
2318
+ "files": [
2319
+ {
2320
+ "path": "components/spinner.css",
2321
+ "target": "components/spinner.css",
2322
+ "role": "base",
2323
+ "layer": "loseta.components"
2324
+ },
2325
+ {
2326
+ "path": "styles/nova/spinner.css",
2327
+ "target": "styles/nova/spinner.css",
2328
+ "role": "style",
2329
+ "layer": "loseta.style"
2330
+ }
2331
+ ],
2332
+ "examples": [
2333
+ "examples/spinner.html"
2334
+ ]
2335
+ },
2336
+ {
2337
+ "name": "toggle",
2338
+ "type": "component",
2339
+ "status": "experimental",
2340
+ "title": "Toggle",
2341
+ "description": "Displays a two-state button that can be pressed or unpressed.",
2342
+ "docs": "/docs/components/toggle",
2343
+ "root": [
2344
+ ".toggle"
2345
+ ],
2346
+ "registryDependencies": [],
2347
+ "optionalDependencies": [],
2348
+ "files": [
2349
+ {
2350
+ "path": "components/toggle.css",
2351
+ "target": "components/toggle.css",
2352
+ "role": "base",
2353
+ "layer": "loseta.components"
2354
+ },
2355
+ {
2356
+ "path": "styles/nova/toggle.css",
2357
+ "target": "styles/nova/toggle.css",
2358
+ "role": "style",
2359
+ "layer": "loseta.style"
2360
+ }
2361
+ ],
2362
+ "examples": [
2363
+ "examples/toggle.html"
2364
+ ]
2365
+ },
2366
+ {
2367
+ "name": "toggle-group",
2368
+ "type": "component",
2369
+ "status": "experimental",
2370
+ "title": "Toggle Group",
2371
+ "description": "Groups a set of toggle buttons.",
2372
+ "docs": "/docs/components/toggle-group",
2373
+ "root": [
2374
+ ".toggle-group"
2375
+ ],
2376
+ "registryDependencies": [
2377
+ "toggle"
2378
+ ],
2379
+ "optionalDependencies": [],
2380
+ "files": [
2381
+ {
2382
+ "path": "components/toggle-group.css",
2383
+ "target": "components/toggle-group.css",
2384
+ "role": "base",
2385
+ "layer": "loseta.components"
2386
+ },
2387
+ {
2388
+ "path": "styles/nova/toggle-group.css",
2389
+ "target": "styles/nova/toggle-group.css",
2390
+ "role": "style",
2391
+ "layer": "loseta.style"
2392
+ }
2393
+ ],
2394
+ "examples": [
2395
+ "examples/toggle-group.html"
2396
+ ]
2090
2397
  }
2091
2398
  ]
2092
2399
  }