@yewdiel21/motion-kit 0.10.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/README.md +81 -0
  2. package/bin/motion-kit.mjs +3 -3
  3. package/dist/auto/index.d.ts +56 -3
  4. package/dist/auto/index.js +107 -3
  5. package/dist/auto/index.js.map +1 -1
  6. package/dist/{chunk-XAKC2QY7.js → chunk-6IRJYXJU.js} +3 -28
  7. package/dist/chunk-6IRJYXJU.js.map +1 -0
  8. package/dist/chunk-A6QQCF6V.js +21333 -0
  9. package/dist/chunk-A6QQCF6V.js.map +1 -0
  10. package/dist/chunk-JXRS3OEA.js +3638 -0
  11. package/dist/chunk-JXRS3OEA.js.map +1 -0
  12. package/dist/chunk-QP4QJOEN.js +72 -0
  13. package/dist/chunk-QP4QJOEN.js.map +1 -0
  14. package/dist/css/components/activity-feed.css +240 -0
  15. package/dist/css/components/add-to-cart.css +72 -0
  16. package/dist/css/components/attachment.css +266 -0
  17. package/dist/css/components/bidirectional-slider.css +168 -0
  18. package/dist/css/components/breadcrumb.css +110 -0
  19. package/dist/css/components/chart-tooltip.css +168 -0
  20. package/dist/css/components/chart.css +296 -0
  21. package/dist/css/components/code-block.css +264 -0
  22. package/dist/css/components/color-area.css +82 -0
  23. package/dist/css/components/color-field.css +67 -0
  24. package/dist/css/components/color-picker.css +131 -0
  25. package/dist/css/components/color-slider.css +113 -0
  26. package/dist/css/components/command-search.css +252 -0
  27. package/dist/css/components/context-menu.css +23 -0
  28. package/dist/css/components/credit-card.css +288 -0
  29. package/dist/css/components/data-table.css +686 -0
  30. package/dist/css/components/date-range-picker.css +168 -0
  31. package/dist/css/components/date-time-picker.css +178 -0
  32. package/dist/css/components/drawer.css +58 -0
  33. package/dist/css/components/editable-table.css +201 -0
  34. package/dist/css/components/empty-state.css +61 -0
  35. package/dist/css/components/file-explorer.css +633 -0
  36. package/dist/css/components/filter-builder.css +227 -0
  37. package/dist/css/components/heatmap-chart.css +391 -0
  38. package/dist/css/components/hold-confirm.css +87 -0
  39. package/dist/css/components/hover-card.css +19 -7
  40. package/dist/css/components/image-preview.css +283 -0
  41. package/dist/css/components/json-viewer.css +304 -0
  42. package/dist/css/components/like-button.css +78 -0
  43. package/dist/css/components/link-preview.css +275 -0
  44. package/dist/css/components/loading-button.css +77 -0
  45. package/dist/css/components/multi-select.css +267 -0
  46. package/dist/css/components/nav.css +102 -102
  47. package/dist/css/components/notification-bell.css +127 -0
  48. package/dist/css/components/orbit-menu.css +130 -0
  49. package/dist/css/components/pagination.css +10 -5
  50. package/dist/css/components/password-strength.css +183 -0
  51. package/dist/css/components/pie-chart.css +390 -0
  52. package/dist/css/components/pill-button.css +135 -0
  53. package/dist/css/components/popover.css +25 -0
  54. package/dist/css/components/progress.css +140 -0
  55. package/dist/css/components/questionnaire.css +217 -0
  56. package/dist/css/components/radar-chart.css +370 -0
  57. package/dist/css/components/radial-chart.css +398 -0
  58. package/dist/css/components/range-calendar.css +186 -0
  59. package/dist/css/components/range-slider.css +192 -0
  60. package/dist/css/components/resizable-panel.css +243 -0
  61. package/dist/css/components/rich-text-editor.css +284 -0
  62. package/dist/css/components/sankey-chart.css +358 -0
  63. package/dist/css/components/scratch-card.css +75 -0
  64. package/dist/css/components/scroll-island.css +111 -0
  65. package/dist/css/components/select.css +136 -0
  66. package/dist/css/components/skeleton.css +108 -0
  67. package/dist/css/components/split-view.css +19 -0
  68. package/dist/css/components/star-rating.css +80 -0
  69. package/dist/css/components/stat-card.css +164 -0
  70. package/dist/css/components/swipe-actions.css +105 -0
  71. package/dist/css/components/tag-input.css +244 -0
  72. package/dist/css/components/time-field.css +88 -0
  73. package/dist/css/components/timeline.css +219 -0
  74. package/dist/css/components/toolbar.css +122 -0
  75. package/dist/css/components/tooltip.css +79 -0
  76. package/dist/css/components/tree-view.css +289 -0
  77. package/dist/css/components/virtual-list.css +195 -0
  78. package/dist/css/components/voice-dots.css +70 -0
  79. package/dist/css/tokens.css +185 -181
  80. package/dist/elements/index.d.ts +849 -7
  81. package/dist/elements/index.js +1642 -8
  82. package/dist/elements/index.js.map +1 -1
  83. package/dist/{engine-GDGwQnJE.d.ts → engine-5zRIssTO.d.ts} +11 -1
  84. package/dist/engine-QECQnGz1.d.ts +33 -0
  85. package/dist/index.css +10890 -311
  86. package/dist/index.d.ts +89 -5
  87. package/dist/index.js +273 -9
  88. package/dist/index.js.map +1 -1
  89. package/dist/react/index.d.ts +686 -24
  90. package/dist/react/index.js +2345 -9
  91. package/dist/react/index.js.map +1 -1
  92. package/dist/{reduced-BmBzKH94.d.ts → reduced-6X_bns60.d.ts} +9 -2
  93. package/dist/reveal-BfyKKsw4.d.ts +2474 -0
  94. package/dist/store-CA2Qcun_.d.ts +453 -0
  95. package/package.json +9 -16
  96. package/registry.json +1096 -543
  97. package/src/auto/auto-init.ts +104 -0
  98. package/src/components/activity-feed/README.md +56 -0
  99. package/src/components/activity-feed/activity-feed.css +239 -0
  100. package/src/components/activity-feed/element.ts +36 -0
  101. package/src/components/activity-feed/engine.ts +351 -0
  102. package/src/components/activity-feed/react.tsx +32 -0
  103. package/src/components/add-to-cart/README.md +34 -0
  104. package/src/components/add-to-cart/add-to-cart.css +71 -0
  105. package/src/components/add-to-cart/element.ts +20 -0
  106. package/src/components/add-to-cart/engine.ts +206 -0
  107. package/src/components/add-to-cart/react.tsx +29 -0
  108. package/src/components/attachment/README.md +27 -0
  109. package/src/components/attachment/attachment.css +265 -0
  110. package/src/components/attachment/element.ts +50 -0
  111. package/src/components/attachment/engine.ts +469 -0
  112. package/src/components/attachment/react.tsx +65 -0
  113. package/src/components/bidirectional-slider/README.md +46 -0
  114. package/src/components/bidirectional-slider/bidirectional-slider.css +167 -0
  115. package/src/components/bidirectional-slider/element.ts +42 -0
  116. package/src/components/bidirectional-slider/engine.ts +289 -0
  117. package/src/components/bidirectional-slider/react.tsx +45 -0
  118. package/src/components/breadcrumb/README.md +38 -0
  119. package/src/components/breadcrumb/breadcrumb.css +109 -0
  120. package/src/components/breadcrumb/element.ts +27 -0
  121. package/src/components/breadcrumb/engine.ts +249 -0
  122. package/src/components/breadcrumb/react.tsx +30 -0
  123. package/src/components/chart/README.md +34 -0
  124. package/src/components/chart/chart.css +295 -0
  125. package/src/components/chart/element.ts +43 -0
  126. package/src/components/chart/engine.ts +838 -0
  127. package/src/components/chart/parts.ts +237 -0
  128. package/src/components/chart/react.tsx +50 -0
  129. package/src/components/chart/use-chart.ts +55 -0
  130. package/src/components/chart-tooltip/README.md +53 -0
  131. package/src/components/chart-tooltip/chart-tooltip.css +167 -0
  132. package/src/components/chart-tooltip/element.ts +37 -0
  133. package/src/components/chart-tooltip/engine.ts +442 -0
  134. package/src/components/chart-tooltip/react.tsx +47 -0
  135. package/src/components/code-block/README.md +19 -0
  136. package/src/components/code-block/code-block.css +263 -0
  137. package/src/components/code-block/element.ts +34 -0
  138. package/src/components/code-block/engine.ts +254 -0
  139. package/src/components/code-block/highlight.ts +244 -0
  140. package/src/components/code-block/react.tsx +94 -0
  141. package/src/components/color-area/README.md +50 -0
  142. package/src/components/color-area/color-area.css +81 -0
  143. package/src/components/color-area/element.ts +26 -0
  144. package/src/components/color-area/engine.ts +246 -0
  145. package/src/components/color-area/react.tsx +42 -0
  146. package/src/components/color-field/README.md +43 -0
  147. package/src/components/color-field/color-field.css +66 -0
  148. package/src/components/color-field/element.ts +26 -0
  149. package/src/components/color-field/engine.ts +174 -0
  150. package/src/components/color-field/react.tsx +42 -0
  151. package/src/components/color-picker/README.md +45 -0
  152. package/src/components/color-picker/color-picker.css +130 -0
  153. package/src/components/color-picker/element.ts +45 -0
  154. package/src/components/color-picker/engine.ts +314 -0
  155. package/src/components/color-picker/react.tsx +47 -0
  156. package/src/components/color-slider/README.md +55 -0
  157. package/src/components/color-slider/color-slider.css +112 -0
  158. package/src/components/color-slider/element.ts +26 -0
  159. package/src/components/color-slider/engine.ts +234 -0
  160. package/src/components/color-slider/react.tsx +45 -0
  161. package/src/components/command-search/README.md +15 -0
  162. package/src/components/command-search/command-search.css +251 -0
  163. package/src/components/command-search/element.ts +36 -0
  164. package/src/components/command-search/engine.ts +356 -0
  165. package/src/components/command-search/match.ts +53 -0
  166. package/src/components/command-search/react.tsx +66 -0
  167. package/src/components/context-menu/README.md +31 -0
  168. package/src/components/context-menu/context-menu.css +22 -0
  169. package/src/components/context-menu/element.ts +40 -0
  170. package/src/components/context-menu/engine.ts +153 -0
  171. package/src/components/context-menu/react.tsx +57 -0
  172. package/src/components/credit-card/README.md +20 -0
  173. package/src/components/credit-card/card.ts +77 -0
  174. package/src/components/credit-card/credit-card.css +287 -0
  175. package/src/components/credit-card/element.ts +33 -0
  176. package/src/components/credit-card/engine.ts +410 -0
  177. package/src/components/credit-card/react.tsx +36 -0
  178. package/src/components/data-table/README.md +83 -0
  179. package/src/components/data-table/data-table.css +685 -0
  180. package/src/components/data-table/element.ts +54 -0
  181. package/src/components/data-table/engine.ts +1111 -0
  182. package/src/components/data-table/react.tsx +94 -0
  183. package/src/components/date-range-picker/README.md +51 -0
  184. package/src/components/date-range-picker/date-range-picker.css +167 -0
  185. package/src/components/date-range-picker/element.ts +52 -0
  186. package/src/components/date-range-picker/engine.ts +352 -0
  187. package/src/components/date-range-picker/react.tsx +57 -0
  188. package/src/components/date-time-picker/README.md +48 -0
  189. package/src/components/date-time-picker/date-time-picker.css +177 -0
  190. package/src/components/date-time-picker/element.ts +47 -0
  191. package/src/components/date-time-picker/engine.ts +350 -0
  192. package/src/components/date-time-picker/react.tsx +54 -0
  193. package/src/components/dialog/README.md +103 -102
  194. package/src/components/dialog/element.ts +123 -118
  195. package/src/components/dialog/engine.ts +449 -432
  196. package/src/components/drawer/README.md +28 -0
  197. package/src/components/drawer/drawer.css +57 -0
  198. package/src/components/drawer/element.ts +21 -0
  199. package/src/components/drawer/engine.ts +56 -0
  200. package/src/components/drawer/react.tsx +85 -0
  201. package/src/components/editable-table/README.md +67 -0
  202. package/src/components/editable-table/editable-table.css +200 -0
  203. package/src/components/editable-table/element.ts +45 -0
  204. package/src/components/editable-table/engine.ts +831 -0
  205. package/src/components/editable-table/react.tsx +79 -0
  206. package/src/components/empty-state/README.md +41 -0
  207. package/src/components/empty-state/element.ts +23 -0
  208. package/src/components/empty-state/empty-state.css +60 -0
  209. package/src/components/empty-state/engine.ts +232 -0
  210. package/src/components/empty-state/react.tsx +34 -0
  211. package/src/components/file-explorer/README.md +67 -0
  212. package/src/components/file-explorer/element.ts +39 -0
  213. package/src/components/file-explorer/engine.ts +1307 -0
  214. package/src/components/file-explorer/file-explorer.css +632 -0
  215. package/src/components/file-explorer/react.tsx +77 -0
  216. package/src/components/filter-builder/README.md +47 -0
  217. package/src/components/filter-builder/element.ts +34 -0
  218. package/src/components/filter-builder/engine.ts +396 -0
  219. package/src/components/filter-builder/filter-builder.css +226 -0
  220. package/src/components/filter-builder/react.tsx +36 -0
  221. package/src/components/heatmap-chart/README.md +48 -0
  222. package/src/components/heatmap-chart/element.ts +21 -0
  223. package/src/components/heatmap-chart/engine.ts +281 -0
  224. package/src/components/heatmap-chart/heatmap-chart.css +93 -0
  225. package/src/components/heatmap-chart/react.tsx +14 -0
  226. package/src/components/hold-confirm/README.md +13 -0
  227. package/src/components/hold-confirm/element.ts +24 -0
  228. package/src/components/hold-confirm/engine.ts +216 -0
  229. package/src/components/hold-confirm/hold-confirm.css +86 -0
  230. package/src/components/hold-confirm/react.tsx +28 -0
  231. package/src/components/hover-card/README.md +6 -2
  232. package/src/components/hover-card/engine.ts +98 -7
  233. package/src/components/hover-card/hover-card.css +19 -7
  234. package/src/components/image-preview/README.md +16 -0
  235. package/src/components/image-preview/element.ts +26 -0
  236. package/src/components/image-preview/engine.ts +405 -0
  237. package/src/components/image-preview/image-preview.css +282 -0
  238. package/src/components/image-preview/react.tsx +43 -0
  239. package/src/components/json-viewer/README.md +56 -0
  240. package/src/components/json-viewer/element.ts +37 -0
  241. package/src/components/json-viewer/engine.ts +449 -0
  242. package/src/components/json-viewer/json-viewer.css +303 -0
  243. package/src/components/json-viewer/react.tsx +56 -0
  244. package/src/components/like-button/README.md +13 -0
  245. package/src/components/like-button/element.ts +47 -0
  246. package/src/components/like-button/engine.ts +145 -0
  247. package/src/components/like-button/like-button.css +77 -0
  248. package/src/components/like-button/react.tsx +39 -0
  249. package/src/components/link-preview/README.md +19 -0
  250. package/src/components/link-preview/element.ts +29 -0
  251. package/src/components/link-preview/engine.ts +192 -0
  252. package/src/components/link-preview/link-preview.css +274 -0
  253. package/src/components/link-preview/react.tsx +101 -0
  254. package/src/components/loading-button/README.md +45 -0
  255. package/src/components/loading-button/element.ts +34 -0
  256. package/src/components/loading-button/engine.ts +201 -0
  257. package/src/components/loading-button/loading-button.css +76 -0
  258. package/src/components/loading-button/react.tsx +43 -0
  259. package/src/components/multi-select/README.md +48 -0
  260. package/src/components/multi-select/element.ts +28 -0
  261. package/src/components/multi-select/engine.ts +294 -0
  262. package/src/components/multi-select/multi-select.css +266 -0
  263. package/src/components/multi-select/react.tsx +39 -0
  264. package/src/components/nav/README.md +12 -10
  265. package/src/components/nav/element.ts +5 -5
  266. package/src/components/nav/engine.ts +21 -14
  267. package/src/components/nav/nav.css +102 -102
  268. package/src/components/nav/react.tsx +4 -4
  269. package/src/components/notification-bell/README.md +14 -0
  270. package/src/components/notification-bell/element.ts +48 -0
  271. package/src/components/notification-bell/engine.ts +202 -0
  272. package/src/components/notification-bell/notification-bell.css +126 -0
  273. package/src/components/notification-bell/react.tsx +57 -0
  274. package/src/components/orbit-menu/README.md +46 -0
  275. package/src/components/orbit-menu/element.ts +27 -0
  276. package/src/components/orbit-menu/engine.ts +179 -0
  277. package/src/components/orbit-menu/orbit-menu.css +129 -0
  278. package/src/components/orbit-menu/react.tsx +44 -0
  279. package/src/components/pagination/README.md +1 -1
  280. package/src/components/pagination/engine.ts +50 -4
  281. package/src/components/pagination/pagination.css +10 -5
  282. package/src/components/password-strength/README.md +17 -0
  283. package/src/components/password-strength/element.ts +22 -0
  284. package/src/components/password-strength/engine.ts +212 -0
  285. package/src/components/password-strength/password-strength.css +182 -0
  286. package/src/components/password-strength/react.tsx +36 -0
  287. package/src/components/password-strength/score.ts +62 -0
  288. package/src/components/pie-chart/README.md +48 -0
  289. package/src/components/pie-chart/element.ts +30 -0
  290. package/src/components/pie-chart/engine.ts +283 -0
  291. package/src/components/pie-chart/pie-chart.css +92 -0
  292. package/src/components/pie-chart/react.tsx +14 -0
  293. package/src/components/pill-button/README.md +46 -0
  294. package/src/components/pill-button/element.ts +16 -0
  295. package/src/components/pill-button/engine.ts +77 -0
  296. package/src/components/pill-button/pill-button.css +134 -0
  297. package/src/components/pill-button/react.tsx +32 -0
  298. package/src/components/popover/README.md +44 -0
  299. package/src/components/popover/element.ts +31 -0
  300. package/src/components/popover/engine.ts +114 -0
  301. package/src/components/popover/popover.css +24 -0
  302. package/src/components/popover/react.tsx +50 -0
  303. package/src/components/progress/README.md +17 -0
  304. package/src/components/progress/element.ts +30 -0
  305. package/src/components/progress/engine.ts +173 -0
  306. package/src/components/progress/progress.css +139 -0
  307. package/src/components/progress/react.tsx +35 -0
  308. package/src/components/questionnaire/README.md +32 -0
  309. package/src/components/questionnaire/element.ts +118 -0
  310. package/src/components/questionnaire/engine.ts +255 -0
  311. package/src/components/questionnaire/questionnaire.css +216 -0
  312. package/src/components/questionnaire/react.tsx +140 -0
  313. package/src/components/radar-chart/README.md +48 -0
  314. package/src/components/radar-chart/element.ts +30 -0
  315. package/src/components/radar-chart/engine.ts +327 -0
  316. package/src/components/radar-chart/radar-chart.css +72 -0
  317. package/src/components/radar-chart/react.tsx +14 -0
  318. package/src/components/radial-chart/README.md +48 -0
  319. package/src/components/radial-chart/element.ts +30 -0
  320. package/src/components/radial-chart/engine.ts +290 -0
  321. package/src/components/radial-chart/radial-chart.css +100 -0
  322. package/src/components/radial-chart/react.tsx +14 -0
  323. package/src/components/range-calendar/README.md +58 -0
  324. package/src/components/range-calendar/element.ts +42 -0
  325. package/src/components/range-calendar/engine.ts +390 -0
  326. package/src/components/range-calendar/range-calendar.css +185 -0
  327. package/src/components/range-calendar/react.tsx +56 -0
  328. package/src/components/range-slider/README.md +23 -0
  329. package/src/components/range-slider/element.ts +53 -0
  330. package/src/components/range-slider/engine.ts +316 -0
  331. package/src/components/range-slider/range-slider.css +191 -0
  332. package/src/components/range-slider/react.tsx +66 -0
  333. package/src/components/resizable-panel/README.md +61 -0
  334. package/src/components/resizable-panel/element.ts +36 -0
  335. package/src/components/resizable-panel/engine.ts +551 -0
  336. package/src/components/resizable-panel/react.tsx +74 -0
  337. package/src/components/resizable-panel/resizable-panel.css +242 -0
  338. package/src/components/rich-text-editor/README.md +57 -0
  339. package/src/components/rich-text-editor/element.ts +34 -0
  340. package/src/components/rich-text-editor/engine.ts +673 -0
  341. package/src/components/rich-text-editor/react.tsx +60 -0
  342. package/src/components/rich-text-editor/rich-text-editor.css +283 -0
  343. package/src/components/sankey-chart/README.md +48 -0
  344. package/src/components/sankey-chart/element.ts +31 -0
  345. package/src/components/sankey-chart/engine.ts +401 -0
  346. package/src/components/sankey-chart/react.tsx +14 -0
  347. package/src/components/sankey-chart/sankey-chart.css +60 -0
  348. package/src/components/scratch-card/README.md +15 -0
  349. package/src/components/scratch-card/element.ts +30 -0
  350. package/src/components/scratch-card/engine.ts +257 -0
  351. package/src/components/scratch-card/react.tsx +40 -0
  352. package/src/components/scratch-card/scratch-card.css +74 -0
  353. package/src/components/scroll-island/README.md +34 -0
  354. package/src/components/scroll-island/element.ts +16 -0
  355. package/src/components/scroll-island/engine.ts +252 -0
  356. package/src/components/scroll-island/react.tsx +26 -0
  357. package/src/components/scroll-island/scroll-island.css +110 -0
  358. package/src/components/select/README.md +34 -0
  359. package/src/components/select/element.ts +26 -0
  360. package/src/components/select/engine.ts +267 -0
  361. package/src/components/select/react.tsx +33 -0
  362. package/src/components/select/select.css +135 -0
  363. package/src/components/skeleton/README.md +15 -0
  364. package/src/components/skeleton/element.ts +32 -0
  365. package/src/components/skeleton/engine.ts +104 -0
  366. package/src/components/skeleton/react.tsx +41 -0
  367. package/src/components/skeleton/skeleton.css +107 -0
  368. package/src/components/split-view/README.md +50 -0
  369. package/src/components/split-view/element.ts +34 -0
  370. package/src/components/split-view/engine.ts +114 -0
  371. package/src/components/split-view/react.tsx +63 -0
  372. package/src/components/split-view/split-view.css +18 -0
  373. package/src/components/star-rating/README.md +14 -0
  374. package/src/components/star-rating/element.ts +26 -0
  375. package/src/components/star-rating/engine.ts +217 -0
  376. package/src/components/star-rating/react.tsx +33 -0
  377. package/src/components/star-rating/star-rating.css +79 -0
  378. package/src/components/stat-card/README.md +42 -0
  379. package/src/components/stat-card/element.ts +40 -0
  380. package/src/components/stat-card/engine.ts +283 -0
  381. package/src/components/stat-card/react.tsx +36 -0
  382. package/src/components/stat-card/stat-card.css +163 -0
  383. package/src/components/swipe-actions/README.md +19 -0
  384. package/src/components/swipe-actions/element.ts +26 -0
  385. package/src/components/swipe-actions/engine.ts +260 -0
  386. package/src/components/swipe-actions/react.tsx +80 -0
  387. package/src/components/swipe-actions/swipe-actions.css +104 -0
  388. package/src/components/tag-input/README.md +42 -0
  389. package/src/components/tag-input/element.ts +39 -0
  390. package/src/components/tag-input/engine.ts +313 -0
  391. package/src/components/tag-input/react.tsx +54 -0
  392. package/src/components/tag-input/tag-input.css +243 -0
  393. package/src/components/time-field/README.md +54 -0
  394. package/src/components/time-field/element.ts +38 -0
  395. package/src/components/time-field/engine.ts +110 -0
  396. package/src/components/time-field/react.tsx +45 -0
  397. package/src/components/time-field/time-field.css +87 -0
  398. package/src/components/timeline/README.md +57 -0
  399. package/src/components/timeline/element.ts +31 -0
  400. package/src/components/timeline/engine.ts +300 -0
  401. package/src/components/timeline/react.tsx +59 -0
  402. package/src/components/timeline/timeline.css +218 -0
  403. package/src/components/toolbar/README.md +46 -0
  404. package/src/components/toolbar/element.ts +30 -0
  405. package/src/components/toolbar/engine.ts +230 -0
  406. package/src/components/toolbar/react.tsx +34 -0
  407. package/src/components/toolbar/toolbar.css +121 -0
  408. package/src/components/tooltip/README.md +46 -0
  409. package/src/components/tooltip/element.ts +22 -0
  410. package/src/components/tooltip/engine.ts +288 -0
  411. package/src/components/tooltip/react.tsx +30 -0
  412. package/src/components/tooltip/tooltip.css +78 -0
  413. package/src/components/tree-view/README.md +61 -0
  414. package/src/components/tree-view/element.ts +32 -0
  415. package/src/components/tree-view/engine.ts +743 -0
  416. package/src/components/tree-view/react.tsx +82 -0
  417. package/src/components/tree-view/tree-view.css +288 -0
  418. package/src/components/virtual-list/README.md +81 -0
  419. package/src/components/virtual-list/element.ts +42 -0
  420. package/src/components/virtual-list/engine.ts +678 -0
  421. package/src/components/virtual-list/react.tsx +101 -0
  422. package/src/components/virtual-list/virtual-list.css +194 -0
  423. package/src/components/voice-dots/README.md +48 -0
  424. package/src/components/voice-dots/element.ts +45 -0
  425. package/src/components/voice-dots/engine.ts +243 -0
  426. package/src/components/voice-dots/react.tsx +52 -0
  427. package/src/components/voice-dots/voice-dots.css +69 -0
  428. package/src/core/chips.ts +196 -0
  429. package/src/core/color.ts +304 -0
  430. package/src/core/date-range.ts +67 -0
  431. package/src/core/dates.ts +11 -1
  432. package/src/core/files.ts +107 -0
  433. package/src/core/filter.ts +229 -0
  434. package/src/core/gsap.ts +80 -65
  435. package/src/core/listbox.ts +332 -0
  436. package/src/core/mark.ts +29 -0
  437. package/src/core/position.ts +89 -0
  438. package/src/core/relative-time.ts +77 -0
  439. package/src/core/segment-field.ts +373 -0
  440. package/src/core/segments.ts +153 -0
  441. package/src/core/tree.ts +116 -0
  442. package/src/core/virtual.ts +79 -0
  443. package/src/css/tokens.css +186 -182
  444. package/src/elements/index.ts +186 -0
  445. package/src/index.ts +88 -0
  446. package/src/motion/liquid.ts +14 -4
  447. package/src/motion/micro.ts +248 -0
  448. package/src/motion/sheet.ts +88 -65
  449. package/src/motion/surface.ts +9 -0
  450. package/src/react/index.ts +71 -1
  451. package/dist/chunk-IKQ5FODN.js +0 -1617
  452. package/dist/chunk-IKQ5FODN.js.map +0 -1
  453. package/dist/chunk-J6OCFNGU.js +0 -177
  454. package/dist/chunk-J6OCFNGU.js.map +0 -1
  455. package/dist/chunk-TFNRIZHU.js +0 -3977
  456. package/dist/chunk-TFNRIZHU.js.map +0 -1
  457. package/dist/chunk-XAKC2QY7.js.map +0 -1
  458. package/dist/reveal-jsX-uwUz.d.ts +0 -625
  459. package/dist/store-DYb3tTsZ.d.ts +0 -195
