@esportsplus/ui 0.56.3 → 0.57.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 (1601) hide show
  1. package/NOTICE +232 -0
  2. package/README.md +129 -138
  3. package/build/components/accordion/index.d.ts +23 -9
  4. package/build/components/accordion/index.js +95 -11
  5. package/build/components/accordion/scss/index.scss +1 -1
  6. package/build/components/announcement/index.d.ts +2167 -0
  7. package/build/components/announcement/index.js +35 -0
  8. package/build/components/announcement/scss/index.scss +2 -0
  9. package/build/components/banner/scss/index.scss +1 -1
  10. package/build/components/breadcrumb/index.d.ts +25 -25
  11. package/build/components/breadcrumb/index.js +189 -17
  12. package/build/components/breadcrumb/scss/index.scss +1 -1
  13. package/build/components/button/copy.js +6 -6
  14. package/build/components/button/faces.js +4 -4
  15. package/build/components/button/fan.js +85 -84
  16. package/build/components/button/hold.js +8 -10
  17. package/build/components/button/icons.js +33 -10
  18. package/build/components/button/index.d.ts +6 -0
  19. package/build/components/button/index.js +4 -1
  20. package/build/components/button/kbd.js +25 -25
  21. package/build/components/button/loading.js +7 -7
  22. package/build/components/button/morph.d.ts +22 -0
  23. package/build/components/button/morph.js +115 -0
  24. package/build/components/button/scss/index.scss +1 -1
  25. package/build/components/button/sidebar.d.ts +18 -0
  26. package/build/components/button/sidebar.js +19 -0
  27. package/build/components/button/split.d.ts +23 -0
  28. package/build/components/button/split.js +41 -0
  29. package/build/components/capslock/index.d.ts +19 -0
  30. package/build/components/capslock/index.js +39 -0
  31. package/build/components/capslock/scss/index.scss +2 -0
  32. package/build/components/card/expand.d.ts +22 -0
  33. package/build/components/card/expand.js +118 -0
  34. package/build/components/card/index.d.ts +6 -0
  35. package/build/components/card/index.js +4 -0
  36. package/build/components/card/scss/index.scss +1 -1
  37. package/build/components/cc/index.d.ts +30 -0
  38. package/build/components/cc/index.js +569 -0
  39. package/build/components/cc/scss/index.scss +2 -0
  40. package/build/components/chat-minimap/index.d.ts +28 -0
  41. package/build/components/chat-minimap/index.js +223 -0
  42. package/build/components/chat-minimap/range.d.ts +9 -0
  43. package/build/components/chat-minimap/range.js +30 -0
  44. package/build/components/chat-minimap/scss/index.scss +2 -0
  45. package/build/components/chat-minimap/spy.d.ts +14 -0
  46. package/build/components/chat-minimap/spy.js +107 -0
  47. package/build/components/checkbox/group.d.ts +33 -0
  48. package/build/components/checkbox/group.js +156 -0
  49. package/build/components/checkbox/index.d.ts +3 -1456
  50. package/build/components/checkbox/index.js +3 -69
  51. package/build/components/checkbox/options.d.ts +6513 -0
  52. package/build/components/checkbox/options.js +79 -0
  53. package/build/components/checkbox/scss/index.scss +1 -1
  54. package/build/components/clipboard/copy.js +5 -5
  55. package/build/components/clipboard/index.d.ts +15 -3
  56. package/build/components/color-picker/index.d.ts +5 -7
  57. package/build/components/color-picker/index.js +175 -222
  58. package/build/components/color-picker/scss/index.scss +1 -1
  59. package/build/components/command/index.d.ts +83 -17
  60. package/build/components/command/index.js +556 -143
  61. package/build/components/command/scss/index.scss +1 -1
  62. package/build/components/container/scss/index.scss +1 -1
  63. package/build/components/copy/index.d.ts +23 -0
  64. package/build/components/copy/index.js +61 -0
  65. package/build/components/copy/scss/index.scss +2 -0
  66. package/build/components/counter/index.d.ts +3 -2
  67. package/build/components/counter/index.js +41 -73
  68. package/build/components/counter/scss/index.scss +1 -1
  69. package/build/components/datalist/index.d.ts +5 -0
  70. package/build/components/datalist/index.js +76 -49
  71. package/build/components/datalist/scss/index.scss +1 -1
  72. package/build/components/dock/index.d.ts +5 -4
  73. package/build/components/dock/index.js +62 -171
  74. package/build/components/dock/scss/index.scss +1 -1
  75. package/build/components/editor/code/changes.d.ts +15 -0
  76. package/build/components/editor/code/changes.js +60 -0
  77. package/build/components/editor/code/clipboard.d.ts +6 -0
  78. package/build/components/editor/code/clipboard.js +50 -0
  79. package/build/components/editor/code/colors.d.ts +11 -0
  80. package/build/components/editor/code/colors.js +172 -0
  81. package/build/components/editor/code/commands.d.ts +22 -0
  82. package/build/components/editor/code/commands.js +556 -0
  83. package/build/components/editor/code/composition.d.ts +23 -0
  84. package/build/components/editor/code/composition.js +67 -0
  85. package/build/components/editor/code/conflicts.d.ts +21 -0
  86. package/build/components/editor/code/conflicts.js +91 -0
  87. package/build/components/editor/code/document.d.ts +127 -0
  88. package/build/components/editor/code/document.js +477 -0
  89. package/build/components/editor/code/editor.d.ts +21 -0
  90. package/build/components/editor/code/editor.js +30 -0
  91. package/build/components/editor/code/features.d.ts +77 -0
  92. package/build/components/editor/code/features.js +833 -0
  93. package/build/components/editor/code/field.d.ts +14 -0
  94. package/build/components/editor/code/field.js +57 -0
  95. package/build/components/editor/code/find.d.ts +83 -0
  96. package/build/components/editor/code/find.js +312 -0
  97. package/build/components/editor/code/folding.d.ts +34 -0
  98. package/build/components/editor/code/folding.js +433 -0
  99. package/build/components/editor/code/goto.d.ts +22 -0
  100. package/build/components/editor/code/goto.js +91 -0
  101. package/build/components/editor/code/gutter.d.ts +5 -0
  102. package/build/components/editor/code/gutter.js +22 -0
  103. package/build/components/editor/code/index.d.ts +17 -0
  104. package/build/components/editor/code/index.js +7 -0
  105. package/build/components/editor/code/keymap.d.ts +30 -0
  106. package/build/components/editor/code/keymap.js +356 -0
  107. package/build/components/editor/code/layout.d.ts +67 -0
  108. package/build/components/editor/code/layout.js +350 -0
  109. package/build/components/editor/code/links.d.ts +8 -0
  110. package/build/components/editor/code/links.js +32 -0
  111. package/build/components/editor/code/minimap.d.ts +46 -0
  112. package/build/components/editor/code/minimap.js +172 -0
  113. package/build/components/editor/code/navigation.d.ts +17 -0
  114. package/build/components/editor/code/navigation.js +49 -0
  115. package/build/components/editor/code/pointer.d.ts +40 -0
  116. package/build/components/editor/code/pointer.js +134 -0
  117. package/build/components/editor/code/projection.d.ts +43 -0
  118. package/build/components/editor/code/projection.js +200 -0
  119. package/build/components/editor/code/rows.d.ts +50 -0
  120. package/build/components/editor/code/rows.js +296 -0
  121. package/build/components/editor/code/search.d.ts +24 -0
  122. package/build/components/editor/code/search.js +231 -0
  123. package/build/components/editor/code/selection.d.ts +2 -0
  124. package/build/components/editor/code/selection.js +53 -0
  125. package/build/components/editor/code/services/completion.d.ts +27 -0
  126. package/build/components/editor/code/services/completion.js +90 -0
  127. package/build/components/editor/code/services/diagnostics.d.ts +28 -0
  128. package/build/components/editor/code/services/diagnostics.js +98 -0
  129. package/build/components/editor/code/services/hover.d.ts +14 -0
  130. package/build/components/editor/code/services/hover.js +66 -0
  131. package/build/components/editor/code/services/index.d.ts +27 -0
  132. package/build/components/editor/code/services/index.js +64 -0
  133. package/build/components/editor/code/services/model.d.ts +35 -0
  134. package/build/components/editor/code/services/model.js +167 -0
  135. package/build/components/editor/code/services/protocol.d.ts +68 -0
  136. package/build/components/editor/code/services/protocol.js +1 -0
  137. package/build/components/editor/code/services/session.d.ts +54 -0
  138. package/build/components/editor/code/services/session.js +496 -0
  139. package/build/components/editor/code/services/transport.d.ts +12 -0
  140. package/build/components/editor/code/services/transport.js +18 -0
  141. package/build/components/editor/code/syntax.d.ts +83 -0
  142. package/build/components/editor/code/syntax.js +1106 -0
  143. package/build/components/editor/code/unicode.d.ts +10 -0
  144. package/build/components/editor/code/unicode.js +117 -0
  145. package/build/components/editor/code/view.d.ts +122 -0
  146. package/build/components/editor/code/view.js +1560 -0
  147. package/build/components/editor/diffs/diff3.d.ts +25 -0
  148. package/build/components/editor/diffs/diff3.js +152 -0
  149. package/build/components/editor/diffs/engine.d.ts +18 -0
  150. package/build/components/editor/diffs/engine.js +110 -0
  151. package/build/components/editor/diffs/hunks.d.ts +41 -0
  152. package/build/components/editor/diffs/hunks.js +96 -0
  153. package/build/components/editor/diffs/index.d.ts +18 -0
  154. package/build/components/editor/diffs/index.js +10 -0
  155. package/build/components/editor/diffs/merge.d.ts +23 -0
  156. package/build/components/editor/diffs/merge.js +324 -0
  157. package/build/components/editor/diffs/render.d.ts +6 -0
  158. package/build/components/editor/diffs/render.js +56 -0
  159. package/build/components/editor/diffs/view.d.ts +44 -0
  160. package/build/components/editor/diffs/view.js +363 -0
  161. package/build/components/editor/diffs/words.d.ts +8 -0
  162. package/build/components/editor/diffs/words.js +47 -0
  163. package/build/components/editor/index.d.ts +21 -0
  164. package/build/components/editor/index.js +11 -0
  165. package/build/components/editor/markdown/editing.d.ts +7 -0
  166. package/build/components/editor/markdown/editing.js +55 -0
  167. package/build/components/editor/markdown/html.d.ts +24 -0
  168. package/build/components/editor/markdown/html.js +108 -0
  169. package/build/components/editor/markdown/index.d.ts +25 -0
  170. package/build/components/editor/markdown/index.js +33 -0
  171. package/build/components/editor/markdown/inline.d.ts +16 -0
  172. package/build/components/editor/markdown/inline.js +259 -0
  173. package/build/components/editor/markdown/layout.d.ts +63 -0
  174. package/build/components/editor/markdown/layout.js +252 -0
  175. package/build/components/editor/markdown/model.d.ts +53 -0
  176. package/build/components/editor/markdown/model.js +463 -0
  177. package/build/components/editor/markdown/render.d.ts +29 -0
  178. package/build/components/editor/markdown/render.js +561 -0
  179. package/build/components/editor/markdown/structure.d.ts +7 -0
  180. package/build/components/editor/markdown/structure.js +87 -0
  181. package/build/components/editor/markdown/view.d.ts +18 -0
  182. package/build/components/editor/markdown/view.js +1841 -0
  183. package/build/components/editor/tree/clipboard.d.ts +12 -0
  184. package/build/components/editor/tree/clipboard.js +48 -0
  185. package/build/components/editor/tree/compact.d.ts +23 -0
  186. package/build/components/editor/tree/compact.js +57 -0
  187. package/build/components/editor/tree/decorations.d.ts +39 -0
  188. package/build/components/editor/tree/decorations.js +126 -0
  189. package/build/components/editor/tree/drag.d.ts +45 -0
  190. package/build/components/editor/tree/drag.js +462 -0
  191. package/build/components/editor/tree/edit.d.ts +43 -0
  192. package/build/components/editor/tree/edit.js +134 -0
  193. package/build/components/editor/tree/filter.d.ts +7 -0
  194. package/build/components/editor/tree/filter.js +47 -0
  195. package/build/components/editor/tree/find.d.ts +55 -0
  196. package/build/components/editor/tree/find.js +291 -0
  197. package/build/components/editor/tree/glob.d.ts +2 -0
  198. package/build/components/editor/tree/glob.js +57 -0
  199. package/build/components/editor/tree/glyph.d.ts +6 -0
  200. package/build/components/editor/tree/glyph.js +31 -0
  201. package/build/components/editor/tree/history.d.ts +61 -0
  202. package/build/components/editor/tree/history.js +172 -0
  203. package/build/components/editor/tree/icons.d.ts +29 -0
  204. package/build/components/editor/tree/icons.js +417 -0
  205. package/build/components/editor/tree/index.d.ts +118 -0
  206. package/build/components/editor/tree/index.js +2227 -0
  207. package/build/components/editor/tree/jump.d.ts +8 -0
  208. package/build/components/editor/tree/jump.js +45 -0
  209. package/build/components/editor/tree/lazy.d.ts +24 -0
  210. package/build/components/editor/tree/lazy.js +71 -0
  211. package/build/components/editor/tree/model.d.ts +33 -0
  212. package/build/components/editor/tree/model.js +128 -0
  213. package/build/components/editor/tree/selection.d.ts +13 -0
  214. package/build/components/editor/tree/selection.js +55 -0
  215. package/build/components/editor/tree/shortcuts.d.ts +6 -0
  216. package/build/components/editor/tree/shortcuts.js +44 -0
  217. package/build/components/editor/tree/sort.d.ts +13 -0
  218. package/build/components/editor/tree/sort.js +53 -0
  219. package/build/components/editor/tree/spoken.d.ts +9 -0
  220. package/build/components/editor/tree/spoken.js +38 -0
  221. package/build/components/editor/tree/sprites.d.ts +4 -0
  222. package/build/components/editor/tree/sprites.js +152 -0
  223. package/build/components/editor/tree/sticky.d.ts +11 -0
  224. package/build/components/editor/tree/sticky.js +102 -0
  225. package/build/components/editor/tree/transfer.d.ts +15 -0
  226. package/build/components/editor/tree/transfer.js +75 -0
  227. package/build/components/editor/workspace/index.d.ts +64 -0
  228. package/build/components/editor/workspace/index.js +1125 -0
  229. package/build/components/editor/workspace/model.d.ts +161 -0
  230. package/build/components/editor/workspace/model.js +690 -0
  231. package/build/components/error/index.d.ts +31 -0
  232. package/build/components/error/index.js +150 -0
  233. package/build/components/error/scss/index.scss +2 -0
  234. package/build/components/filter/index.d.ts +38 -0
  235. package/build/components/filter/index.js +307 -0
  236. package/build/components/filter/scss/index.scss +2 -0
  237. package/build/components/form/action.js +1 -2
  238. package/build/components/form/index.d.ts +10 -1
  239. package/build/components/form/input.d.ts +12 -2
  240. package/build/components/form/input.js +12 -7
  241. package/build/components/form/scss/index.scss +1 -1
  242. package/build/components/frame/scss/index.scss +2 -0
  243. package/build/components/grid/scss/index.scss +1 -1
  244. package/build/components/heatmap/index.d.ts +32 -0
  245. package/build/components/heatmap/index.js +209 -0
  246. package/build/components/heatmap/scss/index.scss +2 -0
  247. package/build/components/highlight/easing.d.ts +2 -0
  248. package/build/components/highlight/easing.js +19 -0
  249. package/build/components/highlight/index.d.ts +6 -0
  250. package/build/components/highlight/index.js +334 -112
  251. package/build/components/highlight/scss/index.scss +1 -1
  252. package/build/components/icon/index.js +1 -1
  253. package/build/components/icon/scss/index.scss +1 -1
  254. package/build/components/image/index.d.ts +17 -12
  255. package/build/components/image/index.js +3 -61
  256. package/build/components/image/lazyload.d.ts +15 -0
  257. package/build/components/image/lazyload.js +72 -0
  258. package/build/components/image/scss/index.scss +1 -1
  259. package/build/components/index.d.ts +15 -77
  260. package/build/components/index.js +15 -77
  261. package/build/components/inline-edit/format.d.ts +29 -0
  262. package/build/components/inline-edit/format.js +112 -0
  263. package/build/components/inline-edit/history.d.ts +14 -0
  264. package/build/components/inline-edit/history.js +40 -0
  265. package/build/components/inline-edit/index.d.ts +13 -7
  266. package/build/components/inline-edit/index.js +44 -38
  267. package/build/components/inline-edit/markdown.d.ts +7 -0
  268. package/build/components/inline-edit/markdown.js +314 -0
  269. package/build/components/inline-edit/model.d.ts +61 -0
  270. package/build/components/inline-edit/model.js +192 -0
  271. package/build/components/inline-edit/rich.d.ts +39 -0
  272. package/build/components/inline-edit/rich.js +1236 -0
  273. package/build/components/inline-edit/scss/index.scss +1 -1
  274. package/build/components/inline-edit/selection.d.ts +7 -0
  275. package/build/components/inline-edit/selection.js +114 -0
  276. package/build/components/inline-edit/status.d.ts +24 -0
  277. package/build/components/inline-edit/status.js +196 -0
  278. package/build/components/inline-edit/utilities.d.ts +4 -0
  279. package/build/components/inline-edit/utilities.js +12 -0
  280. package/build/components/input/field.d.ts +14 -0
  281. package/build/components/input/field.js +34 -0
  282. package/build/components/input/index.d.ts +7 -14
  283. package/build/components/input/index.js +5 -41
  284. package/build/components/input/scrub.d.ts +30 -0
  285. package/build/components/input/scrub.js +221 -0
  286. package/build/components/input/scss/index.scss +1 -1
  287. package/build/components/input/tag.d.ts +24 -0
  288. package/build/components/input/tag.js +288 -0
  289. package/build/components/json/download.js +4 -3
  290. package/build/components/link/scss/index.scss +1 -1
  291. package/build/components/loading/index.d.ts +1 -1
  292. package/build/components/loading/scss/index.scss +1 -1
  293. package/build/components/marquee/index.d.ts +10 -1
  294. package/build/components/marquee/index.js +240 -174
  295. package/build/components/marquee/scss/index.scss +1 -1
  296. package/build/components/marquee/velocity.d.ts +17 -0
  297. package/build/components/marquee/velocity.js +78 -0
  298. package/build/components/metric/flash.d.ts +11 -0
  299. package/build/components/metric/flash.js +116 -0
  300. package/build/components/metric/index.d.ts +33 -0
  301. package/build/components/metric/index.js +271 -0
  302. package/build/components/metric/scss/index.scss +2 -0
  303. package/build/components/nav/index.d.ts +13 -0
  304. package/build/components/nav/index.js +6 -0
  305. package/build/components/nav/scss/index.scss +2 -0
  306. package/build/components/nav/spy.d.ts +9 -0
  307. package/build/components/nav/spy.js +157 -0
  308. package/build/components/nav/toc.d.ts +26 -0
  309. package/build/components/nav/toc.js +22 -0
  310. package/build/components/nav/tree.d.ts +39 -0
  311. package/build/components/nav/tree.js +123 -0
  312. package/build/components/notification/index.d.ts +15 -0
  313. package/build/components/notification/index.js +98 -0
  314. package/build/components/notification/scss/index.scss +2 -0
  315. package/build/components/overlay/index.d.ts +28 -9
  316. package/build/components/overlay/index.js +346 -8
  317. package/build/components/overlay/popup.d.ts +31 -0
  318. package/build/components/overlay/popup.js +150 -0
  319. package/build/components/overlay/scss/index.scss +1 -1
  320. package/build/components/page/scss/index.scss +1 -1
  321. package/build/components/pagination/dots.d.ts +21 -0
  322. package/build/components/pagination/dots.js +110 -0
  323. package/build/components/pagination/index.d.ts +8 -3
  324. package/build/components/pagination/index.js +36 -59
  325. package/build/components/pagination/scss/index.scss +1 -1
  326. package/build/components/progress/index.d.ts +7 -2
  327. package/build/components/progress/index.js +14 -10
  328. package/build/components/progress/scss/index.scss +1 -1
  329. package/build/components/progress/text.d.ts +12 -0
  330. package/build/components/progress/text.js +124 -0
  331. package/build/components/pull-to-refresh/index.d.ts +3 -11
  332. package/build/components/pull-to-refresh/index.js +127 -165
  333. package/build/components/pull-to-refresh/scss/index.scss +1 -1
  334. package/build/components/radio/index.d.ts +2 -2
  335. package/build/components/radio/index.js +2 -2
  336. package/build/components/range/filter.d.ts +22 -0
  337. package/build/components/range/filter.js +322 -0
  338. package/build/components/range/index.d.ts +9 -2
  339. package/build/components/range/index.js +13 -9
  340. package/build/components/range/scss/index.scss +1 -1
  341. package/build/components/relative-time/index.d.ts +15 -8
  342. package/build/components/relative-time/index.js +206 -193
  343. package/build/components/relative-time/scss/index.scss +1 -1
  344. package/build/components/root/scss/index.scss +1 -1
  345. package/build/components/select/index.d.ts +35 -16
  346. package/build/components/select/index.js +358 -92
  347. package/build/components/select/placement.d.ts +15 -0
  348. package/build/components/select/placement.js +31 -0
  349. package/build/components/select/scss/index.scss +1 -1
  350. package/build/components/shortcut-recorder/index.d.ts +7 -2
  351. package/build/components/shortcut-recorder/index.js +107 -99
  352. package/build/components/shortcut-recorder/scss/index.scss +1 -1
  353. package/build/components/sortable/index.d.ts +722 -4
  354. package/build/components/sortable/index.js +329 -213
  355. package/build/components/sortable/scss/index.scss +1 -1
  356. package/build/components/sticky-header/index.d.ts +22 -15
  357. package/build/components/sticky-header/index.js +41 -81
  358. package/build/components/sticky-header/scss/index.scss +1 -1
  359. package/build/components/story/index.d.ts +21 -0
  360. package/build/components/story/index.js +253 -0
  361. package/build/components/story/scss/index.scss +2 -0
  362. package/build/components/surface-field/engine.d.ts +65 -0
  363. package/build/components/surface-field/engine.js +970 -0
  364. package/build/components/surface-field/index.d.ts +2247 -1470
  365. package/build/components/surface-field/index.js +394 -371
  366. package/build/components/surface-field/scss/index.scss +1 -1
  367. package/build/components/surface-field/surface.d.ts +39 -0
  368. package/build/components/surface-field/surface.js +159 -0
  369. package/build/components/surface-field/worker/index.d.ts +9 -0
  370. package/build/components/surface-field/worker/index.js +19 -0
  371. package/build/components/switch/index.d.ts +2 -2
  372. package/build/components/switch/index.js +2 -2
  373. package/build/components/tasklist/index.d.ts +25 -717
  374. package/build/components/tasklist/index.js +151 -97
  375. package/build/components/tasklist/scss/index.scss +1 -1
  376. package/build/components/text/scss/index.scss +1 -1
  377. package/build/components/textarea/index.d.ts +15 -3
  378. package/build/components/textarea/index.js +124 -32
  379. package/build/components/textarea/scss/index.scss +1 -1
  380. package/build/components/toast/index.d.ts +40 -7
  381. package/build/components/toast/index.js +192 -145
  382. package/build/components/toast/scss/index.scss +1 -1
  383. package/build/components/tooltip/index.d.ts +3 -4
  384. package/build/components/tooltip/index.js +3 -4
  385. package/build/components/tooltip/menu.d.ts +47 -21
  386. package/build/components/tooltip/menu.js +525 -18
  387. package/build/components/tooltip/onclick.d.ts +1 -0
  388. package/build/components/tooltip/onclick.js +50 -33
  389. package/build/components/tooltip/onhover.d.ts +721 -10
  390. package/build/components/tooltip/onhover.js +129 -43
  391. package/build/components/tooltip/scss/index.scss +1 -1
  392. package/build/components/tooltip/shared.d.ts +34 -0
  393. package/build/components/tooltip/shared.js +569 -0
  394. package/build/components/tooltip/utilities.d.ts +23 -3
  395. package/build/components/tooltip/utilities.js +46 -21
  396. package/build/components/typewriter/index.d.ts +1439 -10
  397. package/build/components/typewriter/index.js +7 -2
  398. package/build/components/typewriter/retype.d.ts +7 -0
  399. package/build/components/typewriter/retype.js +83 -0
  400. package/build/components/typewriter/rotate.d.ts +13 -0
  401. package/build/components/typewriter/rotate.js +186 -0
  402. package/build/components/typewriter/scss/index.scss +1 -1
  403. package/build/components/uptime/index.js +61 -61
  404. package/build/components/uptime/scss/index.scss +1 -1
  405. package/build/components/usage-meter/index.d.ts +15 -3
  406. package/build/components/usage-meter/index.js +19 -19
  407. package/build/components/usage-meter/scss/index.scss +1 -1
  408. package/build/css-utilities/background/scss/index.scss +1 -1
  409. package/build/css-utilities/border/scss/index.scss +1 -1
  410. package/build/css-utilities/color/scss/index.scss +1 -1
  411. package/build/css-utilities/flex/scss/index.scss +1 -1
  412. package/build/css-utilities/font/geist/scss/index.scss +1 -1
  413. package/build/css-utilities/font/montserrat/scss/index.scss +1 -1
  414. package/build/css-utilities/glass/index.d.ts +10 -0
  415. package/build/css-utilities/glass/index.js +26 -0
  416. package/build/css-utilities/glass/scss/index.scss +1 -1
  417. package/build/css-utilities/index.d.ts +3 -0
  418. package/build/css-utilities/index.js +3 -0
  419. package/build/css-utilities/index.scss +1 -1
  420. package/build/css-utilities/inline/scss/index.scss +1 -1
  421. package/build/css-utilities/scrollbar/index.d.ts +42 -0
  422. package/build/css-utilities/scrollbar/index.js +155 -0
  423. package/build/css-utilities/scrollbar/scss/index.scss +1 -1
  424. package/build/css-utilities/skeleton/scss/index.scss +1 -1
  425. package/build/css-utilities/text/scss/index.scss +1 -1
  426. package/build/css-utilities/theme/index.d.ts +16 -0
  427. package/build/css-utilities/theme/index.js +60 -0
  428. package/build/normalize/scss/index.scss +3 -0
  429. package/build/shared/anchor.d.ts +7 -0
  430. package/build/shared/anchor.js +18 -0
  431. package/build/shared/animation.d.ts +6 -0
  432. package/build/shared/animation.js +57 -0
  433. package/build/shared/clamp.d.ts +2 -0
  434. package/build/shared/clamp.js +4 -0
  435. package/build/shared/deadline.d.ts +2 -0
  436. package/build/shared/deadline.js +94 -0
  437. package/build/shared/dismiss.d.ts +2 -0
  438. package/build/shared/dismiss.js +5 -0
  439. package/build/shared/drag.d.ts +47 -0
  440. package/build/shared/drag.js +189 -0
  441. package/build/shared/fuzzy.d.ts +6 -0
  442. package/build/shared/fuzzy.js +153 -0
  443. package/build/shared/keystep.d.ts +2 -0
  444. package/build/shared/keystep.js +21 -0
  445. package/build/shared/platform.d.ts +2 -0
  446. package/build/shared/platform.js +3 -0
  447. package/build/shared/press.d.ts +15 -0
  448. package/build/shared/press.js +83 -0
  449. package/build/shared/resize.d.ts +18 -0
  450. package/build/shared/resize.js +137 -0
  451. package/build/shared/subscribe.d.ts +3 -0
  452. package/build/shared/subscribe.js +12 -0
  453. package/build/shared/ticker.d.ts +3 -0
  454. package/build/shared/ticker.js +34 -0
  455. package/build/shared/transition.d.ts +11 -0
  456. package/build/shared/transition.js +49 -0
  457. package/build/shared/viewport.d.ts +7 -0
  458. package/build/shared/viewport.js +11 -0
  459. package/build/shared/visible.d.ts +8 -0
  460. package/build/shared/visible.js +79 -0
  461. package/build/themes/dark/input.d.ts +3 -721
  462. package/build/themes/dark/input.js +4 -2
  463. package/build/themes/dark/select.js +2 -1
  464. package/build/themes/dark/textarea.d.ts +15 -3
  465. package/build/themes/dark/textarea.js +1 -0
  466. package/package.json +11 -4
  467. package/pnpm-workspace.yaml +3 -18
  468. package/scripts/animation.test.mjs +45 -0
  469. package/scripts/chat-minimap.test.mjs +53 -0
  470. package/scripts/code-editor-features.test.mjs +287 -0
  471. package/scripts/code-editor-markdown.test.mjs +527 -0
  472. package/scripts/code-editor-services.test.mjs +361 -0
  473. package/scripts/code-editor-workspace.test.mjs +398 -0
  474. package/scripts/code-editor.test.mjs +1615 -0
  475. package/scripts/css-variables.test.mjs +1 -1
  476. package/scripts/deadline.test.mjs +191 -0
  477. package/scripts/diffs.test.mjs +189 -0
  478. package/scripts/file-tree-features.test.mjs +137 -0
  479. package/scripts/file-tree-icons.test.mjs +234 -0
  480. package/scripts/highlight.test.mjs +52 -0
  481. package/scripts/resize.test.mjs +247 -0
  482. package/scripts/resolve.mjs +52 -0
  483. package/scripts/slides.test.mjs +126 -0
  484. package/scripts/subscribe.test.mjs +49 -0
  485. package/scripts/ticker.test.mjs +126 -0
  486. package/scripts/transition.test.mjs +83 -0
  487. package/scripts/viewport.test.mjs +82 -0
  488. package/scripts/visible.test.mjs +186 -0
  489. package/shared.scss +2 -0
  490. package/src/components/accordion/index.ts +71 -12
  491. package/src/components/accordion/scss/index.scss +32 -129
  492. package/src/components/accordion/scss/variables.scss +7 -0
  493. package/src/components/announcement/index.ts +26 -0
  494. package/src/components/announcement/scss/index.scss +47 -0
  495. package/src/components/announcement/scss/variables.scss +23 -0
  496. package/src/components/banner/scss/index.scss +4 -8
  497. package/src/components/banner/scss/variables.scss +6 -0
  498. package/src/components/breadcrumb/index.ts +222 -25
  499. package/src/components/breadcrumb/scss/index.scss +217 -34
  500. package/src/components/breadcrumb/scss/variables.scss +73 -8
  501. package/src/components/button/copy.ts +1 -1
  502. package/src/components/button/faces.ts +1 -2
  503. package/src/components/button/fan.ts +111 -114
  504. package/src/components/button/hold.ts +9 -9
  505. package/src/components/button/icons.ts +15 -32
  506. package/src/components/button/index.ts +13 -1
  507. package/src/components/button/kbd.ts +6 -6
  508. package/src/components/button/loading.ts +1 -1
  509. package/src/components/button/morph.ts +153 -0
  510. package/src/components/button/scss/_kbd.scss +2 -1
  511. package/src/components/button/scss/_morph.scss +119 -0
  512. package/src/components/button/scss/_sidebar.scss +50 -0
  513. package/src/components/button/scss/_split.scss +53 -0
  514. package/src/components/button/scss/index.scss +45 -31
  515. package/src/components/button/scss/variables.scss +85 -34
  516. package/src/components/button/sidebar.ts +60 -0
  517. package/src/components/button/split.ts +60 -0
  518. package/src/components/capslock/index.ts +54 -0
  519. package/src/components/capslock/scss/index.scss +55 -0
  520. package/src/components/capslock/scss/variables.scss +26 -0
  521. package/src/components/card/expand.ts +141 -0
  522. package/src/components/card/index.ts +8 -0
  523. package/src/components/card/scss/_expand.scss +240 -0
  524. package/src/components/card/scss/index.scss +52 -9
  525. package/src/components/card/scss/variables.scss +85 -19
  526. package/src/components/cc/index.ts +558 -0
  527. package/src/components/cc/scss/index.scss +429 -0
  528. package/src/components/cc/scss/variables.scss +68 -0
  529. package/src/components/chat-minimap/index.ts +265 -0
  530. package/src/components/chat-minimap/range.ts +59 -0
  531. package/src/components/chat-minimap/scss/index.scss +140 -0
  532. package/src/components/chat-minimap/scss/variables.scss +97 -0
  533. package/src/components/chat-minimap/spy.ts +151 -0
  534. package/src/components/checkbox/group.ts +216 -0
  535. package/src/components/checkbox/index.ts +3 -41
  536. package/src/components/checkbox/options.ts +55 -0
  537. package/src/components/checkbox/scss/index.scss +69 -17
  538. package/src/components/checkbox/scss/variables.scss +28 -7
  539. package/src/components/clipboard/copy.ts +5 -5
  540. package/src/components/color-picker/index.ts +160 -233
  541. package/src/components/color-picker/scss/index.scss +51 -93
  542. package/src/components/color-picker/scss/variables.scss +68 -10
  543. package/src/components/command/index.ts +788 -206
  544. package/src/components/command/scss/index.scss +168 -158
  545. package/src/components/command/scss/variables.scss +118 -25
  546. package/src/components/copy/index.ts +69 -0
  547. package/src/components/copy/scss/index.scss +52 -0
  548. package/src/components/copy/scss/variables.scss +22 -0
  549. package/src/components/counter/index.ts +69 -94
  550. package/src/components/counter/scss/index.scss +20 -48
  551. package/src/components/counter/scss/variables.scss +24 -35
  552. package/src/components/datalist/index.ts +49 -29
  553. package/src/components/datalist/scss/index.scss +43 -24
  554. package/src/components/datalist/scss/variables.scss +7 -4
  555. package/src/components/dock/index.ts +61 -231
  556. package/src/components/dock/scss/index.scss +73 -39
  557. package/src/components/dock/scss/variables.scss +77 -16
  558. package/src/components/editor/code/changes.ts +111 -0
  559. package/src/components/editor/code/clipboard.ts +81 -0
  560. package/src/components/editor/code/colors.ts +278 -0
  561. package/src/components/editor/code/commands.ts +879 -0
  562. package/src/components/editor/code/composition.ts +85 -0
  563. package/src/components/editor/code/conflicts.ts +160 -0
  564. package/src/components/editor/code/document.ts +789 -0
  565. package/src/components/editor/code/editor.ts +68 -0
  566. package/src/components/editor/code/features.ts +1144 -0
  567. package/src/components/editor/code/field.ts +96 -0
  568. package/src/components/editor/code/find.ts +340 -0
  569. package/src/components/editor/code/folding.ts +689 -0
  570. package/src/components/editor/code/goto.ts +89 -0
  571. package/src/components/editor/code/gutter.ts +47 -0
  572. package/src/components/editor/code/index.ts +29 -0
  573. package/src/components/editor/code/keymap.ts +518 -0
  574. package/src/components/editor/code/layout.ts +565 -0
  575. package/src/components/editor/code/links.ts +55 -0
  576. package/src/components/editor/code/minimap.ts +260 -0
  577. package/src/components/editor/code/navigation.ts +95 -0
  578. package/src/components/editor/code/pointer.ts +199 -0
  579. package/src/components/editor/code/projection.ts +342 -0
  580. package/src/components/editor/code/rows.ts +412 -0
  581. package/src/components/editor/code/scss/_editor.scss +432 -0
  582. package/src/components/editor/code/scss/_features.scss +311 -0
  583. package/src/components/editor/code/scss/_services.scss +154 -0
  584. package/src/components/editor/code/scss/index.scss +6 -0
  585. package/src/components/editor/code/scss/variables.scss +194 -0
  586. package/src/components/editor/code/search.ts +391 -0
  587. package/src/components/editor/code/selection.ts +83 -0
  588. package/src/components/editor/code/services/completion.ts +114 -0
  589. package/src/components/editor/code/services/diagnostics.ts +168 -0
  590. package/src/components/editor/code/services/hover.ts +74 -0
  591. package/src/components/editor/code/services/index.ts +118 -0
  592. package/src/components/editor/code/services/model.ts +270 -0
  593. package/src/components/editor/code/services/protocol.ts +55 -0
  594. package/src/components/editor/code/services/session.ts +721 -0
  595. package/src/components/editor/code/services/transport.ts +36 -0
  596. package/src/components/editor/code/syntax.ts +1673 -0
  597. package/src/components/editor/code/unicode.ts +156 -0
  598. package/src/components/editor/code/view.ts +2139 -0
  599. package/src/components/editor/diffs/diff3.ts +280 -0
  600. package/src/components/editor/diffs/engine.ts +192 -0
  601. package/src/components/editor/diffs/hunks.ts +196 -0
  602. package/src/components/editor/diffs/index.ts +20 -0
  603. package/src/components/editor/diffs/merge.ts +377 -0
  604. package/src/components/editor/diffs/render.ts +95 -0
  605. package/src/components/editor/diffs/scss/_diffs.scss +352 -0
  606. package/src/components/editor/diffs/scss/_merge.scss +121 -0
  607. package/src/components/editor/diffs/scss/index.scss +5 -0
  608. package/src/components/editor/diffs/scss/variables.scss +70 -0
  609. package/src/components/editor/diffs/view.ts +464 -0
  610. package/src/components/editor/diffs/words.ts +85 -0
  611. package/src/components/editor/index.ts +59 -0
  612. package/src/components/editor/markdown/editing.ts +92 -0
  613. package/src/components/editor/markdown/html.ts +192 -0
  614. package/src/components/editor/markdown/index.ts +72 -0
  615. package/src/components/editor/markdown/inline.ts +399 -0
  616. package/src/components/editor/markdown/layout.ts +446 -0
  617. package/src/components/editor/markdown/model.ts +737 -0
  618. package/src/components/editor/markdown/render.ts +461 -0
  619. package/src/components/editor/markdown/scss/index.scss +456 -0
  620. package/src/components/editor/markdown/scss/variables.scss +109 -0
  621. package/src/components/editor/markdown/structure.ts +136 -0
  622. package/src/components/editor/markdown/view.ts +2417 -0
  623. package/src/components/editor/tree/clipboard.ts +80 -0
  624. package/src/components/editor/tree/compact.ts +93 -0
  625. package/src/components/editor/tree/decorations.ts +210 -0
  626. package/src/components/editor/tree/drag.ts +652 -0
  627. package/src/components/editor/tree/edit.ts +234 -0
  628. package/src/components/editor/tree/filter.ts +81 -0
  629. package/src/components/editor/tree/find.ts +500 -0
  630. package/src/components/editor/tree/glob.ts +76 -0
  631. package/src/components/editor/tree/glyph.ts +49 -0
  632. package/src/components/editor/tree/history.ts +282 -0
  633. package/src/components/editor/tree/icons.ts +507 -0
  634. package/src/components/editor/tree/index.ts +3438 -0
  635. package/src/components/editor/tree/jump.ts +78 -0
  636. package/src/components/editor/tree/lazy.ts +111 -0
  637. package/src/components/editor/tree/model.ts +235 -0
  638. package/src/components/editor/tree/scss/index.scss +732 -0
  639. package/src/components/editor/tree/scss/variables.scss +260 -0
  640. package/src/components/editor/tree/selection.ts +85 -0
  641. package/src/components/editor/tree/shortcuts.ts +64 -0
  642. package/src/components/editor/tree/sort.ts +104 -0
  643. package/src/components/editor/tree/spoken.ts +67 -0
  644. package/src/components/editor/tree/sprites.ts +159 -0
  645. package/src/components/editor/tree/sticky.ts +154 -0
  646. package/src/components/editor/tree/transfer.ts +134 -0
  647. package/src/components/editor/workspace/index.ts +1357 -0
  648. package/src/components/editor/workspace/model.ts +1023 -0
  649. package/src/components/editor/workspace/scss/index.scss +547 -0
  650. package/src/components/error/index.ts +189 -0
  651. package/src/components/error/scss/index.scss +89 -0
  652. package/src/components/error/scss/variables.scss +13 -0
  653. package/src/components/filter/index.ts +420 -0
  654. package/src/components/filter/scss/index.scss +6 -0
  655. package/src/components/filter/scss/variables.scss +17 -0
  656. package/src/components/form/action.ts +4 -4
  657. package/src/components/form/input.ts +13 -7
  658. package/src/components/frame/scss/index.scss +107 -0
  659. package/src/components/frame/scss/variables.scss +27 -0
  660. package/src/components/heatmap/index.ts +281 -0
  661. package/src/components/heatmap/scss/index.scss +131 -0
  662. package/src/components/heatmap/scss/variables.scss +58 -0
  663. package/src/components/highlight/easing.ts +33 -0
  664. package/src/components/highlight/index.ts +580 -77
  665. package/src/components/highlight/scss/index.scss +49 -9
  666. package/src/components/highlight/scss/variables.scss +62 -3
  667. package/src/components/icon/scss/index.scss +0 -1
  668. package/src/components/image/index.ts +3 -76
  669. package/src/components/image/lazyload.ts +95 -0
  670. package/src/components/image/scss/index.scss +71 -57
  671. package/src/components/image/scss/variables.scss +39 -14
  672. package/src/components/index.ts +27 -77
  673. package/src/components/inline-edit/format.ts +183 -0
  674. package/src/components/inline-edit/history.ts +71 -0
  675. package/src/components/inline-edit/index.ts +44 -38
  676. package/src/components/inline-edit/markdown.ts +485 -0
  677. package/src/components/inline-edit/model.ts +366 -0
  678. package/src/components/inline-edit/rich.ts +1518 -0
  679. package/src/components/inline-edit/scss/index.scss +431 -41
  680. package/src/components/inline-edit/scss/variables.scss +105 -0
  681. package/src/components/inline-edit/selection.ts +188 -0
  682. package/src/components/inline-edit/status.ts +194 -0
  683. package/src/components/inline-edit/utilities.ts +18 -0
  684. package/src/components/input/field.ts +32 -0
  685. package/src/components/input/index.ts +5 -38
  686. package/src/components/input/scrub.ts +338 -0
  687. package/src/components/input/scss/_field.scss +53 -0
  688. package/src/components/input/scss/_scrub.scss +91 -0
  689. package/src/components/input/scss/_tag.scss +162 -0
  690. package/src/components/input/scss/index.scss +5 -18
  691. package/src/components/input/scss/variables.scss +108 -38
  692. package/src/components/input/tag.ts +403 -0
  693. package/src/components/json/download.ts +9 -6
  694. package/src/components/link/scss/index.scss +9 -4
  695. package/src/components/link/scss/variables.scss +1 -31
  696. package/src/components/loading/index.ts +1 -1
  697. package/src/components/loading/scss/index.scss +3 -6
  698. package/src/components/marquee/index.ts +246 -169
  699. package/src/components/marquee/scss/index.scss +21 -28
  700. package/src/components/marquee/scss/variables.scss +16 -0
  701. package/src/components/marquee/velocity.ts +144 -0
  702. package/src/components/metric/flash.ts +128 -0
  703. package/src/components/metric/index.ts +315 -0
  704. package/src/components/metric/scss/_flash.scss +163 -0
  705. package/src/components/metric/scss/index.scss +163 -0
  706. package/src/components/metric/scss/variables.scss +133 -0
  707. package/src/components/nav/index.ts +13 -0
  708. package/src/components/nav/scss/index.scss +123 -0
  709. package/src/components/nav/scss/variables.scss +60 -0
  710. package/src/components/nav/spy.ts +203 -0
  711. package/src/components/nav/toc.ts +48 -0
  712. package/src/components/nav/tree.ts +181 -0
  713. package/src/components/notification/index.ts +111 -0
  714. package/src/components/notification/scss/index.scss +123 -0
  715. package/src/components/notification/scss/variables.scss +54 -0
  716. package/src/components/overlay/index.ts +487 -5
  717. package/src/components/overlay/popup.ts +214 -0
  718. package/src/components/overlay/scss/index.scss +379 -7
  719. package/src/components/overlay/scss/variables.scss +117 -0
  720. package/src/components/pagination/dots.ts +132 -0
  721. package/src/components/pagination/index.ts +34 -45
  722. package/src/components/pagination/scss/_dots.scss +67 -0
  723. package/src/components/pagination/scss/index.scss +15 -8
  724. package/src/components/pagination/scss/variables.scss +59 -0
  725. package/src/components/progress/index.ts +18 -8
  726. package/src/components/progress/scss/_text.scss +132 -0
  727. package/src/components/progress/scss/index.scss +1 -0
  728. package/src/components/progress/scss/variables.scss +42 -0
  729. package/src/components/progress/text.ts +158 -0
  730. package/src/components/pull-to-refresh/index.ts +126 -248
  731. package/src/components/pull-to-refresh/scss/index.scss +65 -29
  732. package/src/components/pull-to-refresh/scss/variables.scss +24 -1
  733. package/src/components/radio/index.ts +3 -3
  734. package/src/components/range/filter.ts +398 -0
  735. package/src/components/range/index.ts +27 -16
  736. package/src/components/range/scss/_filter.scss +374 -0
  737. package/src/components/range/scss/_slider.scss +140 -0
  738. package/src/components/range/scss/_vertical.scss +22 -0
  739. package/src/components/range/scss/index.scss +26 -14
  740. package/src/components/range/scss/variables.scss +78 -13
  741. package/src/components/relative-time/index.ts +218 -233
  742. package/src/components/relative-time/scss/index.scss +42 -18
  743. package/src/components/relative-time/scss/variables.scss +25 -0
  744. package/src/components/root/scss/index.scss +7 -3
  745. package/src/components/root/scss/variables.scss +21 -12
  746. package/src/components/select/index.ts +506 -153
  747. package/src/components/select/placement.ts +75 -0
  748. package/src/components/select/scss/index.scss +182 -45
  749. package/src/components/select/scss/variables.scss +58 -44
  750. package/src/components/shortcut-recorder/index.ts +145 -106
  751. package/src/components/shortcut-recorder/scss/index.scss +34 -121
  752. package/src/components/shortcut-recorder/scss/variables.scss +27 -39
  753. package/src/components/sortable/index.ts +380 -272
  754. package/src/components/sortable/scss/index.scss +107 -38
  755. package/src/components/sortable/scss/variables.scss +12 -1
  756. package/src/components/sticky-header/index.ts +43 -92
  757. package/src/components/sticky-header/scss/index.scss +76 -86
  758. package/src/components/sticky-header/scss/variables.scss +36 -12
  759. package/src/components/story/index.ts +305 -0
  760. package/src/components/story/scss/index.scss +189 -0
  761. package/src/components/story/scss/variables.scss +28 -0
  762. package/src/components/surface-field/engine.ts +1631 -0
  763. package/src/components/surface-field/index.ts +574 -608
  764. package/src/components/surface-field/scss/index.scss +74 -17
  765. package/src/components/surface-field/scss/variables.scss +23 -0
  766. package/src/components/surface-field/surface.ts +260 -0
  767. package/src/components/surface-field/worker/index.ts +41 -0
  768. package/src/components/switch/index.ts +3 -3
  769. package/src/components/tasklist/index.ts +197 -119
  770. package/src/components/tasklist/scss/index.scss +45 -128
  771. package/src/components/tasklist/scss/variables.scss +97 -70
  772. package/src/components/text/scss/index.scss +2 -15
  773. package/src/components/textarea/index.ts +142 -39
  774. package/src/components/textarea/scss/index.scss +41 -18
  775. package/src/components/textarea/scss/variables.scss +5 -46
  776. package/src/components/toast/index.ts +270 -157
  777. package/src/components/toast/scss/index.scss +244 -225
  778. package/src/components/toast/scss/variables.scss +68 -9
  779. package/src/components/tooltip/index.ts +9 -4
  780. package/src/components/tooltip/menu.ts +599 -37
  781. package/src/components/tooltip/onclick.ts +28 -22
  782. package/src/components/tooltip/onhover.ts +155 -73
  783. package/src/components/tooltip/scss/_menu.scss +352 -0
  784. package/src/components/tooltip/scss/_shared.scss +109 -0
  785. package/src/components/tooltip/scss/_south.scss +0 -1
  786. package/src/components/tooltip/scss/index.scss +16 -97
  787. package/src/components/tooltip/scss/variables.scss +103 -59
  788. package/src/components/tooltip/shared.ts +819 -0
  789. package/src/components/tooltip/utilities.ts +78 -23
  790. package/src/components/typewriter/index.ts +8 -1
  791. package/src/components/typewriter/retype.ts +99 -0
  792. package/src/components/typewriter/rotate.ts +279 -0
  793. package/src/components/typewriter/scss/_caret.scss +34 -0
  794. package/src/components/typewriter/scss/_retype.scss +67 -0
  795. package/src/components/typewriter/scss/_rotate.scss +28 -0
  796. package/src/components/typewriter/scss/index.scss +3 -33
  797. package/src/components/typewriter/scss/variables.scss +60 -10
  798. package/src/components/uptime/index.ts +50 -49
  799. package/src/components/uptime/scss/index.scss +67 -47
  800. package/src/components/uptime/scss/variables.scss +32 -4
  801. package/src/components/usage-meter/index.ts +17 -17
  802. package/src/components/usage-meter/scss/index.scss +19 -31
  803. package/src/components/usage-meter/scss/variables.scss +15 -7
  804. package/src/css-utilities/background/scss/index.scss +1 -1
  805. package/src/css-utilities/background/scss/variables.scss +2 -17
  806. package/src/css-utilities/border/scss/index.scss +1 -1
  807. package/src/css-utilities/border/scss/variables.scss +7 -23
  808. package/src/css-utilities/color/scss/index.scss +1 -1
  809. package/src/css-utilities/color/scss/variables.scss +2 -17
  810. package/src/css-utilities/flex/scss/variables.scss +0 -1
  811. package/src/css-utilities/font/geist/scss/index.scss +2 -2
  812. package/src/css-utilities/font/montserrat/scss/index.scss +2 -2
  813. package/src/css-utilities/glass/index.ts +42 -0
  814. package/src/css-utilities/glass/scss/index.scss +65 -1
  815. package/src/css-utilities/glass/scss/variables.scss +6 -1
  816. package/src/css-utilities/index.scss +0 -5
  817. package/src/css-utilities/index.ts +3 -0
  818. package/src/css-utilities/scrollbar/index.ts +200 -0
  819. package/src/css-utilities/scrollbar/scss/index.scss +300 -36
  820. package/src/css-utilities/scrollbar/scss/variables.scss +38 -3
  821. package/src/css-utilities/text/scss/index.scss +97 -6
  822. package/src/css-utilities/text/scss/variables.scss +22 -0
  823. package/src/css-utilities/theme/index.ts +71 -0
  824. package/src/normalize/scss/index.scss +42 -0
  825. package/src/shared/anchor.ts +34 -0
  826. package/src/shared/animation.ts +106 -0
  827. package/src/shared/clamp.ts +6 -0
  828. package/src/shared/deadline.ts +153 -0
  829. package/src/shared/dismiss.ts +6 -0
  830. package/src/shared/drag.ts +348 -0
  831. package/src/shared/fuzzy.ts +263 -0
  832. package/src/shared/keystep.ts +28 -0
  833. package/src/shared/platform.ts +10 -0
  834. package/src/shared/press.ts +144 -0
  835. package/src/shared/resize.ts +232 -0
  836. package/src/shared/scss/absolute.scss +28 -0
  837. package/src/shared/scss/anchor.scss +63 -0
  838. package/src/shared/scss/background.scss +21 -0
  839. package/src/shared/scss/border.scss +21 -0
  840. package/src/shared/scss/color.scss +21 -0
  841. package/src/shared/scss/drag.scss +7 -0
  842. package/src/shared/scss/hidden.scss +22 -0
  843. package/src/shared/scss/icon.scss +36 -0
  844. package/src/shared/scss/index.scss +16 -0
  845. package/src/shared/scss/layer.scss +20 -0
  846. package/src/shared/scss/list.scss +64 -0
  847. package/src/shared/scss/reset.scss +21 -0
  848. package/src/shared/scss/string.scss +18 -0
  849. package/src/shared/scss/text.scss +31 -0
  850. package/src/shared/subscribe.ts +20 -0
  851. package/src/shared/ticker.ts +56 -0
  852. package/src/shared/transition.ts +61 -0
  853. package/src/shared/viewport.ts +23 -0
  854. package/src/shared/visible.ts +127 -0
  855. package/src/themes/dark/input.ts +6 -2
  856. package/src/themes/dark/select.ts +3 -2
  857. package/src/themes/dark/textarea.ts +1 -0
  858. package/src/tokens/scss/box-shadow.scss +12 -16
  859. package/src/tokens/scss/color.scss +3 -2
  860. package/src/tokens/scss/font-family.scss +5 -0
  861. package/src/tokens/scss/index.scss +10 -0
  862. package/src/tokens/scss/state.scss +10 -8
  863. package/storage/code.md +180 -0
  864. package/storage/editor-features.md +227 -0
  865. package/storage/svg/amex.svg +1 -0
  866. package/storage/svg/arrow-down.svg +1 -0
  867. package/storage/svg/arrow-up.svg +1 -0
  868. package/storage/svg/bold.svg +1 -0
  869. package/storage/svg/caps-lock.svg +1 -0
  870. package/storage/svg/card.svg +1 -0
  871. package/storage/svg/chevron-down.svg +1 -0
  872. package/storage/svg/chevron-left.svg +1 -0
  873. package/storage/svg/chevron-right.svg +1 -0
  874. package/storage/svg/chevron-up.svg +1 -0
  875. package/storage/svg/chevrons-up-down.svg +1 -0
  876. package/storage/svg/chip.svg +1 -0
  877. package/storage/svg/circle.svg +1 -0
  878. package/storage/svg/clear-format.svg +1 -0
  879. package/storage/svg/close.svg +1 -0
  880. package/storage/svg/code.svg +1 -0
  881. package/storage/svg/command.svg +1 -0
  882. package/storage/svg/contrast.svg +1 -0
  883. package/storage/svg/copy.svg +1 -0
  884. package/storage/svg/corner-down-right.svg +1 -0
  885. package/storage/svg/credit-card.svg +1 -0
  886. package/storage/svg/dash.svg +1 -0
  887. package/storage/svg/discover.svg +1 -0
  888. package/storage/svg/document.svg +1 -0
  889. package/storage/svg/dots.svg +1 -0
  890. package/storage/svg/download.svg +1 -0
  891. package/storage/svg/enter.svg +1 -0
  892. package/storage/svg/expand.svg +1 -0
  893. package/storage/svg/external-link.svg +1 -0
  894. package/storage/svg/eye-off.svg +1 -0
  895. package/storage/svg/eye.svg +1 -0
  896. package/storage/svg/file-agents.svg +1 -0
  897. package/storage/svg/file-astro.svg +1 -0
  898. package/storage/svg/file-babel.svg +1 -0
  899. package/storage/svg/file-bash.svg +1 -0
  900. package/storage/svg/file-biome.svg +1 -0
  901. package/storage/svg/file-bootstrap.svg +1 -0
  902. package/storage/svg/file-browserslist.svg +1 -0
  903. package/storage/svg/file-bun.svg +1 -0
  904. package/storage/svg/file-c.svg +1 -0
  905. package/storage/svg/file-claude.svg +1 -0
  906. package/storage/svg/file-css.svg +1 -0
  907. package/storage/svg/file-database.svg +1 -0
  908. package/storage/svg/file-docker.svg +1 -0
  909. package/storage/svg/file-eslint.svg +1 -0
  910. package/storage/svg/file-font.svg +1 -0
  911. package/storage/svg/file-git.svg +1 -0
  912. package/storage/svg/file-go.svg +1 -0
  913. package/storage/svg/file-graphql.svg +1 -0
  914. package/storage/svg/file-html.svg +1 -0
  915. package/storage/svg/file-image.svg +1 -0
  916. package/storage/svg/file-javascript.svg +1 -0
  917. package/storage/svg/file-json.svg +1 -0
  918. package/storage/svg/file-markdown.svg +1 -0
  919. package/storage/svg/file-mcp.svg +1 -0
  920. package/storage/svg/file-nextjs.svg +1 -0
  921. package/storage/svg/file-npm.svg +1 -0
  922. package/storage/svg/file-oxc.svg +1 -0
  923. package/storage/svg/file-package.svg +1 -0
  924. package/storage/svg/file-pnpm.svg +1 -0
  925. package/storage/svg/file-postcss.svg +1 -0
  926. package/storage/svg/file-prettier.svg +1 -0
  927. package/storage/svg/file-python.svg +1 -0
  928. package/storage/svg/file-react.svg +1 -0
  929. package/storage/svg/file-readme.svg +1 -0
  930. package/storage/svg/file-ruby.svg +1 -0
  931. package/storage/svg/file-rust.svg +1 -0
  932. package/storage/svg/file-sass.svg +1 -0
  933. package/storage/svg/file-stylelint.svg +1 -0
  934. package/storage/svg/file-svelte.svg +1 -0
  935. package/storage/svg/file-svg.svg +1 -0
  936. package/storage/svg/file-svgo.svg +1 -0
  937. package/storage/svg/file-swift.svg +1 -0
  938. package/storage/svg/file-table.svg +1 -0
  939. package/storage/svg/file-tailwind.svg +1 -0
  940. package/storage/svg/file-terraform.svg +1 -0
  941. package/storage/svg/file-text.svg +1 -0
  942. package/storage/svg/file-tsconfig.svg +1 -0
  943. package/storage/svg/file-typescript.svg +1 -0
  944. package/storage/svg/file-vite.svg +1 -0
  945. package/storage/svg/file-vscode.svg +1 -0
  946. package/storage/svg/file-vue.svg +1 -0
  947. package/storage/svg/file-wasm.svg +1 -0
  948. package/storage/svg/file-webpack.svg +1 -0
  949. package/storage/svg/file-yml.svg +1 -0
  950. package/storage/svg/file-zig.svg +1 -0
  951. package/storage/svg/file-zip.svg +1 -0
  952. package/storage/svg/file.svg +1 -0
  953. package/storage/svg/folder-assets-open.svg +1 -0
  954. package/storage/svg/folder-assets.svg +1 -0
  955. package/storage/svg/folder-components-open.svg +1 -0
  956. package/storage/svg/folder-components.svg +1 -0
  957. package/storage/svg/folder-docs-open.svg +1 -0
  958. package/storage/svg/folder-docs.svg +1 -0
  959. package/storage/svg/folder-git-open.svg +1 -0
  960. package/storage/svg/folder-git.svg +1 -0
  961. package/storage/svg/folder-open.svg +1 -0
  962. package/storage/svg/folder-output-open.svg +1 -0
  963. package/storage/svg/folder-output.svg +1 -0
  964. package/storage/svg/folder-packages-open.svg +1 -0
  965. package/storage/svg/folder-packages.svg +1 -0
  966. package/storage/svg/folder-public-open.svg +1 -0
  967. package/storage/svg/folder-public.svg +1 -0
  968. package/storage/svg/folder-scripts-open.svg +1 -0
  969. package/storage/svg/folder-scripts.svg +1 -0
  970. package/storage/svg/folder-src-open.svg +1 -0
  971. package/storage/svg/folder-src.svg +1 -0
  972. package/storage/svg/folder-test-open.svg +1 -0
  973. package/storage/svg/folder-test.svg +1 -0
  974. package/storage/svg/folder.svg +1 -0
  975. package/storage/svg/gear.svg +1 -0
  976. package/storage/svg/help.svg +1 -0
  977. package/storage/svg/highlight.svg +1 -0
  978. package/storage/svg/home.svg +1 -0
  979. package/storage/svg/inbox.svg +1 -0
  980. package/storage/svg/italic.svg +1 -0
  981. package/storage/svg/keyboard.svg +1 -0
  982. package/storage/svg/link.svg +1 -0
  983. package/storage/svg/list-checks.svg +1 -0
  984. package/storage/svg/lock.svg +1 -0
  985. package/storage/svg/log-out.svg +1 -0
  986. package/storage/svg/map.svg +1 -0
  987. package/storage/svg/mastercard.svg +1 -0
  988. package/storage/svg/pause.svg +1 -0
  989. package/storage/svg/pencil.svg +1 -0
  990. package/storage/svg/play.svg +1 -0
  991. package/storage/svg/plus.svg +1 -0
  992. package/storage/svg/redo.svg +1 -0
  993. package/storage/svg/save.svg +1 -0
  994. package/storage/svg/sidebar-filled.svg +1 -0
  995. package/storage/svg/sidebar.svg +1 -0
  996. package/storage/svg/slash.svg +1 -0
  997. package/storage/svg/sliders.svg +1 -0
  998. package/storage/svg/strikethrough.svg +1 -0
  999. package/storage/svg/trash.svg +1 -0
  1000. package/storage/svg/triangle.svg +1 -0
  1001. package/storage/svg/undo.svg +1 -0
  1002. package/storage/svg/unlink.svg +1 -0
  1003. package/storage/svg/user.svg +1 -0
  1004. package/storage/svg/visa.svg +1 -0
  1005. package/storage/svg/zoom-in.svg +1 -0
  1006. package/storage/svg/zoom-out.svg +1 -0
  1007. package/tokens.scss +1 -1
  1008. package/vite.config.ts +47 -46
  1009. package/build/components/accordion/more.d.ts +0 -20
  1010. package/build/components/accordion/more.js +0 -76
  1011. package/build/components/anchor/scss/index.scss +0 -2
  1012. package/build/components/announcement-banner/index.d.ts +0 -33
  1013. package/build/components/announcement-banner/index.js +0 -61
  1014. package/build/components/announcement-banner/scss/index.scss +0 -2
  1015. package/build/components/autosave/index.d.ts +0 -12
  1016. package/build/components/autosave/index.js +0 -140
  1017. package/build/components/autosave/scss/index.scss +0 -2
  1018. package/build/components/back-to-top/index.d.ts +0 -16
  1019. package/build/components/back-to-top/index.js +0 -182
  1020. package/build/components/back-to-top/scss/index.scss +0 -2
  1021. package/build/components/bento-grid/index.d.ts +0 -25
  1022. package/build/components/bento-grid/index.js +0 -38
  1023. package/build/components/bento-grid/scss/index.scss +0 -2
  1024. package/build/components/bento-grid-spotlight/index.d.ts +0 -35
  1025. package/build/components/bento-grid-spotlight/index.js +0 -108
  1026. package/build/components/bento-grid-spotlight/scss/index.scss +0 -2
  1027. package/build/components/bookmark-button/index.d.ts +0 -23
  1028. package/build/components/bookmark-button/index.js +0 -120
  1029. package/build/components/bookmark-button/scss/index.scss +0 -2
  1030. package/build/components/breadcrumb/ellipsis.d.ts +0 -12
  1031. package/build/components/breadcrumb/ellipsis.js +0 -11
  1032. package/build/components/breadcrumb/item.d.ts +0 -12
  1033. package/build/components/breadcrumb/item.js +0 -9
  1034. package/build/components/breadcrumb/link.d.ts +0 -15
  1035. package/build/components/breadcrumb/link.js +0 -14
  1036. package/build/components/breadcrumb/list.d.ts +0 -12
  1037. package/build/components/breadcrumb/list.js +0 -9
  1038. package/build/components/breadcrumb/menu.d.ts +0 -13
  1039. package/build/components/breadcrumb/menu.js +0 -16
  1040. package/build/components/breadcrumb/page.d.ts +0 -12
  1041. package/build/components/breadcrumb/page.js +0 -9
  1042. package/build/components/breadcrumb/separator.d.ts +0 -12
  1043. package/build/components/breadcrumb/separator.js +0 -11
  1044. package/build/components/breadcrumb/svg/caret.svg +0 -1
  1045. package/build/components/breadcrumb/svg/chevron.svg +0 -1
  1046. package/build/components/breadcrumb/svg/more.svg +0 -1
  1047. package/build/components/breadcrumbs/index.d.ts +0 -27
  1048. package/build/components/breadcrumbs/index.js +0 -324
  1049. package/build/components/breadcrumbs/scss/index.scss +0 -2
  1050. package/build/components/button/svg/plus.svg +0 -1
  1051. package/build/components/card-input/index.d.ts +0 -31
  1052. package/build/components/card-input/index.js +0 -562
  1053. package/build/components/card-input/scss/index.scss +0 -2
  1054. package/build/components/carousel-3d/index.d.ts +0 -27
  1055. package/build/components/carousel-3d/index.js +0 -248
  1056. package/build/components/carousel-3d/scss/index.scss +0 -2
  1057. package/build/components/checkbox-group/index.d.ts +0 -30
  1058. package/build/components/checkbox-group/index.js +0 -101
  1059. package/build/components/checkbox-group/scss/index.scss +0 -2
  1060. package/build/components/code-morph/index.d.ts +0 -25
  1061. package/build/components/code-morph/index.js +0 -401
  1062. package/build/components/code-morph/scss/index.scss +0 -2
  1063. package/build/components/collapsible-sidebar/index.d.ts +0 -41
  1064. package/build/components/collapsible-sidebar/index.js +0 -105
  1065. package/build/components/collapsible-sidebar/scss/index.scss +0 -2
  1066. package/build/components/command/constants.d.ts +0 -3
  1067. package/build/components/command/constants.js +0 -3
  1068. package/build/components/command-palette/index.d.ts +0 -51
  1069. package/build/components/command-palette/index.js +0 -319
  1070. package/build/components/command-palette/scss/index.scss +0 -2
  1071. package/build/components/composer/index.d.ts +0 -29
  1072. package/build/components/composer/index.js +0 -79
  1073. package/build/components/composer/scss/index.scss +0 -2
  1074. package/build/components/composer/svg/arrow-up.svg +0 -1
  1075. package/build/components/contribution-heatmap/index.d.ts +0 -30
  1076. package/build/components/contribution-heatmap/index.js +0 -236
  1077. package/build/components/contribution-heatmap/scss/index.scss +0 -2
  1078. package/build/components/date-range-picker/index.d.ts +0 -28
  1079. package/build/components/date-range-picker/index.js +0 -443
  1080. package/build/components/date-range-picker/scss/index.scss +0 -2
  1081. package/build/components/dynamic-island/index.d.ts +0 -23
  1082. package/build/components/dynamic-island/index.js +0 -179
  1083. package/build/components/dynamic-island/scss/index.scss +0 -2
  1084. package/build/components/email-typo-fix/index.d.ts +0 -28
  1085. package/build/components/email-typo-fix/index.js +0 -416
  1086. package/build/components/email-typo-fix/scss/index.scss +0 -2
  1087. package/build/components/expanding-card/index.d.ts +0 -26
  1088. package/build/components/expanding-card/index.js +0 -265
  1089. package/build/components/expanding-card/scss/index.scss +0 -2
  1090. package/build/components/feature-spotlight/index.d.ts +0 -37
  1091. package/build/components/feature-spotlight/index.js +0 -248
  1092. package/build/components/feature-spotlight/scss/index.scss +0 -2
  1093. package/build/components/file-tree/index.d.ts +0 -31
  1094. package/build/components/file-tree/index.js +0 -208
  1095. package/build/components/file-tree/scss/index.scss +0 -2
  1096. package/build/components/filter-grid/index.d.ts +0 -23
  1097. package/build/components/filter-grid/index.js +0 -240
  1098. package/build/components/filter-grid/scss/index.scss +0 -2
  1099. package/build/components/gradient-text/index.d.ts +0 -19
  1100. package/build/components/gradient-text/index.js +0 -14
  1101. package/build/components/gradient-text/scss/index.scss +0 -2
  1102. package/build/components/header/index.d.ts +0 -41
  1103. package/build/components/header/index.js +0 -281
  1104. package/build/components/header/scss/index.scss +0 -2
  1105. package/build/components/hover-card/index.d.ts +0 -47
  1106. package/build/components/hover-card/index.js +0 -197
  1107. package/build/components/hover-card/scss/index.scss +0 -2
  1108. package/build/components/kanban-board/index.d.ts +0 -23
  1109. package/build/components/kanban-board/index.js +0 -235
  1110. package/build/components/kanban-board/scss/index.scss +0 -2
  1111. package/build/components/lightbox/index.d.ts +0 -32
  1112. package/build/components/lightbox/index.js +0 -396
  1113. package/build/components/lightbox/scss/index.scss +0 -2
  1114. package/build/components/lightbox/spring.d.ts +0 -16
  1115. package/build/components/lightbox/spring.js +0 -71
  1116. package/build/components/line-shadow-text/index.d.ts +0 -17
  1117. package/build/components/line-shadow-text/index.js +0 -15
  1118. package/build/components/line-shadow-text/scss/index.scss +0 -2
  1119. package/build/components/log/index.d.ts +0 -20
  1120. package/build/components/log/index.js +0 -125
  1121. package/build/components/log/scss/index.scss +0 -2
  1122. package/build/components/long-press/bind.d.ts +0 -21
  1123. package/build/components/long-press/bind.js +0 -136
  1124. package/build/components/long-press/button.d.ts +0 -21
  1125. package/build/components/long-press/button.js +0 -25
  1126. package/build/components/long-press/index.d.ts +0 -2181
  1127. package/build/components/long-press/index.js +0 -4
  1128. package/build/components/long-press/scss/index.scss +0 -2
  1129. package/build/components/modal/index.d.ts +0 -24
  1130. package/build/components/modal/index.js +0 -75
  1131. package/build/components/modal/scss/index.scss +0 -2
  1132. package/build/components/morphing-button/index.d.ts +0 -24
  1133. package/build/components/morphing-button/index.js +0 -127
  1134. package/build/components/morphing-button/scss/index.scss +0 -2
  1135. package/build/components/morphing-nav/index.d.ts +0 -38
  1136. package/build/components/morphing-nav/index.js +0 -342
  1137. package/build/components/morphing-nav/scss/index.scss +0 -2
  1138. package/build/components/multi-step-form/index.d.ts +0 -32
  1139. package/build/components/multi-step-form/index.js +0 -305
  1140. package/build/components/multi-step-form/scss/index.scss +0 -2
  1141. package/build/components/nested-menu/index.d.ts +0 -27
  1142. package/build/components/nested-menu/index.js +0 -374
  1143. package/build/components/nested-menu/scss/index.scss +0 -2
  1144. package/build/components/normalize/scss/index.scss +0 -3
  1145. package/build/components/notification-bell/index.d.ts +0 -13
  1146. package/build/components/notification-bell/index.js +0 -87
  1147. package/build/components/notification-bell/scss/index.scss +0 -2
  1148. package/build/components/onboarding-checklist/index.d.ts +0 -29
  1149. package/build/components/onboarding-checklist/index.js +0 -196
  1150. package/build/components/onboarding-checklist/scss/index.scss +0 -2
  1151. package/build/components/page-dots/index.d.ts +0 -24
  1152. package/build/components/page-dots/index.js +0 -116
  1153. package/build/components/page-dots/scss/index.scss +0 -2
  1154. package/build/components/pagination/svg/arrow-left.svg +0 -1
  1155. package/build/components/pagination/svg/arrow-right.svg +0 -1
  1156. package/build/components/password/constants.d.ts +0 -2
  1157. package/build/components/password/constants.js +0 -2
  1158. package/build/components/password/index.d.ts +0 -22
  1159. package/build/components/password/index.js +0 -74
  1160. package/build/components/password/scss/index.scss +0 -2
  1161. package/build/components/radio-cards/index.d.ts +0 -36
  1162. package/build/components/radio-cards/index.js +0 -106
  1163. package/build/components/radio-cards/scss/index.scss +0 -2
  1164. package/build/components/range-filter/index.d.ts +0 -20
  1165. package/build/components/range-filter/index.js +0 -216
  1166. package/build/components/range-filter/scss/index.scss +0 -2
  1167. package/build/components/range-slider/index.d.ts +0 -30
  1168. package/build/components/range-slider/index.js +0 -287
  1169. package/build/components/range-slider/scss/index.scss +0 -2
  1170. package/build/components/reading-progress/index.d.ts +0 -13
  1171. package/build/components/reading-progress/index.js +0 -106
  1172. package/build/components/reading-progress/scss/index.scss +0 -2
  1173. package/build/components/scroll-fade/index.d.ts +0 -39
  1174. package/build/components/scroll-fade/index.js +0 -104
  1175. package/build/components/scroll-fade/scss/index.scss +0 -2
  1176. package/build/components/scroll-spine/index.d.ts +0 -26
  1177. package/build/components/scroll-spine/index.js +0 -204
  1178. package/build/components/scroll-spine/scss/index.scss +0 -2
  1179. package/build/components/scroll-velocity/index.d.ts +0 -22
  1180. package/build/components/scroll-velocity/index.js +0 -160
  1181. package/build/components/scroll-velocity/scss/index.scss +0 -2
  1182. package/build/components/scrub-input/index.d.ts +0 -39
  1183. package/build/components/scrub-input/index.js +0 -221
  1184. package/build/components/scrub-input/scss/index.scss +0 -2
  1185. package/build/components/select-menu/index.d.ts +0 -34
  1186. package/build/components/select-menu/index.js +0 -329
  1187. package/build/components/select-menu/scss/index.scss +0 -2
  1188. package/build/components/selection-toolbar/index.d.ts +0 -36
  1189. package/build/components/selection-toolbar/index.js +0 -442
  1190. package/build/components/selection-toolbar/scss/index.scss +0 -2
  1191. package/build/components/settings/index.d.ts +0 -43
  1192. package/build/components/settings/index.js +0 -147
  1193. package/build/components/settings/scss/index.scss +0 -2
  1194. package/build/components/settings/svg/close.svg +0 -1
  1195. package/build/components/settings/svg/saved.svg +0 -1
  1196. package/build/components/share-button/index.d.ts +0 -29
  1197. package/build/components/share-button/index.js +0 -191
  1198. package/build/components/share-button/scss/index.scss +0 -2
  1199. package/build/components/sheet/index.d.ts +0 -33
  1200. package/build/components/sheet/index.js +0 -110
  1201. package/build/components/sheet/scss/index.scss +0 -2
  1202. package/build/components/shiny-text/index.d.ts +0 -17
  1203. package/build/components/shiny-text/index.js +0 -14
  1204. package/build/components/shiny-text/scss/index.scss +0 -2
  1205. package/build/components/shortcut-sheet/index.d.ts +0 -48
  1206. package/build/components/shortcut-sheet/index.js +0 -304
  1207. package/build/components/shortcut-sheet/scss/index.scss +0 -2
  1208. package/build/components/sidebar/index.d.ts +0 -13
  1209. package/build/components/sidebar/index.js +0 -13
  1210. package/build/components/sidebar/scss/index.scss +0 -2
  1211. package/build/components/slider/index.d.ts +0 -25
  1212. package/build/components/slider/index.js +0 -188
  1213. package/build/components/slider/scss/index.scss +0 -2
  1214. package/build/components/sliding-tabs/index.d.ts +0 -28
  1215. package/build/components/sliding-tabs/index.js +0 -188
  1216. package/build/components/sliding-tabs/scss/index.scss +0 -2
  1217. package/build/components/snap-carousel/index.d.ts +0 -30
  1218. package/build/components/snap-carousel/index.js +0 -233
  1219. package/build/components/snap-carousel/scss/index.scss +0 -2
  1220. package/build/components/sparkline/index.d.ts +0 -26
  1221. package/build/components/sparkline/index.js +0 -173
  1222. package/build/components/sparkline/scss/index.scss +0 -2
  1223. package/build/components/stacked-drawer/index.d.ts +0 -24
  1224. package/build/components/stacked-drawer/index.js +0 -211
  1225. package/build/components/stacked-drawer/scss/index.scss +0 -2
  1226. package/build/components/stat-counter/index.d.ts +0 -32
  1227. package/build/components/stat-counter/index.js +0 -216
  1228. package/build/components/stat-counter/scss/index.scss +0 -2
  1229. package/build/components/status-picker/index.d.ts +0 -32
  1230. package/build/components/status-picker/index.js +0 -198
  1231. package/build/components/status-picker/scss/index.scss +0 -2
  1232. package/build/components/sticky-stack/index.d.ts +0 -33
  1233. package/build/components/sticky-stack/index.js +0 -184
  1234. package/build/components/sticky-stack/scss/index.scss +0 -2
  1235. package/build/components/story-progress/index.d.ts +0 -26
  1236. package/build/components/story-progress/index.js +0 -196
  1237. package/build/components/story-progress/scss/index.scss +0 -2
  1238. package/build/components/swipe-deck/index.d.ts +0 -19
  1239. package/build/components/swipe-deck/index.js +0 -300
  1240. package/build/components/swipe-deck/scss/index.scss +0 -2
  1241. package/build/components/tabs/scss/index.scss +0 -2
  1242. package/build/components/tag-input/index.d.ts +0 -27
  1243. package/build/components/tag-input/index.js +0 -309
  1244. package/build/components/tag-input/scss/index.scss +0 -2
  1245. package/build/components/task-list/index.d.ts +0 -28
  1246. package/build/components/task-list/index.js +0 -107
  1247. package/build/components/task-list/scss/index.scss +0 -2
  1248. package/build/components/tasklist/constants.d.ts +0 -2
  1249. package/build/components/tasklist/constants.js +0 -2
  1250. package/build/components/text-animate/index.d.ts +0 -30
  1251. package/build/components/text-animate/index.js +0 -97
  1252. package/build/components/text-animate/scss/index.scss +0 -2
  1253. package/build/components/text-progress/index.d.ts +0 -13
  1254. package/build/components/text-progress/index.js +0 -114
  1255. package/build/components/text-progress/scss/index.scss +0 -2
  1256. package/build/components/thumbnail/scss/index.scss +0 -2
  1257. package/build/components/toast/manager.d.ts +0 -64
  1258. package/build/components/toast/manager.js +0 -221
  1259. package/build/components/toast/svg/check.svg +0 -1
  1260. package/build/components/toast/svg/chevron.svg +0 -1
  1261. package/build/components/toast/svg/close.svg +0 -1
  1262. package/build/components/toast/svg/copy.svg +0 -1
  1263. package/build/components/toast/svg/info.svg +0 -1
  1264. package/build/components/tooltip/context.d.ts +0 -22
  1265. package/build/components/tooltip/context.js +0 -66
  1266. package/build/components/tooltip/group.d.ts +0 -29
  1267. package/build/components/tooltip/group.js +0 -128
  1268. package/build/components/tooltip/options.d.ts +0 -7
  1269. package/build/components/tooltip/options.js +0 -21
  1270. package/build/components/tree/index.d.ts +0 -28
  1271. package/build/components/tree/index.js +0 -182
  1272. package/build/components/tree/scss/index.scss +0 -2
  1273. package/build/components/tree-view/index.d.ts +0 -25
  1274. package/build/components/tree-view/index.js +0 -205
  1275. package/build/components/tree-view/scss/index.scss +0 -2
  1276. package/build/components/typewriter-retype/index.d.ts +0 -8
  1277. package/build/components/typewriter-retype/index.js +0 -122
  1278. package/build/components/typewriter-retype/scss/index.scss +0 -2
  1279. package/build/components/undo-toast/index.d.ts +0 -30
  1280. package/build/components/undo-toast/index.js +0 -262
  1281. package/build/components/undo-toast/scss/index.scss +0 -2
  1282. package/build/components/value-flash/index.d.ts +0 -12
  1283. package/build/components/value-flash/index.js +0 -106
  1284. package/build/components/value-flash/scss/index.scss +0 -2
  1285. package/build/components/waitlist-join/index.d.ts +0 -34
  1286. package/build/components/waitlist-join/index.js +0 -402
  1287. package/build/components/waitlist-join/scss/index.scss +0 -2
  1288. package/build/components/web-search/brands.d.ts +0 -121
  1289. package/build/components/web-search/brands.js +0 -138
  1290. package/build/components/web-search/index.d.ts +0 -31
  1291. package/build/components/web-search/index.js +0 -245
  1292. package/build/components/web-search/scss/index.scss +0 -2
  1293. package/build/components/word-rotator/index.d.ts +0 -14
  1294. package/build/components/word-rotator/index.js +0 -196
  1295. package/build/components/word-rotator/scss/index.scss +0 -2
  1296. package/build/css-utilities/absolute/scss/index.scss +0 -2
  1297. package/build/css-utilities/disabled/scss/index.scss +0 -2
  1298. package/build/css-utilities/hidden/scss/index.scss +0 -2
  1299. package/build/css-utilities/not-allowed/scss/index.scss +0 -2
  1300. package/build/css-utilities/tabular/scss/index.scss +0 -2
  1301. package/lib.scss +0 -2
  1302. package/src/components/accordion/more.ts +0 -97
  1303. package/src/components/anchor/scss/index.scss +0 -56
  1304. package/src/components/anchor/scss/variables.scss +0 -4
  1305. package/src/components/announcement-banner/index.ts +0 -81
  1306. package/src/components/announcement-banner/scss/index.scss +0 -183
  1307. package/src/components/announcement-banner/scss/variables.scss +0 -18
  1308. package/src/components/autosave/index.ts +0 -113
  1309. package/src/components/autosave/scss/index.scss +0 -155
  1310. package/src/components/autosave/scss/variables.scss +0 -22
  1311. package/src/components/back-to-top/index.ts +0 -293
  1312. package/src/components/back-to-top/scss/index.scss +0 -111
  1313. package/src/components/back-to-top/scss/variables.scss +0 -30
  1314. package/src/components/bento-grid/index.ts +0 -63
  1315. package/src/components/bento-grid/scss/index.scss +0 -174
  1316. package/src/components/bento-grid/scss/variables.scss +0 -19
  1317. package/src/components/bento-grid-spotlight/index.ts +0 -133
  1318. package/src/components/bento-grid-spotlight/scss/index.scss +0 -226
  1319. package/src/components/bento-grid-spotlight/scss/variables.scss +0 -36
  1320. package/src/components/bookmark-button/index.ts +0 -174
  1321. package/src/components/bookmark-button/scss/index.scss +0 -162
  1322. package/src/components/bookmark-button/scss/variables.scss +0 -28
  1323. package/src/components/breadcrumb/ellipsis.ts +0 -17
  1324. package/src/components/breadcrumb/item.ts +0 -10
  1325. package/src/components/breadcrumb/link.ts +0 -21
  1326. package/src/components/breadcrumb/list.ts +0 -10
  1327. package/src/components/breadcrumb/menu.ts +0 -20
  1328. package/src/components/breadcrumb/page.ts +0 -16
  1329. package/src/components/breadcrumb/separator.ts +0 -17
  1330. package/src/components/breadcrumb/svg/caret.svg +0 -1
  1331. package/src/components/breadcrumb/svg/chevron.svg +0 -1
  1332. package/src/components/breadcrumb/svg/more.svg +0 -1
  1333. package/src/components/breadcrumbs/index.ts +0 -479
  1334. package/src/components/breadcrumbs/scss/index.scss +0 -235
  1335. package/src/components/breadcrumbs/scss/variables.scss +0 -30
  1336. package/src/components/button/svg/plus.svg +0 -1
  1337. package/src/components/card-input/index.ts +0 -594
  1338. package/src/components/card-input/scss/index.scss +0 -512
  1339. package/src/components/card-input/scss/variables.scss +0 -29
  1340. package/src/components/carousel-3d/index.ts +0 -405
  1341. package/src/components/carousel-3d/scss/index.scss +0 -155
  1342. package/src/components/carousel-3d/scss/variables.scss +0 -25
  1343. package/src/components/checkbox/svg/check.svg +0 -1
  1344. package/src/components/checkbox-group/index.ts +0 -171
  1345. package/src/components/checkbox-group/scss/index.scss +0 -229
  1346. package/src/components/checkbox-group/scss/variables.scss +0 -28
  1347. package/src/components/code-morph/index.ts +0 -459
  1348. package/src/components/code-morph/scss/index.scss +0 -384
  1349. package/src/components/code-morph/scss/variables.scss +0 -33
  1350. package/src/components/collapsible-sidebar/index.ts +0 -193
  1351. package/src/components/collapsible-sidebar/scss/index.scss +0 -220
  1352. package/src/components/collapsible-sidebar/scss/variables.scss +0 -42
  1353. package/src/components/command/constants.ts +0 -6
  1354. package/src/components/command-palette/index.ts +0 -456
  1355. package/src/components/command-palette/scss/index.scss +0 -235
  1356. package/src/components/command-palette/scss/variables.scss +0 -42
  1357. package/src/components/composer/index.ts +0 -117
  1358. package/src/components/composer/scss/index.scss +0 -105
  1359. package/src/components/composer/scss/variables.scss +0 -82
  1360. package/src/components/composer/svg/arrow-up.svg +0 -1
  1361. package/src/components/contribution-heatmap/index.ts +0 -348
  1362. package/src/components/contribution-heatmap/scss/index.scss +0 -151
  1363. package/src/components/contribution-heatmap/scss/variables.scss +0 -39
  1364. package/src/components/date-range-picker/index.ts +0 -641
  1365. package/src/components/date-range-picker/scss/index.scss +0 -380
  1366. package/src/components/date-range-picker/scss/variables.scss +0 -22
  1367. package/src/components/dynamic-island/index.ts +0 -161
  1368. package/src/components/dynamic-island/scss/index.scss +0 -278
  1369. package/src/components/dynamic-island/scss/variables.scss +0 -39
  1370. package/src/components/email-typo-fix/index.ts +0 -615
  1371. package/src/components/email-typo-fix/scss/index.scss +0 -213
  1372. package/src/components/email-typo-fix/scss/variables.scss +0 -18
  1373. package/src/components/expanding-card/index.ts +0 -377
  1374. package/src/components/expanding-card/scss/index.scss +0 -232
  1375. package/src/components/expanding-card/scss/variables.scss +0 -22
  1376. package/src/components/feature-spotlight/index.ts +0 -437
  1377. package/src/components/feature-spotlight/scss/index.scss +0 -254
  1378. package/src/components/feature-spotlight/scss/variables.scss +0 -36
  1379. package/src/components/file-tree/index.ts +0 -319
  1380. package/src/components/file-tree/scss/index.scss +0 -138
  1381. package/src/components/file-tree/scss/variables.scss +0 -18
  1382. package/src/components/filter-grid/index.ts +0 -344
  1383. package/src/components/filter-grid/scss/index.scss +0 -142
  1384. package/src/components/filter-grid/scss/variables.scss +0 -41
  1385. package/src/components/gradient-text/index.ts +0 -26
  1386. package/src/components/gradient-text/scss/index.scss +0 -20
  1387. package/src/components/gradient-text/scss/variables.scss +0 -6
  1388. package/src/components/header/index.ts +0 -318
  1389. package/src/components/header/scss/index.scss +0 -508
  1390. package/src/components/header/scss/variables.scss +0 -21
  1391. package/src/components/hover-card/index.ts +0 -319
  1392. package/src/components/hover-card/scss/index.scss +0 -117
  1393. package/src/components/hover-card/scss/variables.scss +0 -25
  1394. package/src/components/kanban-board/index.ts +0 -326
  1395. package/src/components/kanban-board/scss/index.scss +0 -126
  1396. package/src/components/kanban-board/scss/variables.scss +0 -39
  1397. package/src/components/lightbox/index.ts +0 -594
  1398. package/src/components/lightbox/scss/index.scss +0 -194
  1399. package/src/components/lightbox/scss/variables.scss +0 -24
  1400. package/src/components/lightbox/spring.ts +0 -118
  1401. package/src/components/line-shadow-text/index.ts +0 -24
  1402. package/src/components/line-shadow-text/scss/index.scss +0 -45
  1403. package/src/components/line-shadow-text/scss/variables.scss +0 -6
  1404. package/src/components/log/index.ts +0 -156
  1405. package/src/components/log/scss/index.scss +0 -269
  1406. package/src/components/log/scss/variables.scss +0 -19
  1407. package/src/components/long-press/bind.ts +0 -159
  1408. package/src/components/long-press/button.ts +0 -46
  1409. package/src/components/long-press/index.ts +0 -6
  1410. package/src/components/long-press/scss/index.scss +0 -60
  1411. package/src/components/long-press/scss/variables.scss +0 -9
  1412. package/src/components/modal/index.ts +0 -91
  1413. package/src/components/modal/scss/index.scss +0 -81
  1414. package/src/components/modal/scss/variables.scss +0 -42
  1415. package/src/components/morphing-button/index.ts +0 -188
  1416. package/src/components/morphing-button/scss/index.scss +0 -154
  1417. package/src/components/morphing-button/scss/variables.scss +0 -21
  1418. package/src/components/morphing-nav/index.ts +0 -496
  1419. package/src/components/morphing-nav/scss/index.scss +0 -284
  1420. package/src/components/morphing-nav/scss/variables.scss +0 -36
  1421. package/src/components/multi-step-form/index.ts +0 -368
  1422. package/src/components/multi-step-form/scss/index.scss +0 -397
  1423. package/src/components/multi-step-form/scss/variables.scss +0 -22
  1424. package/src/components/nested-menu/index.ts +0 -446
  1425. package/src/components/nested-menu/scss/index.scss +0 -219
  1426. package/src/components/nested-menu/scss/variables.scss +0 -26
  1427. package/src/components/normalize/scss/index.scss +0 -35
  1428. package/src/components/notification-bell/index.ts +0 -102
  1429. package/src/components/notification-bell/scss/index.scss +0 -132
  1430. package/src/components/notification-bell/scss/variables.scss +0 -41
  1431. package/src/components/notification-bell/svg/bell.svg +0 -1
  1432. package/src/components/onboarding-checklist/index.ts +0 -252
  1433. package/src/components/onboarding-checklist/scss/index.scss +0 -414
  1434. package/src/components/onboarding-checklist/scss/variables.scss +0 -17
  1435. package/src/components/page-dots/index.ts +0 -137
  1436. package/src/components/page-dots/scss/index.scss +0 -95
  1437. package/src/components/page-dots/scss/variables.scss +0 -26
  1438. package/src/components/pagination/svg/arrow-left.svg +0 -1
  1439. package/src/components/pagination/svg/arrow-right.svg +0 -1
  1440. package/src/components/password/constants.ts +0 -4
  1441. package/src/components/password/index.ts +0 -97
  1442. package/src/components/password/scss/index.scss +0 -188
  1443. package/src/components/password/scss/variables.scss +0 -50
  1444. package/src/components/radio-cards/index.ts +0 -145
  1445. package/src/components/radio-cards/scss/index.scss +0 -232
  1446. package/src/components/radio-cards/scss/variables.scss +0 -32
  1447. package/src/components/range-filter/index.ts +0 -295
  1448. package/src/components/range-filter/scss/index.scss +0 -257
  1449. package/src/components/range-filter/scss/variables.scss +0 -20
  1450. package/src/components/range-slider/index.ts +0 -277
  1451. package/src/components/range-slider/scss/index.scss +0 -234
  1452. package/src/components/range-slider/scss/variables.scss +0 -26
  1453. package/src/components/reading-progress/index.ts +0 -160
  1454. package/src/components/reading-progress/scss/index.scss +0 -115
  1455. package/src/components/reading-progress/scss/variables.scss +0 -31
  1456. package/src/components/scroll-fade/index.ts +0 -131
  1457. package/src/components/scroll-fade/scss/index.scss +0 -104
  1458. package/src/components/scroll-fade/scss/variables.scss +0 -10
  1459. package/src/components/scroll-spine/index.ts +0 -355
  1460. package/src/components/scroll-spine/scss/index.scss +0 -209
  1461. package/src/components/scroll-spine/scss/variables.scss +0 -22
  1462. package/src/components/scroll-velocity/index.ts +0 -269
  1463. package/src/components/scroll-velocity/scss/index.scss +0 -29
  1464. package/src/components/scroll-velocity/scss/variables.scss +0 -3
  1465. package/src/components/scrub-input/index.ts +0 -339
  1466. package/src/components/scrub-input/scss/index.scss +0 -105
  1467. package/src/components/scrub-input/scss/variables.scss +0 -23
  1468. package/src/components/select-menu/index.ts +0 -499
  1469. package/src/components/select-menu/scss/index.scss +0 -192
  1470. package/src/components/select-menu/scss/variables.scss +0 -41
  1471. package/src/components/selection-toolbar/index.ts +0 -510
  1472. package/src/components/selection-toolbar/scss/index.scss +0 -221
  1473. package/src/components/selection-toolbar/scss/variables.scss +0 -24
  1474. package/src/components/settings/index.ts +0 -184
  1475. package/src/components/settings/scss/index.scss +0 -327
  1476. package/src/components/settings/scss/variables.scss +0 -50
  1477. package/src/components/settings/svg/close.svg +0 -1
  1478. package/src/components/settings/svg/saved.svg +0 -1
  1479. package/src/components/share-button/index.ts +0 -328
  1480. package/src/components/share-button/scss/index.scss +0 -191
  1481. package/src/components/share-button/scss/variables.scss +0 -24
  1482. package/src/components/sheet/index.ts +0 -170
  1483. package/src/components/sheet/scss/index.scss +0 -65
  1484. package/src/components/sheet/scss/variables.scss +0 -27
  1485. package/src/components/shiny-text/index.ts +0 -19
  1486. package/src/components/shiny-text/scss/index.scss +0 -32
  1487. package/src/components/shiny-text/scss/variables.scss +0 -7
  1488. package/src/components/shortcut-sheet/index.ts +0 -454
  1489. package/src/components/shortcut-sheet/scss/index.scss +0 -306
  1490. package/src/components/shortcut-sheet/scss/variables.scss +0 -36
  1491. package/src/components/sidebar/index.ts +0 -13
  1492. package/src/components/sidebar/scss/index.scss +0 -49
  1493. package/src/components/sidebar/scss/variables.scss +0 -20
  1494. package/src/components/slider/index.ts +0 -232
  1495. package/src/components/slider/scss/index.scss +0 -182
  1496. package/src/components/slider/scss/variables.scss +0 -15
  1497. package/src/components/sliding-tabs/index.ts +0 -291
  1498. package/src/components/sliding-tabs/scss/index.scss +0 -174
  1499. package/src/components/sliding-tabs/scss/variables.scss +0 -34
  1500. package/src/components/snap-carousel/index.ts +0 -324
  1501. package/src/components/snap-carousel/scss/index.scss +0 -174
  1502. package/src/components/snap-carousel/scss/variables.scss +0 -31
  1503. package/src/components/sparkline/index.ts +0 -234
  1504. package/src/components/sparkline/scss/index.scss +0 -169
  1505. package/src/components/sparkline/scss/variables.scss +0 -30
  1506. package/src/components/stacked-drawer/index.ts +0 -272
  1507. package/src/components/stacked-drawer/scss/index.scss +0 -122
  1508. package/src/components/stacked-drawer/scss/variables.scss +0 -20
  1509. package/src/components/stat-counter/index.ts +0 -337
  1510. package/src/components/stat-counter/scss/index.scss +0 -246
  1511. package/src/components/stat-counter/scss/variables.scss +0 -24
  1512. package/src/components/status-picker/index.ts +0 -323
  1513. package/src/components/status-picker/scss/index.scss +0 -290
  1514. package/src/components/status-picker/scss/variables.scss +0 -29
  1515. package/src/components/sticky-stack/index.ts +0 -313
  1516. package/src/components/sticky-stack/scss/index.scss +0 -167
  1517. package/src/components/sticky-stack/scss/variables.scss +0 -50
  1518. package/src/components/story-progress/index.ts +0 -247
  1519. package/src/components/story-progress/scss/index.scss +0 -205
  1520. package/src/components/story-progress/scss/variables.scss +0 -21
  1521. package/src/components/swipe-deck/index.ts +0 -438
  1522. package/src/components/swipe-deck/scss/index.scss +0 -275
  1523. package/src/components/swipe-deck/scss/variables.scss +0 -24
  1524. package/src/components/tabs/scss/index.scss +0 -62
  1525. package/src/components/tabs/scss/variables.scss +0 -4
  1526. package/src/components/tag-input/index.ts +0 -415
  1527. package/src/components/tag-input/scss/index.scss +0 -186
  1528. package/src/components/tag-input/scss/variables.scss +0 -30
  1529. package/src/components/task-list/index.ts +0 -137
  1530. package/src/components/task-list/scss/index.scss +0 -171
  1531. package/src/components/task-list/scss/variables.scss +0 -8
  1532. package/src/components/tasklist/constants.ts +0 -4
  1533. package/src/components/text/scss/variables.scss +0 -9
  1534. package/src/components/text-animate/index.ts +0 -142
  1535. package/src/components/text-animate/scss/index.scss +0 -106
  1536. package/src/components/text-animate/scss/variables.scss +0 -17
  1537. package/src/components/text-progress/index.ts +0 -170
  1538. package/src/components/text-progress/scss/index.scss +0 -148
  1539. package/src/components/text-progress/scss/variables.scss +0 -26
  1540. package/src/components/thumbnail/scss/index.scss +0 -62
  1541. package/src/components/thumbnail/scss/variables.scss +0 -19
  1542. package/src/components/toast/manager.ts +0 -342
  1543. package/src/components/toast/svg/check.svg +0 -1
  1544. package/src/components/toast/svg/chevron.svg +0 -1
  1545. package/src/components/toast/svg/close.svg +0 -1
  1546. package/src/components/toast/svg/copy.svg +0 -1
  1547. package/src/components/toast/svg/error.svg +0 -1
  1548. package/src/components/toast/svg/info.svg +0 -1
  1549. package/src/components/toast/svg/loading.svg +0 -1
  1550. package/src/components/toast/svg/success.svg +0 -1
  1551. package/src/components/toast/svg/warning.svg +0 -1
  1552. package/src/components/tooltip/context.ts +0 -96
  1553. package/src/components/tooltip/group.ts +0 -162
  1554. package/src/components/tooltip/options.ts +0 -33
  1555. package/src/components/tooltip/scss/_group.scss +0 -164
  1556. package/src/components/tree/index.ts +0 -259
  1557. package/src/components/tree/scss/index.scss +0 -105
  1558. package/src/components/tree/scss/variables.scss +0 -48
  1559. package/src/components/tree-view/index.ts +0 -285
  1560. package/src/components/tree-view/scss/index.scss +0 -169
  1561. package/src/components/tree-view/scss/variables.scss +0 -18
  1562. package/src/components/typewriter-retype/index.ts +0 -164
  1563. package/src/components/typewriter-retype/scss/index.scss +0 -142
  1564. package/src/components/typewriter-retype/scss/variables.scss +0 -46
  1565. package/src/components/undo-toast/index.ts +0 -359
  1566. package/src/components/undo-toast/scss/index.scss +0 -216
  1567. package/src/components/undo-toast/scss/variables.scss +0 -20
  1568. package/src/components/value-flash/index.ts +0 -121
  1569. package/src/components/value-flash/scss/index.scss +0 -193
  1570. package/src/components/value-flash/scss/variables.scss +0 -47
  1571. package/src/components/waitlist-join/index.ts +0 -545
  1572. package/src/components/waitlist-join/scss/index.scss +0 -401
  1573. package/src/components/waitlist-join/scss/variables.scss +0 -23
  1574. package/src/components/web-search/brands.ts +0 -155
  1575. package/src/components/web-search/index.ts +0 -316
  1576. package/src/components/web-search/scss/index.scss +0 -270
  1577. package/src/components/web-search/scss/variables.scss +0 -8
  1578. package/src/components/word-rotator/index.ts +0 -296
  1579. package/src/components/word-rotator/scss/index.scss +0 -33
  1580. package/src/components/word-rotator/scss/variables.scss +0 -7
  1581. package/src/css-utilities/absolute/scss/index.scss +0 -36
  1582. package/src/css-utilities/disabled/scss/index.scss +0 -4
  1583. package/src/css-utilities/hidden/scss/index.scss +0 -28
  1584. package/src/css-utilities/not-allowed/scss/index.scss +0 -7
  1585. package/src/css-utilities/tabular/scss/index.scss +0 -3
  1586. package/src/lib/index.scss +0 -7
  1587. package/src/lib/scss/breakpoint.scss +0 -41
  1588. package/src/lib/scss/color.scss +0 -1
  1589. package/src/lib/scss/list.scss +0 -77
  1590. package/src/lib/scss/string.scss +0 -34
  1591. package/src/tokens/index.scss +0 -9
  1592. package/storage/psd/Color Palette.psd +0 -0
  1593. /package/src/{lib → shared}/scss/css-variables.scss +0 -0
  1594. /package/src/{lib → shared}/scss/map.scss +0 -0
  1595. /package/src/{lib → shared}/scss/position.scss +0 -0
  1596. /package/{build/components/notification-bell → storage}/svg/bell.svg +0 -0
  1597. /package/{build/components/checkbox → storage}/svg/check.svg +0 -0
  1598. /package/{build/components/toast/svg/error.svg → storage/svg/circle-alert.svg} +0 -0
  1599. /package/{build/components/toast/svg/success.svg → storage/svg/circle-check.svg} +0 -0
  1600. /package/{build/components/toast/svg/loading.svg → storage/svg/spinner.svg} +0 -0
  1601. /package/{build/components/toast → storage}/svg/warning.svg +0 -0
