@m3ui-vue/m3ui-vue 1.10.2 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/README.md +19 -4
  2. package/dist/API.md +195 -56
  3. package/dist/MButton-gWoOzFWf.js +284 -0
  4. package/dist/MButton-gWoOzFWf.js.map +1 -0
  5. package/dist/MColorPickerModal-CJYMvlgK.js +466 -0
  6. package/dist/MColorPickerModal-CJYMvlgK.js.map +1 -0
  7. package/dist/MDialog-CU8EYgCC.js +226 -0
  8. package/dist/MDialog-CU8EYgCC.js.map +1 -0
  9. package/dist/{MIcon-BSsJZhK7.js → MIcon-CkUc9kuQ.js} +10 -4
  10. package/dist/MIcon-CkUc9kuQ.js.map +1 -0
  11. package/dist/MIconButton-DTFOfsTy.js +317 -0
  12. package/dist/MIconButton-DTFOfsTy.js.map +1 -0
  13. package/dist/MListItem-Cdw2FqCT.js +1306 -0
  14. package/dist/MListItem-Cdw2FqCT.js.map +1 -0
  15. package/dist/MLoadingIndicator-BxAy2x7P.js +115 -0
  16. package/dist/MLoadingIndicator-BxAy2x7P.js.map +1 -0
  17. package/dist/{MMenuItem-US0Zbglq.js → MMenuItem-CEIKYvaX.js} +216 -214
  18. package/dist/MMenuItem-CEIKYvaX.js.map +1 -0
  19. package/dist/{MPdfViewer-DL9mRsd2.js → MPdfViewer-CEfyXGq2.js} +674 -671
  20. package/dist/MPdfViewer-CEfyXGq2.js.map +1 -0
  21. package/dist/MProgressBar-BzZMxq7M.js.map +1 -1
  22. package/dist/MSeekBar-B3_D-PwH.js +435 -0
  23. package/dist/MSeekBar-B3_D-PwH.js.map +1 -0
  24. package/dist/{MSegmentedButton-DMou-8sG.js → MSegmentedButton-Dg07j-4r.js} +4 -4
  25. package/dist/{MSegmentedButton-DMou-8sG.js.map → MSegmentedButton-Dg07j-4r.js.map} +1 -1
  26. package/dist/{MSignaturePad-WuvE_Cyl.js → MSignaturePad-3nddtLKI.js} +2 -2
  27. package/dist/{MSignaturePad-WuvE_Cyl.js.map → MSignaturePad-3nddtLKI.js.map} +1 -1
  28. package/dist/{MSlider-7TzhFHKS.js → MSlider-BrpLbqwt.js} +4 -4
  29. package/dist/{MSlider-7TzhFHKS.js.map → MSlider-BrpLbqwt.js.map} +1 -1
  30. package/dist/{MSpinner-CkIVBuGE.js → MSpinner-CLwzDH33.js} +2 -2
  31. package/dist/{MSpinner-CkIVBuGE.js.map → MSpinner-CLwzDH33.js.map} +1 -1
  32. package/dist/{MTextField-B6_iOczK.js → MTextField-CZRizAwA.js} +136 -134
  33. package/dist/MTextField-CZRizAwA.js.map +1 -0
  34. package/dist/{_useFieldValidation-COBJ1tWr.js → _useFieldValidation-DVcqyy9g.js} +2 -2
  35. package/dist/{_useFieldValidation-COBJ1tWr.js.map → _useFieldValidation-DVcqyy9g.js.map} +1 -1
  36. package/dist/api.json +1 -1
  37. package/dist/chart.js +1 -1
  38. package/dist/code-editor.js +3 -3
  39. package/dist/code-editor.js.map +1 -1
  40. package/dist/components/MAlert.vue.d.ts +1 -1
  41. package/dist/components/MAudioPlayer.vue.d.ts +3 -3
  42. package/dist/components/MAvatar.vue.d.ts +19 -1
  43. package/dist/components/MButton.vue.d.ts +2 -1
  44. package/dist/components/MChatBubble.vue.d.ts +2 -0
  45. package/dist/components/MCheckbox.vue.d.ts +2 -0
  46. package/dist/components/MDataTable.vue.d.ts +31 -3
  47. package/dist/components/MFlow.vue.d.ts +1 -1
  48. package/dist/components/MHotkeys.vue.d.ts +1 -0
  49. package/dist/components/MIcon.vue.d.ts +6 -0
  50. package/dist/components/MIconButton.vue.d.ts +5 -0
  51. package/dist/components/MKanban.vue.d.ts +1 -1
  52. package/dist/components/MLink.vue.d.ts +59 -0
  53. package/dist/components/MListItem.vue.d.ts +3 -1
  54. package/dist/components/MMapControl.vue.d.ts +1 -1
  55. package/dist/components/MNotificationCenter.vue.d.ts +1 -1
  56. package/dist/components/MNumberField.vue.d.ts +1 -1
  57. package/dist/components/MPagination.vue.d.ts +14 -1
  58. package/dist/components/MPdfSigner.vue.d.ts +2 -2
  59. package/dist/components/MRadio.vue.d.ts +2 -0
  60. package/dist/components/MRadioGroup.vue.d.ts +2 -0
  61. package/dist/components/MStatCard.vue.d.ts +2 -2
  62. package/dist/components/MSwitch.vue.d.ts +2 -0
  63. package/dist/components/MText.vue.d.ts +4 -2
  64. package/dist/components/MTextField.vue.d.ts +2 -0
  65. package/dist/components/_MDrawerItemList.vue.d.ts +6 -0
  66. package/dist/composables/_menuGroups.d.ts +10 -1
  67. package/dist/composables/_splitAttrs.d.ts +6 -0
  68. package/dist/composables/_springAnimation.d.ts +2 -2
  69. package/dist/composables/_useFocusTrap.d.ts +15 -0
  70. package/dist/composables/_usePaneResize.d.ts +1 -1
  71. package/dist/composables/_useSpring.d.ts +4 -4
  72. package/dist/composables/dynamicColor.d.ts +9 -1
  73. package/dist/composables/motion.d.ts +63 -0
  74. package/dist/composables/useConfirm.d.ts +28 -0
  75. package/dist/composables/useDevice.d.ts +8 -1
  76. package/dist/composables/useLocale.d.ts +14 -0
  77. package/dist/composables/useScrollReveal.d.ts +1 -1
  78. package/dist/composables/useTheme.d.ts +1 -0
  79. package/dist/composables/useToast.d.ts +7 -0
  80. package/dist/draw.js +556 -556
  81. package/dist/draw.js.map +1 -1
  82. package/dist/flow.js +854 -851
  83. package/dist/flow.js.map +1 -1
  84. package/dist/gantt.js +1118 -1096
  85. package/dist/gantt.js.map +1 -1
  86. package/dist/index.d.ts +8 -5
  87. package/dist/locales/index.d.ts +1 -0
  88. package/dist/locales/index.js +833 -1
  89. package/dist/locales/index.js.map +1 -1
  90. package/dist/locales/pl.d.ts +2 -0
  91. package/dist/m3ui-vue.css +1 -1
  92. package/dist/m3ui.js +10327 -9796
  93. package/dist/m3ui.js.map +1 -1
  94. package/dist/map.js +860 -860
  95. package/dist/map.js.map +1 -1
  96. package/dist/{material-color-utilities-CEFytLsr.js → material-color-utilities-BZsBNIhi.js} +276 -217
  97. package/dist/material-color-utilities-BZsBNIhi.js.map +1 -0
  98. package/dist/media.js +7 -7
  99. package/dist/{motion-BcejVTeX.js → motion-BqYcqcim.js} +15 -5
  100. package/dist/motion-BqYcqcim.js.map +1 -0
  101. package/dist/pdf-sign.js +140 -137
  102. package/dist/pdf-sign.js.map +1 -1
  103. package/dist/pdf.js +1 -1
  104. package/dist/plugin.d.ts +11 -0
  105. package/dist/rich-text-editor.js +7 -7
  106. package/dist/styles/theme.css +40 -0
  107. package/dist/styles.css +1 -1
  108. package/dist/terminal.js +1 -1
  109. package/dist/{useLocale-YRaOT12S.js → useLocale-BjcYauXr.js} +60 -4
  110. package/dist/useLocale-BjcYauXr.js.map +1 -0
  111. package/dist/{useThemeTokens-DyAdPQB0.js → useThemeTokens-D5nr5KHf.js} +28 -27
  112. package/dist/useThemeTokens-D5nr5KHf.js.map +1 -0
  113. package/package.json +17 -2
  114. package/src/__tests__/MAvatarImage.test.ts +37 -0
  115. package/src/__tests__/MDataTableControlled.test.ts +68 -0
  116. package/src/__tests__/MHotkeysSequence.test.ts +53 -0
  117. package/src/__tests__/MIconAxes.test.ts +16 -0
  118. package/src/__tests__/MIconButtonWidth.test.ts +22 -0
  119. package/src/__tests__/MLink.test.ts +46 -0
  120. package/src/__tests__/MPaginationPages.test.ts +43 -0
  121. package/src/__tests__/MTextEmphasized.test.ts +14 -0
  122. package/src/__tests__/controlDescription.test.ts +34 -0
  123. package/src/__tests__/customColor.test.ts +27 -0
  124. package/src/__tests__/dynamicColor.test.ts +3 -2
  125. package/src/__tests__/focusTrap.test.ts +124 -0
  126. package/src/__tests__/formatMessage.test.ts +20 -0
  127. package/src/__tests__/inputAttrs.test.ts +103 -0
  128. package/src/__tests__/localePresets.test.ts +2 -0
  129. package/src/__tests__/menuGroupsRemount.test.ts +40 -0
  130. package/src/__tests__/menuHydration.test.ts +41 -0
  131. package/src/__tests__/motionPrefs.test.ts +28 -0
  132. package/src/__tests__/ssr.test.ts +11 -0
  133. package/src/__tests__/ssrToast.test.ts +20 -0
  134. package/src/__tests__/toastDetails.test.ts +39 -0
  135. package/src/__tests__/useConfirm.test.ts +47 -0
  136. package/src/__tests__/useTheme.test.ts +14 -0
  137. package/src/__tests__/warningRole.test.ts +22 -0
  138. package/src/components/MAlert.vue +2 -2
  139. package/src/components/MAnimatedNumber.vue +9 -3
  140. package/src/components/MAutocomplete.vue +16 -4
  141. package/src/components/MAvailabilityCalendar.vue +3 -3
  142. package/src/components/MAvatar.vue +32 -5
  143. package/src/components/MAvatarGroup.vue +7 -2
  144. package/src/components/MBottomSheet.vue +18 -2
  145. package/src/components/MButton.vue +18 -5
  146. package/src/components/MCarousel.vue +3 -3
  147. package/src/components/MChatBubble.vue +14 -1
  148. package/src/components/MCheckbox.vue +21 -4
  149. package/src/components/MChip.vue +4 -2
  150. package/src/components/MCollapse.vue +7 -1
  151. package/src/components/MCommandPalette.vue +6 -2
  152. package/src/components/MContextMenu.vue +4 -4
  153. package/src/components/MCreditCardInput.vue +5 -0
  154. package/src/components/MDashboardGrid.vue +2 -1
  155. package/src/components/MDataTable.vue +63 -16
  156. package/src/components/MDialog.vue +21 -3
  157. package/src/components/MDiffViewer.vue +3 -3
  158. package/src/components/MDrawLayers.vue +3 -3
  159. package/src/components/MFabMenu.vue +7 -0
  160. package/src/components/MFloorPlan.vue +3 -3
  161. package/src/components/MFloorPlanInspector.vue +3 -3
  162. package/src/components/MFlow.vue +9 -5
  163. package/src/components/MFlowControls.vue +6 -0
  164. package/src/components/MFormBuilder.vue +1 -1
  165. package/src/components/MGantt.vue +10 -10
  166. package/src/components/MHotkeys.vue +61 -16
  167. package/src/components/MIcon.vue +17 -1
  168. package/src/components/MIconButton.vue +29 -6
  169. package/src/components/MImageCropper.vue +1 -1
  170. package/src/components/MKanban.vue +2 -1
  171. package/src/components/MLightbox.vue +5 -4
  172. package/src/components/MLink.vue +136 -0
  173. package/src/components/MListDetail.vue +7 -0
  174. package/src/components/MListItem.vue +7 -4
  175. package/src/components/MLoadingIndicator.vue +2 -1
  176. package/src/components/MMap.vue +3 -0
  177. package/src/components/MMapCluster.vue +2 -2
  178. package/src/components/MMapControl.vue +2 -2
  179. package/src/components/MMapMeasure.vue +1 -1
  180. package/src/components/MMaskField.vue +16 -3
  181. package/src/components/MMenu.vue +4 -4
  182. package/src/components/MMenuItem.vue +2 -2
  183. package/src/components/MMeterGroup.vue +3 -2
  184. package/src/components/MMortgageCalculator.vue +3 -3
  185. package/src/components/MMultiAutocomplete.vue +19 -7
  186. package/src/components/MMultiSelect.vue +19 -7
  187. package/src/components/MNavigationDrawer.vue +10 -3
  188. package/src/components/MNavigationRail.vue +5 -1
  189. package/src/components/MNotificationCenter.vue +2 -1
  190. package/src/components/MNotificationHost.vue +3 -3
  191. package/src/components/MNumberField.vue +23 -6
  192. package/src/components/MOdontogram.vue +4 -4
  193. package/src/components/MOrderBook.vue +4 -0
  194. package/src/components/MPagination.vue +91 -12
  195. package/src/components/MPdfSigner.vue +3 -3
  196. package/src/components/MPdfViewer.vue +7 -7
  197. package/src/components/MPhoneInput.vue +17 -4
  198. package/src/components/MProductConfigurator.vue +4 -4
  199. package/src/components/MProgressBar.vue +5 -0
  200. package/src/components/MQuiz.vue +8 -5
  201. package/src/components/MRadio.vue +24 -5
  202. package/src/components/MRadioGroup.vue +3 -0
  203. package/src/components/MReactions.vue +2 -2
  204. package/src/components/MResourceTimeline.vue +3 -3
  205. package/src/components/MResult.vue +1 -1
  206. package/src/components/MScrollField.vue +1 -1
  207. package/src/components/MSearchField.vue +6 -5
  208. package/src/components/MSeatMap.vue +5 -0
  209. package/src/components/MSeekBar.vue +3 -2
  210. package/src/components/MSelect.vue +16 -4
  211. package/src/components/MSideSheet.vue +25 -3
  212. package/src/components/MSimpleCarousel.vue +2 -2
  213. package/src/components/MSnackbar.vue +16 -13
  214. package/src/components/MSparkline.vue +2 -1
  215. package/src/components/MSpinner.vue +8 -0
  216. package/src/components/MSplitter.vue +1 -1
  217. package/src/components/MSpotlightSearch.vue +6 -2
  218. package/src/components/MSpreadsheet.vue +1 -1
  219. package/src/components/MStatCard.vue +2 -1
  220. package/src/components/MSwitch.vue +21 -4
  221. package/src/components/MTabs.vue +2 -1
  222. package/src/components/MTagInput.vue +19 -6
  223. package/src/components/MText.vue +23 -4
  224. package/src/components/MTextField.vue +25 -6
  225. package/src/components/MTimeline.vue +5 -5
  226. package/src/components/MToolbar.vue +2 -2
  227. package/src/components/MTour.vue +3 -0
  228. package/src/components/MTrackingTimeline.vue +6 -0
  229. package/src/components/MTypewriter.vue +7 -1
  230. package/src/components/MWindow.vue +10 -1
  231. package/src/components/_MColorPanel.vue +4 -4
  232. package/src/components/_MComment.vue +3 -2
  233. package/src/components/_MFlowNodeShell.vue +1 -1
  234. package/src/components/_MPdfPage.vue +1 -1
  235. package/src/components/_MTransferPane.vue +10 -0
  236. package/src/composables/_effectCanvas.ts +2 -1
  237. package/src/composables/_menuGroups.ts +10 -1
  238. package/src/composables/_splitAttrs.ts +29 -0
  239. package/src/composables/_springAnimation.ts +3 -3
  240. package/src/composables/_themeTransition.ts +3 -2
  241. package/src/composables/_useFocusTrap.ts +142 -0
  242. package/src/composables/_useMenuNav.ts +3 -3
  243. package/src/composables/_usePaneResize.ts +2 -1
  244. package/src/composables/_useSheetMotion.ts +3 -4
  245. package/src/composables/_useSpring.ts +16 -10
  246. package/src/composables/cron.ts +7 -6
  247. package/src/composables/dynamicColor.ts +21 -2
  248. package/src/composables/motion.ts +27 -0
  249. package/src/composables/useConfirm.ts +116 -0
  250. package/src/composables/useDevice.ts +23 -3
  251. package/src/composables/useFieldBg.ts +4 -0
  252. package/src/composables/useLocale.ts +74 -0
  253. package/src/composables/useNotification.ts +3 -0
  254. package/src/composables/useScrollReveal.ts +3 -3
  255. package/src/composables/useTheme.ts +8 -2
  256. package/src/composables/useToast.ts +27 -4
  257. package/src/directives/vSparkle.ts +2 -1
  258. package/src/index.ts +8 -5
  259. package/src/locales/ar.ts +7 -0
  260. package/src/locales/de.ts +7 -0
  261. package/src/locales/es.ts +7 -0
  262. package/src/locales/fr.ts +7 -0
  263. package/src/locales/index.ts +1 -0
  264. package/src/locales/ja.ts +7 -0
  265. package/src/locales/ko.ts +7 -0
  266. package/src/locales/pl.ts +807 -0
  267. package/src/locales/pt.ts +7 -0
  268. package/src/locales/zh.ts +7 -0
  269. package/src/plugin.ts +16 -0
  270. package/src/styles/theme.css +40 -0
  271. package/dist/MButton-B9RCM06i.js +0 -171
  272. package/dist/MButton-B9RCM06i.js.map +0 -1
  273. package/dist/MColorPickerModal-ChRtcZOo.js +0 -577
  274. package/dist/MColorPickerModal-ChRtcZOo.js.map +0 -1
  275. package/dist/MDialog-dk07tify.js +0 -167
  276. package/dist/MDialog-dk07tify.js.map +0 -1
  277. package/dist/MIcon-BSsJZhK7.js.map +0 -1
  278. package/dist/MIconButton-CrBPZidd.js +0 -288
  279. package/dist/MIconButton-CrBPZidd.js.map +0 -1
  280. package/dist/MListItem-h9H223vx.js +0 -1239
  281. package/dist/MListItem-h9H223vx.js.map +0 -1
  282. package/dist/MLoadingIndicator-YTV1Ov5w.js +0 -114
  283. package/dist/MLoadingIndicator-YTV1Ov5w.js.map +0 -1
  284. package/dist/MMenuItem-US0Zbglq.js.map +0 -1
  285. package/dist/MPdfViewer-DL9mRsd2.js.map +0 -1
  286. package/dist/MSeekBar-JFZcoJ8y.js +0 -434
  287. package/dist/MSeekBar-JFZcoJ8y.js.map +0 -1
  288. package/dist/MTextField-B6_iOczK.js.map +0 -1
  289. package/dist/material-color-utilities-CEFytLsr.js.map +0 -1
  290. package/dist/motion-BcejVTeX.js.map +0 -1
  291. package/dist/useLocale-YRaOT12S.js.map +0 -1
  292. package/dist/useThemeTokens-DyAdPQB0.js.map +0 -1
