@esportsplus/ui 0.55.0 → 0.56.2

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 (847) hide show
  1. package/README.md +144 -4
  2. package/build/components/accordion/index.d.ts +2158 -717
  3. package/build/components/accordion/index.js +12 -9
  4. package/build/components/accordion/more.d.ts +20 -0
  5. package/build/components/accordion/more.js +76 -0
  6. package/build/components/accordion/scss/index.scss +1 -1
  7. package/build/components/anchor/scss/index.scss +1 -1
  8. package/build/components/announcement-banner/index.d.ts +33 -0
  9. package/build/components/announcement-banner/index.js +61 -0
  10. package/build/components/announcement-banner/scss/index.scss +2 -0
  11. package/build/components/autosave/index.d.ts +12 -0
  12. package/build/components/autosave/index.js +140 -0
  13. package/build/components/autosave/scss/index.scss +2 -0
  14. package/build/components/back-to-top/index.d.ts +16 -0
  15. package/build/components/back-to-top/index.js +182 -0
  16. package/build/components/back-to-top/scss/index.scss +2 -0
  17. package/build/components/bento-grid/index.d.ts +25 -0
  18. package/build/components/bento-grid/index.js +38 -0
  19. package/build/components/bento-grid/scss/index.scss +2 -0
  20. package/build/components/bento-grid-spotlight/index.d.ts +35 -0
  21. package/build/components/bento-grid-spotlight/index.js +108 -0
  22. package/build/components/bento-grid-spotlight/scss/index.scss +2 -0
  23. package/build/components/bookmark-button/index.d.ts +23 -0
  24. package/build/components/bookmark-button/index.js +120 -0
  25. package/build/components/bookmark-button/scss/index.scss +2 -0
  26. package/build/components/breadcrumb/ellipsis.d.ts +12 -0
  27. package/build/components/breadcrumb/ellipsis.js +11 -0
  28. package/build/components/breadcrumb/index.d.ts +29 -0
  29. package/build/components/breadcrumb/index.js +19 -0
  30. package/build/components/breadcrumb/item.d.ts +12 -0
  31. package/build/components/breadcrumb/item.js +9 -0
  32. package/build/components/breadcrumb/link.d.ts +15 -0
  33. package/build/components/breadcrumb/link.js +14 -0
  34. package/build/components/breadcrumb/list.d.ts +12 -0
  35. package/build/components/breadcrumb/list.js +9 -0
  36. package/build/components/breadcrumb/menu.d.ts +13 -0
  37. package/build/components/breadcrumb/menu.js +16 -0
  38. package/build/components/breadcrumb/page.d.ts +12 -0
  39. package/build/components/breadcrumb/page.js +9 -0
  40. package/build/components/breadcrumb/scss/index.scss +2 -0
  41. package/build/components/breadcrumb/separator.d.ts +12 -0
  42. package/build/components/breadcrumb/separator.js +11 -0
  43. package/build/components/breadcrumb/svg/caret.svg +1 -0
  44. package/build/components/breadcrumb/svg/chevron.svg +1 -0
  45. package/build/components/breadcrumb/svg/more.svg +1 -0
  46. package/build/components/breadcrumbs/index.d.ts +27 -0
  47. package/build/components/breadcrumbs/index.js +324 -0
  48. package/build/components/breadcrumbs/scss/index.scss +2 -0
  49. package/build/components/button/copy.d.ts +21 -0
  50. package/build/components/button/copy.js +48 -0
  51. package/build/components/button/faces.d.ts +10 -0
  52. package/build/components/button/faces.js +16 -0
  53. package/build/components/button/fan.d.ts +24 -0
  54. package/build/components/button/fan.js +117 -0
  55. package/build/components/button/hold.d.ts +31 -0
  56. package/build/components/button/hold.js +117 -0
  57. package/build/components/button/icons.d.ts +6 -0
  58. package/build/components/button/icons.js +12 -0
  59. package/build/components/button/index.d.ts +14 -0
  60. package/build/components/button/index.js +8 -0
  61. package/build/components/button/kbd.d.ts +15 -0
  62. package/build/components/button/kbd.js +106 -0
  63. package/build/components/button/loading.d.ts +22 -0
  64. package/build/components/button/loading.js +60 -0
  65. package/build/components/button/scss/index.scss +1 -1
  66. package/build/components/button/svg/plus.svg +1 -0
  67. package/build/components/card/scss/index.scss +1 -1
  68. package/build/components/card-input/index.d.ts +31 -0
  69. package/build/components/card-input/index.js +562 -0
  70. package/build/components/card-input/scss/index.scss +2 -0
  71. package/build/components/carousel-3d/index.d.ts +27 -0
  72. package/build/components/carousel-3d/index.js +248 -0
  73. package/build/components/carousel-3d/scss/index.scss +2 -0
  74. package/build/components/checkbox/index.d.ts +1441 -11
  75. package/build/components/checkbox/index.js +50 -52
  76. package/build/components/checkbox/scss/index.scss +1 -1
  77. package/build/components/checkbox-group/index.d.ts +30 -0
  78. package/build/components/checkbox-group/index.js +101 -0
  79. package/build/components/checkbox-group/scss/index.scss +2 -0
  80. package/build/components/clipboard/copy.d.ts +21 -5
  81. package/build/components/clipboard/copy.js +19 -25
  82. package/build/components/clipboard/index.d.ts +2165 -1435
  83. package/build/components/clipboard/index.js +2 -3
  84. package/build/components/code-morph/index.d.ts +25 -0
  85. package/build/components/code-morph/index.js +401 -0
  86. package/build/components/code-morph/scss/index.scss +2 -0
  87. package/build/components/collapsible-sidebar/index.d.ts +41 -0
  88. package/build/components/collapsible-sidebar/index.js +105 -0
  89. package/build/components/collapsible-sidebar/scss/index.scss +2 -0
  90. package/build/components/color-picker/index.d.ts +19 -0
  91. package/build/components/color-picker/index.js +569 -0
  92. package/build/components/color-picker/scss/index.scss +2 -0
  93. package/build/components/command/constants.d.ts +3 -0
  94. package/build/components/command/constants.js +3 -0
  95. package/build/components/command/index.d.ts +30 -0
  96. package/build/components/command/index.js +188 -0
  97. package/build/components/command/scss/index.scss +2 -0
  98. package/build/components/command-palette/index.d.ts +51 -0
  99. package/build/components/command-palette/index.js +319 -0
  100. package/build/components/command-palette/scss/index.scss +2 -0
  101. package/build/components/composer/index.d.ts +29 -0
  102. package/build/components/composer/index.js +79 -0
  103. package/build/components/composer/scss/index.scss +2 -0
  104. package/build/components/composer/svg/arrow-up.svg +1 -0
  105. package/build/components/container/scss/index.scss +1 -1
  106. package/build/components/contribution-heatmap/index.d.ts +30 -0
  107. package/build/components/contribution-heatmap/index.js +236 -0
  108. package/build/components/contribution-heatmap/scss/index.scss +2 -0
  109. package/build/components/counter/index.d.ts +3 -1
  110. package/build/components/counter/index.js +53 -26
  111. package/build/components/counter/scss/index.scss +1 -1
  112. package/build/components/datalist/index.d.ts +37 -0
  113. package/build/components/datalist/index.js +159 -0
  114. package/build/components/datalist/scss/index.scss +2 -0
  115. package/build/components/date-range-picker/index.d.ts +28 -0
  116. package/build/components/date-range-picker/index.js +443 -0
  117. package/build/components/date-range-picker/scss/index.scss +2 -0
  118. package/build/components/dock/index.d.ts +24 -0
  119. package/build/components/dock/index.js +200 -0
  120. package/build/components/dock/scss/index.scss +2 -0
  121. package/build/components/dynamic-island/index.d.ts +23 -0
  122. package/build/components/dynamic-island/index.js +179 -0
  123. package/build/components/dynamic-island/scss/index.scss +2 -0
  124. package/build/components/email-typo-fix/index.d.ts +28 -0
  125. package/build/components/email-typo-fix/index.js +416 -0
  126. package/build/components/email-typo-fix/scss/index.scss +2 -0
  127. package/build/components/expanding-card/index.d.ts +26 -0
  128. package/build/components/expanding-card/index.js +265 -0
  129. package/build/components/expanding-card/scss/index.scss +2 -0
  130. package/build/components/feature-spotlight/index.d.ts +37 -0
  131. package/build/components/feature-spotlight/index.js +248 -0
  132. package/build/components/feature-spotlight/scss/index.scss +2 -0
  133. package/build/components/file-tree/index.d.ts +31 -0
  134. package/build/components/file-tree/index.js +208 -0
  135. package/build/components/file-tree/scss/index.scss +2 -0
  136. package/build/components/filter-grid/index.d.ts +23 -0
  137. package/build/components/filter-grid/index.js +240 -0
  138. package/build/components/filter-grid/scss/index.scss +2 -0
  139. package/build/components/form/action.js +8 -8
  140. package/build/components/form/scss/index.scss +1 -1
  141. package/build/components/gradient-text/index.d.ts +19 -0
  142. package/build/components/gradient-text/index.js +14 -0
  143. package/build/components/gradient-text/scss/index.scss +2 -0
  144. package/build/components/grid/scss/index.scss +1 -1
  145. package/build/components/header/index.d.ts +41 -0
  146. package/build/components/header/index.js +281 -0
  147. package/build/components/header/scss/index.scss +2 -0
  148. package/build/components/highlight/index.d.ts +25 -0
  149. package/build/components/highlight/index.js +218 -0
  150. package/build/components/highlight/scss/index.scss +2 -0
  151. package/build/components/hover-card/index.d.ts +47 -0
  152. package/build/components/hover-card/index.js +197 -0
  153. package/build/components/hover-card/scss/index.scss +2 -0
  154. package/build/components/icon/index.d.ts +11 -2
  155. package/build/components/icon/index.js +6 -6
  156. package/build/components/image/index.d.ts +14 -0
  157. package/build/components/image/index.js +62 -0
  158. package/build/components/image/scss/index.scss +2 -0
  159. package/build/components/index.d.ts +96 -1
  160. package/build/components/index.js +96 -1
  161. package/build/components/inline-edit/index.d.ts +30 -0
  162. package/build/components/inline-edit/index.js +108 -0
  163. package/build/components/inline-edit/scss/index.scss +2 -0
  164. package/build/components/input/index.d.ts +8 -2
  165. package/build/components/input/index.js +11 -11
  166. package/build/components/input/scss/index.scss +1 -1
  167. package/build/components/kanban-board/index.d.ts +23 -0
  168. package/build/components/kanban-board/index.js +235 -0
  169. package/build/components/kanban-board/scss/index.scss +2 -0
  170. package/build/components/lightbox/index.d.ts +32 -0
  171. package/build/components/lightbox/index.js +396 -0
  172. package/build/components/lightbox/scss/index.scss +2 -0
  173. package/build/components/lightbox/spring.d.ts +16 -0
  174. package/build/components/lightbox/spring.js +71 -0
  175. package/build/components/line-shadow-text/index.d.ts +17 -0
  176. package/build/components/line-shadow-text/index.js +15 -0
  177. package/build/components/line-shadow-text/scss/index.scss +2 -0
  178. package/build/components/link/scss/index.scss +1 -1
  179. package/build/components/loading/index.js +5 -7
  180. package/build/components/loading/scss/index.scss +1 -1
  181. package/build/components/log/index.d.ts +20 -0
  182. package/build/components/log/index.js +125 -0
  183. package/build/components/log/scss/index.scss +2 -0
  184. package/build/components/long-press/bind.d.ts +21 -0
  185. package/build/components/long-press/bind.js +136 -0
  186. package/build/components/long-press/button.d.ts +21 -0
  187. package/build/components/long-press/button.js +25 -0
  188. package/build/components/long-press/index.d.ts +2181 -0
  189. package/build/components/long-press/index.js +4 -0
  190. package/build/components/long-press/scss/index.scss +2 -0
  191. package/build/components/marquee/index.d.ts +20 -0
  192. package/build/components/marquee/index.js +236 -0
  193. package/build/components/marquee/scss/index.scss +2 -0
  194. package/build/components/modal/index.d.ts +24 -0
  195. package/build/components/modal/index.js +75 -0
  196. package/build/components/modal/scss/index.scss +1 -1
  197. package/build/components/morphing-button/index.d.ts +24 -0
  198. package/build/components/morphing-button/index.js +127 -0
  199. package/build/components/morphing-button/scss/index.scss +2 -0
  200. package/build/components/morphing-nav/index.d.ts +38 -0
  201. package/build/components/morphing-nav/index.js +342 -0
  202. package/build/components/morphing-nav/scss/index.scss +2 -0
  203. package/build/components/multi-step-form/index.d.ts +32 -0
  204. package/build/components/multi-step-form/index.js +305 -0
  205. package/build/components/multi-step-form/scss/index.scss +2 -0
  206. package/build/components/nested-menu/index.d.ts +27 -0
  207. package/build/components/nested-menu/index.js +374 -0
  208. package/build/components/nested-menu/scss/index.scss +2 -0
  209. package/build/components/notification-bell/index.d.ts +13 -0
  210. package/build/components/notification-bell/index.js +87 -0
  211. package/build/components/notification-bell/scss/index.scss +2 -0
  212. package/build/components/notification-bell/svg/bell.svg +1 -0
  213. package/build/components/onboarding-checklist/index.d.ts +29 -0
  214. package/build/components/onboarding-checklist/index.js +196 -0
  215. package/build/components/onboarding-checklist/scss/index.scss +2 -0
  216. package/build/components/overlay/index.d.ts +11 -2
  217. package/build/components/overlay/index.js +7 -7
  218. package/build/components/page-dots/index.d.ts +24 -0
  219. package/build/components/page-dots/index.js +116 -0
  220. package/build/components/page-dots/scss/index.scss +2 -0
  221. package/build/components/pagination/index.d.ts +11 -0
  222. package/build/components/pagination/index.js +109 -0
  223. package/build/components/pagination/scss/index.scss +2 -0
  224. package/build/components/pagination/svg/arrow-left.svg +1 -0
  225. package/build/components/pagination/svg/arrow-right.svg +1 -0
  226. package/build/components/password/constants.d.ts +2 -0
  227. package/build/components/password/constants.js +2 -0
  228. package/build/components/password/index.d.ts +22 -0
  229. package/build/components/password/index.js +74 -0
  230. package/build/components/password/scss/index.scss +2 -0
  231. package/build/components/progress/index.d.ts +15 -0
  232. package/build/components/progress/index.js +37 -0
  233. package/build/components/progress/scss/index.scss +2 -0
  234. package/build/components/pull-to-refresh/index.d.ts +26 -0
  235. package/build/components/pull-to-refresh/index.js +260 -0
  236. package/build/components/pull-to-refresh/scss/index.scss +2 -0
  237. package/build/components/radio-cards/index.d.ts +36 -0
  238. package/build/components/radio-cards/index.js +106 -0
  239. package/build/components/radio-cards/scss/index.scss +2 -0
  240. package/build/components/range/index.js +13 -13
  241. package/build/components/range/scss/index.scss +1 -1
  242. package/build/components/range-filter/index.d.ts +20 -0
  243. package/build/components/range-filter/index.js +216 -0
  244. package/build/components/range-filter/scss/index.scss +2 -0
  245. package/build/components/range-slider/index.d.ts +30 -0
  246. package/build/components/range-slider/index.js +287 -0
  247. package/build/components/range-slider/scss/index.scss +2 -0
  248. package/build/components/reading-progress/index.d.ts +13 -0
  249. package/build/components/reading-progress/index.js +106 -0
  250. package/build/components/reading-progress/scss/index.scss +2 -0
  251. package/build/components/relative-time/index.d.ts +25 -0
  252. package/build/components/relative-time/index.js +283 -0
  253. package/build/components/relative-time/scss/index.scss +2 -0
  254. package/build/components/root/scss/index.scss +1 -1
  255. package/build/components/scroll-fade/index.d.ts +39 -0
  256. package/build/components/scroll-fade/index.js +104 -0
  257. package/build/components/scroll-fade/scss/index.scss +2 -0
  258. package/build/components/scroll-spine/index.d.ts +26 -0
  259. package/build/components/scroll-spine/index.js +204 -0
  260. package/build/components/scroll-spine/scss/index.scss +2 -0
  261. package/build/components/scroll-velocity/index.d.ts +22 -0
  262. package/build/components/scroll-velocity/index.js +160 -0
  263. package/build/components/scroll-velocity/scss/index.scss +2 -0
  264. package/build/components/scrub-input/index.d.ts +39 -0
  265. package/build/components/scrub-input/index.js +221 -0
  266. package/build/components/scrub-input/scss/index.scss +2 -0
  267. package/build/components/select/index.d.ts +7 -5
  268. package/build/components/select/index.js +40 -38
  269. package/build/components/select/scss/index.scss +1 -1
  270. package/build/components/select-menu/index.d.ts +34 -0
  271. package/build/components/select-menu/index.js +329 -0
  272. package/build/components/select-menu/scss/index.scss +2 -0
  273. package/build/components/selection-toolbar/index.d.ts +36 -0
  274. package/build/components/selection-toolbar/index.js +442 -0
  275. package/build/components/selection-toolbar/scss/index.scss +2 -0
  276. package/build/components/settings/index.d.ts +43 -0
  277. package/build/components/settings/index.js +147 -0
  278. package/build/components/settings/scss/index.scss +2 -0
  279. package/build/components/settings/svg/close.svg +1 -0
  280. package/build/components/settings/svg/saved.svg +1 -0
  281. package/build/components/share-button/index.d.ts +29 -0
  282. package/build/components/share-button/index.js +191 -0
  283. package/build/components/share-button/scss/index.scss +2 -0
  284. package/build/components/sheet/index.d.ts +33 -0
  285. package/build/components/sheet/index.js +110 -0
  286. package/build/components/sheet/scss/index.scss +2 -0
  287. package/build/components/shiny-text/index.d.ts +17 -0
  288. package/build/components/shiny-text/index.js +14 -0
  289. package/build/components/shiny-text/scss/index.scss +2 -0
  290. package/build/components/shortcut-recorder/index.d.ts +12 -0
  291. package/build/components/shortcut-recorder/index.js +230 -0
  292. package/build/components/shortcut-recorder/scss/index.scss +2 -0
  293. package/build/components/shortcut-sheet/index.d.ts +48 -0
  294. package/build/components/shortcut-sheet/index.js +304 -0
  295. package/build/components/shortcut-sheet/scss/index.scss +2 -0
  296. package/build/components/sidebar/index.d.ts +11 -2
  297. package/build/components/sidebar/index.js +7 -7
  298. package/build/components/sidebar/scss/index.scss +1 -1
  299. package/build/components/slider/index.d.ts +25 -0
  300. package/build/components/slider/index.js +188 -0
  301. package/build/components/slider/scss/index.scss +2 -0
  302. package/build/components/sliding-tabs/index.d.ts +28 -0
  303. package/build/components/sliding-tabs/index.js +188 -0
  304. package/build/components/sliding-tabs/scss/index.scss +2 -0
  305. package/build/components/snap-carousel/index.d.ts +30 -0
  306. package/build/components/snap-carousel/index.js +233 -0
  307. package/build/components/snap-carousel/scss/index.scss +2 -0
  308. package/build/components/sortable/index.d.ts +9 -0
  309. package/build/components/sortable/index.js +302 -0
  310. package/build/components/sortable/scss/index.scss +2 -0
  311. package/build/components/sparkline/index.d.ts +26 -0
  312. package/build/components/sparkline/index.js +173 -0
  313. package/build/components/sparkline/scss/index.scss +2 -0
  314. package/build/components/stacked-drawer/index.d.ts +24 -0
  315. package/build/components/stacked-drawer/index.js +211 -0
  316. package/build/components/stacked-drawer/scss/index.scss +2 -0
  317. package/build/components/stat-counter/index.d.ts +32 -0
  318. package/build/components/stat-counter/index.js +216 -0
  319. package/build/components/stat-counter/scss/index.scss +2 -0
  320. package/build/components/status-picker/index.d.ts +32 -0
  321. package/build/components/status-picker/index.js +198 -0
  322. package/build/components/status-picker/scss/index.scss +2 -0
  323. package/build/components/sticky-header/index.d.ts +2159 -0
  324. package/build/components/sticky-header/index.js +98 -0
  325. package/build/components/sticky-header/scss/index.scss +2 -0
  326. package/build/components/sticky-stack/index.d.ts +33 -0
  327. package/build/components/sticky-stack/index.js +184 -0
  328. package/build/components/sticky-stack/scss/index.scss +2 -0
  329. package/build/components/story-progress/index.d.ts +26 -0
  330. package/build/components/story-progress/index.js +196 -0
  331. package/build/components/story-progress/scss/index.scss +2 -0
  332. package/build/components/swipe-deck/index.d.ts +19 -0
  333. package/build/components/swipe-deck/index.js +300 -0
  334. package/build/components/swipe-deck/scss/index.scss +2 -0
  335. package/build/components/tabs/scss/index.scss +1 -1
  336. package/build/components/tag-input/index.d.ts +27 -0
  337. package/build/components/tag-input/index.js +309 -0
  338. package/build/components/tag-input/scss/index.scss +2 -0
  339. package/build/components/task-list/index.d.ts +28 -0
  340. package/build/components/task-list/index.js +107 -0
  341. package/build/components/task-list/scss/index.scss +2 -0
  342. package/build/components/tasklist/constants.d.ts +2 -0
  343. package/build/components/tasklist/constants.js +2 -0
  344. package/build/components/tasklist/index.d.ts +730 -0
  345. package/build/components/tasklist/index.js +116 -0
  346. package/build/components/tasklist/scss/index.scss +2 -0
  347. package/build/components/text-animate/index.d.ts +30 -0
  348. package/build/components/text-animate/index.js +97 -0
  349. package/build/components/text-animate/scss/index.scss +2 -0
  350. package/build/components/text-progress/index.d.ts +13 -0
  351. package/build/components/text-progress/index.js +114 -0
  352. package/build/components/text-progress/scss/index.scss +2 -0
  353. package/build/components/textarea/index.d.ts +2159 -715
  354. package/build/components/textarea/index.js +14 -13
  355. package/build/components/textarea/scss/index.scss +1 -1
  356. package/build/components/thumbnail/scss/index.scss +1 -1
  357. package/build/components/toast/index.js +53 -43
  358. package/build/components/toast/manager.d.ts +4 -0
  359. package/build/components/toast/manager.js +19 -1
  360. package/build/components/toast/scss/index.scss +1 -1
  361. package/build/components/tooltip/context.d.ts +22 -0
  362. package/build/components/tooltip/context.js +66 -0
  363. package/build/components/tooltip/group.d.ts +29 -0
  364. package/build/components/tooltip/group.js +128 -0
  365. package/build/components/tooltip/index.d.ts +4 -0
  366. package/build/components/tooltip/index.js +3 -1
  367. package/build/components/tooltip/menu.d.ts +17 -8
  368. package/build/components/tooltip/menu.js +14 -31
  369. package/build/components/tooltip/onclick.d.ts +22 -713
  370. package/build/components/tooltip/onclick.js +38 -18
  371. package/build/components/tooltip/onhover.d.ts +23 -713
  372. package/build/components/tooltip/onhover.js +89 -13
  373. package/build/components/tooltip/options.d.ts +7 -0
  374. package/build/components/tooltip/options.js +21 -0
  375. package/build/components/tooltip/scss/index.scss +1 -1
  376. package/build/components/tooltip/utilities.d.ts +4 -0
  377. package/build/components/tooltip/utilities.js +58 -0
  378. package/build/components/tree/index.d.ts +28 -0
  379. package/build/components/tree/index.js +182 -0
  380. package/build/components/tree/scss/index.scss +2 -0
  381. package/build/components/tree-view/index.d.ts +25 -0
  382. package/build/components/tree-view/index.js +205 -0
  383. package/build/components/tree-view/scss/index.scss +2 -0
  384. package/build/components/typewriter/index.d.ts +11 -2
  385. package/build/components/typewriter/index.js +16 -12
  386. package/build/components/typewriter/scss/index.scss +1 -1
  387. package/build/components/typewriter-retype/index.d.ts +8 -0
  388. package/build/components/typewriter-retype/index.js +122 -0
  389. package/build/components/typewriter-retype/scss/index.scss +2 -0
  390. package/build/components/undo-toast/index.d.ts +30 -0
  391. package/build/components/undo-toast/index.js +262 -0
  392. package/build/components/undo-toast/scss/index.scss +2 -0
  393. package/build/components/uptime/index.d.ts +21 -0
  394. package/build/components/uptime/index.js +210 -0
  395. package/build/components/uptime/scss/index.scss +2 -0
  396. package/build/components/usage-meter/index.d.ts +2159 -0
  397. package/build/components/usage-meter/index.js +30 -0
  398. package/build/components/usage-meter/scss/index.scss +2 -0
  399. package/build/components/value-flash/index.d.ts +12 -0
  400. package/build/components/value-flash/index.js +106 -0
  401. package/build/components/value-flash/scss/index.scss +2 -0
  402. package/build/components/waitlist-join/index.d.ts +34 -0
  403. package/build/components/waitlist-join/index.js +402 -0
  404. package/build/components/waitlist-join/scss/index.scss +2 -0
  405. package/build/components/web-search/brands.d.ts +121 -0
  406. package/build/components/web-search/brands.js +138 -0
  407. package/build/components/web-search/index.d.ts +31 -0
  408. package/build/components/web-search/index.js +245 -0
  409. package/build/components/web-search/scss/index.scss +2 -0
  410. package/build/components/word-rotator/index.d.ts +14 -0
  411. package/build/components/word-rotator/index.js +196 -0
  412. package/build/components/word-rotator/scss/index.scss +2 -0
  413. package/build/css-utilities/absolute/scss/index.scss +1 -1
  414. package/build/css-utilities/index.scss +1 -1
  415. package/build/css-utilities/scrollbar/scss/index.scss +1 -1
  416. package/build/themes/dark/input.d.ts +6 -2
  417. package/build/themes/dark/select.js +2 -2
  418. package/build/themes/dark/textarea.d.ts +2172 -718
  419. package/package.json +6 -6
  420. package/pnpm-workspace.yaml +5 -5
  421. package/src/components/accordion/index.ts +7 -1
  422. package/src/components/accordion/more.ts +97 -0
  423. package/src/components/accordion/scss/index.scss +141 -0
  424. package/src/components/anchor/scss/index.scss +2 -2
  425. package/src/components/announcement-banner/index.ts +81 -0
  426. package/src/components/announcement-banner/scss/index.scss +183 -0
  427. package/src/components/announcement-banner/scss/variables.scss +18 -0
  428. package/src/components/autosave/index.ts +113 -0
  429. package/src/components/autosave/scss/index.scss +155 -0
  430. package/src/components/autosave/scss/variables.scss +22 -0
  431. package/src/components/back-to-top/index.ts +293 -0
  432. package/src/components/back-to-top/scss/index.scss +111 -0
  433. package/src/components/back-to-top/scss/variables.scss +30 -0
  434. package/src/components/banner/scss/variables.scss +1 -1
  435. package/src/components/bento-grid/index.ts +63 -0
  436. package/src/components/bento-grid/scss/index.scss +174 -0
  437. package/src/components/bento-grid/scss/variables.scss +19 -0
  438. package/src/components/bento-grid-spotlight/index.ts +133 -0
  439. package/src/components/bento-grid-spotlight/scss/index.scss +226 -0
  440. package/src/components/bento-grid-spotlight/scss/variables.scss +36 -0
  441. package/src/components/bookmark-button/index.ts +174 -0
  442. package/src/components/bookmark-button/scss/index.scss +162 -0
  443. package/src/components/bookmark-button/scss/variables.scss +28 -0
  444. package/src/components/breadcrumb/ellipsis.ts +17 -0
  445. package/src/components/breadcrumb/index.ts +32 -0
  446. package/src/components/breadcrumb/item.ts +10 -0
  447. package/src/components/breadcrumb/link.ts +21 -0
  448. package/src/components/breadcrumb/list.ts +10 -0
  449. package/src/components/breadcrumb/menu.ts +20 -0
  450. package/src/components/breadcrumb/page.ts +16 -0
  451. package/src/components/breadcrumb/scss/index.scss +74 -0
  452. package/src/components/breadcrumb/scss/variables.scss +17 -0
  453. package/src/components/breadcrumb/separator.ts +17 -0
  454. package/src/components/breadcrumb/svg/caret.svg +1 -0
  455. package/src/components/breadcrumb/svg/chevron.svg +1 -0
  456. package/src/components/breadcrumb/svg/more.svg +1 -0
  457. package/src/components/breadcrumbs/index.ts +479 -0
  458. package/src/components/breadcrumbs/scss/index.scss +235 -0
  459. package/src/components/breadcrumbs/scss/variables.scss +30 -0
  460. package/src/components/button/copy.ts +59 -0
  461. package/src/components/button/faces.ts +29 -0
  462. package/src/components/button/fan.ts +173 -0
  463. package/src/components/button/hold.ts +154 -0
  464. package/src/components/button/icons.ts +38 -0
  465. package/src/components/button/index.ts +12 -0
  466. package/src/components/button/kbd.ts +156 -0
  467. package/src/components/button/loading.ts +77 -0
  468. package/src/components/button/scss/_fan.scss +125 -0
  469. package/src/components/button/scss/_kbd.scss +10 -0
  470. package/src/components/button/scss/index.scss +117 -5
  471. package/src/components/button/scss/variables.scss +81 -0
  472. package/src/components/button/svg/plus.svg +1 -0
  473. package/src/components/card/scss/index.scss +2 -3
  474. package/src/components/card-input/index.ts +594 -0
  475. package/src/components/card-input/scss/index.scss +512 -0
  476. package/src/components/card-input/scss/variables.scss +29 -0
  477. package/src/components/carousel-3d/index.ts +405 -0
  478. package/src/components/carousel-3d/scss/index.scss +155 -0
  479. package/src/components/carousel-3d/scss/variables.scss +25 -0
  480. package/src/components/checkbox/index.ts +16 -13
  481. package/src/components/checkbox/scss/index.scss +6 -3
  482. package/src/components/checkbox-group/index.ts +171 -0
  483. package/src/components/checkbox-group/scss/index.scss +229 -0
  484. package/src/components/checkbox-group/scss/variables.scss +28 -0
  485. package/src/components/clipboard/copy.ts +19 -25
  486. package/src/components/clipboard/index.ts +2 -3
  487. package/src/components/code-morph/index.ts +459 -0
  488. package/src/components/code-morph/scss/index.scss +384 -0
  489. package/src/components/code-morph/scss/variables.scss +33 -0
  490. package/src/components/collapsible-sidebar/index.ts +193 -0
  491. package/src/components/collapsible-sidebar/scss/index.scss +220 -0
  492. package/src/components/collapsible-sidebar/scss/variables.scss +42 -0
  493. package/src/components/color-picker/index.ts +650 -0
  494. package/src/components/color-picker/scss/index.scss +345 -0
  495. package/src/components/color-picker/scss/variables.scss +33 -0
  496. package/src/components/command/constants.ts +6 -0
  497. package/src/components/command/index.ts +282 -0
  498. package/src/components/command/scss/index.scss +213 -0
  499. package/src/components/command/scss/variables.scss +35 -0
  500. package/src/components/command-palette/index.ts +456 -0
  501. package/src/components/command-palette/scss/index.scss +235 -0
  502. package/src/components/command-palette/scss/variables.scss +42 -0
  503. package/src/components/composer/index.ts +117 -0
  504. package/src/components/composer/scss/index.scss +105 -0
  505. package/src/components/composer/scss/variables.scss +82 -0
  506. package/src/components/composer/svg/arrow-up.svg +1 -0
  507. package/src/components/container/scss/index.scss +2 -1
  508. package/src/components/contribution-heatmap/index.ts +348 -0
  509. package/src/components/contribution-heatmap/scss/index.scss +151 -0
  510. package/src/components/contribution-heatmap/scss/variables.scss +39 -0
  511. package/src/components/counter/index.ts +56 -9
  512. package/src/components/counter/scss/index.scss +56 -2
  513. package/src/components/counter/scss/variables.scss +38 -2
  514. package/src/components/datalist/index.ts +236 -0
  515. package/src/components/datalist/scss/index.scss +84 -0
  516. package/src/components/datalist/scss/variables.scss +26 -0
  517. package/src/components/date-range-picker/index.ts +641 -0
  518. package/src/components/date-range-picker/scss/index.scss +380 -0
  519. package/src/components/date-range-picker/scss/variables.scss +22 -0
  520. package/src/components/dock/index.ts +265 -0
  521. package/src/components/dock/scss/index.scss +102 -0
  522. package/src/components/dock/scss/variables.scss +30 -0
  523. package/src/components/dynamic-island/index.ts +161 -0
  524. package/src/components/dynamic-island/scss/index.scss +278 -0
  525. package/src/components/dynamic-island/scss/variables.scss +39 -0
  526. package/src/components/email-typo-fix/index.ts +615 -0
  527. package/src/components/email-typo-fix/scss/index.scss +213 -0
  528. package/src/components/email-typo-fix/scss/variables.scss +18 -0
  529. package/src/components/expanding-card/index.ts +377 -0
  530. package/src/components/expanding-card/scss/index.scss +232 -0
  531. package/src/components/expanding-card/scss/variables.scss +22 -0
  532. package/src/components/feature-spotlight/index.ts +437 -0
  533. package/src/components/feature-spotlight/scss/index.scss +254 -0
  534. package/src/components/feature-spotlight/scss/variables.scss +36 -0
  535. package/src/components/file-tree/index.ts +319 -0
  536. package/src/components/file-tree/scss/index.scss +138 -0
  537. package/src/components/file-tree/scss/variables.scss +18 -0
  538. package/src/components/filter-grid/index.ts +344 -0
  539. package/src/components/filter-grid/scss/index.scss +142 -0
  540. package/src/components/filter-grid/scss/variables.scss +41 -0
  541. package/src/components/form/scss/index.scss +2 -1
  542. package/src/components/gradient-text/index.ts +26 -0
  543. package/src/components/gradient-text/scss/index.scss +20 -0
  544. package/src/components/gradient-text/scss/variables.scss +6 -0
  545. package/src/components/grid/scss/index.scss +1 -1
  546. package/src/components/header/index.ts +318 -0
  547. package/src/components/header/scss/index.scss +508 -0
  548. package/src/components/header/scss/variables.scss +21 -0
  549. package/src/components/highlight/index.ts +239 -0
  550. package/src/components/highlight/scss/index.scss +48 -0
  551. package/src/components/highlight/scss/variables.scss +26 -0
  552. package/src/components/hover-card/index.ts +319 -0
  553. package/src/components/hover-card/scss/index.scss +117 -0
  554. package/src/components/hover-card/scss/variables.scss +25 -0
  555. package/src/components/image/index.ts +79 -0
  556. package/src/components/image/scss/index.scss +82 -0
  557. package/src/components/image/scss/variables.scss +15 -0
  558. package/src/components/index.ts +96 -1
  559. package/src/components/inline-edit/index.ts +177 -0
  560. package/src/components/inline-edit/scss/index.scss +152 -0
  561. package/src/components/inline-edit/scss/variables.scss +17 -0
  562. package/src/components/input/index.ts +9 -2
  563. package/src/components/input/scss/index.scss +2 -3
  564. package/src/components/kanban-board/index.ts +326 -0
  565. package/src/components/kanban-board/scss/index.scss +126 -0
  566. package/src/components/kanban-board/scss/variables.scss +39 -0
  567. package/src/components/lightbox/index.ts +594 -0
  568. package/src/components/lightbox/scss/index.scss +194 -0
  569. package/src/components/lightbox/scss/variables.scss +24 -0
  570. package/src/components/lightbox/spring.ts +118 -0
  571. package/src/components/line-shadow-text/index.ts +24 -0
  572. package/src/components/line-shadow-text/scss/index.scss +45 -0
  573. package/src/components/line-shadow-text/scss/variables.scss +6 -0
  574. package/src/components/link/scss/index.scss +2 -3
  575. package/src/components/loading/index.ts +3 -10
  576. package/src/components/loading/scss/index.scss +55 -4
  577. package/src/components/loading/scss/variables.scss +15 -1
  578. package/src/components/log/index.ts +156 -0
  579. package/src/components/log/scss/index.scss +269 -0
  580. package/src/components/log/scss/variables.scss +19 -0
  581. package/src/components/long-press/bind.ts +159 -0
  582. package/src/components/long-press/button.ts +46 -0
  583. package/src/components/long-press/index.ts +6 -0
  584. package/src/components/long-press/scss/index.scss +60 -0
  585. package/src/components/long-press/scss/variables.scss +9 -0
  586. package/src/components/marquee/index.ts +300 -0
  587. package/src/components/marquee/scss/index.scss +109 -0
  588. package/src/components/marquee/scss/variables.scss +18 -0
  589. package/src/components/modal/index.ts +91 -0
  590. package/src/components/modal/scss/index.scss +51 -4
  591. package/src/components/modal/scss/variables.scss +36 -0
  592. package/src/components/morphing-button/index.ts +188 -0
  593. package/src/components/morphing-button/scss/index.scss +154 -0
  594. package/src/components/morphing-button/scss/variables.scss +21 -0
  595. package/src/components/morphing-nav/index.ts +496 -0
  596. package/src/components/morphing-nav/scss/index.scss +284 -0
  597. package/src/components/morphing-nav/scss/variables.scss +36 -0
  598. package/src/components/multi-step-form/index.ts +368 -0
  599. package/src/components/multi-step-form/scss/index.scss +397 -0
  600. package/src/components/multi-step-form/scss/variables.scss +22 -0
  601. package/src/components/nested-menu/index.ts +446 -0
  602. package/src/components/nested-menu/scss/index.scss +219 -0
  603. package/src/components/nested-menu/scss/variables.scss +26 -0
  604. package/src/components/notification-bell/index.ts +102 -0
  605. package/src/components/notification-bell/scss/index.scss +132 -0
  606. package/src/components/notification-bell/scss/variables.scss +41 -0
  607. package/src/components/notification-bell/svg/bell.svg +1 -0
  608. package/src/components/onboarding-checklist/index.ts +252 -0
  609. package/src/components/onboarding-checklist/scss/index.scss +414 -0
  610. package/src/components/onboarding-checklist/scss/variables.scss +17 -0
  611. package/src/components/page-dots/index.ts +137 -0
  612. package/src/components/page-dots/scss/index.scss +95 -0
  613. package/src/components/page-dots/scss/variables.scss +26 -0
  614. package/src/components/pagination/index.ts +129 -0
  615. package/src/components/pagination/scss/index.scss +46 -0
  616. package/src/components/pagination/scss/variables.scss +40 -0
  617. package/src/components/pagination/svg/arrow-left.svg +1 -0
  618. package/src/components/pagination/svg/arrow-right.svg +1 -0
  619. package/src/components/password/constants.ts +4 -0
  620. package/src/components/password/index.ts +97 -0
  621. package/src/components/password/scss/index.scss +188 -0
  622. package/src/components/password/scss/variables.scss +50 -0
  623. package/src/components/progress/index.ts +57 -0
  624. package/src/components/progress/scss/index.scss +49 -0
  625. package/src/components/progress/scss/variables.scss +11 -0
  626. package/src/components/pull-to-refresh/index.ts +438 -0
  627. package/src/components/pull-to-refresh/scss/index.scss +91 -0
  628. package/src/components/pull-to-refresh/scss/variables.scss +10 -0
  629. package/src/components/radio-cards/index.ts +145 -0
  630. package/src/components/radio-cards/scss/index.scss +232 -0
  631. package/src/components/radio-cards/scss/variables.scss +32 -0
  632. package/src/components/range/scss/index.scss +2 -1
  633. package/src/components/range-filter/index.ts +295 -0
  634. package/src/components/range-filter/scss/index.scss +257 -0
  635. package/src/components/range-filter/scss/variables.scss +20 -0
  636. package/src/components/range-slider/index.ts +277 -0
  637. package/src/components/range-slider/scss/index.scss +234 -0
  638. package/src/components/range-slider/scss/variables.scss +26 -0
  639. package/src/components/reading-progress/index.ts +160 -0
  640. package/src/components/reading-progress/scss/index.scss +115 -0
  641. package/src/components/reading-progress/scss/variables.scss +31 -0
  642. package/src/components/relative-time/index.ts +410 -0
  643. package/src/components/relative-time/scss/index.scss +88 -0
  644. package/src/components/relative-time/scss/variables.scss +19 -0
  645. package/src/components/root/scss/index.scss +2 -2
  646. package/src/components/scroll-fade/index.ts +131 -0
  647. package/src/components/scroll-fade/scss/index.scss +104 -0
  648. package/src/components/scroll-fade/scss/variables.scss +10 -0
  649. package/src/components/scroll-spine/index.ts +355 -0
  650. package/src/components/scroll-spine/scss/index.scss +209 -0
  651. package/src/components/scroll-spine/scss/variables.scss +22 -0
  652. package/src/components/scroll-velocity/index.ts +269 -0
  653. package/src/components/scroll-velocity/scss/index.scss +29 -0
  654. package/src/components/scroll-velocity/scss/variables.scss +3 -0
  655. package/src/components/scrub-input/index.ts +339 -0
  656. package/src/components/scrub-input/scss/index.scss +105 -0
  657. package/src/components/scrub-input/scss/variables.scss +23 -0
  658. package/src/components/select/index.ts +12 -5
  659. package/src/components/select/scss/index.scss +15 -10
  660. package/src/components/select-menu/index.ts +499 -0
  661. package/src/components/select-menu/scss/index.scss +192 -0
  662. package/src/components/select-menu/scss/variables.scss +41 -0
  663. package/src/components/selection-toolbar/index.ts +510 -0
  664. package/src/components/selection-toolbar/scss/index.scss +221 -0
  665. package/src/components/selection-toolbar/scss/variables.scss +24 -0
  666. package/src/components/settings/index.ts +184 -0
  667. package/src/components/settings/scss/index.scss +327 -0
  668. package/src/components/settings/scss/variables.scss +50 -0
  669. package/src/components/settings/svg/close.svg +1 -0
  670. package/src/components/settings/svg/saved.svg +1 -0
  671. package/src/components/share-button/index.ts +328 -0
  672. package/src/components/share-button/scss/index.scss +191 -0
  673. package/src/components/share-button/scss/variables.scss +24 -0
  674. package/src/components/sheet/index.ts +170 -0
  675. package/src/components/sheet/scss/index.scss +65 -0
  676. package/src/components/sheet/scss/variables.scss +27 -0
  677. package/src/components/shiny-text/index.ts +19 -0
  678. package/src/components/shiny-text/scss/index.scss +32 -0
  679. package/src/components/shiny-text/scss/variables.scss +7 -0
  680. package/src/components/shortcut-recorder/index.ts +284 -0
  681. package/src/components/shortcut-recorder/scss/index.scss +198 -0
  682. package/src/components/shortcut-recorder/scss/variables.scss +54 -0
  683. package/src/components/shortcut-sheet/index.ts +454 -0
  684. package/src/components/shortcut-sheet/scss/index.scss +306 -0
  685. package/src/components/shortcut-sheet/scss/variables.scss +36 -0
  686. package/src/components/sidebar/scss/index.scss +3 -3
  687. package/src/components/slider/index.ts +232 -0
  688. package/src/components/slider/scss/index.scss +182 -0
  689. package/src/components/slider/scss/variables.scss +15 -0
  690. package/src/components/sliding-tabs/index.ts +291 -0
  691. package/src/components/sliding-tabs/scss/index.scss +174 -0
  692. package/src/components/sliding-tabs/scss/variables.scss +34 -0
  693. package/src/components/snap-carousel/index.ts +324 -0
  694. package/src/components/snap-carousel/scss/index.scss +174 -0
  695. package/src/components/snap-carousel/scss/variables.scss +31 -0
  696. package/src/components/sortable/index.ts +483 -0
  697. package/src/components/sortable/scss/index.scss +282 -0
  698. package/src/components/sortable/scss/variables.scss +59 -0
  699. package/src/components/sparkline/index.ts +234 -0
  700. package/src/components/sparkline/scss/index.scss +169 -0
  701. package/src/components/sparkline/scss/variables.scss +30 -0
  702. package/src/components/stacked-drawer/index.ts +272 -0
  703. package/src/components/stacked-drawer/scss/index.scss +122 -0
  704. package/src/components/stacked-drawer/scss/variables.scss +20 -0
  705. package/src/components/stat-counter/index.ts +337 -0
  706. package/src/components/stat-counter/scss/index.scss +246 -0
  707. package/src/components/stat-counter/scss/variables.scss +24 -0
  708. package/src/components/status-picker/index.ts +323 -0
  709. package/src/components/status-picker/scss/index.scss +290 -0
  710. package/src/components/status-picker/scss/variables.scss +29 -0
  711. package/src/components/sticky-header/index.ts +127 -0
  712. package/src/components/sticky-header/scss/index.scss +149 -0
  713. package/src/components/sticky-header/scss/variables.scss +22 -0
  714. package/src/components/sticky-stack/index.ts +313 -0
  715. package/src/components/sticky-stack/scss/index.scss +167 -0
  716. package/src/components/sticky-stack/scss/variables.scss +50 -0
  717. package/src/components/story-progress/index.ts +247 -0
  718. package/src/components/story-progress/scss/index.scss +205 -0
  719. package/src/components/story-progress/scss/variables.scss +21 -0
  720. package/src/components/swipe-deck/index.ts +438 -0
  721. package/src/components/swipe-deck/scss/index.scss +275 -0
  722. package/src/components/swipe-deck/scss/variables.scss +24 -0
  723. package/src/components/tabs/scss/index.scss +3 -3
  724. package/src/components/tag-input/index.ts +415 -0
  725. package/src/components/tag-input/scss/index.scss +186 -0
  726. package/src/components/tag-input/scss/variables.scss +30 -0
  727. package/src/components/task-list/index.ts +137 -0
  728. package/src/components/task-list/scss/index.scss +171 -0
  729. package/src/components/task-list/scss/variables.scss +8 -0
  730. package/src/components/tasklist/constants.ts +4 -0
  731. package/src/components/tasklist/index.ts +174 -0
  732. package/src/components/tasklist/scss/index.scss +184 -0
  733. package/src/components/tasklist/scss/variables.scss +83 -0
  734. package/src/components/text-animate/index.ts +142 -0
  735. package/src/components/text-animate/scss/index.scss +106 -0
  736. package/src/components/text-animate/scss/variables.scss +17 -0
  737. package/src/components/text-progress/index.ts +170 -0
  738. package/src/components/text-progress/scss/index.scss +148 -0
  739. package/src/components/text-progress/scss/variables.scss +26 -0
  740. package/src/components/textarea/index.ts +6 -3
  741. package/src/components/textarea/scss/index.scss +2 -3
  742. package/src/components/thumbnail/scss/index.scss +51 -0
  743. package/src/components/thumbnail/scss/variables.scss +12 -0
  744. package/src/components/toast/index.ts +11 -1
  745. package/src/components/toast/manager.ts +31 -1
  746. package/src/components/toast/scss/index.scss +66 -18
  747. package/src/components/toast/scss/variables.scss +2 -0
  748. package/src/components/tooltip/context.ts +96 -0
  749. package/src/components/tooltip/group.ts +162 -0
  750. package/src/components/tooltip/index.ts +3 -1
  751. package/src/components/tooltip/menu.ts +25 -31
  752. package/src/components/tooltip/onclick.ts +62 -24
  753. package/src/components/tooltip/onhover.ts +148 -18
  754. package/src/components/tooltip/options.ts +33 -0
  755. package/src/components/tooltip/scss/_center.scss +1 -5
  756. package/src/components/tooltip/scss/_east.scss +5 -5
  757. package/src/components/tooltip/scss/_group.scss +164 -0
  758. package/src/components/tooltip/scss/_north.scss +5 -5
  759. package/src/components/tooltip/scss/_south.scss +5 -5
  760. package/src/components/tooltip/scss/_west.scss +5 -5
  761. package/src/components/tooltip/scss/index.scss +230 -17
  762. package/src/components/tooltip/scss/variables.scss +105 -0
  763. package/src/components/tooltip/utilities.ts +103 -0
  764. package/src/components/tree/index.ts +259 -0
  765. package/src/components/tree/scss/index.scss +105 -0
  766. package/src/components/tree/scss/variables.scss +48 -0
  767. package/src/components/tree-view/index.ts +285 -0
  768. package/src/components/tree-view/scss/index.scss +169 -0
  769. package/src/components/tree-view/scss/variables.scss +18 -0
  770. package/src/components/typewriter/index.ts +10 -6
  771. package/src/components/typewriter/scss/index.scss +30 -11
  772. package/src/components/typewriter/scss/variables.scss +24 -0
  773. package/src/components/typewriter-retype/index.ts +164 -0
  774. package/src/components/typewriter-retype/scss/index.scss +142 -0
  775. package/src/components/typewriter-retype/scss/variables.scss +46 -0
  776. package/src/components/undo-toast/index.ts +359 -0
  777. package/src/components/undo-toast/scss/index.scss +216 -0
  778. package/src/components/undo-toast/scss/variables.scss +20 -0
  779. package/src/components/uptime/index.ts +271 -0
  780. package/src/components/uptime/scss/index.scss +163 -0
  781. package/src/components/uptime/scss/variables.scss +56 -0
  782. package/src/components/usage-meter/index.ts +63 -0
  783. package/src/components/usage-meter/scss/index.scss +94 -0
  784. package/src/components/usage-meter/scss/variables.scss +43 -0
  785. package/src/components/value-flash/index.ts +121 -0
  786. package/src/components/value-flash/scss/index.scss +193 -0
  787. package/src/components/value-flash/scss/variables.scss +47 -0
  788. package/src/components/waitlist-join/index.ts +545 -0
  789. package/src/components/waitlist-join/scss/index.scss +401 -0
  790. package/src/components/waitlist-join/scss/variables.scss +23 -0
  791. package/src/components/web-search/brands.ts +155 -0
  792. package/src/components/web-search/index.ts +316 -0
  793. package/src/components/web-search/scss/index.scss +270 -0
  794. package/src/components/web-search/scss/variables.scss +8 -0
  795. package/src/components/word-rotator/index.ts +296 -0
  796. package/src/components/word-rotator/scss/index.scss +33 -0
  797. package/src/components/word-rotator/scss/variables.scss +7 -0
  798. package/src/css-utilities/scrollbar/scss/index.scss +6 -1
  799. package/src/lib/scss/position.scss +3 -3
  800. package/src/themes/dark/select.ts +2 -2
  801. package/storage/svg/settings/add-line.svg +1 -0
  802. package/storage/svg/settings/arrow-down-s-line.svg +1 -0
  803. package/storage/svg/settings/arrow-left-s-line.svg +1 -0
  804. package/storage/svg/settings/arrow-right-s-line.svg +1 -0
  805. package/storage/svg/settings/bank-card-line.svg +1 -0
  806. package/storage/svg/settings/book-open-line.svg +1 -0
  807. package/storage/svg/settings/calendar-line.svg +1 -0
  808. package/storage/svg/settings/code-block.svg +1 -0
  809. package/storage/svg/settings/database-2-line.svg +1 -0
  810. package/storage/svg/settings/delete-bin-6-line.svg +1 -0
  811. package/storage/svg/settings/download-2-line.svg +1 -0
  812. package/storage/svg/settings/edit-line.svg +1 -0
  813. package/storage/svg/settings/expand-up-down-line.svg +1 -0
  814. package/storage/svg/settings/external-link-line.svg +1 -0
  815. package/storage/svg/settings/file-copy-line.svg +1 -0
  816. package/storage/svg/settings/file-excel-2-fill.svg +1 -0
  817. package/storage/svg/settings/file-text-fill.svg +1 -0
  818. package/storage/svg/settings/film-fill.svg +1 -0
  819. package/storage/svg/settings/git-merge-line.svg +1 -0
  820. package/storage/svg/settings/logout-circle-line.svg +1 -0
  821. package/storage/svg/settings/mail-line.svg +1 -0
  822. package/storage/svg/settings/more-2-fill.svg +1 -0
  823. package/storage/svg/settings/more-fill.svg +1 -0
  824. package/storage/svg/settings/organization-chart.svg +1 -0
  825. package/storage/svg/settings/palette-line.svg +1 -0
  826. package/storage/svg/settings/plug-line.svg +1 -0
  827. package/storage/svg/settings/school-line.svg +1 -0
  828. package/storage/svg/settings/search-line.svg +1 -0
  829. package/storage/svg/settings/settings-6-line.svg +1 -0
  830. package/storage/svg/settings/settings-line.svg +1 -0
  831. package/storage/svg/settings/tools-fill.svg +1 -0
  832. package/storage/svg/settings/upload-cloud-2-line.svg +1 -0
  833. package/build/components/border/scss/index.scss +0 -2
  834. package/build/components/checkbox/constants.d.ts +0 -2
  835. package/build/components/checkbox/constants.js +0 -2
  836. package/build/components/clipboard/onclick.d.ts +0 -10
  837. package/build/components/clipboard/onclick.js +0 -36
  838. package/build/components/select/constants.d.ts +0 -4
  839. package/build/components/select/constants.js +0 -4
  840. package/build/components/tooltip/constants.d.ts +0 -3
  841. package/build/components/tooltip/constants.js +0 -3
  842. package/src/components/border/scss/index.scss +0 -17
  843. package/src/components/border/scss/variables.scss +0 -6
  844. package/src/components/checkbox/constants.ts +0 -4
  845. package/src/components/clipboard/onclick.ts +0 -35
  846. package/src/components/select/constants.ts +0 -8
  847. package/src/components/tooltip/constants.ts +0 -6
