@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,8 +1,9 @@
1
1
  import { I as Instance } from '../types-BkS_raL8.js';
2
- import { S as StudioDockInstance, i as StudioDockView, T as TrailerInstance, D as DialogInstance, M as MenuInstance, Q as QuantityInstance, P as PaginationInstance, H as HoverCardInstance, I as InputOtpInstance, C as CalendarInstance, j as SlotPickerInstance } from '../reveal-jsX-uwUz.js';
3
- import { T as ThemePickerInstance, a as ToasterInstance, C as ChatInstance, b as ChatRole, N as NavInstance, c as NavStyle, d as CursorInstance, I as IslandInstance } from '../store-DYb3tTsZ.js';
4
- export { t as toast } from '../store-DYb3tTsZ.js';
5
- import { C as ChatBackgroundInstance, S as StepsInstance } from '../engine-GDGwQnJE.js';
2
+ import { d0 as StudioDockInstance, d3 as StudioDockView, dg as TrailerInstance, bb as DialogInstance, bd as DialogOptions, bX as MenuInstance, ch as QuantityInstance, c3 as PaginationInstance, bG as HoverCardInstance, bM as InputOtpInstance, aq as CalendarInstance, cP as SlotPickerInstance, ad as AttachmentInstance, ac as AttachmentFile, ai as AttachmentStatus, cM as SkeletonInstance, ck as QuestionnaireInstance, cj as QuestionnaireAnswers, aF as CodeBlockInstance, aU as ContextMenuInstance, bR as LinkPreviewInstance, ce as ProgressInstance, cp as RangeSliderInstance, cr as RangeValue, aw as ChartInstance, ax as ChartOptions, aX as CreditCardInstance, aW as CreditCardField, a_ as CreditCardValues, av as CardBrand, aS as CommandSearchInstance, aR as CommandItem, bE as HoldConfirmInstance, bK as ImagePreviewInstance, c0 as NotificationBellInstance, c8 as PasswordStrengthInstance, cD as ScratchCardInstance, cY as StarRatingInstance, aP as ColorSliderInstance, aH as ColorAreaInstance, aK as ColorFieldInstance, aN as ColorPickerInstance, d7 as TimeFieldInstance, cn as RangeCalendarInstance, b6 as DateRange, b7 as DateRangePickerInstance, de as TooltipInstance, cc as PopoverInstance, bU as LoadingButtonInstance, bW as LoadingState, ak as BreadcrumbInstance, bm as EmptyStateInstance, c_ as StatCardInstance, aA as ChartTooltipInstance, bZ as MultiSelectInstance, d5 as TagInputInstance, b9 as DateTimePickerInstance, bw as FilterBuilderInstance, bA as FilterGroup, db as TimelineInstance, da as TimelineEvent, a6 as ActivityFeedInstance, a8 as ActivityItem, dj as TreeViewInstance, br as FileExplorerInstance, bP as JsonViewerInstance, dm as VirtualListInstance, cs as ResizablePanelInstance, cW as SplitViewInstance, b4 as DataTableInstance, b2 as DataRow, bh as EditableTableInstance, cy as RichTextEditorInstance, cH as SelectInstance, aa as AddToCartInstance, cF as ScrollIslandInstance } from '../reveal-BfyKKsw4.js';
3
+ import { E as ThemePickerInstance, M as ToasterInstance, C as ChatInstance, d as ChatRole, l as NavInstance, n as NavStyle, o as NavStyleAlias, e as CursorInstance, I as IslandInstance, V as ToolbarInstance, B as BidirectionalSliderInstance, X as VoiceDotsInstance, Z as VoiceState, r as PieChartInstance, s as PieChartOptions, R as RadarChartInstance, u as RadarChartOptions, w as RadialChartInstance, x as RadialChartOptions, S as SankeyChartInstance, z as SankeyChartOptions, H as HeatmapChartInstance, h as HeatmapChartOptions, O as OrbitMenuInstance } from '../store-CA2Qcun_.js';
4
+ export { an as toast } from '../store-CA2Qcun_.js';
5
+ import { C as ChatBackgroundInstance, c as StepsInstance, P as PillButtonInstance } from '../engine-5zRIssTO.js';
6
+ import { L as LikeButtonInstance, S as SwipeActionsInstance } from '../engine-QECQnGz1.js';
6
7
  import 'gsap/Flip';
7
8
 
8
9
  type OptionType = 'string' | 'number' | 'boolean' | 'list' | 'json';
