@m3ui-vue/m3ui-vue 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/README.md +53 -2
  2. package/dist/API.md +3806 -0
  3. package/dist/MIcon-CaEooCmZ.js.map +1 -1
  4. package/dist/{MTextField-B0wGv1Mx.js → MTextField-Ck0oWDMk.js} +9 -3
  5. package/dist/MTextField-Ck0oWDMk.js.map +1 -0
  6. package/dist/api.json +1 -0
  7. package/dist/barcode.js.map +1 -1
  8. package/dist/chart.js.map +1 -1
  9. package/dist/code-editor.js +2 -2
  10. package/dist/code-editor.js.map +1 -1
  11. package/dist/components/MAbsolute.vue.d.ts +12 -0
  12. package/dist/components/MAlert.vue.d.ts +4 -0
  13. package/dist/components/MAppBar.vue.d.ts +12 -0
  14. package/dist/components/MAppLayout.vue.d.ts +2 -0
  15. package/dist/components/MAspectRatio.vue.d.ts +1 -0
  16. package/dist/components/MAutocomplete.vue.d.ts +18 -0
  17. package/dist/components/MAvatar.vue.d.ts +3 -0
  18. package/dist/components/MBadge.vue.d.ts +6 -0
  19. package/dist/components/MBar.vue.d.ts +5 -0
  20. package/dist/components/MBarcode.vue.d.ts +9 -0
  21. package/dist/components/MBottomSheet.vue.d.ts +3 -0
  22. package/dist/components/MBox.vue.d.ts +8 -2
  23. package/dist/components/MBreadcrumbs.vue.d.ts +2 -0
  24. package/dist/components/MButton.vue.d.ts +14 -4
  25. package/dist/components/MButtonGroup.vue.d.ts +7 -0
  26. package/dist/components/MCalendar.vue.d.ts +8 -0
  27. package/dist/components/MCard.vue.d.ts +17 -0
  28. package/dist/components/MCarousel.vue.d.ts +7 -1
  29. package/dist/components/MCenter.vue.d.ts +1 -0
  30. package/dist/components/MChart.vue.d.ts +7 -0
  31. package/dist/components/MChatBubble.vue.d.ts +10 -0
  32. package/dist/components/MCheckbox.vue.d.ts +5 -0
  33. package/dist/components/MChip.vue.d.ts +9 -0
  34. package/dist/components/MCircleProgressBar.vue.d.ts +7 -0
  35. package/dist/components/MCodeEditor.vue.d.ts +9 -0
  36. package/dist/components/MColorPicker.vue.d.ts +20 -0
  37. package/dist/components/MColorPickerModal.vue.d.ts +16 -0
  38. package/dist/components/MCommandPalette.vue.d.ts +8 -0
  39. package/dist/components/MConfirmDialog.vue.d.ts +7 -0
  40. package/dist/components/MContainer.vue.d.ts +4 -0
  41. package/dist/components/MContextMenu.vue.d.ts +3 -6
  42. package/dist/components/MCopyButton.vue.d.ts +10 -0
  43. package/dist/components/MDataTable.vue.d.ts +33 -12
  44. package/dist/components/MDatePicker.vue.d.ts +16 -0
  45. package/dist/components/MDatePickerModal.vue.d.ts +9 -0
  46. package/dist/components/MDateRangePicker.vue.d.ts +18 -0
  47. package/dist/components/MDateRangePickerModal.vue.d.ts +9 -0
  48. package/dist/components/MDialog.vue.d.ts +9 -7
  49. package/dist/components/MDivider.vue.d.ts +6 -0
  50. package/dist/components/MDragDropList.vue.d.ts +6 -0
  51. package/dist/components/MDragHandle.vue.d.ts +12 -0
  52. package/dist/components/MEmoji.vue.d.ts +6 -0
  53. package/dist/components/MEmojiButton.vue.d.ts +5 -0
  54. package/dist/components/MEmojiSelector.vue.d.ts +1 -1
  55. package/dist/components/MEmptyState.vue.d.ts +4 -0
  56. package/dist/components/MExpansionPanel.vue.d.ts +9 -0
  57. package/dist/components/MExportButton.vue.d.ts +8 -0
  58. package/dist/components/MFab.vue.d.ts +10 -1
  59. package/dist/components/MFabMenu.vue.d.ts +15 -1
  60. package/dist/components/MFileUpload.vue.d.ts +8 -0
  61. package/dist/components/MFixed.vue.d.ts +10 -0
  62. package/dist/components/MFlex.vue.d.ts +6 -0
  63. package/dist/components/MFooter.vue.d.ts +11 -0
  64. package/dist/components/MFullscreen.vue.d.ts +2 -0
  65. package/dist/components/MGrid.vue.d.ts +7 -0
  66. package/dist/components/MHotkeys.vue.d.ts +4 -0
  67. package/dist/components/MIcon.vue.d.ts +2 -0
  68. package/dist/components/MIconButton.vue.d.ts +10 -0
  69. package/dist/components/MInfiniteScroll.vue.d.ts +6 -0
  70. package/dist/components/MJsonEditor.vue.d.ts +8 -0
  71. package/dist/components/MJsonViewer.vue.d.ts +4 -0
  72. package/dist/components/MKanban.vue.d.ts +2 -0
  73. package/dist/components/MKbd.vue.d.ts +2 -0
  74. package/dist/components/MLightbox.vue.d.ts +4 -0
  75. package/dist/components/MList.vue.d.ts +7 -0
  76. package/dist/components/MListItem.vue.d.ts +29 -5
  77. package/dist/components/MListSubheader.vue.d.ts +6 -0
  78. package/dist/components/MLoadingIndicator.vue.d.ts +10 -0
  79. package/dist/components/MLoadingOverlay.vue.d.ts +5 -0
  80. package/dist/components/MMarkdown.vue.d.ts +3 -0
  81. package/dist/components/MMaskField.vue.d.ts +15 -0
  82. package/dist/components/MMasonry.vue.d.ts +5 -0
  83. package/dist/components/MMenu.vue.d.ts +3 -6
  84. package/dist/components/MMenuDivider.vue.d.ts +4 -0
  85. package/dist/components/MMenuItem.vue.d.ts +5 -0
  86. package/dist/components/MMultiAutocomplete.vue.d.ts +20 -0
  87. package/dist/components/MMultiSelect.vue.d.ts +21 -0
  88. package/dist/components/MNavigationBar.vue.d.ts +2 -0
  89. package/dist/components/MNavigationDrawer.vue.d.ts +11 -0
  90. package/dist/components/MNavigationRail.vue.d.ts +9 -6
  91. package/dist/components/MNavigationSuite.vue.d.ts +5 -3
  92. package/dist/components/MNumberField.vue.d.ts +17 -0
  93. package/dist/components/MOverlay.vue.d.ts +4 -1
  94. package/dist/components/MPageProgress.vue.d.ts +3 -0
  95. package/dist/components/MPagination.vue.d.ts +3 -0
  96. package/dist/components/MPasswordMeter.vue.d.ts +1 -0
  97. package/dist/components/MPinInput.vue.d.ts +11 -0
  98. package/dist/components/MProgressBar.vue.d.ts +6 -0
  99. package/dist/components/MPullToRefresh.vue.d.ts +8 -0
  100. package/dist/components/MQRCode.vue.d.ts +6 -0
  101. package/dist/components/MRadio.vue.d.ts +5 -0
  102. package/dist/components/MRadioGroup.vue.d.ts +6 -0
  103. package/dist/components/MRating.vue.d.ts +11 -0
  104. package/dist/components/MRelativeTime.vue.d.ts +1 -0
  105. package/dist/components/MResponsive.vue.d.ts +3 -0
  106. package/dist/components/MResult.vue.d.ts +6 -0
  107. package/dist/components/MRichTextEditor.vue.d.ts +8 -0
  108. package/dist/components/MScheduler.vue.d.ts +10 -0
  109. package/dist/components/MScrollField.vue.d.ts +40 -0
  110. package/dist/components/MScrollable.vue.d.ts +12 -0
  111. package/dist/components/MSearchBar.vue.d.ts +6 -0
  112. package/dist/components/MSection.vue.d.ts +5 -0
  113. package/dist/components/MSegmentedButton.vue.d.ts +5 -0
  114. package/dist/components/MSelect.vue.d.ts +17 -0
  115. package/dist/components/MShader.vue.d.ts +1 -0
  116. package/dist/components/MShortNavigationBar.vue.d.ts +8 -9
  117. package/dist/components/MSideSheet.vue.d.ts +3 -0
  118. package/dist/components/MSignaturePad.vue.d.ts +7 -0
  119. package/dist/components/MSimpleCarousel.vue.d.ts +10 -0
  120. package/dist/components/MSkeleton.vue.d.ts +8 -0
  121. package/dist/components/MSlider.vue.d.ts +14 -0
  122. package/dist/components/MSnackbar.vue.d.ts +1 -0
  123. package/dist/components/MSpinner.vue.d.ts +6 -0
  124. package/dist/components/MSplitButton.vue.d.ts +7 -0
  125. package/dist/components/MSplitter.vue.d.ts +6 -2
  126. package/dist/components/MSpotlightSearch.vue.d.ts +18 -0
  127. package/dist/components/MStack.vue.d.ts +7 -0
  128. package/dist/components/MStatCard.vue.d.ts +7 -0
  129. package/dist/components/MStepper.vue.d.ts +7 -0
  130. package/dist/components/MSticky.vue.d.ts +2 -0
  131. package/dist/components/MSubtitle.vue.d.ts +4 -0
  132. package/dist/components/MSwipeToDismiss.vue.d.ts +49 -0
  133. package/dist/components/MSwitch.vue.d.ts +5 -6
  134. package/dist/components/MTable.vue.d.ts +17 -4
  135. package/dist/components/MTabs.vue.d.ts +6 -0
  136. package/dist/components/MTagInput.vue.d.ts +17 -0
  137. package/dist/components/MTerminal.vue.d.ts +4 -0
  138. package/dist/components/MText.vue.d.ts +10 -0
  139. package/dist/components/MTextField.vue.d.ts +18 -0
  140. package/dist/components/MTimePicker.vue.d.ts +10 -0
  141. package/dist/components/MTimePickerModal.vue.d.ts +5 -0
  142. package/dist/components/MTimeline.vue.d.ts +3 -0
  143. package/dist/components/MTitle.vue.d.ts +4 -0
  144. package/dist/components/MToggleButton.vue.d.ts +4 -0
  145. package/dist/components/MToolbar.vue.d.ts +5 -0
  146. package/dist/components/MTooltip.vue.d.ts +7 -0
  147. package/dist/components/MTopAppBar.vue.d.ts +8 -0
  148. package/dist/components/MTour.vue.d.ts +5 -0
  149. package/dist/components/MTransferList.vue.d.ts +11 -0
  150. package/dist/components/MTransition.vue.d.ts +34 -0
  151. package/dist/components/MTree.vue.d.ts +11 -0
  152. package/dist/components/MTreeTable.vue.d.ts +7 -0
  153. package/dist/components/MVirtualTable.vue.d.ts +6 -0
  154. package/dist/components/MWindow.vue.d.ts +33 -1
  155. package/dist/components/_MColorPanel.vue.d.ts +18 -0
  156. package/dist/composables/_colorUtils.d.ts +34 -0
  157. package/dist/composables/_themeColor.d.ts +1 -0
  158. package/dist/composables/_useSpring.d.ts +15 -0
  159. package/dist/composables/dynamicColor.d.ts +18 -0
  160. package/dist/composables/useColorPalette.d.ts +27 -0
  161. package/dist/composables/useLocale.d.ts +12 -0
  162. package/dist/index.d.ts +9 -1
  163. package/dist/locales/index.js +70 -0
  164. package/dist/locales/index.js.map +1 -1
  165. package/dist/m3ui-vue.css +1 -1
  166. package/dist/m3ui.js +6456 -5273
  167. package/dist/m3ui.js.map +1 -1
  168. package/dist/markdown.js +1 -1
  169. package/dist/markdown.js.map +1 -1
  170. package/dist/material-color-utilities-Cktu8DBU.js +3160 -0
  171. package/dist/material-color-utilities-Cktu8DBU.js.map +1 -0
  172. package/dist/plugin.d.ts +18 -0
  173. package/dist/qrcode.js.map +1 -1
  174. package/dist/rich-text-editor.js +3 -3
  175. package/dist/rich-text-editor.js.map +1 -1
  176. package/dist/styles/palettes.css +546 -0
  177. package/dist/styles/theme.css +77 -0
  178. package/dist/styles.css +1 -1
  179. package/dist/terminal.js.map +1 -1
  180. package/dist/{useLocale-CmI675Ab.js → useLocale-CFW8cIzL.js} +23 -10
  181. package/dist/useLocale-CFW8cIzL.js.map +1 -0
  182. package/package.json +5 -2
  183. package/src/__tests__/MButtonGroup.test.ts +51 -0
  184. package/src/__tests__/MColorPicker.test.ts +141 -0
  185. package/src/__tests__/MDragHandle.test.ts +57 -0
  186. package/src/__tests__/MHotkeys.test.ts +57 -0
  187. package/src/__tests__/MListItemShape.test.ts +76 -0
  188. package/src/__tests__/MScrollField.test.ts +41 -0
  189. package/src/__tests__/MScrollable.test.ts +42 -0
  190. package/src/__tests__/MSwipeToDismiss.test.ts +104 -0
  191. package/src/__tests__/MTransition.test.ts +27 -0
  192. package/src/__tests__/dynamicColor.test.ts +191 -0
  193. package/src/__tests__/hostLocale.test.ts +57 -0
  194. package/src/components/MAbsolute.vue +18 -0
  195. package/src/components/MAlert.vue +12 -0
  196. package/src/components/MAppBar.vue +12 -0
  197. package/src/components/MAppLayout.vue +11 -0
  198. package/src/components/MAspectRatio.vue +6 -0
  199. package/src/components/MAutocomplete.vue +24 -0
  200. package/src/components/MAvatar.vue +12 -1
  201. package/src/components/MBadge.vue +11 -0
  202. package/src/components/MBar.vue +19 -0
  203. package/src/components/MBarcode.vue +14 -0
  204. package/src/components/MBottomSheet.vue +12 -0
  205. package/src/components/MBox.vue +15 -1
  206. package/src/components/MBreadcrumbs.vue +7 -0
  207. package/src/components/MButton.vue +22 -4
  208. package/src/components/MButtonGroup.vue +129 -35
  209. package/src/components/MCalendar.vue +14 -0
  210. package/src/components/MCard.vue +26 -0
  211. package/src/components/MCarousel.vue +17 -1
  212. package/src/components/MCenter.vue +6 -0
  213. package/src/components/MChart.vue +12 -0
  214. package/src/components/MChatBubble.vue +17 -0
  215. package/src/components/MCheckbox.vue +11 -0
  216. package/src/components/MChip.vue +17 -0
  217. package/src/components/MCircleProgressBar.vue +13 -0
  218. package/src/components/MCodeEditor.vue +15 -0
  219. package/src/components/MColorPicker.vue +124 -207
  220. package/src/components/MColorPickerModal.vue +58 -247
  221. package/src/components/MCommandPalette.vue +16 -0
  222. package/src/components/MConfirmDialog.vue +15 -0
  223. package/src/components/MContainer.vue +9 -0
  224. package/src/components/MContextMenu.vue +17 -6
  225. package/src/components/MCopyButton.vue +16 -0
  226. package/src/components/MDataTable.vue +58 -12
  227. package/src/components/MDatePicker.vue +21 -0
  228. package/src/components/MDatePickerModal.vue +16 -0
  229. package/src/components/MDateRangePicker.vue +23 -0
  230. package/src/components/MDateRangePickerModal.vue +16 -0
  231. package/src/components/MDialog.vue +27 -7
  232. package/src/components/MDivider.vue +6 -0
  233. package/src/components/MDragDropList.vue +18 -0
  234. package/src/components/MDragHandle.vue +54 -0
  235. package/src/components/MEmoji.vue +6 -0
  236. package/src/components/MEmojiButton.vue +11 -0
  237. package/src/components/MEmojiSelector.vue +7 -0
  238. package/src/components/MEmptyState.vue +9 -0
  239. package/src/components/MExpansionPanel.vue +17 -0
  240. package/src/components/MExportButton.vue +15 -0
  241. package/src/components/MFab.vue +17 -0
  242. package/src/components/MFabMenu.vue +20 -0
  243. package/src/components/MFileUpload.vue +19 -0
  244. package/src/components/MFixed.vue +16 -0
  245. package/src/components/MFlex.vue +11 -0
  246. package/src/components/MFooter.vue +11 -0
  247. package/src/components/MFullscreen.vue +8 -0
  248. package/src/components/MGrid.vue +12 -0
  249. package/src/components/MHotkeys.vue +20 -13
  250. package/src/components/MIcon.vue +10 -1
  251. package/src/components/MIconButton.vue +13 -0
  252. package/src/components/MInfiniteScroll.vue +16 -0
  253. package/src/components/MJsonEditor.vue +13 -0
  254. package/src/components/MJsonViewer.vue +7 -0
  255. package/src/components/MKanban.vue +18 -0
  256. package/src/components/MKbd.vue +6 -0
  257. package/src/components/MLightbox.vue +16 -0
  258. package/src/components/MList.vue +48 -3
  259. package/src/components/MListDetail.vue +11 -0
  260. package/src/components/MListItem.vue +112 -5
  261. package/src/components/MListSubheader.vue +6 -0
  262. package/src/components/MLoadingIndicator.vue +15 -0
  263. package/src/components/MLoadingOverlay.vue +12 -0
  264. package/src/components/MMarkdown.vue +7 -0
  265. package/src/components/MMaskField.vue +21 -0
  266. package/src/components/MMasonry.vue +11 -0
  267. package/src/components/MMenu.vue +16 -6
  268. package/src/components/MMenuDivider.vue +4 -0
  269. package/src/components/MMenuItem.vue +16 -0
  270. package/src/components/MMultiAutocomplete.vue +26 -0
  271. package/src/components/MMultiSelect.vue +27 -0
  272. package/src/components/MNavigationBar.vue +7 -0
  273. package/src/components/MNavigationDrawer.vue +25 -0
  274. package/src/components/MNavigationRail.vue +24 -6
  275. package/src/components/MNavigationSuite.vue +20 -3
  276. package/src/components/MNotificationHost.vue +3 -0
  277. package/src/components/MNumberField.vue +24 -0
  278. package/src/components/MOverlay.vue +10 -0
  279. package/src/components/MPageProgress.vue +7 -0
  280. package/src/components/MPagination.vue +15 -1
  281. package/src/components/MPasswordMeter.vue +7 -0
  282. package/src/components/MPinInput.vue +19 -0
  283. package/src/components/MProgressBar.vue +9 -0
  284. package/src/components/MPullToRefresh.vue +17 -0
  285. package/src/components/MQRCode.vue +12 -0
  286. package/src/components/MRadio.vue +11 -0
  287. package/src/components/MRadioGroup.vue +11 -0
  288. package/src/components/MRating.vue +19 -0
  289. package/src/components/MRelative.vue +8 -0
  290. package/src/components/MRelativeTime.vue +6 -0
  291. package/src/components/MResponsive.vue +9 -0
  292. package/src/components/MResult.vue +14 -0
  293. package/src/components/MRichTextEditor.vue +14 -0
  294. package/src/components/MScheduler.vue +21 -0
  295. package/src/components/MScrollField.vue +302 -0
  296. package/src/components/MScrollable.vue +167 -4
  297. package/src/components/MSearchBar.vue +17 -0
  298. package/src/components/MSection.vue +13 -0
  299. package/src/components/MSegmentedButton.vue +10 -0
  300. package/src/components/MSelect.vue +22 -0
  301. package/src/components/MShader.vue +13 -0
  302. package/src/components/MShape.vue +6 -0
  303. package/src/components/MShortNavigationBar.vue +23 -9
  304. package/src/components/MSideSheet.vue +13 -0
  305. package/src/components/MSignaturePad.vue +15 -0
  306. package/src/components/MSimpleCarousel.vue +18 -0
  307. package/src/components/MSkeleton.vue +8 -0
  308. package/src/components/MSlider.vue +21 -0
  309. package/src/components/MSnackbar.vue +5 -0
  310. package/src/components/MSpacer.vue +6 -0
  311. package/src/components/MSpinner.vue +10 -0
  312. package/src/components/MSplitButton.vue +14 -0
  313. package/src/components/MSplitter.vue +42 -9
  314. package/src/components/MSpotlightSearch.vue +27 -0
  315. package/src/components/MStack.vue +12 -0
  316. package/src/components/MStatCard.vue +13 -0
  317. package/src/components/MStepper.vue +12 -0
  318. package/src/components/MSticky.vue +7 -0
  319. package/src/components/MSubtitle.vue +9 -0
  320. package/src/components/MSupportingPane.vue +10 -0
  321. package/src/components/MSwipeToDismiss.vue +247 -0
  322. package/src/components/MSwitch.vue +14 -6
  323. package/src/components/MTable.vue +33 -4
  324. package/src/components/MTabs.vue +12 -0
  325. package/src/components/MTagInput.vue +23 -0
  326. package/src/components/MTerminal.vue +11 -0
  327. package/src/components/MText.vue +15 -0
  328. package/src/components/MTextField.vue +26 -0
  329. package/src/components/MTimePicker.vue +15 -0
  330. package/src/components/MTimePickerModal.vue +12 -0
  331. package/src/components/MTimeline.vue +7 -0
  332. package/src/components/MTitle.vue +9 -0
  333. package/src/components/MToggleButton.vue +12 -0
  334. package/src/components/MToolbar.vue +12 -0
  335. package/src/components/MTooltip.vue +15 -0
  336. package/src/components/MTopAppBar.vue +18 -0
  337. package/src/components/MTour.vue +13 -0
  338. package/src/components/MTransferList.vue +24 -0
  339. package/src/components/MTransition.vue +149 -0
  340. package/src/components/MTree.vue +11 -0
  341. package/src/components/MTreeTable.vue +15 -0
  342. package/src/components/MVirtualTable.vue +12 -0
  343. package/src/components/MWindow.vue +34 -0
  344. package/src/components/_MColorPanel.vue +478 -0
  345. package/src/composables/_colorUtils.ts +107 -0
  346. package/src/composables/_themeColor.ts +33 -0
  347. package/src/composables/_useSpring.ts +89 -0
  348. package/src/composables/dynamicColor.ts +85 -0
  349. package/src/composables/useColorPalette.ts +171 -25
  350. package/src/composables/useFieldBg.ts +6 -0
  351. package/src/composables/useLocale.ts +38 -3
  352. package/src/index.ts +9 -1
  353. package/src/locales/de.ts +10 -0
  354. package/src/locales/es.ts +10 -0
  355. package/src/locales/fr.ts +10 -0
  356. package/src/locales/ja.ts +10 -0
  357. package/src/locales/ko.ts +10 -0
  358. package/src/locales/pt.ts +10 -0
  359. package/src/locales/zh.ts +10 -0
  360. package/src/plugin.ts +30 -8
  361. package/src/styles/palettes.css +546 -0
  362. package/src/styles/theme.css +77 -0
  363. package/dist/MTextField-B0wGv1Mx.js.map +0 -1
  364. package/dist/useLocale-CmI675Ab.js.map +0 -1