@@ -0,0 +1,196 @@
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 });
@@ -0,0 +1,2 @@
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,4 +1,13 @@
1
- import * as template_u0 from '@esportsplus/template';
1
+ import * as template_u1 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- declare const _default: template_u0.Factory<template_u0.Attributes, template_u0.Renderable<any>, template_u0.Renderable<any>>;
3
+ declare const _default: {
4
+ (): template_u1.Renderable<any>;
5
+ <T extends template_u1.Attributes>(attributes: T): template_u1.Renderable<any>;
6
+ <T extends template_u1.Renderable<any>>(content: T): template_u1.Renderable<any>;
7
+ (attributes: template_u1.Attributes, content?: template_u1.Renderable<any>): template_u1.Renderable<any>;
8
+ bind(context: {
9
+ attributes?: Partial<template_u1.Attributes> | undefined;
10
+ content?: template_u1.Renderable<any>;
11
+ }): any;
12
+ };
4
13
  export default _default;
@@ -1,13 +1,13 @@
1
- import * as template_u0 from '@esportsplus/template';
1
+ import * as template_u1 from '@esportsplus/template';
2
2
  import { component } from '@esportsplus/template';
3
3
  import './scss/index.scss';
4
- const template_u1h = template_u0.template(`<div class='overlay --scrollbar' >`);
4
+ const template_0ip26l11 = template_u1.template(`<div class='overlay --scrollbar'>`);
5
5
  export default component(function (attributes, content) {
6
6
  return (() => {
7
- let root_u1g = template_u1h(), element_u1i = root_u1g.firstChild;
8
- template_u0.setProperties(element_u1i, this?.attributes);
9
- template_u0.setProperties(element_u1i, attributes);
10
- template_u0.slot(element_u1i, content, 1);
11
- return root_u1g;
7
+ let root_0ip26l10 = template_0ip26l11(), element_0ip26l12 = root_0ip26l10.firstChild;
8
+ template_u1.setProperties(element_0ip26l12, this?.attributes);
9
+ template_u1.setProperties(element_0ip26l12, attributes);
10
+ template_u1.slot(element_0ip26l12, content, 1);
11
+ return root_0ip26l10;
12
12
  })();
13
13
  });