@@ -64,6 +65,8 @@ declare class MkDialogElement extends MkElement<Instance> {
64
65
  static options: Record<string, OptionType>;
65
66
  dialog: DialogInstance | null;
66
67
  protected create(options: Record<string, unknown>): Instance;
68
+ /** The engine on the built <dialog> (Drawer swaps it). */
69
+ protected createEngine(dialog: HTMLDialogElement, options: DialogOptions, _attributes: Record<string, unknown>): DialogInstance;
67
70
  open(origin?: HTMLElement | null): void;
68
71
  close(): void;
69
72
  get isOpen(): boolean;
@@ -124,7 +127,7 @@ declare class MkChatElement extends MkElement<Instance> {
124
127
  }
125
128
 
126
129
  /**
127
- * <mk-nav class="mk-nav mk-nav--bonita" nav-style="bonita" [accent] [reveal] [storage-key="mi-app-nav"]>
130
+ * <mk-nav class="mk-nav mk-nav--pills" nav-style="pills" [accent] [reveal] [storage-key="mi-app-nav"]>
128
131
  * <div class="mk-nav__buttons"><a class="mk-nav__button" href="/">…</a></div>
129
132
  * </mk-nav>
130
133
  * Emits `mk:navigate` (detail: index, value, item, originalEvent) on click.
@@ -134,7 +137,7 @@ declare class MkNavElement extends MkElement<NavInstance> {
134
137
  protected create(options: Record<string, unknown>): NavInstance;
135
138
  attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
136
139
  select(target: number | string): void;
137
- setStyle(style: NavStyle): void;
140
+ setStyle(style: NavStyle | NavStyleAlias): void;
138
141
  }
139
142
 
140
143
  /**
@@ -223,6 +226,783 @@ declare class MkSlotPickerElement extends MkElement<SlotPickerInstance> {
223
226
  attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
224
227
  }
225
228
 
229
+ /**
230
+ * <mk-attachment class="mk-attachment" accept="image/*,.pdf" multiple max-files="4" max-size="5000000"></mk-attachment>
231
+ * Emits mk:files ({added, files}), mk:remove ({file, files}) and mk:reject ({file, code, message}).
232
+ * Changing an attribute keeps the files already chosen.
233
+ */
234
+ declare class MkAttachmentElement extends MkElement<AttachmentInstance> {
235
+ static options: Record<string, OptionType>;
236
+ protected create(options: Record<string, unknown>): AttachmentInstance;
237
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
238
+ addFiles(files: Iterable<File> | ArrayLike<File>): AttachmentFile[];
239
+ /** Remove one file (HTMLElement.remove() still removes the element). */
240
+ removeFile(id: string): void;
241
+ setProgress(id: string, value: number, status?: AttachmentStatus): void;
242
+ get files(): AttachmentFile[];
243
+ }
244
+
245
+ /**
246
+ * <mk-skeleton class="mk-skeleton" shape="card" label="Cargando perfil">
247
+ * <article data-mk-skeleton-content>…</article>
248
+ * </mk-skeleton>
249
+ * Loading until `loaded` is set (or `setLoading(false)`); a placeholder is made from `shape`.
250
+ */
251
+ declare class MkSkeletonElement extends MkElement<SkeletonInstance> {
252
+ static options: Record<string, OptionType>;
253
+ protected create(options: Record<string, unknown>): SkeletonInstance;
254
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
255
+ setLoading(loading: boolean): void;
256
+ get loading(): boolean;
257
+ }
258
+
259
+ /**
260
+ * <mk-questionnaire><form>…<section data-mk-question>…</section>…</form></mk-questionnaire>
261
+ * or, empty, <mk-questionnaire questions='[{"id":"name","label":"Nombre","type":"text","required":true}]'>.
262
+ * Emits mk:question ({index, previous, answers}), mk:invalid and mk:complete ({answers}).
263
+ */
264
+ declare class MkQuestionnaireElement extends MkElement<Instance> {
265
+ static options: Record<string, OptionType>;
266
+ questionnaire: QuestionnaireInstance | null;
267
+ protected create(options: Record<string, unknown>): Instance;
268
+ next(): Promise<boolean>;
269
+ prev(): Promise<void>;
270
+ reset(): void;
271
+ get answers(): QuestionnaireAnswers;
272
+ }
273
+
274
+ /**
275
+ * <mk-code-block class="mk-code-block" title="Instalar" language="bash" line-numbers>
276
+ * <pre><code>npm install @yewdiel21/motion-kit gsap</code></pre>
277
+ * </mk-code-block>
278
+ * Header, copy button and status are made when absent. Emits `mk:copy` ({ok, code}).
279
+ */
280
+ declare class MkCodeBlockElement extends MkElement<CodeBlockInstance> {
281
+ static options: Record<string, OptionType>;
282
+ protected create(options: Record<string, unknown>): CodeBlockInstance;
283
+ setCode(code: string): void;
284
+ copy(): Promise<boolean>;
285
+ }
286
+
287
+ /**
288
+ * <mk-context-menu class="mk-context-menu">
289
+ * <article>…the area…</article>
290
+ * <dialog class="mk-dialog mk-menu" data-mk-context-menu aria-label="Acciones">
291
+ * <button data-mk-item data-mk-value="rename">Renombrar</button>
292
+ * <hr data-mk-separator />
293
+ * <button data-mk-item data-mk-value="delete" disabled>Eliminar</button>
294
+ * </dialog>
295
+ * </mk-context-menu>
296
+ * Emits mk:select (detail.value, detail.item) from the dialog.
297
+ */
298
+ declare class MkContextMenuElement extends MkElement<ContextMenuInstance> {
299
+ static options: Record<string, OptionType>;
300
+ protected create(options: Record<string, unknown>): ContextMenuInstance;
301
+ openAt(x: number, y: number): void;
302
+ open(origin?: HTMLElement | null): void;
303
+ close(): void;
304
+ get isOpen(): boolean;
305
+ }
306
+
307
+ /**
308
+ * <mk-drawer id="filtros" side="left" heading="Filtros" [description] [no-backdrop] [persistent]>…</mk-drawer>
309
+ * Any [data-mk-open="filtros"] opens it. Children move into a native <dialog class="mk-dialog mk-drawer">
310
+ * (header, body and a [data-mk-part="footer"] child kept out of the scroll) and back on disconnect.
311
+ */
312
+ declare class MkDrawerElement extends MkDialogElement {
313
+ static options: Record<string, OptionType>;
314
+ protected createEngine(dialog: HTMLDialogElement, options: DialogOptions, attributes: Record<string, unknown>): DialogInstance;
315
+ }
316
+
317
+ /**
318
+ * <mk-link-preview class="mk-link-preview" url="https://…" title="…" description="…" image="/thumb.jpg" site-name="Blog"></mk-link-preview>
319
+ * variant="hover" turns it into a link that previews the card (label = link text).
320
+ */
321
+ declare class MkLinkPreviewElement extends MkElement<LinkPreviewInstance> {
322
+ static options: Record<string, OptionType>;
323
+ protected create(options: Record<string, unknown>): LinkPreviewInstance;
324
+ }
325
+
326
+ /**
327
+ * <mk-progress class="mk-progress" value="40" label="Subida" show-value></mk-progress>
328
+ * Without `value` (or value="indeterminate") it is indeterminate. A new value moves the fill.
329
+ */
330
+ declare class MkProgressElement extends MkElement<ProgressInstance> {
331
+ static options: Record<string, OptionType>;
332
+ protected create(options: Record<string, unknown>): ProgressInstance;
333
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
334
+ setValue(value: number | null): void;
335
+ get value(): number | null;
336
+ }
337
+
338
+ /**
339
+ * <mk-range-slider class="mk-range-slider" min="0" max="100" step="5" label="Precio" value="[20,80]">
340
+ * <div data-mk-range-track><input type="range" data-mk-range-input value="20"><input type="range" data-mk-range-input value="80"></div>
341
+ * <output data-mk-range-output></output>
342
+ * </mk-range-slider>
343
+ * Empty, it makes its input(s). Emits `mk:input` while dragging and `mk:change` ({value, previous}) on commit.
344
+ * `el.formatValue = (n) => `${n} €`` formats the output and aria-valuetext.
345
+ */
346
+ declare class MkRangeSliderElement extends MkElement<RangeSliderInstance> {
347
+ static options: Record<string, OptionType>;
348
+ private format;
349
+ /** Formatter for the output and aria-valuetext (code, so a property rather than an attribute). */
350
+ get formatValue(): ((value: number) => string) | undefined;
351
+ set formatValue(format: ((value: number) => string) | undefined);
352
+ protected create(options: Record<string, unknown>): RangeSliderInstance;
353
+ /** Rebuild with the current attributes; keepValue keeps the edited value over the `value` attribute. */
354
+ private rebuild;
355
+ attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
356
+ setValue(value: RangeValue, notify?: boolean): void;
357
+ get value(): RangeValue | undefined;
358
+ }
359
+
360
+ /**
361
+ * <mk-chart class="mk-chart" type="bar" stacked label="Sesiones por semana"
362
+ * labels="S1,S2,S3" series='[{"name":"Ana","values":[4,6,5]},{"name":"Luis","values":[2,3,4]}]'></mk-chart>
363
+ * Attribute changes redraw in place. Emits mk:select ({index, label, values, x, y, series}); tooltip="false" leaves the card to chart-tooltip.
364
+ */
365
+ declare class MkChartElement extends MkElement<ChartInstance> {
366
+ static options: Record<string, OptionType>;
367
+ protected create(options: Record<string, unknown>): ChartInstance;
368
+ attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
369
+ update(options: ChartOptions): void;
370
+ select(index: number | null): void;
371
+ }
372
+
373
+ /**
374
+ * <mk-credit-card class="mk-credit-card"></mk-credit-card>
375
+ * Makes the card and the four fields (or uses input[data-mk-card-field="number|name|expiry|cvc"] inside).
376
+ * Emits mk:change ({brand, complete, valid}) and mk:complete; the card data stays in the form.
377
+ */
378
+ declare class MkCreditCardElement extends MkElement<CreditCardInstance> {
379
+ static options: Record<string, OptionType>;
380
+ protected create(options: Record<string, unknown>): CreditCardInstance;
381
+ focusField(field: CreditCardField): void;
382
+ flip(back?: boolean): void;
383
+ get values(): CreditCardValues | undefined;
384
+ get brand(): CardBrand;
385
+ }
386
+
387
+ /**
388
+ * <mk-command-search class="mk-command-search" items='[{"id":"charts","label":"Charts","group":"Páginas","href":"/chart"}]'>
389
+ * <button data-mk-command-open>Buscar <kbd>⌘K</kbd></button>
390
+ * </mk-command-search>
391
+ * ⌘K / Ctrl+K or the button opens it. Emits mk:select ({item}, cancelable), mk:open and mk:close.
392
+ */
393
+ declare class MkCommandSearchElement extends MkElement<CommandSearchInstance> {
394
+ static options: Record<string, OptionType>;
395
+ protected create(options: Record<string, unknown>): CommandSearchInstance;
396
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
397
+ open(): void;
398
+ close(): void;
399
+ setItems(items: CommandItem[]): void;
400
+ }
401
+
402
+ /**
403
+ * <mk-hold-confirm class="mk-hold-confirm" duration="1200"><button>Eliminar cuenta</button></mk-hold-confirm>
404
+ * Hold the button (pointer, Space or Enter) to confirm. Emits mk:confirm.
405
+ */
406
+ declare class MkHoldConfirmElement extends MkElement<HoldConfirmInstance> {
407
+ static options: Record<string, OptionType>;
408
+ protected create(options: Record<string, unknown>): HoldConfirmInstance;
409
+ reset(): void;
410
+ get confirmed(): boolean;
411
+ }
412
+
413
+ /**
414
+ * <mk-image-preview class="mk-image-preview">
415
+ * <button data-mk-image data-mk-src="/big/1.jpg" data-mk-caption="Atardecer"><img src="/thumb/1.jpg" alt="Atardecer en la sierra"></button>
416
+ * </mk-image-preview>
417
+ * Emits mk:open, mk:change ({index, previous}) and mk:close.
418
+ */
419
+ declare class MkImagePreviewElement extends MkElement<ImagePreviewInstance> {
420
+ static options: Record<string, OptionType>;
421
+ protected create(options: Record<string, unknown>): ImagePreviewInstance;
422
+ open(index?: number): void;
423
+ close(): void;
424
+ }
425
+
426
+ /**
427
+ * <mk-like-button class="mk-like-button" count="128"><button></button></mk-like-button>
428
+ * Toggles with a burst; emits mk:change ({liked, count}).
429
+ */
430
+ declare class MkLikeButtonElement extends MkElement<LikeButtonInstance> {
431
+ static options: Record<string, OptionType>;
432
+ protected create(options: Record<string, unknown>): LikeButtonInstance;
433
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
434
+ get liked(): boolean;
435
+ get count(): number;
436
+ }
437
+
438
+ /**
439
+ * <mk-notification-bell class="mk-notification-bell" count="2"></mk-notification-bell>
440
+ * el.notify('Nueva cita a las 10:00') rings it. Emits mk:open on click and mk:count when the count changes.
441
+ */
442
+ declare class MkNotificationBellElement extends MkElement<NotificationBellInstance> {
443
+ static options: Record<string, OptionType>;
444
+ protected create(options: Record<string, unknown>): NotificationBellInstance;
445
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
446
+ notify(message?: string): void;
447
+ clear(): void;
448
+ get count(): number;
449
+ }
450
+
451
+ /**
452
+ * <mk-password-strength class="mk-password-strength" min-length="10">
453
+ * <input type="password" name="password" autocomplete="new-password" aria-label="Contraseña" />
454
+ * </mk-password-strength>
455
+ * Emits mk:strength ({score, label, met}).
456
+ */
457
+ declare class MkPasswordStrengthElement extends MkElement<PasswordStrengthInstance> {
458
+ static options: Record<string, OptionType>;
459
+ protected create(options: Record<string, unknown>): PasswordStrengthInstance;
460
+ get score(): number;
461
+ }
462
+
463
+ /**
464
+ * <mk-scratch-card class="mk-scratch-card" threshold="0.5">
465
+ * <div data-mk-scratch-content>…the coupon…</div>
466
+ * </mk-scratch-card>
467
+ * Emits mk:progress ({progress}) and mk:reveal.
468
+ */
469
+ declare class MkScratchCardElement extends MkElement<ScratchCardInstance> {
470
+ static options: Record<string, OptionType>;
471
+ protected create(options: Record<string, unknown>): ScratchCardInstance;
472
+ reveal(): void;
473
+ reset(): void;
474
+ get revealed(): boolean;
475
+ }
476
+
477
+ /**
478
+ * <mk-star-rating class="mk-star-rating" name="valoracion" value="4" allow-clear></mk-star-rating>
479
+ * readonly with value="4.5" draws a fixed rating. Emits mk:change ({value}).
480
+ */
481
+ declare class MkStarRatingElement extends MkElement<StarRatingInstance> {
482
+ static options: Record<string, OptionType>;
483
+ protected create(options: Record<string, unknown>): StarRatingInstance;
484
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
485
+ get value(): number;
486
+ }
487
+
488
+ /**
489
+ * <mk-swipe-actions class="mk-swipe-actions">
490
+ * <div data-mk-swipe-row>
491
+ * <div data-mk-swipe-actions="left"><button data-mk-swipe-action="archive" aria-label="Archivar">…</button></div>
492
+ * <div data-mk-swipe-content>…the row…</div>
493
+ * <div data-mk-swipe-actions="right"><button data-mk-swipe-action="delete" data-mk-swipe-remove aria-label="Eliminar">…</button></div>
494
+ * </div>
495
+ * </mk-swipe-actions>
496
+ * Emits mk:action ({action, row}) and mk:open ({row, side}).
497
+ */
498
+ declare class MkSwipeActionsElement extends MkElement<SwipeActionsInstance> {
499
+ static options: Record<string, OptionType>;
500
+ protected create(options: Record<string, unknown>): SwipeActionsInstance;
501
+ close(): void;
502
+ }
503
+
504
+ /**
505
+ * <mk-color-slider class="mk-color-slider" channel="hue" value="#ff8800" show-value></mk-color-slider>
506
+ * Emits mk:input / mk:change ({value, color}). Changing `value` glides the thumb.
507
+ */
508
+ declare class MkColorSliderElement extends MkElement<ColorSliderInstance> {
509
+ static options: Record<string, OptionType>;
510
+ protected create(options: Record<string, unknown>): ColorSliderInstance;
511
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
512
+ get value(): string;
513
+ }
514
+
515
+ /**
516
+ * <mk-color-area class="mk-color-area" value="#ff8800"></mk-color-area>
517
+ * Emits mk:input / mk:change ({value, color}). Changing `value` glides the thumb.
518
+ */
519
+ declare class MkColorAreaElement extends MkElement<ColorAreaInstance> {
520
+ static options: Record<string, OptionType>;
521
+ protected create(options: Record<string, unknown>): ColorAreaInstance;
522
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
523
+ get value(): string;
524
+ }
525
+
526
+ /**
527
+ * <mk-color-field class="mk-color-field" value="#ff8800" format="hex"></mk-color-field>
528
+ * Emits mk:change ({value, color}) when a new colour is committed.
529
+ */
530
+ declare class MkColorFieldElement extends MkElement<ColorFieldInstance> {
531
+ static options: Record<string, OptionType>;
532
+ protected create(options: Record<string, unknown>): ColorFieldInstance;
533
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
534
+ get value(): string;
535
+ }
536
+
537
+ /**
538
+ * <mk-color-picker class="mk-color-picker" value="#3b82f6" label="Color del evento"></mk-color-picker>
539
+ * `inline` shows the panel in place; `swatches="#111,#ef4444"` sets the presets.
540
+ * Emits mk:input (live) and mk:change (committed) with {value, color}.
541
+ */
542
+ declare class MkColorPickerElement extends MkElement<ColorPickerInstance> {
543
+ static options: Record<string, OptionType>;
544
+ protected create(options: Record<string, unknown>): ColorPickerInstance;
545
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
546
+ open(): void;
547
+ close(): void;
548
+ get value(): string;
549
+ }
550
+
551
+ /**
552
+ * <mk-time-field class="mk-time-field" value="09:30" minute-step="15" name="hora"></mk-time-field>
553
+ * Emits mk:change ({value}: 24 h text, null while incomplete).
554
+ */
555
+ declare class MkTimeFieldElement extends MkElement<TimeFieldInstance> {
556
+ static options: Record<string, OptionType>;
557
+ protected create(options: Record<string, unknown>): TimeFieldInstance;
558
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
559
+ get value(): string | null;
560
+ }
561
+
562
+ /**
563
+ * <mk-range-calendar class="mk-range-calendar" start="2026-11-23" end="2026-11-26" visible-months="2"
564
+ * unavailable="2026-12-24,2026-12-25"></mk-range-calendar>
565
+ * Emits mk:change ({start, end, length}). Changing start/end moves the range.
566
+ */
567
+ declare class MkRangeCalendarElement extends MkElement<RangeCalendarInstance> {
568
+ static options: Record<string, OptionType>;
569
+ protected create(options: Record<string, unknown>): RangeCalendarInstance;
570
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
571
+ get value(): DateRange | null;
572
+ }
573
+
574
+ /**
575
+ * <mk-date-range-picker class="mk-date-range-picker" start="2026-11-23" end="2026-11-26" name="viaje"
576
+ * presets='[{"label":"Puente","start":"2026-12-05","end":"2026-12-08"}]'></mk-date-range-picker>
577
+ * Emits mk:change ({start, end, length}) for valid ranges.
578
+ */
579
+ declare class MkDateRangePickerElement extends MkElement<DateRangePickerInstance> {
580
+ static options: Record<string, OptionType>;
581
+ protected create(options: Record<string, unknown>): DateRangePickerInstance;
582
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
583
+ open(): void;
584
+ close(): void;
585
+ get value(): DateRange | null;
586
+ }
587
+
588
+ /**
589
+ * <mk-tooltip class="mk-tooltip" content="Copiar enlace"><button>…</button></mk-tooltip>
590
+ * Without `content`, the trigger's title. Emits mk:open-change ({open}).
591
+ */
592
+ declare class MkTooltipElement extends MkElement<TooltipInstance> {
593
+ static options: Record<string, OptionType>;
594
+ protected create(options: Record<string, unknown>): TooltipInstance;
595
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
596
+ }
597
+
598
+ /**
599
+ * <mk-popover class="mk-popover">
600
+ * <button data-mk-popover-trigger>Filtros</button>
601
+ * <div data-mk-popover-content>…</div>
602
+ * </mk-popover>
603
+ * Emits mk:open-change ({open}).
604
+ */
605
+ declare class MkPopoverElement extends MkElement<PopoverInstance> {
606
+ static options: Record<string, OptionType>;
607
+ protected create(options: Record<string, unknown>): PopoverInstance;
608
+ open(): void;
609
+ close(): void;
610
+ get isOpen(): boolean;
611
+ }
612
+
613
+ /**
614
+ * <mk-loading-button><button class="mk-button">Guardar</button></mk-loading-button>
615
+ * The `state` attribute (idle | loading | success | error) drives it from outside; run(action) walks the states.
616
+ * Emits mk:state-change ({state}).
617
+ */
618
+ declare class MkLoadingButtonElement extends MkElement<LoadingButtonInstance> {
619
+ static options: Record<string, OptionType>;
620
+ protected create(options: Record<string, unknown>): LoadingButtonInstance;
621
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
622
+ run(action: () => unknown): Promise<boolean>;
623
+ get state(): LoadingState;
624
+ }
625
+
626
+ /**
627
+ * <mk-breadcrumb class="mk-breadcrumb" items='[{"label":"Inicio","href":"/"},{"label":"Proyectos","href":"/p"},{"label":"Melon"}]'>
628
+ * </mk-breadcrumb> — or authored <a>/<span> children. Emits mk:navigate ({item, index}, cancelable).
629
+ */
630
+ declare class MkBreadcrumbElement extends MkElement<BreadcrumbInstance> {
631
+ static options: Record<string, OptionType>;
632
+ protected create(options: Record<string, unknown>): BreadcrumbInstance;
633
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
634
+ }
635
+
636
+ /**
637
+ * <mk-empty-state class="mk-empty-state" illustration="search" title="Sin resultados"
638
+ * description="Prueba con otras palabras." actions='[{"id":"clear","label":"Borrar filtros"}]'></mk-empty-state>
639
+ * Emits mk:action ({id}).
640
+ */
641
+ declare class MkEmptyStateElement extends MkElement<EmptyStateInstance> {
642
+ static options: Record<string, OptionType>;
643
+ protected create(options: Record<string, unknown>): EmptyStateInstance;
644
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
645
+ }
646
+
647
+ /**
648
+ * <mk-stat-card class="mk-stat-card" label="Ingresos" value="128400" previous="118900"
649
+ * format='{"style":"currency","currency":"MXN","maximumFractionDigits":0}' series="90,98,104,101,118,128"></mk-stat-card>
650
+ * Changing value, previous, series or target updates it in place (the figure counts).
651
+ */
652
+ declare class MkStatCardElement extends MkElement<StatCardInstance> {
653
+ static options: Record<string, OptionType>;
654
+ protected create(options: Record<string, unknown>): StatCardInstance;
655
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
656
+ }
657
+
658
+ /**
659
+ * <mk-chart-tooltip class="mk-chart-tooltip" share total>
660
+ * <mk-chart class="mk-chart" tooltip="false" …></mk-chart>
661
+ * </mk-chart-tooltip>
662
+ * Over another chart give it labels, series (JSON), align, inset (JSON), min and max.
663
+ * Emits mk:index-change ({index, pinned}).
664
+ */
665
+ declare class MkChartTooltipElement extends MkElement<ChartTooltipInstance> {
666
+ static options: Record<string, OptionType>;
667
+ protected create(options: Record<string, unknown>): ChartTooltipInstance;
668
+ attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
669
+ }
670
+
671
+ /**
672
+ * <mk-multi-select class="mk-multi-select" label="Etiquetas">
673
+ * <select multiple name="etiquetas"><option>Diseño</option><option selected>Código</option></select>
674
+ * </mk-multi-select>
675
+ * Or options='[{"value":"ana","label":"Ana"}]' value="ana" name="personas". Emits mk:change ({value}).
676
+ */
677
+ declare class MkMultiSelectElement extends MkElement<MultiSelectInstance> {
678
+ static options: Record<string, OptionType>;
679
+ protected create(options: Record<string, unknown>): MultiSelectInstance;
680
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
681
+ get value(): string[];
682
+ }
683
+
684
+ /**
685
+ * <mk-tag-input class="mk-tag-input" label="Etiquetas" value="diseño,urgente" suggestions="diseño,código,urgente" max="5" name="tags">
686
+ * </mk-tag-input>
687
+ * Emits mk:change ({value}).
688
+ */
689
+ declare class MkTagInputElement extends MkElement<TagInputInstance> {
690
+ static options: Record<string, OptionType>;
691
+ protected create(options: Record<string, unknown>): TagInputInstance;
692
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
693
+ get value(): string[];
694
+ }
695
+
696
+ /**
697
+ * <mk-date-time-picker class="mk-date-time-picker" value="2026-11-23T10:30" minute-step="15" name="cita"></mk-date-time-picker>
698
+ * Emits mk:change ({value: 'YYYY-MM-DDTHH:MM' | null}).
699
+ */
700
+ declare class MkDateTimePickerElement extends MkElement<DateTimePickerInstance> {
701
+ static options: Record<string, OptionType>;
702
+ protected create(options: Record<string, unknown>): DateTimePickerInstance;
703
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
704
+ open(): void;
705
+ close(): void;
706
+ get value(): Date | null;
707
+ }
708
+
709
+ /**
710
+ * <mk-filter-builder class="mk-filter-builder"
711
+ * fields='[{"key":"estado","label":"Estado","type":"select","options":[{"value":"activo","label":"Activo"}]},{"key":"monto","label":"Monto","type":"number"}]'>
712
+ * </mk-filter-builder>
713
+ * Emits mk:change ({value, summary}).
714
+ */
715
+ declare class MkFilterBuilderElement extends MkElement<FilterBuilderInstance> {
716
+ static options: Record<string, OptionType>;
717
+ protected create(options: Record<string, unknown>): FilterBuilderInstance;
718
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
719
+ get value(): FilterGroup | null;
720
+ }
721
+
722
+ /**
723
+ * <mk-timeline class="mk-timeline" events='[{"id":"1","title":"Pedido recibido","time":"2026-11-23T09:12","status":"done"}]'>
724
+ * </mk-timeline> — or authored <ol><li data-status data-time>Title<p>Description</p></li></ol>.
725
+ */
726
+ declare class MkTimelineElement extends MkElement<TimelineInstance> {
727
+ static options: Record<string, OptionType>;
728
+ protected create(options: Record<string, unknown>): TimelineInstance;
729
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
730
+ add(event: TimelineEvent, at?: 'start' | 'end'): void;
731
+ }
732
+
733
+ /**
734
+ * <mk-activity-feed class="mk-activity-feed" items='[{"id":"1","actor":"Ana Gómez","action":"comentó en","target":"Tarea 12","time":"2026-11-23T09:12","kind":"comment"}]'>
735
+ * </mk-activity-feed>. element.prepend([...]) / element.append([...]) for live and older activity.
736
+ */
737
+ declare class MkActivityFeedElement extends MkElement<ActivityFeedInstance> {
738
+ static options: Record<string, OptionType>;
739
+ protected create(options: Record<string, unknown>): ActivityFeedInstance;
740
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
741
+ /** New activity on top (not Element.prepend). */
742
+ prependItems(items: ActivityItem[]): void;
743
+ appendItems(items: ActivityItem[]): void;
744
+ }
745
+
746
+ /**
747
+ * <mk-tree-view class="mk-tree-view" checkable search
748
+ * nodes='[{"id":"a","label":"Proyectos","children":[{"id":"a1","label":"Melon"}]}]'></mk-tree-view>
749
+ * Emits mk:select ({id, node}), mk:check ({checked}), mk:expand ({id, expanded}).
750
+ */
751
+ declare class MkTreeViewElement extends MkElement<TreeViewInstance> {
752
+ static options: Record<string, OptionType>;
753
+ protected create(options: Record<string, unknown>): TreeViewInstance;
754
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
755
+ }
756
+
757
+ /**
758
+ * <mk-file-explorer class="mk-file-explorer" root-label="Mi unidad" view="grid"
759
+ * files='[{"id":"docs","name":"Documentos","children":[{"id":"cv","name":"Currículum.pdf","size":184320}]}]'>
760
+ * </mk-file-explorer>. Emits mk:open ({id, entry}), mk:navigate ({id, folder}), mk:select ({ids}), mk:change ({files, change}).
761
+ */
762
+ declare class MkFileExplorerElement extends MkElement<FileExplorerInstance> {
763
+ static options: Record<string, OptionType>;
764
+ protected create(options: Record<string, unknown>): FileExplorerInstance;
765
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
766
+ }
767
+
768
+ /**
769
+ * <mk-json-viewer class="mk-json-viewer" expand-depth="2" search data='{"user":{"name":"Ana","roles":["admin"]}}'></mk-json-viewer>
770
+ * Or the JSON as the element's text. Emits mk:select ({path, value}) and mk:copy ({text, path}).
771
+ */
772
+ declare class MkJsonViewerElement extends MkElement<JsonViewerInstance> {
773
+ static options: Record<string, OptionType>;
774
+ protected create(options: Record<string, unknown>): JsonViewerInstance;
775
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
776
+ }
777
+
778
+ /**
779
+ * <mk-virtual-list class="mk-virtual-list" item-height="44" selectable="multiple" items='["Uno","Dos", …]'></mk-virtual-list>
780
+ * Or an authored <ul><li>…</li></ul>. element.instance.setRenderer((item, i, row) => …) draws richer rows.
781
+ * Emits mk:select ({keys, items}).
782
+ */
783
+ declare class MkVirtualListElement extends MkElement<VirtualListInstance> {
784
+ static options: Record<string, OptionType>;
785
+ protected create(options: Record<string, unknown>): VirtualListInstance<unknown>;
786
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
787
+ }
788
+
789
+ /**
790
+ * <mk-resizable-panel class="mk-resizable-panel" sizes="25,75" collapsible="0" storage-key="layout">
791
+ * <aside data-min="15">…</aside><main>…</main>
792
+ * </mk-resizable-panel>. Emits mk:resize ({sizes}) and mk:collapse ({index, collapsed}).
793
+ */
794
+ declare class MkResizablePanelElement extends MkElement<ResizablePanelInstance> {
795
+ static options: Record<string, OptionType>;
796
+ protected create(options: Record<string, unknown>): ResizablePanelInstance;
797
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
798
+ }
799
+
800
+ /**
801
+ * <mk-split-view class="mk-split-view" ratio="0.35" stack-below="640" labels="Bandeja,Mensaje">
802
+ * <section>…</section><section>…</section>
803
+ * </mk-split-view>. Emits mk:resize and mk:collapse from its separator.
804
+ */
805
+ declare class MkSplitViewElement extends MkElement<SplitViewInstance> {
806
+ static options: Record<string, OptionType>;
807
+ protected create(options: Record<string, unknown>): SplitViewInstance;
808
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
809
+ }
810
+
811
+ /**
812
+ * <mk-data-table class="mk-data-table" selectable page-size="10" sort="monto:desc"
813
+ * columns='[{"key":"cliente","label":"Cliente"},{"key":"monto","label":"Monto","type":"number"}]'
814
+ * rows='[{"id":1,"cliente":"Ana","monto":1200}]' actions='[{"id":"editar","label":"Editar"}]'></mk-data-table>
815
+ * Emits mk:sort, mk:select, mk:action, mk:bulk-action, mk:page and mk:filter.
816
+ */
817
+ declare class MkDataTableElement extends MkElement<DataTableInstance> {
818
+ static options: Record<string, OptionType>;
819
+ protected create(options: Record<string, unknown>): DataTableInstance<DataRow>;
820
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
821
+ }
822
+
823
+ /**
824
+ * <mk-editable-table class="mk-editable-table" new-row='{"estado":"nuevo"}'
825
+ * columns='[{"key":"producto","label":"Producto","required":true},{"key":"precio","label":"Precio","type":"number","min":0}]'
826
+ * rows='[{"id":1,"producto":"Taza","precio":189}]'></mk-editable-table>
827
+ * Emits mk:change ({changes}) and mk:save ({changes}); listen to mk:save to send them (the engine keeps them as saved).
828
+ */
829
+ declare class MkEditableTableElement extends MkElement<EditableTableInstance> {
830
+ static options: Record<string, OptionType>;
831
+ protected create(options: Record<string, unknown>): EditableTableInstance<DataRow>;
832
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
833
+ }
834
+
835
+ /**
836
+ * <mk-rich-text-editor class="mk-rich-text-editor" name="cuerpo" max-length="500" placeholder="Cuenta tu idea…">
837
+ * <p>Contenido <strong>inicial</strong></p>
838
+ * </mk-rich-text-editor>. Emits mk:change ({html, text}).
839
+ */
840
+ declare class MkRichTextEditorElement extends MkElement<RichTextEditorInstance> {
841
+ static options: Record<string, OptionType>;
842
+ protected create(options: Record<string, unknown>): RichTextEditorInstance;
843
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
844
+ }
845
+
846
+ /**
847
+ * <mk-select class="mk-select" label="Equipo"><select name="equipo">…</select></mk-select>
848
+ * The select inside gives the options and stays in step (forms post it). Emits mk:change ({value}).
849
+ */
850
+ declare class MkSelectElement extends MkElement<SelectInstance> {
851
+ static options: Record<string, OptionType>;
852
+ protected create(options: Record<string, unknown>): SelectInstance;
853
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
854
+ get value(): string;
855
+ }
856
+
857
+ /**
858
+ * <mk-add-to-cart class="mk-add-to-cart" target="#carrito"><button>Agregar</button></mk-add-to-cart>
859
+ * Packs the product's [data-mk-cart-image] and flies it to the cart. Emits mk:add and mk:land ({count}).
860
+ */
861
+ declare class MkAddToCartElement extends MkElement<AddToCartInstance> {
862
+ static options: Record<string, OptionType>;
863
+ protected create(options: Record<string, unknown>): AddToCartInstance;
864
+ get count(): number;
865
+ }
866
+
867
+ /**
868
+ * <mk-scroll-island class="mk-scroll-island" style="height: 24rem; overflow: auto">…</mk-scroll-island>
869
+ * or <mk-scroll-island page></mk-scroll-island> for the page. Emits mk:section ({section}).
870
+ */
871
+ declare class MkScrollIslandElement extends MkElement<ScrollIslandInstance> {
872
+ static options: Record<string, OptionType>;
873
+ protected create(options: Record<string, unknown>): ScrollIslandInstance;
874
+ }
875
+
876
+ /**
877
+ * <mk-pill-button><button type="button">Haz una pregunta</button></mk-pill-button>
878
+ * The dark fill gathers into a circle around the arrow on hover. `expand` starts as the circle.
879
+ */
880
+ declare class MkPillButtonElement extends MkElement<PillButtonInstance> {
881
+ static options: Record<string, OptionType>;
882
+ protected create(options: Record<string, unknown>): PillButtonInstance;
883
+ }
884
+
885
+ /**
886
+ * <mk-toolbar class="mk-toolbar" aria-label="Herramientas" value="lapiz">
887
+ * <button data-mk-tool="lapiz" aria-label="Lápiz">…svg…</button> …
888
+ * </mk-toolbar>
889
+ * The chosen tool's blob stretches like slime to the next one. Emits mk:change ({value}).
890
+ */
891
+ declare class MkToolbarElement extends MkElement<ToolbarInstance> {
892
+ static options: Record<string, OptionType>;
893
+ protected create(options: Record<string, unknown>): ToolbarInstance;
894
+ get value(): string;
895
+ set value(next: string);
896
+ setValue(value: string, notify?: boolean): void;
897
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
898
+ }
899
+
900
+ /**
901
+ * <mk-bidirectional-slider class="mk-bidirectional-slider" label="Volumen" icons="volume" value="20"></mk-bidirectional-slider>
902
+ * A value either side of an origin; the fill grows from it. Emits mk:input and mk:change ({value}).
903
+ */
904
+ declare class MkBidirectionalSliderElement extends MkElement<BidirectionalSliderInstance> {
905
+ static options: Record<string, OptionType>;
906
+ protected create(options: Record<string, unknown>): BidirectionalSliderInstance;
907
+ get value(): number;
908
+ set value(next: number);
909
+ setValue(value: number, notify?: boolean): void;
910
+ reset(notify?: boolean): void;
911
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
912
+ }
913
+
914
+ /**
915
+ * <mk-voice-dots class="mk-voice-dots" state="listening"></mk-voice-dots>
916
+ * Dots that move with a voice. element.listen(stream) follows a microphone; emits mk:state ({state}).
917
+ */
918
+ declare class MkVoiceDotsElement extends MkElement<VoiceDotsInstance> {
919
+ static options: Record<string, OptionType>;
920
+ protected create(options: Record<string, unknown>): VoiceDotsInstance;
921
+ /** A new state flows from where the dots are (the engine, and the audio it follows, stay). */
922
+ attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
923
+ get state(): VoiceState;
924
+ set state(next: VoiceState);
925
+ setLevel(level: number | number[]): void;
926
+ listen(source: MediaStream | HTMLMediaElement): Promise<() => void>;
927
+ stop(): void;
928
+ }
929
+
930
+ /**
931
+ * <mk-pie-chart class="mk-chart mk-pie-chart" label="Ventas por canal"
932
+ * data='[{"label":"Tienda","value":420},{"label":"En línea","value":310}]'></mk-pie-chart>
933
+ * donut="0" draws a pie. Attribute changes glide in place. Emits mk:select ({index, label, value}).
934
+ */
935
+ declare class MkPieChartElement extends MkElement<PieChartInstance> {
936
+ static options: Record<string, OptionType>;
937
+ protected create(options: Record<string, unknown>): PieChartInstance;
938
+ attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
939
+ update(options: PieChartOptions): void;
940
+ select(index: number | null): void;
941
+ }
942
+
943
+ /**
944
+ * <mk-radar-chart class="mk-chart mk-radar-chart" label="Perfil" axes="Velocidad,Calidad,Precio,Soporte,Diseño"
945
+ * series='[{"name":"Ana","values":[8,6,7,9,5]}]'></mk-radar-chart>
946
+ * Attribute changes glide in place. Emits mk:select ({index, label, values}).
947
+ */
948
+ declare class MkRadarChartElement extends MkElement<RadarChartInstance> {
949
+ static options: Record<string, OptionType>;
950
+ protected create(options: Record<string, unknown>): RadarChartInstance;
951
+ attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
952
+ update(options: RadarChartOptions): void;
953
+ select(axis: number | null): void;
954
+ }
955
+
956
+ /**
957
+ * <mk-radial-chart class="mk-chart mk-radial-chart" label="Metas del día"
958
+ * data='[{"label":"Pasos","value":7400,"max":10000},{"label":"Agua","value":5,"max":8}]'></mk-radial-chart>
959
+ * sweep="270" draws a gauge. Attribute changes glide in place. Emits mk:select ({index, label, value}).
960
+ */
961
+ declare class MkRadialChartElement extends MkElement<RadialChartInstance> {
962
+ static options: Record<string, OptionType>;
963
+ protected create(options: Record<string, unknown>): RadialChartInstance;
964
+ attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
965
+ update(options: RadialChartOptions): void;
966
+ select(index: number | null): void;
967
+ }
968
+
969
+ /**
970
+ * <mk-sankey-chart class="mk-chart mk-sankey-chart" label="Embudo de ventas"
971
+ * nodes='[{"id":"visitas","label":"Visitas"},{"id":"carrito","label":"Carrito"}]'
972
+ * links='[{"source":"visitas","target":"carrito","value":420}]'></mk-sankey-chart>
973
+ * Attribute changes glide in place. Emits mk:select ({index, source, target, value}).
974
+ */
975
+ declare class MkSankeyChartElement extends MkElement<SankeyChartInstance> {
976
+ static options: Record<string, OptionType>;
977
+ protected create(options: Record<string, unknown>): SankeyChartInstance;
978
+ attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
979
+ update(options: SankeyChartOptions): void;
980
+ select(index: number | null): void;
981
+ }
982
+
983
+ /** <mk-heatmap-chart></mk-heatmap-chart> */
984
+ declare class MkHeatmapChartElement extends MkElement<HeatmapChartInstance> {
985
+ static options: Record<string, OptionType>;
986
+ protected create(options: Record<string, unknown>): HeatmapChartInstance;
987
+ attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
988
+ update(options: HeatmapChartOptions): void;
989
+ select(date: string | null): void;
990
+ }
991
+
992
+ /**
993
+ * <mk-orbit-menu class="mk-orbit-menu">
994
+ * <button data-mk-orbit-toggle aria-label="Acciones"></button>
995
+ * <button data-mk-orbit-item data-mk-value="nuevo" aria-label="Nuevo">…svg…</button> …
996
+ * </mk-orbit-menu>
997
+ * Options swirl out around the middle button. Emits mk:toggle ({open}) and mk:select ({value}).
998
+ */
999
+ declare class MkOrbitMenuElement extends MkElement<OrbitMenuInstance> {
1000
+ static options: Record<string, OptionType>;
1001
+ protected create(options: Record<string, unknown>): OrbitMenuInstance;
1002
+ open(): void;
1003
+ close(): void;
1004
+ }
1005
+
226
1006
  /** Tag name → element class, for every component. */
227
1007
  declare const ELEMENTS: {
228
1008
  readonly 'mk-theme-picker': typeof MkThemePickerElement;
@@ -243,9 +1023,71 @@ declare const ELEMENTS: {
243
1023
  readonly 'mk-trailer': typeof MkTrailerElement;
244
1024
  readonly 'mk-calendar': typeof MkCalendarElement;
245
1025
  readonly 'mk-slot-picker': typeof MkSlotPickerElement;
1026
+ readonly 'mk-attachment': typeof MkAttachmentElement;
1027
+ readonly 'mk-skeleton': typeof MkSkeletonElement;
1028
+ readonly 'mk-questionnaire': typeof MkQuestionnaireElement;
1029
+ readonly 'mk-code-block': typeof MkCodeBlockElement;
1030
+ readonly 'mk-context-menu': typeof MkContextMenuElement;
1031
+ readonly 'mk-drawer': typeof MkDrawerElement;
1032
+ readonly 'mk-link-preview': typeof MkLinkPreviewElement;
1033
+ readonly 'mk-progress': typeof MkProgressElement;
1034
+ readonly 'mk-range-slider': typeof MkRangeSliderElement;
1035
+ readonly 'mk-chart': typeof MkChartElement;
1036
+ readonly 'mk-credit-card': typeof MkCreditCardElement;
1037
+ readonly 'mk-command-search': typeof MkCommandSearchElement;
1038
+ readonly 'mk-hold-confirm': typeof MkHoldConfirmElement;
1039
+ readonly 'mk-image-preview': typeof MkImagePreviewElement;
1040
+ readonly 'mk-like-button': typeof MkLikeButtonElement;
1041
+ readonly 'mk-notification-bell': typeof MkNotificationBellElement;
1042
+ readonly 'mk-password-strength': typeof MkPasswordStrengthElement;
1043
+ readonly 'mk-scratch-card': typeof MkScratchCardElement;
1044
+ readonly 'mk-star-rating': typeof MkStarRatingElement;
1045
+ readonly 'mk-swipe-actions': typeof MkSwipeActionsElement;
1046
+ readonly 'mk-color-slider': typeof MkColorSliderElement;
1047
+ readonly 'mk-color-area': typeof MkColorAreaElement;
1048
+ readonly 'mk-color-field': typeof MkColorFieldElement;
1049
+ readonly 'mk-color-picker': typeof MkColorPickerElement;
1050
+ readonly 'mk-time-field': typeof MkTimeFieldElement;
1051
+ readonly 'mk-range-calendar': typeof MkRangeCalendarElement;
1052
+ readonly 'mk-date-range-picker': typeof MkDateRangePickerElement;
1053
+ readonly 'mk-tooltip': typeof MkTooltipElement;
1054
+ readonly 'mk-popover': typeof MkPopoverElement;
1055
+ readonly 'mk-loading-button': typeof MkLoadingButtonElement;
1056
+ readonly 'mk-breadcrumb': typeof MkBreadcrumbElement;
1057
+ readonly 'mk-empty-state': typeof MkEmptyStateElement;
1058
+ readonly 'mk-stat-card': typeof MkStatCardElement;
1059
+ readonly 'mk-chart-tooltip': typeof MkChartTooltipElement;
1060
+ readonly 'mk-multi-select': typeof MkMultiSelectElement;
1061
+ readonly 'mk-tag-input': typeof MkTagInputElement;
1062
+ readonly 'mk-date-time-picker': typeof MkDateTimePickerElement;
1063
+ readonly 'mk-filter-builder': typeof MkFilterBuilderElement;
1064
+ readonly 'mk-timeline': typeof MkTimelineElement;
1065
+ readonly 'mk-activity-feed': typeof MkActivityFeedElement;
1066
+ readonly 'mk-tree-view': typeof MkTreeViewElement;
1067
+ readonly 'mk-file-explorer': typeof MkFileExplorerElement;
1068
+ readonly 'mk-json-viewer': typeof MkJsonViewerElement;
1069
+ readonly 'mk-virtual-list': typeof MkVirtualListElement;
1070
+ readonly 'mk-resizable-panel': typeof MkResizablePanelElement;
1071
+ readonly 'mk-split-view': typeof MkSplitViewElement;
1072
+ readonly 'mk-data-table': typeof MkDataTableElement;
1073
+ readonly 'mk-editable-table': typeof MkEditableTableElement;
1074
+ readonly 'mk-rich-text-editor': typeof MkRichTextEditorElement;
1075
+ readonly 'mk-select': typeof MkSelectElement;
1076
+ readonly 'mk-add-to-cart': typeof MkAddToCartElement;
1077
+ readonly 'mk-scroll-island': typeof MkScrollIslandElement;
1078
+ readonly 'mk-pill-button': typeof MkPillButtonElement;
1079
+ readonly 'mk-toolbar': typeof MkToolbarElement;
1080
+ readonly 'mk-bidirectional-slider': typeof MkBidirectionalSliderElement;
1081
+ readonly 'mk-voice-dots': typeof MkVoiceDotsElement;
1082
+ readonly 'mk-pie-chart': typeof MkPieChartElement;
1083
+ readonly 'mk-radar-chart': typeof MkRadarChartElement;
1084
+ readonly 'mk-radial-chart': typeof MkRadialChartElement;
1085
+ readonly 'mk-sankey-chart': typeof MkSankeyChartElement;
1086
+ readonly 'mk-heatmap-chart': typeof MkHeatmapChartElement;
1087
+ readonly 'mk-orbit-menu': typeof MkOrbitMenuElement;
246
1088
  };
247
1089
  type ElementName = keyof typeof ELEMENTS;
248
1090
  /** Register every motion-kit element (or the ones named). Safe to call more than once. */
249
1091
  declare function defineElements(names?: ElementName[]): void;
250
1092
 
251
- export { ELEMENTS, type ElementName, MkCalendarElement, MkChatBackgroundElement, MkChatElement, MkCursorElement, MkDialogElement, MkElement, MkHoverCardElement, MkInputOtpElement, MkIslandElement, MkMenuElement, MkNavElement, MkPaginationElement, MkQuantityElement, MkSlotPickerElement, MkStepsElement, MkStudioDockElement, MkThemePickerElement, MkToasterElement, MkTrailerElement, type OptionType, SafeHTMLElement, defineElement, defineElements, defineStudioDock, defineTrailer };
1093
+ export { ELEMENTS, type ElementName, MkActivityFeedElement, MkAddToCartElement, MkAttachmentElement, MkBidirectionalSliderElement, MkBreadcrumbElement, MkCalendarElement, MkChartElement, MkChartTooltipElement, MkChatBackgroundElement, MkChatElement, MkCodeBlockElement, MkColorAreaElement, MkColorFieldElement, MkColorPickerElement, MkColorSliderElement, MkCommandSearchElement, MkContextMenuElement, MkCreditCardElement, MkCursorElement, MkDataTableElement, MkDateRangePickerElement, MkDateTimePickerElement, MkDialogElement, MkDrawerElement, MkEditableTableElement, MkElement, MkEmptyStateElement, MkFileExplorerElement, MkFilterBuilderElement, MkHeatmapChartElement, MkHoldConfirmElement, MkHoverCardElement, MkImagePreviewElement, MkInputOtpElement, MkIslandElement, MkJsonViewerElement, MkLikeButtonElement, MkLinkPreviewElement, MkLoadingButtonElement, MkMenuElement, MkMultiSelectElement, MkNavElement, MkNotificationBellElement, MkOrbitMenuElement, MkPaginationElement, MkPasswordStrengthElement, MkPieChartElement, MkPillButtonElement, MkPopoverElement, MkProgressElement, MkQuantityElement, MkQuestionnaireElement, MkRadarChartElement, MkRadialChartElement, MkRangeCalendarElement, MkRangeSliderElement, MkResizablePanelElement, MkRichTextEditorElement, MkSankeyChartElement, MkScratchCardElement, MkScrollIslandElement, MkSelectElement, MkSkeletonElement, MkSlotPickerElement, MkSplitViewElement, MkStarRatingElement, MkStatCardElement, MkStepsElement, MkStudioDockElement, MkSwipeActionsElement, MkTagInputElement, MkThemePickerElement, MkTimeFieldElement, MkTimelineElement, MkToasterElement, MkToolbarElement, MkTooltipElement, MkTrailerElement, MkTreeViewElement, MkVirtualListElement, MkVoiceDotsElement, type OptionType, SafeHTMLElement, defineElement, defineElements, defineStudioDock, defineTrailer };