@@ -1,625 +0,0 @@
1
- import { I as Instance } from './types-BkS_raL8.js';
2
-
3
- type DialogVariant = 'morph' | 'liquid' | 'sheet';
4
- type DialogPlacement = 'center' | 'anchor' | 'side';
5
- interface DialogLabels {
6
- close?: string;
7
- float?: string;
8
- dock?: string;
9
- }
10
- interface DialogOptions {
11
- /** morph (default), liquid, or sheet: rises from the bottom and pushes [data-mk-underlay] back. */
12
- variant?: DialogVariant;
13
- placement?: DialogPlacement;
14
- /** Tinted backdrop; false leaves it transparent (menus). */
15
- backdrop?: boolean;
16
- closeOnBackdrop?: boolean;
17
- /** Drag (or wheel) down to dismiss. */
18
- drag?: boolean;
19
- /** A key turns on the floating window (desktop) and remembers its place. */
20
- float?: string | false;
21
- autoResize?: boolean;
22
- /** `[data-mk-open="<id>"]` buttons open it: true uses the dialog's id; a string names another id; false: none. */
23
- triggers?: boolean | string;
24
- /** Modal (default) or a non-modal dialog. */
25
- modal?: boolean;
26
- labels?: DialogLabels;
27
- /** Grow the content with the surface (default). Menus turn it off and cascade their items instead. */
28
- animateContent?: boolean;
29
- onOpen?: () => void;
30
- /** After it closed, whatever closed it. */
31
- onClose?: () => void;
32
- }
33
- interface DialogInstance extends Instance {
34
- /** `origin`: the control it grows from; omitted, the focused control; null, none (scale-in). */
35
- open(origin?: HTMLElement | null): void;
36
- close(): void;
37
- toggle(origin?: HTMLElement | null): void;
38
- float(): void;
39
- dock(): void;
40
- readonly isOpen: boolean;
41
- readonly isFloating: boolean;
42
- readonly element: HTMLElement;
43
- }
44
- declare function createDialog(dialog: HTMLElement | null, options?: DialogOptions): DialogInstance;
45
-
46
- interface MenuOptions extends Omit<DialogOptions, 'placement' | 'backdrop' | 'drag' | 'autoResize' | 'animateContent'> {
47
- ticket?: boolean;
48
- /** Close after an option is chosen (default). */
49
- closeOnSelect?: boolean;
50
- onSelect?: (value: string, item: HTMLElement) => void;
51
- }
52
- interface MenuInstance extends DialogInstance {
53
- readonly items: HTMLElement[];
54
- }
55
- declare function createMenu(dialog: HTMLElement | null, options?: MenuOptions): MenuInstance;
56
-
57
- interface QuantityOptions {
58
- min?: number;
59
- max?: number;
60
- step?: number;
61
- value?: number;
62
- disabled?: boolean;
63
- onChange?: (value: number) => void;
64
- }
65
- interface QuantityInstance extends Instance {
66
- setValue(value: number, notify?: boolean): void;
67
- readonly value: number;
68
- }
69
- /** Bounded numeric control. Bite/rotation is CSS; buttons remain native. */
70
- declare function createQuantity(root: HTMLElement | null, options?: QuantityOptions): QuantityInstance;
71
-
72
- interface PaginationOptions {
73
- totalPages?: number;
74
- page?: number;
75
- siblings?: number;
76
- pageLabel?: (page: number) => string;
77
- onChange?: (page: number) => void;
78
- }
79
- interface PaginationInstance extends Instance {
80
- setPage(page: number, notify?: boolean): void;
81
- setTotalPages(total: number): void;
82
- readonly page: number;
83
- readonly totalPages: number;
84
- }
85
- /** Renders a bounded window of pages, even when totalPages is very large. */
86
- declare function createPagination(root: HTMLElement | null, options?: PaginationOptions): PaginationInstance;
87
-
88
- interface HoverCardOptions {
89
- openDelay?: number;
90
- closeDelay?: number;
91
- placement?: 'top' | 'bottom';
92
- onOpenChange?: (open: boolean) => void;
93
- }
94
- interface HoverCardInstance extends Instance {
95
- open(): void;
96
- close(): void;
97
- readonly isOpen: boolean;
98
- }
99
- /** Nonmodal preview: pointer, keyboard focus and tap all reveal the same panel. */
100
- declare function createHoverCard(root: HTMLElement | null, options?: HoverCardOptions): HoverCardInstance;
101
-
102
- interface InputOtpOptions {
103
- length?: number;
104
- value?: string;
105
- mask?: boolean;
106
- onChange?: (value: string) => void;
107
- onComplete?: (value: string) => void;
108
- }
109
- interface InputOtpInstance extends Instance {
110
- setValue(value: string, notify?: boolean): void;
111
- focus(): void;
112
- readonly value: string;
113
- }
114
- /** One real input preserves native editing, mobile autofill and password managers. */
115
- declare function createInputOtp(root: HTMLElement | null, options?: InputOtpOptions): InputOtpInstance;
116
-
117
- type StudioDockView = 'menu' | 'contact' | 'reel';
118
- interface StudioDockState {
119
- open: boolean;
120
- view: StudioDockView;
121
- page: number;
122
- }
123
- interface StudioDockOptions {
124
- /** Seconds. Reference sheet: 1.3 s, outBack(.52). */
125
- duration?: number;
126
- ease?: string;
127
- /** Move focus into a newly opened view. Defaults to true. */
128
- focusOnOpen?: boolean;
129
- /** Contain Tab within the open panel and its toggle. Defaults to true. */
130
- trapFocus?: boolean;
131
- onChange?: (state: StudioDockState) => void;
132
- }
133
- interface StudioDockInstance extends Instance {
134
- open(view?: StudioDockView): void;
135
- close(): void;
136
- toggle(): void;
137
- selectPage(index: number): void;
138
- readonly state: StudioDockState;
139
- }
140
- /** A contained studio sheet. Markup remains useful without JavaScript; fixed positioning is CSS opt-in. */
141
- declare function createStudioDock(root: HTMLElement | null, options?: StudioDockOptions): StudioDockInstance;
142
-
143
- type DateInput = Date | string | number;
144
- /** Local midnight of a date; "2026-10-23" is read as a local day, not UTC. */
145
- declare function toDate(input: DateInput | null | undefined, fallback?: Date): Date;
146
- /** YYYY-MM-DD of the local day. */
147
- declare const dayKey: (date: Date) => string;
148
-
149
- type CalendarView = 'month' | 'week';
150
- type CalendarEventStatus = 'pending' | 'done' | 'cancelled';
151
- interface CalendarEvent {
152
- id: string | number;
153
- title: string;
154
- start: DateInput;
155
- end?: DateInput;
156
- allDay?: boolean;
157
- status?: CalendarEventStatus;
158
- /** Any CSS colour for the chip. */
159
- color?: string;
160
- }
161
- interface CalendarRange {
162
- start: Date;
163
- end: Date;
164
- view: CalendarView;
165
- }
166
- interface CalendarLabels {
167
- more?: (count: number) => string;
168
- events?: (count: number) => string;
169
- status?: Partial<Record<CalendarEventStatus, string>>;
170
- }
171
- interface CalendarOptions {
172
- /** Date the calendar opens on. */
173
- date?: DateInput;
174
- view?: CalendarView;
175
- /** 0 = Sunday … 6 = Saturday. */
176
- firstDay?: number;
177
- locale?: string;
178
- events?: CalendarEvent[];
179
- /** Chips per day in the month view before "+N". */
180
- maxEvents?: number;
181
- selected?: DateInput | null;
182
- /** Override "today" (tests, demos in another zone). */
183
- today?: DateInput;
184
- labels?: CalendarLabels;
185
- onSelect?: (date: Date) => void;
186
- onEventClick?: (event: CalendarEvent) => void;
187
- onNavigate?: (range: CalendarRange) => void;
188
- }
189
- interface CalendarInstance extends Instance {
190
- next(): void;
191
- prev(): void;
192
- goToday(): void;
193
- setDate(date: DateInput): void;
194
- setView(view: CalendarView): void;
195
- setEvents(events: CalendarEvent[]): void;
196
- select(date: DateInput | null, notify?: boolean): void;
197
- readonly date: Date;
198
- readonly view: CalendarView;
199
- readonly selected: Date | null;
200
- readonly range: CalendarRange;
201
- }
202
- declare function createCalendar(root: HTMLElement | null, options?: CalendarOptions): CalendarInstance;
203
-
204
- type SlotSource = string[] | Record<string, string[]> | ((date: Date) => string[] | Promise<string[]>);
205
- interface SlotValue {
206
- date: Date;
207
- time: string;
208
- key: string;
209
- value: string;
210
- }
211
- interface SlotPickerLabels {
212
- placeholder?: string;
213
- empty?: string;
214
- loading?: string;
215
- heading?: (date: Date) => string;
216
- }
217
- interface SlotPickerOptions {
218
- /** Month shown first (and the selected day when `value` is not given). */
219
- date?: DateInput;
220
- /** Initial value: "2026-10-23T10:30" or { date, time }. */
221
- value?: string | {
222
- date: DateInput;
223
- time: string;
224
- } | null;
225
- slots?: SlotSource;
226
- min?: DateInput;
227
- max?: DateInput;
228
- /** Weekdays never available (0 = Sunday). */
229
- closedDays?: number[];
230
- isDisabled?: (date: Date) => boolean;
231
- firstDay?: number;
232
- locale?: string;
233
- labels?: SlotPickerLabels;
234
- onChange?: (value: SlotValue) => void;
235
- onDateChange?: (date: Date) => void;
236
- }
237
- interface SlotPickerInstance extends Instance {
238
- selectDate(date: DateInput): void;
239
- selectTime(time: string | null): void;
240
- setSlots(slots: SlotSource): void;
241
- readonly date: Date | null;
242
- readonly time: string | null;
243
- readonly value: string | null;
244
- }
245
- declare function createSlotPicker(root: HTMLElement | null, options?: SlotPickerOptions): SlotPickerInstance;
246
-
247
- interface TrailerOptions {
248
- triggers?: boolean | string;
249
- autoplay?: boolean;
250
- closeOnBackdrop?: boolean;
251
- onOpen?: () => void;
252
- onClose?: () => void;
253
- }
254
- interface TrailerInstance extends Instance {
255
- open(origin?: HTMLElement | null): void;
256
- close(): void;
257
- toggle(origin?: HTMLElement | null): void;
258
- play(): Promise<boolean>;
259
- pause(): void;
260
- seek(seconds: number): void;
261
- setVolume(volume: number): void;
262
- readonly isOpen: boolean;
263
- }
264
- /** Native modal + consumer-owned video, with optional accessible custom transport controls. */
265
- declare function createTrailer(root: HTMLElement | null, options?: TrailerOptions): TrailerInstance;
266
-
267
- /**
268
- * Every duration in one place (seconds, like GSAP, unless the name says
269
- * ms). Recipes and components take their defaults from here, so a timing is
270
- * changed once.
271
- */
272
- declare const TIMING: Readonly<{
273
- flow: 0.5;
274
- flowStagger: 0.05;
275
- stepChange: 0.5;
276
- reveal: Readonly<{
277
- readonly fast: readonly [0.5, 0.25];
278
- readonly normal: readonly [0.7, 0.35];
279
- readonly slow: readonly [1.05, 0.5];
280
- readonly slower: readonly [1.6, 0.75];
281
- }>;
282
- details: 0.32;
283
- chevron: 0.25;
284
- indicator: 0.45;
285
- number: 0.6;
286
- numberPricing: 0.7;
287
- revealCounter: 0.9;
288
- layoutTravel: 0.62;
289
- /** New items in a reflow enter in this share of the travel time. */
290
- layoutEnterFactor: 0.6;
291
- menu: Readonly<{
292
- duration: 0.35;
293
- stagger: 0.04;
294
- delay: 0.1;
295
- }>;
296
- palette: Readonly<{
297
- duration: 0.1;
298
- stagger: 0.01;
299
- }>;
300
- form: Readonly<{
301
- duration: 0.35;
302
- stagger: 0.04;
303
- }>;
304
- landing: Readonly<{
305
- duration: 0.4;
306
- stagger: 0.05;
307
- delay: 0.15;
308
- }>;
309
- content: Readonly<{
310
- duration: 0.6;
311
- stagger: 0.06;
312
- }>;
313
- bubble: 0.7;
314
- bubbleStagger: 0.06;
315
- word: 0.25;
316
- wordStagger: 0.05;
317
- chatScroll: 0.35;
318
- composer: 0.18;
319
- slot: Readonly<{
320
- durationMs: 300;
321
- staggerMs: 45;
322
- exitOffsetMs: 50;
323
- colorFadeMs: 280;
324
- maxTilt: 5;
325
- minResizeMs: 140;
326
- }>;
327
- swatch: 0.5;
328
- swatchLight: 3.5;
329
- swatchBackground: 4.5;
330
- /** ModalHost (modal-origin, modal-close-origin, modal-fallback, modal-auto-resize). */
331
- dialog: Readonly<{
332
- /** The surface travels from its opener. */
333
- open: 0.7;
334
- /** The opener's colour hands over to the surface's. */
335
- surfaceColor: 0.3;
336
- /** Back into the opener. */
337
- close: 0.5;
338
- /** While closing, the content heads for the opener on a 2 s path cut at `close`. */
339
- contentReturn: 2;
340
- originHide: 0.08;
341
- originShow: 0.3;
342
- originShowDelay: 0.2;
343
- /** No opener on screen: scale .92 → 1. */
344
- fallback: 0.35;
345
- autoResize: 0.45;
346
- /** Backdrop tint on the signature curve. */
347
- backdrop: 0.5;
348
- /** Items of a list that opens from its control. */
349
- list: 0.25;
350
- }>;
351
- /** modal-liquid (spring channels; springs are stiffness/damping, not times). */
352
- liquid: Readonly<{
353
- size: 0.3;
354
- radius: 0.7;
355
- content: 0.3;
356
- color: 0.4;
357
- colorDelay: 0.15;
358
- ghost: 0.25;
359
- ghostDelay: 0.05;
360
- closeSize: 0.25;
361
- closeContent: 0.3;
362
- originRestore: 0.3;
363
- originRestoreDelay: 0.2;
364
- safetyMs: 1100;
365
- }>;
366
- /** modal-drag: the spring back when a drag is not far enough. */
367
- drag: Readonly<{
368
- restore: 0.5;
369
- radiusRestore: 0.3;
370
- }>;
371
- /** modal-float. */
372
- float: Readonly<{
373
- shadow: 0.45;
374
- glideDecay: 0.18;
375
- sizeSmoothing: 0.08;
376
- }>;
377
- /** chat-loader-delay, chat-confirmation-bar. */
378
- chat: Readonly<{
379
- pendingDelayMs: 500;
380
- confirmWordStagger: 0.1;
381
- }>;
382
- /** onboarding-busy-background, step-change, onboarding-reveal-counter. */
383
- onboarding: Readonly<{
384
- busy: 0.8;
385
- idle: 0.6;
386
- step: 0.5;
387
- counter: 0.9;
388
- }>;
389
- /** task-drag: lift, land (FA .62), crossfade (66 % of the land), neighbours shifting (FA .52). */
390
- sortable: Readonly<{
391
- lift: 0.18;
392
- land: 0.42;
393
- landFade: number;
394
- shift: 0.62;
395
- }>;
396
- /** toast-deck, toast-morph, toast-character-reveal. */
397
- toast: Readonly<{
398
- relayout: 0.6;
399
- expand: 0.55;
400
- expandStagger: 0.06;
401
- enter: 0.5;
402
- exit: 0.3;
403
- collapseDelayMs: 150;
404
- morphSize: 0.32;
405
- morphRadius: 0.7;
406
- morphContent: 0.32;
407
- morphColor: 0.4;
408
- morphColorDelay: 0.15;
409
- morphShadow: 0.6;
410
- morphShadowDelay: 0.05;
411
- safetyMs: 1100;
412
- chars: 0.4;
413
- charsDelay: 0.225;
414
- charsStagger: 0.02;
415
- }>;
416
- /** glass (CSS): surface/shadow transitions, ring and shine. */
417
- glass: Readonly<{
418
- hover: 0.4;
419
- ring: 0.5;
420
- }>;
421
- /** utility animations (css/effects/anim.css), by name. */
422
- effects: Readonly<{
423
- out: 0.5;
424
- 'out-left': 0.5;
425
- 'out-bottom': 0.5;
426
- collapse: 0.25;
427
- highlight: 1;
428
- shake: 0.5;
429
- 'shake-strong': 0.4;
430
- fade: 0.3;
431
- wipe: 0.7;
432
- 'progress-in': 1;
433
- }>;
434
- /** success confetti, per 60 fps frame. */
435
- confetti: Readonly<{
436
- count: 45;
437
- speed: readonly [2, 8];
438
- lift: 2;
439
- radius: readonly [3, 7];
440
- decay: readonly [0.015, 0.03];
441
- gravity: 0.15;
442
- drag: 0.98;
443
- spin: 2.5;
444
- }>;
445
- /** project sheet. */
446
- sheet: Readonly<{
447
- open: 0.72;
448
- close: 0.72;
449
- underlayScale: 0.98;
450
- underlayOpacity: 0.4;
451
- }>;
452
- /** Physical spring pairs: [stiffness, damping]. */
453
- springs: Readonly<{
454
- press: readonly [400, 10];
455
- success: readonly [260, 18];
456
- underlay: readonly [300, 30];
457
- letters: readonly [300, 10];
458
- cursorFollow: readonly [800, 35];
459
- cursorAppear: readonly [500, 30];
460
- bentoEnter: readonly [60, 15];
461
- bentoRepel: readonly [300, 25];
462
- dockPill: readonly [380, 30];
463
- }>;
464
- /** masked type. */
465
- maskText: Readonly<{
466
- duration: 1.2;
467
- delay: 0.1;
468
- stagger: 0.02;
469
- exitStagger: 0.002;
470
- y: 100;
471
- threshold: 0.8;
472
- }>;
473
- /** reveal group (rules, fades, rises). */
474
- cascade: Readonly<{
475
- duration: 1.2;
476
- step: 0.03;
477
- rise: 200;
478
- threshold: 0.3;
479
- }>;
480
- /** slot title: each letter turns 8–14 times inside a 2 s expo.out envelope. */
481
- textRoll: Readonly<{
482
- duration: 2;
483
- stagger: 0.04;
484
- turns: readonly [8, 14];
485
- interval: 6000;
486
- quietMs: 1000;
487
- }>;
488
- /** hero letters: scale on hover, pastel blink. */
489
- letters: Readonly<{
490
- scale: 1.3;
491
- y: -5;
492
- step: 0.03;
493
- blink: 0.6;
494
- blinkStart: 0.6;
495
- blinkRepeatDelay: 0.1;
496
- blinkDelays: readonly [0.1, 0.6, 0.2, 1, 0.4, 1.2, 0.15, 0.8, 0.3];
497
- }>;
498
- /** image parallax. */
499
- parallax: Readonly<{
500
- travel: 10;
501
- scale: 1.2;
502
- strongScale: 1.3;
503
- lerp: 1;
504
- }>;
505
- /** About grid gathering from depth. */
506
- depthGrid: Readonly<{
507
- perspective: 600;
508
- distance: 900;
509
- depth: -3000;
510
- rotate: -160;
511
- opacity: 0.05;
512
- scale: 0.4;
513
- stagger: 0.15;
514
- lerp: 1;
515
- }>;
516
- /** video mask: the frame and the picture inside scale in opposite directions. */
517
- frameZoom: Readonly<{
518
- outer: readonly [80, 20];
519
- inner: readonly [130, 20];
520
- phoneOuter: readonly [95, 5];
521
- phoneInner: readonly [105, 5];
522
- open: 1;
523
- lerp: 1;
524
- }>;
525
- /** marquee: seconds per item, at most 14 counted. */
526
- marquee: Readonly<{
527
- perItem: 2;
528
- maxItems: 14;
529
- }>;
530
- /** glass chip and dot cursor. */
531
- cursor: Readonly<{
532
- gutter: 10;
533
- circle: 96;
534
- dotLerp: 0.2;
535
- light: 180;
536
- }>;
537
- /** floating navbar: enters from −300 % over 1.8 s; rows follow 0.15 s + 0.025 s each. */
538
- island: Readonly<{
539
- entrance: 1.8;
540
- offset: -300;
541
- delay: 0.15;
542
- step: 0.025;
543
- focus: 150;
544
- }>;
545
- /** product dock: spread for 1.6 s on load; tablet range re-checked 250 ms after a resize. */
546
- cardDock: Readonly<{
547
- intro: 1600;
548
- resizeDebounce: 250;
549
- }>;
550
- /** phone cards: 5 s a card, 2 s wait after a touch, 0.5 s after it shows. */
551
- snapStrip: Readonly<{
552
- interval: 5000;
553
- resume: 2000;
554
- delay: 500;
555
- }>;
556
- /** fill-text: letters from .2, 0.5 s each, 0.1 s apart, top 90 % → centre 40 %. */
557
- fillText: Readonly<{
558
- from: 0.2;
559
- duration: 0.5;
560
- stagger: 0.1;
561
- start: "top 90%";
562
- end: "center 40%";
563
- }>;
564
- /** particle hero: fade in 1 s after 0.3 s, morph cycles, pointer push. */
565
- particleHero: Readonly<{
566
- fadeIn: 1;
567
- fadeDelay: 0.3;
568
- size: 128;
569
- pointSize: 1.7;
570
- maxDpr: 1.5;
571
- stillSteps: 110;
572
- }>;
573
- ticketMenu: Readonly<{
574
- open: 0.9;
575
- content: 1.1;
576
- stagger: 0.02;
577
- from: 150;
578
- }>;
579
- infiniteReel: Readonly<{
580
- friction: 0.95;
581
- wheel: 0.05;
582
- dragThreshold: 5;
583
- }>;
584
- repelBento: Readonly<{
585
- offset: 0.6;
586
- stagger: 0.006;
587
- strength: 5000;
588
- distance: 30;
589
- breakpoint: 1024;
590
- }>;
591
- rotator: Readonly<{
592
- interval: 8000;
593
- duration: 0.25;
594
- y: 5;
595
- }>;
596
- dragRuler: Readonly<{
597
- min: 0;
598
- max: 8;
599
- step: 0.1;
600
- pixelsPerUnit: 60;
601
- }>;
602
- }>;
603
-
604
- type RevealSpeed = keyof typeof TIMING.reveal;
605
- interface RevealOptions {
606
- /** Element (its centre) or viewport point. Default: the last pointer position, else the centre. */
607
- origin?: Element | {
608
- x: number;
609
- y: number;
610
- } | null;
611
- speed?: RevealSpeed;
612
- delay?: number;
613
- overshoot?: number;
614
- /** Veil colour. Default: the first opaque background up the tree, else var(--mk-bg). */
615
- fill?: string;
616
- }
617
- interface RevealHandle {
618
- timeline: gsap.core.Timeline;
619
- finished: Promise<void>;
620
- /** Stop now and remove the veil. */
621
- cancel(): void;
622
- }
623
- declare function revealFrom(target: HTMLElement, options?: RevealOptions): RevealHandle | null;
624
-
625
- export { type RevealOptions as A, type RevealSpeed as B, type CalendarInstance as C, type DialogInstance as D, type SlotPickerLabels as E, type SlotPickerOptions as F, type SlotSource as G, type HoverCardInstance as H, type InputOtpInstance as I, type SlotValue as J, type StudioDockOptions as K, type StudioDockState as L, type MenuInstance as M, TIMING as N, type TrailerOptions as O, type PaginationInstance as P, type QuantityInstance as Q, type RevealHandle as R, type StudioDockInstance as S, type TrailerInstance as T, createDialog as U, createMenu as V, dayKey as W, revealFrom as X, toDate as Y, createTrailer as a, createQuantity as b, createStudioDock as c, createPagination as d, createHoverCard as e, createInputOtp as f, createCalendar as g, createSlotPicker as h, type StudioDockView as i, type SlotPickerInstance as j, type CalendarEvent as k, type CalendarEventStatus as l, type CalendarLabels as m, type CalendarOptions as n, type CalendarRange as o, type CalendarView as p, type DateInput as q, type DialogLabels as r, type DialogOptions as s, type DialogPlacement as t, type DialogVariant as u, type HoverCardOptions as v, type InputOtpOptions as w, type MenuOptions as x, type PaginationOptions as y, type QuantityOptions as z };