@@ -1,196 +0,0 @@
1
- import * as template_u1 from '@esportsplus/template';
2
- import * as reactivity_u0 from '@esportsplus/reactivity';
3
- import { untrack } from '@esportsplus/reactivity';
4
- import accordion from '../accordion/index.js';
5
- import checkbox, { factory } from '../checkbox/index.js';
6
- import './scss/index.scss';
7
- const template_0w6v5475 = template_u1.template(`<li class='onboarding-checklist-task'><div class='onboarding-checklist-row'><label class='onboarding-checklist-toggle'></label><button class='onboarding-checklist-summary' type='button'><span class='onboarding-checklist-title'><!--$--><span class='onboarding-checklist-strike' aria-hidden='true'></span></span><svg aria-hidden='true' class='onboarding-checklist-chevron' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' viewBox='0 0 16 16'><path d='m4 6 4 4 4-4' />`);
8
- const template_0w6v547b = template_u1.template(`<div class='onboarding-checklist-body'><p class='onboarding-checklist-description'></p><button class='button onboarding-checklist-action' type='button'><span class='onboarding-checklist-action-label'></span><span class='onboarding-checklist-action-label onboarding-checklist-action-label--done'><!--$--><span>Done`);
9
- const template_0w6v547h = template_u1.template(`<svg aria-hidden='true' class='onboarding-checklist-icon' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' viewBox='0 0 16 16'><path d='m3.5 8.5 3 3 6-7' />`);
10
- const template_0w6v547j = template_u1.template(`<section aria-label='Get started' class='onboarding-checklist'><header class='onboarding-checklist-header'><div class='onboarding-checklist-heading'><h2 class='onboarding-checklist-heading-title'>Get started</h2><p class='onboarding-checklist-heading-count'></p></div><div aria-label='Setup progress' aria-valuemax='100' aria-valuemin='0' class='onboarding-checklist-ring' role='progressbar'><svg aria-hidden='true' viewBox='0 0 48 48'><circle class='onboarding-checklist-ring-track' cx='24' cy='24' fill='none' r='20' stroke-width='4' /><circle class='onboarding-checklist-ring-fill' cx='24' cy='24' fill='none' pathLength='1' r='20' stroke-linecap='round' stroke-width='4' /></svg><span class='onboarding-checklist-ring-value'><!--$--><span>%</span></span></div></header><!--$--><!--$--><p class='onboarding-checklist-live' aria-live='polite'>`);
11
- const template_0w6v547s = template_u1.template(`<ul class='onboarding-checklist-list'>`);
12
- const template_0w6v547v = template_u1.template(`<div class='onboarding-checklist-celebration'><h3 class='onboarding-checklist-celebration-title'>You're all set</h3><p class='onboarding-checklist-celebration-note'> Your workspace is ready. You can find these steps again any time in Settings. </p><div class='onboarding-checklist-celebration-actions'><button class='button onboarding-checklist-action' type='button'> Dismiss `);
13
- class ReactiveObject_0w6v5470 extends reactivity_u0.ReactiveObject {
14
- #active = this[reactivity_u0.SIGNAL](false);
15
- constructor() {
16
- super(null);
17
- }
18
- get active() {
19
- return reactivity_u0.read(this.#active);
20
- }
21
- set active(_v0) {
22
- reactivity_u0.write(this.#active, _v0);
23
- }
24
- }
25
- class ReactiveObject_0w6v5471 extends reactivity_u0.ReactiveObject {
26
- #active = this[reactivity_u0.SIGNAL](true);
27
- constructor() {
28
- super(null);
29
- }
30
- get active() {
31
- return reactivity_u0.read(this.#active);
32
- }
33
- set active(_v0) {
34
- reactivity_u0.write(this.#active, _v0);
35
- }
36
- }
37
- class ReactiveObject_0w6v5472 extends reactivity_u0.ReactiveObject {
38
- #active;
39
- #done;
40
- constructor(_p0, _p1) {
41
- super(null);
42
- this.#active = this[reactivity_u0.SIGNAL](_p0);
43
- this.#done = this[reactivity_u0.SIGNAL](_p1);
44
- }
45
- get active() {
46
- return reactivity_u0.read(this.#active);
47
- }
48
- set active(_v0) {
49
- reactivity_u0.write(this.#active, _v0);
50
- }
51
- get done() {
52
- return reactivity_u0.read(this.#done);
53
- }
54
- set done(_v1) {
55
- reactivity_u0.write(this.#done, _v1);
56
- }
57
- }
58
- class ReactiveObject_0w6v5473 extends reactivity_u0.ReactiveObject {
59
- #announcement = this[reactivity_u0.SIGNAL]('');
60
- #shown;
61
- constructor(_p0) {
62
- super(null);
63
- this.#shown = this[reactivity_u0.SIGNAL](_p0);
64
- }
65
- get announcement() {
66
- return reactivity_u0.read(this.#announcement);
67
- }
68
- set announcement(_v0) {
69
- reactivity_u0.write(this.#announcement, _v0);
70
- }
71
- get shown() {
72
- return reactivity_u0.read(this.#shown);
73
- }
74
- set shown(_v1) {
75
- reactivity_u0.write(this.#shown, _v1);
76
- }
77
- }
78
- const CELEBRATE_AFTER = 700;
79
- const ONBOARDING_CHECKLIST_TASK = Symbol.for('@esportsplus/ui/onboarding-checklist.task');
80
- const STIFFNESS = (2 * Math.PI / 0.6) ** 2;
81
- const DAMPING = 2 * Math.sqrt(STIFFNESS);
82
- function check() {
83
- return template_0w6v547h();
84
- }
85
- function template({ done = [], ondismiss, open = [], state, tasks, ...attributes }) {
86
- let celebration = new ReactiveObject_0w6v5470(), count = tasks.filter((task) => done.includes(task.id)).length, defaults = this?.attributes, frame = 0, list = new ReactiveObject_0w6v5471(), prefix = `onboarding-checklist-${Math.random().toString(36).slice(2, 8)}`, rows = tasks.map((task) => new ReactiveObject_0w6v5472(open.includes(task.id), done.includes(task.id))), s = state || reactivity_u0.reactive({ celebrating: false, count }), timer, ui = new ReactiveObject_0w6v5473(count / tasks.length), velocity = 0;
87
- s.count = count;
88
- function celebrate() {
89
- clearTimeout(timer);
90
- if (s.count !== tasks.length) {
91
- return;
92
- }
93
- timer = setTimeout(() => {
94
- celebration.active = true;
95
- list.active = false;
96
- s.celebrating = true;
97
- ui.announcement = 'All tasks complete. You\'re all set.';
98
- }, CELEBRATE_AFTER);
99
- }
100
- function ring() {
101
- cancelAnimationFrame(frame);
102
- let previous = performance.now(), target = s.count / tasks.length;
103
- if (matchMedia('(prefers-reduced-motion: reduce)').matches) {
104
- ui.shown = target;
105
- velocity = 0;
106
- return;
107
- }
108
- function step(now) {
109
- let dt = Math.min((now - previous) / 1000, 1 / 30);
110
- previous = now;
111
- velocity += (STIFFNESS * (target - ui.shown) - DAMPING * velocity) * dt;
112
- ui.shown += velocity * dt;
113
- if (Math.abs(target - ui.shown) < 0.0005 && Math.abs(velocity) < 0.001) {
114
- ui.shown = target;
115
- velocity = 0;
116
- return;
117
- }
118
- frame = requestAnimationFrame(step);
119
- }
120
- frame = requestAnimationFrame(step);
121
- }
122
- function row(task, index) {
123
- let id = `${prefix}-${index}`, state = rows[index];
124
- return (() => {
125
- let root_0w6v5474 = template_0w6v5475(), element_0w6v5476 = root_0w6v5474.firstChild, element_0w6v5477 = element_0w6v5476.firstElementChild.firstElementChild, element_0w6v5478 = element_0w6v5477.nextElementSibling, element_0w6v5479 = element_0w6v5478.firstElementChild.firstChild;
126
- template_u1.setProperties(element_0w6v5476, defaults?.[ONBOARDING_CHECKLIST_TASK]);
127
- template_u1.setProperties(element_0w6v5476, attributes[ONBOARDING_CHECKLIST_TASK]);
128
- template_u1.setList(element_0w6v5476, 'class', () => `${state.done ? '--done' : ''} ${state.active ? '--open' : ''}`);
129
- template_u1.slot(element_0w6v5477, checkbox({
130
- class: 'onboarding-checklist-checkbox',
131
- [factory.input]: {
132
- 'aria-label': task.title,
133
- checked: () => state.done,
134
- onchange: (e) => toggle(index, e.target.checked)
135
- }
136
- }), 1);
137
- template_u1.setProperty(element_0w6v5478, 'aria-controls', id);
138
- template_u1.setProperty(element_0w6v5478, 'aria-expanded', () => String(state.active));
139
- template_u1.delegate(element_0w6v5478, 'click', () => {
140
- state.active = !state.active;
141
- });
142
- template_u1.slot(element_0w6v5479, task.title);
143
- template_u1.slot(element_0w6v5476, accordion({ class: 'onboarding-checklist-details', id, state }, (() => {
144
- let root_0w6v547a = template_0w6v547b(), element_0w6v547c = root_0w6v547a.firstChild.firstElementChild, element_0w6v547d = element_0w6v547c.nextElementSibling, element_0w6v547e = element_0w6v547d.firstElementChild, element_0w6v547f = element_0w6v547e.nextElementSibling, element_0w6v547g = element_0w6v547f.firstChild;
145
- template_u1.slot(element_0w6v547c, task.description, 1);
146
- template_u1.setProperty(element_0w6v547d, 'aria-disabled', () => String(state.done));
147
- template_u1.delegate(element_0w6v547d, 'click', () => {
148
- if (!state.done) {
149
- toggle(index, true);
150
- }
151
- });
152
- template_u1.setProperty(element_0w6v547e, 'aria-hidden', () => String(state.done));
153
- template_u1.slot(element_0w6v547e, task.action, 1);
154
- template_u1.setProperty(element_0w6v547f, 'aria-hidden', () => String(!state.done));
155
- template_u1.slot(element_0w6v547g, check());
156
- return root_0w6v547a;
157
- })()), 2);
158
- return root_0w6v5474;
159
- })();
160
- }
161
- function toggle(index, value) {
162
- rows[index].done = value;
163
- s.count = rows.filter((row) => row.done).length;
164
- ui.announcement = `${tasks[index].title} ${value ? 'done' : 'not done'}. ${s.count} of ${tasks.length} complete.`;
165
- ring();
166
- celebrate();
167
- }
168
- return (() => {
169
- let root_0w6v547i = template_0w6v547j(), element_0w6v547k = root_0w6v547i.firstChild, element_0w6v547l = element_0w6v547k.firstElementChild.firstElementChild.firstElementChild.nextElementSibling, element_0w6v547m = element_0w6v547k.firstElementChild.firstElementChild.nextElementSibling, element_0w6v547n = element_0w6v547m.firstElementChild.nextElementSibling.firstChild, element_0w6v547o = element_0w6v547k.firstChild.nextSibling, element_0w6v547p = element_0w6v547o.nextSibling, element_0w6v547q = element_0w6v547k.firstElementChild.nextElementSibling;
170
- template_u1.setProperties(element_0w6v547k, defaults);
171
- template_u1.setProperties(element_0w6v547k, attributes);
172
- template_u1.setList(element_0w6v547k, 'class', () => s.celebrating && '--celebrating');
173
- template_u1.onconnect(element_0w6v547k, () => untrack(celebrate));
174
- template_u1.ondisconnect(element_0w6v547k, () => {
175
- cancelAnimationFrame(frame);
176
- clearTimeout(timer);
177
- });
178
- new template_u1.EffectSlot(element_0w6v547l, () => `${s.count} of ${tasks.length} complete`, 1);
179
- template_u1.setProperty(element_0w6v547m, 'aria-valuenow', () => Math.round(s.count / tasks.length * 100));
180
- template_u1.setList(element_0w6v547m, 'style', () => `--progress: ${ui.shown};`);
181
- new template_u1.EffectSlot(element_0w6v547n, () => Math.round(ui.shown * 100));
182
- template_u1.slot(element_0w6v547o, accordion({ class: 'onboarding-checklist-collapse', state: list }, (() => {
183
- let root_0w6v547r = template_0w6v547s(), element_0w6v547t = root_0w6v547r.firstChild;
184
- template_u1.slot(element_0w6v547t, tasks.map(row), 1);
185
- return root_0w6v547r;
186
- })()));
187
- template_u1.slot(element_0w6v547p, accordion({ class: 'onboarding-checklist-collapse', state: celebration }, (() => {
188
- let root_0w6v547u = template_0w6v547v(), element_0w6v547w = root_0w6v547u.firstChild.firstElementChild.nextElementSibling.nextElementSibling.firstElementChild;
189
- template_u1.delegate(element_0w6v547w, 'click', () => ondismiss?.());
190
- return root_0w6v547u;
191
- })()));
192
- new template_u1.EffectSlot(element_0w6v547q, () => ui.announcement, 1);
193
- return root_0w6v547i;
194
- })();
195
- }
196
- export default Object.assign(template, { task: ONBOARDING_CHECKLIST_TASK });
@@ -1,2 +0,0 @@
1
- @layer components {.onboarding-checklist{--accent:var(--color-text-500);--accent-contrast:var(--color-white-300);--background:var(--color-grey-400);--box-shadow:0 0 0 1px oklch(from var(--color-black-300) l c h / .06), 0 1px 2px oklch(from var(--color-black-300) l c h / .06), 0 6px 16px -6px oklch(from var(--color-black-300) l c h / .12);--color-muted:var(--color-text-300);--ease:cubic-bezier(.23, 1, .32, 1);--focus-ring:oklch(from var(--color-text-500) l c h / .38);--font-size:calc(var(--font-size-400) * .875);--font-size-title:calc(var(--font-size-400) * .9375);--foreground:var(--color-text-500);--hover:oklch(from var(--color-text-500) l c h / .04);--pressed:oklch(from var(--color-text-500) l c h / .06);--radius:20px;--ring-track:oklch(from var(--color-text-500) l c h / .1);--width:min(400px, 100%);background:var(--background);border-radius:var(--radius);box-shadow:var(--box-shadow);color:var(--foreground);font-size:var(--font-size);width:var(--width);display:block;overflow:hidden}.onboarding-checklist-action{--background-default:var(--accent);--color-default:var(--accent-contrast);--padding-horizontal:16px;--padding-vertical:0px;font-size:var(--font-size);font-weight:var(--font-weight-500);outline:0 solid var(--focus-ring);outline-offset:2px;-webkit-user-select:none;user-select:none;border-radius:999px;height:36px;display:grid}.onboarding-checklist-action:focus-visible{outline-width:2px}.onboarding-checklist-action:active{scale:.96}.--done .onboarding-checklist-action{--background-default:var(--pressed);--color-default:var(--color-muted);cursor:default;scale:1}.onboarding-checklist-action-label{grid-area:1/1;justify-content:center;align-items:center;gap:6px;transition:filter .2s ease-out,opacity .2s ease-out;display:flex}.--done .onboarding-checklist-action-label,.onboarding-checklist-action-label--done{filter:blur(4px);opacity:0}.--done .onboarding-checklist-action-label--done{filter:none;opacity:1}.onboarding-checklist-action-label--done .onboarding-checklist-icon{filter:blur(4px);opacity:0;transition:filter .3s var(--ease), opacity .3s var(--ease), scale .3s var(--ease);scale:.25}.--done .onboarding-checklist-action-label--done .onboarding-checklist-icon{filter:none;opacity:1;scale:1}.onboarding-checklist-body{filter:blur(4px);opacity:0;flex-direction:column;align-items:flex-start;gap:12px;padding:0 12px 16px 44px;transition:filter .15s ease-out,opacity .15s ease-out,translate .15s ease-out;display:flex;translate:0 -4px}.accordion.--active>.accordion-content>.onboarding-checklist-body{filter:none;opacity:1;transition-duration:.25s;translate:0}.onboarding-checklist-celebration{flex-direction:column;align-items:flex-start;gap:4px;padding:4px 20px 20px;display:flex}.onboarding-checklist-celebration-actions{margin-top:12px}.onboarding-checklist-celebration-note{color:var(--color-muted);text-wrap:pretty;line-height:20px}.onboarding-checklist-celebration-title{color:var(--foreground);font-size:calc(var(--font-size-400) * 1.0625);font-weight:var(--font-weight-600);letter-spacing:-.01em}.--celebrating .onboarding-checklist-celebration>*{animation:onboarding-checklist-enter .4s var(--ease) both}.--celebrating .onboarding-checklist-celebration>:nth-child(2){animation-delay:.2s}.--celebrating .onboarding-checklist-celebration>:nth-child(3){animation-delay:.28s}.--celebrating .onboarding-checklist-celebration>:first-child{animation-delay:.12s}.onboarding-checklist-checkbox{--background-active:var(--accent);--border-color-active:var(--accent);--border-color-default:oklch(from var(--color-muted) l c h / .6);--border-color-hover:var(--color-muted);--border-radius:6px;--border-width:1.5px;--border-width-offset-hover:0px;--box-shadow-active:none;--check-size:75%;--check-stroke-width:3;--focus-color:var(--focus-ring);--indicator-color-default:var(--accent-contrast);--size:20px;--transition-duration:.15s;--transition-timing-function:ease-out;transition-property:background,border-color,scale}.onboarding-checklist-toggle:active .onboarding-checklist-checkbox{scale:.96}.onboarding-checklist-chevron{color:var(--color-muted);height:16px;transition:rotate .2s var(--ease);flex-shrink:0;width:16px}.--open .onboarding-checklist-chevron{rotate:180deg}.onboarding-checklist-collapse,.onboarding-checklist-details{transition:grid-template-rows .2s var(--ease)}.onboarding-checklist-collapse.--active,.onboarding-checklist-details.--active{transition-duration:.3s}.onboarding-checklist-description{color:var(--color-muted);text-wrap:pretty;line-height:20px}.onboarding-checklist-details.--active{transition-duration:.25s}.onboarding-checklist-header{justify-content:space-between;align-items:center;gap:16px;padding:20px 20px 12px;display:flex}.onboarding-checklist-heading{flex-direction:column;gap:2px;min-width:0;display:flex}.onboarding-checklist-heading-count{color:var(--color-muted);font-variant-numeric:tabular-nums}.onboarding-checklist-heading-title{color:var(--foreground);font-size:calc(var(--font-size-400) * 1.125);font-weight:var(--font-weight-600);letter-spacing:-.01em}.onboarding-checklist-list{margin:0;padding:0 8px 8px;list-style:none}.onboarding-checklist-live{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.onboarding-checklist-icon{width:16px;height:16px}.onboarding-checklist-ring{flex-shrink:0;place-items:center;width:48px;height:48px;display:grid;position:relative}.onboarding-checklist-ring svg{position:absolute;inset:0;rotate:-90deg}.onboarding-checklist-ring-fill{stroke:var(--accent);stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--progress))}.onboarding-checklist-ring-track{stroke:var(--ring-track)}.onboarding-checklist-ring-value{font-size:calc(var(--font-size-400) * .6875);font-variant-numeric:tabular-nums;font-weight:var(--font-weight-500);position:relative}.onboarding-checklist-ring-value span{color:var(--color-muted)}.onboarding-checklist-row{align-items:center;display:flex}.onboarding-checklist-strike{transform-origin:0;height:1px;transition:scale .15s var(--ease);background:currentColor;width:100%;position:absolute;top:50%;left:0;scale:0 1}.--done .onboarding-checklist-strike{transition-duration:.3s;scale:1}.onboarding-checklist-summary{color:inherit;cursor:pointer;font:inherit;outline:0 solid var(--focus-ring);text-align:left;background:0 0;border:0;border-radius:10px;flex:1 1 0;justify-content:space-between;align-items:center;gap:12px;min-width:0;height:48px;padding:0 12px 0 4px;transition:background-color .15s ease-out;display:flex}.onboarding-checklist-summary:active{background:var(--pressed)}.onboarding-checklist-summary:focus-visible{outline-width:2px}@media (hover:hover){.onboarding-checklist-summary:hover:not(:active){background:var(--hover)}}.onboarding-checklist-title{color:var(--foreground);font-size:var(--font-size-title);text-overflow:ellipsis;white-space:nowrap;min-width:0;transition:color .2s ease-out;position:relative;overflow:hidden}.--done .onboarding-checklist-title{color:var(--color-muted)}.onboarding-checklist-toggle{cursor:pointer;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid;position:relative}@media (prefers-reduced-motion:reduce){.onboarding-checklist-action-label--done .onboarding-checklist-icon,.onboarding-checklist-body{filter:none;translate:0;scale:1}.onboarding-checklist-chevron,.onboarding-checklist-collapse,.onboarding-checklist-details,.onboarding-checklist-strike{transition:none}.--celebrating .onboarding-checklist-celebration>*{animation-name:onboarding-checklist-fade}.onboarding-checklist-checkbox{transition-property:background,border-color}}@keyframes onboarding-checklist-enter{0%{filter:blur(4px);opacity:0;translate:0 6px}}@keyframes onboarding-checklist-fade{0%{opacity:0}}}
2
- /*$vite$:1*/
@@ -1,24 +0,0 @@
1
- import { type Attributes } from '@esportsplus/template';
2
- import './scss/index.scss';
3
- type A = Attributes & {
4
- [PAGE_DOTS_DOT]?: Attributes;
5
- autoplay?: number;
6
- count: number;
7
- onelapsed?: (active: number) => void;
8
- onpage?: (index: number) => void;
9
- state?: State;
10
- };
11
- type State = {
12
- active: number;
13
- progress: number;
14
- running: boolean;
15
- };
16
- declare const PAGE_DOTS_DOT: unique symbol;
17
- declare function template(this: {
18
- attributes?: Partial<A>;
19
- } | void, { autoplay, count, onelapsed, onpage, state, ...attributes }: A): DocumentFragment | Text;
20
- declare const _default: typeof template & {
21
- readonly dot: typeof PAGE_DOTS_DOT;
22
- };
23
- export default _default;
24
- export type { State };
@@ -1,116 +0,0 @@
1
- import * as template_u1 from '@esportsplus/template';
2
- import * as reactivity_u0 from '@esportsplus/reactivity';
3
- import { effect, onCleanup } from '@esportsplus/reactivity';
4
- import './scss/index.scss';
5
- const template_1b0apwb3 = template_u1.template(`<div aria-label='Pages' class='page-dots ' role='group'><!--$--><span aria-hidden='true' class='page-dots-pill'>`);
6
- const template_1b0apwb8 = template_u1.template(`<button class='page-dots-dot' type='button'><span class='page-dots-mark'>`);
7
- const template_1b0apwbb = template_u1.template(`<span class='page-dots-fill'>`);
8
- class ReactiveObject_1b0apwb0 extends reactivity_u0.ReactiveObject {
9
- #active = this[reactivity_u0.SIGNAL](0);
10
- #progress = this[reactivity_u0.SIGNAL](0);
11
- #running = this[reactivity_u0.SIGNAL](false);
12
- constructor() {
13
- super(null);
14
- }
15
- get active() {
16
- return reactivity_u0.read(this.#active);
17
- }
18
- set active(_v0) {
19
- reactivity_u0.write(this.#active, _v0);
20
- }
21
- get progress() {
22
- return reactivity_u0.read(this.#progress);
23
- }
24
- set progress(_v1) {
25
- reactivity_u0.write(this.#progress, _v1);
26
- }
27
- get running() {
28
- return reactivity_u0.read(this.#running);
29
- }
30
- set running(_v2) {
31
- reactivity_u0.write(this.#running, _v2);
32
- }
33
- }
34
- class ReactiveObject_1b0apwb1 extends reactivity_u0.ReactiveObject {
35
- #connected = this[reactivity_u0.SIGNAL](false);
36
- constructor() {
37
- super(null);
38
- }
39
- get connected() {
40
- return reactivity_u0.read(this.#connected);
41
- }
42
- set connected(_v0) {
43
- reactivity_u0.write(this.#connected, _v0);
44
- }
45
- }
46
- const PAGE_DOTS_DOT = Symbol.for('@esportsplus/ui/page-dots.dot');
47
- const SETTLE = { duration: 200, easing: 'cubic-bezier(0.23, 1, 0.32, 1)' };
48
- function template({ autoplay, count, onelapsed, onpage, state = new ReactiveObject_1b0apwb0(), ...attributes }) {
49
- let element, fill, local = new ReactiveObject_1b0apwb1(), settle, stops = [
50
- effect(() => {
51
- let active = Math.min(Math.max(Math.round(state.progress), 0), count - 1);
52
- element?.style.setProperty('--progress', String(state.progress));
53
- if (state.active !== active) {
54
- state.active = active;
55
- }
56
- }),
57
- effect((cleanup) => {
58
- let active = state.active, running = local.connected && state.running;
59
- if (!autoplay || !fill || !running) {
60
- return;
61
- }
62
- let target = fill;
63
- settle?.cancel();
64
- let countdown = target.animate([{ transform: 'scaleX(0)' }, { transform: 'scaleX(1)' }], { duration: autoplay, easing: 'linear' });
65
- countdown.onfinish = () => onelapsed?.(active);
66
- cleanup(() => {
67
- countdown.onfinish = null;
68
- if (countdown.playState !== 'running') {
69
- return;
70
- }
71
- let from = getComputedStyle(target).transform;
72
- countdown.cancel();
73
- settle = target.animate([{ transform: from }, { transform: 'scaleX(1)' }], SETTLE);
74
- });
75
- })
76
- ];
77
- onCleanup(() => {
78
- settle?.cancel();
79
- for (let i = 0, n = stops.length; i < n; i++) {
80
- stops[i]();
81
- }
82
- });
83
- return (() => {
84
- let root_1b0apwb2 = template_1b0apwb3(), element_1b0apwb4 = root_1b0apwb2.firstChild, element_1b0apwb5 = element_1b0apwb4.firstChild, element_1b0apwb6 = element_1b0apwb4.firstElementChild;
85
- template_u1.setList(element_1b0apwb4, 'class', autoplay && 'page-dots--autoplay');
86
- template_u1.setList(element_1b0apwb4, 'style', `--count: ${count}; --progress: ${state.progress};`);
87
- template_u1.setProperties(element_1b0apwb4, this?.attributes);
88
- template_u1.setProperties(element_1b0apwb4, attributes);
89
- template_u1.onconnect(element_1b0apwb4, () => {
90
- local.connected = true;
91
- });
92
- template_u1.ondisconnect(element_1b0apwb4, () => {
93
- local.connected = false;
94
- });
95
- template_u1.onrender(element_1b0apwb4, (el) => {
96
- element = el;
97
- });
98
- template_u1.slot(element_1b0apwb5, Array.from({ length: count }, (_, i) => {
99
- let root_1b0apwb7 = template_1b0apwb8(), element_1b0apwb9 = root_1b0apwb7.firstChild;
100
- template_u1.setProperty(element_1b0apwb9, 'aria-current', () => state.active === i && 'page');
101
- template_u1.setProperty(element_1b0apwb9, 'aria-label', `Page ${i + 1} of ${count}`);
102
- template_u1.delegate(element_1b0apwb9, 'click', () => onpage?.(i));
103
- template_u1.setList(element_1b0apwb9, 'style', `--index: ${i};`);
104
- template_u1.setProperties(element_1b0apwb9, this?.attributes?.[PAGE_DOTS_DOT]);
105
- template_u1.setProperties(element_1b0apwb9, attributes[PAGE_DOTS_DOT]);
106
- return root_1b0apwb7;
107
- }));
108
- template_u1.slot(element_1b0apwb6, autoplay && (() => {
109
- let root_1b0apwba = template_1b0apwbb(), element_1b0apwbc = root_1b0apwba.firstChild;
110
- template_u1.onrender(element_1b0apwbc, (el) => { fill = el; });
111
- return root_1b0apwba;
112
- })(), 1);
113
- return root_1b0apwb2;
114
- })();
115
- }
116
- export default Object.assign(template, { dot: PAGE_DOTS_DOT });
@@ -1,2 +0,0 @@
1
- @layer components {.page-dots{--color:var(--color-text-500);--dot-color:oklch(from var(--color) l c h / .2);--dot-color-hover:oklch(from var(--color) l c h / .35);--dot-gap:6px;--dot-size:6px;--focus-color:var(--color);--height:32px;--pill-color:var(--color);--pill-width:20px;--pressed-scale:.96;--track-color:var(--pill-color);--transition-duration:.15s;--transition-timing-function:ease-out}.page-dots--autoplay{--track-color:oklch(from var(--pill-color) l c h / .4)}.page-dots--large{--dot-gap:8px;--dot-size:8px;--pill-width:28px}.page-dots{--step:calc(var(--dot-size) + var(--dot-gap));contain:layout;height:var(--height);width:calc((var(--count) - 1) * var(--step) + var(--pill-width));flex:none;position:relative}.page-dots-dot{--near:clamp(0, 1 - max(var(--progress) - var(--index), var(--index) - var(--progress)), 1);box-sizing:content-box;cursor:pointer;inset-block:0;left:calc(var(--index) * var(--step) + (var(--pill-width) - var(--dot-size)) * clamp(0, var(--index) - var(--progress), 1));margin:0 0 0 calc(var(--dot-gap) / -2);padding:0 calc(var(--dot-gap) / 2);touch-action:manipulation;width:calc(var(--dot-size) + (var(--pill-width) - var(--dot-size)) * var(--near));background:0 0;border:0;border-radius:999px;outline:none;align-items:center;display:flex;position:absolute}.page-dots-dot:focus-visible{outline:var(--border-width-500) solid var(--focus-color)}.page-dots-dot:active .page-dots-mark{scale:var(--pressed-scale)}@media (hover:hover){.page-dots-dot:hover .page-dots-mark{background:var(--dot-color-hover)}}.page-dots-fill{background:var(--pill-color);transform-origin:0;position:absolute;inset:0}.page-dots-mark{background:var(--dot-color);height:var(--dot-size);transition:background-color var(--transition-duration) var(--transition-timing-function), scale var(--transition-duration) var(--transition-timing-function);border-radius:999px;width:100%}.page-dots-pill{--k:clamp(0, round(down, var(--progress), 1), max(var(--count) - 2, 0));--t:clamp(0, var(--progress) - var(--k), 1);--lead-t:clamp(0, var(--t) / .6, 1);--trail-t:clamp(0, (var(--t) - .4) / .6, 1);--lead:calc(var(--lead-t) * var(--lead-t) * (3 - 2 * var(--lead-t)));--trail:calc(var(--trail-t) * var(--trail-t) * (3 - 2 * var(--trail-t)));background:var(--track-color);height:var(--dot-size);pointer-events:none;translate:calc(var(--k) * var(--step) + var(--step) * var(--trail)) -50%;width:calc(var(--pill-width) + var(--step) * (var(--lead) - var(--trail)));border-radius:999px;position:absolute;top:50%;left:0;overflow:hidden}@media (prefers-reduced-motion:reduce){.page-dots-mark{transition:background-color var(--transition-duration) var(--transition-timing-function)}.page-dots-dot:active .page-dots-mark{scale:none}}}
2
- /*$vite$:1*/
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m10 4-4 4 4 4M6 8h8" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6 4 4 4-4 4M2 8h8" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,2 +0,0 @@
1
- declare const PASSWORD_INPUT: unique symbol;
2
- export { PASSWORD_INPUT };
@@ -1,2 +0,0 @@
1
- const PASSWORD_INPUT = Symbol.for('@esportsplus/ui/password.input');
2
- export { PASSWORD_INPUT };
@@ -1,22 +0,0 @@
1
- import { type Attributes } from '@esportsplus/template';
2
- import input from '../input/index.js';
3
- import { PASSWORD_INPUT } from './constants.js';
4
- import './scss/index.scss';
5
- type A = Attributes & {
6
- [PASSWORD_INPUT]?: Omit<Parameters<typeof input>[0], 'state'>;
7
- };
8
- type State = {
9
- active: boolean;
10
- capslock: boolean;
11
- error: string;
12
- visible: boolean;
13
- };
14
- declare function template(this: {
15
- attributes?: A;
16
- } | void, { state, ...attributes }?: A & {
17
- state?: State;
18
- }): DocumentFragment | Text;
19
- declare const _default: typeof template & {
20
- readonly input: typeof PASSWORD_INPUT;
21
- };
22
- export default _default;
@@ -1,74 +0,0 @@
1
- import * as template_u1 from '@esportsplus/template';
2
- import * as reactivity_u0 from '@esportsplus/reactivity';
3
- import input from '../input/index.js';
4
- import { PASSWORD_INPUT } from './constants.js';
5
- import './scss/index.scss';
6
- const template_1y936ck2 = template_u1.template(`<div class='password'><div class='password-field'><!--$--><div class='password-key' aria-hidden='true'><span class='password-key-light'></span><svg viewBox='0 0 12 10'><path d='M6 1 2 5h2v1.5h4V5h2L6 1Z' /><path d='M4 8.75h4' /></svg></div><button class='password-toggle' type='button'><svg class='password-toggle-show' viewBox='0 0 16 16' aria-hidden='true'><path d='M1.5 8S4 3.5 8 3.5 14.5 8 14.5 8 12 12.5 8 12.5 1.5 8 1.5 8Z' /><circle cx='8' cy='8' r='2' /></svg><svg class='password-toggle-hide' viewBox='0 0 16 16' aria-hidden='true'><path d='M1.5 8S4 3.5 8 3.5 14.5 8 14.5 8 12 12.5 8 12.5 1.5 8 1.5 8Z' /><circle cx='8' cy='8' r='2' /><path d='m2.5 2.5 11 11' /></svg></button></div><div class='password-warning'><span aria-hidden='true'>Caps Lock is on</span><span class='password-warning-live' aria-live='polite'>`);
7
- class ReactiveObject_1y936ck0 extends reactivity_u0.ReactiveObject {
8
- #active = this[reactivity_u0.SIGNAL](false);
9
- #capslock = this[reactivity_u0.SIGNAL](false);
10
- #error = this[reactivity_u0.SIGNAL]('');
11
- #visible = this[reactivity_u0.SIGNAL](false);
12
- constructor() {
13
- super(null);
14
- }
15
- get active() {
16
- return reactivity_u0.read(this.#active);
17
- }
18
- set active(_v0) {
19
- reactivity_u0.write(this.#active, _v0);
20
- }
21
- get capslock() {
22
- return reactivity_u0.read(this.#capslock);
23
- }
24
- set capslock(_v1) {
25
- reactivity_u0.write(this.#capslock, _v1);
26
- }
27
- get error() {
28
- return reactivity_u0.read(this.#error);
29
- }
30
- set error(_v2) {
31
- reactivity_u0.write(this.#error, _v2);
32
- }
33
- get visible() {
34
- return reactivity_u0.read(this.#visible);
35
- }
36
- set visible(_v3) {
37
- reactivity_u0.write(this.#visible, _v3);
38
- }
39
- }
40
- function template({ state = new ReactiveObject_1y936ck0(), ...attributes } = {}) {
41
- let read = (e) => {
42
- state.capslock = e.getModifierState('CapsLock');
43
- }, warning = () => state.active && state.capslock;
44
- return (() => {
45
- let root_1y936ck1 = template_1y936ck2(), element_1y936ck3 = root_1y936ck1.firstChild, element_1y936ck4 = element_1y936ck3.firstElementChild.firstChild, element_1y936ck5 = element_1y936ck3.firstElementChild.firstElementChild.nextElementSibling, element_1y936ck6 = element_1y936ck3.firstElementChild.nextElementSibling.firstElementChild.nextElementSibling;
46
- template_u1.setProperties(element_1y936ck3, this?.attributes);
47
- template_u1.setProperties(element_1y936ck3, attributes);
48
- template_u1.setList(element_1y936ck3, 'class', [
49
- () => state.active && '--active',
50
- () => warning() && '--capslock'
51
- ]);
52
- template_u1.delegate(element_1y936ck3, 'keydown', read);
53
- template_u1.delegate(element_1y936ck3, 'keyup', read);
54
- template_u1.delegate(element_1y936ck3, 'pointerdown', read);
55
- template_u1.slot(element_1y936ck4, input.call({ attributes: this?.attributes?.[PASSWORD_INPUT] }, {
56
- autocomplete: 'current-password',
57
- ...attributes[PASSWORD_INPUT],
58
- state,
59
- type: () => state.visible ? 'text' : 'password'
60
- }));
61
- template_u1.setProperty(element_1y936ck5, 'aria-label', () => state.visible ? 'Hide password' : 'Show password');
62
- template_u1.setProperty(element_1y936ck5, 'aria-pressed', () => String(state.visible));
63
- template_u1.setList(element_1y936ck5, 'class', () => state.visible && '--visible');
64
- template_u1.delegate(element_1y936ck5, 'click', () => {
65
- state.visible = !state.visible;
66
- });
67
- template_u1.delegate(element_1y936ck5, 'pointerdown', (e) => {
68
- e.preventDefault();
69
- });
70
- new template_u1.EffectSlot(element_1y936ck6, () => warning() ? 'Caps Lock is on' : '', 1);
71
- return root_1y936ck1;
72
- })();
73
- }
74
- export default Object.assign(template, { input: PASSWORD_INPUT });
@@ -1,2 +0,0 @@
1
- @layer components {.password{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--border-color:var(--border-color-default);--border-color-active:var(--border-color-default);--border-color-default:var(--background);--border-color-hover:var(--border-color-default);--border-radius:var(--border-radius-400);--border-style:solid;--border-width:0px;--box-shadow:var(--box-shadow-default);--box-shadow-active:var(--box-shadow-default);--box-shadow-default:none;--box-shadow-hover:var(--box-shadow-default);--key-background:var(--color-white-400);--key-border-color:var(--color-border-400);--key-color:var(--color-text-300);--key-height:22px;--key-light-color:var(--key-border-color);--key-light-color-active:var(--color-green-400);--key-width:30px;--toggle-background-hover:var(--color-grey-400);--toggle-color:var(--color-text-300);--toggle-color-hover:var(--color-text-500);--toggle-size:32px;--transition-duration:.15s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1);--transition-timing-function-spring:cubic-bezier(.34, 1.3, .64, 1);--warning-color:var(--color-text-300);--warning-font-size:var(--font-size-300);--warning-height:20px}.password:not(.--active):hover{--background:var(--background-hover);--border-color:var(--border-color-hover);--box-shadow:var(--box-shadow-hover)}.password.--active{--background:var(--background-active);--border-color:var(--border-color-active);--box-shadow:var(--box-shadow-active)}.password.--capslock{--key-light-color:var(--key-light-color-active)}.password{gap:var(--size-100);width:100%;min-width:0;display:grid}.password-field{background:var(--background);border:var(--border-width) var(--border-style) var(--border-color);border-radius:var(--border-radius);box-shadow:var(--box-shadow);transition:background var(--transition-duration) ease-out, border-color var(--transition-duration) ease-out, box-shadow var(--transition-duration) ease-out;position:relative}.password-field .input{--background:transparent;--border-width:0px;padding-right:calc(var(--toggle-size) + var(--key-width) + var(--size-300));outline:none}.password-key{background:var(--key-background);border:1px solid var(--key-border-color);box-shadow:0 2px 0 0 var(--key-border-color);filter:blur(3px);height:var(--key-height);inset:0 calc(var(--toggle-size) + 8px) 0 auto;opacity:0;pointer-events:none;transition:filter var(--transition-duration) var(--transition-timing-function), opacity var(--transition-duration) var(--transition-timing-function), transform var(--transition-duration) var(--transition-timing-function);width:var(--key-width);border-radius:5px;flex-direction:column;justify-content:space-between;margin:auto 0;padding:3px 4px;display:flex;position:absolute;transform:translate(8px)}.password-key svg{color:var(--key-color);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.1px;align-self:center;width:11px;height:9px}.password-key-light{background:var(--key-light-color);border-radius:50%;width:4px;height:4px;transition:background-color .3s ease-out,box-shadow .3s ease-out}.password-toggle{border-radius:calc(var(--border-radius) - 2px);color:var(--toggle-color);cursor:pointer;height:var(--toggle-size);touch-action:manipulation;transition:background-color var(--transition-duration) ease-out, color var(--transition-duration) ease-out, scale var(--transition-duration) ease-out;width:var(--toggle-size);place-items:center;margin:auto 0;display:grid;position:absolute;inset:0 4px 0 auto}.password-toggle:hover{background:var(--toggle-background-hover);color:var(--toggle-color-hover)}.password-toggle:active{scale:.96}.password-toggle:focus-visible{outline:2px solid var(--toggle-color-hover)}.password-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;height:16px;transition:filter .3s var(--transition-timing-function), opacity .3s var(--transition-timing-function), scale .3s var(--transition-timing-function);grid-area:1/1;width:16px}.password-toggle:not(.--visible) .password-toggle-hide,.password-toggle.--visible .password-toggle-show{filter:blur(4px);opacity:0;scale:.25}.password-warning{color:var(--warning-color);font-size:var(--warning-font-size);height:var(--warning-height);line-height:var(--warning-height);position:relative}.password-warning>span:first-child{filter:blur(2px);opacity:0;transition:filter var(--transition-duration) var(--transition-timing-function), opacity var(--transition-duration) var(--transition-timing-function), transform var(--transition-duration) var(--transition-timing-function);position:absolute;inset:0;transform:translateY(-2px)}.password-warning-live{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.password.--capslock .password-key{filter:none;opacity:1;transition-duration:.35s;transition-timing-function:var(--transition-timing-function-spring);transform:none}.password.--capslock .password-key-light{box-shadow:0 0 4px 1px color-mix(in oklch, var(--key-light-color) 55%, transparent)}.password.--capslock .password-warning>span:first-child{filter:none;opacity:1;transition-duration:.2s;transform:none}@media (prefers-reduced-motion:reduce){.password .password-key,.password .password-toggle svg,.password .password-warning>span:first-child{transition-property:opacity}}}
2
- /*$vite$:1*/
@@ -1,36 +0,0 @@
1
- import { type Attributes } from '@esportsplus/template';
2
- import { factory } from '../checkbox/index.js';
3
- import radio from '../radio/index.js';
4
- import './scss/index.scss';
5
- type A = Attributes & {
6
- [RADIO_CARDS_CARD]?: Attributes;
7
- [RADIO_CARDS_INPUT]?: Input;
8
- label: string;
9
- name?: string;
10
- options: Option[];
11
- state?: {
12
- error: string;
13
- value: string;
14
- };
15
- value?: string;
16
- };
17
- type Input = NonNullable<NonNullable<Parameters<typeof radio>[0]>[typeof factory.input]>;
18
- type Option = {
19
- badge?: string;
20
- description: string;
21
- period?: string;
22
- price: string;
23
- title: string;
24
- value: string;
25
- };
26
- declare const RADIO_CARDS_CARD: unique symbol;
27
- declare const RADIO_CARDS_INPUT: unique symbol;
28
- declare function template(this: {
29
- attributes?: Pick<A, typeof RADIO_CARDS_CARD | typeof RADIO_CARDS_INPUT>;
30
- } | void, { label, name, options, value, state, ...attributes }: A): DocumentFragment | Text;
31
- declare const _default: typeof template & {
32
- readonly card: typeof RADIO_CARDS_CARD;
33
- readonly input: typeof RADIO_CARDS_INPUT;
34
- };
35
- export default _default;
36
- export type { Option };
@@ -1,106 +0,0 @@
1
- import * as template_u1 from '@esportsplus/template';
2
- import * as reactivity_u0 from '@esportsplus/reactivity';
3
- import { factory } from '../checkbox/index.js';
4
- import radio from '../radio/index.js';
5
- import './scss/index.scss';
6
- const template_108kira2 = template_u1.template(`<fieldset class='radio-cards'><legend class='radio-cards-legend'></legend><div class='radio-cards-grid'>`);
7
- const template_108kira7 = template_u1.template(`<label class='radio-cards-card'><span aria-hidden='true' class='radio-cards-ring'></span><span class='radio-cards-dot'><!--$--><svg aria-hidden='true' class='radio-cards-check' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 16 16'><path d='m3.5 8.5 3 3 6-7' /></svg></span><span class='radio-cards-content'><span class='radio-cards-heading'><span class='radio-cards-title'></span></span><span class='radio-cards-description'></span></span><span class='radio-cards-price'><span class='radio-cards-amount'>`);
8
- const template_108kirag = template_u1.template(`<span class='radio-cards-badge'>`);
9
- const template_108kiraj = template_u1.template(`<span class='radio-cards-period'>`);
10
- class ReactiveObject_108kira0 extends reactivity_u0.ReactiveObject {
11
- #error = this[reactivity_u0.SIGNAL]('');
12
- #value;
13
- constructor(_p0) {
14
- super(null);
15
- this.#value = this[reactivity_u0.SIGNAL](_p0);
16
- }
17
- get error() {
18
- return reactivity_u0.read(this.#error);
19
- }
20
- set error(_v0) {
21
- reactivity_u0.write(this.#error, _v0);
22
- }
23
- get value() {
24
- return reactivity_u0.read(this.#value);
25
- }
26
- set value(_v1) {
27
- reactivity_u0.write(this.#value, _v1);
28
- }
29
- }
30
- const RADIO_CARDS_CARD = Symbol.for('@esportsplus/ui/radio-cards.card');
31
- const RADIO_CARDS_INPUT = Symbol.for('@esportsplus/ui/radio-cards.input');
32
- const RING = {
33
- duration: 300,
34
- easing: 'linear(0, 0.058, 0.18, 0.321, 0.455, 0.573, 0.671, 0.75, 0.812, 0.86, 0.897, 0.924, 0.944, 0.96, 0.971, 0.979, 0.985, 0.989, 0.992, 0.994, 0.996, 0.997, 0.998, 0.999, 1)'
35
- };
36
- let uid = 0;
37
- function glide(grid, previous) {
38
- let ring = grid.querySelector('.radio-cards-card:has(input:checked) .radio-cards-ring');
39
- if (!previous || !ring || matchMedia('(prefers-reduced-motion: reduce)').matches) {
40
- return;
41
- }
42
- let next = ring.getBoundingClientRect(), x = previous.left - next.left, y = previous.top - next.top;
43
- if (x === 0 && y === 0) {
44
- return;
45
- }
46
- ring.animate([
47
- { translate: `${x}px ${y}px` },
48
- { translate: '0px 0px' }
49
- ], RING);
50
- }
51
- function template({ label, name, options, value, state = new ReactiveObject_108kira0(value ?? options[0]?.value ?? ''), ...attributes }) {
52
- let group = name ?? `radio-cards-${++uid}`, previous;
53
- return (() => {
54
- let root_108kira1 = template_108kira2(), element_108kira3 = root_108kira1.firstChild, element_108kira4 = element_108kira3.firstElementChild, element_108kira5 = element_108kira4.nextElementSibling;
55
- template_u1.setProperties(element_108kira3, this?.attributes);
56
- template_u1.setProperties(element_108kira3, attributes);
57
- template_u1.slot(element_108kira4, label, 1);
58
- template_u1.delegate(element_108kira5, 'pointerdown', function () {
59
- previous = this.querySelector('.radio-cards-card:has(input:checked) .radio-cards-ring')?.getBoundingClientRect();
60
- });
61
- template_u1.slot(element_108kira5, options.map((option) => {
62
- let root_108kira6 = template_108kira7(), element_108kira8 = root_108kira6.firstChild, element_108kira9 = element_108kira8.firstElementChild.nextElementSibling.firstChild, element_108kiraa = element_108kira8.firstElementChild.nextElementSibling.nextElementSibling.firstElementChild.firstElementChild, element_108kirab = element_108kira8.firstElementChild.nextElementSibling.nextElementSibling.firstElementChild, element_108kirac = element_108kirab.nextElementSibling, element_108kirad = element_108kira8.firstElementChild.nextElementSibling.nextElementSibling.nextElementSibling.firstElementChild, element_108kirae = element_108kira8.firstElementChild.nextElementSibling.nextElementSibling.nextElementSibling;
63
- template_u1.setProperties(element_108kira8, this?.attributes?.[RADIO_CARDS_CARD]);
64
- template_u1.setProperties(element_108kira8, attributes[RADIO_CARDS_CARD]);
65
- template_u1.slot(element_108kira9, radio({
66
- state,
67
- [factory.input]: {
68
- checked: () => state.value === option.value,
69
- name: group,
70
- onchange: function () {
71
- let grid = this.closest('.radio-cards-grid');
72
- state.value = option.value;
73
- if (grid) {
74
- glide(grid, previous);
75
- }
76
- previous = undefined;
77
- },
78
- onkeydown: function () {
79
- previous = this.closest('.radio-cards-grid')
80
- ?.querySelector('.radio-cards-card:has(input:checked) .radio-cards-ring')
81
- ?.getBoundingClientRect();
82
- },
83
- value: option.value,
84
- ...this?.attributes?.[RADIO_CARDS_INPUT],
85
- ...attributes[RADIO_CARDS_INPUT]
86
- }
87
- }));
88
- template_u1.slot(element_108kiraa, option.title, 1);
89
- template_u1.slot(element_108kirab, option.badge ? (() => {
90
- let root_108kiraf = template_108kirag(), element_108kirah = root_108kiraf.firstChild;
91
- template_u1.slot(element_108kirah, option.badge, 1);
92
- return root_108kiraf;
93
- })() : '', 2);
94
- template_u1.slot(element_108kirac, option.description, 1);
95
- template_u1.slot(element_108kirad, option.price, 1);
96
- template_u1.slot(element_108kirae, option.period ? (() => {
97
- let root_108kirai = template_108kiraj(), element_108kirak = root_108kirai.firstChild;
98
- template_u1.slot(element_108kirak, option.period, 1);
99
- return root_108kirai;
100
- })() : '', 2);
101
- return root_108kira6;
102
- }), 1);
103
- return root_108kira1;
104
- })();
105
- }
106
- export default Object.assign(template, { card: RADIO_CARDS_CARD, input: RADIO_CARDS_INPUT });