package/dist/api.json ADDED
@@ -0,0 +1 @@
1
+ {"name":"@m3ui-vue/m3ui-vue","version":"0.9.2","entries":["@m3ui-vue/m3ui-vue/chart","@m3ui-vue/m3ui-vue/code-editor","@m3ui-vue/m3ui-vue/markdown","@m3ui-vue/m3ui-vue/rich-text-editor","@m3ui-vue/m3ui-vue/terminal","@m3ui-vue/m3ui-vue/qrcode","@m3ui-vue/m3ui-vue/barcode","@m3ui-vue/m3ui-vue"],"components":[{"name":"MAbsolute","import":"@m3ui-vue/m3ui-vue","description":"Declarative absolute positioning without Tailwind classes. Supports manual offsets, placement shortcuts, and per-axis control. Pair it with `MRelative` as the positioning parent.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px). Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset. Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":null,"description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Placement","source":"export type Placement =\n | 'top-left' | 'top-center' | 'top-right'\n | 'center-left' | 'center' | 'center-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"}]},{"name":"MAlert","import":"@m3ui-vue/m3ui-vue","description":"An inline banner for contextual status messages — info, success, warning, or error.","props":[{"name":"type","type":"\"info\" | \"success\" | \"warning\" | \"error\"","required":false,"default":"\"info\"","description":"Alert variant and color","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Bold title text","model":false},{"name":"closeable","type":"boolean","required":false,"default":"false","description":"Show close button","model":false},{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Aria label for the close button (falls back to the locale string)","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked. The parent owns visibility — pair with v-if/v-else to actually hide the alert."}],"slots":[{"name":"default","bindings":null,"description":"Alert body content"},{"name":"actions","bindings":null,"description":"Optional row of action buttons rendered below the body"}],"exposed":[],"types":[]},{"name":"MAppBar","import":"@m3ui-vue/m3ui-vue","description":"A simple, generic slot-based app bar with leading, default, and trailing areas — a lighter-weight alternative to MTopAppBar for when you don't need its variant/title-row layouts.","props":[{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Add shadow elevation","model":false},{"name":"dense","type":"boolean","required":false,"default":null,"description":"Compact height (48px vs 64px)","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false}],"events":[],"slots":[{"name":"leading","bindings":null,"description":"Leading area (e.g. back button, menu icon)"},{"name":"default","bindings":null,"description":"Main content (title text)"},{"name":"trailing","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppLayout","import":"@m3ui-vue/m3ui-vue","description":"Full app shell — drawer, header, content, footer, and fab slots.","props":[{"name":"height","type":"string","required":false,"default":null,"description":"Container height (CSS value). Use \"100%\" to fit inside a parent instead of the viewport.","model":false},{"name":"drawerRight","type":"boolean","required":false,"default":null,"description":"Place the drawer slot on the right side of the layout","model":false}],"events":[],"slots":[{"name":"drawer","bindings":null,"description":"Side navigation (e.g. MNavigationDrawer). Use drawerRight prop to place it on the right."},{"name":"header","bindings":null,"description":"Top bar (e.g. MTopAppBar)"},{"name":"default","bindings":null,"description":"Main scrollable content"},{"name":"footer","bindings":null,"description":"Bottom bar or status area"},{"name":"fab","bindings":null,"description":"Floating elements (e.g. MFab) rendered outside the scroll area"}],"exposed":[],"types":[]},{"name":"MAspectRatio","import":"@m3ui-vue/m3ui-vue","description":"Maintains a consistent aspect ratio for media or containers.","props":[{"name":"ratio","type":"string | number","required":false,"default":"\"16/9\"","description":"Aspect ratio (e.g. \"16/9\", \"4/3\", 1) — passed straight through to the CSS aspect-ratio property","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, sized to fill the box."}],"exposed":[],"types":[]},{"name":"MAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Like MSelect but with a text input for filtering. Type to search, arrow keys to navigate, Enter to select.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted on selection — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MAvatar","import":"@m3ui-vue/m3ui-vue","description":"A circular initials avatar. There's no image-source prop — it always renders extracted initials or a fallback string, never a photo.","props":[{"name":"name","type":"string","required":false,"default":null,"description":"Full name — initials are extracted automatically (first + last). Takes priority over fallback","model":false},{"name":"fallback","type":"string","required":false,"default":null,"description":"Custom text shown when name is not provided (e.g. 'AJ'). Falls back to '?' if neither is set","model":false},{"name":"size","type":"number","required":false,"default":"40","description":"Avatar size in px — also scales the font size proportionally (40%)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MBadge","import":"@m3ui-vue/m3ui-vue","description":"A small numeric or dot indicator overlaid on another element, such as an icon button or avatar.","props":[{"name":"count","type":"number","required":false,"default":null,"description":"Numeric badge value","model":false},{"name":"dot","type":"boolean","required":false,"default":null,"description":"Show a small dot instead of a number","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"error\"","description":"Badge color","model":false},{"name":"max","type":"number","required":false,"default":"99","description":"Max value before showing \"N+\"","model":false},{"name":"position","type":"BadgePosition","required":false,"default":"\"top-right\"","description":"Corner where the badge is placed","model":false},{"name":"overlap","type":"BadgeOverlap","required":false,"default":"\"edge\"","description":"How much the badge overlaps the content","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The element the badge sits on."}],"exposed":[],"types":[{"name":"BadgePosition","source":"export type BadgePosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'"},{"name":"BadgeOverlap","source":"export type BadgeOverlap = 'inside' | 'outside' | 'edge'"}]},{"name":"MBar","import":"@m3ui-vue/m3ui-vue","description":"A draggable Electron title bar for frameless windows (`frame: false`). Sets `-webkit-app-region: drag` on itself and carves out `no-drag` around the icon, controls, and slot content, so those stay clickable. It can't touch the real OS window — minimize/maximize/close just emit events for your app to forward over IPC.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Window title text","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol name, or an image src (URL, data URI, or a path with a file extension) — detected automatically.","model":false},{"name":"titleAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centered floats over the whole bar so it stays centered regardless of side content width","model":false},{"name":"controls","type":"boolean","required":false,"default":null,"description":"Show the minimize/maximize/close buttons as a group. Defaults to `true`, except on `platform=\"macos\"` where the OS draws native traffic lights instead.","model":false},{"name":"minimizable","type":"boolean","required":false,"default":null,"description":"Individually hide one control while keeping the others — e.g. a fixed-size window with no maximize button.","model":false},{"name":"maximizable","type":"boolean","required":false,"default":null,"description":"Show the maximize/restore button on its own","model":false},{"name":"closable","type":"boolean","required":false,"default":null,"description":"Show the close button on its own","model":false},{"name":"maximized","type":"boolean","required":false,"default":"false","description":"Reflects the real window state — the bar has no way to know it itself, the host app must read it from its Electron main process and pass it down.","model":false},{"name":"platform","type":"\"windows\" | \"macos\"","required":false,"default":"\"windows\"","description":"'macos' reserves space for the native traffic lights and hides the drawn controls by default","model":false},{"name":"height","type":"number","required":false,"default":"36","description":"Bar height in px.","model":false},{"name":"doubleClickMaximize","type":"boolean","required":false,"default":"true","description":"Double-clicking empty drag space toggles maximize, matching native title bar behavior.","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"minimize","args":"","description":"Emitted when the minimize button is clicked — forward to your Electron IPC call"},{"name":"maximize","args":"","description":"Emitted when the maximize/restore button is clicked, or (with doubleClickMaximize) empty drag space is double-clicked"}],"slots":[{"name":"icon","bindings":null,"description":"Replaces the icon — e.g. an `<img>` logo instead of a Material Symbol"},{"name":"title","bindings":null,"description":"Replaces the title text"},{"name":"default","bindings":null,"description":"Extra content between the title and the trailing area (drag-adjacent, e.g. tabs)"},{"name":"trailing","bindings":null,"description":"Action buttons right before minimize/maximize/close"}],"exposed":[],"types":[]},{"name":"MBarcode","import":"@m3ui-vue/m3ui-vue/barcode","description":"Renders a barcode as inline SVG. Available from the `/barcode` entry point.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"format","type":"string","required":false,"default":"\"CODE128\"","description":"Barcode symbology. Common values: 'CODE128', 'EAN13', 'EAN8', 'UPC', 'CODE39', 'ITF14', 'MSI', 'pharmacode', 'codabar'.","model":false},{"name":"width","type":"number","required":false,"default":"2","description":"Width of the narrowest bar, in px","model":false},{"name":"height","type":"number","required":false,"default":"80","description":"Bar height in px","model":false},{"name":"displayValue","type":"boolean","required":false,"default":"true","description":"Show the encoded text below the bars","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Bar color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Background color","model":false},{"name":"margin","type":"number","required":false,"default":"10","description":"Quiet zone around the barcode, in px","model":false},{"name":"fontSize","type":"number","required":false,"default":"20","description":"Font size for the displayed value","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is invalid for the given format (e.g. a non-numeric EAN13)"}],"exposed":[],"types":[]},{"name":"MBottomSheet","import":"@m3ui-vue/m3ui-vue","description":"A sheet that slides up from the bottom of the screen, capped at a 640px max width and rounded top corners. Supports drag-to-dismiss via the handle bar, or tapping the scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title","model":false},{"name":"fullHeight","type":"boolean","required":false,"default":"false","description":"Use max-h-[92vh] instead of the default max-h-[60vh]","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss, or the close button) — powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MBox","import":"@m3ui-vue/m3ui-vue","description":"Generic surface box with padding, radius, elevation, and border — a building block for ad-hoc layout that doesn't warrant a dedicated component.","props":[{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"container-highest\" | \"primary-container\" | \"secondary-container\" | \"tertiary-container\" | \"inverse\"","required":false,"default":null,"description":"Surface color variant","model":false},{"name":"padding","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Padding size","model":false},{"name":"rounded","type":"\"none\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\"","required":false,"default":"\"none\"","description":"Border radius","model":false},{"name":"elevation","type":"0 | 1 | 2 | 3 | 4 | 5","required":false,"default":"0","description":"Shadow elevation level (M3 levels 0–5)","model":false},{"name":"border","type":"boolean","required":false,"default":"false","description":"Show border","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MBreadcrumbs","import":"@m3ui-vue/m3ui-vue","description":"A navigation trail showing the current page's location within a hierarchy, with icons and custom separators.","props":[{"name":"items","type":"BreadcrumbItem[]","required":true,"default":null,"description":"Breadcrumb items (see `BreadcrumbItem`)","model":false},{"name":"separator","type":"string","required":false,"default":"\"chevron_right\"","description":"Material Symbol separator icon","model":false}],"events":[{"name":"select","args":"BreadcrumbItem, number","description":"Emitted when a non-last, non-disabled item is clicked"}],"slots":[],"exposed":[],"types":[{"name":"BreadcrumbItem","source":"export interface BreadcrumbItem {\n label: string\n icon?: string\n to?: string\n disabled?: boolean\n}"}]},{"name":"MButton","import":"@m3ui-vue/m3ui-vue","description":"The standard M3 button — five variants, five expressive size tiers, and either color.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"filled\"","description":"Visual style of the button","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Named semantic color ('primary' | 'error') OR any CSS color string ('red', '#e91e63', 'oklch(0.6 0.2 0)', …). When a CSS color is passed, --color-primary is overridden for this button.","model":false},{"name":"type","type":"\"button\" | \"submit\" | \"reset\"","required":false,"default":"\"button\"","description":"HTML button type","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner and disables the button","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown next to the label","model":false},{"name":"iconPos","type":"\"leading\" | \"trailing\"","required":false,"default":"\"leading\"","description":"Which side of the label the icon renders on","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier expressive button sizing (xs: 32px, sm: 40px, md: 56px, lg: 96px, xl: 136px) — lg/xl are meant for hero-style prominent buttons, not everyday UI","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The button's label."}],"exposed":[],"types":[]},{"name":"MButtonGroup","import":"@m3ui-vue/m3ui-vue","description":"A set of buttons that share selection state — standard (separated) or connected (joined into one pill), single or multi select, any value type.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value(s) — any type (v-model)","model":true},{"name":"options","type":"ButtonGroupOption[]","required":true,"default":null,"description":"The options to choose from; see `ButtonGroupOption`.","model":false},{"name":"variant","type":"\"standard\" | \"connected\"","required":false,"default":"\"standard\"","description":"Standard (separated) or connected (joined)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"selectionRequired","type":"boolean","required":false,"default":"false","description":"At least one must be selected","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected button color","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ButtonGroupOption","source":"export interface ButtonGroupOption {\n value: unknown\n label?: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MCalendar","import":"@m3ui-vue/m3ui-vue","description":"A monthly calendar grid with color-coded, clickable events.","props":[{"name":"events","type":"CalendarEvent[]","required":false,"default":"[]","description":"Array of events to render on the grid (see `CalendarEvent`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/weekday names, via Intl.DateTimeFormat. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label for the Today button — falls back to the locale's own string when unset","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — falls back to the locale's own string when unset","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — falls back to the locale's own string when unset","model":false}],"events":[{"name":"dateClick","args":"string","description":"Emitted when an empty part of a day cell is clicked"},{"name":"eventClick","args":"CalendarEvent","description":"Emitted when an event pill is clicked"}],"slots":[],"exposed":[],"types":[{"name":"CalendarEvent","source":"export interface CalendarEvent {\n id: string | number\n title: string\n date: string\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n icon?: string\n}"}]},{"name":"MCard","import":"@m3ui-vue/m3ui-vue","description":"A flexible surface for grouping related content — three variants following the M3 elevation system, with optional header image, structured title/subtitle, and action buttons.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"elevated\"","description":"Card surface style","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the card an interactive element — hover/press elevation (varies by variant per M3), a focus ring/border on keyboard focus, and reachable/activatable via Tab + Enter/Space, not just mouse","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Shortcut that forces the elevated variant regardless of variant — true is equivalent to variant='elevated'","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled visual state (own per-variant color, not just a dimmed one) and, when combined with clickable, blocks interaction entirely","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"src URL for a full-bleed header image","model":false},{"name":"imageAlt","type":"string","required":false,"default":null,"description":"Alt text for the header image","model":false},{"name":"imageHeight","type":"string","required":false,"default":null,"description":"Tailwind height class for the image","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Card title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Supporting text below the title","model":false}],"events":[],"slots":[{"name":"media","bindings":null,"description":"Custom media content (alternative to the image prop)"},{"name":"header","bindings":null,"description":"Custom header content (overrides title/subtitle props)"},{"name":"default","bindings":null,"description":"Main content area (raw, no wrapper)"},{"name":"actions","bindings":null,"description":"Bottom action buttons (flex row, right-aligned)"}],"exposed":[],"types":[]},{"name":"MCarousel","import":"@m3ui-vue/m3ui-vue","description":"The Material 3 carousel, with its four layouts. Items keep one size and are laid out side by side; as you scroll, each one is masked down to the space it has, so items grow as they reach the focal position and shrink as they leave. Drag it (touch or mouse), scroll it with a trackpad or a horizontal wheel, or focus it and use the arrow keys. For fixed-width slides with arrows and autoplay, see MSimpleCarousel.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Items to render, required. CarouselItem by default; any type with an #item slot","model":false},{"name":"modelValue","type":"number","required":false,"default":null,"description":"Index of the current (snapped) item; use with v-model to follow or drive it.","model":true},{"name":"variant","type":"CarouselVariant","required":false,"default":"\"multi-browse\"","description":"Carousel layout","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Scroll axis","model":false},{"name":"itemSize","type":"number","required":false,"default":null,"description":"Size of large items along the scroll axis, in px. Multi-browse and hero treat it as the preferred size (the arrangement that fits best wins); uncontained uses it as is. Hero without it fills the container minus its small items; full-screen ignores it.","model":false},{"name":"itemSpacing","type":"number","required":false,"default":"8","description":"Space between items, in px (M3 uses 8).","model":false},{"name":"contentPadding","type":"number","required":false,"default":"0","description":"Padding at both ends of the scroll axis, in px. Items scroll under it.","model":false},{"name":"minSmallItemSize","type":"number","required":false,"default":"40","description":"Smallest size a small item can take (multi-browse, hero)","model":false},{"name":"maxSmallItemSize","type":"number","required":false,"default":"56","description":"Largest size a small item can take (multi-browse, hero)","model":false},{"name":"flingBehavior","type":"CarouselFlingBehavior","required":false,"default":null,"description":"What a release does. Defaults to 'no-snap' for uncontained, 'single-advance' otherwise.","model":false},{"name":"userScrollEnabled","type":"boolean","required":false,"default":"true","description":"Allow dragging, wheel and keyboard scrolling","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Height of the carousel. Defaults to 205px for a horizontal carousel that isn't full-screen.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the carousel.","model":false}],"events":[{"name":"update:modelValue","args":"index: number","description":"The current item changed"},{"name":"itemClick","args":"item: T, index: number","description":"An item was clicked (not dragged). A partly visible item also scrolls into focus"}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Content of each item, filling its full (unmasked) box. Replaces the default image and label"}],"exposed":[],"types":[{"name":"CarouselItem","source":"export interface CarouselItem {\n src: string\n alt?: string\n label?: string\n}"},{"name":"CarouselVariant","source":"export type CarouselVariant = 'multi-browse' | 'uncontained' | 'hero' | 'full-screen'"},{"name":"CarouselFlingBehavior","source":"export type CarouselFlingBehavior = 'single-advance' | 'multi-browse' | 'no-snap'"}]},{"name":"MCenter","import":"@m3ui-vue/m3ui-vue","description":"Centers its children both horizontally and vertically.","props":[{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, centered."}],"exposed":[],"types":[]},{"name":"MChart","import":"@m3ui-vue/m3ui-vue/chart","description":"A thin Chart.js wrapper — line, bar, pie, doughnut, and radar types, with legend/tooltip/axis colors that automatically track the active M3 theme (light/dark, and any palette swap). Available from the `/chart` entry point.","props":[{"name":"type","type":"ChartType","required":true,"default":null,"description":"Chart type. Required — there is no default.","model":false},{"name":"data","type":"Record<string, any>","required":true,"default":null,"description":"Chart.js data object with labels and datasets. Required — there is no default.","model":false},{"name":"options","type":"Record<string, any>","required":false,"default":null,"description":"Chart.js options, deep-merged on top of MChart's own M3-themed defaults (legend/tooltip/axis colors that track the active theme automatically)","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Chart height","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"ChartType","source":"type ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'"}]},{"name":"MChatBubble","import":"@m3ui-vue/m3ui-vue","description":"A chat message bubble — sender name, avatar, timestamp, and read status, for left (received) or right (sent) messages.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Message text (or use the default slot for custom content)","model":false},{"name":"sender","type":"string","required":false,"default":null,"description":"Sender name shown above the bubble (left-side only)","model":false},{"name":"time","type":"string","required":false,"default":null,"description":"Timestamp string (e.g. \"10:32\")","model":false},{"name":"side","type":"\"right\" | \"left\"","required":false,"default":"\"left\"","description":"Left = received, right = sent","model":false},{"name":"avatar","type":"string","required":false,"default":null,"description":"Avatar name — shows an MAvatar with these initials (left-side only)","model":false},{"name":"status","type":"\"sent\" | \"delivered\" | \"read\"","required":false,"default":null,"description":"Message status icon next to the timestamp (right-side only)","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bubble color for sent (right-side) messages","model":false},{"name":"tail","type":"boolean","required":false,"default":"true","description":"Show the bubble tail (a sharper corner on the side nearest the sender)","model":false},{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"medium\"","description":"Text size (body-small / body-medium / body-large)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Max bubble width (px, %, or var()) — supports a CSS variable for responsive control","model":false},{"name":"typing","type":"\"text\" | \"audio\"","required":false,"default":null,"description":"Shows a live indicator instead of the content: bouncing dots while the other person types, or a mic with a moving waveform while they record audio.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content inside the bubble, replacing the text prop — images, files, buttons, or any layout"}],"exposed":[],"types":[]},{"name":"MCheckbox","import":"@m3ui-vue/m3ui-vue","description":"A checkbox with checked, indeterminate, and disabled states, and 4 semantic color options.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Checked state (v-model)","model":true},{"name":"indeterminate","type":"boolean","required":false,"default":"false","description":"Indeterminate state","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the checkbox","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text — overridden by the default slot when present","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Checked/indeterminate color","model":false},{"name":"ariaLabel","type":"string","required":false,"default":null,"description":"Accessible name for the input when there's no visible label (e.g. a list row's checkbox).","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new checked state."}],"slots":[{"name":"default","bindings":null,"description":"Custom label content — overrides the label prop when provided"}],"exposed":[],"types":[]},{"name":"MChip","import":"@m3ui-vue/m3ui-vue","description":"Compact elements for filters, input, or actions — named semantic tones or any CSS color, with optional icon, click, selection, and removal support.","props":[{"name":"tone","type":"string","required":false,"default":"\"neutral\"","description":"Color tone or any CSS color string","model":false},{"name":"selected","type":"boolean","required":false,"default":"false","description":"Selected/active state — the chip's shape morphs from a rounded rect to a full pill when selected","model":false},{"name":"removable","type":"boolean","required":false,"default":"false","description":"Show a remove (X) button","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the chip an interactive `<button>` with hover/press/focus feedback (otherwise renders as a plain `<span>`)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a clickable, non-disabled chip is clicked"},{"name":"remove","args":"","description":"Emitted when the remove (X) button is clicked (removable only)"}],"slots":[{"name":"default","bindings":null,"description":"The chip's label."}],"exposed":[],"types":[]},{"name":"MCircleProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A circular progress indicator — a smooth arc, or the M3 Expressive wavy ring that fades between a circle and a bumpy wave near the extremes.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit when indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Spinning arc — no value needed. Identical for both variants.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Ring color","model":false},{"name":"variant","type":"\"wavy\" | \"circle\"","required":false,"default":"\"wavy\"","description":"wavy: animated bumpy ring that fades to circle near 0% and 100%; circle: smooth arc","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text below the circle","model":false},{"name":"size","type":"number","required":false,"default":null,"description":"Diameter in px — matches the real M3 WaveSize/Size tokens per variant","model":false},{"name":"thickness","type":"number","required":false,"default":"4","description":"Stroke width of the ring/wave in px, matching the real M3 token","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content centered inside the ring. When provided, the percentage label is hidden."}],"exposed":[],"types":[]},{"name":"MCodeEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A syntax-highlighted code editor built on CodeMirror 6, with a header bar, line numbers, and a copy button.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Editor content (v-model)","model":true},{"name":"language","type":"Language","required":false,"default":"\"javascript\"","description":"Syntax language","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"lineNumbers","type":"boolean","required":false,"default":"true","description":"Show line numbers","model":false},{"name":"theme","type":"\"light\" | \"dark\"","required":false,"default":"\"light\"","description":"Color theme","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum editor height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Maximum editor height","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown via CodeMirror when the editor is empty","model":false},{"name":"wrap","type":"boolean","required":false,"default":"true","description":"Word wrap","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every document change — powers v-model"}],"slots":[{"name":"actions","bindings":null,"description":"Extra controls rendered in the header bar, before the built-in copy button"}],"exposed":[],"types":[{"name":"Language","source":"type Language = 'javascript' | 'typescript' | 'json' | 'html' | 'css' | 'python' | 'vue' | 'c' | 'cpp' | 'rust' | 'asm' | 'plain'"}]},{"name":"MColorPicker","import":"@m3ui-vue/m3ui-vue","description":"An outlined field that opens a color picker in a dropdown: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Updates the value live while picking.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the panel","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the picked color, live while dragging or typing."}],"slots":[],"exposed":[],"types":[]},{"name":"MColorPickerModal","import":"@m3ui-vue/m3ui-vue","description":"A color picker in a dialog: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Built on MDialog; the color is only applied on confirm, and the preview shows it next to the original.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the dialog","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title; defaults to the locale's `selectColor`","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember confirmed colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted when a color is confirmed — powers v-model. Only fires on confirm, not while dragging"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MCommandPalette","import":"@m3ui-vue/m3ui-vue","description":"A searchable, keyboard-driven command palette — grouped commands, fuzzy-free substring search, and a global hotkey (Cmd/Ctrl+K by default).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"items","type":"CommandItem[]","required":true,"default":null,"description":"Commands to search over (see `CommandItem`). Required — there is no default.","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"k\"","description":"Global keyboard shortcut key, combined with Cmd/Ctrl, to toggle the palette","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"selectHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"CommandItem","description":"Emitted when an item is chosen (click, or Enter) — fires before the item's own onSelect callback runs"}],"slots":[],"exposed":[],"types":[{"name":"CommandItem","source":"export interface CommandItem {\n id: string\n label: string\n icon?: string\n shortcut?: string\n group?: string\n disabled?: boolean\n onSelect?: () => void\n}"}]},{"name":"MConfirmDialog","import":"@m3ui-vue/m3ui-vue","description":"A pre-built confirmation dialog on top of MDialog — title, message, cancel/confirm buttons, a danger color mode, and a loading state, so you don't have to hand-roll one for every \"are you sure?\" prompt.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":true,"default":null,"description":"Dialog title","model":false},{"name":"message","type":"string","required":true,"default":null,"description":"Confirmation message body","model":false},{"name":"confirmLabel","type":"string","required":false,"default":null,"description":"Confirm button label — falls back to the locale string when omitted","model":false},{"name":"cancelLabel","type":"string","required":false,"default":null,"description":"Cancel button label — falls back to the locale string when omitted","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Error color on the confirm button, for destructive actions","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner on the confirm button and disables cancel","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Passed straight through to MDialog's `closable` — show/hide the header close (X) button.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"},{"name":"confirm","args":"","description":"Emitted when the confirm button is clicked — the dialog stays open until the caller sets modelValue to false (or clears loading)"}],"slots":[],"exposed":[],"types":[]},{"name":"MContainer","import":"@m3ui-vue/m3ui-vue","description":"Constrains content width with responsive horizontal padding.","props":[{"name":"maxWidth","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | \"2xl\"","required":false,"default":"\"lg\"","description":"Maximum width breakpoint","model":false},{"name":"fluid","type":"boolean","required":false,"default":"false","description":"Full-width (no max constraint)","model":false},{"name":"centered","type":"boolean","required":false,"default":"true","description":"Center horizontally with mx-auto","model":false},{"name":"padding","type":"boolean","required":false,"default":"true","description":"Add responsive horizontal padding","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MContextMenu","import":"@m3ui-vue/m3ui-vue","description":"A right-click context menu composed with MMenuItem — same item/divider/submenu building blocks as MMenu, but positioned at the cursor instead of anchored to a trigger element.","props":[{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":null,"description":"The element(s) that respond to right-click. MContextMenu intercepts contextmenu events automatically and positions the panel at the cursor, clamped to stay on-screen."},{"name":"default","bindings":null,"description":"Menu items — use MMenuItem, MMenuDivider, or any element."}],"exposed":[{"name":"show","type":"(e: MouseEvent) => void","description":""},{"name":"showAt","type":"(x: number, y: number) => Promise<void>","description":""},{"name":"hide","type":"() => void","description":""}],"types":[]},{"name":"MCopyButton","import":"@m3ui-vue/m3ui-vue","description":"Wraps MIconButton and swaps to a checkmark for resetDelay ms after a successful copy.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Text copied to the clipboard on click","model":false},{"name":"icon","type":"string","required":false,"default":"\"content_copy\"","description":"Icon shown in the idle state","model":false},{"name":"copiedIcon","type":"string","required":false,"default":"\"check\"","description":"Icon shown right after a successful copy","model":false},{"name":"label","type":"string","required":false,"default":"\"Copy\"","description":"aria-label in the idle state","model":false},{"name":"copiedLabel","type":"string","required":false,"default":"\"Copied\"","description":"aria-label right after a successful copy","model":false},{"name":"variant","type":"\"filled\" | \"outlined\" | \"tonal\" | \"standard\"","required":false,"default":"\"standard\"","description":"Visual style (same as MIconButton)","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false},{"name":"resetDelay","type":"number","required":false,"default":"2000","description":"Milliseconds before the icon reverts to idle after copying","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if the browser refuses the clipboard write"},{"name":"copied","args":"string","description":"Emitted with the copied value after a successful clipboard write"}],"slots":[],"exposed":[],"types":[]},{"name":"MDataTable","import":"@m3ui-vue/m3ui-vue","description":"A feature-rich data table — everything MTable has, plus column resize/pin/toggle, row grouping, striped/dense density, sticky header, expandable rows, and CSV export.","props":[{"name":"columns","type":"DataTableColumn[]","required":true,"default":null,"description":"Column definitions; see `DataTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Enable row expansion (requires the row-expand slot)","model":false},{"name":"striped","type":"boolean","required":false,"default":"false","description":"Alternate row colors","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"stickyHeader","type":"boolean","required":false,"default":"false","description":"Sticky table header","model":false},{"name":"groupBy","type":"string","required":false,"default":null,"description":"Group rows by this column key","model":false},{"name":"columnToggle","type":"boolean","required":false,"default":"false","description":"Allow hiding/showing columns from a menu","model":false},{"name":"exportable","type":"boolean","required":false,"default":"false","description":"Show an export-to-CSV button","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit fetch instead of local filtering. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge (defaults to the locale string)","model":false},{"name":"recordsText","type":"string","required":false,"default":null,"description":"Text for total records count (defaults to the locale string)","model":false},{"name":"expandLabel","type":"string","required":false,"default":null,"description":"Aria label for the expand button (defaults to the locale string)","model":false},{"name":"columnsLabel","type":"string","required":false,"default":null,"description":"Label for the column-toggle button (defaults to the locale string)","model":false},{"name":"exportLabel","type":"string","required":false,"default":null,"description":"Label for the export button (defaults to the locale string)","model":false},{"name":"noGroupText","type":"string","required":false,"default":null,"description":"Text for the ungrouped-rows bucket (defaults to the locale string)","model":false},{"name":"minHeight","type":"string","required":false,"default":null,"description":"Reserves a fixed min-height for the table area (any valid CSS min-height value) so switching between loading/empty/loaded doesn't visibly resize the table. Off by default.","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"DataTableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"},{"name":"row-expand","bindings":"{ row: Record<string, any>; }","description":"Expanded-row detail content, shown when expandable is true and the row is toggled open"}],"exposed":[],"types":[{"name":"DataTableColumn","source":"export interface DataTableColumn {\n key: string\n label: string\n sortable?: boolean\n filterable?: boolean\n resizable?: boolean\n width?: string\n minWidth?: string\n align?: 'left' | 'center' | 'right'\n pinned?: 'left' | 'right'\n hidden?: boolean\n}"},{"name":"DataTableFetchParams","source":"export interface DataTableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"}]},{"name":"MDatePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar date picker with locale support and min/max range clamping.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected date (YYYY-MM-DD, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no date is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked date."}],"slots":[],"exposed":[],"types":[]},{"name":"MDatePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date picker with calendar and keyboard input modes. For a field that opens a dropdown calendar, use MDatePicker.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected date in YYYY-MM-DD format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MDateRangePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar for selecting a start and end date, with range highlighting.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model); see `DateRange`","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no range is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false},{"name":"pickStartText","type":"string","required":false,"default":null,"description":"Header text shown while picking the start date — defaults to the current locale's string","model":false},{"name":"pickEndText","type":"string","required":false,"default":null,"description":"Header text shown while picking the end date — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted with the picked range."}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDateRangePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date range picker with range highlighting — the sibling of MDateRangePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model) — see `DateRange`","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted when the end date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDialog","import":"@m3ui-vue/m3ui-vue","description":"The generic M3 modal shell — Escape, scroll lock, and Teleport are handled internally. Supports a centered card, a full-screen variant, and an optional icon that centers the title per spec.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title (overridable via the #title slot)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"max-w-[560px]\"","description":"A Tailwind class (`max-w-sm`) or a CSS value (`420px`, `min(90vw, 40rem)`).","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"max-h-[90vh]\"","description":"Maximum height: a Tailwind class (`max-h-[60vh]`) or a CSS value (`480px`, `calc(100dvh - 4rem)`). When the content is taller, the body scrolls and a divider appears above the actions.","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Prevent closing by clicking the scrim, pressing Escape, or the X button","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Full-screen variant — slides up from the bottom, covers the entire viewport","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Aria label for the close (X) button — falls back to the locale string when omitted","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show the header close (X) button — a library addition, not part of the M3 AlertDialog spec, so it can be turned off","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"}],"slots":[{"name":"icon","bindings":null,"description":"M3 AlertDialog's optional icon (Secondary color, 24dp expected). Its presence also centers the title, per spec."},{"name":"title","bindings":null,"description":"Overrides the title prop with custom markup"},{"name":"default","bindings":null,"description":"Dialog body content — scrolls independently when taller than maxHeight"},{"name":"actions","bindings":null,"description":"Row of action buttons — wraps to a new line instead of overflowing when labels are long"}],"exposed":[],"types":[]},{"name":"MDivider","import":"@m3ui-vue/m3ui-vue","description":"A thin separator line, horizontal or vertical, with an optional centered label.","props":[{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Render as a vertical divider (fills the height of a flex container)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text label in the middle of the divider (horizontal only)","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Add left margin (ml-16) to align with content that has a leading icon","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDragDropList","import":"@m3ui-vue/m3ui-vue","description":"A reorderable list: v-model the array and render each row with the #default slot. Works with a mouse, a finger and the keyboard. The dragged row lifts with M3's dragged-item elevation and the rest slide out of its way.","props":[{"name":"modelValue","type":"DragDropItem[]","required":true,"default":null,"description":"Array of items with a unique id (v-model)","model":true},{"name":"handle","type":"boolean","required":false,"default":"false","description":"Drag only from a handle button at the start of each row. Touch drags start right away from the handle; without it, a whole row starts dragging after a long press so swipes still scroll the page","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns reordering off (pointer and keyboard) and dims the list","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Drops the row's own look (padding, min height, hover/dragged state layer, background) so the slot draws the whole row, e.g. one card per item. Dragging, the lift shadow (as a drop-shadow that follows your content's shape) and keyboard support remain. With `handle`, bind the slot's `handleProps` onto your own grip element.","model":false}],"events":[{"name":"update:modelValue","args":"DragDropItem[]","description":"Emitted with the reordered array (v-model)"},{"name":"reorder","args":"{ from: number; to: number; items: DragDropItem[]; }","description":"Emitted alongside update:modelValue with the source and destination indices. Useful for saving the new order to a backend"}],"slots":[{"name":"default","bindings":"{ item: DragDropItem; index: number; dragging: boolean; handleProps: Record<string, unknown>; }","description":"Content of each row (or the whole row with bare). Falls back to item.id. Controls inside it (checkboxes, switches, buttons, links) keep working and never start a drag. dragging is true while the row is lifted; handleProps (with handle) goes on your own grip element via v-bind"}],"exposed":[],"types":[{"name":"DragDropItem","source":"export interface DragDropItem {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MDragHandle","import":"@m3ui-vue/m3ui-vue","description":"M3's drag handle: the capsule users drag to resize or move something, e.g. the divider between two panes. Port of Compose's `VerticalDragHandle`; it only draws the handle and its pressed/dragged look, the dragging itself is up to the parent (MSplitter uses it).","props":[{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"`vertical` is a tall capsule for horizontal drags (between side-by-side panes); `horizontal` is a wide one for vertical drags.","model":false},{"name":"dragging","type":"boolean","required":false,"default":"false","description":"Show the dragged look (the parent is dragging)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MEmoji","import":"@m3ui-vue/m3ui-vue","description":"Renders a single emoji character at a fixed pixel size, with optional accessible labeling.","props":[{"name":"emoji","type":"string","required":true,"default":null,"description":"The emoji character to display — required","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Size in pixels (sets font-size, width, and height)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — when set, adds role=\"img\" and aria-label","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiButton","import":"@m3ui-vue/m3ui-vue","description":"A single emoji button that cycles through a random pool on hover (Discord-style) and emits whichever emoji is showing when clicked.","props":[{"name":"emoji","type":"string","required":false,"default":"\"😀\"","description":"Default/current emoji shown before any hover cycling or click","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Emoji font size in pixels (the button itself is size + 12px)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — defaults to 'Emoji {emoji}'","model":false},{"name":"randomOnHover","type":"boolean","required":false,"default":"true","description":"Cycle to a random emoji on hover (Discord-style)","model":false},{"name":"category","type":"string","required":false,"default":null,"description":"Limit random pool to a category id (e.g. 'smileys', 'animals')","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false}],"events":[{"name":"click","args":"emoji: string","description":"Emitted on click with the currently displayed emoji (whatever hover last cycled to)"}],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiSelector","import":"@m3ui-vue/m3ui-vue","description":"An emoji picker in the style of Android's and Gboard's: the full Unicode set (Emoji 15.0) by category, recently used ones first, skin tones, and search by name in the app's language. The names come from Unicode's CLDR and load only when the picker is used, one language at a time.","props":[{"name":"categories","type":"string[]","required":false,"default":null,"description":"Which categories to show (ids). All if empty.","model":false},{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field.","model":false},{"name":"columns","type":"number","required":false,"default":null,"description":"Fixed number of columns. By default as many as fit.","model":false},{"name":"emojiSize","type":"number","required":false,"default":"28","description":"Emoji size in px.","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked emoji and show them first (stored in localStorage).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"24","description":"How many recent emoji to keep.","model":false},{"name":"skinTones","type":"boolean","required":false,"default":"true","description":"Offer skin tones (long press, right click or Shift+Enter on an emoji, or the footer button).","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Show the hovered or focused emoji with its name at the bottom.","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Height of the scrolling grid.","model":false}],"events":[{"name":"select","args":"emoji: string","description":"An emoji was picked, with the skin tone applied"}],"slots":[],"exposed":[{"name":"focus","type":"() => void | undefined","description":""}],"types":[]},{"name":"MEmptyState","import":"@m3ui-vue/m3ui-vue","description":"A placeholder for empty views — icon, title, description, and optional action buttons.","props":[{"name":"icon","type":"string","required":false,"default":"\"inbox\"","description":"Material Symbol icon","model":false},{"name":"title","type":"string","required":true,"default":null,"description":"Title text — required","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Supporting description","model":false},{"name":"compact","type":"boolean","required":false,"default":null,"description":"Smaller variant (24px icon in a 48px circle, less padding)","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons rendered below the description"}],"exposed":[],"types":[]},{"name":"MExpansionPanel","import":"@m3ui-vue/m3ui-vue","description":"A collapsible section with a smooth height animation. Works controlled via v-model, or uncontrolled by simply omitting modelValue.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Panel header text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text in the header, below the title","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon in the header","model":false},{"name":"modelValue","type":"boolean","required":false,"default":null,"description":"Open/closed state (v-model). Omit it entirely to let the panel manage its own open state internally (uncontrolled).","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables toggling","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Visual style of the panel container","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the panel is toggled — only meaningful when modelValue is passed (controlled usage); powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Panel body content, revealed with a height animation when open"}],"exposed":[],"types":[]},{"name":"MExportButton","import":"@m3ui-vue/m3ui-vue","description":"Serializes the data prop and triggers a real browser download — no dependencies.","props":[{"name":"data","type":"Record<string, unknown>[]","required":true,"default":null,"description":"Array of objects to export","model":false},{"name":"format","type":"\"json\" | \"csv\"","required":false,"default":"\"csv\"","description":"Export format","model":false},{"name":"filename","type":"string","required":false,"default":"\"export\"","description":"Filename without extension — the extension is added automatically","model":false},{"name":"label","type":"string","required":false,"default":"\"Export\"","description":"Button label (overridden by the default slot)","model":false},{"name":"icon","type":"string","required":false,"default":"\"download\"","description":"Leading Material Symbol icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"outlined\"","description":"Visual style (same as MButton)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if serialization or the download trigger fails"},{"name":"exported","args":"{ format: string; filename: string; }","description":"Emitted after a successful download is triggered"}],"slots":[{"name":"default","bindings":null,"description":"Replaces the label text prop"}],"exposed":[],"types":[]},{"name":"MFab","import":"@m3ui-vue/m3ui-vue","description":"A Floating Action Button for the primary action of a screen. Supports extended (icon+label), a speed-dial of small items, or a fully custom expanding panel via the `#content` slot.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Extended FAB label text","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme","model":false},{"name":"size","type":"\"medium\" | \"small\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"FAB size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"items","type":"SpeedDialItem[]","required":false,"default":null,"description":"Speed-dial child items (see `SpeedDialItem`)","model":false},{"name":"direction","type":"\"right\" | \"left\" | \"up\" | \"down\" | \"radial\"","required":false,"default":"\"up\"","description":"Speed-dial expand direction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep speed-dial open after clicking an item or clicking outside","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"For the `up`/`down` #content panel only: which edge it anchors to when it's wider than the FAB itself. 'start' (default) keeps its left edge aligned with the FAB's left edge (existing behavior); 'end' aligns the right edges instead, which keeps a wide panel from running off-screen when the FAB sits in the bottom-right corner, a common placement.","model":false},{"name":"scrim","type":"boolean","required":false,"default":"false","description":"Dims the rest of the screen behind the #content panel while open (has no effect on the `items` speed dial). A plain sibling with its own fade transition, independent of the panel's enter/leave transform, so it doesn't visually shrink/lag along with it.","model":false},{"name":"contentTransition","type":"\"none\" | \"scale\" | \"fade\"","required":false,"default":"\"scale\"","description":"How the #content panel itself animates open/closed. 'scale' (default) is the original fade+scale. 'fade' drops the scale — use this when the slot content already animates its own entrance (e.g. a staggered per-item reveal), so the panel doesn't *also* scale as a group on top of that; it still gives Vue a real transition to wait for on close, so the content's own leave animation has time to play instead of just vanishing. 'none' skips any panel-level transition entirely.","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the FAB itself is clicked (not a speed-dial item)"}],"slots":[{"name":"content","bindings":"{ close: () => boolean; }","description":"A panel anchored to the FAB that opens when you press it, instead of the `items` speed dial. `close()` closes it."}],"exposed":[],"types":[{"name":"SpeedDialItem","source":"export interface SpeedDialItem {\n icon: string\n label?: string\n to?: string | Record<string, any>\n onClick?: () => void\n}"}]},{"name":"MFabMenu","import":"@m3ui-vue/m3ui-vue","description":"The M3 \"FAB Menu\" — a thin wrapper around `MFab`'s `#content` slot, so opening/closing, the icon's 45° morph, outside-click, and scroll-away are all inherited from `MFab` — this component only supplies the row list. Unlike the small circular buttons of a speed dial (`MFab`'s `items` prop), each row is a full icon+label pill, revealed one at a time starting from the item closest to the FAB.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Trigger FAB's Material Symbol icon — use a symmetric one like 'add', since MFab rotates it 45° on open (turning a + into a ×)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Shows the trigger as an extended FAB (icon + text) instead of icon-only.","model":false},{"name":"items","type":"FabMenuItem[]","required":true,"default":null,"description":"The menu's items; see `FabMenuItem`. An item's own color overrides the menu's color for just that row.","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme applied to both the trigger FAB and every menu item row","model":false},{"name":"size","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"Trigger FAB size — independent from `itemSize` below.","model":false},{"name":"itemSize","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"large\"","description":"Menu item row size — independent from the trigger FAB's own `size`.","model":false},{"name":"direction","type":"\"up\" | \"down\"","required":false,"default":"\"up\"","description":"Which side of the FAB the menu list opens toward","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"end\"","description":"Which edge the (usually wider-than-the-FAB) menu list anchors to — 'end' keeps it from running off-screen when the FAB sits in a bottom-right corner","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dim the rest of the screen while the menu is open","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep the menu open after clicking an item or clicking outside","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the trigger FAB","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"FabMenuItem","source":"export interface FabMenuItem {\n icon: string\n label: string\n to?: string | Record<string, any>\n onClick?: () => void\n disabled?: boolean\n /** Overrides the menu's own `color` for just this row. */\n color?: 'primary' | 'secondary' | 'tertiary' | 'surface'\n}"}]},{"name":"MFileUpload","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop file upload zone with image previews, per-file size formatting, and progress/status display. It only selects files: uploading them is up to you, and each entry's status and progress show how it's going.","props":[{"name":"accept","type":"string","required":false,"default":null,"description":"Accepted file types (e.g. \".png,.jpg\", \"image/*\")","model":false},{"name":"multiple","type":"boolean","required":false,"default":"false","description":"Allow multiple files","model":false},{"name":"maxSize","type":"number","required":false,"default":null,"description":"Max file size in bytes — oversized files are silently filtered out","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the upload area","model":false},{"name":"dropText","type":"string","required":false,"default":null,"description":"Drop zone main text (defaults to the locale string)","model":false},{"name":"selectText","type":"string","required":false,"default":null,"description":"Drop zone select link text (defaults to the locale string)","model":false},{"name":"maxSizePrefix","type":"string","required":false,"default":null,"description":"Prefix shown before the formatted max size (defaults to the locale string)","model":false},{"name":"removeLabel","type":"string","required":false,"default":null,"description":"Aria label for each file row's remove button (defaults to the locale string)","model":false},{"name":"modelValue","type":"UploadFile[]","required":false,"default":null,"description":"Optional v-model. Bind it to own the list: clear it, or update each entry's status/progress. Unbound, the component keeps the list itself.","model":true}],"events":[{"name":"update:modelValue","args":"UploadFile[]","description":"Emitted with the new list whenever files are added, removed or cleared (v-model)"},{"name":"select","args":"UploadFile[]","description":"Emitted with the newly accepted files whenever files are added (drop or picker)"},{"name":"remove","args":"UploadFile","description":"Emitted when a file is removed from the list with its remove button"}],"slots":[{"name":"dropzone","bindings":null,"description":"Replaces the default icon + text content of the drop zone"},{"name":"actions","bindings":"{ files: UploadFile[]; clear: () => void; }","description":"Shown below the list while it has files, e.g. an \"Upload\" button."}],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"files","type":"UploadFile[]","description":""}],"types":[{"name":"UploadFile","source":"export interface UploadFile {\n file: File\n id: string\n progress: number\n status: 'pending' | 'uploading' | 'done' | 'error'\n preview?: string\n}"}]},{"name":"MFixed","import":"@m3ui-vue/m3ui-vue","description":"Same API as MAbsolute but uses `position: fixed`. Positions elements relative to the viewport, not a positioned ancestor.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px)","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MFlex","import":"@m3ui-vue/m3ui-vue","description":"A thin, prop-driven wrapper around CSS flexbox — direction, alignment, justification, gap, and wrap.","props":[{"name":"direction","type":"\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"","required":false,"default":"\"row\"","description":"Flex direction","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment (align-items)","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"end\" | \"between\" | \"around\" | \"evenly\"","required":false,"default":"\"start\"","description":"Main-axis alignment (justify-content)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Gap between items","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The flex items."}],"exposed":[],"types":[]},{"name":"MFooter","import":"@m3ui-vue/m3ui-vue","description":"Page footer with slots for brand, content, social links, and a bottom bar. Responsive padding adapts to screen size.","props":[{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a top border (border-outline-variant)","model":false},{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"inverse\"","required":false,"default":"\"default\"","description":"Background surface color","model":false}],"events":[],"slots":[{"name":"brand","bindings":null,"description":"Logo and tagline area (top)"},{"name":"default","bindings":null,"description":"Main content area (navigation columns, etc.)"},{"name":"social","bindings":null,"description":"Social media icon buttons (flex row with gap)"},{"name":"bottom","bindings":null,"description":"Bottom bar with copyright / legal links (separated by a top border)"}],"exposed":[],"types":[]},{"name":"MFullscreen","import":"@m3ui-vue/m3ui-vue","description":"Fills the entire viewport (or parent when `fixed=false`). Useful for loading screens, splash pages, or modal backdrops.","props":[{"name":"fixed","type":"boolean","required":false,"default":"true","description":"Use position: fixed to fill the viewport instead of the parent element","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that goes full screen."}],"exposed":[],"types":[]},{"name":"MGrid","import":"@m3ui-vue/m3ui-vue","description":"A responsive CSS grid with per-breakpoint column counts.","props":[{"name":"cols","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":"1","description":"Default column count","model":false},{"name":"sm","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at sm breakpoint","model":false},{"name":"md","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at md breakpoint","model":false},{"name":"lg","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at lg breakpoint","model":false},{"name":"xl","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at xl breakpoint","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false},{"name":"alignItems","type":"\"center\" | \"start\" | \"end\" | \"stretch\"","required":false,"default":"\"stretch\"","description":"Vertical alignment","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The grid items."}],"exposed":[],"types":[]},{"name":"MHotkeys","import":"@m3ui-vue/m3ui-vue","description":"Registers global keyboard shortcuts for as long as it's mounted, with an optional on-screen overlay listing them grouped by category.","props":[{"name":"bindings","type":"HotkeyBinding[]","required":true,"default":null,"description":"Array of key combos to register globally; see `HotkeyBinding`","model":false},{"name":"showOverlay","type":"boolean","required":false,"default":"false","description":"Render a visible list of the registered shortcuts (otherwise the component is invisible and only listens)","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"HotkeyBinding","source":"export interface HotkeyBinding {\n keys: string\n label: string\n handler: () => void\n group?: string\n disabled?: boolean\n}"}]},{"name":"MIcon","import":"@m3ui-vue/m3ui-vue","description":"Renders a Material Symbols Outlined glyph by name. Color follows the surrounding text color (set it with a Tailwind text-* class).","props":[{"name":"name","type":"string","required":true,"default":null,"description":"Material Symbol name (e.g. \"settings\", \"favorite\")","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Icon size in px","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MIconButton","import":"@m3ui-vue/m3ui-vue","description":"A button that shows only an icon — four visual styles, the same 5-tier expressive sizing as MButton.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label (aria-label and title)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\" | \"tonal\" | \"standard\"","required":false,"default":"\"standard\"","description":"Visual style","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier icon button sizing (xs:32, sm:40, md:56, lg:96, xl:136), or a custom pixel value","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MInfiniteScroll","import":"@m3ui-vue/m3ui-vue","description":"Wraps a scrollable list and emits load when an IntersectionObserver sentinel at the bottom becomes visible — hand it your own fetch-more logic.","props":[{"name":"loading","type":"boolean","required":false,"default":"false","description":"Currently loading more items — shows the loading slot","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disable the load trigger entirely (no observer attached)","model":false},{"name":"threshold","type":"number","required":false,"default":"100","description":"Distance in px from the sentinel before it triggers load","model":false},{"name":"loadingText","type":"string","required":false,"default":null,"description":"Text shown while loading (defaults to the locale string, 'Loading...')","model":false},{"name":"endText","type":"string","required":false,"default":null,"description":"Text shown when ended (defaults to the locale string, 'No more items')","model":false},{"name":"ended","type":"boolean","required":false,"default":"false","description":"No more items to load — shows the end slot and stops observing","model":false}],"events":[{"name":"load","args":"","description":"Emitted when the sentinel scrolls into view and more items should be fetched"}],"slots":[{"name":"default","bindings":null,"description":"The content list itself"},{"name":"loading","bindings":null,"description":"Custom loading indicator, shown when loading is true"},{"name":"end","bindings":null,"description":"Custom end-of-list content, shown when ended is true"},{"name":"idle","bindings":null,"description":"Content shown when neither loading nor ended (empty by default)"}],"exposed":[],"types":[]},{"name":"MJsonEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A JSON-aware editor built on top of MCodeEditor — validates as you type and adds format/minify shortcuts.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"JSON data (v-model, any valid JSON)","model":true},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Min height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Max height","model":false},{"name":"labels","type":"JsonEditorLabels","required":false,"default":null,"description":"Overrides for the valid/invalid badge and format/minify button text (see `JsonEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the parsed value whenever the text is valid JSON — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"JsonEditorLabels","source":"export interface JsonEditorLabels {\n valid?: string\n invalid?: string\n format?: string\n minify?: string\n}"}]},{"name":"MJsonViewer","import":"@m3ui-vue/m3ui-vue","description":"A read-only, recursively expandable tree view for inspecting JSON-compatible data.","props":[{"name":"data","type":"unknown","required":true,"default":null,"description":"Data to display (any JSON-compatible value)","model":false},{"name":"rootName","type":"string","required":false,"default":"\"root\"","description":"Name for the root node","model":false},{"name":"expandDepth","type":"number","required":false,"default":"2","description":"Levels to expand by default","model":false},{"name":"labels","type":"JsonViewerLabels","required":false,"default":null,"description":"Overrides for the collapsed-node summary text (see `JsonViewerLabels`) — defaults come from useLocale()","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"JsonViewerLabels","source":"export interface JsonViewerLabels {\n elements?: string\n fields?: string\n}"}]},{"name":"MKanban","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop board. Cards lift and follow the pointer, the others make room, and a dashed slot shows where the card will land. Works with a mouse, a finger (long-press a card) and the keyboard; the board scrolls sideways on its own when you drag near its edges.","props":[{"name":"modelValue","type":"KanbanColumn[]","required":true,"default":null,"description":"Columns with their cards (v-model). Required","model":true},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown in a column with no cards (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"KanbanColumn[]","description":"Emitted after a card moves, by pointer or keyboard (v-model)"},{"name":"cardMove","args":"{ cardId: string | number; fromColumn: string | number; toColumn: string | number; toIndex: number; }","description":"Emitted alongside update:modelValue with where the card went. Not emitted when a card is dropped back where it was"},{"name":"cardClick","args":"{ card: KanbanCard; columnId: string | number; }","description":"Emitted when a card is clicked or Enter is pressed on it. Not emitted at the end of a drag"}],"slots":[{"name":"card","bindings":"{ card: KanbanCard; column: KanbanColumn; dragging: boolean; }","description":"Content of each card. column is the full KanbanColumn; dragging is true while the card is lifted. Buttons, links and inputs inside keep working: they never start a drag or fire cardClick. Add data-kanban-action to any other element (a badge, a span) to give it the same treatment, so a click there can do something else instead of opening the card"},{"name":"column-header","bindings":"{ column: KanbanColumn; count: number; }","description":"Replaces the default header (color dot, title and count)"},{"name":"column-footer","bindings":"{ column: KanbanColumn; }","description":"Content below each column's cards, e.g. an \"Add card\" button"}],"exposed":[],"types":[{"name":"KanbanColumn","source":"export interface KanbanColumn {\n id: string | number\n title: string\n cards: KanbanCard[]\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n /** Optional WIP limit: the header shows count/limit and turns error-colored when exceeded. */\n limit?: number\n}"},{"name":"KanbanCard","source":"export interface KanbanCard {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MKbd","import":"@m3ui-vue/m3ui-vue","description":"Displays a keyboard shortcut as styled key chips. Purely presentational — pairs well with MHotkeys or MCommandPalette to show the shortcut that triggers an action.","props":[{"name":"keys","type":"string | string[]","required":true,"default":null,"description":"A '+'-delimited string (\"Ctrl+Shift+K\") or an array of keys (['Ctrl', 'Shift', 'K']).","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"md\"","description":"Key chip size","model":false},{"name":"separator","type":"string","required":false,"default":"\"+\"","description":"Separator rendered between keys","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLightbox","import":"@m3ui-vue/m3ui-vue","description":"A full-screen image viewer in the style of Google Photos. Images grow out of the picture you tapped and shrink back into it, you swipe between them with the next one already in view, zoom with a double tap or a pinch, and drag one down to close. Tapping the image hides the bars. Wrap your content and it finds the `<img>` elements by itself, or pass items.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"v-model — open/closed state","model":true},{"name":"items","type":"LightboxItem[]","required":false,"default":null,"description":"Explicit gallery. Omit it to auto-detect `<img>` elements rendered in the default slot instead.","model":false},{"name":"index","type":"number","required":false,"default":"0","description":"v-model:index — current image index","model":true},{"name":"loop","type":"boolean","required":false,"default":"true","description":"Wrap around when navigating past the first/last image","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Overrides the close button aria-label (defaults to the active locale)","model":false},{"name":"showThumbnails","type":"boolean","required":false,"default":"false","description":"Show a row of clickable thumbnails at the bottom for jumping directly to an image.","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Round the corners of the opened image.","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"Allow zooming (double tap / double click, pinch, wheel, + and - keys).","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"Largest zoom factor.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Fires when the lightbox opens or closes"},{"name":"update:index","args":"number","description":"Fires whenever the current index changes (next/prev/goTo/auto-detected image click)"},{"name":"change","args":"index: number","description":"Fires alongside update:index with the new index"}],"slots":[{"name":"default","bindings":null,"description":"Content to scan for `<img>` elements when items is not given"},{"name":"actions","bindings":"{ item: LightboxItem; index: number; }","description":"Extra buttons in the top bar (download, share, info…)."}],"exposed":[{"name":"open","type":"(i?: number, sourceEl?: HTMLElement | undefined) => void","description":""},{"name":"close","type":"() => void","description":""},{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""}],"types":[{"name":"LightboxItem","source":"export interface LightboxItem {\n src: string\n alt?: string\n caption?: string\n}"}]},{"name":"MList","import":"@m3ui-vue/m3ui-vue","description":"A vertical list container (MList) with rich, flexible rows (MListItem) and optional section headers (MListSubheader) — one-line to three-line items, leading/trailing elements, selection, navigation, segmented, and expandable variants.","props":[{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact vertical padding on child items","model":false},{"name":"dividers","type":"boolean | \"inset\"","required":false,"default":"false","description":"Show separators between items — 'inset' aligns the line past a leading icon/avatar","model":false},{"name":"nav","type":"boolean","required":false,"default":"false","description":"Navigation variant with rounded (pill) active items, ideal for drawers","model":false},{"name":"segmented","type":"boolean","required":false,"default":"false","description":"Segmented style — items each get an individual rounded background instead of a flat list","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable single-item selection — items compare their value prop against selected","model":false},{"name":"selected","type":"string | number | null","required":false,"default":null,"description":"Currently selected item value (v-model:selected)","model":true},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Default line count for child items that don't set their own lines prop","model":false}],"events":[{"name":"update:selected","args":"value: string | number | null","description":"Fires when a selectable item is clicked (via v-model:selected)"}],"slots":[{"name":"default","bindings":null,"description":"MListItem / MListSubheader children"}],"exposed":[],"types":[]},{"name":"MListDetail","import":"@m3ui-vue/m3ui-vue","description":"Material 3's list-detail layout: a list of items and the details of the selected one. When there's room (840px and up, the expanded width class) both panes sit side by side; on smaller screens only one shows, the detail sliding in over the list when you open an item and back out on `back()`. It measures its own width, so it adapts inside a column or a dialog too. Both panes stay mounted, so the list keeps its scroll position. It has no default size: give it a height so each pane scrolls on its own.","props":[{"name":"showDetail","type":"boolean","required":false,"default":"false","description":"Whether the detail is the current destination. One-pane layouts show it instead of the list.","model":true},{"name":"listWidth","type":"string","required":false,"default":null,"description":"List pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:showDetail","args":"boolean","description":"Emitted with false when the detail slot calls back()"}],"slots":[{"name":"list","bindings":"{ twoPane: boolean; }","description":"The list pane. Scrolls on its own and keeps its scroll position while the detail is open"},{"name":"detail","bindings":"{ twoPane: boolean; back: () => void; }","description":"`back()` returns to the list (sets `showDetail` to false)."}],"exposed":[],"types":[]},{"name":"MListItem","import":"@m3ui-vue/m3ui-vue","description":"A row of an MList: headline with optional overline, supporting text, a leading icon, avatar or image, and trailing text, icon, checkbox or switch. It can be a link, be clickable or expand to show nested items.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Primary text (headline)","model":false},{"name":"overline","type":"string","required":false,"default":null,"description":"Small label above the title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text (line 2)","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Tertiary text (line 3)","model":false},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Number of text lines — auto-detected from which text props/parent MList lines are set when omitted","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"leading","type":"ListItemLeading","required":false,"default":null,"description":"Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted","model":false},{"name":"avatarName","type":"string","required":false,"default":null,"description":"Name for the avatar (when leading='avatar')","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"Image URL (when leading='image')","model":false},{"name":"iconContainerColor","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Icon container background color (when leading='icon-container')","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Trailing icon name","model":false},{"name":"trailingText","type":"string","required":false,"default":null,"description":"Trailing text label","model":false},{"name":"trailing","type":"ListItemTrailing","required":false,"default":null,"description":"Trailing element type — auto-resolves from trailingIcon/trailingText when omitted","model":false},{"name":"trailingValue","type":"boolean","required":false,"default":null,"description":"Value for a trailing switch/checkbox (v-model:trailingValue)","model":true},{"name":"value","type":"string | number","required":false,"default":null,"description":"Selection value — compared against the parent MList selected prop","model":false},{"name":"active","type":"boolean","required":false,"default":"false","description":"Force the active/highlighted state regardless of parent list selection","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled state (38% opacity, blocks interaction)","model":false},{"name":"clickable","type":"boolean","required":false,"default":null,"description":"Force interactive styling/behavior (auto-true when href, to,","model":false},{"name":"href","type":"string","required":false,"default":null,"description":"Link URL — renders the item as an `<a>`","model":false},{"name":"to","type":"string | object","required":false,"default":null,"description":"Vue Router destination — renders the item as a router-link","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Show an expand/collapse chevron revealing the #children slot","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Control the expanded state (v-model:expanded) — otherwise managed internally","model":true}],"events":[{"name":"click","args":"e: MouseEvent","description":"Fires on any click, including on an expandable item (right before it toggles)"},{"name":"update:trailingValue","args":"value: boolean","description":"Fires when a trailing switch/checkbox is toggled (trailing='switch' | 'checkbox')"},{"name":"update:expanded","args":"value: boolean","description":"Fires when an expandable item is toggled open/closed"}],"slots":[{"name":"leading","bindings":null,"description":"Custom leading element, replacing the icon/avatar/image/icon-container"},{"name":"overline","bindings":null,"description":"Custom overline content, replacing the overline prop"},{"name":"default","bindings":null,"description":"Custom content replacing the title/subtitle/description text block"},{"name":"children","bindings":null,"description":"Nested content revealed when expandable is set and the item is expanded"},{"name":"trailing","bindings":null,"description":"Custom trailing element, replacing the icon/text/switch/checkbox"}],"exposed":[],"types":[{"name":"ListItemLeading","source":"export type ListItemLeading = 'icon' | 'avatar' | 'checkbox' | 'radio' | 'image' | 'icon-container'"},{"name":"ListItemTrailing","source":"export type ListItemTrailing = 'icon' | 'text' | 'switch' | 'checkbox'"}]},{"name":"MListSubheader","import":"@m3ui-vue/m3ui-vue","description":"A small heading that labels a group of items inside an MList.","props":[{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Subheader text/content"}],"exposed":[],"types":[]},{"name":"MLoadingIndicator","import":"@m3ui-vue/m3ui-vue","description":"The M3 Expressive loading indicator — continuously morphs between rounded shapes (soft burst, cookie, pentagon, pill, sunny, oval) via an underdamped spring while slowly rotating. Comes in a plain and a contained (circle-backed) variant.","props":[{"name":"size","type":"number","required":false,"default":"48","description":"Overall footprint in px. The active shape sits inset within it (38/48 ratio) unless contained, where it scales to 55% of size.","model":false},{"name":"contained","type":"boolean","required":false,"default":"false","description":"Wraps the shape in a filled container circle, and recolors the shape to the OnXContainer role instead of the bare X role","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Active shape (and container, when contained) color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the indicator's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLoadingOverlay","import":"@m3ui-vue/m3ui-vue","description":"A spinner-and-text overlay, either layered on top of a piece of content via the `#content` slot, or covering the whole viewport with `fullscreen`.","props":[{"name":"visible","type":"boolean","required":true,"default":null,"description":"Show/hide the overlay","model":false},{"name":"text","type":"string","required":false,"default":null,"description":"Loading text message shown below the spinner","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Cover the entire viewport via Teleport, instead of overlaying just the #content slot","model":false},{"name":"opaque","type":"boolean","required":false,"default":"false","description":"Solid surface background instead of a translucent, blurred one","model":false},{"name":"spinnerSize","type":"number","required":false,"default":"40","description":"Spinner size in px","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Extra content shown below the spinner/text, in either mode"},{"name":"content","bindings":null,"description":"The content the overlay is layered on top of (only used when fullscreen is false)"}],"exposed":[],"types":[]},{"name":"MMarkdown","import":"@m3ui-vue/m3ui-vue/markdown","description":"Renders markdown source as styled HTML — headings, lists, tables, blockquotes, links, and fenced code blocks with optional syntax highlighting, line highlighting, and a copy button.","props":[{"name":"source","type":"string","required":true,"default":null,"description":"Markdown source text","model":false},{"name":"breaks","type":"boolean","required":false,"default":"true","description":"Convert single newlines to `<br>`","model":false},{"name":"linkify","type":"boolean","required":false,"default":"true","description":"Auto-detect bare URLs and turn them into links","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMaskField","import":"@m3ui-vue/m3ui-vue","description":"A text field with a formatting mask — built-in presets or a custom pattern where `#` stands for a digit.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Masked value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"mask","type":"string","required":true,"default":null,"description":"Mask pattern (# = digit) or a built-in preset name (see `MaskPreset`)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[{"name":"MaskPreset","source":"export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip'"}]},{"name":"MMasonry","import":"@m3ui-vue/m3ui-vue","description":"Pinterest-style column layout that fills the shortest column first. Re-lays out on container resize via `ResizeObserver` and when the slotted content changes.","props":[{"name":"cols","type":"number","required":false,"default":"2","description":"Default column count","model":false},{"name":"smCols","type":"number","required":false,"default":null,"description":"Columns at sm breakpoint (640px)","model":false},{"name":"mdCols","type":"number","required":false,"default":null,"description":"Columns at md breakpoint (768px)","model":false},{"name":"lgCols","type":"number","required":false,"default":null,"description":"Columns at lg breakpoint (1024px)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The items, laid out in columns."}],"exposed":[],"types":[]},{"name":"MMenu","import":"@m3ui-vue/m3ui-vue","description":"A trigger-based dropdown menu, composed with `MMenuItem` and `MMenuDivider`. Items support unlimited-depth nested submenus via the `#children` slot.","props":[{"name":"align","type":"\"right\" | \"left\"","required":false,"default":"\"right\"","description":"Which edge of the trigger the dropdown aligns to.","model":false},{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":"{ open: boolean; }","description":"The element that opens the menu when clicked; `open` tells whether it's open."},{"name":"default","bindings":"{ close: () => void; }","description":"The menu's items (MMenuItem, MMenuDivider or your own markup); `close()` closes the menu."}],"exposed":[{"name":"close","type":"() => void","description":""},{"name":"open","type":"boolean","description":""}],"types":[]},{"name":"MMenuDivider","import":"@m3ui-vue/m3ui-vue","description":"A line between groups of items in an MMenu or MContextMenu; with `gap` in an expressive menu it splits the menu into separate rounded groups.","props":[{"name":"gap","type":"boolean","required":false,"default":"false","description":"Marks this as a group boundary for `MMenu`/`MContextMenu`'s `variant=\"expressive\"` — instead of rendering this divider in place, the parent menu splits its panel into two independently-rounded group boxes with a small gap between them. Has no effect outside an `expressive` menu, where it renders as a normal divider line.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMenuItem","import":"@m3ui-vue/m3ui-vue","description":"An item of an MMenu or MContextMenu: icon, label and a shortcut hint. Put more items in its `#children` slot to make it open a submenu.","props":[{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"shortcut","type":"string","required":false,"default":null,"description":"Keyboard shortcut hint displayed on the right (e.g. \"Ctrl+C\") — hidden when the item has #children","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the item","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Danger/destructive styling (error color)","model":false},{"name":"keepOpen","type":"boolean","required":false,"default":"false","description":"Keep the menu open after this item is clicked (e.g. checkable/toggle items).","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a leaf item (no #children) is clicked. Not emitted for disabled items or for items with #children, since clicking those just opens/toggles the submenu instead."}],"slots":[{"name":"default","bindings":null,"description":"Item label text."},{"name":"children","bindings":null,"description":"Nested submenu items. In the parent MMenu's default 'flyout' mode, clicking or hovering (mouse only) the item opens a side panel — supports unlimited nesting depth. In 'push' mode, clicking the item instead swaps the whole menu panel to the submenu with a back header; hover does nothing."}],"exposed":[],"types":[]},{"name":"MMultiAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted on selection change — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MMultiSelect","import":"@m3ui-vue/m3ui-vue","description":"Select multiple values with removable chips and an optional in-dropdown search.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (any type — v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when nothing selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search in dropdown","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset all selections","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input in dropdown — defaults to the current locale's string","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match search — defaults to the current locale's string","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted with the new array of selected values."}],"slots":[{"name":"no-results","bindings":null,"description":"Custom content shown in the dropdown when no options match the search query"}],"exposed":[],"types":[{"name":"MultiSelectOption","source":"export interface MultiSelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"A mobile bottom navigation bar with a pill indicator and badge support.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `NavBarItem`)","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"NavBarItem","source":"export interface NavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n}"}]},{"name":"MNavigationDrawer","import":"@m3ui-vue/m3ui-vue","description":"A slide-out or inline drawer of grouped, badge-able, optionally-nested navigation items — modal (Teleported, scrim-backed) or inline (participates in layout, supports a collapsed icon-only mode).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"selected","type":"string | number","required":false,"default":null,"description":"Currently selected item value","model":false},{"name":"sections","type":"DrawerSection[]","required":true,"default":null,"description":"Array of sections (see the types below)","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Drawer header title (ignored if the #header slot is used)","model":false},{"name":"modal","type":"boolean","required":false,"default":"true","description":"Modal with a Teleported scrim overlay, or an inline sidebar that participates in normal layout flow","model":false},{"name":"collapsed","type":"boolean","required":false,"default":null,"description":"Compact mode (72px) showing only icons — inline variant only","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"Custom drawer width (e.g. \"320px\", \"25rem\"). Defaults to 22.5rem (360px)","model":false},{"name":"side","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"left\"","description":"Which side the drawer opens from. Top/bottom are only available for the modal variant — the inline variant always renders on left or right.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Open/closed state for v-model"},{"name":"select","args":"string | number","description":"Fires when an item is clicked — use to track the selected item"}],"slots":[{"name":"header","bindings":null,"description":"Custom header content (e.g. profile card, logo). Fully generic, no positioning constraints applied — overrides the title prop."},{"name":"default","bindings":null,"description":"Free content rendered at the end of the scrollable area, after all sections. Use for footers, logout buttons, or any custom content."},{"name":"toggle","bindings":null,"description":"Collapse/expand toggle button area (inline variant only). Renders inside a 72px centered container with a bottom border that aligns with MTopAppBar (64px height). The icon stays anchored in the same position during collapse/expand transitions."}],"exposed":[{"name":"openItems","type":"Record<string | number, boolean>","description":""}],"types":[{"name":"DrawerItem","source":"export interface DrawerItem {\n value: string | number;\n label: string;\n icon?: string;\n badge?: string | number;\n disabled?: boolean;\n to?: string | Record<string, any>;\n children?: DrawerItem[];\n iconSize?: number;\n labelClass?: string;\n py?: string;\n click?: () => void;\n}"},{"name":"DrawerSection","source":"export interface DrawerSection {\n title?: string;\n icon?: string;\n items: DrawerItem[];\n collapsible?: boolean;\n}"}]},{"name":"MNavigationRail","import":"@m3ui-vue/m3ui-vue","description":"Compact vertical navigation for desktop/tablet layouts with a pill indicator, an optional wide \"expanded\" state, and an optional modal (flyout) variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavRailItem[]","required":true,"default":null,"description":"Array of rail items (see `NavRailItem`)","model":false},{"name":"alignment","type":"\"top\" | \"bottom\" | \"center\"","required":false,"default":"\"top\"","description":"Vertical alignment of items within the rail","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Widens the rail (220px) and shows each item's icon beside its label in a full-width pill, instead of the icon over the label. Toggle it from your own menu button.","model":true},{"name":"modal","type":"boolean","required":false,"default":"false","description":"Keeps the rail collapsed and opens the expanded rail as a panel over the app, with a scrim, instead of widening in place. It closes on a scrim click, Escape or picking an item, emitting `update:expanded`.","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the modal panel closes (modal mode only) — pair with :expanded for v-model:expanded"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB (or MFabMenu) at the top of the rail, above the items."}],"exposed":[],"types":[{"name":"NavRailItem","source":"export interface NavRailItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MNavigationSuite","import":"@m3ui-vue/m3ui-vue","description":"One navigation that adapts to the space, after Material 3's `NavigationSuiteScaffold`: a short navigation bar at the bottom on phones, the same bar with icons beside labels on a phone in landscape, and a navigation rail on the side from tablets up. Give it your destinations and your content; it picks MShortNavigationBar or MNavigationRail by its own size (see useWindowSizeClass) and swaps them without remounting the content. It has no default size, so give it the app's height, e.g. `class=\"h-dvh\"`.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Selected destination (v-model)","model":true},{"name":"items","type":"NavigationSuiteItem[]","required":true,"default":null,"description":"Destinations, the same shape MNavigationRail and MShortNavigationBar take","model":false},{"name":"layout","type":"\"auto\" | NavigationSuiteLayout","required":false,"default":"\"auto\"","description":"'auto' picks by the component's own size: compact width → short bar, compact height (a phone in landscape) → short bar with icons beside labels, anything else → rail. Any other value forces that navigation; 'none' hides it","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when a destination is picked (v-model)"}],"slots":[{"name":"default","bindings":"{ layout: NavigationSuiteLayout; }","description":"The app's content. Scrolls on its own, next to or above the navigation."},{"name":"fab","bindings":null,"description":"Primary action (e.g. a FAB): the rail's header, or floating above the bar at the bottom end."}],"exposed":[],"types":[{"name":"NavigationSuiteItem","source":"export interface NavigationSuiteItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"},{"name":"NavigationSuiteLayout","source":"/** The navigation component in use: a short bar (icons over labels, or beside them), or a rail. */\nexport type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none'"}]},{"name":"MNumberField","import":"@m3ui-vue/m3ui-vue","description":"A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.","props":[{"name":"modelValue","type":"number | null","required":true,"default":"null","description":"Bound numeric value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Minimum allowed value","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Maximum allowed value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Increment/decrement step","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"stepper","type":"boolean","required":false,"default":"true","description":"Show +/- buttons","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the","model":false}],"events":[{"name":"update:modelValue","args":"number | null","description":"Emitted on every change — typing, stepper clicks, or arrow keys — powers v-model"},{"name":"debounced","args":"number | null","description":"Emitted debounce ms after the user stops typing (only when debounce > 0). Stepper clicks/arrow keys still emit instantly"}],"slots":[],"exposed":[],"types":[]},{"name":"MOverlay","import":"@m3ui-vue/m3ui-vue","description":"Full-screen overlay with scrim and teleport to body. A generic low-level building block — content is entirely up to you via the default slot.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"true","description":"Controls visibility (v-model)","model":true},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Show dark backdrop","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[{"name":"update:modelValue","args":"value: boolean","description":"Emitted with false when the scrim is clicked, for v-model support"}],"slots":[{"name":"default","bindings":null,"description":"Content shown over the scrim."}],"exposed":[],"types":[]},{"name":"MPageProgress","import":"@m3ui-vue/m3ui-vue","description":"A thin bar pinned to the top or bottom edge of the viewport, for page/route-level loading state — auto-wired to vue-router by default, or driven entirely by hand via usePageProgress().","props":[{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bar color","model":false},{"name":"thickness","type":"number","required":false,"default":"3","description":"Bar height in px","model":false},{"name":"auto","type":"boolean","required":false,"default":"true","description":"Auto-wire to vue-router's navigation guards when a router is detected. Set to `false` to drive it entirely by hand via `usePageProgress()`.","model":false},{"name":"position","type":"\"top\" | \"bottom\"","required":false,"default":"\"top\"","description":"Which edge of the viewport the bar is pinned to","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPagination","import":"@m3ui-vue/m3ui-vue","description":"Simple previous/next page navigation with an automatically computed page range label. Its texts (“1–10 of 25”, “Page 1 of 3” and the buttons’ labels) come from the app’s locale.","props":[{"name":"page","type":"number","required":true,"default":null,"description":"Current page (1-based)","model":true},{"name":"perPage","type":"number","required":true,"default":null,"description":"Items per page","model":false},{"name":"total","type":"number","required":true,"default":null,"description":"Total number of items","model":false}],"events":[{"name":"update:page","args":"number","description":"Emitted when the previous/next button is clicked — drive page with it for v-model-style two-way binding"}],"slots":[],"exposed":[],"types":[]},{"name":"MPasswordMeter","import":"@m3ui-vue/m3ui-vue","description":"A password strength bar. Scores length + character variety (0-4) and emits `score` so you can gate a submit button on it.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Password to score","model":false},{"name":"labels","type":"string[]","required":false,"default":"[\"Very weak\", \"Weak\", \"Fair\", \"Good\", \"Strong\"]","description":"5 labels, weakest to strongest.","model":false},{"name":"minLength","type":"number","required":false,"default":"8","description":"Length considered \"long enough\" — also used (+4) as the \"very long\" bonus threshold.","model":false}],"events":[{"name":"score","args":"number","description":"Emitted whenever value changes — -1 for an empty value, or 0-4 otherwise"}],"slots":[],"exposed":[],"types":[]},{"name":"MPinInput","import":"@m3ui-vue/m3ui-vue","description":"One box per character for OTP/PIN/verification codes. Typing advances to the next box, backspace on an empty box goes back, and pasting a full code fills every box at once.","props":[{"name":"modelValue","type":"string","required":true,"default":"\"\"","description":"Bound code (v-model), e.g. \"1234\"","model":true},{"name":"length","type":"number","required":false,"default":"6","description":"Number of boxes (ignored when groups is set)","model":false},{"name":"groups","type":"number[]","required":false,"default":null,"description":"Segment sizes for a grouped layout, e.g. [2, 4, 2, 3, 1, 3] renders `__ ____ __ ___ _ ___`. Overrides `length` (derived as the sum).","model":false},{"name":"separator","type":"string","required":false,"default":"\"-\"","description":"Visual separator rendered between groups (only used when `groups` is set).","model":false},{"name":"type","type":"\"numeric\" | \"alphanumeric\"","required":false,"default":"\"numeric\"","description":"Restricts which characters are accepted","model":false},{"name":"masked","type":"boolean","required":false,"default":"false","description":"Renders each box as a password field (dots instead of characters)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the boxes","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables every box","model":false},{"name":"autoFocus","type":"boolean","required":false,"default":"false","description":"Focuses the first box on mount","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the group of boxes","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every box change — powers v-model"},{"name":"complete","args":"string","description":"Fires once with the full code as soon as every box is filled — the natural place to trigger auto-submit"}],"slots":[],"exposed":[],"types":[]},{"name":"MProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A linear progress indicator — determinate, indeterminate, or the M3 Expressive wavy variant.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit for indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Indeterminate animation — also implied by omitting value","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bar color","model":false},{"name":"variant","type":"\"wavy\" | \"linear\"","required":false,"default":"\"linear\"","description":"Bar style","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text above the bar","model":false},{"name":"thickness","type":"number","required":false,"default":null,"description":"Stroke width in px. Defaults to 4dp, matching the real M3 token for both variants.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPullToRefresh","import":"@m3ui-vue/m3ui-vue","description":"Wraps its own scrollable container and fires a refresh event when the user pulls past a threshold at the very top of the scroll.","props":[{"name":"refreshing","type":"boolean","required":false,"default":"false","description":"Controlled loading state — set it to true in your","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the pull gesture","model":false},{"name":"threshold","type":"number","required":false,"default":"64","description":"Pull distance in px required to trigger a refresh on release","model":false},{"name":"size","type":"number","required":false,"default":"36","description":"Indicator size in px","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Indicator color","model":false}],"events":[{"name":"refresh","args":"","description":"Emitted when the user drags past threshold and releases. Set refreshing to true in the handler, then back to false once the fetch resolves."}],"slots":[{"name":"default","bindings":null,"description":"The scrollable content. A pull starts only when it's scrolled to the top; otherwise touch scrolls it normally"}],"exposed":[],"types":[]},{"name":"MQRCode","import":"@m3ui-vue/m3ui-vue/qrcode","description":"Renders a QR code as inline SVG — crisp at any size, no canvas or image assets. Available from the `/qrcode` entry point, so it never adds weight to the main bundle.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"size","type":"number","required":false,"default":"200","description":"Width/height in pixels (square)","model":false},{"name":"margin","type":"number","required":false,"default":"4","description":"Quiet zone around the code, in modules.","model":false},{"name":"errorCorrectionLevel","type":"\"M\" | \"L\" | \"Q\" | \"H\"","required":false,"default":"\"M\"","description":"Higher levels tolerate more damage/obstruction at the cost of a denser code","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Dark module color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Light module / background color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Rounds the outer container corners.","model":false},{"name":"moduleStyle","type":"\"square\" | \"dots\"","required":false,"default":"\"square\"","description":"'square' is the classic scannable pixel grid. 'dots' rounds each module — still fully scannable, just a softer look.","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is too large to encode at the given errorCorrectionLevel"}],"exposed":[],"types":[]},{"name":"MRadio","import":"@m3ui-vue/m3ui-vue","description":"A single radio button, for when you lay out the options yourself. It's selected when `modelValue` equals its `value`; for a plain list of options, MRadioGroup is simpler.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"The group's current value (v-model); share one ref between the radios of a group.","model":true},{"name":"value","type":"unknown","required":true,"default":null,"description":"The value this radio stands for; selecting it sets the v-model to it.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text next to the radio. Clicking it selects the radio too.","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Grays the radio out and ignores clicks.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color role of the selected radio.","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with `value` when the radio is selected."}],"slots":[],"exposed":[],"types":[]},{"name":"MRadioGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of radio buttons sharing a single selection, column or row layout.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"Option[]","required":true,"default":null,"description":"Radio options","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Group label","model":false},{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Layout direction","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables all radios","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Radio color","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"Option","source":"interface Option {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MRating","import":"@m3ui-vue/m3ui-vue","description":"A star rating input with half increments and any Material Symbol icon. Not part of the official M3 spec, so it's built from M3 primitives: filled/outlined icon pairs, a state layer on hover/press, and a focus ring. Click or drag to rate (drag past the first icon to clear), or use the arrow keys, Home and End when focused.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Current rating (v-model)","model":true},{"name":"max","type":"number","required":false,"default":"5","description":"Maximum stars","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Star size in px","model":false},{"name":"readonly","type":"boolean","required":false,"default":null,"description":"Display-only: not focusable, exposed as role=\"img\" with the value as its label","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables interaction","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"One of the 4 M3 roles ('primary' | 'secondary' | 'tertiary' | 'error'), or any other CSS color string","model":false},{"name":"icon","type":"string","required":false,"default":"\"star\"","description":"Material Symbol icon","model":false},{"name":"halfIncrements","type":"boolean","required":false,"default":"false","description":"Allow half-star values (click the left half of an icon). Fractional values always render exactly, with or without this prop","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted when the user rates by click, drag or keyboard (v-model). Dragging past the first icon emits 0"}],"slots":[],"exposed":[],"types":[]},{"name":"MRelative","import":"@m3ui-vue/m3ui-vue","description":"Wrapper that sets `position: relative` on a container. Use it as the positioning parent for MAbsolute children.","props":[],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content; absolutely positioned children are placed relative to it."}],"exposed":[],"types":[]},{"name":"MRelativeTime","import":"@m3ui-vue/m3ui-vue","description":"Renders a timestamp as human-readable relative text (\"5 minutes ago\", \"in 2 hours\") that keeps itself up to date, formatted with the native Intl.RelativeTimeFormat. It renders a semantic `<time>` element, and hovering it shows the full absolute date.","props":[{"name":"value","type":"string | number | Date","required":true,"default":null,"description":"Required. The timestamp to format: an ISO string, epoch milliseconds, or a Date","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 locale tag (e.g. 'es-ES'). Defaults to the app's locale (via createM3UI/useLocale), then the browser's locale.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MResponsive","import":"@m3ui-vue/m3ui-vue","description":"Shows or hides content at specific breakpoints using pure CSS (Tailwind's `hidden`/`block` utilities) — no JS resize listener.","props":[{"name":"show","type":"Breakpoint","required":false,"default":null,"description":"Show content only at this breakpoint range","model":false},{"name":"hide","type":"Breakpoint","required":false,"default":null,"description":"Hide content at this breakpoint range","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Breakpoint","source":"type Breakpoint = 'sm-up' | 'md-up' | 'lg-up' | 'xl-up' | 'sm-down' | 'md-down' | 'lg-down' | 'xl-down'"}]},{"name":"MResult","import":"@m3ui-vue/m3ui-vue","description":"A full result screen for the end of a flow: success, errors, empty states and HTTP error pages. Each status comes with its own icon, colors, title and description, and you can override any of them. The default texts come from the active locale (`useLocale`), so they follow the language passed to `createM3UI({ locale })`.","props":[{"name":"status","type":"\"info\" | \"success\" | \"warning\" | \"error\" | \"404\" | \"403\" | \"500\"","required":true,"default":null,"description":"Required. Picks the icon, its colors, and the default title/description. The three HTTP statuses also show the code in large type above the icon","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Custom title, replaces the status default","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Custom description, replaces the status default","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons, in a centered row below the description"},{"name":"default","bindings":null,"description":"Extra content below the actions row, e.g. a secondary link or fine print"}],"exposed":[],"types":[]},{"name":"MRichTextEditor","import":"@m3ui-vue/m3ui-vue/rich-text-editor","description":"A WYSIWYG editor built on tiptap, with a formatting toolbar covering text styles, lists, alignment, links, and images.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"HTML content (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown on an empty document","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables editing","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum editor height","model":false},{"name":"labels","type":"RichTextEditorLabels","required":false,"default":null,"description":"Object with all toolbar/dialog label overrides for i18n (see `RichTextEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the editor HTML on every content change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"RichTextEditorLabels","source":"export interface RichTextEditorLabels {\n bold?: string\n italic?: string\n underline?: string\n strikethrough?: string\n highlight?: string\n bulletList?: string\n orderedList?: string\n blockquote?: string\n code?: string\n alignLeft?: string\n alignCenter?: string\n alignRight?: string\n undo?: string\n redo?: string\n link?: string\n image?: string\n paragraph?: string\n heading1?: string\n heading2?: string\n heading3?: string\n insertLink?: string\n insertImage?: string\n imageUrlLabel?: string\n cancel?: string\n insert?: string\n}"}]},{"name":"MScheduler","import":"@m3ui-vue/m3ui-vue","description":"A week or day calendar grid. Events sit at their exact times, overlapping ones share the width, and anything that lasts all day or spans several days runs across the all-day row. Click a day header to open that day. Dates and times follow the app's locale.","props":[{"name":"events","type":"SchedulerEvent[]","required":false,"default":"[]","description":"Events to show (see `SchedulerEvent`)","model":false},{"name":"view","type":"\"week\" | \"day\"","required":false,"default":"\"week\"","description":"'week' or 'day'; use v-model:view to follow the header's toggle.","model":true},{"name":"date","type":"string","required":false,"default":null,"description":"The date shown (`YYYY-MM-DD`), today by default; use v-model:date to follow navigation.","model":true},{"name":"startHour","type":"number","required":false,"default":"7","description":"First visible hour","model":false},{"name":"endHour","type":"number","required":false,"default":"22","description":"Hour the grid ends at","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"First day of the week: 0 = Sunday, 1 = Monday.","model":false},{"name":"hourHeight","type":"number","required":false,"default":"56","description":"Height of one hour row, in px.","model":false},{"name":"nowIndicator","type":"boolean","required":false,"default":"true","description":"A line across today's column at the current time.","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for dates and times (Intl). Falls back to the app's configured locale","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Aria label of the previous button (defaults to the locale string)","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Aria label of the next button (defaults to the locale string)","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label of the Today button (defaults to the locale string)","model":false},{"name":"dayViewLabel","type":"string","required":false,"default":null,"description":"Label of the Day toggle (defaults to the locale string)","model":false},{"name":"weekViewLabel","type":"string","required":false,"default":null,"description":"Label of the Week toggle (defaults to the locale string)","model":false},{"name":"allDayLabel","type":"string","required":false,"default":null,"description":"Label of the all-day row (defaults to the locale string)","model":false}],"events":[{"name":"eventClick","args":"SchedulerEvent","description":"An event (in the grid or the all-day row) was clicked"},{"name":"slotClick","args":"{ date: string; hour: number; }","description":"An empty spot in the grid was clicked"},{"name":"update:date","args":"string","description":"Navigation changed the date shown (YYYY-MM-DD)"},{"name":"update:view","args":"\"week\" | \"day\"","description":"The Day/Week toggle (or a day header) changed the view"}],"slots":[{"name":"event","bindings":"{ event: SchedulerEvent; allDay: boolean; }","description":"Content of an event block."}],"exposed":[],"types":[{"name":"SchedulerEvent","source":"export interface SchedulerEvent {\n id: string | number\n title: string\n /**\n * Start: a datetime (`2026-10-17T09:30`, or ISO with a zone). For an all-day event, a date\n * (`2026-10-17`).\n */\n start: string\n /** End: a datetime (exclusive). For an all-day event, the last day (inclusive). */\n end: string\n /** Shown in the all-day row instead of the time grid. Events that span days go there too. */\n allDay?: boolean\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n}"}]},{"name":"MScrollable","import":"@m3ui-vue/m3ui-vue","description":"A constrained scroll area — vertical, horizontal, or both directions. Shows the browser's scrollbar, or with `scrollbar=\"indicator\"` M3's thin visual-only scrollbar (Compose's `Modifier.nonInteractiveScrollbar`), which appears while scrolling and fades out after.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\" | \"both\"","required":false,"default":"\"vertical\"","description":"Scroll direction","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Fixed height (CSS value)","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Maximum height (CSS value)","model":false},{"name":"scrollbar","type":"\"none\" | \"native\" | \"indicator\"","required":false,"default":"\"native\"","description":"`native`: the browser's scrollbar. `indicator`: M3's thin scrollbar, visual only (scroll with the wheel, touch or keys). `none`: no scrollbar at all.","model":false},{"name":"scrollbarFade","type":"boolean","required":false,"default":"true","description":"With `scrollbar=\"indicator\"`: show it only while scrolling, fading out after (false keeps it visible)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The scrolling content."}],"exposed":[],"types":[]},{"name":"MScrollField","import":"@m3ui-vue/m3ui-vue","description":"An endless wheel to pick a number or option by scrolling (M3 Expressive's ScrollField, a port of Compose's `ScrollField`): the centered item is the selected one. Drag, flick, use the mouse wheel, the arrow keys, or click an item. Put two side by side for a time (hours and minutes).","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Index of the selected item, 0 to count - 1 (v-model)","model":true},{"name":"count","type":"number","required":true,"default":null,"description":"Number of items; the wheel wraps around after the last one","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the field. Include the range when it isn't obvious (\"Select year between 2000 and 2025\"): the wheel wraps, so screen readers can't tell where it ends.","model":false},{"name":"format","type":"((index: number) => string)","required":false,"default":"String(index).padStart(2, \"0\")","description":"Text for each item (also what screen readers announce). Defaults to the index with at least 2 digits.","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Height in px; three items fit in the default 200 (ScrollFieldDefaults.ScrollFieldHeight)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the index of the centered item, as it changes while scrolling"}],"slots":[{"name":"item","bindings":"{ index: number; selected: boolean; }","description":"Custom content for each item, instead of the formatted number. Receives `{ index, selected }`."}],"exposed":[],"types":[]},{"name":"MSearchBar","import":"@m3ui-vue/m3ui-vue","description":"A collapsed search field that expands into a docked panel or a fullscreen overlay, with results shown below the input.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Controls the expanded/collapsed state — also works uncontrolled if omitted.","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"variant","type":"\"docked\" | \"fullscreen\"","required":false,"default":"\"docked\"","description":"'docked' grows into a rounded panel anchored below the bar (default). 'fullscreen' takes over the whole viewport, matching M3's mobile search pattern — the leading icon becomes a back button either way.","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed bar","model":false},{"name":"iconPosition","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"Which side of the *collapsed* bar the leading icon sits on. The expanded panel's back button always stays at the start regardless — that's a near-universal \"go back\" convention.","model":false},{"name":"textAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centers the input/placeholder text instead of the M3-standard start alignment (an iOS-style look some apps use for the collapsed bar).","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the collapsed bar","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:expanded","args":"boolean","description":"Emitted when the expanded state changes — powers v-model:expanded"}],"slots":[{"name":"leading","bindings":null,"description":"Overrides the collapsed bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content in both the collapsed bar and the expanded header (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions content, shown below the input while expanded"}],"exposed":[],"types":[]},{"name":"MSection","import":"@m3ui-vue/m3ui-vue","description":"A titled content section with optional subtitle, header actions, and divider.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Section title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Section subtitle text","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show divider below header","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between header and content","model":false},{"name":"titleVariant","type":"TextVariant","required":false,"default":"\"title-large\"","description":"Typography variant for the title","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content (overrides title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (overrides subtitle prop)"},{"name":"actions","bindings":null,"description":"Action buttons displayed in the header row"},{"name":"default","bindings":null,"description":"Main section content"}],"exposed":[],"types":[]},{"name":"MSegmentedButton","import":"@m3ui-vue/m3ui-vue","description":"A row of joined segments for choosing between a small set of related options — single or multi select.","props":[{"name":"modelValue","type":"string | number | (string | number)[]","required":true,"default":null,"description":"Selected value(s)","model":true},{"name":"options","type":"SegmentedOption[]","required":true,"default":null,"description":"The options to choose from; see `SegmentedOption`.","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"density","type":"\"default\" | \"compact\" | \"comfortable\"","required":false,"default":"\"default\"","description":"Button density","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected segment color","model":false}],"events":[{"name":"update:modelValue","args":"string | number | (string | number)[]","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"SegmentedOption","source":"export interface SegmentedOption {\n value: string | number\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MSelect","import":"@m3ui-vue/m3ui-vue","description":"A single-value dropdown select, docked or as a modal dialog on smaller screens.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (any type — v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when no value selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the select","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset the selection","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text shown when options is empty — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"SelectOption","source":"export interface SelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MShader","import":"@m3ui-vue/m3ui-vue","description":"A canvas container for hand-written shaders. Give it a GLSL fragment shader (Shadertoy-style — it runs on WebGL2 and works everywhere) and, optionally, a WGSL fragment shader that runs on WebGPU when the browser supports it. `renderer=\"auto\"` picks WebGPU whenever both a `wgsl` source and browser support are present, otherwise it falls back to WebGL2 — so the same component works as a drop-in on old and new browsers alike.","props":[{"name":"code","type":"string","required":true,"default":null,"description":"GLSL fragment shader body (Shadertoy-style): must define `mainImage(out vec4 fragColor, in vec2 fragCoord)`. Runs on WebGL2. Always required as the compatible baseline.","model":false},{"name":"wgsl","type":"string","required":false,"default":null,"description":"Optional WGSL fragment shader module, e.g. `@fragment fn fs_main(@builtin(position) pos: vec4f) ->","model":false},{"name":"renderer","type":"ShaderRenderer","required":false,"default":"\"auto\"","description":"Which backend to use. 'auto' picks WebGPU when `wgsl` is set and supported, else WebGL2.","model":false},{"name":"uniforms","type":"Record<string, number | number[]>","required":false,"default":null,"description":"Custom uniforms. Keys/shape are locked in at mount time; only values are reactive per frame.","model":false},{"name":"paused","type":"boolean","required":false,"default":null,"description":"Freezes the render loop and the shader clock","model":false},{"name":"pixelRatio","type":"number","required":false,"default":null,"description":"Device pixel ratio to render at. Defaults to devicePixelRatio, capped at 2 for performance.","model":false}],"events":[{"name":"error","args":"message: string","description":"Emitted on a shader compile/link error, or a WebGPU runtime error"},{"name":"ready","args":"renderer: \"webgpu\" | \"webgl\"","description":"Emitted once the backend has initialized — which backend ended up driving the canvas"}],"slots":[{"name":"loading","bindings":null,"description":"Shown while the backend initializes (default: MSpinner)"},{"name":"fallback","bindings":null,"description":"Shown when neither WebGL2 nor WebGPU is available at all"},{"name":"error","bindings":"{ message: string; }","description":"Shown on a shader compile/link/runtime error, with the message"}],"exposed":[{"name":"canvas","type":"HTMLCanvasElement | null","description":""},{"name":"status","type":"ShaderStatus","description":""},{"name":"context","type":"() => WebGL2RenderingContext | GPUDevice | null","description":"Raw WebGL2RenderingContext or GPUDevice, for consumers who want to go beyond the props API."},{"name":"pause","type":"() => void","description":""},{"name":"play","type":"() => void","description":""},{"name":"restart","type":"() => Promise<void>","description":""}],"types":[{"name":"ShaderRenderer","source":"export type ShaderRenderer = 'auto' | 'webgpu' | 'webgl'"},{"name":"ShaderStatus","source":"export type ShaderStatus = 'loading' | 'ready' | 'error' | 'fallback'"}]},{"name":"MShape","import":"@m3ui-vue/m3ui-vue","description":"Clips its content — or renders a filled shape with no content — into one of Material 3's 35 real \"expressive\" shapes. Changing `shape` spring-morphs into the new outline instead of snapping.","props":[{"name":"shape","type":"\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\"","required":true,"default":null,"description":"One of M3's 35 named \"expressive\" shapes (MaterialShapes.kt), e.g. 'Cookie9Sided', 'Heart'.","model":false},{"name":"fill","type":"string","required":false,"default":"\"currentColor\"","description":"Fill color used when there's no default slot content to clip (a decorative solid shape). SVG `fill`, not a `background-color` — a `bg-*` Tailwind class on the component itself has no effect here; use `fill` (or a `text-*` class, since the default is `currentColor`).","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring-morph into the new outline when `shape` changes — false snaps instantly instead.","model":false},{"name":"speed","type":"number","required":false,"default":"1","description":"Multiplier on the morph spring's speed (1 = default). Scales stiffness by speed² and the damping coefficient by speed, which time-scales the spring uniformly without changing its character (same amount of overshoot/settle shape, just faster or slower).","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content clipped to the shape (an image, an icon, anything). Without it the shape is drawn filled with `fill`."}],"exposed":[],"types":[{"name":"ShapeName","source":null}]},{"name":"MShortNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's shorter navigation bar (64dp, vs. MNavigationBar's classic 80dp) — a genuinely separate component, not just a size variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"ShortNavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `ShortNavBarItem`)","model":false},{"name":"arrangement","type":"\"centered\" | \"equal\"","required":false,"default":"\"equal\"","description":"'equal' fills the bar edge to edge (small screens); 'centered' groups items toward the middle instead, recommended for medium/landscape screens","model":false},{"name":"iconPosition","type":"\"top\" | \"start\"","required":false,"default":"\"top\"","description":"'top' stacks the icon above the label; 'start' places it beside the label in one wider pill — typically paired with arrangement='centered'","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ShortNavBarItem","source":"export interface ShortNavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n /** Not selectable: icon and label at 38% of the unselected color, no hover. */\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MSideSheet","import":"@m3ui-vue/m3ui-vue","description":"A panel that slides in from the right edge of the screen. Supports drag-to-dismiss from its left edge, or tapping the scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title, ignored if the header slot is used","model":false},{"name":"width","type":"string","required":false,"default":"\"w-80\"","description":"Tailwind width class for the panel (capped at max-w-[90vw])","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss from the left edge, or the close button) — powers v-model"}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default title text entirely — the close button stays"},{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MSignaturePad","import":"@m3ui-vue/m3ui-vue","description":"A bordered canvas that captures pointer strokes for signature capture. There's no v-model, since a signature isn't a simple value — read it out via events or the exposed methods.","props":[{"name":"width","type":"number","required":false,"default":"400","description":"Canvas width in px","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Canvas height in px","model":false},{"name":"lineWidth","type":"number","required":false,"default":"2.5","description":"Stroke width","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Stroke color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Canvas background color","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Container border style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables drawing","model":false}],"events":[{"name":"end","args":"string","description":"Fires after a stroke ends, with a PNG data: URL of the canvas"},{"name":"change","args":"string","description":"Fires alongside end, and also after undo() — same data: URL payload"},{"name":"begin","args":"","description":"Fires on the first pointerdown of a new stroke"}],"slots":[],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"undo","type":"() => void","description":""},{"name":"isEmpty","type":"() => boolean","description":""},{"name":"toDataURL","type":"(type?: string | undefined, quality?: number | undefined) => string","description":""}],"types":[]},{"name":"MSimpleCarousel","import":"@m3ui-vue/m3ui-vue","description":"A scroll-snap image carousel with three fixed-width layouts — hero (one protagonist item with peeking neighbors), multi-browse (several items at once, statically sized), and uncontained (variable-width items, optionally animated by scroll position). For the real M3 multi-browse carousel — where items continuously resize as you scroll instead of snapping between fixed widths — see MCarousel.","props":[{"name":"items","type":"SimpleCarouselItem[]","required":true,"default":null,"description":"Slides to render — required","model":false},{"name":"layout","type":"\"multi-browse\" | \"uncontained\" | \"hero\"","required":false,"default":"\"hero\"","description":"Carousel layout style","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Track height","model":false},{"name":"showArrows","type":"boolean","required":false,"default":"true","description":"Show prev/next arrow buttons (fade in on hover)","model":false},{"name":"showIndicators","type":"boolean","required":false,"default":"true","description":"Show dot indicators below the track","model":false},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Auto-advance slides — pauses while the pointer is over the carousel","model":false},{"name":"interval","type":"number","required":false,"default":"5000","description":"Autoplay interval in ms","model":false},{"name":"gap","type":"number","required":false,"default":"8","description":"Gap between items in pixels","model":false},{"name":"visibleItems","type":"number","required":false,"default":"3","description":"Number of visible items (multi-browse layout only)","model":false},{"name":"animated","type":"boolean","required":false,"default":"false","description":"Dynamically grow the centered item and shrink the others while scrolling (uncontained layout only)","model":false}],"events":[{"name":"change","args":"index: number","description":"Fires with the new active item index whenever the track scrolls to a different closest item"}],"slots":[],"exposed":[{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""},{"name":"scrollToItem","type":"(index: number) => void","description":""},{"name":"scrollToPage","type":"(page: number) => void","description":""}],"types":[{"name":"SimpleCarouselItem","source":"export interface SimpleCarouselItem {\n src: string\n alt?: string\n label?: string\n supportingText?: string\n ratio?: number\n}"}]},{"name":"MSkeleton","import":"@m3ui-vue/m3ui-vue","description":"A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.","props":[{"name":"variant","type":"\"rounded\" | \"text\" | \"circular\" | \"rectangular\"","required":false,"default":"\"text\"","description":"Skeleton shape","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"CSS width (defaults to 100%, or 40px for circular)","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"CSS height (defaults to 14px for text, 40px for circular, 100px otherwise)","model":false},{"name":"lines","type":"number","required":false,"default":"1","description":"Number of text lines (text variant only) — the last line renders at 60% width","model":false},{"name":"animation","type":"\"none\" | \"pulse\" | \"wave\"","required":false,"default":"\"pulse\"","description":"Animation style","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSlider","import":"@m3ui-vue/m3ui-vue","description":"The M3 slider — vertical bar thumb, rounded track with gap, standard/centered/range variants, horizontal or vertical.","props":[{"name":"modelValue","type":"number | [number, number]","required":true,"default":null,"description":"Current value — a tuple when variant is range","model":true},{"name":"min","type":"number","required":false,"default":"0","description":"Minimum value","model":false},{"name":"max","type":"number","required":false,"default":"100","description":"Maximum value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Step increment","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the slider","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"showValue","type":"boolean","required":false,"default":"false","description":"Show current value beside label","model":false},{"name":"showTooltip","type":"boolean","required":false,"default":"false","description":"Show value tooltip while dragging","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Slider orientation","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"xs\"","description":"Track and thumb size","model":false},{"name":"variant","type":"\"standard\" | \"centered\" | \"range\"","required":false,"default":"\"standard\"","description":"Standard, centered (from middle), or range (two thumbs)","model":false},{"name":"stops","type":"boolean","required":false,"default":"false","description":"Show stop dots at each step (max 30 visible)","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown before the slider — hides once the fill reaches it","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Base color — used for the fill and thumb unless overridden by fillColor/thumbColor","model":false},{"name":"fillColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the filled/active portion of the track and the corner dot. Defaults to `color`'s M3 token.","model":false},{"name":"thumbIcon","type":"string","required":false,"default":null,"description":"Replaces the draggable bar thumb with an icon.","model":false},{"name":"thumbColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the thumb (bar or icon). Defaults to `color`'s M3 token.","model":false}],"events":[{"name":"update:modelValue","args":"number | [number, number]","description":"Emitted while dragging and on key presses, with the new value (a `[low, high]` pair for the range variant)."}],"slots":[],"exposed":[],"types":[]},{"name":"MSnackbar","import":"@m3ui-vue/m3ui-vue","description":"Renders the toasts shown with `useToast()`. It's mounted for you the first time `useToast()` is called, so you don't place it yourself; its position comes from `useToast().position`.","props":[{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Accessible label of each toast's close button. Defaults to the locale's \"Close\".","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSpacer","import":"@m3ui-vue/m3ui-vue","description":"Pushes flex siblings apart — renders a simple `flex: 1` div. Use it inside MFlex/MStack (or any flex container) to push a group of items to the far edge.","props":[],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSpinner","import":"@m3ui-vue/m3ui-vue","description":"A small circular loading spinner — a standard ring, or the M3 Expressive wavy variant. For a larger, shape-morphing loading affordance, see MLoadingIndicator.","props":[{"name":"size","type":"number","required":false,"default":"20","description":"Size in px","model":false},{"name":"wavy","type":"boolean","required":false,"default":"false","description":"M3 Expressive wavy animation style — the ring rotates while a wave travels along its stroke, instead of a plain spin","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the spinner's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSplitButton","import":"@m3ui-vue/m3ui-vue","description":"A button split into a main action and a dropdown toggle — click the main part for the primary action, the arrow for alternatives.","props":[{"name":"label","type":"string","required":true,"default":null,"description":"Main button label","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Main button icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"tonal\"","description":"Visual style","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables both parts","model":false},{"name":"items","type":"SplitButtonItem[]","required":false,"default":null,"description":"Dropdown menu items; see `SplitButtonItem`","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the main (left) button is clicked"}],"slots":[{"name":"menu","bindings":"{ close: () => boolean; }","description":"Custom dropdown content. Used instead of items. Call close() to dismiss."}],"exposed":[],"types":[{"name":"SplitButtonItem","source":"export interface SplitButtonItem {\n label: string\n icon?: string\n disabled?: boolean\n onClick?: () => void\n}"}]},{"name":"MSplitter","import":"@m3ui-vue/m3ui-vue","description":"Two resizable panels divided by a draggable bar with M3's drag handle (MDragHandle) on it. The bar is also a keyboard separator: arrow keys move it (Shift for 10%), Home/End jump to the limits.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Split direction","model":false},{"name":"initialSplit","type":"number","required":false,"default":"50","description":"Initial split percentage","model":false},{"name":"min","type":"number","required":false,"default":"10","description":"Minimum panel percentage","model":false},{"name":"max","type":"number","required":false,"default":"90","description":"Maximum panel percentage","model":false}],"events":[],"slots":[{"name":"first","bindings":null,"description":"Content for the first (left/top) panel"},{"name":"second","bindings":null,"description":"Content for the second (right/bottom) panel"}],"exposed":[],"types":[]},{"name":"MSpotlightSearch","import":"@m3ui-vue/m3ui-vue","description":"A spotlight-style search overlay. Unlike MCommandPalette, it doesn't filter internally — you own the results array and update it from the search event, which makes it a natural fit for async/remote search.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"results","type":"SpotlightResult[]","required":false,"default":"[]","description":"Results to render — the component does no filtering itself, it just displays whatever you pass via the search event handler","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in place of the clear button, e.g. while an async search is in flight","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"/\"","description":"Global keyboard shortcut key (no modifier) to open the search — ignored while focus is in a text input/textarea/contenteditable","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay in ms before the search event fires after the query changes; 0 fires immediately on every keystroke","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"openHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"SpotlightResult","description":"Emitted when a result is chosen (click, or Enter)"},{"name":"search","args":"string","description":"Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response"}],"slots":[],"exposed":[],"types":[{"name":"SpotlightResult","source":"export interface SpotlightResult {\n id: string | number\n title: string\n description?: string\n icon?: string\n category?: string\n}"}]},{"name":"MStack","import":"@m3ui-vue/m3ui-vue","description":"Flex stack with gap, alignment, and optional dividers between items.","props":[{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Stack direction","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items (ignored when divider is true)","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"end\" | \"between\" | \"around\" | \"evenly\"","required":false,"default":"\"start\"","description":"Main-axis alignment","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show dividers between items instead of a gap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The stacked items."}],"exposed":[],"types":[]},{"name":"MStatCard","import":"@m3ui-vue/m3ui-vue","description":"A compact metric card — title, value, optional icon, and a trend indicator, with a built-in loading skeleton.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Stat label text — required","model":false},{"name":"value","type":"string | number","required":true,"default":null,"description":"Main stat value — required","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown in a colored container on the right","model":false},{"name":"trend","type":"number","required":false,"default":null,"description":"Percentage change — positive shows green/up, negative red/down, zero neutral/flat","model":false},{"name":"trendLabel","type":"string","required":false,"default":null,"description":"Text next to the trend indicator (e.g. \"vs last month\")","model":false},{"name":"color","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Icon container color","model":false},{"name":"loading","type":"boolean","required":false,"default":null,"description":"Show a skeleton placeholder instead of the value","model":false}],"events":[],"slots":[{"name":"footer","bindings":null,"description":"Extra content appended after the trend indicator/label row (only rendered when trend, trendLabel, or this slot is present)"}],"exposed":[],"types":[]},{"name":"MStepper","import":"@m3ui-vue/m3ui-vue","description":"A multi-step wizard, horizontal or vertical, with icons, descriptions, and optional/error states.","props":[{"name":"steps","type":"StepItem[]","required":true,"default":null,"description":"Step definitions (see `StepItem`)","model":false},{"name":"modelValue","type":"number","required":true,"default":null,"description":"Active step index (0-based), v-model","model":true},{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"linear","type":"boolean","required":false,"default":"true","description":"When true, steps are not clickable — only the active step changes via v-model from outside. When false, any non-active step can be clicked to jump to it.","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the new current step index."}],"slots":[],"exposed":[],"types":[{"name":"StepItem","source":"export interface StepItem {\n label: string\n description?: string\n icon?: string\n optional?: boolean\n error?: boolean\n}"}]},{"name":"MSticky","import":"@m3ui-vue/m3ui-vue","description":"Sticks content to the top of its scroll container using `position: sticky`.","props":[{"name":"top","type":"string | number","required":false,"default":"0","description":"Sticky offset from top (number = px)","model":false},{"name":"zIndex","type":"number","required":false,"default":"40","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that sticks."}],"exposed":[],"types":[]},{"name":"MSubtitle","import":"@m3ui-vue/m3ui-vue","description":"Secondary text component with muted color by default — a thin wrapper around `MText`.","props":[{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"large\"","description":"Subtitle size (maps to body-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"on-surface-variant\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The subtitle text."}],"exposed":[],"types":[]},{"name":"MSupportingPane","import":"@m3ui-vue/m3ui-vue","description":"Material 3's supporting pane layout: main content plus a narrower pane that supports it, like related videos next to a player, a cart next to a product or comments next to a document. With room for two panes (840px and up) the supporting pane sits beside the main one; on smaller screens it moves under it, or into a bottom sheet with `single-pane=\"sheet\"`. It measures its own width, not the window's.","props":[{"name":"singlePane","type":"\"below\" | \"sheet\"","required":false,"default":"\"below\"","description":"Where the supporting pane goes when there's room for only one pane.","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"With `singlePane=\"sheet\"`: whether the sheet is open (v-model:open).","model":true},{"name":"sheetTitle","type":"string","required":false,"default":null,"description":"With `singlePane=\"sheet\"`: the sheet's title.","model":false},{"name":"supportingWidth","type":"string","required":false,"default":null,"description":"Supporting pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:open","args":"boolean","description":"Emitted when the sheet is dismissed, or closed because both panes fit again"}],"slots":[{"name":"main","bindings":"{ twoPane: boolean; }","description":"The main content"},{"name":"supporting","bindings":"{ twoPane: boolean; }","description":"Content that supports the main pane: related items, a summary, details, tools"}],"exposed":[],"types":[]},{"name":"MSwipeToDismiss","import":"@m3ui-vue/m3ui-vue","description":"Content that can be swiped left or right to dismiss it, uncovering a background behind it (a port of Compose's `SwipeToDismissBox`), typically a list item with \"archive\" and \"delete\" behind. Once swiped away it stays there until you reset it (`v-model` back to `'settled'`, or `reset()`), so you decide what happens: remove the item, or undo.","props":[{"name":"modelValue","type":"SwipeToDismissValue","required":false,"default":"\"settled\"","description":"State (v-model): `'settled'`, or dismissed towards `'start-to-end'` / `'end-to-start'`. Set it to animate there.","model":true},{"name":"startToEnd","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping in the reading direction (right in LTR)","model":false},{"name":"endToStart","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping against the reading direction (left in LTR)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns the swipe gesture off (setting v-model still works)","model":false},{"name":"threshold","type":"number","required":false,"default":"56","description":"How far, in px, the content has to move before releasing dismisses it (SwipeToDismissBoxDefaults: 56dp)","model":false}],"events":[{"name":"update:modelValue","args":"SwipeToDismissValue","description":"Emitted when it settles in a new state — powers v-model"},{"name":"dismiss","args":"\"start-to-end\" | \"end-to-start\"","description":"Emitted with the direction when the content is swiped away"}],"slots":[{"name":"background","bindings":"{ direction: SwipeToDismissValue; target: SwipeToDismissValue; progress: number; }","description":"What the swipe uncovers. Receives `{ direction, target, progress }`: the side being swiped (`'start-to-end'`, `'end-to-start'` or `'settled'`), the state it would settle in if released now, and how far it has moved (0 to 1)"},{"name":"default","bindings":null,"description":"The content that moves"}],"exposed":[{"name":"reset","type":"() => void","description":"Animates back to `'settled'`"},{"name":"dismiss","type":"(dir: \"start-to-end\" | \"end-to-start\") => void","description":"Animates away in the given direction"}],"types":[{"name":"SwipeToDismissValue","source":"export type SwipeToDismissValue = 'settled' | 'start-to-end' | 'end-to-start'"}]},{"name":"MSwitch","import":"@m3ui-vue/m3ui-vue","description":"A toggle switch with an optional label, 4 semantic colors, and both M3 icon variants.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Toggle state (v-model)","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the switch","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Track/thumb color when on","model":false},{"name":"icon","type":"boolean","required":false,"default":"true","description":"Shows a check icon in the thumb while on. Set to `false` for M3's plain switch without an icon.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new on/off state."}],"slots":[],"exposed":[],"types":[]},{"name":"MTable","import":"@m3ui-vue/m3ui-vue","description":"A simple, general-purpose data table — sortable columns, built-in search, pagination, and optional row selection, with an escape hatch to delegate all three to your backend via serverSide.","props":[{"name":"columns","type":"TableColumn[]","required":true,"default":null,"description":"Column definitions: { key, label, sortable?, width?, align? }","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit `fetch` instead of filtering locally. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge, pluralized with 's' (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"TableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"}],"exposed":[],"types":[{"name":"TableFetchParams","source":"export interface TableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"},{"name":"TableColumn","source":"export interface TableColumn {\n key: string\n label: string\n sortable?: boolean\n width?: string\n align?: 'left' | 'center' | 'right'\n}"}]},{"name":"MTabs","import":"@m3ui-vue/m3ui-vue","description":"Switches between different views or content sections. The indicator animates via two independent springs (offset and width), not a CSS transition — see the component source for details.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active tab value (v-model)","model":true},{"name":"tabs","type":"Tab[]","required":true,"default":null,"description":"Tab definitions","model":false},{"name":"variant","type":"\"primary\" | \"secondary\"","required":false,"default":"\"primary\"","description":"Primary: short sliding underline shorter than the tab with a stretch animation. Secondary: full-width underline spanning the entire tab, text-only.","model":false},{"name":"scrollable","type":"boolean","required":false,"default":"false","description":"Fixed (default, M3 `TabRow`): tabs evenly share the available width, no scrolling — use for 2-5 tabs. Scrollable (M3 `ScrollableTabRow`): tabs keep their natural width and the row scrolls horizontally when they overflow — use for many tabs.","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted with the value of the tab you picked."}],"slots":[],"exposed":[],"types":[{"name":"Tab","source":"interface Tab {\n value: string | number\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MTagInput","import":"@m3ui-vue/m3ui-vue","description":"Type and press Enter or comma to add a free-form tag. Backspace on an empty input removes the last tag.","props":[{"name":"modelValue","type":"string[]","required":true,"default":"[]","description":"Array of tags (v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"maxTags","type":"number","required":false,"default":null,"description":"Max number of tags allowed","model":false},{"name":"duplicates","type":"boolean","required":false,"default":"false","description":"Allow duplicate tags","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the","model":false}],"events":[{"name":"update:modelValue","args":"string[]","description":"Emitted whenever a tag is added or removed — powers v-model"},{"name":"debounced","args":"string[]","description":"Emitted debounce ms after the tag list stops changing (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MTerminal","import":"@m3ui-vue/m3ui-vue/terminal","description":"A terminal emulator built on xterm.js — pre-filled static output, or fully interactive keyboard input.","props":[{"name":"lines","type":"string[]","required":false,"default":"[]","description":"Initial lines to display","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Disable input","model":false},{"name":"title","type":"string","required":false,"default":"\"Terminal\"","description":"Title bar text","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"300px\"","description":"Minimum height","model":false}],"events":[{"name":"line","args":"string","description":"Emitted with the buffered text once the user presses Enter — the usual event to handle a submitted command"},{"name":"input","args":"string","description":"Emitted for every raw keystroke/data chunk xterm receives (not readonly)"}],"slots":[],"exposed":[{"name":"write","type":"(text: string) => any","description":""},{"name":"writeln","type":"(text: string) => any","description":""},{"name":"clear","type":"() => any","description":""},{"name":"focus","type":"() => any","description":""}],"types":[]},{"name":"MText","import":"@m3ui-vue/m3ui-vue","description":"Renders any of the 15 Material 3 typography variants, with an auto-selected semantic HTML tag.","props":[{"name":"variant","type":"TextVariant","required":false,"default":"\"body-medium\"","description":"Typography variant from the Material 3 type scale","model":false},{"name":"tag","type":"string","required":false,"default":null,"description":"HTML tag to render (auto-selected based on variant — h1/h2/h3 for display/headline, p for title/body, span for label)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":"\"left\"","description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false},{"name":"lines","type":"1 | 2 | 3 | 4 | 5 | 6","required":false,"default":null,"description":"Clamp text to a specific number of lines","model":false},{"name":"weight","type":"\"medium\" | \"bold\" | \"regular\"","required":false,"default":null,"description":"Font weight override","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The text."}],"exposed":[],"types":[{"name":"TextVariant","source":"export type TextVariant =\n | 'display-large' | 'display-medium' | 'display-small'\n | 'headline-large' | 'headline-medium' | 'headline-small'\n | 'title-large' | 'title-medium' | 'title-small'\n | 'body-large' | 'body-medium' | 'body-small'\n | 'label-large' | 'label-medium' | 'label-small'"}]},{"name":"MTextField","import":"@m3ui-vue/m3ui-vue","description":"The standard single- or multi-line text input, filled or outlined, with floating label.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Bound value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"type","type":"string","required":false,"default":"\"text\"","description":"HTML input type","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Puts the field in error state (red border and label)","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown below the field (only visible when error is true)","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text shown below the field","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"multiline","type":"boolean","required":false,"default":null,"description":"Renders a textarea instead of an input","model":false},{"name":"rows","type":"number","required":false,"default":"3","description":"Textarea rows (when multiline)","model":false},{"name":"autocomplete","type":"string","required":false,"default":null,"description":"Passed through to the native autocomplete attribute","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the input","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button when the field has a value","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[{"name":"trailing","bindings":null,"description":"Custom trailing content (e.g. an icon button) — replaces the built-in clear button when present"}],"exposed":[],"types":[]},{"name":"MTimeline","import":"@m3ui-vue/m3ui-vue","description":"A vertical event timeline with icon dots, dates, and colors — standard single-column or alternating left/right layout.","props":[{"name":"items","type":"TimelineItem[]","required":true,"default":null,"description":"Array of timeline entries — required","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact spacing between items","model":false},{"name":"alternating","type":"boolean","required":false,"default":"false","description":"Alternate items left/right of a central line instead of a single left-aligned column","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"TimelineItem","source":"export interface TimelineItem {\n title: string;\n description?: string;\n date?: string;\n icon?: string;\n color?: \"primary\" | \"secondary\" | \"tertiary\" | \"error\" | \"success\";\n dotColor?: string;\n}"}]},{"name":"MTimePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored hour/minute picker with 12h/24h format support.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected time (HH:MM, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no time is selected — falls back to label, then the current locale's string","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"use24h","type":"boolean","required":false,"default":"true","description":"Use 24-hour format","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked time."}],"slots":[],"exposed":[],"types":[]},{"name":"MTimePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered time picker with a clock dial and a keyboard input mode. Supports AM/PM toggle and 24h format — the sibling of MTimePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"Use 24-hour format (shows inner ring 13-23)","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a time is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MTitle","import":"@m3ui-vue/m3ui-vue","description":"Semantic heading component in three sizes — a thin wrapper around `MText` at medium weight.","props":[{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"large\"","description":"Title size (maps to headline-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The title text."}],"exposed":[],"types":[]},{"name":"MToggleButton","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's standalone toggle button — morphs its own shape between a pill and a squared corner on check, and squishes further while pressed, all on a real spring. Distinct from MSegmentedButton/MButtonGroup, which are groups of options — this is a single button.","props":[{"name":"checked","type":"boolean","required":true,"default":null,"description":"Whether the toggle button is checked/selected — v-model.","model":true},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"filled\"","description":"Visual style, matching MButton's naming","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown before the label","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Same 5-tier expressive sizing as MButton","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted when clicked — powers v-model:checked"}],"slots":[{"name":"default","bindings":null,"description":"The button's label, after the icon."}],"exposed":[],"types":[]},{"name":"MToolbar","import":"@m3ui-vue/m3ui-vue","description":"A container for grouping icon buttons and actions — docked to an edge or floating as a rounded pill, horizontal or vertical, with an optional paired FAB.","props":[{"name":"variant","type":"\"docked\" | \"floating\"","required":false,"default":"\"docked\"","description":"Docked (edge-attached, full width/height, bordered) or floating (rounded pill with shadow)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color scheme","model":false},{"name":"fabPosition","type":"\"start\" | \"none\" | \"end\"","required":false,"default":"\"none\"","description":"Where the #fab slot renders relative to the toolbar body","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"between\"","required":false,"default":"\"center\"","description":"Item alignment along the main axis","model":false}],"events":[],"slots":[{"name":"fab","bindings":null,"description":"A FAB rendered alongside the toolbar body, positioned by fabPosition"},{"name":"default","bindings":null,"description":"Toolbar items — typically MIconButton/MButton, separated with MDivider"}],"exposed":[],"types":[]},{"name":"MTooltip","import":"@m3ui-vue/m3ui-vue","description":"A hover/focus-triggered label — plain text, or a rich variant with a title, detailed content, and action buttons.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Tooltip text (plain variant), or the rich variant's title line","model":false},{"name":"placement","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"top\"","description":"Tooltip position relative to the trigger","model":false},{"name":"delay","type":"number","required":false,"default":"600","description":"Show delay in ms after hover/focus","model":false},{"name":"rich","type":"boolean","required":false,"default":"false","description":"Rich tooltip with a #content slot and optional #actions. Stays open when hovering the tooltip itself instead of closing immediately.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The trigger element the tooltip is anchored to"},{"name":"content","bindings":null,"description":"Rich-tooltip body content (only used when rich is true)"},{"name":"actions","bindings":null,"description":"Rich-tooltip action buttons row (only used when rich is true)"}],"exposed":[],"types":[]},{"name":"MTopAppBar","import":"@m3ui-vue/m3ui-vue","description":"A top app bar in four M3 layouts — center-aligned, small, medium, and large — with a leading navigation icon and trailing actions.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"App bar title","model":false},{"name":"variant","type":"\"center\" | \"medium\" | \"small\" | \"large\"","required":false,"default":"\"small\"","description":"64dp small/center-aligned row, or a 112dp medium / 152dp large two-row layout with the title below","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button — defaults to the locale's generic \"Menu\" label; override when navigationIcon is actually a back arrow rather than a drawer toggle.","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Swaps both container color (surface → surface-container) and elevation (level 0 → level 2), matching the real M3 on-scroll container tokens rather than just adding a shadow","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false}],"events":[{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked (not emitted when the #navigation slot is overridden — that content is fully custom)"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"title","bindings":null,"description":"Custom title content (default: renders the title prop)"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MTour","import":"@m3ui-vue/m3ui-vue","description":"A guided, step-by-step walkthrough that highlights a page element per step with an auto-positioned tooltip and a dimming scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Show/hide the tour (v-model)","model":true},{"name":"steps","type":"TourStep[]","required":true,"default":null,"description":"Ordered list of steps; see `TourStep`","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Label for the Previous button (defaults to the locale string, 'Previous')","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Label for the Next button (defaults to the locale string, 'Next')","model":false},{"name":"finishLabel","type":"string","required":false,"default":null,"description":"Label for the final step's button (defaults to the locale string, 'Finish')","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the tour opens or closes (Escape-less — closed via the X button, clicking the scrim, or finishing) — powers v-model"},{"name":"finish","args":"","description":"Emitted when the user completes the last step (clicks the finish button)"}],"slots":[],"exposed":[],"types":[{"name":"TourStep","source":"export interface TourStep {\n target: string\n title: string\n content: string\n placement?: 'top' | 'bottom' | 'left' | 'right'\n}"}]},{"name":"MTransferList","import":"@m3ui-vue/m3ui-vue","description":"Move items between two panes, with select-all, optional search and v-model on the values in the target pane. Check rows and use the arrows, or double-click a row (or press Enter on its checkbox) to send it straight across. When the component is narrow, the panes stack and the arrows point up and down.","props":[{"name":"modelValue","type":"Value[]","required":true,"default":null,"description":"Values in the target (right or bottom) pane (v-model)","model":true},{"name":"items","type":"T[]","required":true,"default":null,"description":"Full list of items; see `TransferItem` (or your own type extending it)","model":false},{"name":"sourceTitle","type":"string","required":false,"default":null,"description":"Source pane title (defaults to the locale string)","model":false},{"name":"targetTitle","type":"string","required":false,"default":null,"description":"Target pane title (defaults to the locale string)","model":false},{"name":"filterable","type":"boolean","required":false,"default":"false","description":"Show a search field in each pane. It matches the label and the description","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Search field placeholder (defaults to the locale string)","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when a pane is empty (defaults to the locale string)","model":false},{"name":"moveAllRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-right button (defaults to the locale string)","model":false},{"name":"moveRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-right button (defaults to the locale string)","model":false},{"name":"moveLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-left button (defaults to the locale string)","model":false},{"name":"moveAllLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-left button (defaults to the locale string)","model":false},{"name":"listHeight","type":"string","required":false,"default":"\"280px\"","description":"Height of each list's scroll area (any CSS length).","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Fully custom rows: the `#item` slot draws the whole row (no checkbox, padding, min height or background). The row stays clickable, focusable (Space checks it, Enter moves it) and animated; use the slot's `checked` to style the checked state.","model":false}],"events":[{"name":"update:modelValue","args":"Value[]","description":"Emitted whenever items move between panes (v-model)"}],"slots":[{"name":"item","bindings":"{ item: T; checked: boolean; side: \"source\" | \"target\"; toggle: () => void; move: () => void; }","description":"Custom row content. Without `bare` it replaces the icon and text, keeping the checkbox, highlight and hover. Buttons, links, fields and `[data-transfer-action]` elements inside keep their own clicks instead of checking the row."},{"name":"source-empty","bindings":null,"description":"Custom content when the source pane is empty"},{"name":"target-empty","bindings":null,"description":"Custom content when the target pane is empty"}],"exposed":[],"types":[{"name":"TransferItem","source":"export interface TransferItem {\n value: string | number\n label: string\n icon?: string\n /** Optional second line under the label (an email, a role, a short description). */\n description?: string\n}"},{"name":"Value","source":"type Value = string | number"}]},{"name":"MTransition","import":"@m3ui-vue/m3ui-vue","description":"M3's navigation transitions between two views (a port of Compose's `MaterialTransitions`): `shared-axis` slides the new view in from the side as the old one slides out (use `reverse` when going back), and `fade-through` fades the old view out and the new one in with a slight scale, for destinations without a spatial relationship such as navigation bar tabs. Wrap content that changes its `key` (or a `v-if`/`v-else` pair, or a `<RouterView>` slot's component); both views overlap while they animate.","props":[{"name":"type","type":"\"shared-axis\" | \"fade-through\"","required":false,"default":"\"shared-axis\"","description":"`shared-axis` (horizontal, for forward/back navigation) or `fade-through` (unrelated destinations)","model":false},{"name":"reverse","type":"boolean","required":false,"default":"false","description":"Shared axis: play the backward transition (the new view comes from the start side)","model":false},{"name":"appear","type":"boolean","required":false,"default":"false","description":"Animate the first view too","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The current view; give it a `key` that changes with it"}],"exposed":[],"types":[]},{"name":"MTree","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical tree view with expand/collapse, single-node selection, and optional cascading checkbox selection.","props":[{"name":"nodes","type":"TreeNode[]","required":true,"default":null,"description":"Root nodes to render — required","model":false},{"name":"selected","type":"string | number | null","required":false,"default":"null","description":"Currently selected node id (single-select).","model":true},{"name":"checked","type":"(string | number)[]","required":false,"default":"[]","description":"Checked node ids (checkable multi-select).","model":true},{"name":"checkable","type":"boolean","required":false,"default":"false","description":"Show checkboxes with cascade selection.","model":false},{"name":"defaultExpanded","type":"\"none\" | (string | number)[] | \"all\"","required":false,"default":"\"none\"","description":"Which nodes start expanded. 'all' | 'none' | array of ids (default: 'none').","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when nodes is empty. Falls back to the app's configured locale's noItems string","model":false}],"events":[{"name":"update:selected","args":"string | number | null","description":"Fires when a node is clicked, toggling selection (clicking the already-selected node clears it)"},{"name":"update:checked","args":"(string | number)[]","description":"Fires when a checkbox toggles a node (checkable mode)"},{"name":"node-click","args":"TreeNode","description":"Fires whenever a node row is clicked, alongside update:selected"}],"slots":[],"exposed":[{"name":"expandAll","type":"() => void","description":""},{"name":"collapseAll","type":"() => void","description":""}],"types":[{"name":"TreeNode","source":"// ── Public types ────────────────────────────────────────────────────────────\n\nexport interface TreeNode {\n id: string | number\n label: string\n icon?: string\n children?: TreeNode[]\n disabled?: boolean\n [key: string]: unknown\n}"}]},{"name":"MTreeTable","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical table for nested data like file systems or org charts — rows can carry a `children` array, and the first column renders the indent and expand/collapse toggle automatically.","props":[{"name":"columns","type":"TreeTableColumn[]","required":true,"default":null,"description":"Column definitions; see `TreeTableColumn`","model":false},{"name":"rows","type":"TreeTableRow[]","required":true,"default":null,"description":"Hierarchical rows with an optional children array; see `TreeTableRow`","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"defaultExpanded","type":"boolean","required":false,"default":"false","description":"Expand all nodes with children by default","model":false},{"name":"indent","type":"number","required":false,"default":"24","description":"Indentation per depth level, in px","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when rows is empty. Falls back to the app's configured locale's noResults string","model":false}],"events":[{"name":"rowClick","args":"TreeTableRow","description":"Emitted with the row when you click it."}],"slots":[{"name":"toolbar","bindings":"{ expandAll: () => void; collapseAll: () => void; }","description":"Toolbar content above the table, only rendered when this slot is used — gets expandAll()/collapseAll() helpers"}],"exposed":[],"types":[{"name":"TreeTableColumn","source":"export interface TreeTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n}"},{"name":"TreeTableRow","source":"export interface TreeTableRow {\n [key: string]: any\n children?: TreeTableRow[]\n}"}]},{"name":"MVirtualTable","import":"@m3ui-vue/m3ui-vue","description":"Renders only the rows currently in (or near) the viewport, so a table with thousands of rows stays smooth — no pagination needed. Trade-off: no built-in search/filtering, sort is a client-side full-array sort.","props":[{"name":"columns","type":"VTableColumn[]","required":true,"default":null,"description":"Column definitions; see `VTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"All rows — the full array is held in memory, only visible rows are rendered to the DOM","model":false},{"name":"rowHeight","type":"number","required":false,"default":"44","description":"Fixed row height in px, used for the virtualization math","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"overscan","type":"number","required":false,"default":"5","description":"Extra rows rendered above/below the visible viewport, to reduce blank flashes on fast scroll","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"500px\"","description":"Scrollable container height (any valid CSS height)","model":false}],"events":[{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row."}],"slots":[],"exposed":[],"types":[{"name":"VTableColumn","source":"export interface VTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n sortable?: boolean\n}"}]},{"name":"MWindow","import":"@m3ui-vue/m3ui-vue","description":"A floating, draggable, resizable window — the building block for a desktop-style multi-window UI inside your app. Drag from the title bar, resize from any edge or corner, minimize to just the title bar, maximize (or double-click the title bar) to fill its container, and click any window to bring it to front. The window in front shows a stronger title bar and elevation, the others step back. Material 3 has no window component, so this one is built from M3 pieces: surface tones, elevation levels, 32dp icon buttons with state layers, and standard motion.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Visible state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Window title in the title bar","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon in the title bar","model":false},{"name":"width","type":"string","required":false,"default":"\"400px\"","description":"Initial width","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Initial height","model":false},{"name":"minWidth","type":"number","required":false,"default":"200","description":"Minimum width in px","model":false},{"name":"minHeight","type":"number","required":false,"default":"150","description":"Minimum height in px","model":false},{"name":"maxWidth","type":"number","required":false,"default":null,"description":"Maximum width in px","model":false},{"name":"maxHeight","type":"number","required":false,"default":null,"description":"Maximum height in px","model":false},{"name":"resizable","type":"boolean","required":false,"default":"true","description":"Allow resizing from edges and corners","model":false},{"name":"draggable","type":"boolean","required":false,"default":"true","description":"Allow dragging from the title bar","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show close button","model":false},{"name":"minimizable","type":"boolean","required":false,"default":"true","description":"Show minimize button (collapses to title bar)","model":false},{"name":"maximizable","type":"boolean","required":false,"default":"true","description":"Maximize button, and double-click on the title bar, to fill the parent and back.","model":false},{"name":"snap","type":"boolean","required":false,"default":"false","description":"Edge snapping while dragging, like GNOME: hold the pointer at the parent's top edge to maximize, or at its left/right edge to fill that half. A preview shows where it will land.","model":false},{"name":"offscreen","type":"boolean","required":false,"default":"false","description":"Lets the window be dragged partly out of its container, like a desktop: up to 3/4 of its width past either side, and down until only the title bar shows; never above the top. The container should clip it (`overflow: hidden`).","model":false},{"name":"x","type":"number","required":false,"default":"50","description":"Initial X position","model":false},{"name":"y","type":"number","required":false,"default":"50","description":"Initial Y position","model":false},{"name":"resetPosition","type":"boolean","required":false,"default":"false","description":"Reset position, size, and state when the window is closed","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"update:modelValue","args":"value: boolean","description":"Emitted when the window closes — powers v-model"},{"name":"minimize","args":"","description":"Emitted when the minimize button is toggled (either direction)"},{"name":"maximize","args":"maximized: boolean","description":"Emitted when the window is maximized (true) or restored (false)"},{"name":"focus","args":"","description":"Emitted when the window comes to the front."}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default icon + title, keeps drag behavior"},{"name":"actions","bindings":null,"description":"Extra buttons in the title bar, before minimize/maximize/close. MIconButton size=\"xs\" matches the built-in ones"},{"name":"default","bindings":null,"description":"The window's content, under the title bar. Unmounted while the window is hidden."}],"exposed":[{"name":"focus","type":"() => void","description":"Brings the window to the front, e.g. from a taskbar."},{"name":"toggleMaximize","type":"() => void","description":""},{"name":"toggleMinimize","type":"() => void","description":""}],"types":[]}],"values":[{"name":"shapeNames","import":"@m3ui-vue/m3ui-vue","signature":"shapeNames: (\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\")[]","description":""},{"name":"createM3UI","import":"@m3ui-vue/m3ui-vue","signature":"createM3UI(options: M3UIOptions = {}): {\n install: (app: App<any>) => void\n}","description":""},{"name":"useTheme","import":"@m3ui-vue/m3ui-vue","signature":"useTheme(): {\n theme: Ref<Theme>\n cycle: () => void\n}","description":""},{"name":"useColorPalette","import":"@m3ui-vue/m3ui-vue","signature":"useColorPalette(): {\n palette: Ref<string>\n palettes: Palette[]\n set: (id: string) => void\n seed: Readonly<Ref<{ readonly seed: string; readonly variant?: SchemeVariant; readonly contrast?: number; } | null>>\n setSeed: (seed: string, options?: SeedOptions) => Promise<void>\n persistPalette: Ref<boolean>\n setPersistPalette: (enabled: boolean) => void\n}","description":""},{"name":"palettes","import":"@m3ui-vue/m3ui-vue","signature":"palettes: Palette[]","description":""},{"name":"SEED_PALETTE","import":"@m3ui-vue/m3ui-vue","signature":"SEED_PALETTE: \"seed\"","description":"The palette id used while a seed color is active (`useColorPalette().setSeed()`)."},{"name":"generateScheme","import":"@m3ui-vue/m3ui-vue","signature":"generateScheme(seed: string, options: SeedOptions = {}): Promise<GeneratedScheme>","description":"Generates the light and dark schemes for a seed color (`#rrggbb`)."},{"name":"schemeToCss","import":"@m3ui-vue/m3ui-vue","signature":"schemeToCss(scheme: GeneratedScheme, id: string): string","description":"CSS for a scheme under `[data-palette='<id>']` (light) and `[data-palette='<id>'].dark`, like palettes.css."},{"name":"schemeRoles","import":"@m3ui-vue/m3ui-vue","signature":"schemeRoles: readonly [\"primary\", \"on-primary\", \"primary-container\", \"on-primary-container\", \"secondary\", \"on-secondary\", \"secondary-container\", \"on-secondary-container\", \"tertiary\", \"on-tertiary\", \"tertiary-container\", \"on-tertiary-container\", \"error\", \"on-error\", \"error-container\", \"on-error-container\", \"background\", \"on-background\", \"surface\", \"on-surface\", \"surface-variant\", \"on-surface-variant\", \"surface-dim\", \"surface-bright\", \"surface-container-lowest\", \"surface-container-low\", \"surface-container\", \"surface-container-high\", \"surface-container-highest\", \"outline\", \"outline-variant\", \"inverse-surface\", \"inverse-on-surface\", \"inverse-primary\", \"scrim\", \"shadow\", \"primary-fixed\", \"primary-fixed-dim\", \"on-primary-fixed\", \"on-primary-fixed-variant\", \"secondary-fixed\", \"secondary-fixed-dim\", \"on-secondary-fixed\", \"on-secondary-fixed-variant\", \"tertiary-fixed\", \"tertiary-fixed-dim\", \"on-tertiary-fixed\", \"on-tertiary-fixed-variant\"]","description":"The `--color-*` roles a generated scheme sets. `success*` is a library extension and stays as themed."},{"name":"useToast","import":"@m3ui-vue/m3ui-vue","signature":"useToast(): {\n toasts: Ref<Toast[]>\n position: Ref<ToastPosition>\n show: (message: string, variant: ToastVariant = 'info', options: number | ToastOptions = {}) => number\n success: (msg: string, opts?: ToastOptions) => number\n error: (msg: string, opts?: ToastOptions) => number\n warning: (msg: string, opts?: ToastOptions) => number\n info: (msg: string, opts?: ToastOptions) => number\n loading: (msg: string, opts?: Omit<ToastOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Toast, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useFieldBg","import":"@m3ui-vue/m3ui-vue","signature":"useFieldBg(containerEl: Ref<HTMLElement | null>, fieldBgProp: () => string | undefined): {\n resolvedFieldBg: ComputedRef<string>\n}","description":"Auto-detects the background behind `containerEl` and exposes it as `--field-bg`. Prefers a CSS variable reference (e.g. var(--color-surface-container-low)) over a raw computed color so the outlined label cutout transitions in sync with the rest of the theme switch instead of lagging behind."},{"name":"useLocale","import":"@m3ui-vue/m3ui-vue","signature":"useLocale(): M3Locale","description":""},{"name":"defaultLocale","import":"@m3ui-vue/m3ui-vue","signature":"defaultLocale: M3Locale","description":""},{"name":"useDevice","import":"@m3ui-vue/m3ui-vue","signature":"useDevice(): {\n isMobile: Ref<boolean>\n}","description":""},{"name":"useWindowSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"useWindowSizeClass(target?: MaybeRefOrGetter<HTMLElement | null | undefined>): WindowSizeClassInfo","description":"The M3 width/height size classes, reactive. With no argument it tracks the browser window. Pass an element (ref or getter) to classify that element's own size instead, which is what the adaptive layout components do, so they adapt to the space they actually get (a column, a dialog, a resizable panel)."},{"name":"widthSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"widthSizeClass(width: number): WidthSizeClass","description":""},{"name":"heightSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"heightSizeClass(height: number): HeightSizeClass","description":""},{"name":"useNotification","import":"@m3ui-vue/m3ui-vue","signature":"useNotification(): {\n notifications: Ref<Notification[]>\n position: Ref<NotificationPosition>\n show: (message: string, variant: NotificationVariant = 'info', options: NotificationOptions = {}) => number\n success: (msg: string, opts?: NotificationOptions) => number\n error: (msg: string, opts?: NotificationOptions) => number\n warning: (msg: string, opts?: NotificationOptions) => number\n info: (msg: string, opts?: NotificationOptions) => number\n loading: (msg: string, opts?: Omit<NotificationOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Notification, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useDebounce","import":"@m3ui-vue/m3ui-vue","signature":"useDebounce(fn: (...args: any[]) => void, ms: number): {\n debounced: (...args: any[]) => void\n cancel: () => void\n}","description":""},{"name":"usePageProgress","import":"@m3ui-vue/m3ui-vue","signature":"usePageProgress(): {\n progress: Ref<number>\n isActive: Ref<boolean>\n start: () => void\n set: (pct: number) => void\n done: () => void\n}","description":"Shared page-loading progress state (e.g. for a top progress bar between route navigations). Module-level so any number of callers/components stay in sync — call `start()`/`done()` from a router guard, a fetch wrapper, or by hand."},{"name":"emojiCategories","import":"@m3ui-vue/m3ui-vue","signature":"emojiCategories: EmojiCategory[]","description":""},{"name":"allEmojis","import":"@m3ui-vue/m3ui-vue","signature":"allEmojis: string[]","description":""},{"name":"randomEmoji","import":"@m3ui-vue/m3ui-vue","signature":"randomEmoji(from?: string[]): string","description":""},{"name":"withSkinTone","import":"@m3ui-vue/m3ui-vue","signature":"withSkinTone(emoji: string, tone: number): string","description":"`emoji` with skin tone `tone` (0 = none, 1–5 = light to dark), if it takes one."},{"name":"toneableEmojis","import":"@m3ui-vue/m3ui-vue","signature":"toneableEmojis: Set<string>","description":"Emoji that take a skin tone (all five one-tone variants exist)."},{"name":"skinTones","import":"@m3ui-vue/m3ui-vue","signature":"skinTones: readonly [\"🏻\", \"🏼\", \"🏽\", \"🏾\", \"🏿\"]","description":"The five Fitzpatrick modifiers, light to dark."}],"types":[{"name":"M3UIOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface M3UIOptions {\n palette?: string\n /**\n * Set to `false` to make `palette` a hard default that always wins on boot, ignoring\n * whatever is already stored in localStorage, and to stop future `useColorPalette().set()`\n * calls from persisting either. Palette switching still works live within the session\n * (`set()` still applies immediately) — only the \"remember it for next time\" part is disabled.\n * Defaults to `true`, matching prior behavior (`palette` only seeds the very first visit,\n * and any later choice persists and wins over it).\n */\n persistPalette?: boolean\n /**\n * Palettes of your own, added to `useColorPalette().palettes` so palette pickers built from\n * that list show them. An entry whose `id` matches a built-in palette replaces it. Each one\n * still needs its CSS: `[data-palette='<id>'] { --color-primary: ...; }` plus a\n * `[data-palette='<id>'].dark { ... }` block, overriding the same tokens as `palettes.css`.\n */\n customPalettes?: Palette[]\n /**\n * Generate the whole color scheme (light and dark) from one color instead of using a named palette: Google's\n * dynamic color, the way Android builds a theme from a wallpaper. `palette` wins when both are given, and like\n * `palette` it's only the first-visit default unless `persistPalette` is `false`.\n */\n seed?: string\n /** How `seed` becomes a scheme: `variant` (`'tonal-spot'` by default) and `contrast` (0 standard, 0.5 medium, 1 high). */\n seedOptions?: SeedOptions\n locale?: MaybeRef<Partial<M3Locale>>\n /**\n * Keep `<meta name=\"theme-color\">` (the color phones give the browser bar and status bar) in sync with a color\n * role of the active palette, following palette, seed and dark mode changes. `'surface'` matches a top app\n * bar, as Material apps on Android do; any role name works (`'primary'`, `'surface-container'`…). Off by default:\n * when set, the library owns that meta (it's created if missing, and a light/dark `media` pair becomes one).\n * Note that Chrome and Samsung Internet on Android ignore it in a regular tab while the system is in dark\n * mode (they keep their own dark bar); installed apps (PWA) still get it.\n */\n themeColor?: 'surface' | 'surface-container' | 'primary' | (string & {})\n}"},{"name":"Theme","import":"@m3ui-vue/m3ui-vue","source":"export type Theme = 'light' | 'dark' | 'system'"},{"name":"Palette","import":"@m3ui-vue/m3ui-vue","source":"export interface Palette {\n id: string\n label: string\n /**\n * The palette's key color. A custom palette (`createM3UI({ customPalettes })`) with no CSS of its own gets its\n * scheme generated from it; one with `[data-palette='<id>']` rules keeps them.\n */\n seed: string\n}"},{"name":"ActiveSeed","import":"@m3ui-vue/m3ui-vue","source":"export interface ActiveSeed extends SeedOptions {\n seed: string\n}"},{"name":"SchemeVariant","import":"@m3ui-vue/m3ui-vue","source":"// Dynamic color: a full M3 color scheme (light and dark) generated from one seed color with Google's\n// material-color-utilities (HCT, DynamicScheme). The package is loaded with a dynamic import, so apps that\n// never use a seed don't download it; it's bundled into the library (its 0.4.0 ESM build has an extensionless\n// import that Node can't resolve, which would break SSR and tests if it were left external).\n\nexport type SchemeVariant =\n | 'tonal-spot'\n | 'expressive'\n | 'vibrant'\n | 'fidelity'\n | 'content'\n | 'neutral'\n | 'monochrome'\n | 'rainbow'\n | 'fruit-salad'"},{"name":"SeedOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface SeedOptions {\n /** How the seed spreads into the scheme. `tonal-spot` is Android's default (calm, seed-led). */\n variant?: SchemeVariant\n /** Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced). */\n contrast?: number\n}"},{"name":"GeneratedScheme","import":"@m3ui-vue/m3ui-vue","source":"/** Token name (as in `--color-<name>`) → hex, for each scheme. */\nexport interface GeneratedScheme {\n light: Record<string, string>\n dark: Record<string, string>\n}"},{"name":"Toast","import":"@m3ui-vue/m3ui-vue","source":"export interface Toast {\n id: number\n message: string\n variant: ToastVariant\n duration: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null // null = suppress icon entirely\n color?: string\n count: number // ≥ 2 → show badge\n}"},{"name":"ToastVariant","import":"@m3ui-vue/m3ui-vue","source":"export type ToastVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"ToastPosition","import":"@m3ui-vue/m3ui-vue","source":"export type ToastPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"ToastAction","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastAction { label: string; onClick: () => void }"},{"name":"ToastOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastOptions {\n duration?: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null\n color?: string\n}"},{"name":"M3Locale","import":"@m3ui-vue/m3ui-vue","source":"export interface M3Locale {\n /** BCP-47 language tag (e.g. 'en', 'es', 'pt') — read by locale-aware components (MRelativeTime) that use Intl formatting. */\n lang: string\n\n // Common\n search: string\n noResults: string\n close: string\n cancel: string\n confirm: string\n loading: string\n menu: string\n\n // Navigation\n previous: string\n next: string\n today: string\n more: string\n\n // Tables\n selectedCount: string\n recordCount: string\n expand: string\n columns: string\n exportCsv: string\n noGroup: string\n\n // Tour\n finish: string\n\n // File upload\n dropText: string\n selectText: string\n maxSizePrefix: string\n remove: string\n\n // Pickers\n selectDate: string\n selectTime: string\n selectRange: string\n pickStart: string\n pickEnd: string\n previousMonth: string\n nextMonth: string\n\n // Color picker\n selectColor: string\n colorHue: string\n colorSaturation: string\n colorBrightness: string\n colorAlpha: string\n colorEyedropper: string\n colorOriginal: string\n colorFormat: string\n colorRecent: string\n colorPresets: string\n\n // Scheduler\n dayView: string\n weekView: string\n allDay: string\n emojiSearch: string\n emojiNoResults: string\n emojiRecent: string\n emojiSkinTone: string\n emojiSkinTones: string\n emojiCategorySmileys: string\n emojiCategoryGestures: string\n emojiCategoryPeople: string\n emojiCategoryAnimals: string\n emojiCategoryNature: string\n emojiCategoryFood: string\n emojiCategoryActivities: string\n emojiCategoryTravel: string\n emojiCategoryObjects: string\n emojiCategorySymbols: string\n emojiCategoryFlags: string\n\n // Transfer list\n available: string\n selected: string\n noItems: string\n moveAllRight: string\n moveRight: string\n moveLeft: string\n moveAllLeft: string\n\n // Command palette / Spotlight\n searchCommand: string\n navigateHint: string\n selectHint: string\n openHint: string\n closeHint: string\n\n // Infinite scroll\n loadingMore: string\n noMoreItems: string\n\n // Rich text editor\n bold: string\n italic: string\n underline: string\n strikethrough: string\n highlight: string\n bulletList: string\n orderedList: string\n blockquote: string\n code: string\n alignLeft: string\n alignCenter: string\n alignRight: string\n undo: string\n redo: string\n link: string\n image: string\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n insertLink: string\n insertImage: string\n imageUrlLabel: string\n insert: string\n\n // JSON editor\n jsonValid: string\n jsonInvalid: string\n jsonFormat: string\n jsonMinify: string\n\n // JSON viewer\n jsonElements: string\n jsonFields: string\n\n // Result\n resultSuccessTitle: string\n resultSuccessDesc: string\n resultErrorTitle: string\n resultErrorDesc: string\n resultWarningTitle: string\n resultWarningDesc: string\n resultInfoTitle: string\n resultInfoDesc: string\n result404Title: string\n result404Desc: string\n result403Title: string\n result403Desc: string\n result500Title: string\n result500Desc: string\n\n // Chat bubble\n chatTyping: string\n chatRecordingAudio: string\n\n // Drag & drop list ({pos}/{total} are replaced at runtime)\n reorderHandle: string\n reorderGrabbed: string\n reorderMoved: string\n reorderDropped: string\n reorderCancelled: string\n\n // Transfer list (panes)\n selectAll: string\n clearSearch: string\n\n // Kanban ({column}/{pos}/{total} are replaced at runtime)\n kanbanMoved: string\n // MWindow title bar buttons\n windowMinimize: string\n windowMaximize: string\n windowRestore: string\n // MPagination ({from}/{to}/{total} and {page}/{pages} are replaced at runtime)\n paginationRange: string\n paginationPage: string\n previousPage: string\n nextPage: string\n carousel: string\n carouselItem: string\n}"},{"name":"WidthSizeClass","import":"@m3ui-vue/m3ui-vue","source":"/*\n * M3 window size classes, with the breakpoints from androidx `WindowSizeClass`\n * (window-core: WIDTH_DP_MEDIUM_LOWER_BOUND 600, EXPANDED 840, LARGE 1200, EXTRA_LARGE 1600;\n * HEIGHT_DP_MEDIUM_LOWER_BOUND 480, EXPANDED 900). CSS px stand in for dp.\n */\nexport type WidthSizeClass = 'compact' | 'medium' | 'expanded' | 'large' | 'extra-large'"},{"name":"HeightSizeClass","import":"@m3ui-vue/m3ui-vue","source":"export type HeightSizeClass = 'compact' | 'medium' | 'expanded'"},{"name":"WindowSizeClassInfo","import":"@m3ui-vue/m3ui-vue","source":"export interface WindowSizeClassInfo {\n width: Ref<number>\n height: Ref<number>\n widthClass: Ref<WidthSizeClass>\n heightClass: Ref<HeightSizeClass>\n}"},{"name":"Notification","import":"@m3ui-vue/m3ui-vue","source":"export interface Notification {\n id: number\n message: string\n variant: NotificationVariant\n duration: number\n loading?: boolean\n icon?: string | null // null = suppress icon entirely\n closable?: boolean\n action?: NotificationAction\n count: number // ≥ 2 → show badge\n}"},{"name":"NotificationVariant","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"NotificationPosition","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"NotificationOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface NotificationOptions {\n duration?: number\n loading?: boolean\n icon?: string | null\n closable?: boolean\n action?: NotificationAction\n}"},{"name":"EmojiCategory","import":"@m3ui-vue/m3ui-vue","source":"// Generated by scripts/generate-emoji-data.mjs from Unicode emoji-test.txt (Emoji 15). Don't edit by hand.\n\nexport interface EmojiCategory {\n id: string\n /** English name; MEmojiSelector shows the locale's (emojiCategory* keys). */\n label: string\n icon: string\n emojis: string[]\n}"}],"theme":{"colors":["primary","on-primary","primary-container","on-primary-container","secondary","on-secondary","secondary-container","on-secondary-container","tertiary","on-tertiary","tertiary-container","on-tertiary-container","primary-fixed","primary-fixed-dim","on-primary-fixed","on-primary-fixed-variant","secondary-fixed","secondary-fixed-dim","on-secondary-fixed","on-secondary-fixed-variant","tertiary-fixed","tertiary-fixed-dim","on-tertiary-fixed","on-tertiary-fixed-variant","error","on-error","error-container","on-error-container","success","on-success","success-container","on-success-container","background","on-background","surface","on-surface","surface-variant","on-surface-variant","surface-dim","surface-bright","surface-container-lowest","surface-container-low","surface-container","surface-container-high","surface-container-highest","outline","outline-variant","shadow","scrim","inverse-surface","inverse-on-surface","inverse-primary"],"text":["display-large","display-medium","display-small","headline-large","headline-medium","headline-small","title-large","title-medium","title-small","body-large","body-medium","body-small","label-large","label-medium","label-small","display-large-emphasized","display-medium-emphasized","display-small-emphasized","headline-large-emphasized","headline-medium-emphasized","headline-small-emphasized","title-large-emphasized","title-medium-emphasized","title-small-emphasized","body-large-emphasized","body-medium-emphasized","body-small-emphasized","label-large-emphasized","label-medium-emphasized","label-small-emphasized"],"radius":["xs","sm","md","lg","xl"],"shadow":["elevation-1","elevation-2","elevation-3","elevation-4","elevation-5"],"palettes":["purple","indigo","navy","blue","cyan","teal","green","lime","olive","amber","sand","orange","deep-orange","brown","red","coral","crimson","pink","violet","slate","graphite","charcoal","steel","ash","iron","fog","pewter","smoke","stone","zinc","monochrome","rust","gold","emerald","turquoise","cobalt","sapphire","amethyst","magenta","mauve"]},"locale":{"keys":["lang","search","noResults","close","cancel","confirm","loading","menu","previous","next","today","more","selectedCount","recordCount","expand","columns","exportCsv","noGroup","finish","dropText","selectText","maxSizePrefix","remove","selectDate","selectTime","selectRange","pickStart","pickEnd","previousMonth","nextMonth","selectColor","colorHue","colorSaturation","colorBrightness","colorAlpha","colorEyedropper","colorOriginal","colorFormat","colorRecent","colorPresets","dayView","weekView","allDay","emojiSearch","emojiNoResults","emojiRecent","emojiSkinTone","emojiSkinTones","emojiCategorySmileys","emojiCategoryGestures","emojiCategoryPeople","emojiCategoryAnimals","emojiCategoryNature","emojiCategoryFood","emojiCategoryActivities","emojiCategoryTravel","emojiCategoryObjects","emojiCategorySymbols","emojiCategoryFlags","available","selected","noItems","moveAllRight","moveRight","moveLeft","moveAllLeft","searchCommand","navigateHint","selectHint","openHint","closeHint","loadingMore","noMoreItems","bold","italic","underline","strikethrough","highlight","bulletList","orderedList","blockquote","code","alignLeft","alignCenter","alignRight","undo","redo","link","image","paragraph","heading1","heading2","heading3","insertLink","insertImage","imageUrlLabel","insert","jsonValid","jsonInvalid","jsonFormat","jsonMinify","jsonElements","jsonFields","resultSuccessTitle","resultSuccessDesc","resultErrorTitle","resultErrorDesc","resultWarningTitle","resultWarningDesc","resultInfoTitle","resultInfoDesc","result404Title","result404Desc","result403Title","result403Desc","result500Title","result500Desc","chatTyping","chatRecordingAudio","reorderHandle","reorderGrabbed","reorderMoved","reorderDropped","reorderCancelled","selectAll","clearSearch","kanbanMoved","windowMinimize","windowMaximize","windowRestore","paginationRange","paginationPage","previousPage","nextPage","carousel","carouselItem"],"presets":["esLocale","frLocale","ptLocale","deLocale","jaLocale","zhLocale","koLocale"]}}