package/dist/API.md CHANGED
@@ -1,4 +1,4 @@
1
- # @m3ui-vue/m3ui-vue 1.10.2 — API reference
1
+ # @m3ui-vue/m3ui-vue 1.11.0 — API reference
2
2
 
3
3
  Material Design 3 components for Vue 3 + Tailwind CSS v4. Generated from the source by
4
4
  `scripts/generate-api.mjs`; full docs with live demos at https://m3ui.dev.
@@ -289,7 +289,7 @@ type MicError = 'denied' | 'unavailable' | 'unsupported' | 'failed'
289
289
 
290
290
  ### MAutocomplete
291
291
 
292
- Like MSelect but with a text input for filtering. Type to search, arrow keys to navigate, Enter to select.
292
+ Like MSelect but with a text input for filtering. Type to search, arrow keys to navigate, Enter to select. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `aria-*`, native listeners like `@keydown`) goes on the `<input>`.
293
293
 
294
294
  Props:
295
295
  - `modelValue: unknown` (v-model) — Selected value (v-model)
@@ -364,12 +364,18 @@ type DayState = 'start' | 'end' | 'range' | 'preview' | 'booked' | 'disabled' |
364
364
 
365
365
  ### MAvatar
366
366
 
367
- A circular initials avatar. There's no image-source prop — it always renders extracted initials or a fallback string, never a photo.
367
+ A circular avatar: a photo (`src`), an icon, or the initials of a name. A photo that fails to load falls back to the icon or the initials, so a broken URL never shows a broken image.
368
368
 
369
369
  Props:
370
370
  - `name?: string` — Full name — initials are extracted automatically (first + last). Takes priority over fallback
371
371
  - `fallback?: string` — Custom text shown when name is not provided (e.g. 'AJ'). Falls back to '?' if neither is set
372
372
  - `size?: number = 40` — Avatar size in px — also scales the font size proportionally (40%)
373
+ - `src?: string` — Photo URL. Shown instead of the initials; if it fails to load, the icon or initials show instead
374
+ - `alt?: string` — Alternative text for the photo. Defaults to `name`; an avatar without either is treated as decoration
375
+ - `icon?: string` — Material Symbol shown instead of the initials (e.g. `person`, `group`), when there's no photo
376
+
377
+ Slots:
378
+ - `#default` — Replaces the content (an image of your own, an SVG, a status glyph…), clipped to the circle
373
379
 
374
380
  ### MAvatarGroup
375
381
 
@@ -643,7 +649,7 @@ The standard M3 button — five variants, five expressive size tiers, and either
643
649
 
644
650
  Props:
645
651
  - `variant?: "filled" | "outlined" | "text" | "elevated" | "tonal" = "filled"` — Visual style of the button
646
- - `color?: string = "primary"` — 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.
652
+ - `color?: string = "primary"` — 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; its text is black or white by contrast for a hex color, white for any other form (set `contentColor` to choose).
647
653
  - `type?: "submit" | "button" | "reset" = "button"` — HTML button type
648
654
  - `disabled?: boolean = false` — Disables interaction
649
655
  - `loading?: boolean = false` — Shows a spinner and disables the button
@@ -969,6 +975,7 @@ Props:
969
975
  - `time?: string` — Timestamp string (e.g. "10:32")
970
976
  - `side?: "right" | "left" = "left"` — Left = received, right = sent
971
977
  - `avatar?: string` — Avatar name — shows an MAvatar with these initials (left-side only)
978
+ - `avatarSrc?: string` — Photo for the avatar (left-side only); the initials of `avatar` show while it's missing or broken
972
979
  - `status?: "sent" | "delivered" | "read"` — Message status icon next to the timestamp (right-side only)
973
980
  - `color?: "primary" | "secondary" | "tertiary" = "primary"` — Bubble color for sent (right-side) messages
974
981
  - `tail?: boolean = true` — Show the bubble tail (a sharper corner on the side nearest the sender)
@@ -981,13 +988,14 @@ Slots:
981
988
 
982
989
  ### MCheckbox
983
990
 
984
- A checkbox with checked, indeterminate, and disabled states, and 4 semantic color options.
991
+ A checkbox with checked, indeterminate, and disabled states, and 4 semantic color options. Your `class`, `style` and `data-*` go on the root `<label>`; every other attribute (`id`, `name`, `aria-*`, native listeners) goes on the native `<input>`.
985
992
 
986
993
  Props:
987
994
  - `modelValue: boolean` (v-model) — Checked state (v-model)
988
995
  - `indeterminate?: boolean = false` — Indeterminate state
989
996
  - `disabled?: boolean = false` — Disables the checkbox
990
997
  - `label?: string` — Label text — overridden by the default slot when present
998
+ - `description?: string` — Supporting text under the label (M3 list-style two-line control); screen readers read it as the description
991
999
  - `color?: "error" | "primary" | "secondary" | "tertiary" = "primary"` — Checked/indeterminate color
992
1000
  - `ariaLabel?: string` — Accessible name for the input when there's no visible label (e.g. a list row's checkbox).
993
1001
  - `error?: string | boolean` — Error state. A string is also the message
@@ -1470,7 +1478,12 @@ Props:
1470
1478
  - `rows: Record<string, any>[]` — Table data rows
1471
1479
  - `loading?: boolean = false` — Show skeleton loading state
1472
1480
  - `emptyText?: string` — Text when no rows (defaults to the locale string)
1473
- - `rowKey?: string = "id"` — Unique key field in each row
1481
+ - `rowKey?: string | ((row: Record<string, any>) => string | number) = "id"` — Unique key of each row: a field name, or a function of the row (e.g. a composite key)
1482
+ - `rowClass?: string | ((row: Record<string, any>, index: number) => string | string[] | Record<string, boolean>)` — Classes for a row: a string for every row, or a function of the row and its index on the page
1483
+ - `caption?: string` — The table's caption, for screen readers (visually hidden): what the table lists
1484
+ - `sort?: DataTableSort` (v-model:sort) — The sort (v-model:sort): pass it to control or persist it (URL, storage), leave it out and the table keeps its own
1485
+ - `expanded?: (string | number)[]` (v-model:expanded) — Keys of the expanded rows (v-model:expanded); the table keeps its own when left out
1486
+ - `hiddenColumns?: string[]` (v-model:hiddenColumns) — Keys of the hidden columns (v-model:hidden-columns), the ones unchecked in the column menu. Left out, the table keeps its own, starting from the columns marked `hidden`
1474
1487
  - `selectable?: boolean = false` — Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)
