@m3ui-vue/m3ui-vue 1.10.2 → 1.11.1
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.
- package/README.md +19 -4
- package/dist/API.md +204 -59
- package/dist/MButton-BHKF1Tfd.js +284 -0
- package/dist/MButton-BHKF1Tfd.js.map +1 -0
- package/dist/MColorPickerModal-CNesUJUq.js +466 -0
- package/dist/MColorPickerModal-CNesUJUq.js.map +1 -0
- package/dist/MDialog-jAYkZ4M8.js +226 -0
- package/dist/MDialog-jAYkZ4M8.js.map +1 -0
- package/dist/{MIcon-BSsJZhK7.js → MIcon-CkUc9kuQ.js} +10 -4
- package/dist/MIcon-CkUc9kuQ.js.map +1 -0
- package/dist/MIconButton-DTFOfsTy.js +317 -0
- package/dist/MIconButton-DTFOfsTy.js.map +1 -0
- package/dist/MListItem-CgdM5sco.js +1306 -0
- package/dist/MListItem-CgdM5sco.js.map +1 -0
- package/dist/MLoadingIndicator-00XbLQSf.js +115 -0
- package/dist/MLoadingIndicator-00XbLQSf.js.map +1 -0
- package/dist/{MMenuItem-US0Zbglq.js → MMenuItem-CEIKYvaX.js} +216 -214
- package/dist/MMenuItem-CEIKYvaX.js.map +1 -0
- package/dist/{MPdfViewer-DL9mRsd2.js → MPdfViewer-KjUIJOIs.js} +674 -671
- package/dist/MPdfViewer-KjUIJOIs.js.map +1 -0
- package/dist/MProgressBar-BzZMxq7M.js.map +1 -1
- package/dist/MSeekBar-B4EEWw3B.js +435 -0
- package/dist/MSeekBar-B4EEWw3B.js.map +1 -0
- package/dist/{MSegmentedButton-DMou-8sG.js → MSegmentedButton-UOAJAd2i.js} +4 -4
- package/dist/{MSegmentedButton-DMou-8sG.js.map → MSegmentedButton-UOAJAd2i.js.map} +1 -1
- package/dist/{MSignaturePad-WuvE_Cyl.js → MSignaturePad-HZavgiGB.js} +2 -2
- package/dist/{MSignaturePad-WuvE_Cyl.js.map → MSignaturePad-HZavgiGB.js.map} +1 -1
- package/dist/{MSlider-7TzhFHKS.js → MSlider-BaQeaozI.js} +4 -4
- package/dist/{MSlider-7TzhFHKS.js.map → MSlider-BaQeaozI.js.map} +1 -1
- package/dist/{MSpinner-CkIVBuGE.js → MSpinner-CbEMPY4X.js} +2 -2
- package/dist/{MSpinner-CkIVBuGE.js.map → MSpinner-CbEMPY4X.js.map} +1 -1
- package/dist/{MTextField-B6_iOczK.js → MTextField-B9PwKHlP.js} +136 -134
- package/dist/MTextField-B9PwKHlP.js.map +1 -0
- package/dist/{_useFieldValidation-COBJ1tWr.js → _useFieldValidation-B7AAfa69.js} +2 -2
- package/dist/{_useFieldValidation-COBJ1tWr.js.map → _useFieldValidation-B7AAfa69.js.map} +1 -1
- package/dist/api.json +1 -1
- package/dist/chart.js +1 -1
- package/dist/code-editor.js +3 -3
- package/dist/code-editor.js.map +1 -1
- package/dist/components/MAlert.vue.d.ts +1 -1
- package/dist/components/MAudioPlayer.vue.d.ts +3 -3
- package/dist/components/MAudioRecorder.vue.d.ts +2 -2
- package/dist/components/MAvatar.vue.d.ts +19 -1
- package/dist/components/MButton.vue.d.ts +2 -1
- package/dist/components/MChatBubble.vue.d.ts +2 -0
- package/dist/components/MCheckbox.vue.d.ts +2 -0
- package/dist/components/MDataTable.vue.d.ts +33 -5
- package/dist/components/MFlow.vue.d.ts +1 -1
- package/dist/components/MHotkeys.vue.d.ts +1 -0
- package/dist/components/MIcon.vue.d.ts +6 -0
- package/dist/components/MIconButton.vue.d.ts +5 -0
- package/dist/components/MJsonViewer.vue.d.ts +2 -0
- package/dist/components/MKanban.vue.d.ts +1 -1
- package/dist/components/MLink.vue.d.ts +59 -0
- package/dist/components/MListItem.vue.d.ts +3 -1
- package/dist/components/MMapControl.vue.d.ts +1 -1
- package/dist/components/MNotificationCenter.vue.d.ts +1 -1
- package/dist/components/MNumberField.vue.d.ts +1 -1
- package/dist/components/MPagination.vue.d.ts +14 -1
- package/dist/components/MPdfSigner.vue.d.ts +3 -3
- package/dist/components/MRadio.vue.d.ts +2 -0
- package/dist/components/MRadioGroup.vue.d.ts +2 -0
- package/dist/components/MStatCard.vue.d.ts +2 -2
- package/dist/components/MSwitch.vue.d.ts +2 -0
- package/dist/components/MTable.vue.d.ts +1 -1
- package/dist/components/MText.vue.d.ts +4 -2
- package/dist/components/MTextField.vue.d.ts +2 -0
- package/dist/components/MTicket.vue.d.ts +1 -1
- package/dist/components/_MDrawerItemList.vue.d.ts +6 -0
- package/dist/composables/_countLabel.d.ts +6 -0
- package/dist/composables/_menuGroups.d.ts +10 -1
- package/dist/composables/_splitAttrs.d.ts +6 -0
- package/dist/composables/_springAnimation.d.ts +2 -2
- package/dist/composables/_useFocusTrap.d.ts +15 -0
- package/dist/composables/_usePaneResize.d.ts +1 -1
- package/dist/composables/_useSpring.d.ts +4 -4
- package/dist/composables/dynamicColor.d.ts +9 -1
- package/dist/composables/motion.d.ts +63 -0
- package/dist/composables/useConfirm.d.ts +28 -0
- package/dist/composables/useDevice.d.ts +8 -1
- package/dist/composables/useLocale.d.ts +18 -0
- package/dist/composables/useScrollReveal.d.ts +1 -1
- package/dist/composables/useTheme.d.ts +1 -0
- package/dist/composables/useToast.d.ts +7 -0
- package/dist/draw.js +556 -556
- package/dist/draw.js.map +1 -1
- package/dist/flow.js +854 -851
- package/dist/flow.js.map +1 -1
- package/dist/gantt.js +1118 -1096
- package/dist/gantt.js.map +1 -1
- package/dist/index.d.ts +8 -5
- package/dist/locales/index.d.ts +1 -0
- package/dist/locales/index.js +865 -33
- package/dist/locales/index.js.map +1 -1
- package/dist/locales/pl.d.ts +2 -0
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +10335 -9798
- package/dist/m3ui.js.map +1 -1
- package/dist/map.js +860 -860
- package/dist/map.js.map +1 -1
- package/dist/{material-color-utilities-CEFytLsr.js → material-color-utilities-BZsBNIhi.js} +276 -217
- package/dist/material-color-utilities-BZsBNIhi.js.map +1 -0
- package/dist/media.js +7 -7
- package/dist/{motion-BcejVTeX.js → motion-BqYcqcim.js} +15 -5
- package/dist/motion-BqYcqcim.js.map +1 -0
- package/dist/pdf-sign.js +140 -137
- package/dist/pdf-sign.js.map +1 -1
- package/dist/pdf.js +1 -1
- package/dist/plugin.d.ts +11 -0
- package/dist/rich-text-editor.js +7 -7
- package/dist/styles/theme.css +40 -0
- package/dist/styles.css +1 -1
- package/dist/terminal.js +1 -1
- package/dist/{useLocale-YRaOT12S.js → useLocale-BAPJ34Pq.js} +64 -8
- package/dist/useLocale-BAPJ34Pq.js.map +1 -0
- package/dist/{useThemeTokens-DyAdPQB0.js → useThemeTokens-D5nr5KHf.js} +28 -27
- package/dist/useThemeTokens-D5nr5KHf.js.map +1 -0
- package/package.json +17 -2
- package/src/__tests__/MAvatarImage.test.ts +37 -0
- package/src/__tests__/MDataTableControlled.test.ts +68 -0
- package/src/__tests__/MHotkeysSequence.test.ts +53 -0
- package/src/__tests__/MIconAxes.test.ts +16 -0
- package/src/__tests__/MIconButtonWidth.test.ts +22 -0
- package/src/__tests__/MLink.test.ts +46 -0
- package/src/__tests__/MPaginationPages.test.ts +43 -0
- package/src/__tests__/MTextEmphasized.test.ts +14 -0
- package/src/__tests__/controlDescription.test.ts +34 -0
- package/src/__tests__/countLabels.test.ts +66 -0
- package/src/__tests__/customColor.test.ts +27 -0
- package/src/__tests__/dynamicColor.test.ts +3 -2
- package/src/__tests__/focusTrap.test.ts +124 -0
- package/src/__tests__/formatMessage.test.ts +20 -0
- package/src/__tests__/inputAttrs.test.ts +103 -0
- package/src/__tests__/localePresets.test.ts +2 -0
- package/src/__tests__/menuGroupsRemount.test.ts +40 -0
- package/src/__tests__/menuHydration.test.ts +41 -0
- package/src/__tests__/motionPrefs.test.ts +28 -0
- package/src/__tests__/ssr.test.ts +11 -0
- package/src/__tests__/ssrToast.test.ts +20 -0
- package/src/__tests__/toastDetails.test.ts +39 -0
- package/src/__tests__/useConfirm.test.ts +47 -0
- package/src/__tests__/useTheme.test.ts +14 -0
- package/src/__tests__/warningRole.test.ts +22 -0
- package/src/components/MAlert.vue +2 -2
- package/src/components/MAnimatedNumber.vue +9 -3
- package/src/components/MAutocomplete.vue +16 -4
- package/src/components/MAvailabilityCalendar.vue +3 -3
- package/src/components/MAvatar.vue +32 -5
- package/src/components/MAvatarGroup.vue +7 -2
- package/src/components/MBottomSheet.vue +18 -2
- package/src/components/MButton.vue +18 -5
- package/src/components/MCarousel.vue +3 -3
- package/src/components/MChatBubble.vue +14 -1
- package/src/components/MCheckbox.vue +21 -4
- package/src/components/MChip.vue +4 -2
- package/src/components/MCollapse.vue +7 -1
- package/src/components/MCommandPalette.vue +6 -2
- package/src/components/MContextMenu.vue +4 -4
- package/src/components/MCreditCardInput.vue +5 -0
- package/src/components/MDashboardGrid.vue +2 -1
- package/src/components/MDataTable.vue +68 -20
- package/src/components/MDialog.vue +21 -3
- package/src/components/MDiffViewer.vue +3 -3
- package/src/components/MDrawLayers.vue +3 -3
- package/src/components/MFabMenu.vue +7 -0
- package/src/components/MFloorPlan.vue +3 -3
- package/src/components/MFloorPlanInspector.vue +3 -3
- package/src/components/MFlow.vue +9 -5
- package/src/components/MFlowControls.vue +6 -0
- package/src/components/MFormBuilder.vue +1 -1
- package/src/components/MGantt.vue +10 -10
- package/src/components/MHotkeys.vue +61 -16
- package/src/components/MIcon.vue +17 -1
- package/src/components/MIconButton.vue +29 -6
- package/src/components/MImageCropper.vue +1 -1
- package/src/components/MJsonViewer.vue +4 -1
- package/src/components/MKanban.vue +2 -1
- package/src/components/MLightbox.vue +5 -4
- package/src/components/MLink.vue +136 -0
- package/src/components/MListDetail.vue +7 -0
- package/src/components/MListItem.vue +7 -4
- package/src/components/MLoadingIndicator.vue +2 -1
- package/src/components/MMap.vue +3 -0
- package/src/components/MMapCluster.vue +2 -2
- package/src/components/MMapControl.vue +2 -2
- package/src/components/MMapMeasure.vue +1 -1
- package/src/components/MMaskField.vue +16 -3
- package/src/components/MMenu.vue +4 -4
- package/src/components/MMenuItem.vue +2 -2
- package/src/components/MMeterGroup.vue +3 -2
- package/src/components/MMortgageCalculator.vue +3 -3
- package/src/components/MMultiAutocomplete.vue +19 -7
- package/src/components/MMultiSelect.vue +19 -7
- package/src/components/MNavigationDrawer.vue +10 -3
- package/src/components/MNavigationRail.vue +5 -1
- package/src/components/MNotificationCenter.vue +2 -1
- package/src/components/MNotificationHost.vue +3 -3
- package/src/components/MNumberField.vue +23 -6
- package/src/components/MOdontogram.vue +4 -4
- package/src/components/MOrderBook.vue +4 -0
- package/src/components/MPagination.vue +91 -12
- package/src/components/MPdfSigner.vue +3 -3
- package/src/components/MPdfViewer.vue +7 -7
- package/src/components/MPhoneInput.vue +17 -4
- package/src/components/MProductConfigurator.vue +4 -4
- package/src/components/MProgressBar.vue +5 -0
- package/src/components/MQuiz.vue +8 -5
- package/src/components/MRadio.vue +24 -5
- package/src/components/MRadioGroup.vue +3 -0
- package/src/components/MReactions.vue +2 -2
- package/src/components/MResourceTimeline.vue +3 -3
- package/src/components/MResult.vue +1 -1
- package/src/components/MScrollField.vue +1 -1
- package/src/components/MSearchField.vue +6 -5
- package/src/components/MSeatMap.vue +5 -0
- package/src/components/MSeekBar.vue +3 -2
- package/src/components/MSelect.vue +16 -4
- package/src/components/MSideSheet.vue +25 -3
- package/src/components/MSimpleCarousel.vue +2 -2
- package/src/components/MSnackbar.vue +16 -13
- package/src/components/MSparkline.vue +2 -1
- package/src/components/MSpinner.vue +8 -0
- package/src/components/MSplitter.vue +1 -1
- package/src/components/MSpotlightSearch.vue +6 -2
- package/src/components/MSpreadsheet.vue +1 -1
- package/src/components/MStatCard.vue +2 -1
- package/src/components/MSwitch.vue +21 -4
- package/src/components/MTable.vue +3 -2
- package/src/components/MTabs.vue +2 -1
- package/src/components/MTagInput.vue +19 -6
- package/src/components/MText.vue +23 -4
- package/src/components/MTextField.vue +25 -6
- package/src/components/MTimeline.vue +5 -5
- package/src/components/MToolbar.vue +2 -2
- package/src/components/MTour.vue +3 -0
- package/src/components/MTrackingTimeline.vue +6 -0
- package/src/components/MTypewriter.vue +7 -1
- package/src/components/MWindow.vue +10 -1
- package/src/components/_MColorPanel.vue +4 -4
- package/src/components/_MComment.vue +3 -2
- package/src/components/_MFlowNodeShell.vue +1 -1
- package/src/components/_MPdfPage.vue +1 -1
- package/src/components/_MTransferPane.vue +10 -0
- package/src/composables/_countLabel.ts +10 -0
- package/src/composables/_effectCanvas.ts +2 -1
- package/src/composables/_menuGroups.ts +10 -1
- package/src/composables/_splitAttrs.ts +29 -0
- package/src/composables/_springAnimation.ts +3 -3
- package/src/composables/_themeTransition.ts +3 -2
- package/src/composables/_useFocusTrap.ts +142 -0
- package/src/composables/_useMenuNav.ts +3 -3
- package/src/composables/_usePaneResize.ts +2 -1
- package/src/composables/_useSheetMotion.ts +3 -4
- package/src/composables/_useSpring.ts +16 -10
- package/src/composables/cron.ts +7 -6
- package/src/composables/dynamicColor.ts +21 -2
- package/src/composables/motion.ts +27 -0
- package/src/composables/useConfirm.ts +116 -0
- package/src/composables/useDevice.ts +23 -3
- package/src/composables/useFieldBg.ts +4 -0
- package/src/composables/useLocale.ts +82 -4
- package/src/composables/useNotification.ts +3 -0
- package/src/composables/useScrollReveal.ts +3 -3
- package/src/composables/useTheme.ts +8 -2
- package/src/composables/useToast.ts +27 -4
- package/src/directives/vSparkle.ts +2 -1
- package/src/index.ts +8 -5
- package/src/locales/ar.ts +11 -4
- package/src/locales/de.ts +11 -4
- package/src/locales/es.ts +11 -4
- package/src/locales/fr.ts +11 -4
- package/src/locales/index.ts +1 -0
- package/src/locales/ja.ts +11 -4
- package/src/locales/ko.ts +11 -4
- package/src/locales/pl.ts +807 -0
- package/src/locales/pt.ts +11 -4
- package/src/locales/zh.ts +11 -4
- package/src/plugin.ts +16 -0
- package/src/styles/theme.css +40 -0
- package/dist/MButton-B9RCM06i.js +0 -171
- package/dist/MButton-B9RCM06i.js.map +0 -1
- package/dist/MColorPickerModal-ChRtcZOo.js +0 -577
- package/dist/MColorPickerModal-ChRtcZOo.js.map +0 -1
- package/dist/MDialog-dk07tify.js +0 -167
- package/dist/MDialog-dk07tify.js.map +0 -1
- package/dist/MIcon-BSsJZhK7.js.map +0 -1
- package/dist/MIconButton-CrBPZidd.js +0 -288
- package/dist/MIconButton-CrBPZidd.js.map +0 -1
- package/dist/MListItem-h9H223vx.js +0 -1239
- package/dist/MListItem-h9H223vx.js.map +0 -1
- package/dist/MLoadingIndicator-YTV1Ov5w.js +0 -114
- package/dist/MLoadingIndicator-YTV1Ov5w.js.map +0 -1
- package/dist/MMenuItem-US0Zbglq.js.map +0 -1
- package/dist/MPdfViewer-DL9mRsd2.js.map +0 -1
- package/dist/MSeekBar-JFZcoJ8y.js +0 -434
- package/dist/MSeekBar-JFZcoJ8y.js.map +0 -1
- package/dist/MTextField-B6_iOczK.js.map +0 -1
- package/dist/material-color-utilities-CEFytLsr.js.map +0 -1
- package/dist/motion-BcejVTeX.js.map +0 -1
- package/dist/useLocale-YRaOT12S.js.map +0 -1
- package/dist/useThemeTokens-DyAdPQB0.js.map +0 -1
package/dist/API.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @m3ui-vue/m3ui-vue 1.
|
|
1
|
+
# @m3ui-vue/m3ui-vue 1.11.1 — 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
|
|
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
|
|
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
|
|
@@ -1488,8 +1501,8 @@ Props:
|
|
|
1488
1501
|
- `total?: number = 0` — Total rows (for server-side pagination)
|
|
1489
1502
|
- `page?: number = 1` (v-model:page) — Current page (v-model via update:page)
|
|
1490
1503
|
- `searchPlaceholder?: string` — Placeholder for search input (defaults to the locale string)
|
|
1491
|
-
- `selectedText?: string` — Text for selected count badge (defaults to the locale string)
|
|
1492
|
-
- `recordsText?: string` — Text for total records count (defaults to the locale string)
|
|
1504
|
+
- `selectedText?: string` — Text for the selected count badge: a template with `{count}` (plural blocks allowed, see `formatMessage`), or a bare word shown after the number (defaults to the locale string)
|
|
1505
|
+
- `recordsText?: string` — Text for the total records count: a template with `{count}` (plural blocks allowed, see `formatMessage`), or a bare word shown after the number (defaults to the locale string)
|
|
1493
1506
|
- `expandLabel?: string` — Aria label for the expand button (defaults to the locale string)
|
|
1494
1507
|
- `columnsLabel?: string` — Label for the column-toggle button (defaults to the locale string)
|
|
1495
1508
|
- `exportLabel?: string` — Label for the export button (defaults to the locale string)
|
|
@@ -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
|
|
@@ -3000,7 +3027,9 @@ Props:
|
|
|
3000
3027
|
|
|
3001
3028
|
```ts
|
|
3002
3029
|
export interface JsonViewerLabels {
|
|
3030
|
+
/** An array's size: a template with `{count}` (plural blocks allowed, see `formatMessage`), or a bare word shown after the number */
|
|
3003
3031
|
elements?: string
|
|
3032
|
+
/** An object's size, same format as `elements` */
|
|
3004
3033
|
fields?: string
|
|
3005
3034
|
}
|
|
3006
3035
|
```
|
|
@@ -3028,7 +3057,7 @@ export interface KanbanColumn {
|
|
|
3028
3057
|
id: string | number
|
|
3029
3058
|
title: string
|
|
3030
3059
|
cards: KanbanCard[]
|
|
3031
|
-
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'
|
|
3060
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'warning'
|
|
3032
3061
|
/** Optional WIP limit: the header shows count/limit and turns error-colored when exceeded. */
|
|
3033
3062
|
limit?: number
|
|
3034
3063
|
}
|
|
@@ -3088,6 +3117,29 @@ export interface LightboxItem {
|
|
|
3088
3117
|
}
|
|
3089
3118
|
```
|
|
3090
3119
|
|
|
3120
|
+
### MLink
|
|
3121
|
+
|
|
3122
|
+
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.
|
|
3123
|
+
|
|
3124
|
+
Props:
|
|
3125
|
+
- `to?: ItemLink` — A vue-router location: a RouterLink with vue-router, an `<a href>` (string only) without it
|
|
3126
|
+
- `href?: string` — A plain URL, always rendered as `<a href>`
|
|
3127
|
+
- `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
|
|
3128
|
+
- `newTab?: boolean` — Open in a new tab (`target="_blank"`, with `noopener`). Defaults to `true` for external links
|
|
3129
|
+
- `download?: string | boolean = false` — A file to download: `true`, or the file name to save it as. Shows the `download` icon
|
|
3130
|
+
- `icon?: string` — Leading Material Symbol
|
|
3131
|
+
- `trailingIcon?: string | false` — Trailing Material Symbol; `false` hides the automatic `open_in_new` / `download` one
|
|
3132
|
+
- `color?: "error" | "primary" | "secondary" | "tertiary" | "inherit" = "primary"` — Text color: a color role, or `inherit` to take the surrounding text's color
|
|
3133
|
+
- `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)
|
|
3134
|
+
- `disabled?: boolean = false` — Shows the text dimmed and turns the link off (no navigation, out of the tab order)
|
|
3135
|
+
- `replace?: boolean = false` — With `to` and vue-router: replace the current history entry instead of adding one
|
|
3136
|
+
|
|
3137
|
+
Events:
|
|
3138
|
+
- `click(MouseEvent)` — The native click (not emitted while disabled)
|
|
3139
|
+
|
|
3140
|
+
Slots:
|
|
3141
|
+
- `#default` — The link text
|
|
3142
|
+
|
|
3091
3143
|
### MList
|
|
3092
3144
|
|
|
3093
3145
|
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 +3212,9 @@ Props:
|
|
|
3160
3212
|
- `icon?: string` — Leading Material Symbol icon
|
|
3161
3213
|
- `leading?: ListItemLeading` — Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted
|
|
3162
3214
|
- `avatarName?: string` — Name for the avatar (when leading='avatar')
|
|
3215
|
+
- `avatarSrc?: string` — Photo for the avatar (when leading='avatar'); the initials of `avatarName` show while it's missing or broken
|
|
3163
3216
|
- `image?: string` — Image URL (when leading='image')
|
|
3164
|
-
- `iconContainerColor?: "error" | "success" | "primary" | "secondary" | "tertiary"` — Icon container background color (when leading='icon-container')
|
|
3217
|
+
- `iconContainerColor?: "error" | "success" | "warning" | "primary" | "secondary" | "tertiary"` — Icon container background color (when leading='icon-container')
|
|
3165
3218
|
- `trailingIcon?: string` — Trailing icon name
|
|
3166
3219
|
- `trailingText?: string` — Trailing text label
|
|
3167
3220
|
- `trailing?: ListItemTrailing` — Trailing element type — auto-resolves from trailingIcon/trailingText when omitted
|
|
@@ -3666,7 +3719,7 @@ Props:
|
|
|
3666
3719
|
|
|
3667
3720
|
### MMaskField
|
|
3668
3721
|
|
|
3669
|
-
A text field with a formatting mask — built-in presets or a custom pattern where `#` stands for a digit.
|
|
3722
|
+
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
3723
|
|
|
3671
3724
|
Props:
|
|
3672
3725
|
- `modelValue: string` (v-model) — Masked value (v-model)
|
|
@@ -3927,7 +3980,7 @@ export interface MortgageInput {
|
|
|
3927
3980
|
|
|
3928
3981
|
### MMultiAutocomplete
|
|
3929
3982
|
|
|
3930
|
-
Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip.
|
|
3983
|
+
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
3984
|
|
|
3932
3985
|
Props:
|
|
3933
3986
|
- `modelValue: unknown[] = []` (v-model) — Selected values (v-model)
|
|
@@ -3964,7 +4017,7 @@ Exposed (template ref):
|
|
|
3964
4017
|
|
|
3965
4018
|
### MMultiSelect
|
|
3966
4019
|
|
|
3967
|
-
Select multiple values with removable chips and an optional in-dropdown search.
|
|
4020
|
+
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
4021
|
|
|
3969
4022
|
Props:
|
|
3970
4023
|
- `modelValue: unknown[] = []` (v-model) — Selected values (any type — v-model)
|
|
@@ -4186,13 +4239,13 @@ export interface InboxNotification {
|
|
|
4186
4239
|
/** An image URL instead of the icon */
|
|
4187
4240
|
avatar?: string
|
|
4188
4241
|
/** The icon's color: a theme role */
|
|
4189
|
-
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'
|
|
4242
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'warning'
|
|
4190
4243
|
}
|
|
4191
4244
|
```
|
|
4192
4245
|
|
|
4193
4246
|
### MNumberField
|
|
4194
4247
|
|
|
4195
|
-
A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.
|
|
4248
|
+
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
4249
|
|
|
4197
4250
|
Props:
|
|
4198
4251
|
- `modelValue: number | null = null` (v-model) — Bound numeric value (v-model)
|
|
@@ -4206,7 +4259,7 @@ Props:
|
|
|
4206
4259
|
- `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
4260
|
- `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
4261
|
- `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` —
|
|
4262
|
+
- `name?: string` — Native `name`; also the key of this field in its `MForm`'s values, errors and schema
|
|
4210
4263
|
- `hint?: string` — Hint text
|
|
4211
4264
|
- `disabled?: boolean` — Disables the field
|
|
4212
4265
|
- `required?: boolean` — Marks as required — adds a red asterisk after the label
|
|
@@ -4386,15 +4439,19 @@ Props:
|
|
|
4386
4439
|
|
|
4387
4440
|
### MPagination
|
|
4388
4441
|
|
|
4389
|
-
|
|
4442
|
+
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
4443
|
|
|
4391
4444
|
Props:
|
|
4392
4445
|
- `page: number` (v-model:page) — Current page (1-based)
|
|
4393
4446
|
- `perPage: number` — Items per page
|
|
4394
4447
|
- `total: number` — Total number of items
|
|
4448
|
+
- `variant?: "pages" | "simple" = "simple"` — `simple`: range label + previous/next. `pages`: the page numbers between previous and next
|
|
4449
|
+
- `siblings?: number = 1` — With `pages`: how many pages show on each side of the current one before a gap (…)
|
|
4450
|
+
- `showFirstLast?: boolean = false` — Adds first-page and last-page buttons at the ends
|
|
4451
|
+
- `showRange?: boolean = false` — With `pages`: also show the range label (“1–10 of 25”)
|
|
4395
4452
|
|
|
4396
4453
|
Events:
|
|
4397
|
-
- `update:page(number)` — Emitted when
|
|
4454
|
+
- `update:page(number)` — Emitted when a page button is clicked — drive page with it for v-model-style two-way binding
|
|
4398
4455
|
|
|
4399
4456
|
### MPasswordMeter
|
|
4400
4457
|
|
|
@@ -4434,7 +4491,7 @@ Exposed (template ref):
|
|
|
4434
4491
|
- `save: (options?: SignPdfOptions | undefined) => Promise<Uint8Array<ArrayBufferLike>>` — The PDF with the filled fields written in (needs `pdf-lib`)
|
|
4435
4492
|
- `next: () => void` — Scrolls to the next field to fill
|
|
4436
4493
|
- `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" | "
|
|
4494
|
+
- `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
4495
|
|
|
4439
4496
|
### MPdfViewer
|
|
4440
4497
|
|
|
@@ -4524,7 +4581,7 @@ export type PdfZoom = number | 'fit-width' | 'fit-page'
|
|
|
4524
4581
|
|
|
4525
4582
|
### MPhoneInput
|
|
4526
4583
|
|
|
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.
|
|
4584
|
+
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
4585
|
|
|
4529
4586
|
Props:
|
|
4530
4587
|
- `modelValue?: string | null = null` (v-model) — The number in E.164 (`+541123456789`), or null (v-model)
|
|
@@ -4609,7 +4666,7 @@ Props:
|
|
|
4609
4666
|
- `max?: number` — Largest amount accepted; keys that would pass it are ignored
|
|
4610
4667
|
- `maxLength?: number` — Most digits accepted (a PIN's length, for one). With `pin` mode, filling it emits `submit` on its own
|
|
4611
4668
|
- `quickAmounts?: number[]` — Chips above the keys with preset amounts
|
|
4612
|
-
- `quickMode?: "
|
|
4669
|
+
- `quickMode?: "set" | "add" = "set"` — Whether a quick amount replaces the value or adds to it
|
|
4613
4670
|
- `due?: number` — Amount due: shows the remaining amount under the value, or the change once it's covered
|
|
4614
4671
|
- `actionLabel?: string` — Label of the submit button. Without it (and without the `action` slot) there is no button
|
|
4615
4672
|
- `actionIcon?: string` — Material Symbol on the submit button
|
|
@@ -4860,12 +4917,13 @@ export interface QuizResult {
|
|
|
4860
4917
|
|
|
4861
4918
|
### MRadio
|
|
4862
4919
|
|
|
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.
|
|
4920
|
+
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
4921
|
|
|
4865
4922
|
Props:
|
|
4866
4923
|
- `modelValue: unknown` (v-model) — The group's current value (v-model); share one ref between the radios of a group.
|
|
4867
4924
|
- `value: unknown` — The value this radio stands for; selecting it sets the v-model to it.
|
|
4868
4925
|
- `label?: string` — Text next to the radio. Clicking it selects the radio too.
|
|
4926
|
+
- `description?: string` — Supporting text under the label (M3 list-style two-line control); screen readers read it as the description
|
|
4869
4927
|
- `disabled?: boolean = false` — Grays the radio out and ignores clicks.
|
|
4870
4928
|
- `color?: "error" | "primary" | "secondary" | "tertiary" = "primary"` — Color role of the selected radio.
|
|
4871
4929
|
|
|
@@ -4903,6 +4961,8 @@ Exposed (template ref):
|
|
|
4903
4961
|
interface Option {
|
|
4904
4962
|
label: string
|
|
4905
4963
|
value: unknown
|
|
4964
|
+
/** Supporting text under the option's label */
|
|
4965
|
+
description?: string
|
|
4906
4966
|
disabled?: boolean
|
|
4907
4967
|
}
|
|
4908
4968
|
```
|
|
@@ -5540,7 +5600,7 @@ export interface SegmentedOption<V extends string | number = string | number> {
|
|
|
5540
5600
|
|
|
5541
5601
|
### MSelect
|
|
5542
5602
|
|
|
5543
|
-
A single-value dropdown select, docked or as a modal dialog on smaller screens.
|
|
5603
|
+
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
5604
|
|
|
5545
5605
|
Props:
|
|
5546
5606
|
- `modelValue: unknown` (v-model) — Selected value (any type — v-model)
|
|
@@ -5997,7 +6057,7 @@ Props:
|
|
|
5997
6057
|
- `icon?: string` — Material Symbol icon shown in a colored container on the right
|
|
5998
6058
|
- `trend?: number` — Percentage change — positive shows green/up, negative red/down, zero neutral/flat
|
|
5999
6059
|
- `trendLabel?: string` — Text next to the trend indicator (e.g. "vs last month")
|
|
6000
|
-
- `color?: "error" | "success" | "primary" | "secondary" | "tertiary" = "primary"` — Icon container color
|
|
6060
|
+
- `color?: "error" | "success" | "warning" | "primary" | "secondary" | "tertiary" = "primary"` — Icon container color
|
|
6001
6061
|
- `loading?: boolean` — Show a skeleton placeholder instead of the value
|
|
6002
6062
|
|
|
6003
6063
|
Slots:
|
|
@@ -6043,7 +6103,7 @@ Secondary text component with muted color by default — a thin wrapper around `
|
|
|
6043
6103
|
|
|
6044
6104
|
Props:
|
|
6045
6105
|
- `size?: "small" | "medium" | "large" = "large"` — Subtitle size (maps to body-large/medium/small)
|
|
6046
|
-
- `color?: "error" | "primary" | "secondary" | "tertiary" | "on-surface" | "on-surface-variant"
|
|
6106
|
+
- `color?: "error" | "primary" | "secondary" | "tertiary" | "inherit" | "on-surface" | "on-surface-variant" = "on-surface-variant"` — Text color
|
|
6047
6107
|
- `align?: "right" | "left" | "center"` — Text alignment
|
|
6048
6108
|
- `truncate?: boolean` — Truncate text with ellipsis on overflow
|
|
6049
6109
|
|
|
@@ -6104,12 +6164,13 @@ export type SwipeToDismissValue = 'settled' | 'start-to-end' | 'end-to-start'
|
|
|
6104
6164
|
|
|
6105
6165
|
### MSwitch
|
|
6106
6166
|
|
|
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).
|
|
6167
|
+
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
6168
|
|
|
6109
6169
|
Props:
|
|
6110
6170
|
- `modelValue: boolean` (v-model) — Toggle state (v-model)
|
|
6111
6171
|
- `disabled?: boolean = false` — Disables the switch
|
|
6112
6172
|
- `label?: string` — Label text
|
|
6173
|
+
- `description?: string` — Supporting text under the label (M3 list-style two-line control); screen readers read it as the description
|
|
6113
6174
|
- `color?: "error" | "primary" | "secondary" | "tertiary" = "primary"` — Track/thumb color when on
|
|
6114
6175
|
- `icon?: boolean = true` — Shows a check icon in the thumb while on. Set to `false` for M3's plain switch without an icon.
|
|
6115
6176
|
- `error?: string | boolean` — Error state. A string is also the message
|
|
@@ -6148,7 +6209,7 @@ Props:
|
|
|
6148
6209
|
- `total?: number = 0` — Total rows (for server-side pagination)
|
|
6149
6210
|
- `page?: number = 1` (v-model:page) — Current page (v-model via update:page)
|
|
6150
6211
|
- `searchPlaceholder?: string` — Placeholder for search input (defaults to the locale string)
|
|
6151
|
-
- `selectedText?: string` — Text for selected count badge
|
|
6212
|
+
- `selectedText?: string` — Text for the selected count badge: a template with `{count}` (plural blocks allowed, see `formatMessage`), or a bare word shown after the number (defaults to the locale string)
|
|
6152
6213
|
|
|
6153
6214
|
Events:
|
|
6154
6215
|
- `update:modelValue(Record<string, any>[])` — Emitted when the selection changes — powers v-model
|
|
@@ -6161,16 +6222,6 @@ Slots:
|
|
|
6161
6222
|
- `#empty` — Custom empty-state content, replaces the default icon + text
|
|
6162
6223
|
- `#row-actions { row: Record<string, any>; }` — Per-row action buttons — rendering this slot adds a trailing actions column
|
|
6163
6224
|
|
|
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
6225
|
```ts
|
|
6175
6226
|
export interface TableColumn {
|
|
6176
6227
|
key: string
|
|
@@ -6181,6 +6232,16 @@ export interface TableColumn {
|
|
|
6181
6232
|
}
|
|
6182
6233
|
```
|
|
6183
6234
|
|
|
6235
|
+
```ts
|
|
6236
|
+
export interface TableFetchParams {
|
|
6237
|
+
page: number
|
|
6238
|
+
perPage: number
|
|
6239
|
+
search: string
|
|
6240
|
+
sortKey: string
|
|
6241
|
+
sortDir: 'asc' | 'desc' | ''
|
|
6242
|
+
}
|
|
6243
|
+
```
|
|
6244
|
+
|
|
6184
6245
|
### MTabs
|
|
6185
6246
|
|
|
6186
6247
|
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 +6267,7 @@ interface Tab {
|
|
|
6206
6267
|
|
|
6207
6268
|
### MTagInput
|
|
6208
6269
|
|
|
6209
|
-
Type and press Enter or comma to add a free-form tag. Backspace on an empty input removes the last tag.
|
|
6270
|
+
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
6271
|
|
|
6211
6272
|
Props:
|
|
6212
6273
|
- `modelValue: string[] = []` (v-model) — Array of tags (v-model)
|
|
@@ -6267,12 +6328,12 @@ Exposed (template ref):
|
|
|
6267
6328
|
|
|
6268
6329
|
### MText
|
|
6269
6330
|
|
|
6270
|
-
Renders any of the 15 Material 3 typography variants, with an auto-selected semantic HTML tag.
|
|
6331
|
+
Renders any of the 15 Material 3 typography variants (or their 15 M3 Expressive `-emphasized` twins), with an auto-selected semantic HTML tag.
|
|
6271
6332
|
|
|
6272
6333
|
Props:
|
|
6273
|
-
- `variant?: TextVariant = "body-medium"` — Typography variant from the Material 3 type scale
|
|
6334
|
+
- `variant?: TextVariant = "body-medium"` — Typography variant from the Material 3 type scale; add `-emphasized` for the M3 Expressive heavier twin
|
|
6274
6335
|
- `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"
|
|
6336
|
+
- `color?: "error" | "primary" | "secondary" | "tertiary" | "inherit" | "on-surface" | "on-surface-variant" = "inherit"` — Text color
|
|
6276
6337
|
- `align?: "right" | "left" | "center" = "left"` — Text alignment
|
|
6277
6338
|
- `truncate?: boolean` — Truncate text with ellipsis on overflow
|
|
6278
6339
|
- `lines?: 1 | 2 | 3 | 4 | 5 | 6` — Clamp text to a specific number of lines
|
|
@@ -6282,21 +6343,18 @@ Slots:
|
|
|
6282
6343
|
- `#default` — The text.
|
|
6283
6344
|
|
|
6284
6345
|
```ts
|
|
6285
|
-
|
|
6286
|
-
|
|
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'
|
|
6346
|
+
/** A type-scale style, or its M3 Expressive emphasized twin (same size and tracking, heavier) */
|
|
6347
|
+
export type TextVariant = BaseTextVariant | `${BaseTextVariant}-emphasized`
|
|
6291
6348
|
```
|
|
6292
6349
|
|
|
6293
6350
|
### MTextField
|
|
6294
6351
|
|
|
6295
|
-
The standard single- or multi-line text input, filled or outlined, with floating label.
|
|
6352
|
+
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
6353
|
|
|
6297
6354
|
Props:
|
|
6298
6355
|
- `modelValue: string | number` (v-model) — Bound value (v-model)
|
|
6299
6356
|
- `label: string` — Field label
|
|
6357
|
+
- `placeholder?: string` — Placeholder, shown while the field is focused and empty (the label sits above it then, as in M3)
|
|
6300
6358
|
- `type?: string = "text"` — HTML input type
|
|
6301
6359
|
- `variant?: "filled" | "outlined" = "filled"` — Visual style
|
|
6302
6360
|
- `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 +6582,7 @@ Semantic heading component in three sizes — a thin wrapper around `MText` at m
|
|
|
6524
6582
|
|
|
6525
6583
|
Props:
|
|
6526
6584
|
- `size?: "small" | "medium" | "large" = "large"` — Title size (maps to headline-large/medium/small)
|
|
6527
|
-
- `color?: "error" | "primary" | "secondary" | "tertiary" | "on-surface" | "on-surface-variant"
|
|
6585
|
+
- `color?: "error" | "primary" | "secondary" | "tertiary" | "inherit" | "on-surface" | "on-surface-variant" = "inherit"` — Text color
|
|
6528
6586
|
- `align?: "right" | "left" | "center"` — Text alignment
|
|
6529
6587
|
- `truncate?: boolean` — Truncate text with ellipsis on overflow
|
|
6530
6588
|
|
|
@@ -7813,6 +7871,7 @@ createM3UI(options: M3UIOptions = {}): {
|
|
|
7813
7871
|
```ts
|
|
7814
7872
|
useTheme(): {
|
|
7815
7873
|
theme: Ref<Theme>
|
|
7874
|
+
isDark: ComputedRef<boolean>
|
|
7816
7875
|
cycle: () => void
|
|
7817
7876
|
}
|
|
7818
7877
|
```
|
|
@@ -7954,7 +8013,7 @@ schemeToCss(scheme: GeneratedScheme, id: string): string
|
|
|
7954
8013
|
|
|
7955
8014
|
### schemeRoles
|
|
7956
8015
|
|
|
7957
|
-
The `--color-*` roles a generated scheme sets. `success*`
|
|
8016
|
+
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
8017
|
|
|
7959
8018
|
```ts
|
|
7960
8019
|
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 +8041,7 @@ seedFromPixels(rgba: ArrayLike<number>): Promise<string>
|
|
|
7982
8041
|
useToast(): {
|
|
7983
8042
|
toasts: Ref<Toast[]>
|
|
7984
8043
|
position: Ref<ToastPosition>
|
|
8044
|
+
max: Ref<number>
|
|
7985
8045
|
show: (message: string, variant: ToastVariant = 'info', options: number | ToastOptions = {}) => number
|
|
7986
8046
|
success: (msg: string, opts?: ToastOptions) => number
|
|
7987
8047
|
error: (msg: string, opts?: ToastOptions) => number
|
|
@@ -7993,6 +8053,16 @@ useToast(): {
|
|
|
7993
8053
|
}
|
|
7994
8054
|
```
|
|
7995
8055
|
|
|
8056
|
+
### useConfirm
|
|
8057
|
+
|
|
8058
|
+
Promise-based confirmation dialogs, without placing a dialog or wiring a v-model: `if (await confirm({…})) …`
|
|
8059
|
+
|
|
8060
|
+
```ts
|
|
8061
|
+
useConfirm(): {
|
|
8062
|
+
confirm: (options: ConfirmOptions) => Promise<boolean>
|
|
8063
|
+
}
|
|
8064
|
+
```
|
|
8065
|
+
|
|
7996
8066
|
### useUndo
|
|
7997
8067
|
|
|
7998
8068
|
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 +8100,20 @@ useLocale(): M3Locale
|
|
|
8030
8100
|
defaultLocale: M3Locale
|
|
8031
8101
|
```
|
|
8032
8102
|
|
|
8103
|
+
### formatMessage
|
|
8104
|
+
|
|
8105
|
+
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…).
|
|
8106
|
+
|
|
8107
|
+
```ts
|
|
8108
|
+
formatMessage(template: string, vars: Record<string, string | number> = {}, lang = 'en'): string
|
|
8109
|
+
```
|
|
8110
|
+
|
|
8033
8111
|
### useDevice
|
|
8034
8112
|
|
|
8113
|
+
`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`).
|
|
8114
|
+
|
|
8035
8115
|
```ts
|
|
8036
|
-
useDevice(): {
|
|
8037
|
-
isMobile: Ref<boolean>
|
|
8038
|
-
}
|
|
8116
|
+
useDevice(): { isMobile: Readonly<Ref<boolean>>; }
|
|
8039
8117
|
```
|
|
8040
8118
|
|
|
8041
8119
|
### useAutoGrow
|
|
@@ -8326,6 +8404,22 @@ A cubic-bezier easing as a function of progress (0–1), e.g. `cubicBezier(...mo
|
|
|
8326
8404
|
cubicBezier(x1: number, y1: number, x2: number, y2: number): (t: number) => number
|
|
8327
8405
|
```
|
|
8328
8406
|
|
|
8407
|
+
### getMotionScheme
|
|
8408
|
+
|
|
8409
|
+
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.
|
|
8410
|
+
|
|
8411
|
+
```ts
|
|
8412
|
+
getMotionScheme(): MotionScheme
|
|
8413
|
+
```
|
|
8414
|
+
|
|
8415
|
+
### shouldReduceMotion
|
|
8416
|
+
|
|
8417
|
+
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.
|
|
8418
|
+
|
|
8419
|
+
```ts
|
|
8420
|
+
shouldReduceMotion(): boolean
|
|
8421
|
+
```
|
|
8422
|
+
|
|
8329
8423
|
### vRipple
|
|
8330
8424
|
|
|
8331
8425
|
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 +10134,17 @@ export interface M3UIOptions {
|
|
|
10040
10134
|
* on `<html>`, which a server-rendered page can set itself.
|
|
10041
10135
|
*/
|
|
10042
10136
|
ripple?: boolean
|
|
10137
|
+
/**
|
|
10138
|
+
* The app's motion scheme (M3 asks for one per product): `'standard'` (default) or `'expressive'`, bouncier
|
|
10139
|
+
* springs for sheets, drawers, menus and the other components that follow it. Components that are Expressive by
|
|
10140
|
+
* design (FAB menu, loading indicator) keep their own. Same as `data-m3-motion-scheme` on `<html>`.
|
|
10141
|
+
*/
|
|
10142
|
+
motionScheme?: 'standard' | 'expressive'
|
|
10143
|
+
/**
|
|
10144
|
+
* `'always'` cuts animations down as if the user had turned on "reduce motion", whatever the device says (an
|
|
10145
|
+
* in-app setting, a kiosk). `'system'` (default) follows the device. Same as `data-m3-motion="reduce"` on `<html>`.
|
|
10146
|
+
*/
|
|
10147
|
+
reducedMotion?: 'system' | 'always'
|
|
10043
10148
|
}
|
|
10044
10149
|
```
|
|
10045
10150
|
|
|
@@ -10266,6 +10371,8 @@ export interface GeneratedScheme {
|
|
|
10266
10371
|
export interface Toast {
|
|
10267
10372
|
id: number
|
|
10268
10373
|
message: string
|
|
10374
|
+
/** Second line under the message, in a smaller, quieter style (the message then reads as a title) */
|
|
10375
|
+
description?: string
|
|
10269
10376
|
variant: ToastVariant
|
|
10270
10377
|
duration: number
|
|
10271
10378
|
loading?: boolean
|
|
@@ -10292,6 +10399,8 @@ export interface ToastAction { label: string; onClick: () => void }
|
|
|
10292
10399
|
|
|
10293
10400
|
```ts
|
|
10294
10401
|
export interface ToastOptions {
|
|
10402
|
+
/** Second line under the message (the message then reads as a title) */
|
|
10403
|
+
description?: string
|
|
10295
10404
|
duration?: number
|
|
10296
10405
|
loading?: boolean
|
|
10297
10406
|
action?: ToastAction
|
|
@@ -10300,6 +10409,27 @@ export interface ToastOptions {
|
|
|
10300
10409
|
}
|
|
10301
10410
|
```
|
|
10302
10411
|
|
|
10412
|
+
```ts
|
|
10413
|
+
export interface ConfirmOptions {
|
|
10414
|
+
/** Dialog title */
|
|
10415
|
+
title: string
|
|
10416
|
+
/** The question or what will happen */
|
|
10417
|
+
message: string
|
|
10418
|
+
/** Confirm button label; the locale's `confirm` when omitted */
|
|
10419
|
+
confirmLabel?: string
|
|
10420
|
+
/** Cancel button label; the locale's `cancel` when omitted */
|
|
10421
|
+
cancelLabel?: string
|
|
10422
|
+
/** Error color on the confirm button, for destructive actions */
|
|
10423
|
+
danger?: boolean
|
|
10424
|
+
/**
|
|
10425
|
+
* Work to do on confirm, with the dialog still open: the button shows a spinner until it settles, then the promise
|
|
10426
|
+
* resolves `true`. If it throws, the dialog stays open so the user can retry or cancel; the error isn't passed on,
|
|
10427
|
+
* so report it from inside `onConfirm` (a toast, say)
|
|
10428
|
+
*/
|
|
10429
|
+
onConfirm?: () => unknown
|
|
10430
|
+
}
|
|
10431
|
+
```
|
|
10432
|
+
|
|
10303
10433
|
```ts
|
|
10304
10434
|
/** One undoable action for `useUndo().run()` */
|
|
10305
10435
|
export interface UndoableAction {
|
|
@@ -10357,13 +10487,17 @@ export interface M3Locale {
|
|
|
10357
10487
|
more: string
|
|
10358
10488
|
|
|
10359
10489
|
// Tables
|
|
10490
|
+
/** Selected rows with their count, `{count}` (plural block allowed): '{count} selected' */
|
|
10360
10491
|
selectedCount: string
|
|
10492
|
+
/** Total rows with their count, `{count}` (plural block allowed): '{count, plural, one {# record} other {# records}}' */
|
|
10361
10493
|
recordCount: string
|
|
10362
10494
|
expand: string
|
|
10363
10495
|
/** Collapses an expanded item (the opposite of `expand`) */
|
|
10364
10496
|
collapse: string
|
|
10365
10497
|
/** Clears a field's value (the × at its end) */
|
|
10366
10498
|
clear: string
|
|
10499
|
+
increase: string
|
|
10500
|
+
decrease: string
|
|
10367
10501
|
columns: string
|
|
10368
10502
|
exportCsv: string
|
|
10369
10503
|
noGroup: string
|
|
@@ -10507,7 +10641,9 @@ export interface M3Locale {
|
|
|
10507
10641
|
jsonMinify: string
|
|
10508
10642
|
|
|
10509
10643
|
// JSON viewer
|
|
10644
|
+
/** A collapsed JSON array's size, `{count}` (plural block allowed) */
|
|
10510
10645
|
jsonElements: string
|
|
10646
|
+
/** A collapsed JSON object's size, `{count}` (plural block allowed) */
|
|
10511
10647
|
jsonFields: string
|
|
10512
10648
|
|
|
10513
10649
|
// Result
|
|
@@ -10552,6 +10688,11 @@ export interface M3Locale {
|
|
|
10552
10688
|
paginationPage: string
|
|
10553
10689
|
previousPage: string
|
|
10554
10690
|
nextPage: string
|
|
10691
|
+
firstPage: string
|
|
10692
|
+
lastPage: string
|
|
10693
|
+
goToPage: string
|
|
10694
|
+
pagination: string
|
|
10695
|
+
opensInNewTab: string
|
|
10555
10696
|
carousel: string
|
|
10556
10697
|
carouselItem: string
|
|
10557
10698
|
/** MSparkline's summary for screen readers: {first}, {last}, {min}, {max} */
|
|
@@ -11314,7 +11455,7 @@ export interface ScrollRevealOptions {
|
|
|
11314
11455
|
threshold?: number
|
|
11315
11456
|
/** Grows or shrinks the area that counts as visible, like IntersectionObserver's `rootMargin` (default `'0px'`) */
|
|
11316
11457
|
rootMargin?: string
|
|
11317
|
-
/** Motion scheme of the springs: `'standard'`
|
|
11458
|
+
/** Motion scheme of the springs: `'standard'` or `'expressive'` (a little bounce). Defaults to the app's (createM3UI's `motionScheme`) */
|
|
11318
11459
|
scheme?: 'standard' | 'expressive'
|
|
11319
11460
|
/** Pace: M3's fast, default or slow springs (default `'default'`); slow suits large, calm entrances */
|
|
11320
11461
|
speed?: 'fast' | 'default' | 'slow'
|
|
@@ -11480,6 +11621,10 @@ export interface FormulaContext {
|
|
|
11480
11621
|
export interface SpringSpec { dampingRatio: number; stiffness: number }
|
|
11481
11622
|
```
|
|
11482
11623
|
|
|
11624
|
+
```ts
|
|
11625
|
+
export type MotionScheme = 'standard' | 'expressive'
|
|
11626
|
+
```
|
|
11627
|
+
|
|
11483
11628
|
```ts
|
|
11484
11629
|
/** Options for `v-ripple`. */
|
|
11485
11630
|
export interface RippleOptions {
|
|
@@ -12069,13 +12214,13 @@ export interface FilterGroup {
|
|
|
12069
12214
|
## Locale
|
|
12070
12215
|
|
|
12071
12216
|
`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`):
|
|
12217
|
+
`esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`, `arLocale`, `plLocale`):
|
|
12073
12218
|
|
|
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
|
|
12219
|
+
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
12220
|
|
|
12076
12221
|
## Theme tokens
|
|
12077
12222
|
|
|
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
|
|
12223
|
+
- 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
12224
|
- 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
12225
|
- Radius (`rounded-*`): xs, sm, md, lg, xl, lg-increased, xl-increased, xxl
|
|
12081
12226
|
- Shadows (`shadow-*`): elevation-1, elevation-2, elevation-3, elevation-4, elevation-5
|