@@ -0,0 +1,24 @@
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 };
@@ -0,0 +1,116 @@
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 });
@@ -0,0 +1,2 @@
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*/
@@ -0,0 +1,11 @@
1
+ import { type Attributes } from '@esportsplus/template';
2
+ import './scss/index.scss';
3
+ export default _default;
4
+ declare function _default({ onchange, siblings, state: api, total, ...attributes }: Attributes & {
5
+ onchange?: (page: number) => void;
6
+ siblings?: number;
7
+ state?: {
8
+ page: number;
9
+ };
10
+ total: number;
11
+ }): DocumentFragment | Text;
@@ -0,0 +1,109 @@
1
+ import * as template_u1 from '@esportsplus/template';
2
+ import * as reactivity_u0 from '@esportsplus/reactivity';
3
+ import { effect, onCleanup, untrack } from '@esportsplus/reactivity';
4
+ import icon from '../icon/index.js';
5
+ import next from './svg/arrow-right.svg';
6
+ import previous from './svg/arrow-left.svg';
7
+ import './scss/index.scss';
8
+ const template_0rssf9r3 = template_u1.template(`<nav aria-label='Pagination' class='pagination'><button class='button pagination-control ' type='button'><!--$--> Previous </button><div class='pagination-pages'></div><button class='button pagination-control ' type='button'> Next `);
9
+ const template_0rssf9ra = template_u1.template(`<button class='button pagination-page ' type='button'>`);
10
+ class ReactiveObject_0rssf9r0 extends reactivity_u0.ReactiveObject {
11
+ #page = this[reactivity_u0.SIGNAL](1);
12
+ constructor() {
13
+ super(null);
14
+ }
15
+ get page() {
16
+ return reactivity_u0.read(this.#page);
17
+ }
18
+ set page(_v0) {
19
+ reactivity_u0.write(this.#page, _v0);
20
+ }
21
+ }
22
+ class ReactiveObject_0rssf9r1 extends reactivity_u0.ReactiveObject {
23
+ #value;
24
+ constructor(_p0) {
25
+ super(null);
26
+ this.#value = this[reactivity_u0.SIGNAL](_p0);
27
+ }
28
+ get value() {
29
+ return reactivity_u0.read(this.#value);
30
+ }
31
+ set value(_v0) {
32
+ reactivity_u0.write(this.#value, _v0);
33
+ }
34
+ }
35
+ const DOTS = 0;
36
+ function range(start, end) {
37
+ let values = [];
38
+ for (let i = start; i <= end; i++) {
39
+ values.push(i);
40
+ }
41
+ return values;
42
+ }
43
+ function pages(page, siblings, total) {
44
+ let slots = siblings * 2 + 5;
45
+ if (total <= slots) {
46
+ return range(1, total);
47
+ }
48
+ let edge = slots - 2, left = Math.max(page - siblings, 1), right = Math.min(page + siblings, total);
49
+ if (left <= 3) {
50
+ return [...range(1, edge), DOTS, total];
51
+ }
52
+ if (right >= total - 2) {
53
+ return [1, DOTS, ...range(total - edge + 1, total)];
54
+ }
55
+ return [1, DOTS, ...range(left, right), DOTS, total];
56
+ }
57
+ export default ({ onchange, siblings = 1, state: api = new ReactiveObject_0rssf9r0(), total, ...attributes }) => {
58
+ let render = new reactivity_u0.ReactiveArray(), stop = effect(() => {
59
+ let values = pages(api.page, siblings, total);
60
+ untrack(() => {
61
+ for (let i = 0, n = values.length; i < n; i++) {
62
+ if (render[i]) {
63
+ render[i].value = values[i];
64
+ }
65
+ else {
66
+ let cell = new ReactiveObject_0rssf9r1(values[i]);
67
+ render.$set(i, cell);
68
+ }
69
+ }
70
+ if (render.$length > values.length) {
71
+ render.splice(values.length);
72
+ }
73
+ });
74
+ });
75
+ function go(page) {
76
+ page = Math.min(Math.max(page, 1), total);
77
+ if (page === api.page) {
78
+ return;
79
+ }
80
+ api.page = page;
81
+ onchange?.(page);
82
+ }
83
+ onCleanup(stop);
84
+ return (() => {
85
+ let root_0rssf9r2 = template_0rssf9r3(), element_0rssf9r4 = root_0rssf9r2.firstChild, element_0rssf9r5 = element_0rssf9r4.firstElementChild, element_0rssf9r6 = element_0rssf9r5.firstChild, element_0rssf9r7 = element_0rssf9r5.nextElementSibling, element_0rssf9r8 = element_0rssf9r7.nextElementSibling;
86
+ template_u1.setProperties(element_0rssf9r4, attributes);
87
+ template_u1.setProperty(element_0rssf9r5, 'aria-disabled', () => String(api.page <= 1));
88
+ template_u1.setList(element_0rssf9r5, 'class', () => api.page <= 1 ? '--disabled' : '');
89
+ template_u1.delegate(element_0rssf9r5, 'click', () => go(api.page - 1));
90
+ template_u1.slot(element_0rssf9r6, icon({ 'aria-hidden': 'true' }, previous));
91
+ element_0rssf9r7.appendChild(new template_u1.ArraySlot(render, function (cell) {
92
+ return (() => {
93
+ let root_0rssf9r9 = template_0rssf9ra(), element_0rssf9rb = root_0rssf9r9.firstChild;
94
+ template_u1.setProperty(element_0rssf9rb, 'aria-current', () => cell.value === api.page ? 'page' : 'false');
95
+ template_u1.setProperty(element_0rssf9rb, 'aria-hidden', () => String(cell.value === DOTS));
96
+ template_u1.setList(element_0rssf9rb, 'class', () => cell.value === DOTS ? 'pagination-page--dots' : cell.value === api.page ? '--active' : '');
97
+ template_u1.delegate(element_0rssf9rb, 'click', () => cell.value !== DOTS && go(cell.value));
98
+ template_u1.setProperty(element_0rssf9rb, 'tabindex', () => cell.value === DOTS ? -1 : 0);
99
+ new template_u1.EffectSlot(element_0rssf9rb, () => cell.value === DOTS ? '...' : cell.value, 1);
100
+ return root_0rssf9r9;
101
+ })();
102
+ }, true).fragment);
103
+ template_u1.setProperty(element_0rssf9r8, 'aria-disabled', () => String(api.page >= total));
104
+ template_u1.setList(element_0rssf9r8, 'class', () => api.page >= total ? '--disabled' : '');
105
+ template_u1.delegate(element_0rssf9r8, 'click', () => go(api.page + 1));
106
+ template_u1.slot(element_0rssf9r8, icon({ 'aria-hidden': 'true' }, next), 2);
107
+ return root_0rssf9r2;
108
+ })();
109
+ };
@@ -0,0 +1,2 @@
1
+ @layer components {.button-fan{align-items:center;display:inline-flex;position:relative}.button-fan.--active{z-index:9}.button-fan.--active>.button-fan-options>.button-fan-option{--delay:calc(var(--i) * var(--stagger));opacity:1;pointer-events:auto;translate:0;scale:1}.button-fan.--active>.button-fan-options>.button-fan-option:active{scale:var(--option-pressed-scale)}.button-fan.--active>.button--fan .button-fan-swap>:first-child{opacity:0;rotate:var(--swap-rotate)}.button-fan.--active>.button--fan .button-fan-swap>:last-child{opacity:1;rotate:0deg}.button-fan-options{align-items:center;gap:var(--spacer);pointer-events:none;z-index:0;display:flex;position:absolute}.button-fan-swap{place-items:center;display:inline-grid}.button-fan-swap>*{transition:opacity var(--swap-spring-duration) var(--swap-spring), rotate var(--swap-spring-duration) var(--swap-spring);grid-area:1/1}.button-fan-swap>:last-child{opacity:0;rotate:calc(var(--swap-rotate) * -1)}.button-fan>.button-fan-options>.button-fan-option{--delay:calc((var(--n) - 1 - var(--i)) * var(--stagger));opacity:0;scale:var(--option-scale);transform-origin:var(--origin);transition:opacity var(--option-opacity-duration) ease-out var(--delay), scale var(--option-spring-duration) var(--option-spring) var(--delay), translate var(--option-spring-duration) var(--option-spring) var(--delay);translate:calc((100% + var(--spacer)) * (var(--i) + 1) * var(--direction-x)) calc((100% + var(--spacer)) * (var(--i) + 1) * var(--direction-y))}.button-fan>.button-fan-options>.button-fan-option:focus-visible,.button-fan>.button--fan:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}.button-fan--e>.button-fan-options{padding-left:var(--spacer);flex-direction:row;inset:0 auto 0 100%}.button-fan--n>.button-fan-options{padding-bottom:var(--spacer);flex-direction:column-reverse;inset:auto 0 100%}.button-fan--s>.button-fan-options{padding-top:var(--spacer);flex-direction:column;inset:100% 0 auto}.button-fan--w>.button-fan-options{padding-right:var(--spacer);flex-direction:row-reverse;inset:0 100% 0 auto}@media (prefers-reduced-motion:reduce){.button-fan{--swap-rotate:0deg}.button-fan>.button-fan-options>.button-fan-option{transition:opacity .15s ease-out;translate:none;scale:1}.button-fan .button-fan-swap>*{transition:opacity .15s ease-out}}.button-kbd{align-items:center;gap:var(--gap);display:inline-flex}.button-kbd .button-kbd-plus{--size:var(--plus-size);color:var(--plus-color)}.button{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed: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-color-pressed:var(--border-color-default);--box-shadow:var(--box-shadow-default);--box-shadow-default:none}.button.--active{--background:var(--background-active);--border-color:var(--border-color-active);--color:var(--color-active)}.button:not(.--active):hover{--background:var(--background-hover);--border-color:var(--border-color-hover);--color:var(--color-hover)}.button:not(.--active):active{--background:var(--background-pressed);--border-color:var(--border-color-pressed);--color:var(--color-pressed)}.button--feedback{--draw-duration:.26s;--draw-timing-function:cubic-bezier(.23, 1, .32, 1);--error-color:var(--color-red-400);--face-blur:3px;--face-duration:.4s;--face-gap:.375em;--face-offset:3px;--face-timing-function:cubic-bezier(.23, 1, .32, 1);--icon-size:.875em;--spin-duration:.85s;--success-color:var(--color-green-500)}.button--hold{--fill-background:var(--color);--fill-color:var(--background)}.button--kbd{--box-shadow-default:0 var(--kbd-depth) 0 var(--kbd-shadow-color);--kbd-depth:2px;--kbd-shadow-color:color-mix(in srgb, var(--background-default) 60%, black)}.button--kbd.--active,.button--kbd:not(.--active):active{--background:var(--background-active);--box-shadow:0 calc(var(--kbd-depth) - 1px) 0 var(--kbd-shadow-color)}.button--processing{--animation-duration:.64s;--border-width:var(--border-width-400);--processing-color:var(--color);--size:var(--size-400)}.button--skeleton{--animation-duration:6.4s}.button-fan{--focus-color:currentColor;--focus-offset:2px;--focus-width:2px;--option-opacity-duration:.2s;--option-pressed-scale:.92;--option-scale:.5;--option-spring:linear(0, .067, .221, .406, .586, .741, .862, .949, 1.006, 1.037, 1.051, 1.053, 1.047, 1.038, 1.028, 1.019, 1.011, 1.006, 1.002, .999, .998, .997, .997, .998, 1);--option-spring-duration:.6s;--spacer:var(--size-300);--stagger:30ms;--swap-rotate:90deg;--swap-spring:linear(0, .07, .228, .418, .602, .759, .88, .965, 1.019, 1.047, 1.058, 1.056, 1.048, 1.038, 1.027, 1.017, 1.009, 1.003, 1, .998, .997, .997, .997, .998, 1);--swap-spring-duration:.44s;--trigger-pressed-scale:.94}.button-fan--e{--direction-x:-1;--direction-y:0;--origin:left center}.button-fan--n{--direction-x:0;--direction-y:1;--origin:center bottom}.button-fan--s{--direction-x:0;--direction-y:-1;--origin:center top}.button-fan--w{--direction-x:1;--direction-y:0;--origin:right center}.button-kbd{--gap:var(--size-200);--plus-color:color-mix(in srgb, currentColor 60%, transparent);--plus-size:var(--size-300)}.text,.button{--border-width:0px;--color:var(--color-default,inherit);--color-active:var(--color-default);--color-default:var(--color-text-400);--color-hover:var(--color-default);--color-pressed:var(--color-default);--width:auto;color:var(--color);font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--line-height);gap:var(--gap-vertical) var(--gap-horizontal);transition:color var(--transition-duration) var(--transition-timing-function);width:var(--width);display:flex;position:relative}.text.--text-truncate,.--text-truncate.button{display:block}.button{background:var(--background);border-radius:var(--border-radius);cursor:pointer;padding-block:max(0px, var(--padding-vertical) - var(--border-width));padding-inline:max(0px, var(--padding-horizontal) - var(--border-width));transition:all var(--transition-duration) var(--transition-timing-function);white-space:nowrap;flex-wrap:nowrap;place-content:center;align-items:center;translate:0}.button:after{border-radius:inherit;box-shadow:var(--box-shadow);content:"";pointer-events:none;transition:box-shadow var(--transition-duration) var(--transition-timing-function), opacity var(--transition-duration) var(--transition-timing-function);z-index:-1;position:absolute;inset:0}.button--fan{z-index:1}.button--fan:not(.--active):active{scale:var(--trigger-pressed-scale)}.button--feedback{-webkit-touch-callout:none;touch-action:manipulation;-webkit-user-select:none;user-select:none}.button--flat:after{display:none}.button--hold{isolation:isolate;overflow:hidden}.button--kbd.--active,.button--kbd:not(.--active):active{translate:0 1px}.button--processing{color:#0000;pointer-events:none}.button--processing:before{animation:button--processing var(--animation-duration) infinite linear;border:var(--border-width) solid color-mix(in srgb, var(--processing-color), transparent 90%);border-left-color:var(--processing-color);content:"";height:var(--size);width:var(--size);border-top-color:#0000;border-right-color:#0000;border-radius:100%;position:absolute;bottom:50%;right:50%;translate:50% 50%}.button--processing *{opacity:0}@keyframes button--processing{0%{rotate:0deg}to{rotate:360deg}}.button--skeleton{animation:var(--animation-duration) var(--transition-timing-function) infinite button--skeleton;background-image:linear-gradient(270deg, var(--background-pressed), var(--background-default), var(--background-default), var(--background-pressed));color:#0000;pointer-events:none;background-size:400% 100%}.button--skeleton *{opacity:0}@keyframes button--skeleton{0%{background-position:200% 0}to{background-position:-200% 0}}.button--tactile:not(.--active):active{translate:0 1px}.button--top-left,.button--top-right{top:calc((var(--padding-vertical) + .5lh) * -1);position:absolute}.button--top-left{left:calc((var(--padding-horizontal) + .5lh) * -1)}.button--top-right{right:calc((var(--padding-horizontal) + .5lh) * -1)}.button--underline.--active,.button--underline:not(.--active):hover{text-decoration:underline}.button-face{filter:blur(var(--face-blur));align-items:center;gap:var(--face-gap);opacity:0;transition:filter var(--face-duration) var(--face-timing-function), opacity var(--face-duration) var(--face-timing-function), translate var(--face-duration) var(--face-timing-function);translate:0 var(--face-offset);grid-area:1/1;display:inline-flex}.button-face.--active{filter:blur();opacity:1;translate:0}.button-face.--active .button-icon--draw path{stroke-dashoffset:0}.button-face[data-tone=error] .button-icon{color:var(--error-color)}.button-face[data-tone=success] .button-icon{color:var(--success-color)}.button-faces{place-items:center;display:grid}.button-fill{background:var(--fill-background);border-radius:inherit;clip-path:inset(0 100% 0 0);color:var(--fill-color);pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.button-icon{height:var(--icon-size);width:var(--icon-size);flex-shrink:0}.button-icon--draw path{stroke-dasharray:1;stroke-dashoffset:1px;transition:stroke-dashoffset var(--draw-duration) var(--draw-timing-function)}.button-icon--spin{animation:button--processing var(--spin-duration) infinite linear}.button-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.button--skeleton,.button-icon--spin{animation:none}.button-face,.button-icon--draw path{transition:none}}.pagination{--gap:var(--size-300);--size:32px}.pagination-control,.pagination-page{--background-hover:var(--color-grey-400);--background-pressed:var(--color-grey-500);--border-color-default:var(--color-border-300);--border-radius:var(--border-radius-400);--border-width:var(--border-width-400);--color-default:var(--color-text-300);--color-hover:var(--color-text-500);--font-size:var(--font-size-300);--font-weight:var(--font-weight-500);--padding-horizontal:var(--size-300);--padding-vertical:0px;--width:auto}.pagination-control{--background-default:var(--color-white-300);--box-shadow-default:var(--box-shadow-100);--color-default:var(--color-text-500)}.pagination-page{--background-active:var(--color-white-300);--border-color-active:var(--color-border-300);--border-color-default:transparent;--color-active:var(--color-text-500);--padding-horizontal:0px}.pagination-page--dots{--background-hover:transparent;--background-pressed:transparent;--color-hover:var(--color-default)}.pagination{align-items:center;gap:var(--gap);justify-content:space-between;width:100%;display:flex}.pagination-control,.pagination-page{border:var(--border-width) solid var(--border-color);height:var(--size)}.pagination-control{gap:var(--size-100)}.pagination-control .icon{--size:var(--size-400)}.pagination-page{font-variant:tabular-nums;min-width:var(--size)}.pagination-page.--active{--box-shadow:var(--box-shadow-100)}.pagination-page--dots{cursor:default;pointer-events:none}.pagination-pages{align-items:center;gap:var(--size-100);display:flex}}
2
+ /*$vite$:1*/
@@ -0,0 +1 @@
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>
@@ -0,0 +1 @@
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>
@@ -0,0 +1,2 @@
1
+ declare const PASSWORD_INPUT: unique symbol;
2
+ export { PASSWORD_INPUT };
@@ -0,0 +1,2 @@
1
+ const PASSWORD_INPUT = Symbol.for('@esportsplus/ui/password.input');
2
+ export { PASSWORD_INPUT };
@@ -0,0 +1,22 @@
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;