1475
1488
  - `checkboxes?: "hover" | "always" = "always"` — With selectable: `'always'` shows every row's checkbox; `'hover'` keeps them out of the way when selection is a secondary action (M3): a row's checkbox appears while the row is hovered or focused, and all of them once anything is selected. Without hover (touch screens) they always show.
1476
1489
  - `selectOnRowClick?: boolean = false` — With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click
@@ -1498,9 +1511,12 @@ Props:
1498
1511
 
1499
1512
  Events:
1500
1513
  - `update:modelValue(Record<string, any>[])` — Emitted when the selection changes — powers v-model
1514
+ - `update:expanded((string | number)[])` — Emitted with the open rows' keys when one is toggled — powers v-model:expanded
1501
1515
  - `update:page(number)` — Emitted when the page changes — powers v-model:page
1502
1516
  - `rowClick(Record<string, any>)` — Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it).
1503
1517
  - `fetch(DataTableFetchParams)` — Emitted instead of filtering locally when serverSide is true
1518
+ - `update:sort(DataTableSort)` — Emitted when a header click changes the sort — powers v-model:sort
1519
+ - `update:hiddenColumns(string[])` — Emitted when the column menu hides or shows one — powers v-model:hidden-columns
1504
1520
 
1505
1521
  Slots:
1506
1522
  - `#toolbar` — Extra content in the toolbar next to the search input (filters, buttons, etc.)
@@ -1519,6 +1535,7 @@ export interface DataTableColumn {
1519
1535
  minWidth?: string
1520
1536
  align?: 'left' | 'center' | 'right'
1521
1537
  pinned?: 'left' | 'right'
1538
+ /** Starts hidden; the column menu (`columnToggle`) can show it */
1522
1539
  hidden?: boolean
1523
1540
  }
1524
1541
  ```
@@ -1533,6 +1550,11 @@ export interface DataTableFetchParams {
1533
1550
  }
1534
1551
  ```
1535
1552
 
1553
+ ```ts
1554
+ /** The table's sort: a column key and its direction, or `null` for the rows' own order */
1555
+ export type DataTableSort = { key: string; dir: 'asc' | 'desc' } | null
1556
+ ```
1557
+
1536
1558
  ### MDatePicker
1537
1559
 
1538
1560
  An inline, dropdown-anchored calendar date picker with locale support and min/max range clamping.
@@ -1651,7 +1673,7 @@ export interface DateRange {
1651
1673
 
1652
1674
  ### MDialog
1653
1675
 
1654
- 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.
1676
+ The generic M3 modal shell — Escape, scroll lock, focus and Teleport are handled internally. Supports a centered card, a full-screen variant, and an optional icon that centers the title per spec. Focus follows the ARIA dialog pattern: on open it moves to an element with `autofocus` (or `data-autofocus`), else the first control that isn't the close button; Tab and Shift+Tab stay inside; closing returns focus to the element that opened it.
1655
1677
 
1656
1678
  Props:
1657
1679
  - `modelValue: boolean` (v-model) — Open/closed state (v-model)
@@ -2823,7 +2845,7 @@ Slots:
2823
2845
 
2824
2846
  ### MHotkeys
2825
2847
 
2826
- Registers global keyboard shortcuts for as long as it's mounted, with an optional on-screen overlay listing them grouped by category.
2848
+ Registers global keyboard shortcuts for as long as it's mounted, with an optional on-screen overlay listing them grouped by category. A binding is a combination (`mod+k`, `shift+/`) or a sequence of them separated by spaces (`g n`: g, then n within a second, as on GitHub or Gmail).
2827
2849
 
2828
2850
  Props:
2829
2851
  - `bindings: HotkeyBinding[]` — Array of key combos to register globally; see `HotkeyBinding`
@@ -2831,6 +2853,7 @@ Props:
2831
2853
 
2832
2854
  ```ts
2833
2855
  export interface HotkeyBinding {
2856
+ /** A combination (`mod+k`) or a sequence separated by spaces (`g n`, `mod+k mod+s`) */
2834
2857
  keys: string
2835
2858
  label: string
2836
2859
  handler: () => void
@@ -2849,6 +2872,9 @@ Props:
2849
2872
  - `filled?: boolean = false` — Filled glyph (the Material Symbols FILL axis), as M3 draws a selected icon
2850
2873
  - `label?: string` — What the icon means, when nothing next to it says so: makes it an image with this name instead of decoration
2851
2874
  - `mirror?: boolean` — Mirror the glyph in a right-to-left layout. By default, only the directional icons in `MIRRORED_ICONS` are
2875
+ - `weight?: number` — Stroke weight, the font's `wght` axis: 100 (thin) to 700 (bold); 400 is the default
2876
+ - `grade?: number` — Grade, the `GRAD` axis: -50 (lighter, for light icons on dark) to 200 (heavier, for emphasis); 0 is the default
2877
+ - `opticalSize?: number` — Optical size, the `opsz` axis (20–48): the stroke tuned for that size. Defaults to follow `size`
2852
2878
 
2853
2879
  ### MIconButton
2854
2880
 
@@ -2862,6 +2888,7 @@ Props:
2862
2888
  - `contentColor?: string` — Icon color over what the variant and `color` give: an M3 role (`on-surface`…) or any CSS color (`#000` on a white filled button). Disabled buttons and toggles keep their own
2863
2889
  - `shape?: "rounded" | "squared" = "rounded"` — Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)
2864
2890
  - `size?: number | "xs" | "sm" | "md" | "lg" | "xl" = "sm"` — M3's 5-tier icon button sizing (xs:32, sm:40, md:56, lg:96, xl:136), or a custom pixel value
2891
+ - `width?: "default" | "narrow" | "wide"` — M3 Expressive width option (IconButtonDefaults' IconButtonWidthOption): `narrow` and `wide` keep the height and change only the width (sm: 32 / 40 / 52px). Ignored with a numeric size
2865
2892
  - `iconSize?: number` — Icon size in px. Default the size tier's (or 55% of a custom pixel `size`)
2866
2893
  - `disabled?: boolean = false` — Disables interaction
2867
2894
  - `to?: string | Record<string, any>` — Vue Router destination — renders as RouterLink instead of button
@@ -3028,7 +3055,7 @@ export interface KanbanColumn {
3028
3055
  id: string | number
3029
3056
  title: string
3030
3057
  cards: KanbanCard[]
3031
- color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'
3058
+ color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'warning'
3032
3059
  /** Optional WIP limit: the header shows count/limit and turns error-colored when exceeded. */
3033
3060
  limit?: number
3034
3061
  }
@@ -3088,6 +3115,29 @@ export interface LightboxItem {
3088
3115
  }
3089
3116
  ```
3090
3117
 
3118
+ ### MLink
3119
+
3120
+ A text link. With `to` it's a vue-router `RouterLink` (or a plain `<a href>` in an app without vue-router); with `href`, always an `<a>`. Links to another site are detected: they get `rel="noopener noreferrer"`, open in a new tab (`newTab` decides), show the `open_in_new` icon and tell screen readers they open a new tab. `download` makes it a download link with its icon; `disabled` keeps the text but turns the link off.
3121
+
3122
+ Props:
3123
+ - `to?: ItemLink` — A vue-router location: a RouterLink with vue-router, an `<a href>` (string only) without it
3124
+ - `href?: string` — A plain URL, always rendered as `<a href>`
3125
+ - `external?: boolean` — Whether it leads to another site. Detected from the URL (an absolute `http(s)` URL on another host); set it to override. External links get `rel="noopener noreferrer"` and, by default, a new tab and the `open_in_new` icon
3126
+ - `newTab?: boolean` — Open in a new tab (`target="_blank"`, with `noopener`). Defaults to `true` for external links
3127
+ - `download?: string | boolean = false` — A file to download: `true`, or the file name to save it as. Shows the `download` icon
3128
+ - `icon?: string` — Leading Material Symbol
3129
+ - `trailingIcon?: string | false` — Trailing Material Symbol; `false` hides the automatic `open_in_new` / `download` one
3130
+ - `color?: "error" | "primary" | "secondary" | "tertiary" | "inherit" = "primary"` — Text color: a color role, or `inherit` to take the surrounding text's color
3131
+ - `underline?: "none" | "hover" | "always" = "always"` — `always` (default; links inside running text should be told apart by more than color), `hover`, or `none` for links that are already clearly links (a nav list, a footer)
3132
+ - `disabled?: boolean = false` — Shows the text dimmed and turns the link off (no navigation, out of the tab order)
3133
+ - `replace?: boolean = false` — With `to` and vue-router: replace the current history entry instead of adding one
3134
+
3135
+ Events:
3136
+ - `click(MouseEvent)` — The native click (not emitted while disabled)
3137
+
3138
+ Slots:
3139
+ - `#default` — The link text
3140
+
3091
3141
  ### MList
3092
3142
 
3093
3143
  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. MListGroup splits a list into groups (separate rounded runs in a segmented list). With `multi-select`, items are checked in M3's selection mode: a long press on an item (or a tap on its leading avatar or icon) enters it, then taps check and uncheck items, and a long press dragged across items checks them all. Unchecking the last one, or Escape, leaves it.
@@ -3160,8 +3210,9 @@ Props:
3160
3210
  - `icon?: string` — Leading Material Symbol icon
3161
3211
  - `leading?: ListItemLeading` — Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted
3162
3212
  - `avatarName?: string` — Name for the avatar (when leading='avatar')
3213
+ - `avatarSrc?: string` — Photo for the avatar (when leading='avatar'); the initials of `avatarName` show while it's missing or broken
3163
3214
  - `image?: string` — Image URL (when leading='image')
3164
- - `iconContainerColor?: "error" | "success" | "primary" | "secondary" | "tertiary"` — Icon container background color (when leading='icon-container')
3215
+ - `iconContainerColor?: "error" | "success" | "warning" | "primary" | "secondary" | "tertiary"` — Icon container background color (when leading='icon-container')
3165
3216
  - `trailingIcon?: string` — Trailing icon name
3166
3217
  - `trailingText?: string` — Trailing text label
3167
3218
  - `trailing?: ListItemTrailing` — Trailing element type — auto-resolves from trailingIcon/trailingText when omitted
@@ -3666,7 +3717,7 @@ Props:
3666
3717
 
3667
3718
  ### MMaskField
3668
3719
 
3669
- A text field with a formatting mask — built-in presets or a custom pattern where `#` stands for a digit.
3720
+ A text field with a formatting mask — built-in presets or a custom pattern where `#` stands for a digit. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `inputmode`, `enterkeyhint`, `maxlength`, `readonly`, `aria-*`, native listeners like `@keydown`) goes on the `<input>`.
3670
3721
 
3671
3722
  Props:
3672
3723
  - `modelValue: string` (v-model) — Masked value (v-model)
@@ -3927,7 +3978,7 @@ export interface MortgageInput {
3927
3978
 
3928
3979
  ### MMultiAutocomplete
3929
3980
 
3930
- Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip.
3981
+ Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `aria-*`, native listeners like `@keydown`) goes on the `<input>`.
3931
3982
 
3932
3983
  Props:
3933
3984
  - `modelValue: unknown[] = []` (v-model) — Selected values (v-model)
@@ -3964,7 +4015,7 @@ Exposed (template ref):
3964
4015
 
3965
4016
  ### MMultiSelect
3966
4017
 
3967
- Select multiple values with removable chips and an optional in-dropdown search.
4018
+ Select multiple values with removable chips and an optional in-dropdown search. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `aria-*`, native listeners like `@keydown`) goes on the trigger.
3968
4019
 
3969
4020
  Props:
3970
4021
  - `modelValue: unknown[] = []` (v-model) — Selected values (any type — v-model)
@@ -4186,13 +4237,13 @@ export interface InboxNotification {
4186
4237
  /** An image URL instead of the icon */
4187
4238
  avatar?: string
4188
4239
  /** The icon's color: a theme role */
4189
- color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'
4240
+ color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'warning'
4190
4241
  }
4191
4242
  ```
4192
4243
 
4193
4244
  ### MNumberField
4194
4245
 
4195
- A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.
4246
+ A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `inputmode`, `enterkeyhint`, `maxlength`, `readonly`, `aria-*`, native listeners like `@keydown`) goes on the `<input>`.
4196
4247
 
4197
4248
  Props:
4198
4249
  - `modelValue: number | null = null` (v-model) — Bound numeric value (v-model)
@@ -4206,7 +4257,7 @@ Props:
4206
4257
  - `rules?: ValidationRule | ValidationRule[]` — Validation rules: functions `(value, ctx) => true | 'message'` (may be async; see the built-in `required`, `email`, `minLength`…) or a Standard Schema (zod, valibot…). Checked in order; the first failure is shown
4207
4258
  - `validateOn?: ValidateOn` — When the rules are checked and shown: on leaving the field (default; live after that), while typing, or only on submit (`MForm`)
4208
4259
  - `validateDebounce?: number` — Wait this long (ms) after the value stops changing before re-checking (one request for an async rule, not one per key). Defaults to its `MForm`'s
4209
- - `name?: string` — The key of this field in its `MForm`'s values, errors and schema
4260
+ - `name?: string` — Native `name`; also the key of this field in its `MForm`'s values, errors and schema
4210
4261
  - `hint?: string` — Hint text
4211
4262
  - `disabled?: boolean` — Disables the field
4212
4263
  - `required?: boolean` — Marks as required — adds a red asterisk after the label
@@ -4386,15 +4437,19 @@ Props:
4386
4437
 
4387
4438
  ### MPagination
4388
4439
 
4389
- 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.
4440
+ Page navigation. By default previous/next buttons with an automatically computed range label; `variant="pages"` shows the page numbers instead (1 … 4 5 6 … 20), the current one highlighted. Its texts (“1–10 of 25”, “Page 1 of 3” and the buttons’ labels) come from the app’s locale.
4390
4441
 
4391
4442
  Props:
4392
4443
  - `page: number` (v-model:page) — Current page (1-based)
4393
4444
  - `perPage: number` — Items per page
4394
4445
  - `total: number` — Total number of items
4446
+ - `variant?: "pages" | "simple" = "simple"` — `simple`: range label + previous/next. `pages`: the page numbers between previous and next
4447
+ - `siblings?: number = 1` — With `pages`: how many pages show on each side of the current one before a gap (…)
4448
+ - `showFirstLast?: boolean = false` — Adds first-page and last-page buttons at the ends
4449
+ - `showRange?: boolean = false` — With `pages`: also show the range label (“1–10 of 25”)
4395
4450
 
4396
4451
  Events:
4397
- - `update:page(number)` — Emitted when the previous/next button is clicked — drive page with it for v-model-style two-way binding
4452
+ - `update:page(number)` — Emitted when a page button is clicked — drive page with it for v-model-style two-way binding
4398
4453
 
4399
4454
  ### MPasswordMeter
4400
4455
 
@@ -4434,7 +4489,7 @@ Exposed (template ref):
4434
4489
  - `save: (options?: SignPdfOptions | undefined) => Promise<Uint8Array<ArrayBufferLike>>` — The PDF with the filled fields written in (needs `pdf-lib`)
4435
4490
  - `next: () => void` — Scrolls to the next field to fill
4436
4491
  - `complete: boolean` — Whether every required field of this signer is filled
4437
- - `viewer: ({ $: ComponentInternalInstance; $data: {}; $props: { readonly src?: PdfSource | null | undefined; readonly title?: string | undefined; readonly page?: number | undefined; readonly zoom?: PdfZoom | undefined; readonly rotation?: number | undefined; readonly annotations?: PdfAnnotation[] | undefined; readonly annotate?: boolean | undefined; readonly tool?: PdfTool | undefined; readonly colors?: string[] | undefined; readonly inkWidths?: number[] | undefined; readonly author?: string | undefined; readonly sidebar?: "outline" | "thumbnails" | null | undefined; readonly toolbar?: boolean | undefined; readonly downloadable?: boolean | undefined; readonly fileName?: string | undefined; readonly password?: string | undefined; readonly workerSrc?: string | undefined; readonly minZoom?: number | undefined; readonly maxZoom?: number | undefined; readonly onError?: ((args_0: Error) => any) | undefined; readonly onLink?: ((args_0: { url?: string | undefined; page?: number | undefined; }) => any) | undefined; readonly "onUpdate:page"?: ((args_0: number) => any) | undefined; readonly "onUpdate:tool"?: ((args_0: PdfTool) => any) | undefined; readonly "onUpdate:zoom"?: ((args_0: PdfZoom) => any) | undefined; readonly "onUpdate:rotation"?: ((args_0: number) => any) | undefined; readonly "onUpdate:annotations"?: ((args_0: PdfAnnotation[]) => any) | undefined; readonly "onUpdate:sidebar"?: ((args_0: "outline" | "thumbnails" | null) => any) | undefined; readonly onLoaded?: ((args_0: PDFDocumentProxy) => any) | undefined; readonly "onAnnotation-click"?: ((args_0: PdfAnnotation) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; $attrs: Attrs; $refs: Data; $slots: Readonly<InternalSlots>; $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>, {}, {}, "", {}, any> | null; $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>, {}, {}, "", {}, any> | null; $host: Element | null; $emit: ((event: "error", args_0: Error) => void) & ((event: "link", args_0: { url?: string | undefined; page?: number | undefined; }) => void) & ((event: "update:page", args_0: number) => void) & ((event: "update:tool", args_0: PdfTool) => void) & ((event: "update:zoom", args_0: PdfZoom) => void) & ((event: "update:rotation", args_0: number) => void) & ((event: "update:annotations", args_0: PdfAnnotation[]) => void) & ((event: "update:sidebar", args_0: "outline" | "thumbnails" | null) => void) & ((event: "loaded", args_0: PDFDocumentProxy) => void) & ((event: "annotation-click", args_0: PdfAnnotation) => void); $el: any; $options: ComponentOptionsBase<ToResolvedProps<__VLS_Props, { error: (args_0: Error) => any; link: (args_0: { url?: string | undefined; page?: number | undefined; }) => any; "update:page": (args_0: number) => any; "update:tool": (args_0: PdfTool) => any; "update:zoom": (args_0: PdfZoom) => any; "update:rotation": (args_0: number) => any; "update:annotations": (args_0: PdfAnnotation[]) => any; "update:sidebar": (args_0: "outline" | "thumbnails" | null) => any; loaded: (args_0: PDFDocumentProxy) => any; "annotation-click": (args_0: PdfAnnotation) => any; }>, { pdf: PdfState; goToPage: (p: number) => void; setZoom: (z: PdfZoom) => void; search: (q: string) => void; undo: () => void; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { error: (args_0: Error) => any; link: (args_0: { url?: string | undefined; page?: number | undefined; }) => any; "update:page": (args_0: number) => any; "update:tool": (args_0: PdfTool) => any; "update:zoom": (args_0: PdfZoom) => any; "update:rotation": (args_0: number) => any; "update:annotations": (args_0: PdfAnnotation[]) => any; "update:sidebar": (args_0: "outline" | "thumbnails" | null) => any; loaded: (args_0: PDFDocumentProxy) => any; "annotation-click": (args_0: PdfAnnotation) => any; }, string, { src: PdfSource | null; colors: string[]; page: number; minZoom: number; maxZoom: number; tool: PdfTool; zoom: PdfZoom; rotation: number; annotations: PdfAnnotation[]; annotate: boolean; inkWidths: number[]; sidebar: "outline" | "thumbnails" | null; toolbar: boolean; downloadable: boolean; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & MergedComponentOptionsOverride; $forceUpdate: () => void; $nextTick: { (): Promise<void>; <T, R>(this: T, fn: (this: T) => R | Promise<R>): Promise<R>; }; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: OnCleanup) => any : (args_0: any, args_1: any, args_2: OnCleanup) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle; } & Readonly<{ src: PdfSource | null; colors: string[]; page: number; minZoom: number; maxZoom: number; tool: PdfTool; zoom: PdfZoom; rotation: number; annotations: PdfAnnotation[]; annotate: boolean; inkWidths: number[]; sidebar: "outline" | "thumbnails" | null; toolbar: boolean; downloadable: boolean; }> & Omit<Readonly<__VLS_Props> & Readonly<{ onError?: ((args_0: Error) => any) | undefined; onLink?: ((args_0: { url?: string | undefined; page?: number | undefined; }) => any) | undefined; "onUpdate:page"?: ((args_0: number) => any) | undefined; "onUpdate:tool"?: ((args_0: PdfTool) => any) | undefined; "onUpdate:zoom"?: ((args_0: PdfZoom) => any) | undefined; "onUpdate:rotation"?: ((args_0: number) => any) | undefined; "onUpdate:annotations"?: ((args_0: PdfAnnotation[]) => any) | undefined; "onUpdate:sidebar"?: ((args_0: "outline" | "thumbnails" | null) => any) | undefined; onLoaded?: ((args_0: PDFDocumentProxy) => any) | undefined; "onAnnotation-click"?: ((args_0: PdfAnnotation) => any) | undefined; }>, "search" | "undo" | "pdf" | "goToPage" | "setZoom" | DefaultKeys<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, { src: null; page: undefined; zoom: string; rotation: number; annotations: () => never[]; annotate: boolean; tool: string; colors: () => string[]; inkWidths: () => number[]; sidebar: null; toolbar: boolean; downloadable: boolean; minZoom: number; maxZoom: number; }>>> & { pdf: PdfState; goToPage: (p: number) => void; setZoom: (z: PdfZoom) => void; search: (q: string) => void; undo: () => void; } & ExtractComputedReturns<{}> & ComponentCustomProperties & {} & { $slots: __VLS_Slots; }) | undefined` — The viewer underneath (zoom, pages, search)
4492
+ - `viewer: ({ $: ComponentInternalInstance; $data: {}; $props: { readonly src?: PdfSource | null | undefined; readonly title?: string | undefined; readonly page?: number | undefined; readonly zoom?: PdfZoom | undefined; readonly rotation?: number | undefined; readonly annotations?: PdfAnnotation[] | undefined; readonly annotate?: boolean | undefined; readonly tool?: PdfTool | undefined; readonly colors?: string[] | undefined; readonly inkWidths?: number[] | undefined; readonly author?: string | undefined; readonly sidebar?: "outline" | "thumbnails" | null | undefined; readonly toolbar?: boolean | undefined; readonly downloadable?: boolean | undefined; readonly fileName?: string | undefined; readonly password?: string | undefined; readonly workerSrc?: string | undefined; readonly minZoom?: number | undefined; readonly maxZoom?: number | undefined; readonly onError?: ((args_0: Error) => any) | undefined; readonly onLink?: ((args_0: { url?: string | undefined; page?: number | undefined; }) => any) | undefined; readonly "onUpdate:page"?: ((args_0: number) => any) | undefined; readonly "onUpdate:tool"?: ((args_0: PdfTool) => any) | undefined; readonly "onUpdate:zoom"?: ((args_0: PdfZoom) => any) | undefined; readonly "onUpdate:rotation"?: ((args_0: number) => any) | undefined; readonly "onUpdate:annotations"?: ((args_0: PdfAnnotation[]) => any) | undefined; readonly "onUpdate:sidebar"?: ((args_0: "outline" | "thumbnails" | null) => any) | undefined; readonly onLoaded?: ((args_0: PDFDocumentProxy) => any) | undefined; readonly "onAnnotation-click"?: ((args_0: PdfAnnotation) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; $attrs: Attrs; $refs: Data; $slots: Readonly<InternalSlots>; $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>, {}, {}, "", {}, any> | null; $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>, {}, {}, "", {}, any> | null; $host: Element | null; $emit: ((event: "error", args_0: Error) => void) & ((event: "link", args_0: { url?: string | undefined; page?: number | undefined; }) => void) & ((event: "update:page", args_0: number) => void) & ((event: "update:tool", args_0: PdfTool) => void) & ((event: "update:zoom", args_0: PdfZoom) => void) & ((event: "update:rotation", args_0: number) => void) & ((event: "update:annotations", args_0: PdfAnnotation[]) => void) & ((event: "update:sidebar", args_0: "outline" | "thumbnails" | null) => void) & ((event: "loaded", args_0: PDFDocumentProxy) => void) & ((event: "annotation-click", args_0: PdfAnnotation) => void); $el: any; $options: ComponentOptionsBase<ToResolvedProps<__VLS_Props, { error: (args_0: Error) => any; link: (args_0: { url?: string | undefined; page?: number | undefined; }) => any; "update:page": (args_0: number) => any; "update:tool": (args_0: PdfTool) => any; "update:zoom": (args_0: PdfZoom) => any; "update:rotation": (args_0: number) => any; "update:annotations": (args_0: PdfAnnotation[]) => any; "update:sidebar": (args_0: "outline" | "thumbnails" | null) => any; loaded: (args_0: PDFDocumentProxy) => any; "annotation-click": (args_0: PdfAnnotation) => any; }>, { pdf: PdfState; goToPage: (p: number) => void; setZoom: (z: PdfZoom) => void; search: (q: string) => void; undo: () => void; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { error: (args_0: Error) => any; link: (args_0: { url?: string | undefined; page?: number | undefined; }) => any; "update:page": (args_0: number) => any; "update:tool": (args_0: PdfTool) => any; "update:zoom": (args_0: PdfZoom) => any; "update:rotation": (args_0: number) => any; "update:annotations": (args_0: PdfAnnotation[]) => any; "update:sidebar": (args_0: "outline" | "thumbnails" | null) => any; loaded: (args_0: PDFDocumentProxy) => any; "annotation-click": (args_0: PdfAnnotation) => any; }, string, { src: PdfSource | null; colors: string[]; page: number; minZoom: number; maxZoom: number; tool: PdfTool; zoom: PdfZoom; rotation: number; annotations: PdfAnnotation[]; annotate: boolean; inkWidths: number[]; sidebar: "outline" | "thumbnails" | null; toolbar: boolean; downloadable: boolean; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & MergedComponentOptionsOverride; $forceUpdate: () => void; $nextTick: { (): Promise<void>; <T, R>(this: T, fn: (this: T) => R | Promise<R>): Promise<R>; }; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: OnCleanup) => any : (args_0: any, args_1: any, args_2: OnCleanup) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle; } & Readonly<{ src: PdfSource | null; colors: string[]; page: number; minZoom: number; maxZoom: number; tool: PdfTool; zoom: PdfZoom; rotation: number; annotations: PdfAnnotation[]; annotate: boolean; inkWidths: number[]; sidebar: "outline" | "thumbnails" | null; toolbar: boolean; downloadable: boolean; }> & Omit<Readonly<__VLS_Props> & Readonly<{ onError?: ((args_0: Error) => any) | undefined; onLink?: ((args_0: { url?: string | undefined; page?: number | undefined; }) => any) | undefined; "onUpdate:page"?: ((args_0: number) => any) | undefined; "onUpdate:tool"?: ((args_0: PdfTool) => any) | undefined; "onUpdate:zoom"?: ((args_0: PdfZoom) => any) | undefined; "onUpdate:rotation"?: ((args_0: number) => any) | undefined; "onUpdate:annotations"?: ((args_0: PdfAnnotation[]) => any) | undefined; "onUpdate:sidebar"?: ((args_0: "outline" | "thumbnails" | null) => any) | undefined; onLoaded?: ((args_0: PDFDocumentProxy) => any) | undefined; "onAnnotation-click"?: ((args_0: PdfAnnotation) => any) | undefined; }>, "search" | "undo" | "goToPage" | "pdf" | "setZoom" | DefaultKeys<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, { src: null; page: undefined; zoom: string; rotation: number; annotations: () => never[]; annotate: boolean; tool: string; colors: () => string[]; inkWidths: () => number[]; sidebar: null; toolbar: boolean; downloadable: boolean; minZoom: number; maxZoom: number; }>>> & { pdf: PdfState; goToPage: (p: number) => void; setZoom: (z: PdfZoom) => void; search: (q: string) => void; undo: () => void; } & ExtractComputedReturns<{}> & ComponentCustomProperties & {} & { $slots: __VLS_Slots; }) | undefined` — The viewer underneath (zoom, pages, search)
4438
4493
 
4439
4494
  ### MPdfViewer
4440
4495
 
@@ -4524,7 +4579,7 @@ export type PdfZoom = number | 'fit-width' | 'fit-page'
4524
4579
 
4525
4580
  ### MPhoneInput
4526
4581
 
4527
- MPhoneInput — a phone number field with a country selector: flag, calling code and a searchable list of every country (names from `Intl` in the app's language). The number is formatted as it's typed with the country's mask (Argentina's mobiles with the 9 too) and bound as E.164 (`+541123456789`), ready for an API or an SMS provider. Pasting or typing a full international number (`+34...`, `0034...`) switches the country. Without a `country`, it starts on the region of the app's locale (es-AR → Argentina). Filled or outlined, like MTextField.
4582
+ MPhoneInput — a phone number field with a country selector: flag, calling code and a searchable list of every country (names from `Intl` in the app's language). The number is formatted as it's typed with the country's mask (Argentina's mobiles with the 9 too) and bound as E.164 (`+541123456789`), ready for an API or an SMS provider. Pasting or typing a full international number (`+34...`, `0034...`) switches the country. Without a `country`, it starts on the region of the app's locale (es-AR → Argentina). Filled or outlined, like MTextField. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `inputmode`, `enterkeyhint`, `maxlength`, `readonly`, `aria-*`, native listeners like `@keydown`) goes on the `<input>`.
4528
4583
 
4529
4584
  Props:
4530
4585
  - `modelValue?: string | null = null` (v-model) — The number in E.164 (`+541123456789`), or null (v-model)
@@ -4609,7 +4664,7 @@ Props:
4609
4664
  - `max?: number` — Largest amount accepted; keys that would pass it are ignored
4610
4665
  - `maxLength?: number` — Most digits accepted (a PIN's length, for one). With `pin` mode, filling it emits `submit` on its own
4611
4666
  - `quickAmounts?: number[]` — Chips above the keys with preset amounts
4612
- - `quickMode?: "add" | "set" = "set"` — Whether a quick amount replaces the value or adds to it
4667
+ - `quickMode?: "set" | "add" = "set"` — Whether a quick amount replaces the value or adds to it
4613
4668
  - `due?: number` — Amount due: shows the remaining amount under the value, or the change once it's covered
4614
4669
  - `actionLabel?: string` — Label of the submit button. Without it (and without the `action` slot) there is no button
4615
4670
  - `actionIcon?: string` — Material Symbol on the submit button
@@ -4860,12 +4915,13 @@ export interface QuizResult {
4860
4915
 
4861
4916
  ### MRadio
4862
4917
 
4863
- 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.
4918
+ 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. Your `class`, `style` and `data-*` go on the root `<label>`; every other attribute (`id`, `name`, `aria-*`, native listeners) goes on the native `<input>`.
4864
4919
 
4865
4920
  Props:
4866
4921
  - `modelValue: unknown` (v-model) — The group's current value (v-model); share one ref between the radios of a group.
4867
4922
  - `value: unknown` — The value this radio stands for; selecting it sets the v-model to it.
4868
4923
  - `label?: string` — Text next to the radio. Clicking it selects the radio too.
4924
+ - `description?: string` — Supporting text under the label (M3 list-style two-line control); screen readers read it as the description
4869
4925
  - `disabled?: boolean = false` — Grays the radio out and ignores clicks.
4870
4926
  - `color?: "error" | "primary" | "secondary" | "tertiary" = "primary"` — Color role of the selected radio.
4871
4927
 
@@ -4903,6 +4959,8 @@ Exposed (template ref):
4903
4959
  interface Option {
4904
4960
  label: string
4905
4961
  value: unknown
4962
+ /** Supporting text under the option's label */
4963
+ description?: string
4906
4964
  disabled?: boolean
4907
4965
  }
4908
4966
  ```
@@ -5540,7 +5598,7 @@ export interface SegmentedOption<V extends string | number = string | number> {
5540
5598
 
5541
5599
  ### MSelect
5542
5600
 
5543
- A single-value dropdown select, docked or as a modal dialog on smaller screens.
5601
+ A single-value dropdown select, docked or as a modal dialog on smaller screens. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `aria-*`, native listeners like `@keydown`) goes on the `role="combobox"` trigger.
5544
5602
 
5545
5603
  Props:
5546
5604
  - `modelValue: unknown` (v-model) — Selected value (any type — v-model)
@@ -5997,7 +6055,7 @@ Props:
5997
6055
  - `icon?: string` — Material Symbol icon shown in a colored container on the right
5998
6056
  - `trend?: number` — Percentage change — positive shows green/up, negative red/down, zero neutral/flat
5999
6057
  - `trendLabel?: string` — Text next to the trend indicator (e.g. "vs last month")
6000
- - `color?: "error" | "success" | "primary" | "secondary" | "tertiary" = "primary"` — Icon container color
6058
+ - `color?: "error" | "success" | "warning" | "primary" | "secondary" | "tertiary" = "primary"` — Icon container color
6001
6059
  - `loading?: boolean` — Show a skeleton placeholder instead of the value
6002
6060
 
6003
6061
  Slots:
@@ -6043,7 +6101,7 @@ Secondary text component with muted color by default — a thin wrapper around `
6043
6101
 
6044
6102
  Props:
6045
6103
  - `size?: "small" | "medium" | "large" = "large"` — Subtitle size (maps to body-large/medium/small)
6046
- - `color?: "error" | "primary" | "secondary" | "tertiary" | "on-surface" | "on-surface-variant" | "inherit" = "on-surface-variant"` — Text color
6104
+ - `color?: "error" | "primary" | "secondary" | "tertiary" | "inherit" | "on-surface" | "on-surface-variant" = "on-surface-variant"` — Text color
6047
6105
  - `align?: "right" | "left" | "center"` — Text alignment
6048
6106
  - `truncate?: boolean` — Truncate text with ellipsis on overflow
6049
6107
 
@@ -6104,12 +6162,13 @@ export type SwipeToDismissValue = 'settled' | 'start-to-end' | 'end-to-start'
6104
6162
 
6105
6163
  ### MSwitch
6106
6164
 
6107
- A toggle switch with an optional label, 4 semantic colors, and both M3 icon variants. Click it, or drag the thumb across: on release it settles to the side it's closer to (or the side it was flung toward).
6165
+ A toggle switch with an optional label, 4 semantic colors, and both M3 icon variants. Click it, or drag the thumb across: on release it settles to the side it's closer to (or the side it was flung toward). Your `class`, `style` and `data-*` go on the root `<label>`; every other attribute (`id`, `name`, `aria-*`, native listeners) goes on the native `<input>`.
6108
6166
 
6109
6167
  Props:
6110
6168
  - `modelValue: boolean` (v-model) — Toggle state (v-model)
6111
6169
  - `disabled?: boolean = false` — Disables the switch
6112
6170
  - `label?: string` — Label text
6171
+ - `description?: string` — Supporting text under the label (M3 list-style two-line control); screen readers read it as the description
6113
6172
  - `color?: "error" | "primary" | "secondary" | "tertiary" = "primary"` — Track/thumb color when on
6114
6173
  - `icon?: boolean = true` — Shows a check icon in the thumb while on. Set to `false` for M3's plain switch without an icon.
6115
6174
  - `error?: string | boolean` — Error state. A string is also the message
@@ -6161,16 +6220,6 @@ Slots:
6161
6220
  - `#empty` — Custom empty-state content, replaces the default icon + text
6162
6221
  - `#row-actions { row: Record<string, any>; }` — Per-row action buttons — rendering this slot adds a trailing actions column
6163
6222
 
6164
- ```ts
6165
- export interface TableFetchParams {
6166
- page: number
6167
- perPage: number
6168
- search: string
6169
- sortKey: string
6170
- sortDir: 'asc' | 'desc' | ''
6171
- }
6172
- ```
6173
-
6174
6223
  ```ts
6175
6224
  export interface TableColumn {
6176
6225
  key: string
@@ -6181,6 +6230,16 @@ export interface TableColumn {
6181
6230
  }
6182
6231
  ```
6183
6232
 
6233
+ ```ts
6234
+ export interface TableFetchParams {
6235
+ page: number
6236
+ perPage: number
6237
+ search: string
6238
+ sortKey: string
6239
+ sortDir: 'asc' | 'desc' | ''
6240
+ }
6241
+ ```
6242
+
6184
6243
  ### MTabs
6185
6244
 
6186
6245
  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.
@@ -6206,7 +6265,7 @@ interface Tab {
6206
6265
 
6207
6266
  ### MTagInput
6208
6267
 
6209
- Type and press Enter or comma to add a free-form tag. Backspace on an empty input removes the last tag.
6268
+ Type and press Enter or comma to add a free-form tag. Backspace on an empty input removes the last tag. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `inputmode`, `enterkeyhint`, `maxlength`, `readonly`, `aria-*`, native listeners like `@keydown`) goes on the `<input>`.
6210
6269
 
6211
6270
  Props:
6212
6271
  - `modelValue: string[] = []` (v-model) — Array of tags (v-model)
@@ -6267,12 +6326,12 @@ Exposed (template ref):
6267
6326
 
6268
6327
  ### MText
6269
6328
 
6270
- Renders any of the 15 Material 3 typography variants, with an auto-selected semantic HTML tag.
6329
+ Renders any of the 15 Material 3 typography variants (or their 15 M3 Expressive `-emphasized` twins), with an auto-selected semantic HTML tag.
6271
6330
 
6272
6331
  Props:
6273
- - `variant?: TextVariant = "body-medium"` — Typography variant from the Material 3 type scale
6332
+ - `variant?: TextVariant = "body-medium"` — Typography variant from the Material 3 type scale; add `-emphasized` for the M3 Expressive heavier twin
6274
6333
  - `tag?: string` — HTML tag to render (auto-selected based on variant — h1/h2/h3 for display/headline, p for title/body, span for label)
6275
- - `color?: "error" | "primary" | "secondary" | "tertiary" | "on-surface" | "on-surface-variant" | "inherit" = "inherit"` — Text color
6334
+ - `color?: "error" | "primary" | "secondary" | "tertiary" | "inherit" | "on-surface" | "on-surface-variant" = "inherit"` — Text color
6276
6335
  - `align?: "right" | "left" | "center" = "left"` — Text alignment
6277
6336
  - `truncate?: boolean` — Truncate text with ellipsis on overflow
6278
6337
  - `lines?: 1 | 2 | 3 | 4 | 5 | 6` — Clamp text to a specific number of lines
@@ -6282,21 +6341,18 @@ Slots:
6282
6341
  - `#default` — The text.
6283
6342
 
6284
6343
  ```ts
6285
- export type TextVariant =
6286
- | 'display-large' | 'display-medium' | 'display-small'
6287
- | 'headline-large' | 'headline-medium' | 'headline-small'
6288
- | 'title-large' | 'title-medium' | 'title-small'
6289
- | 'body-large' | 'body-medium' | 'body-small'
6290
- | 'label-large' | 'label-medium' | 'label-small'
6344
+ /** A type-scale style, or its M3 Expressive emphasized twin (same size and tracking, heavier) */
6345
+ export type TextVariant = BaseTextVariant | `${BaseTextVariant}-emphasized`
6291
6346
  ```
6292
6347
 
6293
6348
  ### MTextField
6294
6349
 
6295
- The standard single- or multi-line text input, filled or outlined, with floating label.
6350
+ The standard single- or multi-line text input, filled or outlined, with floating label. Your `class`, `style` and `data-*` go on the field's box; every other attribute (`id`, `inputmode`, `enterkeyhint`, `maxlength`, `pattern`, `readonly`, `aria-*`, native listeners like `@keydown`) goes on the `<input>` (or `<textarea>`).
6296
6351
 
6297
6352
  Props:
6298
6353
  - `modelValue: string | number` (v-model) — Bound value (v-model)
6299
6354
  - `label: string` — Field label
6355
+ - `placeholder?: string` — Placeholder, shown while the field is focused and empty (the label sits above it then, as in M3)
6300
6356
  - `type?: string = "text"` — HTML input type
6301
6357
  - `variant?: "filled" | "outlined" = "filled"` — Visual style
6302
6358
  - `error?: string | boolean` — Puts the field in error state (red border and label). A string is also the message, so a validation library's error plugs straight in: `:error="errors.email"`
@@ -6524,7 +6580,7 @@ Semantic heading component in three sizes — a thin wrapper around `MText` at m
6524
6580
 
6525
6581
  Props:
6526
6582
  - `size?: "small" | "medium" | "large" = "large"` — Title size (maps to headline-large/medium/small)
6527
- - `color?: "error" | "primary" | "secondary" | "tertiary" | "on-surface" | "on-surface-variant" | "inherit" = "inherit"` — Text color
6583
+ - `color?: "error" | "primary" | "secondary" | "tertiary" | "inherit" | "on-surface" | "on-surface-variant" = "inherit"` — Text color
6528
6584
  - `align?: "right" | "left" | "center"` — Text alignment
6529
6585
  - `truncate?: boolean` — Truncate text with ellipsis on overflow
6530
6586
 
@@ -7813,6 +7869,7 @@ createM3UI(options: M3UIOptions = {}): {
7813
7869
  ```ts
7814
7870
  useTheme(): {
7815
7871
  theme: Ref<Theme>
7872
+ isDark: ComputedRef<boolean>
7816
7873
  cycle: () => void
7817
7874
  }
7818
7875
  ```
@@ -7954,7 +8011,7 @@ schemeToCss(scheme: GeneratedScheme, id: string): string
7954
8011
 
7955
8012
  ### schemeRoles
7956
8013
 
7957
- The `--color-*` roles a generated scheme sets. `success*` is a library extension and stays as themed.
8014
+ The `--color-*` roles a generated scheme sets from M3's dynamic colors. The library's status extensions (`success*`, `warning*`) are added on top, harmonized with the seed (see `statusColors`).
7958
8015
 
7959
8016
  ```ts
7960
8017
  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"]
@@ -7982,6 +8039,7 @@ seedFromPixels(rgba: ArrayLike<number>): Promise<string>
7982
8039
  useToast(): {
7983
8040
  toasts: Ref<Toast[]>
7984
8041
  position: Ref<ToastPosition>
8042
+ max: Ref<number>
7985
8043
  show: (message: string, variant: ToastVariant = 'info', options: number | ToastOptions = {}) => number
7986
8044
  success: (msg: string, opts?: ToastOptions) => number
7987
8045
  error: (msg: string, opts?: ToastOptions) => number
@@ -7993,6 +8051,16 @@ useToast(): {
7993
8051
  }
7994
8052
  ```
7995
8053
 
8054
+ ### useConfirm
8055
+
8056
+ Promise-based confirmation dialogs, without placing a dialog or wiring a v-model: `if (await confirm({…})) …`
8057
+
8058
+ ```ts
8059
+ useConfirm(): {
8060
+ confirm: (options: ConfirmOptions) => Promise<boolean>
8061
+ }
8062
+ ```
8063
+
7996
8064
  ### useUndo
7997
8065
 
7998
8066
  Undo and redo for your app's actions, with M3's "Undo" snackbar after each one (Gmail's "Conversation archived · Undo"). `run()` does an action and remembers how to revert it; `undo()`/`redo()` walk the history, also from the keyboard. With `commit`, an action can wait to become final until its snackbar is gone.
@@ -8030,12 +8098,20 @@ useLocale(): M3Locale
8030
8098
  defaultLocale: M3Locale
8031
8099
  ```
8032
8100
 
8101
+ ### formatMessage
8102
+
8103
+ Fills a locale string's placeholders: `{name}` takes `vars.name`, and a plural block `{count, plural, one {# file} few {# files} other {# files}}` picks the form `Intl.PluralRules` gives for `lang` (`zero`, `one`, `two`, `few`, `many`, `other`, or an exact `=0`), with `#` standing for the number. Strings without a plural block work as before, so a locale only needs them where its grammar does (Polish, Arabic…).
8104
+
8105
+ ```ts
8106
+ formatMessage(template: string, vars: Record<string, string | number> = {}, lang = 'en'): string
8107
+ ```
8108
+
8033
8109
  ### useDevice
8034
8110
 
8111
+ `isMobile`: whether the window is narrower than 768px, kept up to date on resize. In the browser it's right from the first render. Server-side rendering with `createM3UI({ initialState: { viewport } })` (the viewport cookie the Nuxt module keeps) renders and hydrates with the size the server was given, then follows the window; without a viewport the server renders the desktop markup (`false`).
8112
+
8035
8113
  ```ts
8036
- useDevice(): {
8037
- isMobile: Ref<boolean>
8038
- }
8114
+ useDevice(): { isMobile: Readonly<Ref<boolean>>; }
8039
8115
  ```
8040
8116
 
8041
8117
  ### useAutoGrow
@@ -8326,6 +8402,22 @@ A cubic-bezier easing as a function of progress (0–1), e.g. `cubicBezier(...mo
8326
8402
  cubicBezier(x1: number, y1: number, x2: number, y2: number): (t: number) => number
8327
8403
  ```
8328
8404
 
8405
+ ### getMotionScheme
8406
+
8407
+ The app's motion scheme, from `createM3UI({ motionScheme })` (or `data-m3-motion-scheme` on `<html>`, which a server-rendered page can set itself). Components that follow the scheme read it when an animation starts.
8408
+
8409
+ ```ts
8410
+ getMotionScheme(): MotionScheme
8411
+ ```
8412
+
8413
+ ### shouldReduceMotion
8414
+
8415
+ Whether to cut animations down: the user's "reduce motion" setting, or `createM3UI({ reducedMotion: 'always' })` (`data-m3-motion="reduce"` on `<html>`). Ask it when an animation starts, as the library's own components do.
8416
+
8417
+ ```ts
8418
+ shouldReduceMotion(): boolean
8419
+ ```
8420
+
8329
8421
  ### vRipple
8330
8422
 
8331
8423
  The M3 press ripple for any element: `<div v-ripple>`, `v-ripple="false"`, `v-ripple="'#e91e63'"` or `v-ripple="{ disabled, color }"`. A statically positioned element is made `position: relative`. Registered globally as `v-ripple` by `createM3UI()`; import `vRipple` to use it without the plugin.
@@ -10040,6 +10132,17 @@ export interface M3UIOptions {
10040
10132
  * on `<html>`, which a server-rendered page can set itself.
10041
10133
  */
10042
10134
  ripple?: boolean
10135
+ /**
10136
+ * The app's motion scheme (M3 asks for one per product): `'standard'` (default) or `'expressive'`, bouncier
10137
+ * springs for sheets, drawers, menus and the other components that follow it. Components that are Expressive by
10138
+ * design (FAB menu, loading indicator) keep their own. Same as `data-m3-motion-scheme` on `<html>`.
10139
+ */
10140
+ motionScheme?: 'standard' | 'expressive'
10141
+ /**
10142
+ * `'always'` cuts animations down as if the user had turned on "reduce motion", whatever the device says (an
10143
+ * in-app setting, a kiosk). `'system'` (default) follows the device. Same as `data-m3-motion="reduce"` on `<html>`.
10144
+ */
10145
+ reducedMotion?: 'system' | 'always'
10043
10146
  }
10044
10147
  ```
10045
10148
 
@@ -10266,6 +10369,8 @@ export interface GeneratedScheme {
10266
10369
  export interface Toast {
10267
10370
  id: number
10268
10371
  message: string
10372
+ /** Second line under the message, in a smaller, quieter style (the message then reads as a title) */
10373
+ description?: string
10269
10374
  variant: ToastVariant
10270
10375
  duration: number
10271
10376
  loading?: boolean
@@ -10292,6 +10397,8 @@ export interface ToastAction { label: string; onClick: () => void }
10292
10397
 
10293
10398
  ```ts
10294
10399
  export interface ToastOptions {
10400
+ /** Second line under the message (the message then reads as a title) */
10401
+ description?: string
10295
10402
  duration?: number
10296
10403
  loading?: boolean
10297
10404
  action?: ToastAction
@@ -10300,6 +10407,27 @@ export interface ToastOptions {
10300
10407
  }
10301
10408
  ```
10302
10409
 
10410
+ ```ts
10411
+ export interface ConfirmOptions {
10412
+ /** Dialog title */
10413
+ title: string
10414
+ /** The question or what will happen */
10415
+ message: string
10416
+ /** Confirm button label; the locale's `confirm` when omitted */
10417
+ confirmLabel?: string
10418
+ /** Cancel button label; the locale's `cancel` when omitted */
10419
+ cancelLabel?: string
10420
+ /** Error color on the confirm button, for destructive actions */
10421
+ danger?: boolean
10422
+ /**
10423
+ * Work to do on confirm, with the dialog still open: the button shows a spinner until it settles, then the promise
10424
+ * resolves `true`. If it throws, the dialog stays open so the user can retry or cancel; the error isn't passed on,
10425
+ * so report it from inside `onConfirm` (a toast, say)
10426
+ */
10427
+ onConfirm?: () => unknown
10428
+ }
10429
+ ```
10430
+
10303
10431
  ```ts
10304
10432
  /** One undoable action for `useUndo().run()` */
10305
10433
  export interface UndoableAction {
@@ -10364,6 +10492,8 @@ export interface M3Locale {
10364
10492
  collapse: string
10365
10493
  /** Clears a field's value (the × at its end) */
10366
10494
  clear: string
10495
+ increase: string
10496
+ decrease: string
10367
10497
  columns: string
10368
10498
  exportCsv: string
10369
10499
  noGroup: string
@@ -10552,6 +10682,11 @@ export interface M3Locale {
10552
10682
  paginationPage: string
10553
10683
  previousPage: string
10554
10684
  nextPage: string
10685
+ firstPage: string
10686
+ lastPage: string
10687
+ goToPage: string
10688
+ pagination: string
10689
+ opensInNewTab: string
10555
10690
  carousel: string
10556
10691
  carouselItem: string
10557
10692
  /** MSparkline's summary for screen readers: {first}, {last}, {min}, {max} */
@@ -11314,7 +11449,7 @@ export interface ScrollRevealOptions {
11314
11449
  threshold?: number
11315
11450
  /** Grows or shrinks the area that counts as visible, like IntersectionObserver's `rootMargin` (default `'0px'`) */
11316
11451
  rootMargin?: string
11317
- /** Motion scheme of the springs: `'standard'` (default) or `'expressive'` (a little bounce) */
11452
+ /** Motion scheme of the springs: `'standard'` or `'expressive'` (a little bounce). Defaults to the app's (createM3UI's `motionScheme`) */
11318
11453
  scheme?: 'standard' | 'expressive'
11319
11454
  /** Pace: M3's fast, default or slow springs (default `'default'`); slow suits large, calm entrances */
11320
11455
  speed?: 'fast' | 'default' | 'slow'
@@ -11480,6 +11615,10 @@ export interface FormulaContext {
11480
11615
  export interface SpringSpec { dampingRatio: number; stiffness: number }
11481
11616
  ```
11482
11617
 
11618
+ ```ts
11619
+ export type MotionScheme = 'standard' | 'expressive'
11620
+ ```
11621
+
11483
11622
  ```ts
11484
11623
  /** Options for `v-ripple`. */
11485
11624
  export interface RippleOptions {
@@ -12069,13 +12208,13 @@ export interface FilterGroup {
12069
12208
  ## Locale
12070
12209
 
12071
12210
  `M3Locale` keys (pass a partial object to `createM3UI({ locale })`; presets from `@m3ui-vue/m3ui-vue/locales`:
12072
- `esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`, `arLocale`):
12211
+ `esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`, `arLocale`, `plLocale`):
12073
12212
 
12074
- lang, search, noResults, close, cancel, confirm, loading, menu, previous, next, today, more, selectedCount, recordCount, expand, collapse, clear, columns, exportCsv, noGroup, finish, dropText, selectText, maxSizePrefix, remove, selectDate, ok, dateToggleInput, dateToggleCalendar, dateSwitchToYear, dateSwitchToDay, heatmapLess, heatmapMore, meterRemaining, meterUsedOf, phoneCountry, phoneSearchCountry, phoneInvalid, dateInputLabel, selectTime, timeHourSelection, timeMinuteSelection, timePeriodToggle, timeToggleKeyboard, timeToggleDial, timeToggleScroll, sheetExpand, sheetCollapse, sheetDismiss, seekBar, seekBarValue, seekBarShowRemaining, seekBarShowDuration, 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, sparklineSummary, sliderRangeStart, sliderRangeEnd, mapTitle, mapMarker, mapZoomIn, mapZoomOut, mapResetBearing, mapFindMyLocation, mapLocationNotAvailable, mapEnterFullscreen, mapExitFullscreen, mapToggleAttribution, mapFeedback, mapCtrlScroll, mapCmdScroll, mapTwoFingers, mapLayers, mapSearchLayers, mapNoLayers, mapShowLayer, mapHideLayer, mapOpacity, mapClusterZoom, mapDownload, mapNoBaseLayer, mapHoverInfo, mapNoValue, mapMeasureDistance, mapMeasureArea, mapClearMeasurements, mapDeleteMeasurement, mapDrawPoint, mapDrawLine, mapDrawPolygon, mapDeleteFeature, mapTotal, mapSearchPlaces, mapAddress, mapPressEnterToSearch, mapSearching, mapNoPlaces, mapRouteStop, mapRouteVehicle, spreadsheet, spreadsheetFormula, spreadsheetName, formSubmit, formBuilderEdit, formBuilderPreview, formBuilderJson, formBuilderAddField, formBuilderEmpty, formBuilderForm, formBuilderTitle, formBuilderDescription, formBuilderSubmitLabel, formBuilderLabel, formBuilderName, formBuilderPlaceholder, formBuilderHint, formBuilderRequired, formBuilderWidth, formBuilderWidthFull, formBuilderWidthHalf, formBuilderWidthThird, formBuilderWidthTwoThirds, formBuilderOptions, formBuilderMin, formBuilderMax, formBuilderStep, formBuilderMinLength, formBuilderMaxLength, formBuilderPattern, formBuilderPatternMessage, formBuilderRows, formBuilderShowWhen, formBuilderAlways, formBuilderEquals, formBuilderDuplicate, formBuilderDelete, formBuilderCopy, formBuilderCopied, codeCopy, codeCopied, paneResize, commentPlaceholder, commentReplyTo, commentReply, commentEdit, commentDelete, commentSave, commentSend, commentEdited, commentActions, commentShowReply, commentShowReplies, commentHideReplies, reactionAdd, reactionCount, avatarGroupMore, formBuilderSubmitted, formBuilderSelectField, formFieldText, formFieldEmail, formFieldPassword, formFieldTel, formFieldUrl, formFieldTextarea, formFieldNumber, formFieldSelect, formFieldAutocomplete, formFieldRadio, formFieldCheckbox, formFieldSwitch, formFieldDate, formFieldTime, formFieldSlider, formFieldRating, formFieldPhone, formFieldHeading, formFieldDivider, pdfSignSignature, pdfSignInitials, pdfSignName, pdfSignDate, pdfSignText, pdfSignCheckbox, pdfSignHere, pdfSignNext, pdfSignFinish, pdfSignProgress, pdfSignDraw, pdfSignTypeIt, pdfSignAdopt, pdfSignAddField, pdfSignRequired, pdfSignDelete, pdfSignComplete, trackingArrives, trackingArrivingNow, trackingDelivered, trackingDelayed, trackingCanceled, trackingShowDetails, trackingHideDetails, filterMatchAll, filterMatchAny, filterAddCondition, filterAddGroup, filterRemoveCondition, filterRemoveGroup, filterField, filterOperator, filterValue, filterFrom, filterTo, filterNoConditions, filterOpContains, filterOpNotContains, filterOpEquals, filterOpNotEquals, filterOpStartsWith, filterOpEndsWith, filterOpGt, filterOpGte, filterOpLt, filterOpLte, filterOpBetween, filterOpIn, filterOpNotIn, filterOpIsTrue, filterOpIsFalse, filterOpIsEmpty, filterOpIsNotEmpty, filterOpAfter, filterOpBefore, cronExpression, cronInvalid, cronNextRuns, cronFreqMinutes, cronFreqHourly, cronFreqDaily, cronFreqWeekly, cronFreqMonthly, cronFreqCustom, cronEvery, cronMinute, cronTime, cronDayOfMonth, cronEveryMinute, cronEveryNMinutes, cronHourlyAt, cronAt, cronEveryNHoursAt, cronMinutesOfHours, cronOnDaysOfMonth, cronInMonths, cronRange, country, timeZone, cameraStart, cameraStarting, cameraCapture, cameraRetake, cameraUsePhoto, cameraSwitch, cameraDenied, cameraUnavailable, cameraUnsupported, cameraFailed, qrHint, qrUnsupported, recorderStart, recorderStop, recorderPause, recorderResume, recorderDiscard, recorderUse, recorderPlay, recorderPausePlayback, recorderRecording, micDenied, micUnavailable, micUnsupported, dashGrabbed, dashPlaced, dashDropped, dashCancelled, dashResize, diffUnchanged, diffSplit, diffUnified, diffNoChanges, notifTitle, notifMarkAllRead, notifAll, notifUnread, notifEmpty, notifToday, notifYesterday, notifDismiss, notifMarkRead, notifMarkUnread, timelineShowMore, timelineShowLess, mediaPlayer, mediaPlay, mediaPause, mediaReplay, mediaSeekBack, mediaSeekForward, mediaSeconds, mediaMute, mediaUnmute, mediaVolume, mediaFullscreen, mediaExitFullscreen, mediaPictureInPicture, mediaSettings, mediaSpeed, mediaSpeedNormal, mediaSubtitles, mediaSubtitlesOff, mediaQuality, mediaQualityAuto, mediaLive, mediaError, mediaRepeat, mediaRepeatOne, mediaShuffle, pdfViewer, pdfThumbnails, pdfOutline, pdfPage, pdfZoom, pdfZoomIn, pdfZoomOut, pdfFitWidth, pdfFitPage, pdfSearch, pdfSearchPrevious, pdfSearchNext, pdfMatchCount, pdfNoMatches, pdfMore, pdfRotate, pdfDownload, pdfPrint, pdfFullscreen, pdfExitFullscreen, pdfPassword, pdfPasswordLabel, pdfWrongPassword, pdfOpen, pdfError, pdfLoading, pdfAnnotate, pdfSelect, pdfHighlight, pdfNote, pdfDraw, pdfEraser, pdfInkWidth, pdfColor, pdfUndo, pdfCopy, pdfDelete, pdfNotePlaceholder, pdfAddComment, flowCanvas, flowNode, flowEdge, flowZoomIn, flowZoomOut, flowFitView, flowLock, flowUnlock, flowUndo, flowRedo, flowMinimap, flowMoved, flowConnected, flowDeleted, flowDeleteEdge, flowDelete, ganttChart, ganttTask, ganttStart, ganttEnd, ganttDuration, ganttProgress, ganttDays, ganttHours, ganttMilestone, ganttQuarter, ganttToday, ganttZoomIn, ganttZoomOut, ganttExpandAll, ganttCollapseAll, ganttExpand, ganttCollapse, ganttUndo, ganttRedo, ganttScaleHour, ganttScaleDay, ganttScaleWeek, ganttScaleMonth, ganttScaleQuarter, ganttScaleYear, ganttMoved, ganttProgressSet, ganttLinked, ganttUnlink, ganttDeleted, ganttDelete, ganttReordered, ganttSlack, ganttCritical, ganttBaseline, ganttEmpty, ganttResize, ganttFit, ganttShowList, ganttHideList, timelineResource, timelineConflict, timelineMoved, timelineEmpty, cropArea, cropRotateLeft, cropRotateRight, cropFlip, cropReset, cropFree, drawCanvas, drawTools, drawMore, drawSelect, drawPan, drawPen, drawBrush, drawMarker, drawHighlighter, drawEraser, drawStrokeEraser, drawLine, drawArrow, drawRect, drawEllipse, drawText, drawFill, drawColor, floorPlan, floorSeats, floorRotate, floorTools, floorMove, floorDrawWall, floorDrawZone, floorAddTable, floorAddDecor, floorDuplicate, floorDelete, floorUndo, floorRedo, floorLabel, floorSeatsField, floorShape, floorRound, floorSquare, floorLong, floorAngle, floorFlip, floorZoomIn, floorZoomOut, floorZoomFit, floorOverlaps, floorSeatN, floorDrawShape, floorShapeHint, floorColor, floorThickness, floorWidth, floorHeight, floorMerge, floorSplit, floorNothingPicked, floorTablesPicked, floorTableN, floorZone, floorWall, floorDeleteCorner, floorFinishWall, floorCancel, floorDecorDoor, floorDecorWindow, floorDecorPlant, floorDecorColumn, floorDecorRestroom, floorDecorKitchen, floorDecorRegister, floorDecorStairs, floorDecorLabel, drawCustomColor, drawSize, drawUndo, drawRedo, drawDelete, drawLayers, drawLayer, drawLayerName, drawAddLayer, drawDeleteLayer, drawShowLayer, drawHideLayer, drawLockLayer, drawUnlockLayer, drawLayerUp, drawLayerDown, compareBefore, compareAfter, compareSlider, cardNumber, cardExpiry, cardCvc, cardName, cardInvalidNumber, cardInvalidExpiry, cardInvalidCvc, validationRequired, validationInvalid, validationEmail, validationUrl, validationMinLength, validationMaxLength, validationMinItems, validationMaxItems, validationMin, validationMax, validationPattern, validationSameAs, keypadDelete, keypadClear, keypadChange, keypadRemaining, seatStage, seatAvailable, seatSelected, seatOccupied, seatLabel, receiptSubtotal, receiptTotal, receiptPaid, receiptChange, configRequired, configOptional, configChooseUpTo, configChooseAtLeast, configChooseExactly, configUnavailable, configQuantity, configIncrease, configDecrease, availNight, availNights, availMinNights, availCheckIn, availCheckOut, availSelectCheckIn, availSelectCheckOut, availUnavailable, chartOpen, chartHigh, chartLow, chartClose, chartVolume, bookPrice, bookSize, bookTotal, bookSpread, mortgagePrice, mortgageDown, mortgageRate, mortgageTerm, mortgageYears, mortgageLoan, mortgageMonthly, mortgageFirstPayment, mortgageLastPayment, mortgagePrincipal, mortgageInterest, mortgageTotal, mortgageSchedule, mortgageYear, mortgageBalance, bodyFront, bodyBack, bodyRight, bodyLeft, bodyRear, bodyHead, bodyNeck, bodyChest, bodyAbdomen, bodyPelvis, bodyShoulder, bodyUpperArm, bodyForearm, bodyHand, bodyThigh, bodyKnee, bodyLeg, bodyFoot, bodyUpperBack, bodyLowerBack, bodyGlute, bodyCalf, odontoTooth, odontoUpper, odontoLower, odontoMesial, odontoDistal, odontoBuccal, odontoLingual, odontoOcclusal, odontoCaries, odontoFilling, odontoSealant, odontoCrown, odontoRootCanal, odontoImplant, odontoMissing, odontoExtraction, odontoEraser, vitalsNormal, vitalsHigh, vitalsLow, vitalsNoData, quizCheck, quizNext, quizFinish, quizCorrect, quizIncorrect, quizCorrectAnswer, quizQuestionOf, quizScore, quizPassed, quizFailed, quizRetry, quizTrue, quizFalse, quizSelectAll, quizOrderHint, quizMoveUp, quizMoveDown, quizTypeAnswer, quizTimeLeft, quizReview, certTitle, certPresentedTo, certDate, certId
12213
+ lang, search, noResults, close, cancel, confirm, loading, menu, previous, next, today, more, selectedCount, recordCount, expand, collapse, clear, increase, decrease, columns, exportCsv, noGroup, finish, dropText, selectText, maxSizePrefix, remove, selectDate, ok, dateToggleInput, dateToggleCalendar, dateSwitchToYear, dateSwitchToDay, heatmapLess, heatmapMore, meterRemaining, meterUsedOf, phoneCountry, phoneSearchCountry, phoneInvalid, dateInputLabel, selectTime, timeHourSelection, timeMinuteSelection, timePeriodToggle, timeToggleKeyboard, timeToggleDial, timeToggleScroll, sheetExpand, sheetCollapse, sheetDismiss, seekBar, seekBarValue, seekBarShowRemaining, seekBarShowDuration, 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, firstPage, lastPage, goToPage, pagination, opensInNewTab, carousel, carouselItem, sparklineSummary, sliderRangeStart, sliderRangeEnd, mapTitle, mapMarker, mapZoomIn, mapZoomOut, mapResetBearing, mapFindMyLocation, mapLocationNotAvailable, mapEnterFullscreen, mapExitFullscreen, mapToggleAttribution, mapFeedback, mapCtrlScroll, mapCmdScroll, mapTwoFingers, mapLayers, mapSearchLayers, mapNoLayers, mapShowLayer, mapHideLayer, mapOpacity, mapClusterZoom, mapDownload, mapNoBaseLayer, mapHoverInfo, mapNoValue, mapMeasureDistance, mapMeasureArea, mapClearMeasurements, mapDeleteMeasurement, mapDrawPoint, mapDrawLine, mapDrawPolygon, mapDeleteFeature, mapTotal, mapSearchPlaces, mapAddress, mapPressEnterToSearch, mapSearching, mapNoPlaces, mapRouteStop, mapRouteVehicle, spreadsheet, spreadsheetFormula, spreadsheetName, formSubmit, formBuilderEdit, formBuilderPreview, formBuilderJson, formBuilderAddField, formBuilderEmpty, formBuilderForm, formBuilderTitle, formBuilderDescription, formBuilderSubmitLabel, formBuilderLabel, formBuilderName, formBuilderPlaceholder, formBuilderHint, formBuilderRequired, formBuilderWidth, formBuilderWidthFull, formBuilderWidthHalf, formBuilderWidthThird, formBuilderWidthTwoThirds, formBuilderOptions, formBuilderMin, formBuilderMax, formBuilderStep, formBuilderMinLength, formBuilderMaxLength, formBuilderPattern, formBuilderPatternMessage, formBuilderRows, formBuilderShowWhen, formBuilderAlways, formBuilderEquals, formBuilderDuplicate, formBuilderDelete, formBuilderCopy, formBuilderCopied, codeCopy, codeCopied, paneResize, commentPlaceholder, commentReplyTo, commentReply, commentEdit, commentDelete, commentSave, commentSend, commentEdited, commentActions, commentShowReply, commentShowReplies, commentHideReplies, reactionAdd, reactionCount, avatarGroupMore, formBuilderSubmitted, formBuilderSelectField, formFieldText, formFieldEmail, formFieldPassword, formFieldTel, formFieldUrl, formFieldTextarea, formFieldNumber, formFieldSelect, formFieldAutocomplete, formFieldRadio, formFieldCheckbox, formFieldSwitch, formFieldDate, formFieldTime, formFieldSlider, formFieldRating, formFieldPhone, formFieldHeading, formFieldDivider, pdfSignSignature, pdfSignInitials, pdfSignName, pdfSignDate, pdfSignText, pdfSignCheckbox, pdfSignHere, pdfSignNext, pdfSignFinish, pdfSignProgress, pdfSignDraw, pdfSignTypeIt, pdfSignAdopt, pdfSignAddField, pdfSignRequired, pdfSignDelete, pdfSignComplete, trackingArrives, trackingArrivingNow, trackingDelivered, trackingDelayed, trackingCanceled, trackingShowDetails, trackingHideDetails, filterMatchAll, filterMatchAny, filterAddCondition, filterAddGroup, filterRemoveCondition, filterRemoveGroup, filterField, filterOperator, filterValue, filterFrom, filterTo, filterNoConditions, filterOpContains, filterOpNotContains, filterOpEquals, filterOpNotEquals, filterOpStartsWith, filterOpEndsWith, filterOpGt, filterOpGte, filterOpLt, filterOpLte, filterOpBetween, filterOpIn, filterOpNotIn, filterOpIsTrue, filterOpIsFalse, filterOpIsEmpty, filterOpIsNotEmpty, filterOpAfter, filterOpBefore, cronExpression, cronInvalid, cronNextRuns, cronFreqMinutes, cronFreqHourly, cronFreqDaily, cronFreqWeekly, cronFreqMonthly, cronFreqCustom, cronEvery, cronMinute, cronTime, cronDayOfMonth, cronEveryMinute, cronEveryNMinutes, cronHourlyAt, cronAt, cronEveryNHoursAt, cronMinutesOfHours, cronOnDaysOfMonth, cronInMonths, cronRange, country, timeZone, cameraStart, cameraStarting, cameraCapture, cameraRetake, cameraUsePhoto, cameraSwitch, cameraDenied, cameraUnavailable, cameraUnsupported, cameraFailed, qrHint, qrUnsupported, recorderStart, recorderStop, recorderPause, recorderResume, recorderDiscard, recorderUse, recorderPlay, recorderPausePlayback, recorderRecording, micDenied, micUnavailable, micUnsupported, dashGrabbed, dashPlaced, dashDropped, dashCancelled, dashResize, diffUnchanged, diffSplit, diffUnified, diffNoChanges, notifTitle, notifMarkAllRead, notifAll, notifUnread, notifEmpty, notifToday, notifYesterday, notifDismiss, notifMarkRead, notifMarkUnread, timelineShowMore, timelineShowLess, mediaPlayer, mediaPlay, mediaPause, mediaReplay, mediaSeekBack, mediaSeekForward, mediaSeconds, mediaMute, mediaUnmute, mediaVolume, mediaFullscreen, mediaExitFullscreen, mediaPictureInPicture, mediaSettings, mediaSpeed, mediaSpeedNormal, mediaSubtitles, mediaSubtitlesOff, mediaQuality, mediaQualityAuto, mediaLive, mediaError, mediaRepeat, mediaRepeatOne, mediaShuffle, pdfViewer, pdfThumbnails, pdfOutline, pdfPage, pdfZoom, pdfZoomIn, pdfZoomOut, pdfFitWidth, pdfFitPage, pdfSearch, pdfSearchPrevious, pdfSearchNext, pdfMatchCount, pdfNoMatches, pdfMore, pdfRotate, pdfDownload, pdfPrint, pdfFullscreen, pdfExitFullscreen, pdfPassword, pdfPasswordLabel, pdfWrongPassword, pdfOpen, pdfError, pdfLoading, pdfAnnotate, pdfSelect, pdfHighlight, pdfNote, pdfDraw, pdfEraser, pdfInkWidth, pdfColor, pdfUndo, pdfCopy, pdfDelete, pdfNotePlaceholder, pdfAddComment, flowCanvas, flowNode, flowEdge, flowZoomIn, flowZoomOut, flowFitView, flowLock, flowUnlock, flowUndo, flowRedo, flowMinimap, flowMoved, flowConnected, flowDeleted, flowDeleteEdge, flowDelete, ganttChart, ganttTask, ganttStart, ganttEnd, ganttDuration, ganttProgress, ganttDays, ganttHours, ganttMilestone, ganttQuarter, ganttToday, ganttZoomIn, ganttZoomOut, ganttExpandAll, ganttCollapseAll, ganttExpand, ganttCollapse, ganttUndo, ganttRedo, ganttScaleHour, ganttScaleDay, ganttScaleWeek, ganttScaleMonth, ganttScaleQuarter, ganttScaleYear, ganttMoved, ganttProgressSet, ganttLinked, ganttUnlink, ganttDeleted, ganttDelete, ganttReordered, ganttSlack, ganttCritical, ganttBaseline, ganttEmpty, ganttResize, ganttFit, ganttShowList, ganttHideList, timelineResource, timelineConflict, timelineMoved, timelineEmpty, cropArea, cropRotateLeft, cropRotateRight, cropFlip, cropReset, cropFree, drawCanvas, drawTools, drawMore, drawSelect, drawPan, drawPen, drawBrush, drawMarker, drawHighlighter, drawEraser, drawStrokeEraser, drawLine, drawArrow, drawRect, drawEllipse, drawText, drawFill, drawColor, floorPlan, floorSeats, floorRotate, floorTools, floorMove, floorDrawWall, floorDrawZone, floorAddTable, floorAddDecor, floorDuplicate, floorDelete, floorUndo, floorRedo, floorLabel, floorSeatsField, floorShape, floorRound, floorSquare, floorLong, floorAngle, floorFlip, floorZoomIn, floorZoomOut, floorZoomFit, floorOverlaps, floorSeatN, floorDrawShape, floorShapeHint, floorColor, floorThickness, floorWidth, floorHeight, floorMerge, floorSplit, floorNothingPicked, floorTablesPicked, floorTableN, floorZone, floorWall, floorDeleteCorner, floorFinishWall, floorCancel, floorDecorDoor, floorDecorWindow, floorDecorPlant, floorDecorColumn, floorDecorRestroom, floorDecorKitchen, floorDecorRegister, floorDecorStairs, floorDecorLabel, drawCustomColor, drawSize, drawUndo, drawRedo, drawDelete, drawLayers, drawLayer, drawLayerName, drawAddLayer, drawDeleteLayer, drawShowLayer, drawHideLayer, drawLockLayer, drawUnlockLayer, drawLayerUp, drawLayerDown, compareBefore, compareAfter, compareSlider, cardNumber, cardExpiry, cardCvc, cardName, cardInvalidNumber, cardInvalidExpiry, cardInvalidCvc, validationRequired, validationInvalid, validationEmail, validationUrl, validationMinLength, validationMaxLength, validationMinItems, validationMaxItems, validationMin, validationMax, validationPattern, validationSameAs, keypadDelete, keypadClear, keypadChange, keypadRemaining, seatStage, seatAvailable, seatSelected, seatOccupied, seatLabel, receiptSubtotal, receiptTotal, receiptPaid, receiptChange, configRequired, configOptional, configChooseUpTo, configChooseAtLeast, configChooseExactly, configUnavailable, configQuantity, configIncrease, configDecrease, availNight, availNights, availMinNights, availCheckIn, availCheckOut, availSelectCheckIn, availSelectCheckOut, availUnavailable, chartOpen, chartHigh, chartLow, chartClose, chartVolume, bookPrice, bookSize, bookTotal, bookSpread, mortgagePrice, mortgageDown, mortgageRate, mortgageTerm, mortgageYears, mortgageLoan, mortgageMonthly, mortgageFirstPayment, mortgageLastPayment, mortgagePrincipal, mortgageInterest, mortgageTotal, mortgageSchedule, mortgageYear, mortgageBalance, bodyFront, bodyBack, bodyRight, bodyLeft, bodyRear, bodyHead, bodyNeck, bodyChest, bodyAbdomen, bodyPelvis, bodyShoulder, bodyUpperArm, bodyForearm, bodyHand, bodyThigh, bodyKnee, bodyLeg, bodyFoot, bodyUpperBack, bodyLowerBack, bodyGlute, bodyCalf, odontoTooth, odontoUpper, odontoLower, odontoMesial, odontoDistal, odontoBuccal, odontoLingual, odontoOcclusal, odontoCaries, odontoFilling, odontoSealant, odontoCrown, odontoRootCanal, odontoImplant, odontoMissing, odontoExtraction, odontoEraser, vitalsNormal, vitalsHigh, vitalsLow, vitalsNoData, quizCheck, quizNext, quizFinish, quizCorrect, quizIncorrect, quizCorrectAnswer, quizQuestionOf, quizScore, quizPassed, quizFailed, quizRetry, quizTrue, quizFalse, quizSelectAll, quizOrderHint, quizMoveUp, quizMoveDown, quizTypeAnswer, quizTimeLeft, quizReview, certTitle, certPresentedTo, certDate, certId
12075
12214
 
12076
12215
  ## Theme tokens
12077
12216
 
12078
- - Colors (`bg-*`, `text-*`, `border-*`…): 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
12217
+ - Colors (`bg-*`, `text-*`, `border-*`…): 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, warning, on-warning, warning-container, on-warning-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
12079
12218
  - Type scale (`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
12080
12219
  - Radius (`rounded-*`): xs, sm, md, lg, xl, lg-increased, xl-increased, xxl
12081
12220
  - Shadows (`shadow-*`): elevation-1, elevation-2, elevation-3, elevation-4, elevation-5