@m3ui-vue/m3ui-vue 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/API.md +152 -11
  2. package/dist/{MMenuItem-DI351kIf.js → MMenuItem-D4Gx_l3F.js} +2 -2
  3. package/dist/{MMenuItem-DI351kIf.js.map → MMenuItem-D4Gx_l3F.js.map} +1 -1
  4. package/dist/{MSlider-BnEy5ieZ.js → MSlider-Dx_S3vJ9.js} +227 -221
  5. package/dist/{MSlider-BnEy5ieZ.js.map → MSlider-Dx_S3vJ9.js.map} +1 -1
  6. package/dist/{MTextField-BBmkaIbO.js → MTextField-Bz8JIsnl.js} +4 -4
  7. package/dist/{MTextField-BBmkaIbO.js.map → MTextField-Bz8JIsnl.js.map} +1 -1
  8. package/dist/api.json +1 -1
  9. package/dist/chart.js +1 -1
  10. package/dist/components/MMap.vue.d.ts +1 -1
  11. package/dist/components/MSlider.vue.d.ts +2 -2
  12. package/dist/composables/_effectCanvas.d.ts +23 -0
  13. package/dist/composables/_storageKeys.d.ts +9 -0
  14. package/dist/composables/themeInitScript.d.ts +2 -0
  15. package/dist/composables/useConfetti.d.ts +19 -8
  16. package/dist/composables/useFireworks.d.ts +37 -0
  17. package/dist/composables/useReactions.d.ts +32 -0
  18. package/dist/composables/viewportHints.d.ts +2 -0
  19. package/dist/directives/vSparkle.d.ts +27 -0
  20. package/dist/index.d.ts +7 -1
  21. package/dist/m3ui.js +5403 -5022
  22. package/dist/m3ui.js.map +1 -1
  23. package/dist/map.js +572 -572
  24. package/dist/map.js.map +1 -1
  25. package/dist/plugin.d.ts +10 -0
  26. package/dist/rich-text-editor.js +2 -2
  27. package/dist/{useThemeTokens-Bv-Uv8eX.js → useThemeTokens-y0HZpyhL.js} +23 -8
  28. package/dist/useThemeTokens-y0HZpyhL.js.map +1 -0
  29. package/package.json +1 -1
  30. package/src/__tests__/MSlider.test.ts +36 -0
  31. package/src/__tests__/plugin.test.ts +56 -1
  32. package/src/__tests__/ssr.test.ts +1 -1
  33. package/src/__tests__/themeInitScript.test.ts +10 -0
  34. package/src/__tests__/useConfetti.test.ts +33 -2
  35. package/src/__tests__/useFireworks.test.ts +104 -0
  36. package/src/__tests__/useReactions.test.ts +51 -0
  37. package/src/__tests__/vSparkle.test.ts +83 -0
  38. package/src/components/MEmojiSelector.vue +3 -2
  39. package/src/components/MMap.vue +3 -2
  40. package/src/components/MSlider.vue +22 -4
  41. package/src/components/MTextField.vue +8 -4
  42. package/src/composables/_colorUtils.ts +4 -2
  43. package/src/composables/_effectCanvas.ts +109 -0
  44. package/src/composables/_ssrState.ts +2 -2
  45. package/src/composables/_storageKeys.ts +28 -0
  46. package/src/composables/themeInitScript.ts +5 -2
  47. package/src/composables/useColorPalette.ts +36 -8
  48. package/src/composables/useConfetti.ts +84 -107
  49. package/src/composables/useFireworks.ts +360 -0
  50. package/src/composables/useReactions.ts +131 -0
  51. package/src/composables/useTheme.ts +21 -4
  52. package/src/composables/viewportHints.ts +6 -5
  53. package/src/directives/vSparkle.ts +180 -0
  54. package/src/index.ts +7 -1
  55. package/src/plugin.ts +21 -5
  56. package/dist/useThemeTokens-Bv-Uv8eX.js.map +0 -1
package/dist/api.json CHANGED
@@ -1 +1 @@
1
- {"name":"@m3ui-vue/m3ui-vue","version":"1.2.1","entries":["@m3ui-vue/m3ui-vue/chart","@m3ui-vue/m3ui-vue/code-editor","@m3ui-vue/m3ui-vue/markdown","@m3ui-vue/m3ui-vue/rich-text-editor","@m3ui-vue/m3ui-vue/terminal","@m3ui-vue/m3ui-vue/qrcode","@m3ui-vue/m3ui-vue/barcode","@m3ui-vue/m3ui-vue/map","@m3ui-vue/m3ui-vue"],"components":[{"name":"MAbsolute","import":"@m3ui-vue/m3ui-vue","description":"Declarative absolute positioning without Tailwind classes. Supports manual offsets, placement shortcuts, and per-axis control. Pair it with `MRelative` as the positioning parent.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px). Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset. Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":null,"description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Placement","source":"export type Placement =\n | 'top-left' | 'top-center' | 'top-right'\n | 'center-left' | 'center' | 'center-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"}]},{"name":"MAlert","import":"@m3ui-vue/m3ui-vue","description":"An inline banner for contextual status messages — info, success, warning, or error.","props":[{"name":"type","type":"\"info\" | \"success\" | \"warning\" | \"error\"","required":false,"default":"\"info\"","description":"Alert variant and color","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Bold title text","model":false},{"name":"closeable","type":"boolean","required":false,"default":"false","description":"Show close button","model":false},{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Aria label for the close button (falls back to the locale string)","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked. The parent owns visibility — pair with v-if/v-else to actually hide the alert."}],"slots":[{"name":"default","bindings":null,"description":"Alert body content"},{"name":"actions","bindings":null,"description":"Optional row of action buttons rendered below the body"}],"exposed":[],"types":[]},{"name":"MAnimatedNumber","import":"@m3ui-vue/m3ui-vue","description":"A number, time or duration whose digits roll to their new value on a spring when it changes, like an odometer: each digit rolls on its own (up when the value grows, down when it shrinks) and digits that appear or go away open and close. Numbers are formatted with `Intl.NumberFormat` (currency, percent, units, compact), times with `Intl.DateTimeFormat`, both in the app's language; durations as `h:mm:ss`. Tabular figures. Assistive technology reads the formatted value, not the rolling digits. Not an M3 spec component.","props":[{"name":"value","type":"number | Date","required":true,"default":null,"description":"The value: a number, a `Date` for times, or seconds for a duration","model":false},{"name":"type","type":"\"number\" | \"datetime\" | \"duration\"","required":false,"default":null,"description":"`number` (Intl.NumberFormat), `datetime` (Intl.DateTimeFormat; a `Date` or a timestamp) or `duration` (seconds as `h:mm:ss`, hours only when there are some). Defaults to `datetime` for a `Date`, `number` otherwise","model":false},{"name":"format","type":"Intl.NumberFormatOptions | Intl.DateTimeFormatOptions","required":false,"default":null,"description":"Intl options for the type: `{ style: 'currency', currency: 'EUR' }`, `{ style: 'percent' }`, `{ style: 'unit', unit: 'kilometer-per-hour' }`, `{ notation: 'compact' }` for numbers; `{ timeStyle: 'medium' }` (the default), `{ hour: '2-digit', minute: '2-digit' }`, `{ dateStyle: 'short' }` for times. Unused for durations. Dollar-sign currencies show their country (`AR$`, `MX$`, `US$`) in any language; set `currencyDisplay` for Intl's own output (`'symbol'` gives the local peso as a plain `$`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 language for the format (`es-AR` for Argentine pesos and separators); defaults to the app's locale","model":false},{"name":"spring","type":"SpringSpec","required":false,"default":null,"description":"The rolling spring; Standard SlowSpatial by default (an unhurried landing, no visible bounce)","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Roll to new values; false (or the system's reduced motion) jumps to them","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MAppBar","import":"@m3ui-vue/m3ui-vue","description":"A simple, generic slot-based app bar with leading, default, and trailing areas — a lighter-weight alternative to MTopAppBar for when you don't need its variant/title-row layouts.","props":[{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Add shadow elevation","model":false},{"name":"dense","type":"boolean","required":false,"default":null,"description":"Compact height (48px vs 64px)","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false}],"events":[],"slots":[{"name":"leading","bindings":null,"description":"Leading area (e.g. back button, menu icon)"},{"name":"default","bindings":null,"description":"Main content (title text)"},{"name":"trailing","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppBarWithSearch","import":"@m3ui-vue/m3ui-vue","description":"A top app bar whose title is a search bar (a port of Compose's `AppBarWithSearch`, and with `transparent` its `TopSearchBar`): a navigation icon, the search bar and actions in one 64px row. The search bar expands like MSearchBar (full screen by default). It can darken as content scrolls under it, and hide while scrolling down.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Whether the search is expanded (v-model:expanded)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"searchVariant","type":"\"fullscreen\" | \"fullscreen-contained\" | \"docked\"","required":false,"default":"\"fullscreen\"","description":"How the search expands: full screen (default), full screen keeping the pill input, or a docked panel","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed search bar","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon outside the search bar (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button; defaults to the locale's \"Menu\"","model":false},{"name":"transparent","type":"boolean","required":false,"default":"false","description":"No app bar container, only the search bar (Compose's TopSearchBar)","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"enter-always\"","required":false,"default":null,"description":"How the bar reacts to `scrollTarget` scrolling: `pinned` stays and changes color once content is under it; `enter-always` also hides while scrolling down and comes back on any scroll up. With `enter-always` the bar is sticky over the content: put it at the top of the scrolling element (or of the page)","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the search expands or collapses — powers v-model:expanded"},{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"leading","bindings":null,"description":"Overrides the search bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content inside the search bar (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions, shown below the input while the search is expanded"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppLayout","import":"@m3ui-vue/m3ui-vue","description":"Full app shell — drawer, header, content, footer, and fab slots.","props":[{"name":"height","type":"string","required":false,"default":null,"description":"Container height (CSS value). Use \"100%\" to fit inside a parent instead of the viewport.","model":false},{"name":"drawerRight","type":"boolean","required":false,"default":null,"description":"Place the drawer slot on the right side of the layout","model":false}],"events":[],"slots":[{"name":"drawer","bindings":null,"description":"Side navigation (e.g. MNavigationDrawer). Use drawerRight prop to place it on the right."},{"name":"header","bindings":null,"description":"Top bar (e.g. MTopAppBar)"},{"name":"default","bindings":null,"description":"Main scrollable content"},{"name":"footer","bindings":null,"description":"Bottom bar or status area"},{"name":"fab","bindings":null,"description":"Floating elements (e.g. MFab) rendered outside the scroll area"}],"exposed":[],"types":[]},{"name":"MAspectRatio","import":"@m3ui-vue/m3ui-vue","description":"Maintains a consistent aspect ratio for media or containers.","props":[{"name":"ratio","type":"string | number","required":false,"default":"\"16/9\"","description":"Aspect ratio (e.g. \"16/9\", \"4/3\", 1) — passed straight through to the CSS aspect-ratio property","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, sized to fill the box."}],"exposed":[],"types":[]},{"name":"MAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Like MSelect but with a text input for filtering. Type to search, arrow keys to navigate, Enter to select.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing @debounced. Selection is always instant","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted on selection — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MAvatar","import":"@m3ui-vue/m3ui-vue","description":"A circular initials avatar. There's no image-source prop — it always renders extracted initials or a fallback string, never a photo.","props":[{"name":"name","type":"string","required":false,"default":null,"description":"Full name — initials are extracted automatically (first + last). Takes priority over fallback","model":false},{"name":"fallback","type":"string","required":false,"default":null,"description":"Custom text shown when name is not provided (e.g. 'AJ'). Falls back to '?' if neither is set","model":false},{"name":"size","type":"number","required":false,"default":"40","description":"Avatar size in px — also scales the font size proportionally (40%)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MBadge","import":"@m3ui-vue/m3ui-vue","description":"A small numeric or dot indicator overlaid on another element, such as an icon button or avatar.","props":[{"name":"count","type":"number","required":false,"default":null,"description":"Numeric badge value","model":false},{"name":"dot","type":"boolean","required":false,"default":null,"description":"Show a small dot instead of a number","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"error\"","description":"Badge color","model":false},{"name":"max","type":"number","required":false,"default":"99","description":"Max value before showing \"N+\"","model":false},{"name":"position","type":"BadgePosition","required":false,"default":"\"top-right\"","description":"Corner where the badge is placed","model":false},{"name":"overlap","type":"BadgeOverlap","required":false,"default":"\"edge\"","description":"How much the badge overlaps the content","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The element the badge sits on."}],"exposed":[],"types":[{"name":"BadgePosition","source":"export type BadgePosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'"},{"name":"BadgeOverlap","source":"export type BadgeOverlap = 'inside' | 'outside' | 'edge'"}]},{"name":"MBar","import":"@m3ui-vue/m3ui-vue","description":"A draggable Electron title bar for frameless windows (`frame: false`). Sets `-webkit-app-region: drag` on itself and carves out `no-drag` around the icon, controls, and slot content, so those stay clickable. It can't touch the real OS window — minimize/maximize/close just emit events for your app to forward over IPC.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Window title text","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol name, or an image src (URL, data URI, or a path with a file extension) — detected automatically.","model":false},{"name":"titleAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centered floats over the whole bar so it stays centered regardless of side content width","model":false},{"name":"controls","type":"boolean","required":false,"default":null,"description":"Show the minimize/maximize/close buttons as a group. Defaults to `true`, except on `platform=\"macos\"` where the OS draws native traffic lights instead.","model":false},{"name":"minimizable","type":"boolean","required":false,"default":null,"description":"Individually hide one control while keeping the others — e.g. a fixed-size window with no maximize button.","model":false},{"name":"maximizable","type":"boolean","required":false,"default":null,"description":"Show the maximize/restore button on its own","model":false},{"name":"closable","type":"boolean","required":false,"default":null,"description":"Show the close button on its own","model":false},{"name":"maximized","type":"boolean","required":false,"default":"false","description":"Reflects the real window state — the bar has no way to know it itself, the host app must read it from its Electron main process and pass it down.","model":false},{"name":"platform","type":"\"windows\" | \"macos\"","required":false,"default":"\"windows\"","description":"'macos' reserves space for the native traffic lights and hides the drawn controls by default","model":false},{"name":"height","type":"number","required":false,"default":"36","description":"Bar height in px.","model":false},{"name":"doubleClickMaximize","type":"boolean","required":false,"default":"true","description":"Double-clicking empty drag space toggles maximize, matching native title bar behavior.","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"minimize","args":"","description":"Emitted when the minimize button is clicked — forward to your Electron IPC call"},{"name":"maximize","args":"","description":"Emitted when the maximize/restore button is clicked, or (with doubleClickMaximize) empty drag space is double-clicked"}],"slots":[{"name":"icon","bindings":null,"description":"Replaces the icon — e.g. an `<img>` logo instead of a Material Symbol"},{"name":"title","bindings":null,"description":"Replaces the title text"},{"name":"default","bindings":null,"description":"Extra content between the title and the trailing area (drag-adjacent, e.g. tabs)"},{"name":"trailing","bindings":null,"description":"Action buttons right before minimize/maximize/close"}],"exposed":[],"types":[]},{"name":"MBarcode","import":"@m3ui-vue/m3ui-vue/barcode","description":"Renders a barcode as inline SVG. Available from the `/barcode` entry point.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"format","type":"string","required":false,"default":"\"CODE128\"","description":"Barcode symbology. Common values: 'CODE128', 'EAN13', 'EAN8', 'UPC', 'CODE39', 'ITF14', 'MSI', 'pharmacode', 'codabar'.","model":false},{"name":"width","type":"number","required":false,"default":"2","description":"Width of the narrowest bar, in px","model":false},{"name":"height","type":"number","required":false,"default":"80","description":"Bar height in px","model":false},{"name":"displayValue","type":"boolean","required":false,"default":"true","description":"Show the encoded text below the bars","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Bar color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Background color","model":false},{"name":"margin","type":"number","required":false,"default":"10","description":"Quiet zone around the barcode, in px","model":false},{"name":"fontSize","type":"number","required":false,"default":"20","description":"Font size for the displayed value","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is invalid for the given format (e.g. a non-numeric EAN13)"}],"exposed":[],"types":[]},{"name":"MBottomAppBar","import":"@m3ui-vue/m3ui-vue","description":"M3's bottom app bar (a port of Compose's `BottomAppBar`): navigation and key actions at the bottom of small screens, with an optional FAB at the end. With `flexible` it's M3 Expressive's `FlexibleBottomAppBar`, a shorter bar whose actions spread across it. With `scrollBehavior=\"exit-always\"` it collapses as the content scrolls down and comes back as it scrolls up.","props":[{"name":"flexible","type":"boolean","required":false,"default":"false","description":"M3 Expressive's FlexibleBottomAppBar: 64px instead of 80px, 16px side padding, no FAB slot","model":false},{"name":"arrangement","type":"\"start\" | \"between\" | \"around\" | \"evenly\" | \"fixed\"","required":false,"default":null,"description":"How the actions are spread: `start` (the standard bar's), `between` (the flexible bar's default), `around`, `evenly`, or `fixed` (centered, 32px apart: FlexibleFixedHorizontalArrangement)","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Container color: surface-container, or a color's container for a vibrant bar","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"exit-always\"","required":false,"default":"\"pinned\"","description":"`pinned` stays put; `exit-always` collapses while the content scrolls down and returns when it scrolls up","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `exit-always` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The actions, usually MIconButtons"},{"name":"fab","bindings":null,"description":"A FAB at the end of the standard bar; an MFab here turns secondary and drops its shadow, as M3's bottom app bar FAB (`bottomAppBarFabColor`, `bottomAppBarFabElevation`)"}],"exposed":[],"types":[]},{"name":"MBottomSheet","import":"@m3ui-vue/m3ui-vue","description":"A sheet that slides up from the bottom of the screen, capped at a 640px max width and rounded top corners. Supports drag-to-dismiss via the handle bar, or tapping the scrim. With `partial`, a sheet taller than that share of the screen opens partially expanded and is dragged (handle or content) up to its full height, after Compose's ModalBottomSheet.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Tallest the sheet gets, as a CSS length (`'480px'`, `'70dvh'`); past it the content scrolls. Default 60vh, or the whole screen with `partial`","model":false},{"name":"fullHeight","type":"boolean","required":false,"default":"false","description":"","model":false},{"name":"partial","type":"number | boolean","required":false,"default":"false","description":"Opens a sheet taller than this share of the screen partially expanded (`true` = half, or a ratio like 0.4); dragging the handle or the content up expands it fully","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Fully (true) or partially (false) expanded, with `partial` (v-model:expanded)","model":true},{"name":"squareCornersWhenFull","type":"boolean","required":false,"default":"false","description":"Squares the top corners while the expanded sheet fills the screen, as Android's views sheet does","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss, Escape, or the close button) — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the sheet moves between partially and fully expanded (or closes) — powers v-model:expanded"}],"slots":[{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MBottomSheetScaffold","import":"@m3ui-vue/m3ui-vue","description":"A screen with M3's standard (non-modal) bottom sheet, a port of Compose's `BottomSheetScaffold`: the sheet sits over the bottom of the content without a scrim, peeking out when partially expanded, and the content stays usable. Drag it (or its content, which scrolls once the sheet is fully expanded) between its states, or tap the handle. For a sheet that blocks the screen behind a scrim, use MBottomSheet.","props":[{"name":"modelValue","type":"BottomSheetValue","required":false,"default":"\"partial\"","description":"The sheet's state (v-model): `partial` shows `peekHeight` of it, `expanded` all of it, `hidden` none","model":true},{"name":"peekHeight","type":"number","required":false,"default":"56","description":"Height in px the partially expanded sheet shows (BottomSheetDefaults.SheetPeekHeight)","model":false},{"name":"skipHiddenState","type":"boolean","required":false,"default":"true","description":"Leaves out the hidden state, so the sheet can't be swiped away (Compose's default for this sheet)","model":false},{"name":"swipeEnabled","type":"boolean","required":false,"default":"true","description":"Lets the sheet be dragged; with false it only moves through v-model and the handle","model":false},{"name":"maxWidth","type":"number","required":false,"default":"640","description":"Maximum width in px; the sheet is centered when the screen is wider","model":false}],"events":[{"name":"update:modelValue","args":"BottomSheetValue","description":"Emitted when the sheet settles in another state after a drag or a handle tap — powers v-model"}],"slots":[{"name":"top-bar","bindings":null,"description":"An app bar above the content (the sheet can rise over it)"},{"name":"default","bindings":null,"description":"The screen's content; it gets bottom padding equal to `peekHeight` so nothing hides under the peeking sheet"},{"name":"sheet","bindings":null,"description":"The sheet's content, below the drag handle"}],"exposed":[],"types":[{"name":"BottomSheetValue","source":"export type BottomSheetValue = 'hidden' | 'partial' | 'expanded'"}]},{"name":"MBox","import":"@m3ui-vue/m3ui-vue","description":"Generic surface box with padding, radius, elevation, and border — a building block for ad-hoc layout that doesn't warrant a dedicated component.","props":[{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"container-highest\" | \"primary-container\" | \"secondary-container\" | \"tertiary-container\" | \"inverse\"","required":false,"default":null,"description":"Surface color variant","model":false},{"name":"padding","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Padding size","model":false},{"name":"rounded","type":"\"none\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\"","required":false,"default":"\"none\"","description":"Border radius","model":false},{"name":"elevation","type":"0 | 1 | 2 | 3 | 4 | 5","required":false,"default":"0","description":"Shadow elevation level (M3 levels 0–5)","model":false},{"name":"border","type":"boolean","required":false,"default":"false","description":"Show border","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MBreadcrumbs","import":"@m3ui-vue/m3ui-vue","description":"A navigation trail showing the current page's location within a hierarchy, with icons and custom separators.","props":[{"name":"items","type":"BreadcrumbItem[]","required":true,"default":null,"description":"Breadcrumb items (see `BreadcrumbItem`)","model":false},{"name":"separator","type":"string","required":false,"default":"\"chevron_right\"","description":"Material Symbol separator icon","model":false}],"events":[{"name":"select","args":"BreadcrumbItem, number","description":"Emitted when a non-last, non-disabled item is clicked"}],"slots":[],"exposed":[],"types":[{"name":"BreadcrumbItem","source":"export interface BreadcrumbItem {\n label: string\n icon?: string\n to?: string\n disabled?: boolean\n}"}]},{"name":"MButton","import":"@m3ui-vue/m3ui-vue","description":"The standard M3 button — five variants, five expressive size tiers, and either color.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"filled\"","description":"Visual style of the button","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Named semantic color ('primary' | 'error') OR any CSS color string ('red', '#e91e63', 'oklch(0.6 0.2 0)', …). When a CSS color is passed, --color-primary is overridden for this button.","model":false},{"name":"type","type":"\"button\" | \"submit\" | \"reset\"","required":false,"default":"\"button\"","description":"HTML button type","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner and disables the button","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown next to the label","model":false},{"name":"iconFilled","type":"boolean","required":false,"default":null,"description":"Draw the icon filled (Material Symbols' FILL axis), e.g. a starred star or a play icon","model":false},{"name":"iconPos","type":"\"leading\" | \"trailing\"","required":false,"default":"\"leading\"","description":"Which side of the label the icon renders on","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier expressive button sizing (xs: 32px, sm: 40px, md: 56px, lg: 96px, xl: 136px) — lg/xl are meant for hero-style prominent buttons, not everyday UI","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false},{"name":"contentColor","type":"string","required":false,"default":null,"description":"Label and icon color, over what the variant and `color` give: an M3 role (`on-surface` for a neutral text button, `on-primary-container`…) or any CSS color (`#000` on a white filled button). Disabled buttons keep their own","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The button's label."}],"exposed":[],"types":[]},{"name":"MButtonGroup","import":"@m3ui-vue/m3ui-vue","description":"A set of buttons that share selection state — standard (separated) or connected (joined into one pill), single or multi select, any value type.","props":[{"name":"modelValue","type":"M","required":true,"default":null,"description":"Selected value (null when none), or values with `multiSelect` (v-model) — any type, typed after the options' values","model":true},{"name":"options","type":"ButtonGroupOption<T>[]","required":true,"default":null,"description":"The options to choose from; see `ButtonGroupOption`.","model":false},{"name":"variant","type":"\"standard\" | \"connected\"","required":false,"default":"\"standard\"","description":"Standard (separated) or connected (joined)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"selectionRequired","type":"boolean","required":false,"default":"false","description":"At least one must be selected","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected button color","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"update:modelValue","args":"M","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ButtonGroupOption","source":"export interface ButtonGroupOption<T = unknown> {\n value: T\n label?: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MCalendar","import":"@m3ui-vue/m3ui-vue","description":"A monthly calendar grid with color-coded, clickable events.","props":[{"name":"events","type":"CalendarEvent[]","required":false,"default":"[]","description":"Array of events to render on the grid (see `CalendarEvent`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/weekday names, via Intl.DateTimeFormat. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label for the Today button — falls back to the locale's own string when unset","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — falls back to the locale's own string when unset","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — falls back to the locale's own string when unset","model":false}],"events":[{"name":"dateClick","args":"string","description":"Emitted when an empty part of a day cell is clicked"},{"name":"eventClick","args":"CalendarEvent","description":"Emitted when an event pill is clicked"}],"slots":[],"exposed":[],"types":[{"name":"CalendarEvent","source":"export interface CalendarEvent {\n id: string | number\n title: string\n date: string\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n icon?: string\n}"}]},{"name":"MCard","import":"@m3ui-vue/m3ui-vue","description":"A flexible surface for grouping related content — three variants following the M3 elevation system, with optional header image, structured title/subtitle, and action buttons.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"elevated\"","description":"Card surface style","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the card an interactive element — hover/press elevation (varies by variant per M3), a focus ring/border on keyboard focus, and reachable/activatable via Tab + Enter/Space, not just mouse","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Shortcut that forces the elevated variant regardless of variant — true is equivalent to variant='elevated'","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled visual state (own per-variant color, not just a dimmed one) and, when combined with clickable, blocks interaction entirely","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"src URL for a full-bleed header image","model":false},{"name":"imageAlt","type":"string","required":false,"default":null,"description":"Alt text for the header image","model":false},{"name":"imageHeight","type":"string","required":false,"default":null,"description":"Tailwind height class for the image","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Card title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Supporting text below the title","model":false}],"events":[],"slots":[{"name":"media","bindings":null,"description":"Custom media content (alternative to the image prop)"},{"name":"header","bindings":null,"description":"Custom header content (overrides title/subtitle props)"},{"name":"default","bindings":null,"description":"Main content area (raw, no wrapper)"},{"name":"actions","bindings":null,"description":"Bottom action buttons (flex row, right-aligned)"}],"exposed":[],"types":[]},{"name":"MCarousel","import":"@m3ui-vue/m3ui-vue","description":"The Material 3 carousel, with its four layouts. Items keep one size and are laid out side by side; as you scroll, each one is masked down to the space it has, so items grow as they reach the focal position and shrink as they leave. Drag it (touch or mouse), scroll it with a trackpad or a horizontal wheel, or focus it and use the arrow keys. For fixed-width slides with arrows and autoplay, see MSimpleCarousel.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Items to render, required. CarouselItem by default; any type with an #item slot","model":false},{"name":"modelValue","type":"number","required":false,"default":null,"description":"Index of the current (snapped) item; use with v-model to follow or drive it.","model":true},{"name":"variant","type":"CarouselVariant","required":false,"default":"\"multi-browse\"","description":"Carousel layout","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Scroll axis","model":false},{"name":"itemSize","type":"number","required":false,"default":null,"description":"Size of large items along the scroll axis, in px. Multi-browse and hero treat it as the preferred size (the arrangement that fits best wins); uncontained uses it as is. Hero without it fills the container minus its small items; full-screen ignores it.","model":false},{"name":"itemSpacing","type":"number","required":false,"default":"8","description":"Space between items, in px (M3 uses 8).","model":false},{"name":"contentPadding","type":"number","required":false,"default":"0","description":"Padding at both ends of the scroll axis, in px. Items scroll under it.","model":false},{"name":"minSmallItemSize","type":"number","required":false,"default":"40","description":"Smallest size a small item can take (multi-browse, hero)","model":false},{"name":"maxSmallItemSize","type":"number","required":false,"default":"56","description":"Largest size a small item can take (multi-browse, hero)","model":false},{"name":"flingBehavior","type":"CarouselFlingBehavior","required":false,"default":null,"description":"What a release does. Defaults to 'no-snap' for uncontained, 'single-advance' otherwise.","model":false},{"name":"userScrollEnabled","type":"boolean","required":false,"default":"true","description":"Allow dragging, wheel and keyboard scrolling","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Height of the carousel. Defaults to 205px for a horizontal carousel that isn't full-screen.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the carousel.","model":false}],"events":[{"name":"update:modelValue","args":"index: number","description":"The current item changed"},{"name":"itemClick","args":"item: T, index: number","description":"An item was clicked (not dragged). A partly visible item also scrolls into focus"}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Content of each item, filling its full (unmasked) box. Replaces the default image and label"}],"exposed":[],"types":[{"name":"CarouselItem","source":"export interface CarouselItem {\n src: string\n alt?: string\n label?: string\n}"},{"name":"CarouselVariant","source":"export type CarouselVariant = 'multi-browse' | 'uncontained' | 'hero' | 'full-screen'"},{"name":"CarouselFlingBehavior","source":"export type CarouselFlingBehavior = 'single-advance' | 'multi-browse' | 'no-snap'"}]},{"name":"MCenter","import":"@m3ui-vue/m3ui-vue","description":"Centers its children both horizontally and vertically.","props":[{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, centered."}],"exposed":[],"types":[]},{"name":"MChart","import":"@m3ui-vue/m3ui-vue/chart","description":"A thin Chart.js wrapper — line, bar, pie, doughnut, and radar types, with legend/tooltip/axis colors that automatically track the active M3 theme (light/dark, palette, contrast). Datasets without colors of their own get the theme's too, one per series (one per slice in a pie or doughnut). Available from the `/chart` entry point.","props":[{"name":"type","type":"ChartType","required":true,"default":null,"description":"Chart type. Required — there is no default.","model":false},{"name":"data","type":"Record<string, any>","required":true,"default":null,"description":"Chart.js data object with labels and datasets. Required — there is no default.","model":false},{"name":"options","type":"Record<string, any>","required":false,"default":null,"description":"Chart.js options, deep-merged on top of MChart's own M3-themed defaults (legend/tooltip/axis colors that track the active theme automatically)","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Chart height","model":false},{"name":"colors","type":"string[]","required":false,"default":null,"description":"Colors for datasets that don't set their own, in order (one per series; per slice in a pie or doughnut): M3 role names (`primary`, `tertiary-container`…) or any CSS colors. Default primary, tertiary, secondary, success, error, outline","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"ChartType","source":"type ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'"}]},{"name":"MChatBubble","import":"@m3ui-vue/m3ui-vue","description":"A chat message bubble — sender name, avatar, timestamp, and read status, for left (received) or right (sent) messages.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Message text (or use the default slot for custom content)","model":false},{"name":"sender","type":"string","required":false,"default":null,"description":"Sender name shown above the bubble (left-side only)","model":false},{"name":"time","type":"string","required":false,"default":null,"description":"Timestamp string (e.g. \"10:32\")","model":false},{"name":"side","type":"\"right\" | \"left\"","required":false,"default":"\"left\"","description":"Left = received, right = sent","model":false},{"name":"avatar","type":"string","required":false,"default":null,"description":"Avatar name — shows an MAvatar with these initials (left-side only)","model":false},{"name":"status","type":"\"sent\" | \"delivered\" | \"read\"","required":false,"default":null,"description":"Message status icon next to the timestamp (right-side only)","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bubble color for sent (right-side) messages","model":false},{"name":"tail","type":"boolean","required":false,"default":"true","description":"Show the bubble tail (a sharper corner on the side nearest the sender)","model":false},{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"medium\"","description":"Text size (body-small / body-medium / body-large)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Max bubble width (px, %, or var()) — supports a CSS variable for responsive control","model":false},{"name":"typing","type":"\"text\" | \"audio\"","required":false,"default":null,"description":"Shows a live indicator instead of the content: bouncing dots while the other person types, or a mic with a moving waveform while they record audio.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content inside the bubble, replacing the text prop — images, files, buttons, or any layout"}],"exposed":[],"types":[]},{"name":"MCheckbox","import":"@m3ui-vue/m3ui-vue","description":"A checkbox with checked, indeterminate, and disabled states, and 4 semantic color options.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Checked state (v-model)","model":true},{"name":"indeterminate","type":"boolean","required":false,"default":"false","description":"Indeterminate state","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the checkbox","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text — overridden by the default slot when present","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Checked/indeterminate color","model":false},{"name":"ariaLabel","type":"string","required":false,"default":null,"description":"Accessible name for the input when there's no visible label (e.g. a list row's checkbox).","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new checked state."}],"slots":[{"name":"default","bindings":null,"description":"Custom label content — overrides the label prop when provided"}],"exposed":[],"types":[]},{"name":"MChip","import":"@m3ui-vue/m3ui-vue","description":"Compact elements for filters, input, or actions — named semantic tones or any CSS color, with optional icon, click, selection, and removal support. With `type` it's one of M3's four chips instead (assist, filter, input, suggestion), styled by the spec and always interactive; `tone` then doesn't apply.","props":[{"name":"tone","type":"string","required":false,"default":"\"neutral\"","description":"Color tone or any CSS color string","model":false},{"name":"selected","type":"boolean","required":false,"default":"false","description":"Selected/active state — the chip's shape morphs from a rounded rect to a full pill when selected","model":true},{"name":"removable","type":"boolean","required":false,"default":"false","description":"Show a remove (X) button","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the chip an interactive `<button>` with hover/press/focus feedback (otherwise renders as a plain `<span>`)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"type","type":"\"filter\" | \"assist\" | \"input\" | \"suggestion\"","required":false,"default":null,"description":"One of M3's chips: `assist` (an action), `filter` (on/off, v-model:selected; a check slides in while selected), `input` (a piece of user input, with an optional #avatar and `removable`), `suggestion`. Leave unset for the generic tone-colored chip","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Typed assist, filter and suggestion chips: surface-container-low with elevation 1 instead of an outline","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Typed chips: a trailing Material Symbol icon (e.g. arrow_drop_down on a filter chip that opens a menu)","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a clickable (or typed), non-disabled chip is clicked"},{"name":"remove","args":"","description":"Emitted when the remove (X) button is clicked (removable only)"},{"name":"update:selected","args":"boolean","description":"Filter and input chips: emitted on click with the new selected state — powers v-model:selected"}],"slots":[{"name":"avatar","bindings":null,"description":"Input chips only: a 24px round avatar before the label (e.g. an MAvatar or an img)"},{"name":"default","bindings":null,"description":"The chip's label."}],"exposed":[],"types":[]},{"name":"MCircleProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A circular progress indicator — a smooth arc, or the M3 Expressive wavy ring that fades between a circle and a bumpy wave near the extremes.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit when indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Spinning arc — no value needed. Identical for both variants.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":"\"primary\"","description":"Ring color: an M3 role or any CSS color","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Track color: an M3 role or any CSS color. Default the role's container, or the ring color at 24% for a CSS color","model":false},{"name":"variant","type":"\"wavy\" | \"circle\"","required":false,"default":"\"wavy\"","description":"wavy: animated bumpy ring that fades to circle near 0% and 100%; circle: smooth arc","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text below the circle","model":false},{"name":"size","type":"number","required":false,"default":null,"description":"Diameter in px — matches the real M3 WaveSize/Size tokens per variant","model":false},{"name":"thickness","type":"number","required":false,"default":"4","description":"Stroke width of the ring/wave in px, matching the real M3 token","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content centered inside the ring. When provided, the percentage label is hidden."}],"exposed":[],"types":[]},{"name":"MCodeEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A syntax-highlighted code editor built on CodeMirror 6, with a header bar, line numbers, and a copy button.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Editor content (v-model)","model":true},{"name":"language","type":"Language","required":false,"default":"\"javascript\"","description":"Syntax language","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"lineNumbers","type":"boolean","required":false,"default":"true","description":"Show line numbers","model":false},{"name":"theme","type":"\"light\" | \"dark\"","required":false,"default":"\"light\"","description":"Color theme","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum editor height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Maximum editor height","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown via CodeMirror when the editor is empty","model":false},{"name":"wrap","type":"boolean","required":false,"default":"true","description":"Word wrap","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every document change — powers v-model"}],"slots":[{"name":"actions","bindings":null,"description":"Extra controls rendered in the header bar, before the built-in copy button"}],"exposed":[],"types":[{"name":"Language","source":"type Language = 'javascript' | 'typescript' | 'json' | 'html' | 'css' | 'python' | 'vue' | 'c' | 'cpp' | 'rust' | 'asm' | 'plain'"}]},{"name":"MColorPicker","import":"@m3ui-vue/m3ui-vue","description":"An outlined field that opens a color picker in a dropdown: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Updates the value live while picking.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the panel","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the picked color, live while dragging or typing."}],"slots":[],"exposed":[],"types":[]},{"name":"MColorPickerModal","import":"@m3ui-vue/m3ui-vue","description":"A color picker in a dialog: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Built on MDialog; the color is only applied on confirm, and the preview shows it next to the original.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the dialog","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title; defaults to the locale's `selectColor`","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember confirmed colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted when a color is confirmed — powers v-model. Only fires on confirm, not while dragging"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MCommandPalette","import":"@m3ui-vue/m3ui-vue","description":"A searchable, keyboard-driven command palette — grouped commands, fuzzy-free substring search, and a global hotkey (Cmd/Ctrl+K by default).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"items","type":"CommandItem[]","required":true,"default":null,"description":"Commands to search over (see `CommandItem`). Required — there is no default.","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"k\"","description":"Global keyboard shortcut key, combined with Cmd/Ctrl, to toggle the palette","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"selectHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"CommandItem","description":"Emitted when an item is chosen (click, or Enter) — fires before the item's own onSelect callback runs"}],"slots":[],"exposed":[],"types":[{"name":"CommandItem","source":"export interface CommandItem {\n id: string\n label: string\n icon?: string\n shortcut?: string\n group?: string\n disabled?: boolean\n onSelect?: () => void\n}"}]},{"name":"MConfirmDialog","import":"@m3ui-vue/m3ui-vue","description":"A pre-built confirmation dialog on top of MDialog — title, message, cancel/confirm buttons, a danger color mode, and a loading state, so you don't have to hand-roll one for every \"are you sure?\" prompt.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":true,"default":null,"description":"Dialog title","model":false},{"name":"message","type":"string","required":true,"default":null,"description":"Confirmation message body","model":false},{"name":"confirmLabel","type":"string","required":false,"default":null,"description":"Confirm button label — falls back to the locale string when omitted","model":false},{"name":"cancelLabel","type":"string","required":false,"default":null,"description":"Cancel button label — falls back to the locale string when omitted","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Error color on the confirm button, for destructive actions","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner on the confirm button and disables cancel","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Passed straight through to MDialog's `closable` — show/hide the header close (X) button.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"},{"name":"confirm","args":"","description":"Emitted when the confirm button is clicked — the dialog stays open until the caller sets modelValue to false (or clears loading)"}],"slots":[],"exposed":[],"types":[]},{"name":"MContainer","import":"@m3ui-vue/m3ui-vue","description":"Constrains content width with responsive horizontal padding.","props":[{"name":"maxWidth","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | \"2xl\"","required":false,"default":"\"lg\"","description":"Maximum width breakpoint","model":false},{"name":"fluid","type":"boolean","required":false,"default":"false","description":"Full-width (no max constraint)","model":false},{"name":"centered","type":"boolean","required":false,"default":"true","description":"Center horizontally with mx-auto","model":false},{"name":"padding","type":"boolean","required":false,"default":"true","description":"Add responsive horizontal padding","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MContainerTransform","import":"@m3ui-vue/m3ui-vue","description":"Material's container transform: an element (a card, a list item, an image, a FAB…) grows into an expanded view and shrinks back into it, morphing its bounds and shape while its content fades into the new one. The expanded view opens over the page, full screen, as a centered panel, or wherever your classes put it (`custom`), with a scrim (optional), Escape and scroll lock; focus goes to it and back to the element on close. A port of Android's MaterialContainerTransform, played on the compositor. For elements that live apart from the expanded view (a grid of cards, one detail), pass a `useContainerTransform()` controller instead of the default slot.","props":[{"name":"controller","type":"ContainerTransformController<T>","required":false,"default":null,"description":"A `useContainerTransform()` controller, to open it from elements elsewhere (`controller.open($event, item)`)","model":false},{"name":"mode","type":"\"fullscreen\" | \"dialog\" | \"custom\"","required":false,"default":"\"fullscreen\"","description":"Where the expanded view opens: over the whole screen, as a centered panel (wider screens), or `custom`: the classes you give the component place and size it (`bottom-4 right-4 w-80 h-96`, `inset-y-0 right-0 w-96`…), anywhere over the page","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"560px\"","description":"The centered panel's maximum width (`dialog` mode)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the expanded view","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dims the page behind it, which makes it modal (scroll lock, `aria-modal`). Without one the page stays usable: a click outside closes it instead (unless `persistent`)","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"A click on the scrim, or outside without one, doesn't close it","model":false},{"name":"closeOnBack","type":"boolean","required":false,"default":"true","description":"Android's back (button or gesture) closes it, like an expanded view in an app, where the browser has the CloseWatcher API (Chrome, Edge); the history and the router are left alone. Default `true`","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"Whether the expanded view is open; opening it from here grows it from the default slot's element","model":true}],"events":[{"name":"update:open","args":"value: boolean","description":"The expanded view opened or closed (v-model:open)"}],"slots":[{"name":"default","bindings":"{ open: () => void; isOpen: boolean; }","description":"The element that opens it, with `{ open, isOpen }`: call `open()` from its click"},{"name":"expanded","bindings":"{ close: () => void; item: T | undefined; }","description":"The expanded view, with `{ close, item }` (`item` is what the controller's `open` was given)"}],"exposed":[],"types":[]},{"name":"MContextMenu","import":"@m3ui-vue/m3ui-vue","description":"A right-click context menu composed with MMenuItem — same item/divider/submenu building blocks as MMenu, but positioned at the cursor instead of anchored to a trigger element.","props":[{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":null,"description":"The element(s) that respond to right-click. MContextMenu intercepts contextmenu events automatically and positions the panel at the cursor, clamped to stay on-screen."},{"name":"default","bindings":null,"description":"Menu items — use MMenuItem, MMenuDivider, or any element."}],"exposed":[{"name":"show","type":"(e: MouseEvent) => void","description":""},{"name":"showAt","type":"(x: number, y: number) => Promise<void>","description":""},{"name":"hide","type":"() => void","description":""}],"types":[]},{"name":"MCopyButton","import":"@m3ui-vue/m3ui-vue","description":"Wraps MIconButton and swaps to a checkmark for resetDelay ms after a successful copy.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Text copied to the clipboard on click","model":false},{"name":"icon","type":"string","required":false,"default":"\"content_copy\"","description":"Icon shown in the idle state","model":false},{"name":"copiedIcon","type":"string","required":false,"default":"\"check\"","description":"Icon shown right after a successful copy","model":false},{"name":"label","type":"string","required":false,"default":"\"Copy\"","description":"aria-label in the idle state","model":false},{"name":"copiedLabel","type":"string","required":false,"default":"\"Copied\"","description":"aria-label right after a successful copy","model":false},{"name":"variant","type":"\"filled\" | \"outlined\" | \"tonal\" | \"standard\"","required":false,"default":"\"standard\"","description":"Visual style (same as MIconButton)","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false},{"name":"resetDelay","type":"number","required":false,"default":"2000","description":"Milliseconds before the icon reverts to idle after copying","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if the browser refuses the clipboard write"},{"name":"copied","args":"string","description":"Emitted with the copied value after a successful clipboard write"}],"slots":[],"exposed":[],"types":[]},{"name":"MDataTable","import":"@m3ui-vue/m3ui-vue","description":"A feature-rich data table — everything MTable has, plus column resize/pin/toggle, row grouping, striped/dense density, sticky header, expandable rows, and CSV export.","props":[{"name":"columns","type":"DataTableColumn[]","required":true,"default":null,"description":"Column definitions; see `DataTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Enable row expansion (requires the row-expand slot)","model":false},{"name":"striped","type":"boolean","required":false,"default":"false","description":"Alternate row colors","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"stickyHeader","type":"boolean","required":false,"default":"false","description":"Sticky table header","model":false},{"name":"groupBy","type":"string","required":false,"default":null,"description":"Group rows by this column key","model":false},{"name":"columnToggle","type":"boolean","required":false,"default":"false","description":"Allow hiding/showing columns from a menu","model":false},{"name":"exportable","type":"boolean","required":false,"default":"false","description":"Show an export-to-CSV button","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit fetch instead of local filtering. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge (defaults to the locale string)","model":false},{"name":"recordsText","type":"string","required":false,"default":null,"description":"Text for total records count (defaults to the locale string)","model":false},{"name":"expandLabel","type":"string","required":false,"default":null,"description":"Aria label for the expand button (defaults to the locale string)","model":false},{"name":"columnsLabel","type":"string","required":false,"default":null,"description":"Label for the column-toggle button (defaults to the locale string)","model":false},{"name":"exportLabel","type":"string","required":false,"default":null,"description":"Label for the export button (defaults to the locale string)","model":false},{"name":"noGroupText","type":"string","required":false,"default":null,"description":"Text for the ungrouped-rows bucket (defaults to the locale string)","model":false},{"name":"minHeight","type":"string","required":false,"default":null,"description":"Reserves a fixed min-height for the table area (any valid CSS min-height value) so switching between loading/empty/loaded doesn't visibly resize the table. Off by default.","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"DataTableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"},{"name":"row-expand","bindings":"{ row: Record<string, any>; }","description":"Expanded-row detail content, shown when expandable is true and the row is toggled open"}],"exposed":[],"types":[{"name":"DataTableColumn","source":"export interface DataTableColumn {\n key: string\n label: string\n sortable?: boolean\n filterable?: boolean\n resizable?: boolean\n width?: string\n minWidth?: string\n align?: 'left' | 'center' | 'right'\n pinned?: 'left' | 'right'\n hidden?: boolean\n}"},{"name":"DataTableFetchParams","source":"export interface DataTableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"}]},{"name":"MDatePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar date picker with locale support and min/max range clamping.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected date (YYYY-MM-DD, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no date is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked date."}],"slots":[],"exposed":[],"types":[]},{"name":"MDatePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date picker with calendar and keyboard input modes. For a field that opens a dropdown calendar, use MDatePicker.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected date in YYYY-MM-DD format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MDateRangePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar for selecting a start and end date, with range highlighting.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model); see `DateRange`","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no range is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false},{"name":"pickStartText","type":"string","required":false,"default":null,"description":"Header text shown while picking the start date — defaults to the current locale's string","model":false},{"name":"pickEndText","type":"string","required":false,"default":null,"description":"Header text shown while picking the end date — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted with the picked range."}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDateRangePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date range picker with range highlighting — the sibling of MDateRangePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model) — see `DateRange`","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted when the end date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDialog","import":"@m3ui-vue/m3ui-vue","description":"The generic M3 modal shell — Escape, scroll lock, and Teleport are handled internally. Supports a centered card, a full-screen variant, and an optional icon that centers the title per spec.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title (overridable via the #title slot)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"max-w-[560px]\"","description":"A Tailwind class (`max-w-sm`) or a CSS value (`420px`, `min(90vw, 40rem)`).","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"max-h-[90vh]\"","description":"Maximum height: a Tailwind class (`max-h-[60vh]`) or a CSS value (`480px`, `calc(100dvh - 4rem)`). When the content is taller, the body scrolls and a divider appears above the actions.","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Prevent closing by clicking the scrim, pressing Escape, or the X button","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Full-screen variant — slides up from the bottom, covers the entire viewport","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Aria label for the close (X) button — falls back to the locale string when omitted","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show the header close (X) button — a library addition, not part of the M3 AlertDialog spec, so it can be turned off","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Just the dialog's box (surface, shape, elevation), scrim, Escape, scroll lock and animation, with the default slot filling it: no title row, padding, close button or actions. For dialogs that draw everything themselves (the date and time pickers). With `fullscreen`, the slot fills the screen and draws its own top bar. `title` then only names it for assistive technology","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Dialog body content — scrolls independently when taller than maxHeight. With `bare`, the whole dialog: it fills the box (no title, padding, close button or actions row)"},{"name":"icon","bindings":null,"description":"M3 AlertDialog's optional icon (Secondary color, 24dp expected). Its presence also centers the title, per spec."},{"name":"title","bindings":null,"description":"Overrides the title prop with custom markup"},{"name":"actions","bindings":null,"description":"Row of action buttons — wraps to a new line instead of overflowing when labels are long"}],"exposed":[],"types":[]},{"name":"MDivider","import":"@m3ui-vue/m3ui-vue","description":"A thin separator line, horizontal or vertical, with an optional centered label.","props":[{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Render as a vertical divider (fills the height of a flex container)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text label in the middle of the divider (horizontal only)","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Add left margin (ml-16) to align with content that has a leading icon","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDragDropList","import":"@m3ui-vue/m3ui-vue","description":"A reorderable list: v-model the array and render each row with the #default slot. Works with a mouse, a finger and the keyboard. The dragged row lifts with M3's dragged-item elevation and the rest slide out of its way.","props":[{"name":"modelValue","type":"DragDropItem[]","required":true,"default":null,"description":"Array of items with a unique id (v-model)","model":true},{"name":"handle","type":"boolean","required":false,"default":"false","description":"Drag only from a handle button at the start of each row. Touch drags start right away from the handle; without it, a whole row starts dragging after a long press so swipes still scroll the page","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns reordering off (pointer and keyboard) and dims the list","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Drops the row's own look (padding, min height, hover/dragged state layer, background) so the slot draws the whole row, e.g. one card per item. Dragging, the lift shadow (as a drop-shadow that follows your content's shape) and keyboard support remain. With `handle`, bind the slot's `handleProps` onto your own grip element.","model":false}],"events":[{"name":"update:modelValue","args":"DragDropItem[]","description":"Emitted with the reordered array (v-model)"},{"name":"reorder","args":"{ from: number; to: number; items: DragDropItem[]; }","description":"Emitted alongside update:modelValue with the source and destination indices. Useful for saving the new order to a backend"}],"slots":[{"name":"default","bindings":"{ item: DragDropItem; index: number; dragging: boolean; handleProps: Record<string, unknown>; }","description":"Content of each row (or the whole row with bare). Falls back to item.id. Controls inside it (checkboxes, switches, buttons, links) keep working and never start a drag. dragging is true while the row is lifted; handleProps (with handle) goes on your own grip element via v-bind"}],"exposed":[],"types":[{"name":"DragDropItem","source":"export interface DragDropItem {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MDragHandle","import":"@m3ui-vue/m3ui-vue","description":"M3's drag handle: the capsule users drag to resize or move something, e.g. the divider between two panes. Port of Compose's `VerticalDragHandle`; it only draws the handle and its pressed/dragged look, the dragging itself is up to the parent (MSplitter uses it).","props":[{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"`vertical` is a tall capsule for horizontal drags (between side-by-side panes); `horizontal` is a wide one for vertical drags.","model":false},{"name":"dragging","type":"boolean","required":false,"default":"false","description":"Show the dragged look (the parent is dragging)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MEmoji","import":"@m3ui-vue/m3ui-vue","description":"Renders a single emoji character at a fixed pixel size, with optional accessible labeling.","props":[{"name":"emoji","type":"string","required":true,"default":null,"description":"The emoji character to display — required","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Size in pixels (sets font-size, width, and height)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — when set, adds role=\"img\" and aria-label","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiButton","import":"@m3ui-vue/m3ui-vue","description":"A single emoji button that cycles through a random pool on hover (Discord-style) and emits whichever emoji is showing when clicked.","props":[{"name":"emoji","type":"string","required":false,"default":"\"😀\"","description":"Default/current emoji shown before any hover cycling or click","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Emoji font size in pixels (the button itself is size + 12px)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — defaults to 'Emoji {emoji}'","model":false},{"name":"randomOnHover","type":"boolean","required":false,"default":"true","description":"Cycle to a random emoji on hover (Discord-style)","model":false},{"name":"category","type":"string","required":false,"default":null,"description":"Limit random pool to a category id (e.g. 'smileys', 'animals')","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false}],"events":[{"name":"click","args":"emoji: string","description":"Emitted on click with the currently displayed emoji (whatever hover last cycled to)"}],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiSelector","import":"@m3ui-vue/m3ui-vue","description":"An emoji picker in the style of Android's and Gboard's: the full Unicode set (Emoji 15.0) by category, recently used ones first, skin tones, and search by name in the app's language. The names come from Unicode's CLDR and load only when the picker is used, one language at a time.","props":[{"name":"categories","type":"string[]","required":false,"default":null,"description":"Which categories to show (ids). All if empty.","model":false},{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field.","model":false},{"name":"columns","type":"number","required":false,"default":null,"description":"Fixed number of columns. By default as many as fit.","model":false},{"name":"emojiSize","type":"number","required":false,"default":"28","description":"Emoji size in px.","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked emoji and show them first (stored in localStorage).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"24","description":"How many recent emoji to keep.","model":false},{"name":"skinTones","type":"boolean","required":false,"default":"true","description":"Offer skin tones (long press, right click or Shift+Enter on an emoji, or the footer button).","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Show the hovered or focused emoji with its name at the bottom.","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Height of the scrolling grid.","model":false}],"events":[{"name":"select","args":"emoji: string","description":"An emoji was picked, with the skin tone applied"}],"slots":[],"exposed":[{"name":"focus","type":"() => void | undefined","description":""}],"types":[]},{"name":"MEmptyState","import":"@m3ui-vue/m3ui-vue","description":"A placeholder for empty views — icon, title, description, and optional action buttons.","props":[{"name":"icon","type":"string","required":false,"default":"\"inbox\"","description":"Material Symbol icon","model":false},{"name":"title","type":"string","required":true,"default":null,"description":"Title text — required","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Supporting description","model":false},{"name":"compact","type":"boolean","required":false,"default":null,"description":"Smaller variant (24px icon in a 48px circle, less padding)","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons rendered below the description"}],"exposed":[],"types":[]},{"name":"MExpansionPanel","import":"@m3ui-vue/m3ui-vue","description":"A collapsible section with a smooth height animation. Works controlled via v-model, or uncontrolled by simply omitting modelValue.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Panel header text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text in the header, below the title","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon in the header","model":false},{"name":"modelValue","type":"boolean","required":false,"default":null,"description":"Open/closed state (v-model). Omit it entirely to let the panel manage its own open state internally (uncontrolled).","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables toggling","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Visual style of the panel container","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the panel is toggled — only meaningful when modelValue is passed (controlled usage); powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Panel body content, revealed with a height animation when open"}],"exposed":[],"types":[]},{"name":"MExportButton","import":"@m3ui-vue/m3ui-vue","description":"Serializes the data prop and triggers a real browser download — no dependencies.","props":[{"name":"data","type":"Record<string, unknown>[]","required":true,"default":null,"description":"Array of objects to export","model":false},{"name":"format","type":"\"json\" | \"csv\"","required":false,"default":"\"csv\"","description":"Export format","model":false},{"name":"filename","type":"string","required":false,"default":"\"export\"","description":"Filename without extension — the extension is added automatically","model":false},{"name":"label","type":"string","required":false,"default":"\"Export\"","description":"Button label (overridden by the default slot)","model":false},{"name":"icon","type":"string","required":false,"default":"\"download\"","description":"Leading Material Symbol icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"outlined\"","description":"Visual style (same as MButton)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if serialization or the download trigger fails"},{"name":"exported","args":"{ format: string; filename: string; }","description":"Emitted after a successful download is triggered"}],"slots":[{"name":"default","bindings":null,"description":"Replaces the label text prop"}],"exposed":[],"types":[]},{"name":"MFab","import":"@m3ui-vue/m3ui-vue","description":"A Floating Action Button for the primary action of a screen. Supports extended (icon+label), a speed-dial of small items, or a fully custom expanding panel via the `#content` slot.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Extended FAB label text","model":false},{"name":"expanded","type":"boolean","required":false,"default":"true","description":"Extended FAB only: false collapses it to a plain FAB (the label fades out and the width shrinks to a square), e.g. while the content scrolls. Compose's `expanded`","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Color scheme; defaults to primary, or secondary inside an MBottomAppBar","model":false},{"name":"size","type":"\"medium\" | \"small\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"FAB size. With a `label`, small/medium/large are M3 Expressive's extended FABs (56/80/96px, title-medium, title-large and headline-small labels); regular is the baseline extended FAB","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"items","type":"SpeedDialItem[]","required":false,"default":null,"description":"Speed-dial child items (see `SpeedDialItem`)","model":false},{"name":"direction","type":"\"right\" | \"left\" | \"up\" | \"down\" | \"radial\"","required":false,"default":"\"up\"","description":"Speed-dial expand direction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep speed-dial open after clicking an item or clicking outside","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"For the `up`/`down` #content panel only: which edge it anchors to when it's wider than the FAB itself. 'start' (default) keeps its left edge aligned with the FAB's left edge (existing behavior); 'end' aligns the right edges instead, which keeps a wide panel from running off-screen when the FAB sits in the bottom-right corner, a common placement.","model":false},{"name":"scrim","type":"boolean","required":false,"default":"false","description":"Dims the rest of the screen behind the #content panel while open (has no effect on the `items` speed dial). A plain sibling with its own fade transition, independent of the panel's enter/leave transform, so it doesn't visually shrink/lag along with it.","model":false},{"name":"contentTransition","type":"\"none\" | \"scale\" | \"fade\"","required":false,"default":"\"scale\"","description":"How the #content panel itself animates open/closed. 'scale' (default) is the original fade+scale. 'fade' drops the scale — use this when the slot content already animates its own entrance (e.g. a staggered per-item reveal), so the panel doesn't *also* scale as a group on top of that; it still gives Vue a real transition to wait for on close, so the content's own leave animation has time to play instead of just vanishing. 'none' skips any panel-level transition entirely.","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the FAB's content color","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the FAB itself is clicked (not a speed-dial item)"}],"slots":[{"name":"content","bindings":"{ close: () => boolean; }","description":"A panel anchored to the FAB that opens when you press it, instead of the `items` speed dial. `close()` closes it."}],"exposed":[],"types":[{"name":"SpeedDialItem","source":"export interface SpeedDialItem {\n icon: string\n label?: string\n to?: string | Record<string, any>\n onClick?: () => void\n}"}]},{"name":"MFabMenu","import":"@m3ui-vue/m3ui-vue","description":"The M3 \"FAB Menu\" — a thin wrapper around `MFab`'s `#content` slot, so opening/closing, the icon's 45° morph, outside-click, and scroll-away are all inherited from `MFab` — this component only supplies the row list. Unlike the small circular buttons of a speed dial (`MFab`'s `items` prop), each row is a full icon+label pill, revealed one at a time starting from the item closest to the FAB.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Trigger FAB's Material Symbol icon — use a symmetric one like 'add', since MFab rotates it 45° on open (turning a + into a ×)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Shows the trigger as an extended FAB (icon + text) instead of icon-only.","model":false},{"name":"items","type":"FabMenuItem[]","required":true,"default":null,"description":"The menu's items; see `FabMenuItem`. An item's own color overrides the menu's color for just that row.","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme applied to both the trigger FAB and every menu item row","model":false},{"name":"size","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"Trigger FAB size — independent from `itemSize` below.","model":false},{"name":"itemSize","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"large\"","description":"Menu item row size — independent from the trigger FAB's own `size`.","model":false},{"name":"direction","type":"\"up\" | \"down\"","required":false,"default":"\"up\"","description":"Which side of the FAB the menu list opens toward","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"end\"","description":"Which edge the (usually wider-than-the-FAB) menu list anchors to — 'end' keeps it from running off-screen when the FAB sits in a bottom-right corner","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dim the rest of the screen while the menu is open","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep the menu open after clicking an item or clicking outside","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the trigger FAB","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"FabMenuItem","source":"export interface FabMenuItem {\n icon: string\n label: string\n to?: string | Record<string, any>\n onClick?: () => void\n disabled?: boolean\n /** Overrides the menu's own `color` for just this row. */\n color?: 'primary' | 'secondary' | 'tertiary' | 'surface'\n}"}]},{"name":"MFileUpload","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop file upload zone with image previews, per-file size formatting, and progress/status display. It only selects files: uploading them is up to you, and each entry's status and progress show how it's going.","props":[{"name":"accept","type":"string","required":false,"default":null,"description":"Accepted file types (e.g. \".png,.jpg\", \"image/*\")","model":false},{"name":"multiple","type":"boolean","required":false,"default":"false","description":"Allow multiple files","model":false},{"name":"maxSize","type":"number","required":false,"default":null,"description":"Max file size in bytes — oversized files are silently filtered out","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the upload area","model":false},{"name":"dropText","type":"string","required":false,"default":null,"description":"Drop zone main text (defaults to the locale string)","model":false},{"name":"selectText","type":"string","required":false,"default":null,"description":"Drop zone select link text (defaults to the locale string)","model":false},{"name":"maxSizePrefix","type":"string","required":false,"default":null,"description":"Prefix shown before the formatted max size (defaults to the locale string)","model":false},{"name":"removeLabel","type":"string","required":false,"default":null,"description":"Aria label for each file row's remove button (defaults to the locale string)","model":false},{"name":"modelValue","type":"UploadFile[]","required":false,"default":null,"description":"Optional v-model. Bind it to own the list: clear it, or update each entry's status/progress. Unbound, the component keeps the list itself.","model":true}],"events":[{"name":"update:modelValue","args":"UploadFile[]","description":"Emitted with the new list whenever files are added, removed or cleared (v-model)"},{"name":"select","args":"UploadFile[]","description":"Emitted with the newly accepted files whenever files are added (drop or picker)"},{"name":"remove","args":"UploadFile","description":"Emitted when a file is removed from the list with its remove button"}],"slots":[{"name":"dropzone","bindings":null,"description":"Replaces the default icon + text content of the drop zone"},{"name":"actions","bindings":"{ files: UploadFile[]; clear: () => void; }","description":"Shown below the list while it has files, e.g. an \"Upload\" button."}],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"files","type":"UploadFile[]","description":""}],"types":[{"name":"UploadFile","source":"export interface UploadFile {\n file: File\n id: string\n progress: number\n status: 'pending' | 'uploading' | 'done' | 'error'\n preview?: string\n}"}]},{"name":"MFixed","import":"@m3ui-vue/m3ui-vue","description":"Same API as MAbsolute but uses `position: fixed`. Positions elements relative to the viewport, not a positioned ancestor.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px)","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MFlex","import":"@m3ui-vue/m3ui-vue","description":"A thin, prop-driven wrapper around CSS flexbox — direction, alignment, justification, gap, and wrap.","props":[{"name":"direction","type":"\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"","required":false,"default":"\"row\"","description":"Flex direction","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment (align-items)","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"between\" | \"around\" | \"evenly\" | \"end\"","required":false,"default":"\"start\"","description":"Main-axis alignment (justify-content)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Gap between items","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The flex items."}],"exposed":[],"types":[]},{"name":"MFooter","import":"@m3ui-vue/m3ui-vue","description":"Page footer with slots for brand, content, social links, and a bottom bar. Responsive padding adapts to screen size.","props":[{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a top border (border-outline-variant)","model":false},{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"inverse\"","required":false,"default":"\"default\"","description":"Background surface color","model":false}],"events":[],"slots":[{"name":"brand","bindings":null,"description":"Logo and tagline area (top)"},{"name":"default","bindings":null,"description":"Main content area (navigation columns, etc.)"},{"name":"social","bindings":null,"description":"Social media icon buttons (flex row with gap)"},{"name":"bottom","bindings":null,"description":"Bottom bar with copyright / legal links (separated by a top border)"}],"exposed":[],"types":[]},{"name":"MFullscreen","import":"@m3ui-vue/m3ui-vue","description":"Fills the entire viewport (or parent when `fixed=false`). Useful for loading screens, splash pages, or modal backdrops.","props":[{"name":"fixed","type":"boolean","required":false,"default":"true","description":"Use position: fixed to fill the viewport instead of the parent element","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that goes full screen."}],"exposed":[],"types":[]},{"name":"MGrid","import":"@m3ui-vue/m3ui-vue","description":"A responsive CSS grid with per-breakpoint column counts.","props":[{"name":"cols","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":"1","description":"Default column count","model":false},{"name":"sm","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at sm breakpoint","model":false},{"name":"md","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at md breakpoint","model":false},{"name":"lg","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at lg breakpoint","model":false},{"name":"xl","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at xl breakpoint","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false},{"name":"alignItems","type":"\"center\" | \"start\" | \"end\" | \"stretch\"","required":false,"default":"\"stretch\"","description":"Vertical alignment","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The grid items."}],"exposed":[],"types":[]},{"name":"MHotkeys","import":"@m3ui-vue/m3ui-vue","description":"Registers global keyboard shortcuts for as long as it's mounted, with an optional on-screen overlay listing them grouped by category.","props":[{"name":"bindings","type":"HotkeyBinding[]","required":true,"default":null,"description":"Array of key combos to register globally; see `HotkeyBinding`","model":false},{"name":"showOverlay","type":"boolean","required":false,"default":"false","description":"Render a visible list of the registered shortcuts (otherwise the component is invisible and only listens)","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"HotkeyBinding","source":"export interface HotkeyBinding {\n keys: string\n label: string\n handler: () => void\n group?: string\n disabled?: boolean\n}"}]},{"name":"MIcon","import":"@m3ui-vue/m3ui-vue","description":"Renders a Material Symbols Outlined glyph by name. Color follows the surrounding text color (set it with a Tailwind text-* class). Decorative by default: hidden from assistive technology, which would otherwise read the glyph's ligature text (its name, e.g. \"arrow_drop_down\"). Give it a `label` when the icon says something on its own.","props":[{"name":"name","type":"string","required":true,"default":null,"description":"Material Symbol name (e.g. \"settings\", \"favorite\")","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Icon size in px","model":false},{"name":"filled","type":"boolean","required":false,"default":"false","description":"Filled glyph (the Material Symbols FILL axis), as M3 draws a selected icon","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"What the icon means, when nothing next to it says so: makes it an image with this name instead of decoration","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MIconButton","import":"@m3ui-vue/m3ui-vue","description":"A button that shows only an icon — four visual styles, the same 5-tier expressive sizing as MButton. Give it `checked` (v-model:checked) and it becomes M3's icon toggle button.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label (its aria-label; no visible tooltip: wrap it in MTooltip for one)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\" | \"tonal\" | \"standard\"","required":false,"default":"\"standard\"","description":"Visual style","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":null,"description":"An M3 role or any CSS color (`#fff` over a photo, `rgb(0 0 0 / 0.3)` for a scrim-like filled button, `currentColor` to follow the surrounding text). Standard and outlined use it for the icon; filled for the container with white (or the role's on-color) on it; tonal for a 20% container with the color on it. Disabled buttons and toggles keep their own colors","model":false},{"name":"contentColor","type":"string","required":false,"default":null,"description":"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","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier icon button sizing (xs:32, sm:40, md:56, lg:96, xl:136), or a custom pixel value","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false},{"name":"checked","type":"boolean","required":false,"default":null,"description":"Makes it a toggle button (v-model:checked): selected colors, a filled icon, and a shape that morphs when pressed and when checked. Leave it unset for a plain icon button","model":true},{"name":"checkedIcon","type":"string","required":false,"default":null,"description":"Icon shown while checked, when it differs from `icon` (e.g. 'pause' for 'play_arrow')","model":false},{"name":"iconFilled","type":"boolean","required":false,"default":null,"description":"Draw the icon filled (Material Symbols' FILL axis) without making it a toggle, e.g. media controls","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted on click when `checked` is set — powers v-model:checked"}],"slots":[],"exposed":[],"types":[]},{"name":"MInfiniteScroll","import":"@m3ui-vue/m3ui-vue","description":"Wraps a scrollable list and emits load when an IntersectionObserver sentinel at the bottom becomes visible — hand it your own fetch-more logic.","props":[{"name":"loading","type":"boolean","required":false,"default":"false","description":"Currently loading more items — shows the loading slot","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disable the load trigger entirely (no observer attached)","model":false},{"name":"threshold","type":"number","required":false,"default":"100","description":"Distance in px from the sentinel before it triggers load","model":false},{"name":"loadingText","type":"string","required":false,"default":null,"description":"Text shown while loading (defaults to the locale string, 'Loading...')","model":false},{"name":"endText","type":"string","required":false,"default":null,"description":"Text shown when ended (defaults to the locale string, 'No more items')","model":false},{"name":"ended","type":"boolean","required":false,"default":"false","description":"No more items to load — shows the end slot and stops observing","model":false}],"events":[{"name":"load","args":"","description":"Emitted when the sentinel scrolls into view and more items should be fetched"}],"slots":[{"name":"default","bindings":null,"description":"The content list itself"},{"name":"loading","bindings":null,"description":"Custom loading indicator, shown when loading is true"},{"name":"end","bindings":null,"description":"Custom end-of-list content, shown when ended is true"},{"name":"idle","bindings":null,"description":"Content shown when neither loading nor ended (empty by default)"}],"exposed":[],"types":[]},{"name":"MJsonEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A JSON-aware editor built on top of MCodeEditor — validates as you type and adds format/minify shortcuts.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"JSON data (v-model, any valid JSON)","model":true},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Min height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Max height","model":false},{"name":"labels","type":"JsonEditorLabels","required":false,"default":null,"description":"Overrides for the valid/invalid badge and format/minify button text (see `JsonEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the parsed value whenever the text is valid JSON — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"JsonEditorLabels","source":"export interface JsonEditorLabels {\n valid?: string\n invalid?: string\n format?: string\n minify?: string\n}"}]},{"name":"MJsonViewer","import":"@m3ui-vue/m3ui-vue","description":"A read-only, recursively expandable tree view for inspecting JSON-compatible data.","props":[{"name":"data","type":"unknown","required":true,"default":null,"description":"Data to display (any JSON-compatible value)","model":false},{"name":"rootName","type":"string","required":false,"default":"\"root\"","description":"Name for the root node","model":false},{"name":"expandDepth","type":"number","required":false,"default":"2","description":"Levels to expand by default","model":false},{"name":"labels","type":"JsonViewerLabels","required":false,"default":null,"description":"Overrides for the collapsed-node summary text (see `JsonViewerLabels`) — defaults come from useLocale()","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"JsonViewerLabels","source":"export interface JsonViewerLabels {\n elements?: string\n fields?: string\n}"}]},{"name":"MKanban","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop board. Cards lift and follow the pointer, the others make room, and a dashed slot shows where the card will land. Works with a mouse, a finger (long-press a card) and the keyboard; the board scrolls sideways on its own when you drag near its edges.","props":[{"name":"modelValue","type":"KanbanColumn[]","required":true,"default":null,"description":"Columns with their cards (v-model). Required","model":true},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown in a column with no cards (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"KanbanColumn[]","description":"Emitted after a card moves, by pointer or keyboard (v-model)"},{"name":"cardMove","args":"{ cardId: string | number; fromColumn: string | number; toColumn: string | number; toIndex: number; }","description":"Emitted alongside update:modelValue with where the card went. Not emitted when a card is dropped back where it was"},{"name":"cardClick","args":"{ card: KanbanCard; columnId: string | number; }","description":"Emitted when a card is clicked or Enter is pressed on it. Not emitted at the end of a drag"}],"slots":[{"name":"card","bindings":"{ card: KanbanCard; column: KanbanColumn; dragging: boolean; }","description":"Content of each card. column is the full KanbanColumn; dragging is true while the card is lifted. Buttons, links and inputs inside keep working: they never start a drag or fire cardClick. Add data-kanban-action to any other element (a badge, a span) to give it the same treatment, so a click there can do something else instead of opening the card"},{"name":"column-header","bindings":"{ column: KanbanColumn; count: number; }","description":"Replaces the default header (color dot, title and count)"},{"name":"column-footer","bindings":"{ column: KanbanColumn; }","description":"Content below each column's cards, e.g. an \"Add card\" button"}],"exposed":[],"types":[{"name":"KanbanColumn","source":"export interface KanbanColumn {\n id: string | number\n title: string\n cards: KanbanCard[]\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n /** Optional WIP limit: the header shows count/limit and turns error-colored when exceeded. */\n limit?: number\n}"},{"name":"KanbanCard","source":"export interface KanbanCard {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MKbd","import":"@m3ui-vue/m3ui-vue","description":"Displays a keyboard shortcut as styled key chips. Purely presentational — pairs well with MHotkeys or MCommandPalette to show the shortcut that triggers an action.","props":[{"name":"keys","type":"string | string[]","required":true,"default":null,"description":"A '+'-delimited string (\"Ctrl+Shift+K\") or an array of keys (['Ctrl', 'Shift', 'K']).","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"md\"","description":"Key chip size","model":false},{"name":"separator","type":"string","required":false,"default":"\"+\"","description":"Separator rendered between keys","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLightbox","import":"@m3ui-vue/m3ui-vue","description":"A full-screen image viewer in the style of Google Photos. Images grow out of the picture you tapped and shrink back into it, you swipe between them with the next one already in view, zoom with a double tap or a pinch, and drag one down to close. Tapping the image hides the bars. Wrap your content and it finds the `<img>` elements by itself, or pass items.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"v-model — open/closed state","model":true},{"name":"items","type":"LightboxItem[]","required":false,"default":null,"description":"Explicit gallery. Omit it to auto-detect `<img>` elements rendered in the default slot instead.","model":false},{"name":"index","type":"number","required":false,"default":"0","description":"v-model:index — current image index","model":true},{"name":"loop","type":"boolean","required":false,"default":"true","description":"Wrap around when navigating past the first/last image","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Overrides the close button aria-label (defaults to the active locale)","model":false},{"name":"showThumbnails","type":"boolean","required":false,"default":"false","description":"Show a row of clickable thumbnails at the bottom for jumping directly to an image.","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Round the corners of the opened image.","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"Allow zooming (double tap / double click, pinch, wheel, + and - keys).","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"Largest zoom factor.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Fires when the lightbox opens or closes"},{"name":"update:index","args":"number","description":"Fires whenever the current index changes (next/prev/goTo/auto-detected image click)"},{"name":"change","args":"index: number","description":"Fires alongside update:index with the new index"}],"slots":[{"name":"default","bindings":null,"description":"Content to scan for `<img>` elements when items is not given"},{"name":"actions","bindings":"{ item: LightboxItem; index: number; }","description":"Extra buttons in the top bar (download, share, info…)."}],"exposed":[{"name":"open","type":"(i?: number, sourceEl?: HTMLElement | undefined) => void","description":""},{"name":"close","type":"() => void","description":""},{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""}],"types":[{"name":"LightboxItem","source":"export interface LightboxItem {\n src: string\n alt?: string\n caption?: string\n}"}]},{"name":"MList","import":"@m3ui-vue/m3ui-vue","description":"A vertical list container (MList) with rich, flexible rows (MListItem) and optional section headers (MListSubheader) — one-line to three-line items, leading/trailing elements, selection, navigation, segmented, and expandable variants. MListGroup splits a list into groups (separate rounded runs in a segmented list).","props":[{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact vertical padding on child items","model":false},{"name":"dividers","type":"boolean | \"inset\"","required":false,"default":"false","description":"Show separators between items — 'inset' aligns the line past a leading icon/avatar","model":false},{"name":"nav","type":"boolean","required":false,"default":"false","description":"Navigation variant with rounded (pill) active items, ideal for drawers","model":false},{"name":"segmented","type":"boolean","required":false,"default":"false","description":"Segmented style — items each get an individual rounded background instead of a flat list","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable single-item selection — items compare their value prop against selected","model":false},{"name":"selected","type":"string | number | null","required":false,"default":null,"description":"Currently selected item value (v-model:selected)","model":true},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Default line count for child items that don't set their own lines prop","model":false}],"events":[{"name":"update:selected","args":"value: string | number | null","description":"Fires when a selectable item is clicked (via v-model:selected)"}],"slots":[{"name":"default","bindings":null,"description":"MListItem / MListSubheader / MListGroup children"}],"exposed":[],"types":[]},{"name":"MListDetail","import":"@m3ui-vue/m3ui-vue","description":"Material 3's list-detail layout: a list of items and the details of the selected one. When there's room (840px and up, the expanded width class) both panes sit side by side; on smaller screens only one shows, the detail sliding in over the list when you open an item and back out on `back()`. It measures its own width, so it adapts inside a column or a dialog too. Both panes stay mounted, so the list keeps its scroll position. It has no default size: give it a height so each pane scrolls on its own.","props":[{"name":"showDetail","type":"boolean","required":false,"default":"false","description":"Whether the detail is the current destination. One-pane layouts show it instead of the list.","model":true},{"name":"listWidth","type":"string","required":false,"default":null,"description":"List pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:showDetail","args":"boolean","description":"Emitted with false when the detail slot calls back()"}],"slots":[{"name":"list","bindings":"{ twoPane: boolean; }","description":"The list pane. Scrolls on its own and keeps its scroll position while the detail is open"},{"name":"detail","bindings":"{ twoPane: boolean; back: () => void; }","description":"`back()` returns to the list (sets `showDetail` to false)."}],"exposed":[],"types":[]},{"name":"MListGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of items inside an MList, optionally titled. In a segmented list each group is a rounded run of its own (its first and last items take the large outer corners), set apart from the items and groups around it, like the grouped cards of a settings screen. Elsewhere it only groups and titles its items. Assistive technology announces it as a nested list named by its title.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Heading above the group, styled like MListSubheader","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align the title with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content, replacing the title prop"},{"name":"default","bindings":null,"description":"MListItem children"}],"exposed":[],"types":[]},{"name":"MListItem","import":"@m3ui-vue/m3ui-vue","description":"A row of an MList: headline with optional overline, supporting text, a leading icon, avatar or image, and trailing text, icon, checkbox or switch. It can be a link, be clickable or expand to show nested items.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Primary text (headline)","model":false},{"name":"overline","type":"string","required":false,"default":null,"description":"Small label above the title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text (line 2)","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Tertiary text (line 3)","model":false},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Number of text lines — auto-detected from which text props/parent MList lines are set when omitted","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"leading","type":"ListItemLeading","required":false,"default":null,"description":"Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted","model":false},{"name":"avatarName","type":"string","required":false,"default":null,"description":"Name for the avatar (when leading='avatar')","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"Image URL (when leading='image')","model":false},{"name":"iconContainerColor","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Icon container background color (when leading='icon-container')","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Trailing icon name","model":false},{"name":"trailingText","type":"string","required":false,"default":null,"description":"Trailing text label","model":false},{"name":"trailing","type":"ListItemTrailing","required":false,"default":null,"description":"Trailing element type — auto-resolves from trailingIcon/trailingText when omitted","model":false},{"name":"trailingValue","type":"boolean","required":false,"default":null,"description":"Value for a trailing switch/checkbox (v-model:trailingValue)","model":true},{"name":"value","type":"string | number","required":false,"default":null,"description":"Selection value — compared against the parent MList selected prop","model":false},{"name":"active","type":"boolean","required":false,"default":"false","description":"Force the active/highlighted state regardless of parent list selection","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled state (38% opacity, blocks interaction)","model":false},{"name":"clickable","type":"boolean","required":false,"default":null,"description":"Force interactive styling/behavior (auto-true when href, to, @click, selectable, or expandable apply)","model":false},{"name":"href","type":"string","required":false,"default":null,"description":"Link URL — renders the item as an `<a>`","model":false},{"name":"to","type":"string | object","required":false,"default":null,"description":"Vue Router destination — renders the item as a router-link","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Show an expand/collapse chevron revealing the #children slot","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Control the expanded state (v-model:expanded) — otherwise managed internally","model":true}],"events":[{"name":"update:expanded","args":"value: boolean","description":"Fires when an expandable item is toggled open/closed"},{"name":"click","args":"e: MouseEvent","description":"Fires on any click, including on an expandable item (right before it toggles)"},{"name":"update:trailingValue","args":"value: boolean","description":"Fires when a trailing switch/checkbox is toggled (trailing='switch' | 'checkbox')"}],"slots":[{"name":"leading","bindings":null,"description":"Custom leading element, replacing the icon/avatar/image/icon-container"},{"name":"overline","bindings":null,"description":"Custom overline content, replacing the overline prop"},{"name":"default","bindings":null,"description":"Custom content replacing the title/subtitle/description text block"},{"name":"children","bindings":null,"description":"Nested content revealed when expandable is set and the item is expanded"},{"name":"trailing","bindings":null,"description":"Custom trailing element, replacing the icon/text/switch/checkbox"}],"exposed":[],"types":[{"name":"ListItemLeading","source":"export type ListItemLeading = 'icon' | 'avatar' | 'checkbox' | 'radio' | 'image' | 'icon-container'"},{"name":"ListItemTrailing","source":"export type ListItemTrailing = 'icon' | 'text' | 'switch' | 'checkbox'"}]},{"name":"MListSubheader","import":"@m3ui-vue/m3ui-vue","description":"A small heading that labels a group of items inside an MList.","props":[{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Subheader text/content"}],"exposed":[],"types":[]},{"name":"MLoadingIndicator","import":"@m3ui-vue/m3ui-vue","description":"The M3 Expressive loading indicator — continuously morphs between rounded shapes (soft burst, cookie, pentagon, pill, sunny, oval) via an underdamped spring while slowly rotating. Comes in a plain and a contained (circle-backed) variant.","props":[{"name":"size","type":"number","required":false,"default":"48","description":"Overall footprint in px. The active shape sits inset within it (38/48 ratio) unless contained, where it scales to 55% of size.","model":false},{"name":"contained","type":"boolean","required":false,"default":"false","description":"Wraps the shape in a filled container circle, and recolors the shape to the OnXContainer role instead of the bare X role","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Active shape (and container, when contained) color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the indicator's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLoadingOverlay","import":"@m3ui-vue/m3ui-vue","description":"A spinner-and-text overlay, either layered on top of a piece of content via the `#content` slot, or covering the whole viewport with `fullscreen`.","props":[{"name":"visible","type":"boolean","required":true,"default":null,"description":"Show/hide the overlay","model":false},{"name":"text","type":"string","required":false,"default":null,"description":"Loading text message shown below the spinner","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Cover the entire viewport via Teleport, instead of overlaying just the #content slot","model":false},{"name":"opaque","type":"boolean","required":false,"default":"false","description":"Solid surface background instead of a translucent, blurred one","model":false},{"name":"spinnerSize","type":"number","required":false,"default":"40","description":"Spinner size in px","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Extra content shown below the spinner/text, in either mode"},{"name":"content","bindings":null,"description":"The content the overlay is layered on top of (only used when fullscreen is false)"}],"exposed":[],"types":[]},{"name":"MMap","import":"@m3ui-vue/m3ui-vue/map","description":"A MapLibre GL map, for any style: a style URL (from an MVT server like mvt-rs, MapTiler, OpenFreeMap…) or a style object. Its controls take the M3 look and the app's locale, the view can be a v-model and remembered between visits, and markers, popups, GeoJSON layers and your own controls go inside it as components. For anything else, the MapLibre map itself is the `ready` event's argument and the `map` of `useMap()` in components placed inside. Available from the `/map` entry point; needs `maplibre-gl` installed and its CSS imported (`maplibre-gl/dist/maplibre-gl.css`). Give it a height. Server-side rendering renders the empty container: MapLibre loads in the browser.","props":[{"name":"mapStyle","type":"string | maplibregl.StyleSpecification","required":true,"default":null,"description":"The map's style: a style JSON URL or a style object (MapLibre's `StyleSpecification`). Changing it reloads the style, keeping what was added at runtime (see `keepLayers`)","model":false},{"name":"keepLayers","type":"boolean | ((layer: maplibregl.LayerSpecification) => boolean)","required":false,"default":"true","description":"What happens to the sources and layers added at runtime (with `useMap()`, or by `MMapGeoJson`, `MMapMeasure`…) when `mapStyle` changes: `true` carries them into the new style, on top of its layers; `false` drops them, as MapLibre does; a function picks the layers to carry (their sources come along)","model":false},{"name":"transformStyle","type":"maplibregl.TransformStyleFunction","required":false,"default":null,"description":"MapLibre's `transformStyle` for a `mapStyle` change, run after `keepLayers`: edit the next style before it loads (copy a layer's paint over, add a sprite…)","model":false},{"name":"center","type":"[number, number]","required":false,"default":null,"description":"`[lng, lat]` (v-model). When left out, the style's (or the remembered view's)","model":true},{"name":"zoom","type":"number","required":false,"default":null,"description":"Zoom level (v-model)","model":true},{"name":"bearing","type":"number","required":false,"default":null,"description":"Rotation in degrees (v-model)","model":true},{"name":"pitch","type":"number","required":false,"default":null,"description":"Tilt in degrees (v-model)","model":true},{"name":"persist","type":"string | boolean","required":false,"default":"false","description":"Remember the view (center, zoom, bearing, pitch) in localStorage and start from it on the next visit: `true` under `m3-map-view`, or your own key (one per map)","model":false},{"name":"navigation","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Zoom and compass buttons: `false`, or a corner (`true` is top-right)","model":false},{"name":"geolocate","type":"boolean | MapControlPosition","required":false,"default":"false","description":"A button that centers the map on the user's location and follows it: `false`, or a corner (`true` is top-right)","model":false},{"name":"fullscreen","type":"boolean | MapControlPosition","required":false,"default":"false","description":"A fullscreen button: `false`, or a corner (`true` is top-right)","model":false},{"name":"scale","type":"boolean | MapControlPosition","required":false,"default":"true","description":"A metric scale bar: `false`, or a corner (`true` is bottom-left)","model":false},{"name":"attribution","type":"boolean | MapControlPosition","required":false,"default":"true","description":"The credits of the style's sources, an info button that opens into a pill: `false`, or a corner (`true` is bottom-right). Most tile providers require it","model":false},{"name":"options","type":"Partial<Omit<maplibregl.MapOptions, \"container\" | \"style\">>","required":false,"default":null,"description":"Anything else for MapLibre's `Map` constructor (`maxZoom`, `maxBounds`, `cooperativeGestures`…)","model":false},{"name":"adapter","type":"MapAdapter","required":false,"default":null,"description":"Reads the style's conventions (layer names, groups, base layers, what to identify or show on hover) for `MMapLayers`, `MMapBaseLayers`, `MMapIdentify` and `MMapHover`: `genericAdapter`, `orvianAdapter()`, or your own","model":false}],"events":[{"name":"click","args":"event: maplibregl.MapMouseEvent","description":"A click on the map (MapLibre's `MapMouseEvent`: `lngLat`, `point`)"},{"name":"ready","args":"map: maplibregl.Map","description":"The map loaded (with its style), with the MapLibre `Map`"},{"name":"update:center","args":"center: [number, number]","description":"The view moved (on `moveend`): `[lng, lat]`"},{"name":"update:zoom","args":"zoom: number","description":"The zoom changed (on `moveend`)"},{"name":"update:bearing","args":"bearing: number","description":"The rotation changed (on `moveend`)"},{"name":"update:pitch","args":"pitch: number","description":"The tilt changed (on `moveend`)"}],"slots":[{"name":"default","bindings":null,"description":"Map components (`MMapMarker`, `MMapPopup`, `MMapGeoJson`, `MMapControl`) and anything to show over the map, rendered once the map exists"}],"exposed":[{"name":"map","type":"maplibregl.Map | undefined","description":"The MapLibre map, once loaded"},{"name":"context","type":"MapContext","description":"What the components inside it share: pass the `MMap` (or this) as `map` to `MMapLayers`, `useMap()`… outside it"}],"types":[{"name":"MapControlPosition","source":"export type MapControlPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'"}]},{"name":"MMapBaseLayers","import":"@m3ui-vue/m3ui-vue/map","description":"The base layer switcher of an `MMap` with an `adapter`: a round thumbnail per base layer (the adapter's `image`, after `imageBase`), one shown at a time, plus \"no base layer\". Only the thumbnails: put them in an `MMapControl` (`:group=\"false\"`), an `MFab`'s `#content` or a panel, inside the `MMap` or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"imageBase","type":"string","required":false,"default":"\"\"","description":"Prefix for the thumbnails' paths (e.g. `/images/`); full URLs are used as they are","model":false},{"name":"none","type":"boolean","required":false,"default":"true","description":"Offer \"no base layer\"","model":false},{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Lay them out in a column","model":false},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMapControl","import":"@m3ui-vue/m3ui-vue/map","description":"Your own control in a corner of an `MMap`, stacked with MapLibre's (zoom, geolocate…) in that corner. With `group` (the default) it's a control group like the zoom buttons: put `<button>`s with a Material Symbols icon in it and they get the same M3 look. Without it, anything goes (an `MFab`, an `MSearchBar`, a card). With a `#panel` slot it expands in place: a button in it calls `toggle` and the control grows into a panel with your content (a layer picker, filters, a legend), and back. Its size springs whenever its content changes size, so the other controls in the corner move along instead of jumping. Available from the `/map` entry point.","props":[{"name":"position","type":"MapControlPosition","required":false,"default":"\"top-right\"","description":"The corner","model":false},{"name":"group","type":"boolean","required":false,"default":"true","description":"Draw it as a control group (a surface with dividers between buttons), like MapLibre's zoom buttons","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Expanded into its `#panel` (v-model:expanded)","model":true},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Springs the control's size when its content changes size (expanding, or anything else)","model":false}],"events":[{"name":"update:expanded","args":"boolean","description":"Emitted when the panel opens or closes — powers v-model:expanded"}],"slots":[{"name":"panel","bindings":"{ close: () => void; }","description":"What the control expands into (`v-model:expanded`); `{ close }`. Escape or a press outside it closes it"},{"name":"default","bindings":"{ expanded: boolean; toggle: () => void; }","description":"The control's content; `{ expanded, toggle }` when it has a `#panel`"}],"exposed":[],"types":[]},{"name":"MMapFeatureInfo","import":"@m3ui-vue/m3ui-vue/map","description":"Identify results (from `MMapIdentify`'s `identify` event, or `identifyFeatures()`): a card per feature with its layer's name and its formatted properties. `MMapIdentify` shows it in a popup; use it in a panel of your own (an `MWindow`, an `MSideSheet`) the same way. Values are shown as text. Available from the `/map` entry point.","props":[{"name":"results","type":"MapIdentifyResult[]","required":true,"default":null,"description":"What was found","model":false}],"events":[],"slots":[{"name":"value","bindings":"{ field: { key: string; label: string; value: string; }; result: MapIdentifyResult; }","description":"A property's value (scope: `{ field, result }`), e.g. to turn URLs into links"}],"exposed":[],"types":[]},{"name":"MMapFilter","import":"@m3ui-vue/m3ui-vue/map","description":"A simple filter for one layer of an `MMap`: chips for the values of one of its properties; the layer shows only the features with the selected ones (all of them with none selected). The values are `values`, or else the distinct ones among the layer's features loaded in the map. The style's own filter on the layer stays. For anything more involved, build your own on `useMapFilter()`. Inside the `MMap`, or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"layer","type":"string","required":true,"default":null,"description":"The layer's id","model":false},{"name":"property","type":"string","required":true,"default":null,"description":"The property to filter by","model":false},{"name":"values","type":"(string | number)[]","required":false,"default":null,"description":"The values to offer (labels in `labels`); by default the ones found in the layer's loaded features","model":false},{"name":"labels","type":"Record<string, string>","required":false,"default":null,"description":"Labels for the values, by value","model":false},{"name":"modelValue","type":"(string | number)[]","required":false,"default":null,"description":"The selected values (v-model)","model":true},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[{"name":"update:modelValue","args":"values: (string | number)[]","description":""}],"slots":[],"exposed":[],"types":[]},{"name":"MMapGeoJson","import":"@m3ui-vue/m3ui-vue/map","description":"GeoJSON on an `MMap`: a source from `data` (an object, or a URL MapLibre fetches) drawn with `layers`. Without `layers` it draws every geometry in the theme's primary, following palette and dark mode: polygons filled with an outline, lines, and points as circles. Replace `data` (a new object) to update it. It's added again after a style change. Available from the `/map` entry point.","props":[{"name":"data","type":"any","required":true,"default":null,"description":"A GeoJSON object, or the URL of one","model":false},{"name":"id","type":"string","required":false,"default":null,"description":"The source's id (and the prefix of its layers' made-up ids). Unique on the map; generated when left out","model":false},{"name":"layers","type":"MapGeoJsonLayer[]","required":false,"default":null,"description":"How to draw it: MapLibre layers without `source`. Defaults to theme-colored fill, outline, line and circle layers","model":false},{"name":"before","type":"string","required":false,"default":null,"description":"Insert the layers below this layer id (e.g. under the style's labels)","model":false},{"name":"interactive","type":"boolean","required":false,"default":"false","description":"Show a pointer over its features (set it when you handle `click`)","model":false},{"name":"sourceOptions","type":"Partial<Omit<maplibregl.GeoJSONSourceSpecification, \"type\" | \"data\">>","required":false,"default":null,"description":"More options for the GeoJSON source (`cluster`, `promoteId`, `tolerance`…)","model":false}],"events":[{"name":"click","args":"event: maplibregl.MapLayerMouseEvent","description":"A click on one of its features (MapLibre's `MapLayerMouseEvent`: `e.features` holds them)"}],"slots":[],"exposed":[{"name":"sourceId","type":"string","description":"The source's id"},{"name":"layerIds","type":"() => string[]","description":"The ids of its layers on the map"}],"types":[{"name":"MapGeoJsonLayer","source":"/** A layer of `MMapGeoJson`: any MapLibre layer without its `source` (and `id`, made up when left out). */\nexport type MapGeoJsonLayer = DistributiveOmit<Exclude<Maplibre.LayerSpecification, Maplibre.BackgroundLayerSpecification>, 'id' | 'source'> & { id?: string }"}]},{"name":"MMapHover","import":"@m3ui-vue/m3ui-vue/map","description":"Hover info for an `MMap` with an `adapter`: while on (v-model), the layers with `hover` fields show them for the feature under the pointer, in a small popup that follows it. With `control` (on by default) it adds its own on/off button to the map's controls. Pointer devices only: touch has no hover. Available from the `/map` entry point.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"On (v-model)","model":true},{"name":"control","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Its on/off button: `false`, or a corner (`true` is top-right)","model":false}],"events":[{"name":"update:modelValue","args":"on: boolean","description":"Turned on or off with its button"}],"slots":[],"exposed":[],"types":[]},{"name":"MMapIdentify","import":"@m3ui-vue/m3ui-vue/map","description":"Click-to-identify for an `MMap` with an `adapter`: a click on the map lists the features of the layers marked to identify under it (with their formatted properties) in a popup, with a marker where the user clicked. The pointer turns into a hand over those layers. The `identify` event carries the results, to show them in a panel of your own instead (`:popup=\"false\"`, then `MMapFeatureInfo` in an `MWindow`). Available from the `/map` entry point.","props":[{"name":"enabled","type":"boolean","required":false,"default":"true","description":"Listen to clicks. It also pauses by itself while another tool owns them (`MMapMeasure` measuring)","model":false},{"name":"popup","type":"boolean","required":false,"default":"true","description":"Show the results in a popup at the click","model":false},{"name":"marker","type":"boolean","required":false,"default":"true","description":"Mark where the user clicked while there are results","model":false}],"events":[{"name":"identify","args":"results: MapIdentifyResult[], lngLat: [number, number]","description":"The user clicked the map: what was found there (empty when nothing) and where (`[lng, lat]`)"}],"slots":[{"name":"default","bindings":"{ results: MapIdentifyResult[]; lngLat: [number, number]; close: () => void; }","description":"The popup's content instead of `MMapFeatureInfo` (scope: `{ results, lngLat, close }`)"}],"exposed":[{"name":"close","type":"() => void","description":""}],"types":[]},{"name":"MMapLayers","import":"@m3ui-vue/m3ui-vue/map","description":"The layer list of an `MMap` with an `adapter`: a search field, the style's groups (collapsible, with a visibility toggle for the whole group and a count) and its layers, each with a visibility toggle and, expanded, its description, an opacity slider, its legend and a download link. Only the content: put it in an `MWindow`, an `MSideSheet`, an `MBottomSheet` or an `MMapControl`, inside the `MMap` or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field","model":false},{"name":"collapsed","type":"boolean","required":false,"default":"false","description":"Groups start collapsed","model":false},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[],"slots":[{"name":"actions","bindings":"{ layer: MapLayerInfo; visible: boolean; }","description":"Extra actions in an expanded layer (scope: `{ layer, visible }`)"}],"exposed":[],"types":[]},{"name":"MMapMarker","import":"@m3ui-vue/m3ui-vue/map","description":"A marker on an `MMap`, at `lngLat`: MapLibre's pin in the theme's primary (or `color`), or your own content from the default slot. With `draggable`, `lngLat` is a v-model. Content in `#popup` opens in a popup when the marker is clicked. Available from the `/map` entry point.","props":[{"name":"lngLat","type":"[number, number]","required":true,"default":null,"description":"Position, `[lng, lat]` (v-model with `draggable`)","model":true},{"name":"color","type":"string","required":false,"default":null,"description":"The pin's color (any CSS color). Defaults to the theme's primary; ignored with custom content","model":false},{"name":"draggable","type":"boolean","required":false,"default":"false","description":"Let the user drag it","model":false},{"name":"anchor","type":"maplibregl.PositionAnchor","required":false,"default":null,"description":"Which part of the marker sits on `lngLat`. By default the pin's tip (MapLibre's placement: its center, offset `[0, -14]`), and the center of custom content","model":false},{"name":"offset","type":"[number, number]","required":false,"default":null,"description":"Offset in pixels, `[x, y]`. The pin's default is MapLibre's `[0, -14]`, which puts its tip on `lngLat`","model":false},{"name":"rotation","type":"number","required":false,"default":"0","description":"Rotation in degrees","model":false}],"events":[{"name":"click","args":"event: MouseEvent","description":"The marker was clicked"},{"name":"update:lngLat","args":"lngLat: [number, number]","description":"Dragged to a new position (`draggable`): `[lng, lat]`"}],"slots":[{"name":"default","bindings":null,"description":"The marker itself, instead of the pin (any element, anchored by `anchor`)"},{"name":"popup","bindings":null,"description":"Content of a popup that opens when the marker is clicked"}],"exposed":[{"name":"marker","type":"() => maplibregl.Marker | undefined","description":"The MapLibre marker"}],"types":[]},{"name":"MMapMeasure","import":"@m3ui-vue/m3ui-vue/map","description":"Distance and area measuring on an `MMap`, with its own control (distance, area, clear). Click to add points (a preview follows the pointer), double-click, Enter or Escape to finish, click the first point to close the shape, or press the active button again (in fullscreen, Escape finishes it too where the browser allows: Chromium). Finished measurements stay editable: drag a vertex, or a midpoint to add one; the ✕ on a total or area deletes that one. Labels show each segment, the total and the area; everything follows the theme. While measuring it owns the map's clicks (`MMapIdentify` waits). Geodesic numbers, the same as turf's. Available from the `/map` entry point.","props":[{"name":"modelValue","type":"Mode | null","required":false,"default":"null","description":"The measuring mode (v-model): `'distance'`, `'area'`, or null. Set it to start measuring from outside","model":true},{"name":"control","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Its buttons: `false` (drive it with v-model), or a corner (`true` is top-right)","model":false}],"events":[{"name":"update:modelValue","args":"mode: Mode | null","description":"The measuring mode changed (`'distance'`, `'area'`, or null when it finished)"},{"name":"change","args":"measurements: { mode: Mode; points: LngLat[]; closed: boolean; length: number; area?: number | undefined; }[]","description":"The measurements changed (added, edited, cleared): each one's points, length in meters and area in m²"}],"slots":[],"exposed":[{"name":"start","type":"(next: Mode) => void","description":""},{"name":"finish","type":"(byEscape?: boolean) => void","description":""},{"name":"clear","type":"() => void","description":""},{"name":"remove","type":"(index: number) => void","description":""}],"types":[{"name":"Mode","source":"type Mode = 'distance' | 'area'"}]},{"name":"MMapPopup","import":"@m3ui-vue/m3ui-vue/map","description":"A popup on an `MMap` at `lngLat`, shown while `open` (v-model): e.g. what the user clicked on. Its content is the default slot, styled as an M3 surface. For a popup that opens from a marker, use `MMapMarker`'s `#popup` slot. Available from the `/map` entry point.","props":[{"name":"lngLat","type":"[number, number]","required":true,"default":null,"description":"Position, `[lng, lat]`","model":false},{"name":"open","type":"boolean","required":false,"default":"true","description":"Shown (v-model)","model":true},{"name":"closeButton","type":"boolean","required":false,"default":"true","description":"Show a close button","model":false},{"name":"closeOnClick","type":"boolean","required":false,"default":"true","description":"Close it when the map is clicked","model":false},{"name":"anchor","type":"maplibregl.PositionAnchor","required":false,"default":null,"description":"Where the popup sits relative to `lngLat`. By default MapLibre picks the side with room","model":false},{"name":"offset","type":"maplibregl.Offset","required":false,"default":null,"description":"Offset from `lngLat`: pixels, `[x, y]`, or one per side (`{ bottom: [0, -38], … }`, MapLibre's `Offset`). By default none: its tip touches the point","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Maximum width (CSS)","model":false}],"events":[{"name":"update:open","args":"open: boolean","description":"Closed by its close button or a click on the map (`closeOnClick`)"}],"slots":[{"name":"default","bindings":null,"description":"The popup's content"}],"exposed":[{"name":"popup","type":"() => maplibregl.Popup | undefined","description":"The MapLibre popup"}],"types":[]},{"name":"MMapSearch","import":"@m3ui-vue/m3ui-vue/map","description":"A place search on an `MMap`: a search card in a corner. Enter searches through `provider` (OpenStreetMap's Nominatim by default, or any function returning places); picking a result flies there (or fits its extent) and marks it. Available from the `/map` entry point.","props":[{"name":"provider","type":"MapSearchProvider","required":false,"default":null,"description":"Where to search: `nominatimProvider(options)` by default, or your own function","model":false},{"name":"position","type":"MapControlPosition","required":false,"default":"\"top-left\"","description":"The corner","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"The field's placeholder (the locale's \"Search places\" by default)","model":false},{"name":"zoom","type":"number","required":false,"default":"17","description":"The zoom to fly to for a result without an extent","model":false},{"name":"marker","type":"boolean","required":false,"default":"true","description":"Mark the picked result","model":false},{"name":"instant","type":"boolean","required":false,"default":"false","description":"Search while typing (debounced), for providers that allow it; Nominatim's public server doesn't","model":false}],"events":[{"name":"select","args":"result: MapSearchResult","description":"A result was picked"}],"slots":[],"exposed":[],"types":[]},{"name":"MMarkdown","import":"@m3ui-vue/m3ui-vue/markdown","description":"Renders markdown source as styled HTML — headings, lists, tables, blockquotes, links, and fenced code blocks with optional syntax highlighting, line highlighting, and a copy button.","props":[{"name":"source","type":"string","required":true,"default":null,"description":"Markdown source text","model":false},{"name":"breaks","type":"boolean","required":false,"default":"true","description":"Convert single newlines to `<br>`","model":false},{"name":"linkify","type":"boolean","required":false,"default":"true","description":"Auto-detect bare URLs and turn them into links","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMaskField","import":"@m3ui-vue/m3ui-vue","description":"A text field with a formatting mask — built-in presets or a custom pattern where `#` stands for a digit.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Masked value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"mask","type":"string","required":true,"default":null,"description":"Mask pattern (# = digit) or a built-in preset name (see `MaskPreset`)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[{"name":"MaskPreset","source":"export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip'"}]},{"name":"MMasonry","import":"@m3ui-vue/m3ui-vue","description":"Pinterest-style column layout that fills the shortest column first. Re-lays out on container resize via `ResizeObserver` and when the slotted content changes.","props":[{"name":"cols","type":"number","required":false,"default":"2","description":"Default column count","model":false},{"name":"smCols","type":"number","required":false,"default":null,"description":"Columns at sm breakpoint (640px)","model":false},{"name":"mdCols","type":"number","required":false,"default":null,"description":"Columns at md breakpoint (768px)","model":false},{"name":"lgCols","type":"number","required":false,"default":null,"description":"Columns at lg breakpoint (1024px)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The items, laid out in columns."}],"exposed":[],"types":[]},{"name":"MMenu","import":"@m3ui-vue/m3ui-vue","description":"A trigger-based dropdown menu, composed with `MMenuItem` and `MMenuDivider`. Items support unlimited-depth nested submenus via the `#children` slot.","props":[{"name":"align","type":"\"right\" | \"left\"","required":false,"default":"\"right\"","description":"Which edge of the trigger the dropdown aligns to.","model":false},{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":"{ open: boolean; }","description":"The element that opens the menu when clicked; `open` tells whether it's open."},{"name":"default","bindings":"{ close: () => void; }","description":"The menu's items (MMenuItem, MMenuDivider or your own markup); `close()` closes the menu."}],"exposed":[{"name":"close","type":"() => void","description":""},{"name":"open","type":"boolean","description":""}],"types":[]},{"name":"MMenuDivider","import":"@m3ui-vue/m3ui-vue","description":"A line between groups of items in an MMenu or MContextMenu; with `gap` in an expressive menu it splits the menu into separate rounded groups.","props":[{"name":"gap","type":"boolean","required":false,"default":"false","description":"Marks this as a group boundary for `MMenu`/`MContextMenu`'s `variant=\"expressive\"` — instead of rendering this divider in place, the parent menu splits its panel into two independently-rounded group boxes with a small gap between them. Has no effect outside an `expressive` menu, where it renders as a normal divider line.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMenuItem","import":"@m3ui-vue/m3ui-vue","description":"An item of an MMenu or MContextMenu: icon, label and a shortcut hint. Put more items in its `#children` slot to make it open a submenu. With `selected` it's one choice of several (Compose's SelectableDropdownMenuItem), with `checked` an on/off setting (CheckableDropdownMenuItem): tertiary-container and rounder while on, with a check that slides in.","props":[{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"shortcut","type":"string","required":false,"default":null,"description":"Keyboard shortcut hint displayed on the right (e.g. \"Ctrl+C\") — hidden when the item has #children","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the item","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Danger/destructive styling (error color)","model":false},{"name":"keepOpen","type":"boolean","required":false,"default":null,"description":"Keep the menu open after this item is clicked. Defaults to true for `checked` items, false otherwise","model":false},{"name":"selected","type":"boolean","required":false,"default":null,"description":"Makes it one choice of several (radio-like): selected look while true. Leave unset for a plain item","model":false},{"name":"checked","type":"boolean","required":false,"default":null,"description":"Makes it an on/off setting (v-model:checked, checkbox-like): checked look while true. Leave unset for a plain item","model":true},{"name":"selectedIcon","type":"string","required":false,"default":null,"description":"Icon shown while selected or checked. Defaults to a check that slides in when the item has no `icon`; with an `icon`, that icon stays and turns filled","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a leaf item (no #children) is clicked. Not emitted for disabled items or for items with #children, since clicking those just opens/toggles the submenu instead."},{"name":"update:checked","args":"boolean","description":"Emitted on click when `checked` is set, with the new value — powers v-model:checked"}],"slots":[{"name":"icon","bindings":"{ on: boolean; }","description":"Replaces the leading icon (an `MIcon` with a class, an image, an avatar…), `{ on }` while selected or checked. It gets the icon's 20px box and color"},{"name":"default","bindings":null,"description":"Item label text."},{"name":"children","bindings":null,"description":"Nested submenu items. In the parent MMenu's default 'flyout' mode, clicking or hovering (mouse only) the item opens a side panel — supports unlimited nesting depth. In 'push' mode, clicking the item instead swaps the whole menu panel to the submenu with a back header; hover does nothing."}],"exposed":[],"types":[]},{"name":"MMultiAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing @debounced. Selection is always instant","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted on selection change — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MMultiSelect","import":"@m3ui-vue/m3ui-vue","description":"Select multiple values with removable chips and an optional in-dropdown search.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (any type — v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when nothing selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search in dropdown","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset all selections","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input in dropdown — defaults to the current locale's string","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match search — defaults to the current locale's string","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted with the new array of selected values."}],"slots":[{"name":"no-results","bindings":null,"description":"Custom content shown in the dropdown when no options match the search query"}],"exposed":[],"types":[{"name":"MultiSelectOption","source":"export interface MultiSelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"A mobile bottom navigation bar with a pill indicator and badge support.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `NavBarItem`)","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"NavBarItem","source":"export interface NavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n}"}]},{"name":"MNavigationDrawer","import":"@m3ui-vue/m3ui-vue","description":"A slide-out or inline drawer of grouped, badge-able, optionally-nested navigation items — modal (Teleported, scrim-backed, swiped closed toward its edge) or inline (participates in layout, supports a collapsed icon-only mode).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"selected","type":"string | number","required":false,"default":null,"description":"Currently selected item value","model":false},{"name":"sections","type":"DrawerSection[]","required":true,"default":null,"description":"Array of sections (see the types below)","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Drawer header title (ignored if the #header slot is used)","model":false},{"name":"modal","type":"boolean","required":false,"default":"true","description":"Modal with a Teleported scrim overlay, or an inline sidebar that participates in normal layout flow","model":false},{"name":"collapsed","type":"boolean","required":false,"default":null,"description":"Compact mode (72px) showing only icons — inline variant only","model":false},{"name":"collapsedLabels","type":"boolean","required":false,"default":null,"description":"In `collapsed` mode, shows each item's label under its icon, with the selection on a 56×32 pill around the icon, like MNavigationRail's collapsed items — nested items included","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"Custom drawer width (e.g. \"320px\", \"25rem\"). Defaults to 22.5rem (360px)","model":false},{"name":"side","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"left\"","description":"Which side the drawer opens from. Top/bottom are only available for the modal variant — the inline variant always renders on left or right.","model":false},{"name":"swipeEnabled","type":"boolean","required":false,"default":"true","description":"Lets the modal drawer be swiped closed toward its edge; with false it only closes through v-model or the scrim","model":false},{"name":"expandSelected","type":"boolean","required":false,"default":"true","description":"Opens the groups that hold the selected item (and the selected item, if it's a group) whenever `selected` changes","model":false},{"name":"accordion","type":"boolean","required":false,"default":"false","description":"Keeps one group open per level: opening a group, by hand or through `expandSelected`, closes its siblings","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Open/closed state for v-model"},{"name":"select","args":"string | number","description":"Fires when an item is clicked — use to track the selected item"}],"slots":[{"name":"header","bindings":null,"description":"Custom header content (e.g. profile card, logo). Fully generic, no positioning constraints applied — overrides the title prop."},{"name":"default","bindings":null,"description":"Free content rendered at the end of the scrollable area, after all sections. Use for footers, logout buttons, or any custom content."},{"name":"toggle","bindings":null,"description":"Collapse/expand toggle button area (inline variant only). Renders inside a 72px centered container with a bottom border that aligns with MTopAppBar (64px height). The icon stays anchored in the same position during collapse/expand transitions."}],"exposed":[{"name":"openItems","type":"Record<string | number, boolean>","description":""}],"types":[{"name":"DrawerItem","source":"export interface DrawerItem {\n value: string | number;\n label: string;\n icon?: string;\n badge?: string | number;\n disabled?: boolean;\n to?: string | Record<string, any>;\n children?: DrawerItem[];\n iconSize?: number;\n labelClass?: string;\n py?: string;\n click?: () => void;\n}"},{"name":"DrawerSection","source":"export interface DrawerSection {\n title?: string;\n icon?: string;\n items: DrawerItem[];\n collapsible?: boolean;\n}"}]},{"name":"MNavigationRail","import":"@m3ui-vue/m3ui-vue","description":"Compact vertical navigation for desktop/tablet layouts with a pill indicator, an optional wide \"expanded\" state, and an optional modal (flyout) variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavRailItem[]","required":true,"default":null,"description":"Array of rail items (see `NavRailItem`)","model":false},{"name":"alignment","type":"\"top\" | \"bottom\" | \"center\"","required":false,"default":"\"top\"","description":"Vertical alignment of items within the rail","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Widens the rail (to fit the longest label, 220 to 360px) and shows each item's icon beside its label in a full-width pill, instead of the icon over the label. Toggle it from your own menu button.","model":true},{"name":"modal","type":"boolean","required":false,"default":"false","description":"Keeps the rail collapsed and opens the expanded rail as a panel over the app, with a scrim, instead of widening in place. It closes on a scrim click, Escape or picking an item, emitting `update:expanded`.","model":false},{"name":"hideOnCollapse","type":"boolean","required":false,"default":"false","description":"With `modal`: no collapsed rail on screen; the expanded rail slides in from off-screen and can be swiped away (Compose's `hideOnCollapse`). Open it from your own menu button","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the modal panel closes (modal mode only) — pair with :expanded for v-model:expanded. With `hideOnCollapse`, swiping the panel away closes it too"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB (or MFabMenu) at the top of the rail, above the items."}],"exposed":[],"types":[{"name":"NavRailItem","source":"export interface NavRailItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MNavigationSuite","import":"@m3ui-vue/m3ui-vue","description":"One navigation that adapts to the space, after Material 3's `NavigationSuiteScaffold`: a short navigation bar at the bottom on phones, the same bar with icons beside labels on a phone in landscape, and a navigation rail on the side from tablets up. Give it your destinations and your content; it picks MShortNavigationBar or MNavigationRail by its own size (see useWindowSizeClass) and swaps them without remounting the content. It has no default size, so give it the app's height, e.g. `class=\"h-dvh\"`.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Selected destination (v-model)","model":true},{"name":"items","type":"NavigationSuiteItem[]","required":true,"default":null,"description":"Destinations, the same shape MNavigationRail and MShortNavigationBar take","model":false},{"name":"layout","type":"\"auto\" | NavigationSuiteLayout","required":false,"default":"\"auto\"","description":"'auto' picks by the component's own size: compact width → short bar, compact height (a phone in landscape) → short bar with icons beside labels, anything else → rail. Any other value forces that navigation; 'none' hides it","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when a destination is picked (v-model)"}],"slots":[{"name":"default","bindings":"{ layout: NavigationSuiteLayout; }","description":"The app's content. Scrolls on its own, next to or above the navigation."},{"name":"fab","bindings":null,"description":"Primary action (e.g. a FAB): the rail's header, or floating above the bar at the bottom end."}],"exposed":[],"types":[{"name":"NavigationSuiteItem","source":"export interface NavigationSuiteItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"},{"name":"NavigationSuiteLayout","source":"/** The navigation component in use: a short bar (icons over labels, or beside them), or a rail. */\nexport type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none'"}]},{"name":"MNumberField","import":"@m3ui-vue/m3ui-vue","description":"A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.","props":[{"name":"modelValue","type":"number | null","required":true,"default":"null","description":"Bound numeric value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Minimum allowed value","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Maximum allowed value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Increment/decrement step","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"stepper","type":"boolean","required":false,"default":"true","description":"Show +/- buttons","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"number | null","description":"Emitted on every change — typing, stepper clicks, or arrow keys — powers v-model"},{"name":"debounced","args":"number | null","description":"Emitted debounce ms after the user stops typing (only when debounce > 0). Stepper clicks/arrow keys still emit instantly"}],"slots":[],"exposed":[],"types":[]},{"name":"MOverlay","import":"@m3ui-vue/m3ui-vue","description":"Full-screen overlay with scrim and teleport to body. A generic low-level building block — content is entirely up to you via the default slot. Your class, role and aria attributes go on the content layer (over the scrim), so `class=\"flex items-center justify-center bg-black\"` lays out and paints the slot.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"true","description":"Controls visibility (v-model)","model":true},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Show dark backdrop","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false},{"name":"closeOnEscape","type":"boolean","required":false,"default":"false","description":"Closes on Escape. It shares the library's Escape stack with MDialog and the sheets, so a dialog or menu opened over it takes Escape first","model":false},{"name":"lockScroll","type":"boolean","required":false,"default":"false","description":"Locks the page's scroll while open (shared with the library's other modal surfaces, so stacking is safe)","model":false},{"name":"transition","type":"string","required":false,"default":null,"description":"Name of a `<Transition>` (your CSS classes) to play instead of the default fade","model":false}],"events":[{"name":"update:modelValue","args":"value: boolean","description":"Emitted with false when the scrim is clicked (or Escape is pressed with closeOnEscape), for v-model support"}],"slots":[{"name":"default","bindings":null,"description":"Content shown over the scrim."}],"exposed":[],"types":[]},{"name":"MPageProgress","import":"@m3ui-vue/m3ui-vue","description":"A thin bar pinned to the top or bottom edge of the viewport, for page/route-level loading state — auto-wired to vue-router by default, or driven entirely by hand via usePageProgress().","props":[{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bar color","model":false},{"name":"thickness","type":"number","required":false,"default":"3","description":"Bar height in px","model":false},{"name":"auto","type":"boolean","required":false,"default":"true","description":"Auto-wire to vue-router's navigation guards when a router is detected. Set to `false` to drive it entirely by hand via `usePageProgress()`.","model":false},{"name":"position","type":"\"top\" | \"bottom\"","required":false,"default":"\"top\"","description":"Which edge of the viewport the bar is pinned to","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPagination","import":"@m3ui-vue/m3ui-vue","description":"Simple previous/next page navigation with an automatically computed page range label. Its texts (“1–10 of 25”, “Page 1 of 3” and the buttons’ labels) come from the app’s locale.","props":[{"name":"page","type":"number","required":true,"default":null,"description":"Current page (1-based)","model":true},{"name":"perPage","type":"number","required":true,"default":null,"description":"Items per page","model":false},{"name":"total","type":"number","required":true,"default":null,"description":"Total number of items","model":false}],"events":[{"name":"update:page","args":"number","description":"Emitted when the previous/next button is clicked — drive page with it for v-model-style two-way binding"}],"slots":[],"exposed":[],"types":[]},{"name":"MPasswordMeter","import":"@m3ui-vue/m3ui-vue","description":"A password strength bar. Scores length + character variety (0-4) and emits `score` so you can gate a submit button on it.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Password to score","model":false},{"name":"labels","type":"string[]","required":false,"default":"[\"Very weak\", \"Weak\", \"Fair\", \"Good\", \"Strong\"]","description":"5 labels, weakest to strongest.","model":false},{"name":"minLength","type":"number","required":false,"default":"8","description":"Length considered \"long enough\" — also used (+4) as the \"very long\" bonus threshold.","model":false}],"events":[{"name":"score","args":"number","description":"Emitted whenever value changes — -1 for an empty value, or 0-4 otherwise"}],"slots":[],"exposed":[],"types":[]},{"name":"MPinInput","import":"@m3ui-vue/m3ui-vue","description":"One box per character for OTP/PIN/verification codes. Typing advances to the next box, backspace on an empty box goes back, and pasting a full code fills every box at once.","props":[{"name":"modelValue","type":"string","required":true,"default":"\"\"","description":"Bound code (v-model), e.g. \"1234\"","model":true},{"name":"length","type":"number","required":false,"default":"6","description":"Number of boxes (ignored when groups is set)","model":false},{"name":"groups","type":"number[]","required":false,"default":null,"description":"Segment sizes for a grouped layout, e.g. [2, 4, 2, 3, 1, 3] renders `__ ____ __ ___ _ ___`. Overrides `length` (derived as the sum).","model":false},{"name":"separator","type":"string","required":false,"default":"\"-\"","description":"Visual separator rendered between groups (only used when `groups` is set).","model":false},{"name":"type","type":"\"numeric\" | \"alphanumeric\"","required":false,"default":"\"numeric\"","description":"Restricts which characters are accepted","model":false},{"name":"masked","type":"boolean","required":false,"default":"false","description":"Renders each box as a password field (dots instead of characters)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the boxes","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables every box","model":false},{"name":"autoFocus","type":"boolean","required":false,"default":"false","description":"Focuses the first box on mount","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the group of boxes","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every box change — powers v-model"},{"name":"complete","args":"string","description":"Fires once with the full code as soon as every box is filled — the natural place to trigger auto-submit"}],"slots":[],"exposed":[],"types":[]},{"name":"MProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A linear progress indicator — determinate, indeterminate, or the M3 Expressive wavy variant.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit for indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Indeterminate animation — also implied by omitting value","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":"\"primary\"","description":"Bar color: an M3 role or any CSS color (`#fff` over a photo, say)","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Track color: an M3 role or any CSS color. Default the role's container, or the bar color at 24% for a CSS color","model":false},{"name":"variant","type":"\"wavy\" | \"linear\"","required":false,"default":"\"linear\"","description":"Bar style","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text above the bar","model":false},{"name":"thickness","type":"number","required":false,"default":null,"description":"Stroke width in px. Defaults to 4dp, matching the real M3 token for both variants.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPullToRefresh","import":"@m3ui-vue/m3ui-vue","description":"Wraps its own scrollable container and fires a refresh event when the user pulls past a threshold at the very top of the scroll.","props":[{"name":"refreshing","type":"boolean","required":false,"default":"false","description":"Controlled loading state — set it to true in your @refresh handler and back to false once the fetch resolves; the indicator settles and releases accordingly, same pattern as MInfiniteScroll's loading prop","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the pull gesture","model":false},{"name":"threshold","type":"number","required":false,"default":"64","description":"Pull distance in px required to trigger a refresh on release","model":false},{"name":"size","type":"number","required":false,"default":"36","description":"Indicator size in px","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Indicator color","model":false}],"events":[{"name":"refresh","args":"","description":"Emitted when the user drags past threshold and releases. Set refreshing to true in the handler, then back to false once the fetch resolves."}],"slots":[{"name":"default","bindings":null,"description":"The scrollable content. A pull starts only when it's scrolled to the top; otherwise touch scrolls it normally"}],"exposed":[{"name":"scrollEl","type":"HTMLElement | null","description":"The element that scrolls the slot's content"},{"name":"scrollTo","type":"(options: ScrollToOptions) => void | undefined","description":"Scrolls the content, like `Element.scrollTo()` (e.g. `{ top: 0, behavior: 'smooth' }`)"}],"types":[]},{"name":"MQRCode","import":"@m3ui-vue/m3ui-vue/qrcode","description":"Renders a QR code as inline SVG — crisp at any size, no canvas or image assets. Available from the `/qrcode` entry point, so it never adds weight to the main bundle.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"size","type":"number","required":false,"default":"200","description":"Width/height in pixels (square)","model":false},{"name":"margin","type":"number","required":false,"default":"4","description":"Quiet zone around the code, in modules.","model":false},{"name":"errorCorrectionLevel","type":"\"M\" | \"L\" | \"Q\" | \"H\"","required":false,"default":"\"M\"","description":"Higher levels tolerate more damage/obstruction at the cost of a denser code","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Dark module color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Light module / background color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Rounds the outer container corners.","model":false},{"name":"moduleStyle","type":"\"square\" | \"dots\"","required":false,"default":"\"square\"","description":"'square' is the classic scannable pixel grid. 'dots' rounds each module — still fully scannable, just a softer look.","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is too large to encode at the given errorCorrectionLevel"}],"exposed":[],"types":[]},{"name":"MRadio","import":"@m3ui-vue/m3ui-vue","description":"A single radio button, for when you lay out the options yourself. It's selected when `modelValue` equals its `value`; for a plain list of options, MRadioGroup is simpler.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"The group's current value (v-model); share one ref between the radios of a group.","model":true},{"name":"value","type":"unknown","required":true,"default":null,"description":"The value this radio stands for; selecting it sets the v-model to it.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text next to the radio. Clicking it selects the radio too.","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Grays the radio out and ignores clicks.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color role of the selected radio.","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with `value` when the radio is selected."}],"slots":[],"exposed":[],"types":[]},{"name":"MRadioGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of radio buttons sharing a single selection, column or row layout.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"Option[]","required":true,"default":null,"description":"Radio options","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Group label","model":false},{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Layout direction","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables all radios","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Radio color","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"Option","source":"interface Option {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MRating","import":"@m3ui-vue/m3ui-vue","description":"A star rating input with half increments and any Material Symbol icon. Not part of the official M3 spec, so it's built from M3 primitives: filled/outlined icon pairs, a state layer on hover/press, and a focus ring. Click or drag to rate (drag past the first icon to clear), or use the arrow keys, Home and End when focused.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Current rating (v-model)","model":true},{"name":"max","type":"number","required":false,"default":"5","description":"Maximum stars","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Star size in px","model":false},{"name":"readonly","type":"boolean","required":false,"default":null,"description":"Display-only: not focusable, exposed as role=\"img\" with the value as its label","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables interaction","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"One of the 4 M3 roles ('primary' | 'secondary' | 'tertiary' | 'error'), or any other CSS color string","model":false},{"name":"icon","type":"string","required":false,"default":"\"star\"","description":"Material Symbol icon","model":false},{"name":"halfIncrements","type":"boolean","required":false,"default":"false","description":"Allow half-star values (click the left half of an icon). Fractional values always render exactly, with or without this prop","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted when the user rates by click, drag or keyboard (v-model). Dragging past the first icon emits 0"}],"slots":[],"exposed":[],"types":[]},{"name":"MRelative","import":"@m3ui-vue/m3ui-vue","description":"Wrapper that sets `position: relative` on a container. Use it as the positioning parent for MAbsolute children.","props":[],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content; absolutely positioned children are placed relative to it."}],"exposed":[],"types":[]},{"name":"MRelativeTime","import":"@m3ui-vue/m3ui-vue","description":"Renders a timestamp as human-readable relative text (\"5 minutes ago\", \"in 2 hours\") that keeps itself up to date, formatted with the native Intl.RelativeTimeFormat. It renders a semantic `<time>` element, and hovering it shows the full absolute date.","props":[{"name":"value","type":"string | number | Date","required":true,"default":null,"description":"Required. The timestamp to format: an ISO string, epoch milliseconds, or a Date","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 locale tag (e.g. 'es-ES'). Defaults to the app's locale (via createM3UI/useLocale), then the browser's locale.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MResponsive","import":"@m3ui-vue/m3ui-vue","description":"Shows or hides content at specific breakpoints using pure CSS (Tailwind's `hidden`/`block` utilities) — no JS resize listener.","props":[{"name":"show","type":"Breakpoint","required":false,"default":null,"description":"Show content only at this breakpoint range","model":false},{"name":"hide","type":"Breakpoint","required":false,"default":null,"description":"Hide content at this breakpoint range","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Breakpoint","source":"type Breakpoint = 'sm-up' | 'md-up' | 'lg-up' | 'xl-up' | 'sm-down' | 'md-down' | 'lg-down' | 'xl-down'"}]},{"name":"MResult","import":"@m3ui-vue/m3ui-vue","description":"A full result screen for the end of a flow: success, errors, empty states and HTTP error pages. Each status comes with its own icon, colors, title and description, and you can override any of them. The default texts come from the active locale (`useLocale`), so they follow the language passed to `createM3UI({ locale })`.","props":[{"name":"status","type":"\"info\" | \"success\" | \"warning\" | \"error\" | \"404\" | \"403\" | \"500\"","required":true,"default":null,"description":"Required. Picks the icon, its colors, and the default title/description. The three HTTP statuses also show the code in large type above the icon","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Custom title, replaces the status default","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Custom description, replaces the status default","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons, in a centered row below the description"},{"name":"default","bindings":null,"description":"Extra content below the actions row, e.g. a secondary link or fine print"}],"exposed":[],"types":[]},{"name":"MRichTextEditor","import":"@m3ui-vue/m3ui-vue/rich-text-editor","description":"A WYSIWYG editor built on tiptap, with a formatting toolbar covering text styles, lists, alignment, links, and images.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"HTML content (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown on an empty document","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables editing","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum height of the text area (not used with `fill`)","model":false},{"name":"fill","type":"boolean","required":false,"default":"false","description":"Fills the height you give the editor (`class=\"h-full\"`, `flex-1`…): the toolbar stays put and the text scrolls inside, instead of the editor growing with its content","model":false},{"name":"labels","type":"RichTextEditorLabels","required":false,"default":null,"description":"Object with all toolbar/dialog label overrides for i18n (see `RichTextEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the editor HTML on every content change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"RichTextEditorLabels","source":"export interface RichTextEditorLabels {\n bold?: string\n italic?: string\n underline?: string\n strikethrough?: string\n highlight?: string\n bulletList?: string\n orderedList?: string\n blockquote?: string\n code?: string\n alignLeft?: string\n alignCenter?: string\n alignRight?: string\n undo?: string\n redo?: string\n link?: string\n image?: string\n paragraph?: string\n heading1?: string\n heading2?: string\n heading3?: string\n insertLink?: string\n insertImage?: string\n imageUrlLabel?: string\n cancel?: string\n insert?: string\n}"}]},{"name":"MScheduler","import":"@m3ui-vue/m3ui-vue","description":"A week or day calendar grid. Events sit at their exact times, overlapping ones share the width, and anything that lasts all day or spans several days runs across the all-day row. Click a day header to open that day. Dates and times follow the app's locale.","props":[{"name":"events","type":"SchedulerEvent[]","required":false,"default":"[]","description":"Events to show (see `SchedulerEvent`)","model":false},{"name":"view","type":"\"week\" | \"day\"","required":false,"default":"\"week\"","description":"'week' or 'day'; use v-model:view to follow the header's toggle.","model":true},{"name":"date","type":"string","required":false,"default":null,"description":"The date shown (`YYYY-MM-DD`), today by default; use v-model:date to follow navigation.","model":true},{"name":"startHour","type":"number","required":false,"default":"7","description":"First visible hour","model":false},{"name":"endHour","type":"number","required":false,"default":"22","description":"Hour the grid ends at","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"First day of the week: 0 = Sunday, 1 = Monday.","model":false},{"name":"hourHeight","type":"number","required":false,"default":"56","description":"Height of one hour row, in px.","model":false},{"name":"nowIndicator","type":"boolean","required":false,"default":"true","description":"A line across today's column at the current time.","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for dates and times (Intl). Falls back to the app's configured locale","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Aria label of the previous button (defaults to the locale string)","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Aria label of the next button (defaults to the locale string)","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label of the Today button (defaults to the locale string)","model":false},{"name":"dayViewLabel","type":"string","required":false,"default":null,"description":"Label of the Day toggle (defaults to the locale string)","model":false},{"name":"weekViewLabel","type":"string","required":false,"default":null,"description":"Label of the Week toggle (defaults to the locale string)","model":false},{"name":"allDayLabel","type":"string","required":false,"default":null,"description":"Label of the all-day row (defaults to the locale string)","model":false}],"events":[{"name":"eventClick","args":"SchedulerEvent","description":"An event (in the grid or the all-day row) was clicked"},{"name":"slotClick","args":"{ date: string; hour: number; }","description":"An empty spot in the grid was clicked"},{"name":"update:date","args":"string","description":"Navigation changed the date shown (YYYY-MM-DD)"},{"name":"update:view","args":"\"week\" | \"day\"","description":"The Day/Week toggle (or a day header) changed the view"}],"slots":[{"name":"event","bindings":"{ event: SchedulerEvent; allDay: boolean; }","description":"Content of an event block."}],"exposed":[],"types":[{"name":"SchedulerEvent","source":"export interface SchedulerEvent {\n id: string | number\n title: string\n /**\n * Start: a datetime (`2026-10-17T09:30`, or ISO with a zone). For an all-day event, a date\n * (`2026-10-17`).\n */\n start: string\n /** End: a datetime (exclusive). For an all-day event, the last day (inclusive). */\n end: string\n /** Shown in the all-day row instead of the time grid. Events that span days go there too. */\n allDay?: boolean\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n}"}]},{"name":"MScheme","import":"@m3ui-vue/m3ui-vue","description":"Paints its content with a color scheme of its own, built from a seed color or from an image's dominant color (Material You's content color: an album, a dish or a profile photo coloring its own page), or one of the palettes (a theme picker's previews). Every `bg-*`/`text-*` M3 utility and every component inside it uses the scheme, in light or dark like the rest of the app, while the rest of the app keeps its palette. Its text color is the scheme's `on-surface`; it sets no background.","props":[{"name":"seed","type":"string","required":false,"default":null,"description":"Seed color (`#rrggbb`) the scheme is built from","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"An image (URL) whose dominant color becomes the seed, picked as Android picks a wallpaper's. Cross-origin images need CORS headers. `seed` wins while both are set","model":false},{"name":"palette","type":"string","required":false,"default":null,"description":"One of the palettes (`useColorPalette().palettes`, custom ones included), applied to this element only with its own CSS, in its standard contrast. `seed` and `image` win while set","model":false},{"name":"variant","type":"SchemeVariant","required":false,"default":"\"tonal-spot\"","description":"How the seed spreads into the scheme; `content` and `fidelity` keep the seed's own color most visible","model":false},{"name":"contrast","type":"number","required":false,"default":"0","description":"Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced)","model":false},{"name":"as","type":"string","required":false,"default":"\"div\"","description":"Element to render","model":false}],"events":[{"name":"seed","args":"color: string","description":"Emitted with the seed color read from `image`"}],"slots":[{"name":"default","bindings":"{ seed: string | undefined; ready: boolean; }","description":"The content. Receives `{ seed, ready }`: the seed in use (the image's once it's read) and whether the scheme is applied yet"}],"exposed":[],"types":[]},{"name":"MScrollable","import":"@m3ui-vue/m3ui-vue","description":"A constrained scroll area — vertical, horizontal, or both directions. Shows the browser's scrollbar, or with `scrollbar=\"indicator\"` M3's thin visual-only scrollbar (Compose's `Modifier.nonInteractiveScrollbar`), which appears while scrolling and fades out after.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\" | \"both\"","required":false,"default":"\"vertical\"","description":"Scroll direction","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Fixed height (CSS value)","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Maximum height (CSS value)","model":false},{"name":"scrollbar","type":"\"none\" | \"native\" | \"indicator\"","required":false,"default":"\"native\"","description":"`native`: the browser's scrollbar. `indicator`: M3's thin scrollbar, visual only (scroll with the wheel, touch or keys). `none`: no scrollbar at all.","model":false},{"name":"scrollbarFade","type":"boolean","required":false,"default":"true","description":"With `scrollbar=\"indicator\"`: show it only while scrolling, fading out after (false keeps it visible)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The scrolling content."}],"exposed":[],"types":[]},{"name":"MScrollField","import":"@m3ui-vue/m3ui-vue","description":"An endless wheel to pick a number or option by scrolling (M3 Expressive's ScrollField, a port of Compose's `ScrollField`): the centered item is the selected one. Drag, flick, use the mouse wheel, the arrow keys, or click an item. Put two side by side for a time (hours and minutes).","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Index of the selected item, 0 to count - 1 (v-model)","model":true},{"name":"count","type":"number","required":true,"default":null,"description":"Number of items; the wheel wraps around after the last one","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the field. Include the range when it isn't obvious (\"Select year between 2000 and 2025\"): the wheel wraps, so screen readers can't tell where it ends.","model":false},{"name":"format","type":"((index: number) => string)","required":false,"default":"String(index).padStart(2, \"0\")","description":"Text for each item (also what screen readers announce). Defaults to the index with at least 2 digits.","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Height in px; three items fit in the default 200 (ScrollFieldDefaults.ScrollFieldHeight)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the index of the centered item, as it changes while scrolling"}],"slots":[{"name":"item","bindings":"{ index: number; selected: boolean; }","description":"Custom content for each item, instead of the formatted number. Receives `{ index, selected }`."}],"exposed":[],"types":[]},{"name":"MSearchBar","import":"@m3ui-vue/m3ui-vue","description":"A collapsed search field that expands into a docked panel or a fullscreen overlay, with results shown below the input. The expanded panel is teleported to `<body>`; `class`, `style` and other attributes you pass land on the collapsed bar. So with a fullscreen variant you can hide the bar (e.g. `class=\"hidden\"` on phones) and open search from your own icon button through `v-model:expanded`. The docked panel is placed under the bar, so it needs the bar visible.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Controls the expanded/collapsed state — also works uncontrolled if omitted.","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"variant","type":"\"fullscreen\" | \"fullscreen-contained\" | \"docked\"","required":false,"default":"\"docked\"","description":"'docked' grows into a rounded panel anchored below the bar (default). 'fullscreen' takes over the whole viewport, matching M3's mobile search pattern — the leading icon becomes a back button either way. 'fullscreen-contained' (M3 Expressive's ExpandedFullScreenContainedSearchBar) also takes the whole viewport, on surface-container-low, but keeps the input in its pill shape, with no divider.","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed bar","model":false},{"name":"iconPosition","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"Which side of the *collapsed* bar the leading icon sits on. The expanded panel's back button always stays at the start regardless — that's a near-universal \"go back\" convention.","model":false},{"name":"textAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centers the input/placeholder text instead of the M3-standard start alignment (an iOS-style look some apps use for the collapsed bar).","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the collapsed bar","model":false}],"events":[{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the expanded state changes — powers v-model:expanded"}],"slots":[{"name":"leading","bindings":null,"description":"Overrides the collapsed bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content in both the collapsed bar and the expanded header (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions content, shown below the input while expanded"}],"exposed":[],"types":[]},{"name":"MSearchField","import":"@m3ui-vue/m3ui-vue","description":"A pill-shaped search input that filters in place: a list, a table, a grid of products. Unlike MSearchBar, it never expands into a results view; it's just the field, in M3's search bar colors and shape. Your `class` and `style` go on the pill; every other attribute (`name`, `autocomplete`, `aria-*`, listeners like `@focus` or `@keydown`) goes on the `<input>`.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"The text (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder. Defaults to the locale's `search`","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name when there's no visible label. Defaults to the placeholder","model":false},{"name":"icon","type":"string","required":false,"default":"\"search\"","description":"Leading icon, a Material Symbol. Set to '' for none","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"lg\"","description":"Height: `sm` 40px (body-medium text), `md` 48px, `lg` 56px (M3's search bar)","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear button while there's text","model":false},{"name":"clearOnEscape","type":"boolean","required":false,"default":"true","description":"Escape empties the field (keeping the key from closing a dialog or menu around it); on an empty field it leaves it and lets the key through","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"search","args":"string","description":"Enter was pressed, with the text"},{"name":"update:modelValue","args":"string","description":"The text, on every keystroke — powers v-model"},{"name":"clear","args":"","description":"The clear button (or Escape) emptied the field"}],"slots":[{"name":"leading","bindings":null,"description":"Replaces the search icon (an avatar, a back or menu button…). Spaced for a 40px icon button, as in M3's search bar: its icon lands 16px from the edge, like the default one, and the text at the same place"},{"name":"trailing","bindings":null,"description":"Extra content after the clear button (a mic button, a filter menu…)"}],"exposed":[{"name":"inputEl","type":"HTMLInputElement | undefined","description":"The `<input>` element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the input"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the input"}],"types":[]},{"name":"MSection","import":"@m3ui-vue/m3ui-vue","description":"A titled content section with optional subtitle, header actions, and divider.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Section title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Section subtitle text","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show divider below header","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between header and content","model":false},{"name":"titleVariant","type":"TextVariant","required":false,"default":"\"title-large\"","description":"Typography variant for the title","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content (overrides title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (overrides subtitle prop)"},{"name":"actions","bindings":null,"description":"Action buttons displayed in the header row"},{"name":"default","bindings":null,"description":"Main section content"}],"exposed":[],"types":[]},{"name":"MSeekBar","import":"@m3ui-vue/m3ui-vue","description":"A media seek bar (not an M3 spec component; Media3's ProgressSlider is a plain M3 Slider, which this follows in its default look): the playback position on a track with the buffered part, optional chapters, elapsed and total (or remaining) time, and a preview of the time under the pointer. Dragging scrubs locally and seeks once on release (or live, with `live`); a tap or click seeks to that point. While `playing`, it advances on its own between `modelValue` updates, so a 4Hz `timeupdate` still moves it smoothly.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Playback position in seconds (v-model)","model":true},{"name":"duration","type":"number","required":true,"default":null,"description":"Media length in seconds; 0, NaN or Infinity (not loaded yet, a live stream) disables seeking","model":false},{"name":"buffered","type":"number | [number, number][]","required":false,"default":null,"description":"How much is loaded: up to a time, or time ranges (`[[start, end], …]`, like a media element's `buffered`)","model":false},{"name":"chapters","type":"SeekBarChapter[]","required":false,"default":null,"description":"Chapter starts, drawn as gaps in the track; their titles show in the preview","model":false},{"name":"playing","type":"boolean","required":false,"default":"false","description":"The media is playing: the bar moves on its own between updates, and the wavy line waves","model":false},{"name":"playbackRate","type":"number","required":false,"default":"1","description":"Playback speed, for that motion between updates","model":false},{"name":"live","type":"boolean","required":false,"default":"false","description":"Updates the v-model continuously while dragging (the media follows the thumb), not only on release","model":false},{"name":"variant","type":"\"line\" | \"wavy\" | \"slider\"","required":false,"default":"\"slider\"","description":"`slider`: the M3 slider (bar thumb with a gap around it). `line`: a plain line with a round thumb. `wavy`: the played part waves while playing","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\"","required":false,"default":"\"md\"","description":"Track thickness: `md` (16px, the smallest M3 slider), `sm` (8px) or `xs` (4px, over a video)","model":false},{"name":"time","type":"\"none\" | \"below\" | \"sides\"","required":false,"default":"\"below\"","description":"Where the elapsed and total time go","model":false},{"name":"remaining","type":"boolean","required":false,"default":"false","description":"The end label shows the remaining time (`-1:23`) instead of the total; clicking it switches (v-model:remaining)","model":true},{"name":"format","type":"((seconds: number) => string)","required":false,"default":null,"description":"Formats a time in seconds. Default `m:ss`, or `h:mm:ss` for media an hour or longer","model":false},{"name":"keyStep","type":"number","required":false,"default":"5","description":"Seconds the arrow keys move; Page Up/Down move 10%","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Shows the time (and chapter) above the pointer while hovering or dragging","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Played part and thumb: an M3 role (`primary`, `secondary`, `tertiary`, `error`) or any CSS color","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Unplayed track: an M3 role or any CSS color. Default secondary-container","model":false},{"name":"timeColor","type":"string","required":false,"default":null,"description":"The time labels' color, as a CSS color (white over a video, say). Default on-surface-variant","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables seeking","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name. Default the locale's `seekBar`","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted on a seek (and continuously while dragging with `live`) — powers v-model"},{"name":"seek","args":"number","description":"Emitted once per seek with its time: on release of a drag, a tap or click, or a key press"},{"name":"scrub-start","args":"number","description":"Emitted when a drag starts, with its time"},{"name":"scrub","args":"number","description":"Emitted while dragging, with the time under the pointer"},{"name":"update:remaining","args":"boolean","description":"Emitted when the end label is clicked to switch between total and remaining time"}],"slots":[{"name":"preview","bindings":"{ time: number; formatted: string; chapter: SeekBarChapter | null; }","description":"Replaces the bubble shown above the pointer while hovering or dragging (a frame preview, say). Props: `{ time, formatted, chapter }`"}],"exposed":[],"types":[{"name":"SeekBarChapter","source":"export interface SeekBarChapter {\n /** Where the chapter starts, in seconds */\n start: number\n /** Shown in the preview while the pointer is over it */\n title?: string\n}"}]},{"name":"MSegmentedButton","import":"@m3ui-vue/m3ui-vue","description":"A row of joined segments for choosing between a small set of related options — single or multi select.","props":[{"name":"modelValue","type":"M","required":true,"default":null,"description":"Selected value, or values with `multiSelect` (v-model); typed after the options' values","model":true},{"name":"options","type":"SegmentedOption<V>[]","required":true,"default":null,"description":"The options to choose from; see `SegmentedOption`.","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"density","type":"\"default\" | \"compact\" | \"comfortable\"","required":false,"default":"\"default\"","description":"Button density","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected segment color","model":false}],"events":[{"name":"update:modelValue","args":"M","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"SegmentedOption","source":"export interface SegmentedOption<V extends string | number = string | number> {\n value: V\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MSelect","import":"@m3ui-vue/m3ui-vue","description":"A single-value dropdown select, docked or as a modal dialog on smaller screens.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (any type — v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when no value selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the select","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset the selection","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text shown when options is empty — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"SelectOption","source":"export interface SelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MShader","import":"@m3ui-vue/m3ui-vue","description":"A canvas container for hand-written shaders. Give it a GLSL fragment shader (Shadertoy-style — it runs on WebGL2 and works everywhere) and, optionally, a WGSL fragment shader that runs on WebGPU when the browser supports it. `renderer=\"auto\"` picks WebGPU whenever both a `wgsl` source and browser support are present, otherwise it falls back to WebGL2 — so the same component works as a drop-in on old and new browsers alike.","props":[{"name":"code","type":"string","required":true,"default":null,"description":"GLSL fragment shader body (Shadertoy-style): must define `mainImage(out vec4 fragColor, in vec2 fragCoord)`. Runs on WebGL2. Always required as the compatible baseline. Don't write the `#version`, the precision or any uniform: the component puts them in front of your code, with Shadertoy's `iTime` (seconds, stops while paused), `iResolution` (canvas size in device pixels), `iMouse` and `iFrame`, plus one per `uniforms` key.","model":false},{"name":"wgsl","type":"string","required":false,"default":null,"description":"Optional WGSL fragment shader module, e.g. `@fragment fn fs_main(@builtin(position) pos: vec4f) -> @location(0) vec4f`. Runs on WebGPU when available. Must declare its own bindings — see docs for the required uniform buffer layout.","model":false},{"name":"renderer","type":"ShaderRenderer","required":false,"default":"\"auto\"","description":"Which backend to use. 'auto' picks WebGPU when `wgsl` is set and supported, else WebGL2.","model":false},{"name":"uniforms","type":"Record<string, number | number[]>","required":false,"default":null,"description":"Custom uniforms, read every frame. In GLSL each key is declared for you, as a `float` for a number or a `vec2`–`vec4` for an array; in WGSL they're binding 1, one `vec4f` per key in this order. Keys and shapes are fixed when the shader compiles (on mount, or when `code`/`wgsl`/`renderer` change); values can change freely, e.g. to drive the shader from your own clock instead of `iTime`.","model":false},{"name":"paused","type":"boolean","required":false,"default":null,"description":"Freezes the render loop and the shader clock","model":false},{"name":"pixelRatio","type":"number","required":false,"default":null,"description":"Device pixels per CSS pixel to render at. Defaults to devicePixelRatio, capped at 2 for performance. Lower it to render fewer pixels (a \"quality\" setting); the canvas is resized when it changes.","model":false}],"events":[{"name":"error","args":"message: string","description":"Emitted on a shader compile/link error, or a WebGPU runtime error"},{"name":"ready","args":"renderer: \"webgpu\" | \"webgl\"","description":"Emitted once the backend has initialized — which backend ended up driving the canvas"}],"slots":[{"name":"loading","bindings":null,"description":"Shown while the backend initializes (default: MSpinner)"},{"name":"fallback","bindings":null,"description":"Shown when neither WebGL2 nor WebGPU is available at all"},{"name":"error","bindings":"{ message: string; }","description":"Shown on a shader compile/link/runtime error, with the message"}],"exposed":[{"name":"canvas","type":"HTMLCanvasElement | null","description":""},{"name":"status","type":"ShaderStatus","description":""},{"name":"context","type":"() => WebGL2RenderingContext | GPUDevice | null","description":"Raw WebGL2RenderingContext or GPUDevice, for consumers who want to go beyond the props API."},{"name":"pause","type":"() => void","description":""},{"name":"play","type":"() => void","description":""},{"name":"restart","type":"() => Promise<void>","description":""}],"types":[{"name":"ShaderRenderer","source":"export type ShaderRenderer = 'auto' | 'webgpu' | 'webgl'"},{"name":"ShaderStatus","source":"export type ShaderStatus = 'loading' | 'ready' | 'error' | 'fallback'"}]},{"name":"MShape","import":"@m3ui-vue/m3ui-vue","description":"Clips its content — or renders a filled shape with no content — into one of Material 3's 35 real \"expressive\" shapes. Changing `shape` spring-morphs into the new outline instead of snapping.","props":[{"name":"shape","type":"\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\"","required":true,"default":null,"description":"One of M3's 35 named \"expressive\" shapes (MaterialShapes.kt), e.g. 'Cookie9Sided', 'Heart'.","model":false},{"name":"fill","type":"string","required":false,"default":"\"currentColor\"","description":"Fill color used when there's no default slot content to clip (a decorative solid shape). SVG `fill`, not a `background-color` — a `bg-*` Tailwind class on the component itself has no effect here; use `fill` (or a `text-*` class, since the default is `currentColor`).","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring-morph into the new outline when `shape` changes — false snaps instantly instead.","model":false},{"name":"speed","type":"number","required":false,"default":"1","description":"Multiplier on the morph spring's speed (1 = default). Scales stiffness by speed² and the damping coefficient by speed, which time-scales the spring uniformly without changing its character (same amount of overshoot/settle shape, just faster or slower).","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content clipped to the shape (an image, an icon, anything). Without it the shape is drawn filled with `fill`."}],"exposed":[],"types":[{"name":"ShapeName","source":null}]},{"name":"MShortNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's shorter navigation bar (64dp, vs. MNavigationBar's classic 80dp) — a genuinely separate component, not just a size variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"ShortNavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `ShortNavBarItem`)","model":false},{"name":"arrangement","type":"\"centered\" | \"equal\"","required":false,"default":"\"equal\"","description":"'equal' fills the bar edge to edge (small screens); 'centered' groups items toward the middle instead, recommended for medium/landscape screens","model":false},{"name":"iconPosition","type":"\"top\" | \"start\"","required":false,"default":"\"top\"","description":"'top' stacks the icon above the label; 'start' places it beside the label in one wider pill — typically paired with arrangement='centered'","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ShortNavBarItem","source":"export interface ShortNavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n /** Not selectable: icon and label at 38% of the unselected color, no hover. */\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MSideSheet","import":"@m3ui-vue/m3ui-vue","description":"A panel that slides in from the right edge of the screen. Supports drag-to-dismiss from its left edge, or tapping the scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title, ignored if the header slot is used","model":false},{"name":"width","type":"string","required":false,"default":"\"w-80\"","description":"Tailwind width class for the panel (capped at max-w-[90vw])","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss from the left edge, Escape, or the close button) — powers v-model"}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default title text entirely — the close button stays"},{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MSignaturePad","import":"@m3ui-vue/m3ui-vue","description":"A bordered canvas that captures pointer strokes for signature capture. There's no v-model, since a signature isn't a simple value — read it out via events or the exposed methods.","props":[{"name":"width","type":"number","required":false,"default":"400","description":"Canvas width in px","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Canvas height in px","model":false},{"name":"lineWidth","type":"number","required":false,"default":"2.5","description":"Stroke width","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Stroke color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Canvas background color","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Container border style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables drawing","model":false}],"events":[{"name":"end","args":"string","description":"Fires after a stroke ends, with a PNG data: URL of the canvas"},{"name":"change","args":"string","description":"Fires alongside end, and also after undo() — same data: URL payload"},{"name":"begin","args":"","description":"Fires on the first pointerdown of a new stroke"}],"slots":[],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"undo","type":"() => void","description":""},{"name":"isEmpty","type":"() => boolean","description":""},{"name":"toDataURL","type":"(type?: string | undefined, quality?: number | undefined) => string","description":""}],"types":[]},{"name":"MSimpleCarousel","import":"@m3ui-vue/m3ui-vue","description":"A scroll-snap image carousel with three fixed-width layouts — hero (one protagonist item with peeking neighbors), multi-browse (several items at once, statically sized), and uncontained (variable-width items, optionally animated by scroll position). For the real M3 multi-browse carousel — where items continuously resize as you scroll instead of snapping between fixed widths — see MCarousel.","props":[{"name":"items","type":"SimpleCarouselItem[]","required":true,"default":null,"description":"Slides to render — required","model":false},{"name":"layout","type":"\"multi-browse\" | \"uncontained\" | \"hero\"","required":false,"default":"\"hero\"","description":"Carousel layout style","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Track height","model":false},{"name":"showArrows","type":"boolean","required":false,"default":"true","description":"Show prev/next arrow buttons (fade in on hover)","model":false},{"name":"showIndicators","type":"boolean","required":false,"default":"true","description":"Show dot indicators below the track","model":false},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Auto-advance slides — pauses while the pointer is over the carousel","model":false},{"name":"interval","type":"number","required":false,"default":"5000","description":"Autoplay interval in ms","model":false},{"name":"gap","type":"number","required":false,"default":"8","description":"Gap between items in pixels","model":false},{"name":"visibleItems","type":"number","required":false,"default":"3","description":"Number of visible items (multi-browse layout only)","model":false},{"name":"animated","type":"boolean","required":false,"default":"false","description":"Dynamically grow the centered item and shrink the others while scrolling (uncontained layout only)","model":false}],"events":[{"name":"change","args":"index: number","description":"Fires with the new active item index whenever the track scrolls to a different closest item"}],"slots":[],"exposed":[{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""},{"name":"scrollToItem","type":"(index: number) => void","description":""},{"name":"scrollToPage","type":"(page: number) => void","description":""},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Moves keyboard focus to the carousel, so the arrow keys move it"}],"types":[{"name":"SimpleCarouselItem","source":"export interface SimpleCarouselItem {\n src: string\n alt?: string\n label?: string\n supportingText?: string\n ratio?: number\n}"}]},{"name":"MSkeleton","import":"@m3ui-vue/m3ui-vue","description":"A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.","props":[{"name":"variant","type":"\"rounded\" | \"text\" | \"circular\" | \"rectangular\"","required":false,"default":"\"text\"","description":"Skeleton shape","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"CSS width (defaults to 100%, or 40px for circular)","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"CSS height (defaults to 14px for text, 40px for circular, 100px otherwise)","model":false},{"name":"lines","type":"number","required":false,"default":"1","description":"Number of text lines (text variant only) — the last line renders at 60% width","model":false},{"name":"animation","type":"\"none\" | \"pulse\" | \"wave\"","required":false,"default":"\"pulse\"","description":"Animation style","model":false},{"name":"radius","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | (string & {})","required":false,"default":null,"description":"Corner radius: an M3 shape step (`none`, `xs` 4px, `sm` 8px, `md` 12px, `lg` 16px, `xl` 28px, `full`) or any CSS length, to match the card or thumbnail it stands in for. Defaults to the variant's (a Tailwind `rounded-*` class works too)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSlider","import":"@m3ui-vue/m3ui-vue","description":"The M3 slider — vertical bar thumb, rounded track with gap, standard/centered/range variants, horizontal or vertical.","props":[{"name":"modelValue","type":"number | [number, number]","required":true,"default":null,"description":"Current value — a tuple when variant is range","model":true},{"name":"min","type":"number","required":false,"default":"0","description":"Minimum value","model":false},{"name":"max","type":"number","required":false,"default":"100","description":"Maximum value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Step increment","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the slider","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"showValue","type":"boolean","required":false,"default":"false","description":"Show current value beside label","model":false},{"name":"showTooltip","type":"boolean","required":false,"default":"false","description":"Show value tooltip while dragging","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Slider orientation","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"xs\"","description":"Track and thumb size","model":false},{"name":"variant","type":"\"standard\" | \"centered\" | \"range\"","required":false,"default":"\"standard\"","description":"Standard, centered (from middle), or range (two thumbs)","model":false},{"name":"stops","type":"boolean","required":false,"default":"false","description":"Show stop dots at each step (max 30 visible)","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown before the slider — hides once the fill reaches it","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Base color — used for the fill and thumb unless overridden by fillColor/thumbColor","model":false},{"name":"fillColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the filled/active portion of the track and the corner dot. Defaults to `color`'s M3 token.","model":false},{"name":"thumbIcon","type":"string","required":false,"default":null,"description":"Replaces the draggable bar thumb with an icon.","model":false},{"name":"thumbColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the thumb (bar or icon). Defaults to `color`'s M3 token.","model":false}],"events":[{"name":"update:modelValue","args":"number | [number, number]","description":"Emitted while dragging and on key presses, with the new value (a `[low, high]` pair for the range variant)."}],"slots":[],"exposed":[],"types":[]},{"name":"MSnackbar","import":"@m3ui-vue/m3ui-vue","description":"Renders the toasts shown with `useToast()`. It's mounted for you the first time `useToast()` is called, so you don't place it yourself; its position comes from `useToast().position`.","props":[{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Accessible label of each toast's close button. Defaults to the locale's \"Close\".","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSpacer","import":"@m3ui-vue/m3ui-vue","description":"Pushes flex siblings apart — renders a simple `flex: 1` div. Use it inside MFlex/MStack (or any flex container) to push a group of items to the far edge.","props":[],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSparkline","import":"@m3ui-vue/m3ui-vue","description":"A small trend chart, drawn as SVG with no chart library: a line, an area or bars, for next to a number (a stat card, a table cell, a list item). It fills its box (size it with classes; 96×28px by default), drawn at its real size so dots and bars don't stretch. When the data changes the shape springs to the new values. Screen readers get a summary (first, last, low, high) instead of the drawing. Not an M3 spec component.","props":[{"name":"data","type":"number[]","required":true,"default":null,"description":"The values, oldest first","model":false},{"name":"type","type":"\"line\" | \"bar\" | \"area\"","required":false,"default":"\"line\"","description":"Line, line with a soft fill under it, or bars","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"An M3 color role (`primary`, `tertiary`, `error`...) or any CSS color","model":false},{"name":"smooth","type":"boolean","required":false,"default":"true","description":"Smooth curve through the points (monotone: it never overshoots them) instead of straight segments","model":false},{"name":"showLast","type":"boolean","required":false,"default":"true","description":"A dot on the last point (line and area)","model":false},{"name":"strokeWidth","type":"number","required":false,"default":"2","description":"Line width in px","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Fix the bottom of the scale (otherwise the lowest value, or 0 for bars)","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Fix the top of the scale (otherwise the highest value)","model":false},{"name":"baseline","type":"number","required":false,"default":null,"description":"A dashed reference line at this value (a target, yesterday's close)","model":false},{"name":"interactive","type":"boolean","required":false,"default":"false","description":"Follow the pointer with a dot and emit `hover` with the index under it","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name; defaults to a summary of the data in the app's language","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring to new data; false (or reduced motion) jumps","model":false}],"events":[{"name":"hover","args":"index: number | null","description":"With `interactive`: the index of the point under the pointer, or null when it leaves"}],"slots":[],"exposed":[],"types":[]},{"name":"MSpinner","import":"@m3ui-vue/m3ui-vue","description":"A small circular loading spinner — a standard ring, or the M3 Expressive wavy variant. For a larger, shape-morphing loading affordance, see MLoadingIndicator.","props":[{"name":"size","type":"number","required":false,"default":"20","description":"Size in px","model":false},{"name":"wavy","type":"boolean","required":false,"default":"false","description":"M3 Expressive wavy animation style — the ring rotates while a wave travels along its stroke, instead of a plain spin","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the spinner's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSplitButton","import":"@m3ui-vue/m3ui-vue","description":"A button split into a main action and a dropdown toggle — click the main part for the primary action, the arrow for alternatives.","props":[{"name":"label","type":"string","required":true,"default":null,"description":"Main button label","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Main button icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"tonal\"","description":"Visual style","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables both parts","model":false},{"name":"items","type":"SplitButtonItem[]","required":false,"default":null,"description":"Dropdown menu items; see `SplitButtonItem`","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the main (left) button is clicked"}],"slots":[{"name":"menu","bindings":"{ close: () => boolean; }","description":"Custom dropdown content. Used instead of items. Call close() to dismiss."}],"exposed":[],"types":[{"name":"SplitButtonItem","source":"export interface SplitButtonItem {\n label: string\n icon?: string\n disabled?: boolean\n onClick?: () => void\n}"}]},{"name":"MSplitter","import":"@m3ui-vue/m3ui-vue","description":"Two resizable panels divided by a draggable bar with M3's drag handle (MDragHandle) on it. The bar is also a keyboard separator: arrow keys move it (Shift for 10%), Home/End jump to the limits.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Split direction","model":false},{"name":"initialSplit","type":"number","required":false,"default":"50","description":"Initial split percentage","model":false},{"name":"min","type":"number","required":false,"default":"10","description":"Minimum panel percentage","model":false},{"name":"max","type":"number","required":false,"default":"90","description":"Maximum panel percentage","model":false}],"events":[],"slots":[{"name":"first","bindings":null,"description":"Content for the first (left/top) panel"},{"name":"second","bindings":null,"description":"Content for the second (right/bottom) panel"}],"exposed":[],"types":[]},{"name":"MSpotlightSearch","import":"@m3ui-vue/m3ui-vue","description":"A spotlight-style search overlay. Unlike MCommandPalette, it doesn't filter internally — you own the results array and update it from the search event, which makes it a natural fit for async/remote search.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"results","type":"SpotlightResult[]","required":false,"default":"[]","description":"Results to render — the component does no filtering itself, it just displays whatever you pass via the search event handler","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in place of the clear button, e.g. while an async search is in flight","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"/\"","description":"Global keyboard shortcut key (no modifier) to open the search — ignored while focus is in a text input/textarea/contenteditable","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay in ms before the search event fires after the query changes; 0 fires immediately on every keystroke","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"openHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"search","args":"string","description":"Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response"},{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"SpotlightResult","description":"Emitted when a result is chosen (click, or Enter)"}],"slots":[],"exposed":[],"types":[{"name":"SpotlightResult","source":"export interface SpotlightResult {\n id: string | number\n title: string\n description?: string\n icon?: string\n category?: string\n}"}]},{"name":"MStack","import":"@m3ui-vue/m3ui-vue","description":"Flex stack with gap, alignment, and optional dividers between items.","props":[{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Stack direction","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items (ignored when divider is true)","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"between\" | \"around\" | \"evenly\" | \"end\"","required":false,"default":"\"start\"","description":"Main-axis alignment","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show dividers between items instead of a gap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The stacked items."}],"exposed":[],"types":[]},{"name":"MStatCard","import":"@m3ui-vue/m3ui-vue","description":"A compact metric card — title, value, optional icon, and a trend indicator, with a built-in loading skeleton.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Stat label text — required","model":false},{"name":"value","type":"string | number","required":true,"default":null,"description":"Main stat value — required","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown in a colored container on the right","model":false},{"name":"trend","type":"number","required":false,"default":null,"description":"Percentage change — positive shows green/up, negative red/down, zero neutral/flat","model":false},{"name":"trendLabel","type":"string","required":false,"default":null,"description":"Text next to the trend indicator (e.g. \"vs last month\")","model":false},{"name":"color","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Icon container color","model":false},{"name":"loading","type":"boolean","required":false,"default":null,"description":"Show a skeleton placeholder instead of the value","model":false}],"events":[],"slots":[{"name":"footer","bindings":null,"description":"Extra content appended after the trend indicator/label row (only rendered when trend, trendLabel, or this slot is present)"}],"exposed":[],"types":[]},{"name":"MStepper","import":"@m3ui-vue/m3ui-vue","description":"A multi-step wizard, horizontal or vertical, with icons, descriptions, and optional/error states.","props":[{"name":"steps","type":"StepItem[]","required":true,"default":null,"description":"Step definitions (see `StepItem`)","model":false},{"name":"modelValue","type":"number","required":true,"default":null,"description":"Active step index (0-based), v-model","model":true},{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"linear","type":"boolean","required":false,"default":"true","description":"When true, steps are not clickable — only the active step changes via v-model from outside. When false, any non-active step can be clicked to jump to it.","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the new current step index."}],"slots":[],"exposed":[],"types":[{"name":"StepItem","source":"export interface StepItem {\n label: string\n description?: string\n icon?: string\n optional?: boolean\n error?: boolean\n}"}]},{"name":"MSticky","import":"@m3ui-vue/m3ui-vue","description":"Sticks content to the top of its scroll container using `position: sticky`.","props":[{"name":"top","type":"string | number","required":false,"default":"0","description":"Sticky offset from top (number = px)","model":false},{"name":"zIndex","type":"number","required":false,"default":"40","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that sticks."}],"exposed":[],"types":[]},{"name":"MSubtitle","import":"@m3ui-vue/m3ui-vue","description":"Secondary text component with muted color by default — a thin wrapper around `MText`.","props":[{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"large\"","description":"Subtitle size (maps to body-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"on-surface-variant\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The subtitle text."}],"exposed":[],"types":[]},{"name":"MSupportingPane","import":"@m3ui-vue/m3ui-vue","description":"Material 3's supporting pane layout: main content plus a narrower pane that supports it, like related videos next to a player, a cart next to a product or comments next to a document. With room for two panes (840px and up) the supporting pane sits beside the main one; on smaller screens it moves under it, or into a bottom sheet with `single-pane=\"sheet\"`. It measures its own width, not the window's.","props":[{"name":"singlePane","type":"\"below\" | \"sheet\"","required":false,"default":"\"below\"","description":"Where the supporting pane goes when there's room for only one pane.","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"With `singlePane=\"sheet\"`: whether the sheet is open (v-model:open).","model":true},{"name":"sheetTitle","type":"string","required":false,"default":null,"description":"With `singlePane=\"sheet\"`: the sheet's title.","model":false},{"name":"supportingWidth","type":"string","required":false,"default":null,"description":"Supporting pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:open","args":"boolean","description":"Emitted when the sheet is dismissed, or closed because both panes fit again"}],"slots":[{"name":"main","bindings":"{ twoPane: boolean; }","description":"The main content"},{"name":"supporting","bindings":"{ twoPane: boolean; }","description":"Content that supports the main pane: related items, a summary, details, tools"}],"exposed":[],"types":[]},{"name":"MSwipeToDismiss","import":"@m3ui-vue/m3ui-vue","description":"Content that can be swiped left or right to dismiss it, uncovering a background behind it (a port of Compose's `SwipeToDismissBox`), typically a list item with \"archive\" and \"delete\" behind. Once swiped away it stays there until you reset it (`v-model` back to `'settled'`, or `reset()`), so you decide what happens: remove the item, or undo.","props":[{"name":"modelValue","type":"SwipeToDismissValue","required":false,"default":"\"settled\"","description":"State (v-model): `'settled'`, or dismissed towards `'start-to-end'` / `'end-to-start'`. Set it to animate there.","model":true},{"name":"startToEnd","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping in the reading direction (right in LTR)","model":false},{"name":"endToStart","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping against the reading direction (left in LTR)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns the swipe gesture off (setting v-model still works)","model":false},{"name":"threshold","type":"number","required":false,"default":"56","description":"How far, in px, the content has to move before releasing dismisses it (SwipeToDismissBoxDefaults: 56dp)","model":false}],"events":[{"name":"update:modelValue","args":"SwipeToDismissValue","description":"Emitted when it settles in a new state — powers v-model"},{"name":"dismiss","args":"\"start-to-end\" | \"end-to-start\"","description":"Emitted with the direction when the content is swiped away"}],"slots":[{"name":"background","bindings":"{ direction: SwipeToDismissValue; target: SwipeToDismissValue; progress: number; }","description":"What the swipe uncovers. Receives `{ direction, target, progress }`: the side being swiped (`'start-to-end'`, `'end-to-start'` or `'settled'`), the state it would settle in if released now, and how far it has moved (0 to 1)"},{"name":"default","bindings":null,"description":"The content that moves"}],"exposed":[{"name":"reset","type":"() => void","description":"Animates back to `'settled'`"},{"name":"dismiss","type":"(dir: \"start-to-end\" | \"end-to-start\") => void","description":"Animates away in the given direction"}],"types":[{"name":"SwipeToDismissValue","source":"export type SwipeToDismissValue = 'settled' | 'start-to-end' | 'end-to-start'"}]},{"name":"MSwitch","import":"@m3ui-vue/m3ui-vue","description":"A toggle switch with an optional label, 4 semantic colors, and both M3 icon variants.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Toggle state (v-model)","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the switch","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Track/thumb color when on","model":false},{"name":"icon","type":"boolean","required":false,"default":"true","description":"Shows a check icon in the thumb while on. Set to `false` for M3's plain switch without an icon.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new on/off state."}],"slots":[],"exposed":[],"types":[]},{"name":"MTable","import":"@m3ui-vue/m3ui-vue","description":"A simple, general-purpose data table — sortable columns, built-in search, pagination, and optional row selection, with an escape hatch to delegate all three to your backend via serverSide.","props":[{"name":"columns","type":"TableColumn[]","required":true,"default":null,"description":"Column definitions: { key, label, sortable?, width?, align? }","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit `fetch` instead of filtering locally. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge, pluralized with 's' (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"TableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"}],"exposed":[],"types":[{"name":"TableFetchParams","source":"export interface TableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"},{"name":"TableColumn","source":"export interface TableColumn {\n key: string\n label: string\n sortable?: boolean\n width?: string\n align?: 'left' | 'center' | 'right'\n}"}]},{"name":"MTabs","import":"@m3ui-vue/m3ui-vue","description":"Switches between different views or content sections. The indicator animates via two independent springs (offset and width), not a CSS transition — see the component source for details.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active tab value (v-model)","model":true},{"name":"tabs","type":"Tab[]","required":true,"default":null,"description":"Tab definitions","model":false},{"name":"variant","type":"\"primary\" | \"secondary\"","required":false,"default":"\"primary\"","description":"Primary: short sliding underline shorter than the tab with a stretch animation. Secondary: full-width underline spanning the entire tab, text-only.","model":false},{"name":"scrollable","type":"boolean","required":false,"default":"false","description":"Fixed (default, M3 `TabRow`): tabs evenly share the available width, no scrolling — use for 2-5 tabs. Scrollable (M3 `ScrollableTabRow`): tabs keep their natural width and the row scrolls horizontally when they overflow — use for many tabs.","model":false},{"name":"iconPosition","type":"\"top\" | \"leading\"","required":false,"default":null,"description":"Where a tab's icon goes: `top`, stacked above the label in a 64px tab (Compose's `Tab`), or `leading`, beside the label in a 48px tab (Compose's `LeadingIconTab`). Defaults to `top` for primary tabs and `leading` for secondary ones.","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted with the value of the tab you picked."}],"slots":[],"exposed":[],"types":[{"name":"Tab","source":"interface Tab {\n value: string | number\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MTagInput","import":"@m3ui-vue/m3ui-vue","description":"Type and press Enter or comma to add a free-form tag. Backspace on an empty input removes the last tag.","props":[{"name":"modelValue","type":"string[]","required":true,"default":"[]","description":"Array of tags (v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"maxTags","type":"number","required":false,"default":null,"description":"Max number of tags allowed","model":false},{"name":"duplicates","type":"boolean","required":false,"default":"false","description":"Allow duplicate tags","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"string[]","description":"Emitted whenever a tag is added or removed — powers v-model"},{"name":"debounced","args":"string[]","description":"Emitted debounce ms after the tag list stops changing (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MTerminal","import":"@m3ui-vue/m3ui-vue/terminal","description":"A terminal emulator built on xterm.js — pre-filled static output, or fully interactive keyboard input.","props":[{"name":"lines","type":"string[]","required":false,"default":"[]","description":"Initial lines to display","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Disable input","model":false},{"name":"title","type":"string","required":false,"default":"\"Terminal\"","description":"Title bar text","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"300px\"","description":"Minimum height","model":false}],"events":[{"name":"line","args":"string","description":"Emitted with the buffered text once the user presses Enter — the usual event to handle a submitted command"},{"name":"input","args":"string","description":"Emitted for every raw keystroke/data chunk xterm receives (not readonly)"}],"slots":[],"exposed":[{"name":"write","type":"(text: string) => any","description":""},{"name":"writeln","type":"(text: string) => any","description":""},{"name":"clear","type":"() => any","description":""},{"name":"focus","type":"() => any","description":""}],"types":[]},{"name":"MText","import":"@m3ui-vue/m3ui-vue","description":"Renders any of the 15 Material 3 typography variants, with an auto-selected semantic HTML tag.","props":[{"name":"variant","type":"TextVariant","required":false,"default":"\"body-medium\"","description":"Typography variant from the Material 3 type scale","model":false},{"name":"tag","type":"string","required":false,"default":null,"description":"HTML tag to render (auto-selected based on variant — h1/h2/h3 for display/headline, p for title/body, span for label)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":"\"left\"","description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false},{"name":"lines","type":"1 | 2 | 3 | 4 | 5 | 6","required":false,"default":null,"description":"Clamp text to a specific number of lines","model":false},{"name":"weight","type":"\"medium\" | \"bold\" | \"regular\"","required":false,"default":null,"description":"Font weight override","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The text."}],"exposed":[],"types":[{"name":"TextVariant","source":"export type TextVariant =\n | 'display-large' | 'display-medium' | 'display-small'\n | 'headline-large' | 'headline-medium' | 'headline-small'\n | 'title-large' | 'title-medium' | 'title-small'\n | 'body-large' | 'body-medium' | 'body-small'\n | 'label-large' | 'label-medium' | 'label-small'"}]},{"name":"MTextField","import":"@m3ui-vue/m3ui-vue","description":"The standard single- or multi-line text input, filled or outlined, with floating label.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Bound value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"type","type":"string","required":false,"default":"\"text\"","description":"HTML input type","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Puts the field in error state (red border and label)","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown below the field (only visible when error is true)","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text shown below the field","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"multiline","type":"boolean","required":false,"default":null,"description":"Renders a textarea instead of an input","model":false},{"name":"rows","type":"number","required":false,"default":"3","description":"Textarea rows (when multiline); with autoGrow, the fewest it shrinks to","model":false},{"name":"autoGrow","type":"boolean","required":false,"default":null,"description":"Multiline only: grows with the text from `rows` up to `maxRows`, instead of a fixed height with a drag handle","model":false},{"name":"maxRows","type":"number","required":false,"default":null,"description":"With autoGrow, the most rows it grows to before scrolling. Unset grows without limit","model":false},{"name":"autocomplete","type":"string","required":false,"default":null,"description":"Passed through to the native autocomplete attribute","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the input","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button when the field has a value","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event. v-model always updates immediately","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[{"name":"trailing","bindings":null,"description":"Custom trailing content (e.g. an icon button) — replaces the built-in clear button when present"}],"exposed":[],"types":[]},{"name":"MTimeline","import":"@m3ui-vue/m3ui-vue","description":"An event timeline with icon dots, dates, and colors — a single column, alternating left/right, or horizontal. With `current` (or items' `status`) it tracks progress: done steps filled with a solid line, the current one pulsing, the rest outlined with a dashed line. Every part can be replaced through slots, which receive `{ item, index }`; your item type flows into them.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Array of timeline entries — required","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact spacing between items","model":false},{"name":"alternating","type":"boolean","required":false,"default":"false","description":"Alternate items left/right of a central line instead of a single left-aligned column (vertical only)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"Vertical (default) or horizontal: entries side by side along a line, scrolling sideways when they don't fit","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Leaves each entry's content to the `#item` slot: no title, description or date","model":false},{"name":"current","type":"number","required":false,"default":null,"description":"Makes it a progress timeline (an order's tracking, a setup's steps): the index of the current step. The ones before are done, the ones after pending; an item's own `status` wins. `items.length` marks them all done","model":false},{"name":"responsive","type":"boolean","required":false,"default":"true","description":"Lets the alternating layout fold into a single column (the line on the left, `#opposite` under the content) while the timeline is narrower than 32rem: its own width, so it works in a side column too","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Entries added after it mounts fade and slide in, and the rest move to their new places, on M3 springs (none with reduced motion). Give items a `key`, or an insertion looks like a change to every entry after it","model":false},{"name":"limit","type":"number","required":false,"default":null,"description":"Shows only the first entries (a count; groups' headers don't count), with a button for the rest","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Whether the entries past `limit` show (v-model:expanded); the timeline keeps its own state otherwise","model":true}],"events":[{"name":"update:expanded","args":"expanded: boolean","description":""}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Extra content under an entry's description (a card, chips, a button). With `bare`, the entry's whole content. `item-{index}` slots still work for a single entry and win over this one"},{"name":"title","bindings":"{ item: T; index: number; }","description":"Replaces an entry's title row (title and date)"},{"name":"dot","bindings":"{ item: T; index: number; }","description":"Replaces an entry's dot (an avatar, an image, a custom shape); the line still runs from it"},{"name":"opposite","bindings":"{ item: T; index: number; }","description":"Content across the line: on the empty side in the alternating layout, or in a column before the line in the single-column one (dates, times, amounts)"},{"name":"group","bindings":"{ group: string; items: T[]; }","description":"Replaces a group's header (scope: `{ group, items }`, the run of entries under it)"}],"exposed":[],"types":[{"name":"TimelineItem","source":"export interface TimelineItem {\n /** Stable key for the entry (defaults to its index): set it when entries are added or removed */\n key?: string | number;\n title: string;\n description?: string;\n date?: string;\n icon?: string;\n color?: \"primary\" | \"secondary\" | \"tertiary\" | \"error\" | \"success\";\n /** Any CSS color for the dot (and its line), over `color` */\n dotColor?: string;\n /**\n * Progress of a step: `done` (filled, a solid line to the next), `current` (filled, with a pulsing halo) or\n * `pending` (outlined, a dashed line). Over what the timeline's `current` gives it\n */\n status?: \"done\" | \"current\" | \"pending\";\n /**\n * A group to show it under (\"Today\", \"Yesterday\"): a header goes before each run of consecutive entries with the\n * same group, and the line stops at the end of the run\n */\n group?: string;\n}"},{"name":"TimelineStatus","source":"export type TimelineStatus = NonNullable<TimelineItem[\"status\"]>;"}]},{"name":"MTimePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored hour/minute picker with 12h/24h format support.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected time (HH:MM, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no time is selected — falls back to label, then the current locale's string","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"use24h","type":"boolean","required":false,"default":"true","description":"Use 24-hour format","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked time."}],"slots":[],"exposed":[],"types":[]},{"name":"MTimePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered time picker with a clock dial (or, with `mode=\"scroll\"`, M3 Expressive's scroll wheels from MTimeScroll) and a keyboard input mode. Supports AM/PM toggle and 24h format — the sibling of MTimePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"Use 24-hour format (shows inner ring 13-23)","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false},{"name":"mode","type":"\"dial\" | \"scroll\"","required":false,"default":"\"dial\"","description":"How the time is picked before switching to keyboard input: a clock `dial`, or `scroll` wheels (MTimeScroll)","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a time is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MTimeScroll","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's time scroll picker (a port of Compose's `TimeScroll`): an hour wheel and a minute wheel side by side, plus an AM/PM toggle in 12-hour mode. It updates as the wheels turn; put it in a dialog or a form for the confirm step.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM, 24-hour (v-model); null shows 12:00 AM (00:00 in 24-hour mode)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"24-hour wheel (00–23) instead of 1–12 with AM/PM","model":false},{"name":"minuteStep","type":"number","required":false,"default":"1","description":"Minute increment step; the minute wheel shows only multiples of it","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the wheels and the AM/PM toggle","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the time as HH:MM (24-hour) whenever a wheel or AM/PM changes"}],"slots":[],"exposed":[],"types":[]},{"name":"MTitle","import":"@m3ui-vue/m3ui-vue","description":"Semantic heading component in three sizes — a thin wrapper around `MText` at medium weight.","props":[{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"large\"","description":"Title size (maps to headline-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The title text."}],"exposed":[],"types":[]},{"name":"MToggleButton","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's standalone toggle button — morphs its own shape between a pill and a squared corner on check, and squishes further while pressed, all on a real spring. Distinct from MSegmentedButton/MButtonGroup, which are groups of options — this is a single button.","props":[{"name":"checked","type":"boolean","required":true,"default":null,"description":"Whether the toggle button is checked/selected — v-model.","model":true},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"filled\"","description":"Visual style, matching MButton's naming","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown before the label","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Same 5-tier expressive sizing as MButton","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted when clicked — powers v-model:checked"}],"slots":[{"name":"default","bindings":null,"description":"The button's label, after the icon."}],"exposed":[],"types":[]},{"name":"MToolbar","import":"@m3ui-vue/m3ui-vue","description":"A container for grouping icon buttons and actions — docked to an edge or floating as a rounded pill, horizontal or vertical, with an optional paired FAB. A floating toolbar collapses (`v-model:expanded`): with a FAB, into the FAB, which grows to 80px; without one, to its center (the default slot), closing `#leading` and `#trailing`. `collapseOnScroll` does it as the content scrolls.","props":[{"name":"variant","type":"\"docked\" | \"floating\"","required":false,"default":"\"docked\"","description":"Docked (edge-attached, full width/height, bordered) or floating (rounded pill with shadow)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color scheme","model":false},{"name":"fabPosition","type":"\"start\" | \"none\" | \"end\"","required":false,"default":"\"none\"","description":"Where the #fab slot renders relative to the toolbar body","model":false},{"name":"align","type":"\"center\" | \"start\" | \"between\" | \"end\"","required":false,"default":"\"center\"","description":"Item alignment along the main axis","model":false},{"name":"collapseOnScroll","type":"string | boolean | HTMLElement | null","required":false,"default":"false","description":"Collapse a floating toolbar as the content scrolls down and expand it as it scrolls back up (40px each way): `true` follows the window, or pass the scrolling element (or a CSS selector for it). Off by default","model":false},{"name":"expanded","type":"boolean","required":false,"default":"true","description":"A floating toolbar's state: collapsed, it shows only the FAB, or only its center without one. Default `true`","model":true}],"events":[{"name":"update:expanded","args":"value: boolean","description":"The toolbar collapsed or expanded on scroll (`collapseOnScroll`)"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB rendered alongside the toolbar body, positioned by fabPosition. The toolbar sizes an MFab in it"},{"name":"leading","bindings":null,"description":"Items before the center, hidden when a floating toolbar without a FAB collapses"},{"name":"default","bindings":null,"description":"Toolbar items — typically MIconButton/MButton, separated with MDivider. With #leading or #trailing, the center, which stays when a floating toolbar without a FAB collapses"},{"name":"trailing","bindings":null,"description":"Items after the center, hidden when a floating toolbar without a FAB collapses"}],"exposed":[],"types":[]},{"name":"MTooltip","import":"@m3ui-vue/m3ui-vue","description":"A hover/focus-triggered label — plain text, or a rich variant with a title, detailed content, and action buttons.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Tooltip text (plain variant), or the rich variant's title line","model":false},{"name":"placement","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"top\"","description":"Tooltip position relative to the trigger","model":false},{"name":"delay","type":"number","required":false,"default":"600","description":"Show delay in ms after hover/focus","model":false},{"name":"rich","type":"boolean","required":false,"default":"false","description":"Rich tooltip with a #content slot and optional #actions. Stays open when hovering the tooltip itself instead of closing immediately.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The trigger element the tooltip is anchored to"},{"name":"content","bindings":null,"description":"Rich-tooltip body content (only used when rich is true)"},{"name":"actions","bindings":null,"description":"Rich-tooltip action buttons row (only used when rich is true)"}],"exposed":[],"types":[]},{"name":"MTopAppBar","import":"@m3ui-vue/m3ui-vue","description":"A top app bar in four M3 layouts — center-aligned, small, medium, and large — with a leading navigation icon and trailing actions. Medium and large can be M3 Expressive's flexible bars (bigger titles, a subtitle), and any of them can react to scrolling: change color, hide, or collapse to the small bar.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"App bar title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"A line below the title (Compose's `subtitle`): small, center-aligned and flexible medium/large bars","model":false},{"name":"variant","type":"\"center\" | \"medium\" | \"small\" | \"large\"","required":false,"default":"\"small\"","description":"64dp small/center-aligned row, or a 112dp medium / 152dp large two-row layout with the title below","model":false},{"name":"flexible","type":"boolean","required":false,"default":"false","description":"Medium/large only: M3 Expressive's MediumFlexibleTopAppBar / LargeFlexibleTopAppBar, with a headline-medium / display-small title and room for a subtitle (112/136dp and 120/152dp tall)","model":false},{"name":"titleAlignment","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Medium/large only: where the title row sits (Compose's `titleHorizontalAlignment`)","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button — defaults to the locale's generic \"Menu\" label; override when navigationIcon is actually a back arrow rather than a drawer toggle.","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Swaps both container color (surface → surface-container) and elevation (level 0 → level 2), matching the real M3 on-scroll container tokens rather than just adding a shadow","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"enter-always\" | \"exit-until-collapsed\"","required":false,"default":null,"description":"How the bar reacts to `scrollTarget` scrolling (Compose's TopAppBarDefaults scroll behaviors). `pinned` stays put and takes the scrolled container color once the content moves under it; `enter-always` hides (a medium/large bar collapses to the small one) while the content scrolls down and comes back as soon as it scrolls up; `exit-until-collapsed` collapses a medium/large bar as the content scrolls and expands it only back at the top. The last two make the bar sticky over the content: put it at the top of the scrolling element (or of the page)","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked (not emitted when the #navigation slot is overridden — that content is fully custom)"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"title","bindings":null,"description":"Custom title content (default: renders the title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (default: renders the subtitle prop)"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MTour","import":"@m3ui-vue/m3ui-vue","description":"A guided, step-by-step walkthrough that highlights a page element per step with an auto-positioned tooltip and a dimming scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Show/hide the tour (v-model)","model":true},{"name":"steps","type":"TourStep[]","required":true,"default":null,"description":"Ordered list of steps; see `TourStep`","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Label for the Previous button (defaults to the locale string, 'Previous')","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Label for the Next button (defaults to the locale string, 'Next')","model":false},{"name":"finishLabel","type":"string","required":false,"default":null,"description":"Label for the final step's button (defaults to the locale string, 'Finish')","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the tour opens or closes (Escape-less — closed via the X button, clicking the scrim, or finishing) — powers v-model"},{"name":"finish","args":"","description":"Emitted when the user completes the last step (clicks the finish button)"}],"slots":[],"exposed":[],"types":[{"name":"TourStep","source":"export interface TourStep {\n target: string\n title: string\n content: string\n placement?: 'top' | 'bottom' | 'left' | 'right'\n}"}]},{"name":"MTransferList","import":"@m3ui-vue/m3ui-vue","description":"Move items between two panes, with select-all, optional search and v-model on the values in the target pane. Check rows and use the arrows, or double-click a row (or press Enter on its checkbox) to send it straight across. When the component is narrow, the panes stack and the arrows point up and down.","props":[{"name":"modelValue","type":"Value[]","required":true,"default":null,"description":"Values in the target (right or bottom) pane (v-model)","model":true},{"name":"items","type":"T[]","required":true,"default":null,"description":"Full list of items; see `TransferItem` (or your own type extending it)","model":false},{"name":"sourceTitle","type":"string","required":false,"default":null,"description":"Source pane title (defaults to the locale string)","model":false},{"name":"targetTitle","type":"string","required":false,"default":null,"description":"Target pane title (defaults to the locale string)","model":false},{"name":"filterable","type":"boolean","required":false,"default":"false","description":"Show a search field in each pane. It matches the label and the description","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Search field placeholder (defaults to the locale string)","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when a pane is empty (defaults to the locale string)","model":false},{"name":"moveAllRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-right button (defaults to the locale string)","model":false},{"name":"moveRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-right button (defaults to the locale string)","model":false},{"name":"moveLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-left button (defaults to the locale string)","model":false},{"name":"moveAllLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-left button (defaults to the locale string)","model":false},{"name":"listHeight","type":"string","required":false,"default":"\"280px\"","description":"Height of each list's scroll area (any CSS length).","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Fully custom rows: the `#item` slot draws the whole row (no checkbox, padding, min height or background). The row stays clickable, focusable (Space checks it, Enter moves it) and animated; use the slot's `checked` to style the checked state.","model":false}],"events":[{"name":"update:modelValue","args":"Value[]","description":"Emitted whenever items move between panes (v-model)"}],"slots":[{"name":"item","bindings":"{ item: T; checked: boolean; side: \"source\" | \"target\"; toggle: () => void; move: () => void; }","description":"Custom row content. Without `bare` it replaces the icon and text, keeping the checkbox, highlight and hover. Buttons, links, fields and `[data-transfer-action]` elements inside keep their own clicks instead of checking the row."},{"name":"source-empty","bindings":null,"description":"Custom content when the source pane is empty"},{"name":"target-empty","bindings":null,"description":"Custom content when the target pane is empty"}],"exposed":[],"types":[{"name":"TransferItem","source":"export interface TransferItem {\n value: string | number\n label: string\n icon?: string\n /** Optional second line under the label (an email, a role, a short description). */\n description?: string\n}"},{"name":"Value","source":"type Value = string | number"}]},{"name":"MTransition","import":"@m3ui-vue/m3ui-vue","description":"M3's navigation transitions between two views (a port of Compose's `MaterialTransitions`): `shared-axis` slides the new view in from the side as the old one slides out (use `reverse` when going back), and `fade-through` fades the old view out and the new one in with a slight scale, for destinations without a spatial relationship such as navigation bar tabs. Wrap content that changes its `key` (or a `v-if`/`v-else` pair, or a `<RouterView>` slot's component); both views overlap while they animate.","props":[{"name":"type","type":"\"shared-axis\" | \"fade-through\"","required":false,"default":"\"shared-axis\"","description":"`shared-axis` (horizontal, for forward/back navigation) or `fade-through` (unrelated destinations)","model":false},{"name":"reverse","type":"boolean","required":false,"default":"false","description":"Shared axis: play the backward transition (the new view comes from the start side)","model":false},{"name":"appear","type":"boolean","required":false,"default":"false","description":"Animate the first view too","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The current view; give it a `key` that changes with it"}],"exposed":[],"types":[]},{"name":"MTree","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical tree view with expand/collapse, single-node selection, and optional cascading checkbox selection.","props":[{"name":"nodes","type":"TreeNode[]","required":true,"default":null,"description":"Root nodes to render — required","model":false},{"name":"selected","type":"string | number | null","required":false,"default":"null","description":"Currently selected node id (single-select).","model":true},{"name":"checked","type":"(string | number)[]","required":false,"default":"[]","description":"Checked node ids (checkable multi-select).","model":true},{"name":"checkable","type":"boolean","required":false,"default":"false","description":"Show checkboxes with cascade selection.","model":false},{"name":"defaultExpanded","type":"\"none\" | (string | number)[] | \"all\"","required":false,"default":"\"none\"","description":"Which nodes start expanded. 'all' | 'none' | array of ids (default: 'none').","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when nodes is empty. Falls back to the app's configured locale's noItems string","model":false}],"events":[{"name":"update:selected","args":"string | number | null","description":"Fires when a node is clicked, toggling selection (clicking the already-selected node clears it)"},{"name":"update:checked","args":"(string | number)[]","description":"Fires when a checkbox toggles a node (checkable mode)"},{"name":"node-click","args":"TreeNode","description":"Fires whenever a node row is clicked, alongside update:selected"}],"slots":[],"exposed":[{"name":"expandAll","type":"() => void","description":""},{"name":"collapseAll","type":"() => void","description":""}],"types":[{"name":"TreeNode","source":"// ── Public types ────────────────────────────────────────────────────────────\n\nexport interface TreeNode {\n id: string | number\n label: string\n icon?: string\n children?: TreeNode[]\n disabled?: boolean\n [key: string]: unknown\n}"}]},{"name":"MTreeTable","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical table for nested data like file systems or org charts — rows can carry a `children` array, and the first column renders the indent and expand/collapse toggle automatically.","props":[{"name":"columns","type":"TreeTableColumn[]","required":true,"default":null,"description":"Column definitions; see `TreeTableColumn`","model":false},{"name":"rows","type":"TreeTableRow[]","required":true,"default":null,"description":"Hierarchical rows with an optional children array; see `TreeTableRow`","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"defaultExpanded","type":"boolean","required":false,"default":"false","description":"Expand all nodes with children by default","model":false},{"name":"indent","type":"number","required":false,"default":"24","description":"Indentation per depth level, in px","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when rows is empty. Falls back to the app's configured locale's noResults string","model":false}],"events":[{"name":"rowClick","args":"TreeTableRow","description":"Emitted with the row when you click it."}],"slots":[{"name":"toolbar","bindings":"{ expandAll: () => void; collapseAll: () => void; }","description":"Toolbar content above the table, only rendered when this slot is used — gets expandAll()/collapseAll() helpers"}],"exposed":[],"types":[{"name":"TreeTableColumn","source":"export interface TreeTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n}"},{"name":"TreeTableRow","source":"export interface TreeTableRow {\n [key: string]: any\n children?: TreeTableRow[]\n}"}]},{"name":"MVirtualTable","import":"@m3ui-vue/m3ui-vue","description":"Renders only the rows currently in (or near) the viewport, so a table with thousands of rows stays smooth — no pagination needed. Trade-off: no built-in search/filtering, sort is a client-side full-array sort.","props":[{"name":"columns","type":"VTableColumn[]","required":true,"default":null,"description":"Column definitions; see `VTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"All rows — the full array is held in memory, only visible rows are rendered to the DOM","model":false},{"name":"rowHeight","type":"number","required":false,"default":"44","description":"Fixed row height in px, used for the virtualization math","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"overscan","type":"number","required":false,"default":"5","description":"Extra rows rendered above/below the visible viewport, to reduce blank flashes on fast scroll","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"500px\"","description":"Scrollable container height (any valid CSS height)","model":false}],"events":[{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row."}],"slots":[],"exposed":[],"types":[{"name":"VTableColumn","source":"export interface VTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n sortable?: boolean\n}"}]},{"name":"MWindow","import":"@m3ui-vue/m3ui-vue","description":"A floating, draggable, resizable window — the building block for a desktop-style multi-window UI inside your app. Drag from the title bar, resize from any edge or corner, minimize to just the title bar, maximize (or double-click the title bar) to fill its container, and click any window to bring it to front. The window in front shows a stronger title bar and elevation, the others step back. Material 3 has no window component, so this one is built from M3 pieces: surface tones, elevation levels, 32dp icon buttons with state layers, and standard motion.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Visible state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Window title in the title bar","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon in the title bar","model":false},{"name":"width","type":"string","required":false,"default":"\"400px\"","description":"Initial width","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Initial height","model":false},{"name":"minWidth","type":"number","required":false,"default":"200","description":"Minimum width in px","model":false},{"name":"minHeight","type":"number","required":false,"default":"150","description":"Minimum height in px","model":false},{"name":"maxWidth","type":"number","required":false,"default":null,"description":"Maximum width in px","model":false},{"name":"maxHeight","type":"number","required":false,"default":null,"description":"Maximum height in px","model":false},{"name":"resizable","type":"boolean","required":false,"default":"true","description":"Allow resizing from edges and corners","model":false},{"name":"draggable","type":"boolean","required":false,"default":"true","description":"Allow dragging from the title bar","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show close button","model":false},{"name":"minimizable","type":"boolean","required":false,"default":"true","description":"Show minimize button (collapses to title bar)","model":false},{"name":"maximizable","type":"boolean","required":false,"default":"true","description":"Maximize button, and double-click on the title bar, to fill the parent and back.","model":false},{"name":"snap","type":"boolean","required":false,"default":"false","description":"Edge snapping while dragging, like GNOME: hold the pointer at the parent's top edge to maximize, or at its left/right edge to fill that half. A preview shows where it will land.","model":false},{"name":"offscreen","type":"boolean","required":false,"default":"false","description":"Lets the window be dragged partly out of its container, like a desktop: up to 3/4 of its width past either side, and down until only the title bar shows; never above the top. The container should clip it (`overflow: hidden`).","model":false},{"name":"x","type":"number","required":false,"default":"50","description":"Initial X position","model":false},{"name":"y","type":"number","required":false,"default":"50","description":"Initial Y position","model":false},{"name":"resetPosition","type":"boolean","required":false,"default":"false","description":"Reset position, size, and state when the window is closed","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"update:modelValue","args":"value: boolean","description":"Emitted when the window closes — powers v-model"},{"name":"minimize","args":"","description":"Emitted when the minimize button is toggled (either direction)"},{"name":"maximize","args":"maximized: boolean","description":"Emitted when the window is maximized (true) or restored (false)"},{"name":"focus","args":"","description":"Emitted when the window comes to the front."}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default icon + title, keeps drag behavior"},{"name":"actions","bindings":null,"description":"Extra buttons in the title bar, before minimize/maximize/close. MIconButton size=\"xs\" matches the built-in ones"},{"name":"default","bindings":null,"description":"The window's content, under the title bar. Unmounted while the window is hidden."}],"exposed":[{"name":"focus","type":"() => void","description":"Brings the window to the front, e.g. from a taskbar."},{"name":"toggleMaximize","type":"() => void","description":""},{"name":"toggleMinimize","type":"() => void","description":""}],"types":[]}],"values":[{"name":"useMap","import":"@m3ui-vue/m3ui-vue/map","signature":"useMap(source?: MaybeRefOrGetter<MapSource>): {\n map: ComputedRef<Map$1 | undefined>\n maplibre: ComputedRef<typeof import(\"/home/runner/work/m3ui-vue/m3ui-vue/node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl\") | undefined>\n styleVersion: ComputedRef<number>\n activeTool: Ref<string | null>\n onReady: (fn: (map: Maplibre.Map, maplibre: MaplibreModule) => void) => void\n on: (type: T, listener: (e: Maplibre.MapEventType[T] & object) => void) => void\n onLayer: (type: T, layerId: string, listener: (e: Maplibre.MapLayerEventType[T] & object) => void) => void\n}","description":"The map of the enclosing `MMap`, for your own controls, layers and handlers (call it in a component inside `MMap`). Listeners added through it are removed when the component unmounts. Outside an `MMap` (a side panel), pass it one: the `MMap`'s template ref, or a getter for it; until it mounts, `map` is undefined and `onReady` waits. ```ts const { map, onLayer } = useMap() onLayer('click', 'parcels-fill', (e) => console.log(e.features?.[0]?.properties)) // In a panel next to the map: <MMap ref=\"mapRef\"> … <MyPanel :map=\"mapRef\" /> const { map } = useMap(() => props.map) ```"},{"name":"useMapLayers","import":"@m3ui-vue/m3ui-vue/map","signature":"useMapLayers(source?: MaybeRefOrGetter<MapSource>): {\n model: ComputedRef<MapLayerModel | undefined>\n layers: ComputedRef<MapLayerInfo[]>\n isVisible: (id: string) => boolean\n setVisible: (id: string, visible: boolean) => void\n toggle: (id: string) => void\n opacityOf: (id: string) => number\n setOpacity: (id: string, opacity: number) => void\n layersOf: (group: string | null) => MapLayerInfo[]\n groupState: (group: string) => \"visible\" | \"hidden\" | \"partial\"\n setGroupVisible: (group: string, visible: boolean) => void\n baseLayers: ComputedRef<MapLayerInfo[]>\n baseLayer: ComputedRef<string | null>\n setBaseLayer: (id: string | null) => void\n}","description":"The layers of the enclosing `MMap`'s style as its `adapter` describes them, with their visibility and opacity, for a layer panel or a base layer switcher of your own (`MMapLayers` and `MMapBaseLayers` are built on it). Changes go to the map and to every component using it; a layer's `children` follow it. Outside an `MMap`, pass it one (its template ref), as with `useMap`."},{"name":"genericAdapter","import":"@m3ui-vue/m3ui-vue/map","signature":"genericAdapter(style: Maplibre.StyleSpecification, context: MapAdapterContext): MapLayerModel","description":"Any style: every layer but the background is listed under its id (or `metadata.title`), vector layers identify all their properties, and nothing is a base layer or shows on hover."},{"name":"orvianAdapter","import":"@m3ui-vue/m3ui-vue/map","signature":"orvianAdapter(options: OrvianAdapterOptions = {}): MapAdapter","description":"The Orvian viewers' conventions in the style's `metadata`. On each layer: `alias`, `description`, `group`, `show_in_layerlist` (false hides it from the list), `isbaselayer` with `image` (raster base layers), `childs` (layer ids toggled with it), `identify` (true lists its properties on click), `fields` (per property: `alias`, `prefix`, `suffix`, `mask`, `show: false`; plus `exclude`, a list of properties to leave out), `hover` (`enable` and `fields`, a list of `{ <property>: { alias, prefix, suffix, mask } }`), `legend` (`show`, `wmslegend`) and `download`. On the style: `groups` (`{ name, alias }`, in order)."},{"name":"identifyFeatures","import":"@m3ui-vue/m3ui-vue/map","signature":"identifyFeatures(map: Maplibre.Map, point: Maplibre.PointLike, model: MapLayerModel | undefined): MapIdentifyResult[]","description":"The features of the model's identify layers at a point (topmost first), with their properties formatted: what `MMapIdentify` lists on click, for a UI of your own."},{"name":"formatFieldValue","import":"@m3ui-vue/m3ui-vue/map","signature":"formatFieldValue(raw: unknown, format?: MapFieldFormat): string","description":"A property's value as text: numbers through `mask` (in the page's language, `<html lang>`), then `prefix` and `suffix`. Empty values give ''."},{"name":"fieldLabel","import":"@m3ui-vue/m3ui-vue/map","signature":"fieldLabel(key: string, format?: MapFieldFormat): string","description":"A property's label: its format's, or the key with a capital first letter."},{"name":"useMapFilter","import":"@m3ui-vue/m3ui-vue/map","signature":"useMapFilter(source?: MaybeRefOrGetter<MapSource>): {\n setFilter: (layerId: string, filter: Maplibre.FilterSpecification | null) => void\n valuesOf: (layerId: string, property: string) => (string | number)[]\n}","description":"Filters for the layers of the enclosing `MMap`, on top of the filters their style already has (a layer that only draws parks keeps doing so): `setFilter(layer, expression)` combines both, `setFilter(layer, null)` brings the style's back. `MMapFilter` is built on it; use it for filters of your own (a range slider, a date, a search…). Outside an `MMap`, pass it one (its template ref), as with `useMap`."},{"name":"nominatimProvider","import":"@m3ui-vue/m3ui-vue/map","signature":"nominatimProvider(options: NominatimOptions = {}): MapSearchProvider","description":"OpenStreetMap's Nominatim geocoder. Its public server allows one search per second and no search-as-you-type: `MMapSearch` searches on Enter."},{"name":"shapeNames","import":"@m3ui-vue/m3ui-vue","signature":"shapeNames: (\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\")[]","description":""},{"name":"createM3UI","import":"@m3ui-vue/m3ui-vue","signature":"createM3UI(options: M3UIOptions = {}): {\n install: (app: App<any>) => void\n}","description":""},{"name":"useTheme","import":"@m3ui-vue/m3ui-vue","signature":"useTheme(): {\n theme: Ref<Theme>\n cycle: () => void\n}","description":""},{"name":"useColorPalette","import":"@m3ui-vue/m3ui-vue","signature":"useColorPalette(): {\n palette: Ref<string>\n palettes: Palette[]\n set: (id: PaletteId | (string & {})) => void\n seed: Readonly<Ref<{ readonly seed: string; readonly variant?: SchemeVariant; readonly contrast?: number; } | null>>\n setSeed: (seed: string, options?: SeedOptions) => Promise<void>\n contrast: Readonly<Ref<ContrastLevel>>\n activeContrast: Ref<\"standard\" | \"medium\" | \"high\">\n setContrast: (level: ContrastLevel) => void\n persistPalette: Ref<boolean>\n setPersistPalette: (enabled: boolean) => void\n}","description":""},{"name":"palettes","import":"@m3ui-vue/m3ui-vue","signature":"palettes: Palette[]","description":"Every palette: the built-in ones, plus `createM3UI({ customPalettes })`."},{"name":"useConfetti","import":"@m3ui-vue/m3ui-vue","signature":"useConfetti(): {\n fire: (origin?: ConfettiOrigin | ConfettiOptions, options?: ConfettiOptions) => void\n}","description":"Confetti for a component: `fire(event)` from the pointer, `fire(el)` from an element, `fire({ from: 'top' })`."},{"name":"fireConfetti","import":"@m3ui-vue/m3ui-vue","signature":"fireConfetti(origin?: ConfettiOrigin, options: ConfettiOptions = {}): void","description":"Fires a burst of confetti. Browser only; does nothing under reduced motion."},{"name":"useContainerTransform","import":"@m3ui-vue/m3ui-vue","signature":"useContainerTransform(): ContainerTransformController<T>","description":"Material's container transform for elements that live apart from their expanded view: one controller, many elements opening it (a grid of cards), and one `<MContainerTransform :controller>` wherever the expanded view belongs. `open(event, item)` from a click grows that element into the expanded view, with `item` for it to show. ```ts const detail = useContainerTransform<Recipe>() // <MCard v-for=\"r in recipes\""},{"name":"SEED_PALETTE","import":"@m3ui-vue/m3ui-vue","signature":"SEED_PALETTE: \"seed\"","description":"The palette id used while a seed color is active (`useColorPalette().setSeed()`)."},{"name":"themeInitScript","import":"@m3ui-vue/m3ui-vue","signature":"themeInitScript(options: ThemeInitOptions = {}): string","description":"A script to inline in `<head>` of a server-rendered page (Nuxt, Vite SSR), so dark mode, the palette and the contrast level are on `<html>` before the first paint instead of when the app's JS loads. It does what `useTheme` and `useColorPalette` do when they load in the browser (the stored choice, or the given `createM3UI` defaults; a choice only in a cookie, from `createM3UI({ cookies })`, counts too), so pass it the same options as the plugin. A `seed` default can't be generated this early: its first visit still shows the baseline until the app loads (later visits use the cached CSS). ```ts useHead({ script: [{ innerHTML: themeInitScript({ palette: 'red' }) }] }) ```"},{"name":"viewportFromHeaders","import":"@m3ui-vue/m3ui-vue","signature":"viewportFromHeaders(headers: RequestHeaders, options: { guess?: boolean } = {}): ViewportSize | undefined","description":"The window size to server-render the adaptive layouts at, from a request's headers: the size `createM3UI({ cookies: true })` keeps in the `m3-viewport` cookie (any visit after the first); the viewport client hints (Chromium, once the server asked for them with `VIEWPORT_HINTS`); or, on a first visit, a size standing for the kind of device (`Sec-CH-UA-Mobile`, then the user agent: a phone, a tablet or a desktop), unless `guess: false`. Undefined when nothing tells: the layouts then render compact. ```ts createM3UI({ cookies: true, initialState: { viewport: viewportFromHeaders(request.headers) } }) ```"},{"name":"VIEWPORT_HINTS","import":"@m3ui-vue/m3ui-vue","signature":"VIEWPORT_HINTS: \"Sec-CH-Viewport-Width, Sec-CH-Viewport-Height\"","description":"The client hints that carry the window's size (Chromium), for a server's `Accept-CH` and `Critical-CH` response headers. With `Critical-CH`, Chromium repeats the very first request once to send them; later requests carry them after `Accept-CH` alone."},{"name":"generateScheme","import":"@m3ui-vue/m3ui-vue","signature":"generateScheme(seed: string, options: SeedOptions = {}): Promise<GeneratedScheme>","description":"Generates the light and dark schemes for a seed color (`#rrggbb`)."},{"name":"schemeToCss","import":"@m3ui-vue/m3ui-vue","signature":"schemeToCss(scheme: GeneratedScheme, id: string): string","description":"CSS for a scheme under `[data-palette='<id>']` (light) and `[data-palette='<id>'].dark`, like palettes.css."},{"name":"schemeRoles","import":"@m3ui-vue/m3ui-vue","signature":"schemeRoles: readonly [\"primary\", \"on-primary\", \"primary-container\", \"on-primary-container\", \"secondary\", \"on-secondary\", \"secondary-container\", \"on-secondary-container\", \"tertiary\", \"on-tertiary\", \"tertiary-container\", \"on-tertiary-container\", \"error\", \"on-error\", \"error-container\", \"on-error-container\", \"background\", \"on-background\", \"surface\", \"on-surface\", \"surface-variant\", \"on-surface-variant\", \"surface-dim\", \"surface-bright\", \"surface-container-lowest\", \"surface-container-low\", \"surface-container\", \"surface-container-high\", \"surface-container-highest\", \"outline\", \"outline-variant\", \"inverse-surface\", \"inverse-on-surface\", \"inverse-primary\", \"scrim\", \"shadow\", \"primary-fixed\", \"primary-fixed-dim\", \"on-primary-fixed\", \"on-primary-fixed-variant\", \"secondary-fixed\", \"secondary-fixed-dim\", \"on-secondary-fixed\", \"on-secondary-fixed-variant\", \"tertiary-fixed\", \"tertiary-fixed-dim\", \"on-tertiary-fixed\", \"on-tertiary-fixed-variant\"]","description":"The `--color-*` roles a generated scheme sets. `success*` is a library extension and stays as themed."},{"name":"seedFromImage","import":"@m3ui-vue/m3ui-vue","signature":"seedFromImage(source: string | HTMLImageElement | ImageBitmap | Blob): Promise<string>","description":"The seed color of an image, for `generateScheme`, `useColorPalette().setSeed()` or `MScheme`: what Android does with the wallpaper. Takes a URL (cross-origin images need CORS headers, or the canvas can't be read), an `<img>`, an `ImageBitmap` or a `Blob` (a file the user picked). Browser only."},{"name":"seedFromPixels","import":"@m3ui-vue/m3ui-vue","signature":"seedFromPixels(rgba: ArrayLike<number>): Promise<string>","description":"The seed color of an image's pixels (RGBA bytes, as `ImageData.data`): its colors quantized and scored the way Android picks a wallpaper's source color (QuantizerCelebi + Score). Fully transparent pixels are skipped."},{"name":"useToast","import":"@m3ui-vue/m3ui-vue","signature":"useToast(): {\n toasts: Ref<Toast[]>\n position: Ref<ToastPosition>\n show: (message: string, variant: ToastVariant = 'info', options: number | ToastOptions = {}) => number\n success: (msg: string, opts?: ToastOptions) => number\n error: (msg: string, opts?: ToastOptions) => number\n warning: (msg: string, opts?: ToastOptions) => number\n info: (msg: string, opts?: ToastOptions) => number\n loading: (msg: string, opts?: Omit<ToastOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Toast, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useFieldBg","import":"@m3ui-vue/m3ui-vue","signature":"useFieldBg(containerEl: Ref<HTMLElement | null>, fieldBgProp: () => string | undefined): {\n resolvedFieldBg: ComputedRef<string>\n}","description":"Auto-detects the background behind `containerEl` and exposes it as `--field-bg`. Prefers a CSS variable reference (e.g. var(--color-surface-container-low)) over a raw computed color so the outlined label cutout transitions in sync with the rest of the theme switch instead of lagging behind."},{"name":"useLocale","import":"@m3ui-vue/m3ui-vue","signature":"useLocale(): M3Locale","description":""},{"name":"defaultLocale","import":"@m3ui-vue/m3ui-vue","signature":"defaultLocale: M3Locale","description":""},{"name":"useDevice","import":"@m3ui-vue/m3ui-vue","signature":"useDevice(): {\n isMobile: Ref<boolean>\n}","description":""},{"name":"useAutoGrow","import":"@m3ui-vue/m3ui-vue","signature":"useAutoGrow(target: MaybeRefOrGetter<HTMLTextAreaElement | null | undefined>, options: AutoGrowOptions = {}): {\n resize: () => void\n}","description":"Makes a `<textarea>` grow with its text, between `minRows` and `maxRows` rows, scrolling past the last one: a chat composer, a comment box. Works on any textarea, styled however you like (rows are measured from its computed line height, padding and border). It also follows width changes, which rewrap the text. Returns `resize()` for anything else that changes the text."},{"name":"useThemeTokens","import":"@m3ui-vue/m3ui-vue","signature":"useThemeTokens(names: readonly T[], options: ThemeTokensOptions = {}): Ref<Record<T, string>, Record<T, string>>","description":"The current values of some color tokens (`['primary', 'surface']` → `--color-primary`…), kept up to date across light/dark, palette, contrast and generated (seed) palette changes: for what can't use CSS variables, like a Chart.js dataset, a canvas or a MapLibre layer's paint. Values settle after the theme switch's color transition; with `{ live: true }` they also follow it frame by frame (as `rgba()` midway). Empty strings on the server. ```ts const colors = useThemeTokens(['primary', 'tertiary', 'outline-variant'] as const) const data = computed(() => ({ datasets: [{ data: sales, borderColor: colors.value.primary }] })) ```"},{"name":"useScrollReveal","import":"@m3ui-vue/m3ui-vue","signature":"useScrollReveal(target: MaybeRefOrGetter<Target>, options: ScrollRevealOptions = {}): {\n stop: () => void\n}","description":"Reveals elements as they scroll into view: they fade (and slide or grow) in on M3's springs, cascading when several enter together. Pass an element, a template ref, an array of them, or a getter. Off with reduced motion: everything is simply there. For a single element in a template, `v-reveal` does the same."},{"name":"useWindowSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"useWindowSizeClass(target?: MaybeRefOrGetter<HTMLElement | null | undefined>): WindowSizeClassInfo","description":"The M3 width/height size classes, reactive. With no argument it tracks the browser window. Pass an element (ref or getter) to classify that element's own size instead, which is what the adaptive layout components do, so they adapt to the space they actually get (a column, a dialog, a resizable panel)."},{"name":"widthSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"widthSizeClass(width: number): WidthSizeClass","description":""},{"name":"heightSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"heightSizeClass(height: number): HeightSizeClass","description":""},{"name":"useNotification","import":"@m3ui-vue/m3ui-vue","signature":"useNotification(): {\n notifications: Ref<Notification[]>\n position: Ref<NotificationPosition>\n show: (message: string, variant: NotificationVariant = 'info', options: NotificationOptions = {}) => number\n success: (msg: string, opts?: NotificationOptions) => number\n error: (msg: string, opts?: NotificationOptions) => number\n warning: (msg: string, opts?: NotificationOptions) => number\n info: (msg: string, opts?: NotificationOptions) => number\n loading: (msg: string, opts?: Omit<NotificationOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Notification, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useDebounce","import":"@m3ui-vue/m3ui-vue","signature":"useDebounce(fn: (...args: any[]) => void, ms: number): {\n debounced: (...args: any[]) => void\n cancel: () => void\n}","description":""},{"name":"usePageProgress","import":"@m3ui-vue/m3ui-vue","signature":"usePageProgress(): {\n progress: Ref<number>\n isActive: Ref<boolean>\n start: () => void\n set: (pct: number) => void\n done: () => void\n}","description":"Shared page-loading progress state (e.g. for a top progress bar between route navigations). Module-level so any number of callers/components stay in sync — call `start()`/`done()` from a router guard, a fetch wrapper, or by hand."},{"name":"useSpring","import":"@m3ui-vue/m3ui-vue","signature":"useSpring(target: () => number[], apply: (values: readonly number[]) => void, spec: SpringSpec = FAST_SPATIAL): {\n snap: () => void\n}","description":""},{"name":"motionSprings","import":"@m3ui-vue/m3ui-vue","signature":"motionSprings: { readonly standard: { readonly fastSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 1400; }; readonly defaultSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 700; }; readonly slowSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 300; }; readonly fastEffects: { readonly dampingRatio: 1; readonly stiffness: 3800; }; readonly defaultEffects: { readonly dampingRatio: 1; readonly stiffness: 1600; }; readonly slowEffects: { readonly dampingRatio: 1; readonly stiffness: 800; }; }; readonly expressive: { readonly fastSpatial: { readonly dampingRatio: 0.6; readonly stiffness: 800; }; readonly defaultSpatial: { readonly dampingRatio: 0.8; readonly stiffness: 380; }; readonly slowSpatial: { readonly dampingRatio: 0.8; readonly stiffness: 200; }; readonly fastEffects: { readonly dampingRatio: 1; readonly stiffness: 3800; }; readonly defaultEffects: { readonly dampingRatio: 1; readonly stiffness: 1600; }; readonly slowEffects: { readonly dampingRatio: 1; readonly stiffness: 800; }; }; }","description":"Spring specs of the two motion schemes. Spatial springs move things (position, size, shape); effects springs change color and opacity and never overshoot. Standard is the default scheme; Expressive is bouncier, for Expressive components and moments that should feel lively."},{"name":"motionEasings","import":"@m3ui-vue/m3ui-vue","signature":"motionEasings: { readonly emphasized: readonly [0.2, 0, 0, 1]; readonly emphasizedDecelerate: readonly [0.05, 0.7, 0.1, 1]; readonly emphasizedAccelerate: readonly [0.3, 0, 0.8, 0.15]; readonly standard: readonly [0.2, 0, 0, 1]; readonly standardDecelerate: readonly [0, 0, 0, 1]; readonly standardAccelerate: readonly [0.3, 0, 1, 1]; readonly legacy: readonly [0.4, 0, 0.2, 1]; readonly legacyDecelerate: readonly [0, 0, 0.2, 1]; readonly legacyAccelerate: readonly [0.4, 0, 1, 1]; readonly linear: readonly [0, 0, 1, 1]; }","description":"Easing curves as cubic-bezier control points [x1, y1, x2, y2] (theme.css has them as `--ease-*`)"},{"name":"motionDurations","import":"@m3ui-vue/m3ui-vue","signature":"motionDurations: { readonly short1: 50; readonly short2: 100; readonly short3: 150; readonly short4: 200; readonly medium1: 250; readonly medium2: 300; readonly medium3: 350; readonly medium4: 400; readonly long1: 450; readonly long2: 500; readonly long3: 550; readonly long4: 600; readonly extraLong1: 700; readonly extraLong2: 800; readonly extraLong3: 900; readonly extraLong4: 1000; }","description":"Durations in ms (theme.css has them as `--duration-short-1` … `--duration-extra-long-4`)"},{"name":"cubicBezier","import":"@m3ui-vue/m3ui-vue","signature":"cubicBezier(x1: number, y1: number, x2: number, y2: number): (t: number) => number","description":"A cubic-bezier easing as a function of progress (0–1), e.g. `cubicBezier(...motionEasings.emphasized)`, for JS-driven tweens and for mapping a fraction through a curve"},{"name":"vRipple","import":"@m3ui-vue/m3ui-vue","signature":"vRipple: Directive<HTMLElement, RippleValue>","description":"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."},{"name":"vReveal","import":"@m3ui-vue/m3ui-vue","signature":"vReveal: Directive<HTMLElement, RevealValue>","description":"Reveals the element as it scrolls into view, on M3's springs (see `useScrollReveal` for the options): `v-reveal`, `v-reveal=\"'scale'\"`, `v-reveal=\"{ effect: 'slide-left', delay: 100 }\"`. Items of a `v-for` with the same options cascade in. Off with reduced motion. Registered by `createM3UI()`, or import `vReveal`."},{"name":"vStateLayer","import":"@m3ui-vue/m3ui-vue","signature":"vStateLayer: Directive<HTMLElement, StateLayerValue>","description":"The M3 state layer for any element: a tint in its text color at 8% on hover, 10% on keyboard focus and press, 16% while dragged. `<div v-state-layer>`, `v-state-layer=\"false\"`, `v-state-layer=\"'#e91e63'\"` or `v-state-layer=\"{ disabled, color, dragged }\"`. Pairs with `v-ripple`. A statically positioned element is made `position: relative`. Registered globally as `v-state-layer` by `createM3UI()`; import `vStateLayer` to use it without the plugin."},{"name":"vTooltip","import":"@m3ui-vue/m3ui-vue","signature":"vTooltip: Directive<HTMLElement, TooltipValue>","description":"MTooltip's plain tooltip on any element, without wrapping it: `v-tooltip=\"'Save'\"` or `v-tooltip=\"{ text, placement, delay, disabled }\"`. Shows after a delay on mouse hover, on keyboard focus, and on a long press on touch (swallowing that press's click, hiding 1.5s after the finger lifts); Escape and scrolling hide it. Registered globally as `v-tooltip` by `createM3UI()`; import `vTooltip` to use it without the plugin."},{"name":"vFocusRing","import":"@m3ui-vue/m3ui-vue","signature":"vFocusRing: Directive<HTMLElement, FocusRingValue>","description":"The M3 focus indicator on any element: a 3dp ring in `secondary`, 2dp outside the element, shown on keyboard focus only (`:focus-visible`), never on a click or tap. `<div v-focus-ring tabindex=\"0\">`, `v-focus-ring=\"false\"`, `v-focus-ring=\"'#e91e63'\"` or `v-focus-ring=\"{ disabled, color, inset, within }\"`. It wins over an `outline-none` class on the same element. Registered globally as `v-focus-ring` by `createM3UI()`; import `vFocusRing` to use it without the plugin."},{"name":"vScrollElevation","import":"@m3ui-vue/m3ui-vue","signature":"vScrollElevation: Directive<HTMLElement, ScrollElevationValue>","description":"Marks an element while the content under it has scrolled, as M3's top app bar does on scroll: it takes the scrolled container color (`surface-container`) and gets a `data-scrolled` attribute for your own styles (`data-scrolled:shadow-elevation-2`). Follows the window, or `v-scroll-elevation=\"'#list'\"` / `{ target, threshold, color, onChange, disabled }`. Add `transition-colors` to the element for a fade. Registered globally as `v-scroll-elevation` by `createM3UI()`; import `vScrollElevation` to use it without the plugin."},{"name":"vLongPress","import":"@m3ui-vue/m3ui-vue","signature":"vLongPress: Directive<HTMLElement, LongPressValue>","description":"Calls a handler when the element is pressed and held: `v-long-press=\"onHold\"` or `v-long-press=\"{ handler, duration, tolerance, haptic, mouse, disabled }\"`. Moving past the tolerance (a scroll or a drag) cancels it; once it fires, the click the press ends in and the browser's own long-press menu are swallowed, so a long-pressed button doesn't also click. While held, the element has `data-long-pressing` (`data-long-pressing:scale-95`). Registered globally as `v-long-press` by `createM3UI()`; import `vLongPress` to use it without the plugin."},{"name":"vSwipe","import":"@m3ui-vue/m3ui-vue","signature":"vSwipe: Directive<HTMLElement, SwipeValue>","description":"Calls handlers when an element is swiped: `v-swipe=\"onSwipe\"` (any direction, `info.direction` says which) or `v-swipe=\"{ left, right, up, down, threshold, velocity, onMove, onEnd, mouse, disabled }\"`. A swipe counts past `threshold` px, or at any length when flicked faster than `velocity`. The element's `touch-action` is set from the directions you listen to: only left/right leaves vertical scrolling to the page (`pan-y`), only up/down the horizontal (`pan-x`), both block panning from it (`none`). The click a swipe ends in is swallowed. Registered globally as `v-swipe` by `createM3UI()`; import `vSwipe` to use it without the plugin."},{"name":"vClickOutside","import":"@m3ui-vue/m3ui-vue","signature":"vClickOutside: Directive<HTMLElement, ClickOutsideValue>","description":"Calls a handler when a press lands outside the element: `v-click-outside=\"close\"` or `v-click-outside=\"{ handler, exclude, event, disabled }\"`. `exclude` takes elements or selectors that count as inside (the toggle button, a teleported popup). Only the primary button counts. Starts listening after the event that mounted it, so the click that opened a panel doesn't close it. Registered globally as `v-click-outside` by `createM3UI()`; import `vClickOutside` to use it without the plugin."},{"name":"vSkeleton","import":"@m3ui-vue/m3ui-vue","signature":"vSkeleton: Directive<HTMLElement, SkeletonValue>","description":"Turns an element into its own loading placeholder: `v-skeleton=\"loading\"` or `v-skeleton=\"{ loading, animation }\"`. While loading it keeps its size and corners, hides its content (which still sizes it: placeholder text like `{{ user?.name ?? 'Loading name' }}` gives an empty element a width), takes MSkeleton's tint and animation (`pulse`, `wave` or `none`; still with reduced motion), ignores the pointer and is `aria-busy`. Registered globally as `v-skeleton` by `createM3UI()`; import `vSkeleton` to use it without the plugin."},{"name":"emojiCategories","import":"@m3ui-vue/m3ui-vue","signature":"emojiCategories: EmojiCategory[]","description":""},{"name":"allEmojis","import":"@m3ui-vue/m3ui-vue","signature":"allEmojis: string[]","description":""},{"name":"randomEmoji","import":"@m3ui-vue/m3ui-vue","signature":"randomEmoji(from?: string[]): string","description":""},{"name":"withSkinTone","import":"@m3ui-vue/m3ui-vue","signature":"withSkinTone(emoji: string, tone: number): string","description":"`emoji` with skin tone `tone` (0 = none, 1–5 = light to dark), if it takes one."},{"name":"toneableEmojis","import":"@m3ui-vue/m3ui-vue","signature":"toneableEmojis: Set<string>","description":"Emoji that take a skin tone (all five one-tone variants exist)."},{"name":"skinTones","import":"@m3ui-vue/m3ui-vue","signature":"skinTones: readonly [\"🏻\", \"🏼\", \"🏽\", \"🏾\", \"🏿\"]","description":"The five Fitzpatrick modifiers, light to dark."}],"types":[{"name":"MapContext","import":"@m3ui-vue/m3ui-vue/map","source":"/** What `MMap` provides to everything inside it. */\nexport interface MapContext {\n /** The MapLibre map, once created (never on the server) */\n map: ShallowRef<Maplibre.Map | undefined>\n /** The `maplibre-gl` module, loaded with the map (so nothing imports it on the server) */\n maplibre: ShallowRef<MaplibreModule | undefined>\n /** Bumped on every `style.load`: sources and layers added by components are re-added after a style change */\n styleVersion: Ref<number>\n /** The style as `MMap`'s `adapter` reads it (undefined without one) */\n model: ShallowRef<MapLayerModel | undefined>\n /** Visibility and opacity of the model's layers */\n layerState: MapLayerState\n /**\n * The tool that owns the map's clicks right now (`'measure'` while measuring), or null: `MMapIdentify` stays quiet\n * meanwhile. Set it from tools of your own the same way\n */\n activeTool: Ref<string | null>\n}"},{"name":"MapSource","import":"@m3ui-vue/m3ui-vue/map","source":"/**\n * A map to use from outside `<MMap>`: the `MMap` itself (a template ref: `<MMap ref=\"map\">` → `:map=\"map\"`) or its\n * `context`. Null or undefined until it mounts.\n */\nexport type MapSource = { context: MapContext } | MapContext | null | undefined"},{"name":"MaplibreModule","import":"@m3ui-vue/m3ui-vue/map","source":"/** The `maplibre-gl` module (its classes: `Map`, `Marker`, `Popup`…) */\nexport type MaplibreModule = typeof import('maplibre-gl')"},{"name":"MapLayerState","import":"@m3ui-vue/m3ui-vue/map","source":"/** Visibility and opacity of the model's layers, shared by everything inside one `MMap`. */\nexport interface MapLayerState {\n visible: Record<string, boolean>\n opacity: Record<string, number>\n}"},{"name":"MapAdapter","import":"@m3ui-vue/m3ui-vue/map","source":"/** Reads a style's conventions (usually its `metadata`) into the model the map's UI components use. */\nexport type MapAdapter = (style: Maplibre.StyleSpecification, context: MapAdapterContext) => MapLayerModel"},{"name":"MapAdapterContext","import":"@m3ui-vue/m3ui-vue/map","source":"/** What an adapter gets besides the style. */\nexport interface MapAdapterContext {\n /** The style's URL, when `MMap`'s `mapStyle` is one */\n styleUrl?: string\n}"},{"name":"MapFieldFormat","import":"@m3ui-vue/m3ui-vue/map","source":"/** How to show one property of a feature. */\nexport interface MapFieldFormat {\n /** The label (the key, capitalized, by default) */\n label?: string\n /** Text before the value */\n prefix?: string\n /** Text after the value */\n suffix?: string\n /** A number mask: its decimals set the fraction digits (`#.00` → 2) and a comma turns on grouping (`#,###`) */\n mask?: string\n /** Leave it out */\n hidden?: boolean\n}"},{"name":"MapIdentifyResult","import":"@m3ui-vue/m3ui-vue/map","source":"/** What `MMapIdentify` found on one layer at a point. */\nexport interface MapIdentifyResult {\n layer: MapLayerInfo\n feature: Maplibre.MapGeoJSONFeature\n /** Its properties as the layer's `identify` shows them, formatted */\n fields: { key: string; label: string; value: string }[]\n}"},{"name":"MapLayerInfo","import":"@m3ui-vue/m3ui-vue/map","source":"/** One layer of the style, as the map's UI components see it. */\nexport interface MapLayerInfo {\n /** The style layer's id */\n id: string\n /** Its name in the UI */\n title: string\n description?: string\n /** The `name` of its group in `MapLayerModel.groups` */\n group?: string\n /** Shown in `MMapLayers` */\n listed: boolean\n /** A base layer: `MMapBaseLayers` shows one of them at a time, with this thumbnail */\n base?: { image?: string }\n /** Layer ids shown, hidden and faded along with it */\n children: string[]\n /** Listed by `MMapIdentify` on click: every property, formatted by `format`, minus `exclude` */\n identify: false | { format: Record<string, MapFieldFormat>; exclude: string[] }\n /** Shown by `MMapHover` under the pointer: these properties, in order */\n hover: false | { fields: (MapFieldFormat & { key: string })[] }\n /** A legend image URL (an SVG, typically) */\n legend?: string\n /** A download URL for its data */\n download?: string\n}"},{"name":"MapLayerModel","import":"@m3ui-vue/m3ui-vue/map","source":"/** The style as the map's UI components see it: layers with names, groups, base layers, what to identify. */\nexport interface MapLayerModel {\n /** The style's name */\n title?: string\n /** Groups, in order */\n groups: { name: string; title: string }[]\n /** Layers, in the style's order (bottom to top) */\n layers: MapLayerInfo[]\n}"},{"name":"OrvianAdapterOptions","import":"@m3ui-vue/m3ui-vue/map","source":"export interface OrvianAdapterOptions {\n /**\n * A layer's legend image. By default, for a style served by mvt-rs (`…/services/styles/<style>`), its legend service\n * (`…/services/legends/<style>?layer_id=<id>`), unless the layer's `metadata.legend.show` is false;\n * `metadata.legend.wmslegend` overrides it\n */\n legend?: (layer: Maplibre.LayerSpecification, styleUrl?: string) => string | undefined\n}"},{"name":"MapSearchProvider","import":"@m3ui-vue/m3ui-vue/map","source":"/** Finds places for `MMapSearch`: the text in, results out. `signal` aborts a search the user replaced. */\nexport type MapSearchProvider = (query: string, signal: AbortSignal) => Promise<MapSearchResult[]>"},{"name":"MapSearchResult","import":"@m3ui-vue/m3ui-vue/map","source":"/** A place found by a `MapSearchProvider`. */\nexport interface MapSearchResult {\n /** What to show */\n label: string\n /** Where it is */\n lngLat: [number, number]\n /** Its extent, `[west, south, east, north]`: the map fits it instead of zooming to the point */\n bbox?: [number, number, number, number]\n /** Its kind (`city`, `road`, `park`, `restaurant`…), for the icon */\n type?: string\n}"},{"name":"NominatimOptions","import":"@m3ui-vue/m3ui-vue/map","source":"export interface NominatimOptions {\n /** The Nominatim server (`https://nominatim.openstreetmap.org` by default; mind its usage policy, or run your own) */\n url?: string\n /** How many results (6) */\n limit?: number\n /** The results' language (`es`, `en`…); by default the page's (`<html lang>`) */\n language?: string\n /** Only these countries (ISO codes: `['ar']`) */\n countryCodes?: string[]\n /** Prefer (or with `bounded`, only) this area: `[west, south, east, north]` */\n viewbox?: [number, number, number, number]\n bounded?: boolean\n}"},{"name":"M3UIOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface M3UIOptions {\n palette?: PaletteId | (string & {})\n /**\n * Set to `false` to make `palette` a hard default that always wins on boot, ignoring\n * whatever is already stored in localStorage, and to stop future `useColorPalette().set()`\n * calls from persisting either. Palette switching still works live within the session\n * (`set()` still applies immediately) — only the \"remember it for next time\" part is disabled.\n * Defaults to `true`, matching prior behavior (`palette` only seeds the very first visit,\n * and any later choice persists and wins over it).\n */\n persistPalette?: boolean\n /**\n * Palettes of your own, added to `useColorPalette().palettes` so palette pickers built from\n * that list show them. An entry whose `id` matches a built-in palette replaces it. Each one\n * still needs its CSS: `[data-palette='<id>'] { --color-primary: ...; }` plus a\n * `[data-palette='<id>'].dark { ... }` block, overriding the same tokens as `palettes.css`.\n */\n customPalettes?: Palette[]\n /**\n * Generate the whole color scheme (light and dark) from one color instead of using a named palette: Google's\n * dynamic color, the way Android builds a theme from a wallpaper. `palette` wins when both are given, and like\n * `palette` it's only the first-visit default unless `persistPalette` is `false`.\n */\n seed?: string\n /** How `seed` becomes a scheme: `variant` (`'tonal-spot'` by default) and `contrast` (0 standard, 0.5 medium, 1 high). */\n seedOptions?: SeedOptions\n /**\n * M3's contrast level: `'standard'`, `'medium'`, `'high'`, or `'system'` (follows the OS's `prefers-contrast`).\n * Like `palette`, only the first-visit default unless `persistPalette` is `false`. Built-in palettes need\n * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.\n */\n contrast?: ContrastLevel\n locale?: MaybeRef<Partial<M3Locale>>\n /**\n * Keep `<meta name=\"theme-color\">` (the color phones give the browser bar and status bar) in sync with a color\n * role of the active palette, following palette, seed and dark mode changes. `'surface'` matches a top app\n * bar, as Material apps on Android do; any role name works (`'primary'`, `'surface-container'`…). Off by default:\n * when set, the library owns that meta (it's created if missing, and a light/dark `media` pair becomes one).\n * Note that Chrome and Samsung Internet on Android ignore it in a regular tab while the system is in dark\n * mode (they keep their own dark bar); installed apps (PWA) still get it.\n */\n themeColor?: 'surface' | 'surface-container' | 'primary' | (string & {})\n /**\n * Server-side rendering: tells the components whether the app is still hydrating the server's HTML (Nuxt's\n * `() => nuxtApp.isHydrating`, which `@m3ui-vue/nuxt` passes). The adaptive layouts (`MNavigationSuite`,\n * `MListDetail`, `MSupportingPane`) and `useWindowSizeClass()` then render their first frame at the server's size\n * (compact: it has no window) so it matches the HTML, and adapt once mounted.\n */\n isHydrating?: () => boolean\n /**\n * Also keep the theme, the palette and the contrast level in cookies (`m3-theme`, `m3-palette`, `m3-contrast`,\n * a year, `SameSite=Lax`), and the window's size (`m3-viewport`, `<width>x<height>`), so a server can read them\n * and render with the user's choice and for their screen through `initialState`.\n */\n cookies?: boolean\n /**\n * Server-side rendering: the user's theme, palette and contrast as the server knows them (from the cookies that\n * `cookies` writes), on the server and on the client alike. `useTheme()` and `useColorPalette()` report them on\n * the server, and on the client while hydrating (with `isHydrating`), so what's rendered from them matches the\n * server's HTML. What's missing falls back to this plugin's defaults, like a first visit. With `viewport`, the\n * adaptive layouts (`MNavigationSuite`, `MListDetail`, `MSupportingPane`) and `useWindowSizeClass()` render for\n * that window size instead of compact.\n */\n initialState?: M3InitialState\n}"},{"name":"M3InitialState","import":"@m3ui-vue/m3ui-vue","source":"/** The user's theme choices as a server knows them (from cookies), for server-side rendering. */\nexport interface M3InitialState {\n theme?: Theme\n palette?: string\n contrast?: ContrastLevel\n /** The browser window's size: the adaptive layouts and `useWindowSizeClass()` render for it instead of compact. */\n viewport?: { width: number; height: number }\n}"},{"name":"Theme","import":"@m3ui-vue/m3ui-vue","source":"export type Theme = 'light' | 'dark' | 'system'"},{"name":"ConfettiOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ConfettiOptions {\n /** How many pieces (default 80; 160 for `from: 'top'`) */\n count?: number\n /** Shapes to pick from (MShape's names) */\n shapes?: ShapeName[]\n /** Any CSS colors. Default: the theme's primary, secondary and tertiary roles and their containers, read at the origin */\n colors?: string[]\n /** Burst from a point (default) or rain from the top of the screen */\n from?: 'point' | 'top'\n /** Burst angle in degrees, 0 = up (default 0) */\n angle?: number\n /** Cone the pieces leave in, in degrees (default 70) */\n spread?: number\n /** Launch speed in px/s (default 950) */\n velocity?: number\n /** Piece size in px (default 14) */\n size?: number\n}"},{"name":"ConfettiOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** Where a burst starts: the pointer of an event, an element's center, or a point in viewport pixels */\nexport type ConfettiOrigin = MouseEvent | PointerEvent | Element | { x: number; y: number }"},{"name":"ContainerTransformController","import":"@m3ui-vue/m3ui-vue","source":"/** The state MContainerTransform plays, shared between the elements that open it and the panel they open */\nexport interface ContainerTransformController<T = unknown> {\n /** Whether the expanded view is open (or opening) */\n isOpen: Ref<boolean>\n /** What `open` was given, for the expanded view to show */\n item: Ref<T | undefined>\n /** The element it grows from and shrinks back into */\n source: ShallowRef<HTMLElement | null>\n /** Opens from `origin` (a click's element, an element or a component), with an optional `item` */\n open: (origin?: ContainerTransformOrigin, item?: T) => void\n /** Shrinks the expanded view back into the element it opened from */\n close: () => void\n}"},{"name":"ContainerTransformOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** What a container transform opens from: a click (its element), an element, or a component */\nexport type ContainerTransformOrigin = Event | Element | ComponentPublicInstance | null | undefined"},{"name":"Palette","import":"@m3ui-vue/m3ui-vue","source":"export interface Palette {\n id: string\n label: string\n /**\n * The palette's key color. A custom palette (`createM3UI({ customPalettes })`) with no CSS of its own gets its\n * scheme generated from it; one with `[data-palette='<id>']` rules keeps them.\n */\n seed: string\n}"},{"name":"PaletteId","import":"@m3ui-vue/m3ui-vue","source":"/** The id of a palette that ships with the library (`palettes.css`, plus the `purple` baseline). */\nexport type PaletteId = (typeof builtInPalettes)[number]['id']"},{"name":"ActiveSeed","import":"@m3ui-vue/m3ui-vue","source":"export interface ActiveSeed extends SeedOptions {\n seed: string\n}"},{"name":"ContrastLevel","import":"@m3ui-vue/m3ui-vue","source":"// ── Contrast ─────────────────────────────────────────────────────────────────────────────────────\n/**\n * M3's contrast levels. `system` follows the OS (`prefers-contrast: more` → high). Built-in palettes need\n * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.\n */\nexport type ContrastLevel = 'standard' | 'medium' | 'high' | 'system'"},{"name":"ThemeInitOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ThemeInitOptions {\n /** `createM3UI`'s `palette`: the first-visit default, or forced with `persistPalette: false`. */\n palette?: PaletteId | (string & {})\n /** `createM3UI`'s `contrast`, with the same rules as `palette`. */\n contrast?: ContrastLevel\n /** `createM3UI`'s `persistPalette`. */\n persistPalette?: boolean\n}"},{"name":"RequestHeaders","import":"@m3ui-vue/m3ui-vue","source":"/** A request's headers as server frameworks hand them over: a `Headers`, or a plain object (Node's, h3's). */\nexport type RequestHeaders = Headers | Record<string, string | string[] | undefined>"},{"name":"ViewportSize","import":"@m3ui-vue/m3ui-vue","source":"/** A window size, for `createM3UI({ initialState: { viewport } })` */\nexport interface ViewportSize {\n width: number\n height: number\n}"},{"name":"SchemeVariant","import":"@m3ui-vue/m3ui-vue","source":"// Dynamic color: a full M3 color scheme (light and dark) generated from one seed color with Google's\n// material-color-utilities (HCT, DynamicScheme). The package is loaded with a dynamic import, so apps that\n// never use a seed don't download it; it's bundled into the library (its 0.4.0 ESM build has an extensionless\n// import that Node can't resolve, which would break SSR and tests if it were left external).\n\nexport type SchemeVariant =\n | 'tonal-spot'\n | 'expressive'\n | 'vibrant'\n | 'fidelity'\n | 'content'\n | 'neutral'\n | 'monochrome'\n | 'rainbow'\n | 'fruit-salad'"},{"name":"SeedOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface SeedOptions {\n /** How the seed spreads into the scheme. `tonal-spot` is Android's default (calm, seed-led). */\n variant?: SchemeVariant\n /** Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced). */\n contrast?: number\n}"},{"name":"GeneratedScheme","import":"@m3ui-vue/m3ui-vue","source":"/** Token name (as in `--color-<name>`) → hex, for each scheme. */\nexport interface GeneratedScheme {\n light: Record<string, string>\n dark: Record<string, string>\n}"},{"name":"Toast","import":"@m3ui-vue/m3ui-vue","source":"export interface Toast {\n id: number\n message: string\n variant: ToastVariant\n duration: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null // null = suppress icon entirely\n color?: string\n count: number // ≥ 2 → show badge\n}"},{"name":"ToastVariant","import":"@m3ui-vue/m3ui-vue","source":"export type ToastVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"ToastPosition","import":"@m3ui-vue/m3ui-vue","source":"export type ToastPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"ToastAction","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastAction { label: string; onClick: () => void }"},{"name":"ToastOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastOptions {\n duration?: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null\n color?: string\n}"},{"name":"M3Locale","import":"@m3ui-vue/m3ui-vue","source":"export interface M3Locale {\n /** BCP-47 language tag (e.g. 'en', 'es', 'pt') — read by locale-aware components (MRelativeTime) that use Intl formatting. */\n lang: string\n\n // Common\n search: string\n noResults: string\n close: string\n cancel: string\n confirm: string\n loading: string\n menu: string\n\n // Navigation\n previous: string\n next: string\n today: string\n more: string\n\n // Tables\n selectedCount: string\n recordCount: string\n expand: string\n /** Collapses an expanded item (the opposite of `expand`) */\n collapse: string\n /** Clears a field's value (the × at its end) */\n clear: string\n columns: string\n exportCsv: string\n noGroup: string\n\n // Tour\n finish: string\n\n // File upload\n dropText: string\n selectText: string\n maxSizePrefix: string\n remove: string\n\n // Pickers\n selectDate: string\n ok: string\n dateToggleInput: string\n dateToggleCalendar: string\n dateInputLabel: string\n selectTime: string\n timeHourSelection: string\n timeMinuteSelection: string\n timePeriodToggle: string\n timeToggleKeyboard: string\n timeToggleDial: string\n timeToggleScroll: string\n sheetExpand: string\n sheetCollapse: string\n sheetDismiss: string\n seekBar: string\n seekBarValue: string\n seekBarShowRemaining: string\n seekBarShowDuration: string\n selectRange: string\n pickStart: string\n pickEnd: string\n previousMonth: string\n nextMonth: string\n\n // Color picker\n selectColor: string\n colorHue: string\n colorSaturation: string\n colorBrightness: string\n colorAlpha: string\n colorEyedropper: string\n colorOriginal: string\n colorFormat: string\n colorRecent: string\n colorPresets: string\n\n // Scheduler\n dayView: string\n weekView: string\n allDay: string\n emojiSearch: string\n emojiNoResults: string\n emojiRecent: string\n emojiSkinTone: string\n emojiSkinTones: string\n emojiCategorySmileys: string\n emojiCategoryGestures: string\n emojiCategoryPeople: string\n emojiCategoryAnimals: string\n emojiCategoryNature: string\n emojiCategoryFood: string\n emojiCategoryActivities: string\n emojiCategoryTravel: string\n emojiCategoryObjects: string\n emojiCategorySymbols: string\n emojiCategoryFlags: string\n\n // Transfer list\n available: string\n selected: string\n noItems: string\n moveAllRight: string\n moveRight: string\n moveLeft: string\n moveAllLeft: string\n\n // Command palette / Spotlight\n searchCommand: string\n navigateHint: string\n selectHint: string\n openHint: string\n closeHint: string\n\n // Infinite scroll\n loadingMore: string\n noMoreItems: string\n\n // Rich text editor\n bold: string\n italic: string\n underline: string\n strikethrough: string\n highlight: string\n bulletList: string\n orderedList: string\n blockquote: string\n code: string\n alignLeft: string\n alignCenter: string\n alignRight: string\n undo: string\n redo: string\n link: string\n image: string\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n insertLink: string\n insertImage: string\n imageUrlLabel: string\n insert: string\n\n // JSON editor\n jsonValid: string\n jsonInvalid: string\n jsonFormat: string\n jsonMinify: string\n\n // JSON viewer\n jsonElements: string\n jsonFields: string\n\n // Result\n resultSuccessTitle: string\n resultSuccessDesc: string\n resultErrorTitle: string\n resultErrorDesc: string\n resultWarningTitle: string\n resultWarningDesc: string\n resultInfoTitle: string\n resultInfoDesc: string\n result404Title: string\n result404Desc: string\n result403Title: string\n result403Desc: string\n result500Title: string\n result500Desc: string\n\n // Chat bubble\n chatTyping: string\n chatRecordingAudio: string\n\n // Drag & drop list ({pos}/{total} are replaced at runtime)\n reorderHandle: string\n reorderGrabbed: string\n reorderMoved: string\n reorderDropped: string\n reorderCancelled: string\n\n // Transfer list (panes)\n selectAll: string\n clearSearch: string\n\n // Kanban ({column}/{pos}/{total} are replaced at runtime)\n kanbanMoved: string\n // MWindow title bar buttons\n windowMinimize: string\n windowMaximize: string\n windowRestore: string\n // MPagination ({from}/{to}/{total} and {page}/{pages} are replaced at runtime)\n paginationRange: string\n paginationPage: string\n previousPage: string\n nextPage: string\n carousel: string\n carouselItem: string\n /** MSparkline's summary for screen readers: {first}, {last}, {min}, {max} */\n sparklineSummary: string\n /** MSlider range: its two thumbs */\n sliderRangeStart: string\n sliderRangeEnd: string\n // MMap (maplibre controls)\n mapTitle: string\n mapMarker: string\n mapZoomIn: string\n mapZoomOut: string\n mapResetBearing: string\n mapFindMyLocation: string\n mapLocationNotAvailable: string\n mapEnterFullscreen: string\n mapExitFullscreen: string\n mapToggleAttribution: string\n mapFeedback: string\n mapCtrlScroll: string\n mapCmdScroll: string\n mapTwoFingers: string\n mapLayers: string\n mapSearchLayers: string\n mapNoLayers: string\n mapShowLayer: string\n mapHideLayer: string\n mapOpacity: string\n mapDownload: string\n mapNoBaseLayer: string\n mapHoverInfo: string\n mapNoValue: string\n mapMeasureDistance: string\n mapMeasureArea: string\n mapClearMeasurements: string\n mapDeleteMeasurement: string\n mapTotal: string\n mapSearchPlaces: string\n /** MTimeline's button past `limit`; `{count}` is how many entries are hidden */\n timelineShowMore: string\n timelineShowLess: string\n}"},{"name":"AutoGrowOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface AutoGrowOptions {\n /** Fewest rows it shrinks to (default 1) */\n minRows?: MaybeRefOrGetter<number | undefined>\n /** Most rows it grows to; past them it scrolls. Unset grows without limit */\n maxRows?: MaybeRefOrGetter<number | undefined>\n /**\n * The text, when it can change without typing (cleared after sending, an emoji inserted…): a ref or getter, so the\n * height follows. Typing is followed on its own\n */\n value?: WatchSource<unknown>\n}"},{"name":"ThemeTokensOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ThemeTokensOptions {\n /**\n * Updates every animation frame while the theme switch's colors fade, so a canvas redrawn on change fades with\n * the page instead of jumping to the new colors. Off by default: what animates color changes itself (Chart.js,\n * MChart, maps) only needs the final values, and would otherwise redraw ~15 times per switch.\n */\n live?: boolean\n}"},{"name":"ScrollRevealOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ScrollRevealOptions {\n /** How it enters (default `'fade-up'`) */\n effect?: RevealEffect\n /** Distance in px for the slide effects (default 24) */\n distance?: number\n /** Delay in ms before it starts (default 0) */\n delay?: number\n /** Extra delay in ms for each next element revealed at the same time, so a list cascades in (default 60) */\n stagger?: number\n /** Reveal only the first time (default `true`); with `false` it hides again once it leaves the screen */\n once?: boolean\n /** How much of the element has to be visible, 0 to 1 (default 0.15) */\n threshold?: number\n /** Grows or shrinks the area that counts as visible, like IntersectionObserver's `rootMargin` (default `'0px'`) */\n rootMargin?: string\n /** Motion scheme of the springs: `'standard'` (default) or `'expressive'` (a little bounce) */\n scheme?: 'standard' | 'expressive'\n /** Pace: M3's fast, default or slow springs (default `'default'`); slow suits large, calm entrances */\n speed?: 'fast' | 'default' | 'slow'\n}"},{"name":"RevealEffect","import":"@m3ui-vue/m3ui-vue","source":"/** How an element enters: from below, from a side, growing, or only fading. */\nexport type RevealEffect = 'fade-up' | 'fade' | 'scale' | 'slide-left' | 'slide-right'"},{"name":"WidthSizeClass","import":"@m3ui-vue/m3ui-vue","source":"/*\n * M3 window size classes, with the breakpoints from androidx `WindowSizeClass`\n * (window-core: WIDTH_DP_MEDIUM_LOWER_BOUND 600, EXPANDED 840, LARGE 1200, EXTRA_LARGE 1600;\n * HEIGHT_DP_MEDIUM_LOWER_BOUND 480, EXPANDED 900). CSS px stand in for dp.\n */\nexport type WidthSizeClass = 'compact' | 'medium' | 'expanded' | 'large' | 'extra-large'"},{"name":"HeightSizeClass","import":"@m3ui-vue/m3ui-vue","source":"export type HeightSizeClass = 'compact' | 'medium' | 'expanded'"},{"name":"WindowSizeClassInfo","import":"@m3ui-vue/m3ui-vue","source":"export interface WindowSizeClassInfo {\n width: Ref<number>\n height: Ref<number>\n widthClass: Ref<WidthSizeClass>\n heightClass: Ref<HeightSizeClass>\n}"},{"name":"Notification","import":"@m3ui-vue/m3ui-vue","source":"export interface Notification {\n id: number\n message: string\n variant: NotificationVariant\n duration: number\n loading?: boolean\n icon?: string | null // null = suppress icon entirely\n closable?: boolean\n action?: NotificationAction\n count: number // ≥ 2 → show badge\n}"},{"name":"NotificationVariant","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"NotificationPosition","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"NotificationOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface NotificationOptions {\n duration?: number\n loading?: boolean\n icon?: string | null\n closable?: boolean\n action?: NotificationAction\n}"},{"name":"SpringSpec","import":"@m3ui-vue/m3ui-vue","source":"// Material 3's motion tokens for your own animations, from androidx's MotionTokens, StandardMotionTokens and\n// ExpressiveMotionTokens. The same easings and durations are CSS variables in theme.css (`--ease-*`, which\n// Tailwind turns into `ease-*` utilities, and `--duration-*`); the springs only make sense in JS, with\n// `useSpring` (exported next to these) or your own loop. No imports here: _useSpring builds on this file.\n\n/** A spring: dampingRatio 1 settles without overshoot, lower bounces; higher stiffness is faster */\nexport interface SpringSpec { dampingRatio: number; stiffness: number }"},{"name":"RippleOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-ripple`. */\nexport interface RippleOptions {\n /** No ripple while true (e.g. bound to the element's disabled state). */\n disabled?: boolean\n /** Any CSS color for the ripple; defaults to the element's text color (`currentColor`). */\n color?: string\n}"},{"name":"RippleValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-ripple` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type RippleValue = boolean | string | RippleOptions | null | undefined"},{"name":"RevealValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-reveal` value: nothing or `true` (fade up), `false` (off), an effect name, or options. */\nexport type RevealValue = boolean | RevealEffect | ScrollRevealOptions | null | undefined"},{"name":"StateLayerOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-state-layer`. */\nexport interface StateLayerOptions {\n /** No state layer while true (e.g. bound to the element's disabled state). `disabled` / `aria-disabled=\"true\"` hosts get none either way. */\n disabled?: boolean\n /** Any CSS color for the layer; defaults to the element's text color (`currentColor`). */\n color?: string\n /** Holds the dragged state (16%) while true, e.g. while the element is being dragged. */\n dragged?: boolean\n}"},{"name":"StateLayerValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-state-layer` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type StateLayerValue = boolean | string | StateLayerOptions | null | undefined"},{"name":"TooltipOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-tooltip`. */\nexport interface TooltipOptions {\n /** The tooltip's text; nothing shows while it's empty. */\n text?: string\n /** Side of the element it shows on (default `'top'`); it stays inside the window. */\n placement?: TooltipPlacement\n /** Delay before it shows on hover or keyboard focus, in ms (default 600, like MTooltip). */\n delay?: number\n /** Never shows while true. */\n disabled?: boolean\n}"},{"name":"TooltipValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-tooltip` value: the text, or an options object. */\nexport type TooltipValue = string | TooltipOptions | null | undefined"},{"name":"FocusRingOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-focus-ring`. */\nexport interface FocusRingOptions {\n /** No ring while true. */\n disabled?: boolean\n /** Any CSS color or token for the ring; defaults to `var(--color-secondary)`, as M3's focus indicator. */\n color?: string\n /** Draws the ring inside the element's edge instead of 2px outside it, for elements clipped by a parent. */\n inset?: boolean\n /** Also shows while an element inside it has keyboard focus (a card holding a link or a field). */\n within?: boolean\n}"},{"name":"FocusRingValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-focus-ring` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type FocusRingValue = boolean | string | FocusRingOptions | null | undefined"},{"name":"ScrollElevationOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-scroll-elevation`. */\nexport interface ScrollElevationOptions {\n /**\n * What scrolls: an element, a CSS selector for it, or the window (when left out). A template ref that's still\n * empty (`target: list` before the list mounts) waits for it instead of following the window.\n */\n target?: HTMLElement | Window | string | null\n /** How far (px) the content has to scroll before the element counts as scrolled (default 0: any scroll). */\n threshold?: number\n /**\n * The background while scrolled, any CSS color or token; default `var(--color-surface-container)`, M3's\n * scrolled container color for a top app bar. `false` changes no color: style `[data-scrolled]` yourself.\n */\n color?: string | false\n /** Called when the scrolled state changes. */\n onChange?: (scrolled: boolean) => void\n /** Stops following the scroll while true (and clears the scrolled state). */\n disabled?: boolean\n}"},{"name":"ScrollElevationValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-scroll-elevation` value: nothing or `true` (the window), `false` (off), a selector, or an options object. */\nexport type ScrollElevationValue = boolean | string | ScrollElevationOptions | null | undefined"},{"name":"LongPressOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-long-press`. */\nexport interface LongPressOptions {\n /** Called once the press has been held for `duration`, with the pointerdown that started it. */\n handler?: (event: PointerEvent) => void\n /** How long to hold, in ms (default 500, as MTooltip's long press). */\n duration?: number\n /** How far (px) the pointer may move before it's a scroll or a drag, not a press (default 10). */\n tolerance?: number\n /** A short vibration when it fires, where the device supports it (default true). */\n haptic?: boolean\n /** Also with a mouse (default true); false leaves the mouse alone, for touch and pen only. */\n mouse?: boolean\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"LongPressValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-long-press` value: the handler, or an options object. */\nexport type LongPressValue = ((event: PointerEvent) => void) | LongPressOptions | null | undefined"},{"name":"SwipeDirection","import":"@m3ui-vue/m3ui-vue","source":"export type SwipeDirection = 'left' | 'right' | 'up' | 'down'"},{"name":"SwipeInfo","import":"@m3ui-vue/m3ui-vue","source":"/** What a swipe handler gets. */\nexport interface SwipeInfo {\n direction: SwipeDirection\n /** Distance from where the press started, px (x grows rightwards, y downwards). */\n dx: number\n dy: number\n /** Speed along the swipe's axis when the finger lifted, px/ms. */\n velocity: number\n /** The pointerup that ended it. */\n event: PointerEvent\n}"},{"name":"SwipeOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-swipe`. */\nexport interface SwipeOptions {\n left?: (info: SwipeInfo) => void\n right?: (info: SwipeInfo) => void\n up?: (info: SwipeInfo) => void\n down?: (info: SwipeInfo) => void\n /** Called for a swipe in any direction that has no handler of its own. Listens on both axes. */\n handler?: (info: SwipeInfo) => void\n /** How far (px) the finger has to travel for a slow swipe to count (default 50). */\n threshold?: number\n /** A swipe at least this fast (px/ms) counts whatever its length (default 0.5, a flick). */\n velocity?: number\n /** Called while the finger moves along a listened axis, for feedback (follow the finger, fade a hint). */\n onMove?: (dx: number, dy: number, event: PointerEvent) => void\n /** Called when the press ends, swiped or not (spring a moved element back). */\n onEnd?: (swiped: boolean) => void\n /** Also with a mouse drag (default false: swipes are for touch and pen). */\n mouse?: boolean\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"SwipeValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-swipe` value: a handler for any direction, or an options object. */\nexport type SwipeValue = ((info: SwipeInfo) => void) | SwipeOptions | null | undefined"},{"name":"ClickOutsideOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-click-outside`. */\nexport interface ClickOutsideOptions {\n /** Called with the event that landed outside the element. */\n handler?: (event: PointerEvent | MouseEvent) => void\n /**\n * Elements that count as inside too: elements or CSS selectors (the button that toggles a panel, or a panel's\n * own popup teleported to `<body>`).\n */\n exclude?: Array<HTMLElement | string | null | undefined>\n /** `'pointerdown'` (default) reacts as the press starts, like menus; `'click'` once it ends, so a drag out doesn't count. */\n event?: 'pointerdown' | 'click'\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"ClickOutsideValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-click-outside` value: the handler, or an options object. */\nexport type ClickOutsideValue = ((event: PointerEvent | MouseEvent) => void) | ClickOutsideOptions | null | undefined"},{"name":"SkeletonOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-skeleton`. */\nexport interface SkeletonOptions {\n /** Shows the placeholder while true. */\n loading?: boolean\n /** MSkeleton's animations (default `'pulse'`). */\n animation?: 'pulse' | 'wave' | 'none'\n}"},{"name":"SkeletonValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-skeleton` value: whether it's loading, or an options object. */\nexport type SkeletonValue = boolean | SkeletonOptions | null | undefined"},{"name":"EmojiCategory","import":"@m3ui-vue/m3ui-vue","source":"// Generated by scripts/generate-emoji-data.mjs from Unicode emoji-test.txt (Emoji 15). Don't edit by hand.\n// Emoji data © Unicode, Inc., under the Unicode License v3 (dist/THIRD_PARTY_LICENSES.md, scripts/licenses/unicode-license-v3.txt).\n\nexport interface EmojiCategory {\n id: string\n /** English name; MEmojiSelector shows the locale's (emojiCategory* keys). */\n label: string\n icon: string\n emojis: string[]\n}"}],"theme":{"colors":["primary","on-primary","primary-container","on-primary-container","secondary","on-secondary","secondary-container","on-secondary-container","tertiary","on-tertiary","tertiary-container","on-tertiary-container","primary-fixed","primary-fixed-dim","on-primary-fixed","on-primary-fixed-variant","secondary-fixed","secondary-fixed-dim","on-secondary-fixed","on-secondary-fixed-variant","tertiary-fixed","tertiary-fixed-dim","on-tertiary-fixed","on-tertiary-fixed-variant","error","on-error","error-container","on-error-container","success","on-success","success-container","on-success-container","background","on-background","surface","on-surface","surface-variant","on-surface-variant","surface-dim","surface-bright","surface-container-lowest","surface-container-low","surface-container","surface-container-high","surface-container-highest","outline","outline-variant","shadow","scrim","inverse-surface","inverse-on-surface","inverse-primary"],"text":["display-large","display-medium","display-small","headline-large","headline-medium","headline-small","title-large","title-medium","title-small","body-large","body-medium","body-small","label-large","label-medium","label-small","display-large-emphasized","display-medium-emphasized","display-small-emphasized","headline-large-emphasized","headline-medium-emphasized","headline-small-emphasized","title-large-emphasized","title-medium-emphasized","title-small-emphasized","body-large-emphasized","body-medium-emphasized","body-small-emphasized","label-large-emphasized","label-medium-emphasized","label-small-emphasized"],"radius":["xs","sm","md","lg","xl","lg-increased","xl-increased","xxl"],"shadow":["elevation-1","elevation-2","elevation-3","elevation-4","elevation-5"],"ease":["emphasized","emphasized-decelerate","emphasized-accelerate","standard","standard-decelerate","standard-accelerate","legacy","legacy-decelerate","legacy-accelerate"],"duration":["short-1","short-2","short-3","short-4","medium-1","medium-2","medium-3","medium-4","long-1","long-2","long-3","long-4","extra-long-1","extra-long-2","extra-long-3","extra-long-4"],"utilities":["scrollbar-none"],"palettes":["purple","indigo","navy","blue","cyan","teal","green","lime","olive","amber","sand","orange","deep-orange","brown","red","coral","crimson","pink","violet","slate","graphite","charcoal","steel","ash","iron","fog","pewter","smoke","stone","zinc","monochrome","rust","gold","emerald","turquoise","cobalt","sapphire","amethyst","magenta","mauve"]},"locale":{"keys":["lang","search","noResults","close","cancel","confirm","loading","menu","previous","next","today","more","selectedCount","recordCount","expand","collapse","clear","columns","exportCsv","noGroup","finish","dropText","selectText","maxSizePrefix","remove","selectDate","ok","dateToggleInput","dateToggleCalendar","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","mapDownload","mapNoBaseLayer","mapHoverInfo","mapNoValue","mapMeasureDistance","mapMeasureArea","mapClearMeasurements","mapDeleteMeasurement","mapTotal","mapSearchPlaces","timelineShowMore","timelineShowLess"],"presets":["esLocale","frLocale","ptLocale","deLocale","jaLocale","zhLocale","koLocale"]}}
1
+ {"name":"@m3ui-vue/m3ui-vue","version":"1.2.2","entries":["@m3ui-vue/m3ui-vue/chart","@m3ui-vue/m3ui-vue/code-editor","@m3ui-vue/m3ui-vue/markdown","@m3ui-vue/m3ui-vue/rich-text-editor","@m3ui-vue/m3ui-vue/terminal","@m3ui-vue/m3ui-vue/qrcode","@m3ui-vue/m3ui-vue/barcode","@m3ui-vue/m3ui-vue/map","@m3ui-vue/m3ui-vue"],"components":[{"name":"MAbsolute","import":"@m3ui-vue/m3ui-vue","description":"Declarative absolute positioning without Tailwind classes. Supports manual offsets, placement shortcuts, and per-axis control. Pair it with `MRelative` as the positioning parent.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px). Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset. Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":null,"description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Placement","source":"export type Placement =\n | 'top-left' | 'top-center' | 'top-right'\n | 'center-left' | 'center' | 'center-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"}]},{"name":"MAlert","import":"@m3ui-vue/m3ui-vue","description":"An inline banner for contextual status messages — info, success, warning, or error.","props":[{"name":"type","type":"\"info\" | \"success\" | \"warning\" | \"error\"","required":false,"default":"\"info\"","description":"Alert variant and color","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Bold title text","model":false},{"name":"closeable","type":"boolean","required":false,"default":"false","description":"Show close button","model":false},{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Aria label for the close button (falls back to the locale string)","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked. The parent owns visibility — pair with v-if/v-else to actually hide the alert."}],"slots":[{"name":"default","bindings":null,"description":"Alert body content"},{"name":"actions","bindings":null,"description":"Optional row of action buttons rendered below the body"}],"exposed":[],"types":[]},{"name":"MAnimatedNumber","import":"@m3ui-vue/m3ui-vue","description":"A number, time or duration whose digits roll to their new value on a spring when it changes, like an odometer: each digit rolls on its own (up when the value grows, down when it shrinks) and digits that appear or go away open and close. Numbers are formatted with `Intl.NumberFormat` (currency, percent, units, compact), times with `Intl.DateTimeFormat`, both in the app's language; durations as `h:mm:ss`. Tabular figures. Assistive technology reads the formatted value, not the rolling digits. Not an M3 spec component.","props":[{"name":"value","type":"number | Date","required":true,"default":null,"description":"The value: a number, a `Date` for times, or seconds for a duration","model":false},{"name":"type","type":"\"number\" | \"datetime\" | \"duration\"","required":false,"default":null,"description":"`number` (Intl.NumberFormat), `datetime` (Intl.DateTimeFormat; a `Date` or a timestamp) or `duration` (seconds as `h:mm:ss`, hours only when there are some). Defaults to `datetime` for a `Date`, `number` otherwise","model":false},{"name":"format","type":"Intl.NumberFormatOptions | Intl.DateTimeFormatOptions","required":false,"default":null,"description":"Intl options for the type: `{ style: 'currency', currency: 'EUR' }`, `{ style: 'percent' }`, `{ style: 'unit', unit: 'kilometer-per-hour' }`, `{ notation: 'compact' }` for numbers; `{ timeStyle: 'medium' }` (the default), `{ hour: '2-digit', minute: '2-digit' }`, `{ dateStyle: 'short' }` for times. Unused for durations. Dollar-sign currencies show their country (`AR$`, `MX$`, `US$`) in any language; set `currencyDisplay` for Intl's own output (`'symbol'` gives the local peso as a plain `$`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 language for the format (`es-AR` for Argentine pesos and separators); defaults to the app's locale","model":false},{"name":"spring","type":"SpringSpec","required":false,"default":null,"description":"The rolling spring; Standard SlowSpatial by default (an unhurried landing, no visible bounce)","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Roll to new values; false (or the system's reduced motion) jumps to them","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MAppBar","import":"@m3ui-vue/m3ui-vue","description":"A simple, generic slot-based app bar with leading, default, and trailing areas — a lighter-weight alternative to MTopAppBar for when you don't need its variant/title-row layouts.","props":[{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Add shadow elevation","model":false},{"name":"dense","type":"boolean","required":false,"default":null,"description":"Compact height (48px vs 64px)","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false}],"events":[],"slots":[{"name":"leading","bindings":null,"description":"Leading area (e.g. back button, menu icon)"},{"name":"default","bindings":null,"description":"Main content (title text)"},{"name":"trailing","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppBarWithSearch","import":"@m3ui-vue/m3ui-vue","description":"A top app bar whose title is a search bar (a port of Compose's `AppBarWithSearch`, and with `transparent` its `TopSearchBar`): a navigation icon, the search bar and actions in one 64px row. The search bar expands like MSearchBar (full screen by default). It can darken as content scrolls under it, and hide while scrolling down.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Whether the search is expanded (v-model:expanded)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"searchVariant","type":"\"fullscreen\" | \"fullscreen-contained\" | \"docked\"","required":false,"default":"\"fullscreen\"","description":"How the search expands: full screen (default), full screen keeping the pill input, or a docked panel","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed search bar","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon outside the search bar (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button; defaults to the locale's \"Menu\"","model":false},{"name":"transparent","type":"boolean","required":false,"default":"false","description":"No app bar container, only the search bar (Compose's TopSearchBar)","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"enter-always\"","required":false,"default":null,"description":"How the bar reacts to `scrollTarget` scrolling: `pinned` stays and changes color once content is under it; `enter-always` also hides while scrolling down and comes back on any scroll up. With `enter-always` the bar is sticky over the content: put it at the top of the scrolling element (or of the page)","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the search expands or collapses — powers v-model:expanded"},{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"leading","bindings":null,"description":"Overrides the search bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content inside the search bar (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions, shown below the input while the search is expanded"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppLayout","import":"@m3ui-vue/m3ui-vue","description":"Full app shell — drawer, header, content, footer, and fab slots.","props":[{"name":"height","type":"string","required":false,"default":null,"description":"Container height (CSS value). Use \"100%\" to fit inside a parent instead of the viewport.","model":false},{"name":"drawerRight","type":"boolean","required":false,"default":null,"description":"Place the drawer slot on the right side of the layout","model":false}],"events":[],"slots":[{"name":"drawer","bindings":null,"description":"Side navigation (e.g. MNavigationDrawer). Use drawerRight prop to place it on the right."},{"name":"header","bindings":null,"description":"Top bar (e.g. MTopAppBar)"},{"name":"default","bindings":null,"description":"Main scrollable content"},{"name":"footer","bindings":null,"description":"Bottom bar or status area"},{"name":"fab","bindings":null,"description":"Floating elements (e.g. MFab) rendered outside the scroll area"}],"exposed":[],"types":[]},{"name":"MAspectRatio","import":"@m3ui-vue/m3ui-vue","description":"Maintains a consistent aspect ratio for media or containers.","props":[{"name":"ratio","type":"string | number","required":false,"default":"\"16/9\"","description":"Aspect ratio (e.g. \"16/9\", \"4/3\", 1) — passed straight through to the CSS aspect-ratio property","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, sized to fill the box."}],"exposed":[],"types":[]},{"name":"MAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Like MSelect but with a text input for filtering. Type to search, arrow keys to navigate, Enter to select.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing @debounced. Selection is always instant","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted on selection — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MAvatar","import":"@m3ui-vue/m3ui-vue","description":"A circular initials avatar. There's no image-source prop — it always renders extracted initials or a fallback string, never a photo.","props":[{"name":"name","type":"string","required":false,"default":null,"description":"Full name — initials are extracted automatically (first + last). Takes priority over fallback","model":false},{"name":"fallback","type":"string","required":false,"default":null,"description":"Custom text shown when name is not provided (e.g. 'AJ'). Falls back to '?' if neither is set","model":false},{"name":"size","type":"number","required":false,"default":"40","description":"Avatar size in px — also scales the font size proportionally (40%)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MBadge","import":"@m3ui-vue/m3ui-vue","description":"A small numeric or dot indicator overlaid on another element, such as an icon button or avatar.","props":[{"name":"count","type":"number","required":false,"default":null,"description":"Numeric badge value","model":false},{"name":"dot","type":"boolean","required":false,"default":null,"description":"Show a small dot instead of a number","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"error\"","description":"Badge color","model":false},{"name":"max","type":"number","required":false,"default":"99","description":"Max value before showing \"N+\"","model":false},{"name":"position","type":"BadgePosition","required":false,"default":"\"top-right\"","description":"Corner where the badge is placed","model":false},{"name":"overlap","type":"BadgeOverlap","required":false,"default":"\"edge\"","description":"How much the badge overlaps the content","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The element the badge sits on."}],"exposed":[],"types":[{"name":"BadgePosition","source":"export type BadgePosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'"},{"name":"BadgeOverlap","source":"export type BadgeOverlap = 'inside' | 'outside' | 'edge'"}]},{"name":"MBar","import":"@m3ui-vue/m3ui-vue","description":"A draggable Electron title bar for frameless windows (`frame: false`). Sets `-webkit-app-region: drag` on itself and carves out `no-drag` around the icon, controls, and slot content, so those stay clickable. It can't touch the real OS window — minimize/maximize/close just emit events for your app to forward over IPC.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Window title text","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol name, or an image src (URL, data URI, or a path with a file extension) — detected automatically.","model":false},{"name":"titleAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centered floats over the whole bar so it stays centered regardless of side content width","model":false},{"name":"controls","type":"boolean","required":false,"default":null,"description":"Show the minimize/maximize/close buttons as a group. Defaults to `true`, except on `platform=\"macos\"` where the OS draws native traffic lights instead.","model":false},{"name":"minimizable","type":"boolean","required":false,"default":null,"description":"Individually hide one control while keeping the others — e.g. a fixed-size window with no maximize button.","model":false},{"name":"maximizable","type":"boolean","required":false,"default":null,"description":"Show the maximize/restore button on its own","model":false},{"name":"closable","type":"boolean","required":false,"default":null,"description":"Show the close button on its own","model":false},{"name":"maximized","type":"boolean","required":false,"default":"false","description":"Reflects the real window state — the bar has no way to know it itself, the host app must read it from its Electron main process and pass it down.","model":false},{"name":"platform","type":"\"windows\" | \"macos\"","required":false,"default":"\"windows\"","description":"'macos' reserves space for the native traffic lights and hides the drawn controls by default","model":false},{"name":"height","type":"number","required":false,"default":"36","description":"Bar height in px.","model":false},{"name":"doubleClickMaximize","type":"boolean","required":false,"default":"true","description":"Double-clicking empty drag space toggles maximize, matching native title bar behavior.","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"minimize","args":"","description":"Emitted when the minimize button is clicked — forward to your Electron IPC call"},{"name":"maximize","args":"","description":"Emitted when the maximize/restore button is clicked, or (with doubleClickMaximize) empty drag space is double-clicked"}],"slots":[{"name":"icon","bindings":null,"description":"Replaces the icon — e.g. an `<img>` logo instead of a Material Symbol"},{"name":"title","bindings":null,"description":"Replaces the title text"},{"name":"default","bindings":null,"description":"Extra content between the title and the trailing area (drag-adjacent, e.g. tabs)"},{"name":"trailing","bindings":null,"description":"Action buttons right before minimize/maximize/close"}],"exposed":[],"types":[]},{"name":"MBarcode","import":"@m3ui-vue/m3ui-vue/barcode","description":"Renders a barcode as inline SVG. Available from the `/barcode` entry point.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"format","type":"string","required":false,"default":"\"CODE128\"","description":"Barcode symbology. Common values: 'CODE128', 'EAN13', 'EAN8', 'UPC', 'CODE39', 'ITF14', 'MSI', 'pharmacode', 'codabar'.","model":false},{"name":"width","type":"number","required":false,"default":"2","description":"Width of the narrowest bar, in px","model":false},{"name":"height","type":"number","required":false,"default":"80","description":"Bar height in px","model":false},{"name":"displayValue","type":"boolean","required":false,"default":"true","description":"Show the encoded text below the bars","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Bar color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Background color","model":false},{"name":"margin","type":"number","required":false,"default":"10","description":"Quiet zone around the barcode, in px","model":false},{"name":"fontSize","type":"number","required":false,"default":"20","description":"Font size for the displayed value","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is invalid for the given format (e.g. a non-numeric EAN13)"}],"exposed":[],"types":[]},{"name":"MBottomAppBar","import":"@m3ui-vue/m3ui-vue","description":"M3's bottom app bar (a port of Compose's `BottomAppBar`): navigation and key actions at the bottom of small screens, with an optional FAB at the end. With `flexible` it's M3 Expressive's `FlexibleBottomAppBar`, a shorter bar whose actions spread across it. With `scrollBehavior=\"exit-always\"` it collapses as the content scrolls down and comes back as it scrolls up.","props":[{"name":"flexible","type":"boolean","required":false,"default":"false","description":"M3 Expressive's FlexibleBottomAppBar: 64px instead of 80px, 16px side padding, no FAB slot","model":false},{"name":"arrangement","type":"\"start\" | \"between\" | \"around\" | \"evenly\" | \"fixed\"","required":false,"default":null,"description":"How the actions are spread: `start` (the standard bar's), `between` (the flexible bar's default), `around`, `evenly`, or `fixed` (centered, 32px apart: FlexibleFixedHorizontalArrangement)","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Container color: surface-container, or a color's container for a vibrant bar","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"exit-always\"","required":false,"default":"\"pinned\"","description":"`pinned` stays put; `exit-always` collapses while the content scrolls down and returns when it scrolls up","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `exit-always` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The actions, usually MIconButtons"},{"name":"fab","bindings":null,"description":"A FAB at the end of the standard bar; an MFab here turns secondary and drops its shadow, as M3's bottom app bar FAB (`bottomAppBarFabColor`, `bottomAppBarFabElevation`)"}],"exposed":[],"types":[]},{"name":"MBottomSheet","import":"@m3ui-vue/m3ui-vue","description":"A sheet that slides up from the bottom of the screen, capped at a 640px max width and rounded top corners. Supports drag-to-dismiss via the handle bar, or tapping the scrim. With `partial`, a sheet taller than that share of the screen opens partially expanded and is dragged (handle or content) up to its full height, after Compose's ModalBottomSheet.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Tallest the sheet gets, as a CSS length (`'480px'`, `'70dvh'`); past it the content scrolls. Default 60vh, or the whole screen with `partial`","model":false},{"name":"fullHeight","type":"boolean","required":false,"default":"false","description":"","model":false},{"name":"partial","type":"number | boolean","required":false,"default":"false","description":"Opens a sheet taller than this share of the screen partially expanded (`true` = half, or a ratio like 0.4); dragging the handle or the content up expands it fully","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Fully (true) or partially (false) expanded, with `partial` (v-model:expanded)","model":true},{"name":"squareCornersWhenFull","type":"boolean","required":false,"default":"false","description":"Squares the top corners while the expanded sheet fills the screen, as Android's views sheet does","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss, Escape, or the close button) — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the sheet moves between partially and fully expanded (or closes) — powers v-model:expanded"}],"slots":[{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MBottomSheetScaffold","import":"@m3ui-vue/m3ui-vue","description":"A screen with M3's standard (non-modal) bottom sheet, a port of Compose's `BottomSheetScaffold`: the sheet sits over the bottom of the content without a scrim, peeking out when partially expanded, and the content stays usable. Drag it (or its content, which scrolls once the sheet is fully expanded) between its states, or tap the handle. For a sheet that blocks the screen behind a scrim, use MBottomSheet.","props":[{"name":"modelValue","type":"BottomSheetValue","required":false,"default":"\"partial\"","description":"The sheet's state (v-model): `partial` shows `peekHeight` of it, `expanded` all of it, `hidden` none","model":true},{"name":"peekHeight","type":"number","required":false,"default":"56","description":"Height in px the partially expanded sheet shows (BottomSheetDefaults.SheetPeekHeight)","model":false},{"name":"skipHiddenState","type":"boolean","required":false,"default":"true","description":"Leaves out the hidden state, so the sheet can't be swiped away (Compose's default for this sheet)","model":false},{"name":"swipeEnabled","type":"boolean","required":false,"default":"true","description":"Lets the sheet be dragged; with false it only moves through v-model and the handle","model":false},{"name":"maxWidth","type":"number","required":false,"default":"640","description":"Maximum width in px; the sheet is centered when the screen is wider","model":false}],"events":[{"name":"update:modelValue","args":"BottomSheetValue","description":"Emitted when the sheet settles in another state after a drag or a handle tap — powers v-model"}],"slots":[{"name":"top-bar","bindings":null,"description":"An app bar above the content (the sheet can rise over it)"},{"name":"default","bindings":null,"description":"The screen's content; it gets bottom padding equal to `peekHeight` so nothing hides under the peeking sheet"},{"name":"sheet","bindings":null,"description":"The sheet's content, below the drag handle"}],"exposed":[],"types":[{"name":"BottomSheetValue","source":"export type BottomSheetValue = 'hidden' | 'partial' | 'expanded'"}]},{"name":"MBox","import":"@m3ui-vue/m3ui-vue","description":"Generic surface box with padding, radius, elevation, and border — a building block for ad-hoc layout that doesn't warrant a dedicated component.","props":[{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"container-highest\" | \"primary-container\" | \"secondary-container\" | \"tertiary-container\" | \"inverse\"","required":false,"default":null,"description":"Surface color variant","model":false},{"name":"padding","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Padding size","model":false},{"name":"rounded","type":"\"none\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\"","required":false,"default":"\"none\"","description":"Border radius","model":false},{"name":"elevation","type":"0 | 1 | 2 | 3 | 4 | 5","required":false,"default":"0","description":"Shadow elevation level (M3 levels 0–5)","model":false},{"name":"border","type":"boolean","required":false,"default":"false","description":"Show border","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MBreadcrumbs","import":"@m3ui-vue/m3ui-vue","description":"A navigation trail showing the current page's location within a hierarchy, with icons and custom separators.","props":[{"name":"items","type":"BreadcrumbItem[]","required":true,"default":null,"description":"Breadcrumb items (see `BreadcrumbItem`)","model":false},{"name":"separator","type":"string","required":false,"default":"\"chevron_right\"","description":"Material Symbol separator icon","model":false}],"events":[{"name":"select","args":"BreadcrumbItem, number","description":"Emitted when a non-last, non-disabled item is clicked"}],"slots":[],"exposed":[],"types":[{"name":"BreadcrumbItem","source":"export interface BreadcrumbItem {\n label: string\n icon?: string\n to?: string\n disabled?: boolean\n}"}]},{"name":"MButton","import":"@m3ui-vue/m3ui-vue","description":"The standard M3 button — five variants, five expressive size tiers, and either color.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"filled\"","description":"Visual style of the button","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Named semantic color ('primary' | 'error') OR any CSS color string ('red', '#e91e63', 'oklch(0.6 0.2 0)', …). When a CSS color is passed, --color-primary is overridden for this button.","model":false},{"name":"type","type":"\"button\" | \"submit\" | \"reset\"","required":false,"default":"\"button\"","description":"HTML button type","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner and disables the button","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown next to the label","model":false},{"name":"iconFilled","type":"boolean","required":false,"default":null,"description":"Draw the icon filled (Material Symbols' FILL axis), e.g. a starred star or a play icon","model":false},{"name":"iconPos","type":"\"leading\" | \"trailing\"","required":false,"default":"\"leading\"","description":"Which side of the label the icon renders on","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier expressive button sizing (xs: 32px, sm: 40px, md: 56px, lg: 96px, xl: 136px) — lg/xl are meant for hero-style prominent buttons, not everyday UI","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false},{"name":"contentColor","type":"string","required":false,"default":null,"description":"Label and icon color, over what the variant and `color` give: an M3 role (`on-surface` for a neutral text button, `on-primary-container`…) or any CSS color (`#000` on a white filled button). Disabled buttons keep their own","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The button's label."}],"exposed":[],"types":[]},{"name":"MButtonGroup","import":"@m3ui-vue/m3ui-vue","description":"A set of buttons that share selection state — standard (separated) or connected (joined into one pill), single or multi select, any value type.","props":[{"name":"modelValue","type":"M","required":true,"default":null,"description":"Selected value (null when none), or values with `multiSelect` (v-model) — any type, typed after the options' values","model":true},{"name":"options","type":"ButtonGroupOption<T>[]","required":true,"default":null,"description":"The options to choose from; see `ButtonGroupOption`.","model":false},{"name":"variant","type":"\"standard\" | \"connected\"","required":false,"default":"\"standard\"","description":"Standard (separated) or connected (joined)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"selectionRequired","type":"boolean","required":false,"default":"false","description":"At least one must be selected","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected button color","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"update:modelValue","args":"M","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ButtonGroupOption","source":"export interface ButtonGroupOption<T = unknown> {\n value: T\n label?: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MCalendar","import":"@m3ui-vue/m3ui-vue","description":"A monthly calendar grid with color-coded, clickable events.","props":[{"name":"events","type":"CalendarEvent[]","required":false,"default":"[]","description":"Array of events to render on the grid (see `CalendarEvent`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/weekday names, via Intl.DateTimeFormat. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label for the Today button — falls back to the locale's own string when unset","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — falls back to the locale's own string when unset","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — falls back to the locale's own string when unset","model":false}],"events":[{"name":"dateClick","args":"string","description":"Emitted when an empty part of a day cell is clicked"},{"name":"eventClick","args":"CalendarEvent","description":"Emitted when an event pill is clicked"}],"slots":[],"exposed":[],"types":[{"name":"CalendarEvent","source":"export interface CalendarEvent {\n id: string | number\n title: string\n date: string\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n icon?: string\n}"}]},{"name":"MCard","import":"@m3ui-vue/m3ui-vue","description":"A flexible surface for grouping related content — three variants following the M3 elevation system, with optional header image, structured title/subtitle, and action buttons.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"elevated\"","description":"Card surface style","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the card an interactive element — hover/press elevation (varies by variant per M3), a focus ring/border on keyboard focus, and reachable/activatable via Tab + Enter/Space, not just mouse","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Shortcut that forces the elevated variant regardless of variant — true is equivalent to variant='elevated'","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled visual state (own per-variant color, not just a dimmed one) and, when combined with clickable, blocks interaction entirely","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"src URL for a full-bleed header image","model":false},{"name":"imageAlt","type":"string","required":false,"default":null,"description":"Alt text for the header image","model":false},{"name":"imageHeight","type":"string","required":false,"default":null,"description":"Tailwind height class for the image","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Card title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Supporting text below the title","model":false}],"events":[],"slots":[{"name":"media","bindings":null,"description":"Custom media content (alternative to the image prop)"},{"name":"header","bindings":null,"description":"Custom header content (overrides title/subtitle props)"},{"name":"default","bindings":null,"description":"Main content area (raw, no wrapper)"},{"name":"actions","bindings":null,"description":"Bottom action buttons (flex row, right-aligned)"}],"exposed":[],"types":[]},{"name":"MCarousel","import":"@m3ui-vue/m3ui-vue","description":"The Material 3 carousel, with its four layouts. Items keep one size and are laid out side by side; as you scroll, each one is masked down to the space it has, so items grow as they reach the focal position and shrink as they leave. Drag it (touch or mouse), scroll it with a trackpad or a horizontal wheel, or focus it and use the arrow keys. For fixed-width slides with arrows and autoplay, see MSimpleCarousel.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Items to render, required. CarouselItem by default; any type with an #item slot","model":false},{"name":"modelValue","type":"number","required":false,"default":null,"description":"Index of the current (snapped) item; use with v-model to follow or drive it.","model":true},{"name":"variant","type":"CarouselVariant","required":false,"default":"\"multi-browse\"","description":"Carousel layout","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Scroll axis","model":false},{"name":"itemSize","type":"number","required":false,"default":null,"description":"Size of large items along the scroll axis, in px. Multi-browse and hero treat it as the preferred size (the arrangement that fits best wins); uncontained uses it as is. Hero without it fills the container minus its small items; full-screen ignores it.","model":false},{"name":"itemSpacing","type":"number","required":false,"default":"8","description":"Space between items, in px (M3 uses 8).","model":false},{"name":"contentPadding","type":"number","required":false,"default":"0","description":"Padding at both ends of the scroll axis, in px. Items scroll under it.","model":false},{"name":"minSmallItemSize","type":"number","required":false,"default":"40","description":"Smallest size a small item can take (multi-browse, hero)","model":false},{"name":"maxSmallItemSize","type":"number","required":false,"default":"56","description":"Largest size a small item can take (multi-browse, hero)","model":false},{"name":"flingBehavior","type":"CarouselFlingBehavior","required":false,"default":null,"description":"What a release does. Defaults to 'no-snap' for uncontained, 'single-advance' otherwise.","model":false},{"name":"userScrollEnabled","type":"boolean","required":false,"default":"true","description":"Allow dragging, wheel and keyboard scrolling","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Height of the carousel. Defaults to 205px for a horizontal carousel that isn't full-screen.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the carousel.","model":false}],"events":[{"name":"update:modelValue","args":"index: number","description":"The current item changed"},{"name":"itemClick","args":"item: T, index: number","description":"An item was clicked (not dragged). A partly visible item also scrolls into focus"}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Content of each item, filling its full (unmasked) box. Replaces the default image and label"}],"exposed":[],"types":[{"name":"CarouselItem","source":"export interface CarouselItem {\n src: string\n alt?: string\n label?: string\n}"},{"name":"CarouselVariant","source":"export type CarouselVariant = 'multi-browse' | 'uncontained' | 'hero' | 'full-screen'"},{"name":"CarouselFlingBehavior","source":"export type CarouselFlingBehavior = 'single-advance' | 'multi-browse' | 'no-snap'"}]},{"name":"MCenter","import":"@m3ui-vue/m3ui-vue","description":"Centers its children both horizontally and vertically.","props":[{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, centered."}],"exposed":[],"types":[]},{"name":"MChart","import":"@m3ui-vue/m3ui-vue/chart","description":"A thin Chart.js wrapper — line, bar, pie, doughnut, and radar types, with legend/tooltip/axis colors that automatically track the active M3 theme (light/dark, palette, contrast). Datasets without colors of their own get the theme's too, one per series (one per slice in a pie or doughnut). Available from the `/chart` entry point.","props":[{"name":"type","type":"ChartType","required":true,"default":null,"description":"Chart type. Required — there is no default.","model":false},{"name":"data","type":"Record<string, any>","required":true,"default":null,"description":"Chart.js data object with labels and datasets. Required — there is no default.","model":false},{"name":"options","type":"Record<string, any>","required":false,"default":null,"description":"Chart.js options, deep-merged on top of MChart's own M3-themed defaults (legend/tooltip/axis colors that track the active theme automatically)","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Chart height","model":false},{"name":"colors","type":"string[]","required":false,"default":null,"description":"Colors for datasets that don't set their own, in order (one per series; per slice in a pie or doughnut): M3 role names (`primary`, `tertiary-container`…) or any CSS colors. Default primary, tertiary, secondary, success, error, outline","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"ChartType","source":"type ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'"}]},{"name":"MChatBubble","import":"@m3ui-vue/m3ui-vue","description":"A chat message bubble — sender name, avatar, timestamp, and read status, for left (received) or right (sent) messages.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Message text (or use the default slot for custom content)","model":false},{"name":"sender","type":"string","required":false,"default":null,"description":"Sender name shown above the bubble (left-side only)","model":false},{"name":"time","type":"string","required":false,"default":null,"description":"Timestamp string (e.g. \"10:32\")","model":false},{"name":"side","type":"\"right\" | \"left\"","required":false,"default":"\"left\"","description":"Left = received, right = sent","model":false},{"name":"avatar","type":"string","required":false,"default":null,"description":"Avatar name — shows an MAvatar with these initials (left-side only)","model":false},{"name":"status","type":"\"sent\" | \"delivered\" | \"read\"","required":false,"default":null,"description":"Message status icon next to the timestamp (right-side only)","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bubble color for sent (right-side) messages","model":false},{"name":"tail","type":"boolean","required":false,"default":"true","description":"Show the bubble tail (a sharper corner on the side nearest the sender)","model":false},{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"medium\"","description":"Text size (body-small / body-medium / body-large)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Max bubble width (px, %, or var()) — supports a CSS variable for responsive control","model":false},{"name":"typing","type":"\"text\" | \"audio\"","required":false,"default":null,"description":"Shows a live indicator instead of the content: bouncing dots while the other person types, or a mic with a moving waveform while they record audio.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content inside the bubble, replacing the text prop — images, files, buttons, or any layout"}],"exposed":[],"types":[]},{"name":"MCheckbox","import":"@m3ui-vue/m3ui-vue","description":"A checkbox with checked, indeterminate, and disabled states, and 4 semantic color options.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Checked state (v-model)","model":true},{"name":"indeterminate","type":"boolean","required":false,"default":"false","description":"Indeterminate state","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the checkbox","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text — overridden by the default slot when present","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Checked/indeterminate color","model":false},{"name":"ariaLabel","type":"string","required":false,"default":null,"description":"Accessible name for the input when there's no visible label (e.g. a list row's checkbox).","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new checked state."}],"slots":[{"name":"default","bindings":null,"description":"Custom label content — overrides the label prop when provided"}],"exposed":[],"types":[]},{"name":"MChip","import":"@m3ui-vue/m3ui-vue","description":"Compact elements for filters, input, or actions — named semantic tones or any CSS color, with optional icon, click, selection, and removal support. With `type` it's one of M3's four chips instead (assist, filter, input, suggestion), styled by the spec and always interactive; `tone` then doesn't apply.","props":[{"name":"tone","type":"string","required":false,"default":"\"neutral\"","description":"Color tone or any CSS color string","model":false},{"name":"selected","type":"boolean","required":false,"default":"false","description":"Selected/active state — the chip's shape morphs from a rounded rect to a full pill when selected","model":true},{"name":"removable","type":"boolean","required":false,"default":"false","description":"Show a remove (X) button","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the chip an interactive `<button>` with hover/press/focus feedback (otherwise renders as a plain `<span>`)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"type","type":"\"filter\" | \"assist\" | \"input\" | \"suggestion\"","required":false,"default":null,"description":"One of M3's chips: `assist` (an action), `filter` (on/off, v-model:selected; a check slides in while selected), `input` (a piece of user input, with an optional #avatar and `removable`), `suggestion`. Leave unset for the generic tone-colored chip","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Typed assist, filter and suggestion chips: surface-container-low with elevation 1 instead of an outline","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Typed chips: a trailing Material Symbol icon (e.g. arrow_drop_down on a filter chip that opens a menu)","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a clickable (or typed), non-disabled chip is clicked"},{"name":"remove","args":"","description":"Emitted when the remove (X) button is clicked (removable only)"},{"name":"update:selected","args":"boolean","description":"Filter and input chips: emitted on click with the new selected state — powers v-model:selected"}],"slots":[{"name":"avatar","bindings":null,"description":"Input chips only: a 24px round avatar before the label (e.g. an MAvatar or an img)"},{"name":"default","bindings":null,"description":"The chip's label."}],"exposed":[],"types":[]},{"name":"MCircleProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A circular progress indicator — a smooth arc, or the M3 Expressive wavy ring that fades between a circle and a bumpy wave near the extremes.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit when indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Spinning arc — no value needed. Identical for both variants.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":"\"primary\"","description":"Ring color: an M3 role or any CSS color","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Track color: an M3 role or any CSS color. Default the role's container, or the ring color at 24% for a CSS color","model":false},{"name":"variant","type":"\"wavy\" | \"circle\"","required":false,"default":"\"wavy\"","description":"wavy: animated bumpy ring that fades to circle near 0% and 100%; circle: smooth arc","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text below the circle","model":false},{"name":"size","type":"number","required":false,"default":null,"description":"Diameter in px — matches the real M3 WaveSize/Size tokens per variant","model":false},{"name":"thickness","type":"number","required":false,"default":"4","description":"Stroke width of the ring/wave in px, matching the real M3 token","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content centered inside the ring. When provided, the percentage label is hidden."}],"exposed":[],"types":[]},{"name":"MCodeEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A syntax-highlighted code editor built on CodeMirror 6, with a header bar, line numbers, and a copy button.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Editor content (v-model)","model":true},{"name":"language","type":"Language","required":false,"default":"\"javascript\"","description":"Syntax language","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"lineNumbers","type":"boolean","required":false,"default":"true","description":"Show line numbers","model":false},{"name":"theme","type":"\"light\" | \"dark\"","required":false,"default":"\"light\"","description":"Color theme","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum editor height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Maximum editor height","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown via CodeMirror when the editor is empty","model":false},{"name":"wrap","type":"boolean","required":false,"default":"true","description":"Word wrap","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every document change — powers v-model"}],"slots":[{"name":"actions","bindings":null,"description":"Extra controls rendered in the header bar, before the built-in copy button"}],"exposed":[],"types":[{"name":"Language","source":"type Language = 'javascript' | 'typescript' | 'json' | 'html' | 'css' | 'python' | 'vue' | 'c' | 'cpp' | 'rust' | 'asm' | 'plain'"}]},{"name":"MColorPicker","import":"@m3ui-vue/m3ui-vue","description":"An outlined field that opens a color picker in a dropdown: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Updates the value live while picking.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the panel","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the picked color, live while dragging or typing."}],"slots":[],"exposed":[],"types":[]},{"name":"MColorPickerModal","import":"@m3ui-vue/m3ui-vue","description":"A color picker in a dialog: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Built on MDialog; the color is only applied on confirm, and the preview shows it next to the original.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the dialog","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title; defaults to the locale's `selectColor`","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember confirmed colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted when a color is confirmed — powers v-model. Only fires on confirm, not while dragging"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MCommandPalette","import":"@m3ui-vue/m3ui-vue","description":"A searchable, keyboard-driven command palette — grouped commands, fuzzy-free substring search, and a global hotkey (Cmd/Ctrl+K by default).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"items","type":"CommandItem[]","required":true,"default":null,"description":"Commands to search over (see `CommandItem`). Required — there is no default.","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"k\"","description":"Global keyboard shortcut key, combined with Cmd/Ctrl, to toggle the palette","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"selectHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"CommandItem","description":"Emitted when an item is chosen (click, or Enter) — fires before the item's own onSelect callback runs"}],"slots":[],"exposed":[],"types":[{"name":"CommandItem","source":"export interface CommandItem {\n id: string\n label: string\n icon?: string\n shortcut?: string\n group?: string\n disabled?: boolean\n onSelect?: () => void\n}"}]},{"name":"MConfirmDialog","import":"@m3ui-vue/m3ui-vue","description":"A pre-built confirmation dialog on top of MDialog — title, message, cancel/confirm buttons, a danger color mode, and a loading state, so you don't have to hand-roll one for every \"are you sure?\" prompt.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":true,"default":null,"description":"Dialog title","model":false},{"name":"message","type":"string","required":true,"default":null,"description":"Confirmation message body","model":false},{"name":"confirmLabel","type":"string","required":false,"default":null,"description":"Confirm button label — falls back to the locale string when omitted","model":false},{"name":"cancelLabel","type":"string","required":false,"default":null,"description":"Cancel button label — falls back to the locale string when omitted","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Error color on the confirm button, for destructive actions","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner on the confirm button and disables cancel","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Passed straight through to MDialog's `closable` — show/hide the header close (X) button.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"},{"name":"confirm","args":"","description":"Emitted when the confirm button is clicked — the dialog stays open until the caller sets modelValue to false (or clears loading)"}],"slots":[],"exposed":[],"types":[]},{"name":"MContainer","import":"@m3ui-vue/m3ui-vue","description":"Constrains content width with responsive horizontal padding.","props":[{"name":"maxWidth","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | \"2xl\"","required":false,"default":"\"lg\"","description":"Maximum width breakpoint","model":false},{"name":"fluid","type":"boolean","required":false,"default":"false","description":"Full-width (no max constraint)","model":false},{"name":"centered","type":"boolean","required":false,"default":"true","description":"Center horizontally with mx-auto","model":false},{"name":"padding","type":"boolean","required":false,"default":"true","description":"Add responsive horizontal padding","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MContainerTransform","import":"@m3ui-vue/m3ui-vue","description":"Material's container transform: an element (a card, a list item, an image, a FAB…) grows into an expanded view and shrinks back into it, morphing its bounds and shape while its content fades into the new one. The expanded view opens over the page, full screen, as a centered panel, or wherever your classes put it (`custom`), with a scrim (optional), Escape and scroll lock; focus goes to it and back to the element on close. A port of Android's MaterialContainerTransform, played on the compositor. For elements that live apart from the expanded view (a grid of cards, one detail), pass a `useContainerTransform()` controller instead of the default slot.","props":[{"name":"controller","type":"ContainerTransformController<T>","required":false,"default":null,"description":"A `useContainerTransform()` controller, to open it from elements elsewhere (`controller.open($event, item)`)","model":false},{"name":"mode","type":"\"fullscreen\" | \"dialog\" | \"custom\"","required":false,"default":"\"fullscreen\"","description":"Where the expanded view opens: over the whole screen, as a centered panel (wider screens), or `custom`: the classes you give the component place and size it (`bottom-4 right-4 w-80 h-96`, `inset-y-0 right-0 w-96`…), anywhere over the page","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"560px\"","description":"The centered panel's maximum width (`dialog` mode)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the expanded view","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dims the page behind it, which makes it modal (scroll lock, `aria-modal`). Without one the page stays usable: a click outside closes it instead (unless `persistent`)","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"A click on the scrim, or outside without one, doesn't close it","model":false},{"name":"closeOnBack","type":"boolean","required":false,"default":"true","description":"Android's back (button or gesture) closes it, like an expanded view in an app, where the browser has the CloseWatcher API (Chrome, Edge); the history and the router are left alone. Default `true`","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"Whether the expanded view is open; opening it from here grows it from the default slot's element","model":true}],"events":[{"name":"update:open","args":"value: boolean","description":"The expanded view opened or closed (v-model:open)"}],"slots":[{"name":"default","bindings":"{ open: () => void; isOpen: boolean; }","description":"The element that opens it, with `{ open, isOpen }`: call `open()` from its click"},{"name":"expanded","bindings":"{ close: () => void; item: T | undefined; }","description":"The expanded view, with `{ close, item }` (`item` is what the controller's `open` was given)"}],"exposed":[],"types":[]},{"name":"MContextMenu","import":"@m3ui-vue/m3ui-vue","description":"A right-click context menu composed with MMenuItem — same item/divider/submenu building blocks as MMenu, but positioned at the cursor instead of anchored to a trigger element.","props":[{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":null,"description":"The element(s) that respond to right-click. MContextMenu intercepts contextmenu events automatically and positions the panel at the cursor, clamped to stay on-screen."},{"name":"default","bindings":null,"description":"Menu items — use MMenuItem, MMenuDivider, or any element."}],"exposed":[{"name":"show","type":"(e: MouseEvent) => void","description":""},{"name":"showAt","type":"(x: number, y: number) => Promise<void>","description":""},{"name":"hide","type":"() => void","description":""}],"types":[]},{"name":"MCopyButton","import":"@m3ui-vue/m3ui-vue","description":"Wraps MIconButton and swaps to a checkmark for resetDelay ms after a successful copy.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Text copied to the clipboard on click","model":false},{"name":"icon","type":"string","required":false,"default":"\"content_copy\"","description":"Icon shown in the idle state","model":false},{"name":"copiedIcon","type":"string","required":false,"default":"\"check\"","description":"Icon shown right after a successful copy","model":false},{"name":"label","type":"string","required":false,"default":"\"Copy\"","description":"aria-label in the idle state","model":false},{"name":"copiedLabel","type":"string","required":false,"default":"\"Copied\"","description":"aria-label right after a successful copy","model":false},{"name":"variant","type":"\"filled\" | \"outlined\" | \"tonal\" | \"standard\"","required":false,"default":"\"standard\"","description":"Visual style (same as MIconButton)","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false},{"name":"resetDelay","type":"number","required":false,"default":"2000","description":"Milliseconds before the icon reverts to idle after copying","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if the browser refuses the clipboard write"},{"name":"copied","args":"string","description":"Emitted with the copied value after a successful clipboard write"}],"slots":[],"exposed":[],"types":[]},{"name":"MDataTable","import":"@m3ui-vue/m3ui-vue","description":"A feature-rich data table — everything MTable has, plus column resize/pin/toggle, row grouping, striped/dense density, sticky header, expandable rows, and CSV export.","props":[{"name":"columns","type":"DataTableColumn[]","required":true,"default":null,"description":"Column definitions; see `DataTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Enable row expansion (requires the row-expand slot)","model":false},{"name":"striped","type":"boolean","required":false,"default":"false","description":"Alternate row colors","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"stickyHeader","type":"boolean","required":false,"default":"false","description":"Sticky table header","model":false},{"name":"groupBy","type":"string","required":false,"default":null,"description":"Group rows by this column key","model":false},{"name":"columnToggle","type":"boolean","required":false,"default":"false","description":"Allow hiding/showing columns from a menu","model":false},{"name":"exportable","type":"boolean","required":false,"default":"false","description":"Show an export-to-CSV button","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit fetch instead of local filtering. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge (defaults to the locale string)","model":false},{"name":"recordsText","type":"string","required":false,"default":null,"description":"Text for total records count (defaults to the locale string)","model":false},{"name":"expandLabel","type":"string","required":false,"default":null,"description":"Aria label for the expand button (defaults to the locale string)","model":false},{"name":"columnsLabel","type":"string","required":false,"default":null,"description":"Label for the column-toggle button (defaults to the locale string)","model":false},{"name":"exportLabel","type":"string","required":false,"default":null,"description":"Label for the export button (defaults to the locale string)","model":false},{"name":"noGroupText","type":"string","required":false,"default":null,"description":"Text for the ungrouped-rows bucket (defaults to the locale string)","model":false},{"name":"minHeight","type":"string","required":false,"default":null,"description":"Reserves a fixed min-height for the table area (any valid CSS min-height value) so switching between loading/empty/loaded doesn't visibly resize the table. Off by default.","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"DataTableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"},{"name":"row-expand","bindings":"{ row: Record<string, any>; }","description":"Expanded-row detail content, shown when expandable is true and the row is toggled open"}],"exposed":[],"types":[{"name":"DataTableColumn","source":"export interface DataTableColumn {\n key: string\n label: string\n sortable?: boolean\n filterable?: boolean\n resizable?: boolean\n width?: string\n minWidth?: string\n align?: 'left' | 'center' | 'right'\n pinned?: 'left' | 'right'\n hidden?: boolean\n}"},{"name":"DataTableFetchParams","source":"export interface DataTableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"}]},{"name":"MDatePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar date picker with locale support and min/max range clamping.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected date (YYYY-MM-DD, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no date is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked date."}],"slots":[],"exposed":[],"types":[]},{"name":"MDatePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date picker with calendar and keyboard input modes. For a field that opens a dropdown calendar, use MDatePicker.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected date in YYYY-MM-DD format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MDateRangePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar for selecting a start and end date, with range highlighting.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model); see `DateRange`","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no range is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false},{"name":"pickStartText","type":"string","required":false,"default":null,"description":"Header text shown while picking the start date — defaults to the current locale's string","model":false},{"name":"pickEndText","type":"string","required":false,"default":null,"description":"Header text shown while picking the end date — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted with the picked range."}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDateRangePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date range picker with range highlighting — the sibling of MDateRangePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model) — see `DateRange`","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted when the end date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDialog","import":"@m3ui-vue/m3ui-vue","description":"The generic M3 modal shell — Escape, scroll lock, and Teleport are handled internally. Supports a centered card, a full-screen variant, and an optional icon that centers the title per spec.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title (overridable via the #title slot)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"max-w-[560px]\"","description":"A Tailwind class (`max-w-sm`) or a CSS value (`420px`, `min(90vw, 40rem)`).","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"max-h-[90vh]\"","description":"Maximum height: a Tailwind class (`max-h-[60vh]`) or a CSS value (`480px`, `calc(100dvh - 4rem)`). When the content is taller, the body scrolls and a divider appears above the actions.","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Prevent closing by clicking the scrim, pressing Escape, or the X button","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Full-screen variant — slides up from the bottom, covers the entire viewport","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Aria label for the close (X) button — falls back to the locale string when omitted","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show the header close (X) button — a library addition, not part of the M3 AlertDialog spec, so it can be turned off","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Just the dialog's box (surface, shape, elevation), scrim, Escape, scroll lock and animation, with the default slot filling it: no title row, padding, close button or actions. For dialogs that draw everything themselves (the date and time pickers). With `fullscreen`, the slot fills the screen and draws its own top bar. `title` then only names it for assistive technology","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Dialog body content — scrolls independently when taller than maxHeight. With `bare`, the whole dialog: it fills the box (no title, padding, close button or actions row)"},{"name":"icon","bindings":null,"description":"M3 AlertDialog's optional icon (Secondary color, 24dp expected). Its presence also centers the title, per spec."},{"name":"title","bindings":null,"description":"Overrides the title prop with custom markup"},{"name":"actions","bindings":null,"description":"Row of action buttons — wraps to a new line instead of overflowing when labels are long"}],"exposed":[],"types":[]},{"name":"MDivider","import":"@m3ui-vue/m3ui-vue","description":"A thin separator line, horizontal or vertical, with an optional centered label.","props":[{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Render as a vertical divider (fills the height of a flex container)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text label in the middle of the divider (horizontal only)","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Add left margin (ml-16) to align with content that has a leading icon","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDragDropList","import":"@m3ui-vue/m3ui-vue","description":"A reorderable list: v-model the array and render each row with the #default slot. Works with a mouse, a finger and the keyboard. The dragged row lifts with M3's dragged-item elevation and the rest slide out of its way.","props":[{"name":"modelValue","type":"DragDropItem[]","required":true,"default":null,"description":"Array of items with a unique id (v-model)","model":true},{"name":"handle","type":"boolean","required":false,"default":"false","description":"Drag only from a handle button at the start of each row. Touch drags start right away from the handle; without it, a whole row starts dragging after a long press so swipes still scroll the page","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns reordering off (pointer and keyboard) and dims the list","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Drops the row's own look (padding, min height, hover/dragged state layer, background) so the slot draws the whole row, e.g. one card per item. Dragging, the lift shadow (as a drop-shadow that follows your content's shape) and keyboard support remain. With `handle`, bind the slot's `handleProps` onto your own grip element.","model":false}],"events":[{"name":"update:modelValue","args":"DragDropItem[]","description":"Emitted with the reordered array (v-model)"},{"name":"reorder","args":"{ from: number; to: number; items: DragDropItem[]; }","description":"Emitted alongside update:modelValue with the source and destination indices. Useful for saving the new order to a backend"}],"slots":[{"name":"default","bindings":"{ item: DragDropItem; index: number; dragging: boolean; handleProps: Record<string, unknown>; }","description":"Content of each row (or the whole row with bare). Falls back to item.id. Controls inside it (checkboxes, switches, buttons, links) keep working and never start a drag. dragging is true while the row is lifted; handleProps (with handle) goes on your own grip element via v-bind"}],"exposed":[],"types":[{"name":"DragDropItem","source":"export interface DragDropItem {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MDragHandle","import":"@m3ui-vue/m3ui-vue","description":"M3's drag handle: the capsule users drag to resize or move something, e.g. the divider between two panes. Port of Compose's `VerticalDragHandle`; it only draws the handle and its pressed/dragged look, the dragging itself is up to the parent (MSplitter uses it).","props":[{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"`vertical` is a tall capsule for horizontal drags (between side-by-side panes); `horizontal` is a wide one for vertical drags.","model":false},{"name":"dragging","type":"boolean","required":false,"default":"false","description":"Show the dragged look (the parent is dragging)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MEmoji","import":"@m3ui-vue/m3ui-vue","description":"Renders a single emoji character at a fixed pixel size, with optional accessible labeling.","props":[{"name":"emoji","type":"string","required":true,"default":null,"description":"The emoji character to display — required","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Size in pixels (sets font-size, width, and height)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — when set, adds role=\"img\" and aria-label","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiButton","import":"@m3ui-vue/m3ui-vue","description":"A single emoji button that cycles through a random pool on hover (Discord-style) and emits whichever emoji is showing when clicked.","props":[{"name":"emoji","type":"string","required":false,"default":"\"😀\"","description":"Default/current emoji shown before any hover cycling or click","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Emoji font size in pixels (the button itself is size + 12px)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — defaults to 'Emoji {emoji}'","model":false},{"name":"randomOnHover","type":"boolean","required":false,"default":"true","description":"Cycle to a random emoji on hover (Discord-style)","model":false},{"name":"category","type":"string","required":false,"default":null,"description":"Limit random pool to a category id (e.g. 'smileys', 'animals')","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false}],"events":[{"name":"click","args":"emoji: string","description":"Emitted on click with the currently displayed emoji (whatever hover last cycled to)"}],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiSelector","import":"@m3ui-vue/m3ui-vue","description":"An emoji picker in the style of Android's and Gboard's: the full Unicode set (Emoji 15.0) by category, recently used ones first, skin tones, and search by name in the app's language. The names come from Unicode's CLDR and load only when the picker is used, one language at a time.","props":[{"name":"categories","type":"string[]","required":false,"default":null,"description":"Which categories to show (ids). All if empty.","model":false},{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field.","model":false},{"name":"columns","type":"number","required":false,"default":null,"description":"Fixed number of columns. By default as many as fit.","model":false},{"name":"emojiSize","type":"number","required":false,"default":"28","description":"Emoji size in px.","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked emoji and show them first (stored in localStorage).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"24","description":"How many recent emoji to keep.","model":false},{"name":"skinTones","type":"boolean","required":false,"default":"true","description":"Offer skin tones (long press, right click or Shift+Enter on an emoji, or the footer button).","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Show the hovered or focused emoji with its name at the bottom.","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Height of the scrolling grid.","model":false}],"events":[{"name":"select","args":"emoji: string","description":"An emoji was picked, with the skin tone applied"}],"slots":[],"exposed":[{"name":"focus","type":"() => void | undefined","description":""}],"types":[]},{"name":"MEmptyState","import":"@m3ui-vue/m3ui-vue","description":"A placeholder for empty views — icon, title, description, and optional action buttons.","props":[{"name":"icon","type":"string","required":false,"default":"\"inbox\"","description":"Material Symbol icon","model":false},{"name":"title","type":"string","required":true,"default":null,"description":"Title text — required","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Supporting description","model":false},{"name":"compact","type":"boolean","required":false,"default":null,"description":"Smaller variant (24px icon in a 48px circle, less padding)","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons rendered below the description"}],"exposed":[],"types":[]},{"name":"MExpansionPanel","import":"@m3ui-vue/m3ui-vue","description":"A collapsible section with a smooth height animation. Works controlled via v-model, or uncontrolled by simply omitting modelValue.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Panel header text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text in the header, below the title","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon in the header","model":false},{"name":"modelValue","type":"boolean","required":false,"default":null,"description":"Open/closed state (v-model). Omit it entirely to let the panel manage its own open state internally (uncontrolled).","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables toggling","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Visual style of the panel container","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the panel is toggled — only meaningful when modelValue is passed (controlled usage); powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Panel body content, revealed with a height animation when open"}],"exposed":[],"types":[]},{"name":"MExportButton","import":"@m3ui-vue/m3ui-vue","description":"Serializes the data prop and triggers a real browser download — no dependencies.","props":[{"name":"data","type":"Record<string, unknown>[]","required":true,"default":null,"description":"Array of objects to export","model":false},{"name":"format","type":"\"json\" | \"csv\"","required":false,"default":"\"csv\"","description":"Export format","model":false},{"name":"filename","type":"string","required":false,"default":"\"export\"","description":"Filename without extension — the extension is added automatically","model":false},{"name":"label","type":"string","required":false,"default":"\"Export\"","description":"Button label (overridden by the default slot)","model":false},{"name":"icon","type":"string","required":false,"default":"\"download\"","description":"Leading Material Symbol icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"outlined\"","description":"Visual style (same as MButton)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if serialization or the download trigger fails"},{"name":"exported","args":"{ format: string; filename: string; }","description":"Emitted after a successful download is triggered"}],"slots":[{"name":"default","bindings":null,"description":"Replaces the label text prop"}],"exposed":[],"types":[]},{"name":"MFab","import":"@m3ui-vue/m3ui-vue","description":"A Floating Action Button for the primary action of a screen. Supports extended (icon+label), a speed-dial of small items, or a fully custom expanding panel via the `#content` slot.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Extended FAB label text","model":false},{"name":"expanded","type":"boolean","required":false,"default":"true","description":"Extended FAB only: false collapses it to a plain FAB (the label fades out and the width shrinks to a square), e.g. while the content scrolls. Compose's `expanded`","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Color scheme; defaults to primary, or secondary inside an MBottomAppBar","model":false},{"name":"size","type":"\"medium\" | \"small\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"FAB size. With a `label`, small/medium/large are M3 Expressive's extended FABs (56/80/96px, title-medium, title-large and headline-small labels); regular is the baseline extended FAB","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"items","type":"SpeedDialItem[]","required":false,"default":null,"description":"Speed-dial child items (see `SpeedDialItem`)","model":false},{"name":"direction","type":"\"right\" | \"left\" | \"up\" | \"down\" | \"radial\"","required":false,"default":"\"up\"","description":"Speed-dial expand direction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep speed-dial open after clicking an item or clicking outside","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"For the `up`/`down` #content panel only: which edge it anchors to when it's wider than the FAB itself. 'start' (default) keeps its left edge aligned with the FAB's left edge (existing behavior); 'end' aligns the right edges instead, which keeps a wide panel from running off-screen when the FAB sits in the bottom-right corner, a common placement.","model":false},{"name":"scrim","type":"boolean","required":false,"default":"false","description":"Dims the rest of the screen behind the #content panel while open (has no effect on the `items` speed dial). A plain sibling with its own fade transition, independent of the panel's enter/leave transform, so it doesn't visually shrink/lag along with it.","model":false},{"name":"contentTransition","type":"\"none\" | \"scale\" | \"fade\"","required":false,"default":"\"scale\"","description":"How the #content panel itself animates open/closed. 'scale' (default) is the original fade+scale. 'fade' drops the scale — use this when the slot content already animates its own entrance (e.g. a staggered per-item reveal), so the panel doesn't *also* scale as a group on top of that; it still gives Vue a real transition to wait for on close, so the content's own leave animation has time to play instead of just vanishing. 'none' skips any panel-level transition entirely.","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the FAB's content color","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the FAB itself is clicked (not a speed-dial item)"}],"slots":[{"name":"content","bindings":"{ close: () => boolean; }","description":"A panel anchored to the FAB that opens when you press it, instead of the `items` speed dial. `close()` closes it."}],"exposed":[],"types":[{"name":"SpeedDialItem","source":"export interface SpeedDialItem {\n icon: string\n label?: string\n to?: string | Record<string, any>\n onClick?: () => void\n}"}]},{"name":"MFabMenu","import":"@m3ui-vue/m3ui-vue","description":"The M3 \"FAB Menu\" — a thin wrapper around `MFab`'s `#content` slot, so opening/closing, the icon's 45° morph, outside-click, and scroll-away are all inherited from `MFab` — this component only supplies the row list. Unlike the small circular buttons of a speed dial (`MFab`'s `items` prop), each row is a full icon+label pill, revealed one at a time starting from the item closest to the FAB.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Trigger FAB's Material Symbol icon — use a symmetric one like 'add', since MFab rotates it 45° on open (turning a + into a ×)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Shows the trigger as an extended FAB (icon + text) instead of icon-only.","model":false},{"name":"items","type":"FabMenuItem[]","required":true,"default":null,"description":"The menu's items; see `FabMenuItem`. An item's own color overrides the menu's color for just that row.","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme applied to both the trigger FAB and every menu item row","model":false},{"name":"size","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"Trigger FAB size — independent from `itemSize` below.","model":false},{"name":"itemSize","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"large\"","description":"Menu item row size — independent from the trigger FAB's own `size`.","model":false},{"name":"direction","type":"\"up\" | \"down\"","required":false,"default":"\"up\"","description":"Which side of the FAB the menu list opens toward","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"end\"","description":"Which edge the (usually wider-than-the-FAB) menu list anchors to — 'end' keeps it from running off-screen when the FAB sits in a bottom-right corner","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dim the rest of the screen while the menu is open","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep the menu open after clicking an item or clicking outside","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the trigger FAB","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"FabMenuItem","source":"export interface FabMenuItem {\n icon: string\n label: string\n to?: string | Record<string, any>\n onClick?: () => void\n disabled?: boolean\n /** Overrides the menu's own `color` for just this row. */\n color?: 'primary' | 'secondary' | 'tertiary' | 'surface'\n}"}]},{"name":"MFileUpload","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop file upload zone with image previews, per-file size formatting, and progress/status display. It only selects files: uploading them is up to you, and each entry's status and progress show how it's going.","props":[{"name":"accept","type":"string","required":false,"default":null,"description":"Accepted file types (e.g. \".png,.jpg\", \"image/*\")","model":false},{"name":"multiple","type":"boolean","required":false,"default":"false","description":"Allow multiple files","model":false},{"name":"maxSize","type":"number","required":false,"default":null,"description":"Max file size in bytes — oversized files are silently filtered out","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the upload area","model":false},{"name":"dropText","type":"string","required":false,"default":null,"description":"Drop zone main text (defaults to the locale string)","model":false},{"name":"selectText","type":"string","required":false,"default":null,"description":"Drop zone select link text (defaults to the locale string)","model":false},{"name":"maxSizePrefix","type":"string","required":false,"default":null,"description":"Prefix shown before the formatted max size (defaults to the locale string)","model":false},{"name":"removeLabel","type":"string","required":false,"default":null,"description":"Aria label for each file row's remove button (defaults to the locale string)","model":false},{"name":"modelValue","type":"UploadFile[]","required":false,"default":null,"description":"Optional v-model. Bind it to own the list: clear it, or update each entry's status/progress. Unbound, the component keeps the list itself.","model":true}],"events":[{"name":"update:modelValue","args":"UploadFile[]","description":"Emitted with the new list whenever files are added, removed or cleared (v-model)"},{"name":"select","args":"UploadFile[]","description":"Emitted with the newly accepted files whenever files are added (drop or picker)"},{"name":"remove","args":"UploadFile","description":"Emitted when a file is removed from the list with its remove button"}],"slots":[{"name":"dropzone","bindings":null,"description":"Replaces the default icon + text content of the drop zone"},{"name":"actions","bindings":"{ files: UploadFile[]; clear: () => void; }","description":"Shown below the list while it has files, e.g. an \"Upload\" button."}],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"files","type":"UploadFile[]","description":""}],"types":[{"name":"UploadFile","source":"export interface UploadFile {\n file: File\n id: string\n progress: number\n status: 'pending' | 'uploading' | 'done' | 'error'\n preview?: string\n}"}]},{"name":"MFixed","import":"@m3ui-vue/m3ui-vue","description":"Same API as MAbsolute but uses `position: fixed`. Positions elements relative to the viewport, not a positioned ancestor.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px)","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MFlex","import":"@m3ui-vue/m3ui-vue","description":"A thin, prop-driven wrapper around CSS flexbox — direction, alignment, justification, gap, and wrap.","props":[{"name":"direction","type":"\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"","required":false,"default":"\"row\"","description":"Flex direction","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment (align-items)","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"between\" | \"around\" | \"evenly\" | \"end\"","required":false,"default":"\"start\"","description":"Main-axis alignment (justify-content)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Gap between items","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The flex items."}],"exposed":[],"types":[]},{"name":"MFooter","import":"@m3ui-vue/m3ui-vue","description":"Page footer with slots for brand, content, social links, and a bottom bar. Responsive padding adapts to screen size.","props":[{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a top border (border-outline-variant)","model":false},{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"inverse\"","required":false,"default":"\"default\"","description":"Background surface color","model":false}],"events":[],"slots":[{"name":"brand","bindings":null,"description":"Logo and tagline area (top)"},{"name":"default","bindings":null,"description":"Main content area (navigation columns, etc.)"},{"name":"social","bindings":null,"description":"Social media icon buttons (flex row with gap)"},{"name":"bottom","bindings":null,"description":"Bottom bar with copyright / legal links (separated by a top border)"}],"exposed":[],"types":[]},{"name":"MFullscreen","import":"@m3ui-vue/m3ui-vue","description":"Fills the entire viewport (or parent when `fixed=false`). Useful for loading screens, splash pages, or modal backdrops.","props":[{"name":"fixed","type":"boolean","required":false,"default":"true","description":"Use position: fixed to fill the viewport instead of the parent element","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that goes full screen."}],"exposed":[],"types":[]},{"name":"MGrid","import":"@m3ui-vue/m3ui-vue","description":"A responsive CSS grid with per-breakpoint column counts.","props":[{"name":"cols","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":"1","description":"Default column count","model":false},{"name":"sm","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at sm breakpoint","model":false},{"name":"md","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at md breakpoint","model":false},{"name":"lg","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at lg breakpoint","model":false},{"name":"xl","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at xl breakpoint","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false},{"name":"alignItems","type":"\"center\" | \"start\" | \"end\" | \"stretch\"","required":false,"default":"\"stretch\"","description":"Vertical alignment","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The grid items."}],"exposed":[],"types":[]},{"name":"MHotkeys","import":"@m3ui-vue/m3ui-vue","description":"Registers global keyboard shortcuts for as long as it's mounted, with an optional on-screen overlay listing them grouped by category.","props":[{"name":"bindings","type":"HotkeyBinding[]","required":true,"default":null,"description":"Array of key combos to register globally; see `HotkeyBinding`","model":false},{"name":"showOverlay","type":"boolean","required":false,"default":"false","description":"Render a visible list of the registered shortcuts (otherwise the component is invisible and only listens)","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"HotkeyBinding","source":"export interface HotkeyBinding {\n keys: string\n label: string\n handler: () => void\n group?: string\n disabled?: boolean\n}"}]},{"name":"MIcon","import":"@m3ui-vue/m3ui-vue","description":"Renders a Material Symbols Outlined glyph by name. Color follows the surrounding text color (set it with a Tailwind text-* class). Decorative by default: hidden from assistive technology, which would otherwise read the glyph's ligature text (its name, e.g. \"arrow_drop_down\"). Give it a `label` when the icon says something on its own.","props":[{"name":"name","type":"string","required":true,"default":null,"description":"Material Symbol name (e.g. \"settings\", \"favorite\")","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Icon size in px","model":false},{"name":"filled","type":"boolean","required":false,"default":"false","description":"Filled glyph (the Material Symbols FILL axis), as M3 draws a selected icon","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"What the icon means, when nothing next to it says so: makes it an image with this name instead of decoration","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MIconButton","import":"@m3ui-vue/m3ui-vue","description":"A button that shows only an icon — four visual styles, the same 5-tier expressive sizing as MButton. Give it `checked` (v-model:checked) and it becomes M3's icon toggle button.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label (its aria-label; no visible tooltip: wrap it in MTooltip for one)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\" | \"tonal\" | \"standard\"","required":false,"default":"\"standard\"","description":"Visual style","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":null,"description":"An M3 role or any CSS color (`#fff` over a photo, `rgb(0 0 0 / 0.3)` for a scrim-like filled button, `currentColor` to follow the surrounding text). Standard and outlined use it for the icon; filled for the container with white (or the role's on-color) on it; tonal for a 20% container with the color on it. Disabled buttons and toggles keep their own colors","model":false},{"name":"contentColor","type":"string","required":false,"default":null,"description":"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","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier icon button sizing (xs:32, sm:40, md:56, lg:96, xl:136), or a custom pixel value","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false},{"name":"checked","type":"boolean","required":false,"default":null,"description":"Makes it a toggle button (v-model:checked): selected colors, a filled icon, and a shape that morphs when pressed and when checked. Leave it unset for a plain icon button","model":true},{"name":"checkedIcon","type":"string","required":false,"default":null,"description":"Icon shown while checked, when it differs from `icon` (e.g. 'pause' for 'play_arrow')","model":false},{"name":"iconFilled","type":"boolean","required":false,"default":null,"description":"Draw the icon filled (Material Symbols' FILL axis) without making it a toggle, e.g. media controls","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted on click when `checked` is set — powers v-model:checked"}],"slots":[],"exposed":[],"types":[]},{"name":"MInfiniteScroll","import":"@m3ui-vue/m3ui-vue","description":"Wraps a scrollable list and emits load when an IntersectionObserver sentinel at the bottom becomes visible — hand it your own fetch-more logic.","props":[{"name":"loading","type":"boolean","required":false,"default":"false","description":"Currently loading more items — shows the loading slot","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disable the load trigger entirely (no observer attached)","model":false},{"name":"threshold","type":"number","required":false,"default":"100","description":"Distance in px from the sentinel before it triggers load","model":false},{"name":"loadingText","type":"string","required":false,"default":null,"description":"Text shown while loading (defaults to the locale string, 'Loading...')","model":false},{"name":"endText","type":"string","required":false,"default":null,"description":"Text shown when ended (defaults to the locale string, 'No more items')","model":false},{"name":"ended","type":"boolean","required":false,"default":"false","description":"No more items to load — shows the end slot and stops observing","model":false}],"events":[{"name":"load","args":"","description":"Emitted when the sentinel scrolls into view and more items should be fetched"}],"slots":[{"name":"default","bindings":null,"description":"The content list itself"},{"name":"loading","bindings":null,"description":"Custom loading indicator, shown when loading is true"},{"name":"end","bindings":null,"description":"Custom end-of-list content, shown when ended is true"},{"name":"idle","bindings":null,"description":"Content shown when neither loading nor ended (empty by default)"}],"exposed":[],"types":[]},{"name":"MJsonEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A JSON-aware editor built on top of MCodeEditor — validates as you type and adds format/minify shortcuts.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"JSON data (v-model, any valid JSON)","model":true},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Min height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Max height","model":false},{"name":"labels","type":"JsonEditorLabels","required":false,"default":null,"description":"Overrides for the valid/invalid badge and format/minify button text (see `JsonEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the parsed value whenever the text is valid JSON — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"JsonEditorLabels","source":"export interface JsonEditorLabels {\n valid?: string\n invalid?: string\n format?: string\n minify?: string\n}"}]},{"name":"MJsonViewer","import":"@m3ui-vue/m3ui-vue","description":"A read-only, recursively expandable tree view for inspecting JSON-compatible data.","props":[{"name":"data","type":"unknown","required":true,"default":null,"description":"Data to display (any JSON-compatible value)","model":false},{"name":"rootName","type":"string","required":false,"default":"\"root\"","description":"Name for the root node","model":false},{"name":"expandDepth","type":"number","required":false,"default":"2","description":"Levels to expand by default","model":false},{"name":"labels","type":"JsonViewerLabels","required":false,"default":null,"description":"Overrides for the collapsed-node summary text (see `JsonViewerLabels`) — defaults come from useLocale()","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"JsonViewerLabels","source":"export interface JsonViewerLabels {\n elements?: string\n fields?: string\n}"}]},{"name":"MKanban","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop board. Cards lift and follow the pointer, the others make room, and a dashed slot shows where the card will land. Works with a mouse, a finger (long-press a card) and the keyboard; the board scrolls sideways on its own when you drag near its edges.","props":[{"name":"modelValue","type":"KanbanColumn[]","required":true,"default":null,"description":"Columns with their cards (v-model). Required","model":true},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown in a column with no cards (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"KanbanColumn[]","description":"Emitted after a card moves, by pointer or keyboard (v-model)"},{"name":"cardMove","args":"{ cardId: string | number; fromColumn: string | number; toColumn: string | number; toIndex: number; }","description":"Emitted alongside update:modelValue with where the card went. Not emitted when a card is dropped back where it was"},{"name":"cardClick","args":"{ card: KanbanCard; columnId: string | number; }","description":"Emitted when a card is clicked or Enter is pressed on it. Not emitted at the end of a drag"}],"slots":[{"name":"card","bindings":"{ card: KanbanCard; column: KanbanColumn; dragging: boolean; }","description":"Content of each card. column is the full KanbanColumn; dragging is true while the card is lifted. Buttons, links and inputs inside keep working: they never start a drag or fire cardClick. Add data-kanban-action to any other element (a badge, a span) to give it the same treatment, so a click there can do something else instead of opening the card"},{"name":"column-header","bindings":"{ column: KanbanColumn; count: number; }","description":"Replaces the default header (color dot, title and count)"},{"name":"column-footer","bindings":"{ column: KanbanColumn; }","description":"Content below each column's cards, e.g. an \"Add card\" button"}],"exposed":[],"types":[{"name":"KanbanColumn","source":"export interface KanbanColumn {\n id: string | number\n title: string\n cards: KanbanCard[]\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n /** Optional WIP limit: the header shows count/limit and turns error-colored when exceeded. */\n limit?: number\n}"},{"name":"KanbanCard","source":"export interface KanbanCard {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MKbd","import":"@m3ui-vue/m3ui-vue","description":"Displays a keyboard shortcut as styled key chips. Purely presentational — pairs well with MHotkeys or MCommandPalette to show the shortcut that triggers an action.","props":[{"name":"keys","type":"string | string[]","required":true,"default":null,"description":"A '+'-delimited string (\"Ctrl+Shift+K\") or an array of keys (['Ctrl', 'Shift', 'K']).","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"md\"","description":"Key chip size","model":false},{"name":"separator","type":"string","required":false,"default":"\"+\"","description":"Separator rendered between keys","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLightbox","import":"@m3ui-vue/m3ui-vue","description":"A full-screen image viewer in the style of Google Photos. Images grow out of the picture you tapped and shrink back into it, you swipe between them with the next one already in view, zoom with a double tap or a pinch, and drag one down to close. Tapping the image hides the bars. Wrap your content and it finds the `<img>` elements by itself, or pass items.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"v-model — open/closed state","model":true},{"name":"items","type":"LightboxItem[]","required":false,"default":null,"description":"Explicit gallery. Omit it to auto-detect `<img>` elements rendered in the default slot instead.","model":false},{"name":"index","type":"number","required":false,"default":"0","description":"v-model:index — current image index","model":true},{"name":"loop","type":"boolean","required":false,"default":"true","description":"Wrap around when navigating past the first/last image","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Overrides the close button aria-label (defaults to the active locale)","model":false},{"name":"showThumbnails","type":"boolean","required":false,"default":"false","description":"Show a row of clickable thumbnails at the bottom for jumping directly to an image.","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Round the corners of the opened image.","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"Allow zooming (double tap / double click, pinch, wheel, + and - keys).","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"Largest zoom factor.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Fires when the lightbox opens or closes"},{"name":"update:index","args":"number","description":"Fires whenever the current index changes (next/prev/goTo/auto-detected image click)"},{"name":"change","args":"index: number","description":"Fires alongside update:index with the new index"}],"slots":[{"name":"default","bindings":null,"description":"Content to scan for `<img>` elements when items is not given"},{"name":"actions","bindings":"{ item: LightboxItem; index: number; }","description":"Extra buttons in the top bar (download, share, info…)."}],"exposed":[{"name":"open","type":"(i?: number, sourceEl?: HTMLElement | undefined) => void","description":""},{"name":"close","type":"() => void","description":""},{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""}],"types":[{"name":"LightboxItem","source":"export interface LightboxItem {\n src: string\n alt?: string\n caption?: string\n}"}]},{"name":"MList","import":"@m3ui-vue/m3ui-vue","description":"A vertical list container (MList) with rich, flexible rows (MListItem) and optional section headers (MListSubheader) — one-line to three-line items, leading/trailing elements, selection, navigation, segmented, and expandable variants. MListGroup splits a list into groups (separate rounded runs in a segmented list).","props":[{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact vertical padding on child items","model":false},{"name":"dividers","type":"boolean | \"inset\"","required":false,"default":"false","description":"Show separators between items — 'inset' aligns the line past a leading icon/avatar","model":false},{"name":"nav","type":"boolean","required":false,"default":"false","description":"Navigation variant with rounded (pill) active items, ideal for drawers","model":false},{"name":"segmented","type":"boolean","required":false,"default":"false","description":"Segmented style — items each get an individual rounded background instead of a flat list","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable single-item selection — items compare their value prop against selected","model":false},{"name":"selected","type":"string | number | null","required":false,"default":null,"description":"Currently selected item value (v-model:selected)","model":true},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Default line count for child items that don't set their own lines prop","model":false}],"events":[{"name":"update:selected","args":"value: string | number | null","description":"Fires when a selectable item is clicked (via v-model:selected)"}],"slots":[{"name":"default","bindings":null,"description":"MListItem / MListSubheader / MListGroup children"}],"exposed":[],"types":[]},{"name":"MListDetail","import":"@m3ui-vue/m3ui-vue","description":"Material 3's list-detail layout: a list of items and the details of the selected one. When there's room (840px and up, the expanded width class) both panes sit side by side; on smaller screens only one shows, the detail sliding in over the list when you open an item and back out on `back()`. It measures its own width, so it adapts inside a column or a dialog too. Both panes stay mounted, so the list keeps its scroll position. It has no default size: give it a height so each pane scrolls on its own.","props":[{"name":"showDetail","type":"boolean","required":false,"default":"false","description":"Whether the detail is the current destination. One-pane layouts show it instead of the list.","model":true},{"name":"listWidth","type":"string","required":false,"default":null,"description":"List pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:showDetail","args":"boolean","description":"Emitted with false when the detail slot calls back()"}],"slots":[{"name":"list","bindings":"{ twoPane: boolean; }","description":"The list pane. Scrolls on its own and keeps its scroll position while the detail is open"},{"name":"detail","bindings":"{ twoPane: boolean; back: () => void; }","description":"`back()` returns to the list (sets `showDetail` to false)."}],"exposed":[],"types":[]},{"name":"MListGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of items inside an MList, optionally titled. In a segmented list each group is a rounded run of its own (its first and last items take the large outer corners), set apart from the items and groups around it, like the grouped cards of a settings screen. Elsewhere it only groups and titles its items. Assistive technology announces it as a nested list named by its title.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Heading above the group, styled like MListSubheader","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align the title with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content, replacing the title prop"},{"name":"default","bindings":null,"description":"MListItem children"}],"exposed":[],"types":[]},{"name":"MListItem","import":"@m3ui-vue/m3ui-vue","description":"A row of an MList: headline with optional overline, supporting text, a leading icon, avatar or image, and trailing text, icon, checkbox or switch. It can be a link, be clickable or expand to show nested items.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Primary text (headline)","model":false},{"name":"overline","type":"string","required":false,"default":null,"description":"Small label above the title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text (line 2)","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Tertiary text (line 3)","model":false},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Number of text lines — auto-detected from which text props/parent MList lines are set when omitted","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"leading","type":"ListItemLeading","required":false,"default":null,"description":"Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted","model":false},{"name":"avatarName","type":"string","required":false,"default":null,"description":"Name for the avatar (when leading='avatar')","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"Image URL (when leading='image')","model":false},{"name":"iconContainerColor","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Icon container background color (when leading='icon-container')","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Trailing icon name","model":false},{"name":"trailingText","type":"string","required":false,"default":null,"description":"Trailing text label","model":false},{"name":"trailing","type":"ListItemTrailing","required":false,"default":null,"description":"Trailing element type — auto-resolves from trailingIcon/trailingText when omitted","model":false},{"name":"trailingValue","type":"boolean","required":false,"default":null,"description":"Value for a trailing switch/checkbox (v-model:trailingValue)","model":true},{"name":"value","type":"string | number","required":false,"default":null,"description":"Selection value — compared against the parent MList selected prop","model":false},{"name":"active","type":"boolean","required":false,"default":"false","description":"Force the active/highlighted state regardless of parent list selection","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled state (38% opacity, blocks interaction)","model":false},{"name":"clickable","type":"boolean","required":false,"default":null,"description":"Force interactive styling/behavior (auto-true when href, to, @click, selectable, or expandable apply)","model":false},{"name":"href","type":"string","required":false,"default":null,"description":"Link URL — renders the item as an `<a>`","model":false},{"name":"to","type":"string | object","required":false,"default":null,"description":"Vue Router destination — renders the item as a router-link","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Show an expand/collapse chevron revealing the #children slot","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Control the expanded state (v-model:expanded) — otherwise managed internally","model":true}],"events":[{"name":"update:expanded","args":"value: boolean","description":"Fires when an expandable item is toggled open/closed"},{"name":"click","args":"e: MouseEvent","description":"Fires on any click, including on an expandable item (right before it toggles)"},{"name":"update:trailingValue","args":"value: boolean","description":"Fires when a trailing switch/checkbox is toggled (trailing='switch' | 'checkbox')"}],"slots":[{"name":"leading","bindings":null,"description":"Custom leading element, replacing the icon/avatar/image/icon-container"},{"name":"overline","bindings":null,"description":"Custom overline content, replacing the overline prop"},{"name":"default","bindings":null,"description":"Custom content replacing the title/subtitle/description text block"},{"name":"children","bindings":null,"description":"Nested content revealed when expandable is set and the item is expanded"},{"name":"trailing","bindings":null,"description":"Custom trailing element, replacing the icon/text/switch/checkbox"}],"exposed":[],"types":[{"name":"ListItemLeading","source":"export type ListItemLeading = 'icon' | 'avatar' | 'checkbox' | 'radio' | 'image' | 'icon-container'"},{"name":"ListItemTrailing","source":"export type ListItemTrailing = 'icon' | 'text' | 'switch' | 'checkbox'"}]},{"name":"MListSubheader","import":"@m3ui-vue/m3ui-vue","description":"A small heading that labels a group of items inside an MList.","props":[{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Subheader text/content"}],"exposed":[],"types":[]},{"name":"MLoadingIndicator","import":"@m3ui-vue/m3ui-vue","description":"The M3 Expressive loading indicator — continuously morphs between rounded shapes (soft burst, cookie, pentagon, pill, sunny, oval) via an underdamped spring while slowly rotating. Comes in a plain and a contained (circle-backed) variant.","props":[{"name":"size","type":"number","required":false,"default":"48","description":"Overall footprint in px. The active shape sits inset within it (38/48 ratio) unless contained, where it scales to 55% of size.","model":false},{"name":"contained","type":"boolean","required":false,"default":"false","description":"Wraps the shape in a filled container circle, and recolors the shape to the OnXContainer role instead of the bare X role","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Active shape (and container, when contained) color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the indicator's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLoadingOverlay","import":"@m3ui-vue/m3ui-vue","description":"A spinner-and-text overlay, either layered on top of a piece of content via the `#content` slot, or covering the whole viewport with `fullscreen`.","props":[{"name":"visible","type":"boolean","required":true,"default":null,"description":"Show/hide the overlay","model":false},{"name":"text","type":"string","required":false,"default":null,"description":"Loading text message shown below the spinner","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Cover the entire viewport via Teleport, instead of overlaying just the #content slot","model":false},{"name":"opaque","type":"boolean","required":false,"default":"false","description":"Solid surface background instead of a translucent, blurred one","model":false},{"name":"spinnerSize","type":"number","required":false,"default":"40","description":"Spinner size in px","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Extra content shown below the spinner/text, in either mode"},{"name":"content","bindings":null,"description":"The content the overlay is layered on top of (only used when fullscreen is false)"}],"exposed":[],"types":[]},{"name":"MMap","import":"@m3ui-vue/m3ui-vue/map","description":"A MapLibre GL map, for any style: a style URL (from an MVT server like mvt-rs, MapTiler, OpenFreeMap…) or a style object. Its controls take the M3 look and the app's locale, the view can be a v-model and remembered between visits, and markers, popups, GeoJSON layers and your own controls go inside it as components. For anything else, the MapLibre map itself is the `ready` event's argument and the `map` of `useMap()` in components placed inside. Available from the `/map` entry point; needs `maplibre-gl` installed and its CSS imported (`maplibre-gl/dist/maplibre-gl.css`). Give it a height. Server-side rendering renders the empty container: MapLibre loads in the browser.","props":[{"name":"mapStyle","type":"string | maplibregl.StyleSpecification","required":true,"default":null,"description":"The map's style: a style JSON URL or a style object (MapLibre's `StyleSpecification`). Changing it reloads the style, keeping what was added at runtime (see `keepLayers`)","model":false},{"name":"keepLayers","type":"boolean | ((layer: maplibregl.LayerSpecification) => boolean)","required":false,"default":"true","description":"What happens to the sources and layers added at runtime (with `useMap()`, or by `MMapGeoJson`, `MMapMeasure`…) when `mapStyle` changes: `true` carries them into the new style, on top of its layers; `false` drops them, as MapLibre does; a function picks the layers to carry (their sources come along)","model":false},{"name":"transformStyle","type":"maplibregl.TransformStyleFunction","required":false,"default":null,"description":"MapLibre's `transformStyle` for a `mapStyle` change, run after `keepLayers`: edit the next style before it loads (copy a layer's paint over, add a sprite…)","model":false},{"name":"center","type":"[number, number]","required":false,"default":null,"description":"`[lng, lat]` (v-model). When left out, the style's (or the remembered view's)","model":true},{"name":"zoom","type":"number","required":false,"default":null,"description":"Zoom level (v-model)","model":true},{"name":"bearing","type":"number","required":false,"default":null,"description":"Rotation in degrees (v-model)","model":true},{"name":"pitch","type":"number","required":false,"default":null,"description":"Tilt in degrees (v-model)","model":true},{"name":"persist","type":"string | boolean","required":false,"default":"false","description":"Remember the view (center, zoom, bearing, pitch) in localStorage and start from it on the next visit: `true` under `m3-map-view` (after `createM3UI`'s `storagePrefix`, if any), or your own key (one per map)","model":false},{"name":"navigation","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Zoom and compass buttons: `false`, or a corner (`true` is top-right)","model":false},{"name":"geolocate","type":"boolean | MapControlPosition","required":false,"default":"false","description":"A button that centers the map on the user's location and follows it: `false`, or a corner (`true` is top-right)","model":false},{"name":"fullscreen","type":"boolean | MapControlPosition","required":false,"default":"false","description":"A fullscreen button: `false`, or a corner (`true` is top-right)","model":false},{"name":"scale","type":"boolean | MapControlPosition","required":false,"default":"true","description":"A metric scale bar: `false`, or a corner (`true` is bottom-left)","model":false},{"name":"attribution","type":"boolean | MapControlPosition","required":false,"default":"true","description":"The credits of the style's sources, an info button that opens into a pill: `false`, or a corner (`true` is bottom-right). Most tile providers require it","model":false},{"name":"options","type":"Partial<Omit<maplibregl.MapOptions, \"container\" | \"style\">>","required":false,"default":null,"description":"Anything else for MapLibre's `Map` constructor (`maxZoom`, `maxBounds`, `cooperativeGestures`…)","model":false},{"name":"adapter","type":"MapAdapter","required":false,"default":null,"description":"Reads the style's conventions (layer names, groups, base layers, what to identify or show on hover) for `MMapLayers`, `MMapBaseLayers`, `MMapIdentify` and `MMapHover`: `genericAdapter`, `orvianAdapter()`, or your own","model":false}],"events":[{"name":"click","args":"event: maplibregl.MapMouseEvent","description":"A click on the map (MapLibre's `MapMouseEvent`: `lngLat`, `point`)"},{"name":"ready","args":"map: maplibregl.Map","description":"The map loaded (with its style), with the MapLibre `Map`"},{"name":"update:center","args":"center: [number, number]","description":"The view moved (on `moveend`): `[lng, lat]`"},{"name":"update:zoom","args":"zoom: number","description":"The zoom changed (on `moveend`)"},{"name":"update:bearing","args":"bearing: number","description":"The rotation changed (on `moveend`)"},{"name":"update:pitch","args":"pitch: number","description":"The tilt changed (on `moveend`)"}],"slots":[{"name":"default","bindings":null,"description":"Map components (`MMapMarker`, `MMapPopup`, `MMapGeoJson`, `MMapControl`) and anything to show over the map, rendered once the map exists"}],"exposed":[{"name":"map","type":"maplibregl.Map | undefined","description":"The MapLibre map, once loaded"},{"name":"context","type":"MapContext","description":"What the components inside it share: pass the `MMap` (or this) as `map` to `MMapLayers`, `useMap()`… outside it"}],"types":[{"name":"MapControlPosition","source":"export type MapControlPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'"}]},{"name":"MMapBaseLayers","import":"@m3ui-vue/m3ui-vue/map","description":"The base layer switcher of an `MMap` with an `adapter`: a round thumbnail per base layer (the adapter's `image`, after `imageBase`), one shown at a time, plus \"no base layer\". Only the thumbnails: put them in an `MMapControl` (`:group=\"false\"`), an `MFab`'s `#content` or a panel, inside the `MMap` or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"imageBase","type":"string","required":false,"default":"\"\"","description":"Prefix for the thumbnails' paths (e.g. `/images/`); full URLs are used as they are","model":false},{"name":"none","type":"boolean","required":false,"default":"true","description":"Offer \"no base layer\"","model":false},{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Lay them out in a column","model":false},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMapControl","import":"@m3ui-vue/m3ui-vue/map","description":"Your own control in a corner of an `MMap`, stacked with MapLibre's (zoom, geolocate…) in that corner. With `group` (the default) it's a control group like the zoom buttons: put `<button>`s with a Material Symbols icon in it and they get the same M3 look. Without it, anything goes (an `MFab`, an `MSearchBar`, a card). With a `#panel` slot it expands in place: a button in it calls `toggle` and the control grows into a panel with your content (a layer picker, filters, a legend), and back. Its size springs whenever its content changes size, so the other controls in the corner move along instead of jumping. Available from the `/map` entry point.","props":[{"name":"position","type":"MapControlPosition","required":false,"default":"\"top-right\"","description":"The corner","model":false},{"name":"group","type":"boolean","required":false,"default":"true","description":"Draw it as a control group (a surface with dividers between buttons), like MapLibre's zoom buttons","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Expanded into its `#panel` (v-model:expanded)","model":true},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Springs the control's size when its content changes size (expanding, or anything else)","model":false}],"events":[{"name":"update:expanded","args":"boolean","description":"Emitted when the panel opens or closes — powers v-model:expanded"}],"slots":[{"name":"panel","bindings":"{ close: () => void; }","description":"What the control expands into (`v-model:expanded`); `{ close }`. Escape or a press outside it closes it"},{"name":"default","bindings":"{ expanded: boolean; toggle: () => void; }","description":"The control's content; `{ expanded, toggle }` when it has a `#panel`"}],"exposed":[],"types":[]},{"name":"MMapFeatureInfo","import":"@m3ui-vue/m3ui-vue/map","description":"Identify results (from `MMapIdentify`'s `identify` event, or `identifyFeatures()`): a card per feature with its layer's name and its formatted properties. `MMapIdentify` shows it in a popup; use it in a panel of your own (an `MWindow`, an `MSideSheet`) the same way. Values are shown as text. Available from the `/map` entry point.","props":[{"name":"results","type":"MapIdentifyResult[]","required":true,"default":null,"description":"What was found","model":false}],"events":[],"slots":[{"name":"value","bindings":"{ field: { key: string; label: string; value: string; }; result: MapIdentifyResult; }","description":"A property's value (scope: `{ field, result }`), e.g. to turn URLs into links"}],"exposed":[],"types":[]},{"name":"MMapFilter","import":"@m3ui-vue/m3ui-vue/map","description":"A simple filter for one layer of an `MMap`: chips for the values of one of its properties; the layer shows only the features with the selected ones (all of them with none selected). The values are `values`, or else the distinct ones among the layer's features loaded in the map. The style's own filter on the layer stays. For anything more involved, build your own on `useMapFilter()`. Inside the `MMap`, or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"layer","type":"string","required":true,"default":null,"description":"The layer's id","model":false},{"name":"property","type":"string","required":true,"default":null,"description":"The property to filter by","model":false},{"name":"values","type":"(string | number)[]","required":false,"default":null,"description":"The values to offer (labels in `labels`); by default the ones found in the layer's loaded features","model":false},{"name":"labels","type":"Record<string, string>","required":false,"default":null,"description":"Labels for the values, by value","model":false},{"name":"modelValue","type":"(string | number)[]","required":false,"default":null,"description":"The selected values (v-model)","model":true},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[{"name":"update:modelValue","args":"values: (string | number)[]","description":""}],"slots":[],"exposed":[],"types":[]},{"name":"MMapGeoJson","import":"@m3ui-vue/m3ui-vue/map","description":"GeoJSON on an `MMap`: a source from `data` (an object, or a URL MapLibre fetches) drawn with `layers`. Without `layers` it draws every geometry in the theme's primary, following palette and dark mode: polygons filled with an outline, lines, and points as circles. Replace `data` (a new object) to update it. It's added again after a style change. Available from the `/map` entry point.","props":[{"name":"data","type":"any","required":true,"default":null,"description":"A GeoJSON object, or the URL of one","model":false},{"name":"id","type":"string","required":false,"default":null,"description":"The source's id (and the prefix of its layers' made-up ids). Unique on the map; generated when left out","model":false},{"name":"layers","type":"MapGeoJsonLayer[]","required":false,"default":null,"description":"How to draw it: MapLibre layers without `source`. Defaults to theme-colored fill, outline, line and circle layers","model":false},{"name":"before","type":"string","required":false,"default":null,"description":"Insert the layers below this layer id (e.g. under the style's labels)","model":false},{"name":"interactive","type":"boolean","required":false,"default":"false","description":"Show a pointer over its features (set it when you handle `click`)","model":false},{"name":"sourceOptions","type":"Partial<Omit<maplibregl.GeoJSONSourceSpecification, \"type\" | \"data\">>","required":false,"default":null,"description":"More options for the GeoJSON source (`cluster`, `promoteId`, `tolerance`…)","model":false}],"events":[{"name":"click","args":"event: maplibregl.MapLayerMouseEvent","description":"A click on one of its features (MapLibre's `MapLayerMouseEvent`: `e.features` holds them)"}],"slots":[],"exposed":[{"name":"sourceId","type":"string","description":"The source's id"},{"name":"layerIds","type":"() => string[]","description":"The ids of its layers on the map"}],"types":[{"name":"MapGeoJsonLayer","source":"/** A layer of `MMapGeoJson`: any MapLibre layer without its `source` (and `id`, made up when left out). */\nexport type MapGeoJsonLayer = DistributiveOmit<Exclude<Maplibre.LayerSpecification, Maplibre.BackgroundLayerSpecification>, 'id' | 'source'> & { id?: string }"}]},{"name":"MMapHover","import":"@m3ui-vue/m3ui-vue/map","description":"Hover info for an `MMap` with an `adapter`: while on (v-model), the layers with `hover` fields show them for the feature under the pointer, in a small popup that follows it. With `control` (on by default) it adds its own on/off button to the map's controls. Pointer devices only: touch has no hover. Available from the `/map` entry point.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"On (v-model)","model":true},{"name":"control","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Its on/off button: `false`, or a corner (`true` is top-right)","model":false}],"events":[{"name":"update:modelValue","args":"on: boolean","description":"Turned on or off with its button"}],"slots":[],"exposed":[],"types":[]},{"name":"MMapIdentify","import":"@m3ui-vue/m3ui-vue/map","description":"Click-to-identify for an `MMap` with an `adapter`: a click on the map lists the features of the layers marked to identify under it (with their formatted properties) in a popup, with a marker where the user clicked. The pointer turns into a hand over those layers. The `identify` event carries the results, to show them in a panel of your own instead (`:popup=\"false\"`, then `MMapFeatureInfo` in an `MWindow`). Available from the `/map` entry point.","props":[{"name":"enabled","type":"boolean","required":false,"default":"true","description":"Listen to clicks. It also pauses by itself while another tool owns them (`MMapMeasure` measuring)","model":false},{"name":"popup","type":"boolean","required":false,"default":"true","description":"Show the results in a popup at the click","model":false},{"name":"marker","type":"boolean","required":false,"default":"true","description":"Mark where the user clicked while there are results","model":false}],"events":[{"name":"identify","args":"results: MapIdentifyResult[], lngLat: [number, number]","description":"The user clicked the map: what was found there (empty when nothing) and where (`[lng, lat]`)"}],"slots":[{"name":"default","bindings":"{ results: MapIdentifyResult[]; lngLat: [number, number]; close: () => void; }","description":"The popup's content instead of `MMapFeatureInfo` (scope: `{ results, lngLat, close }`)"}],"exposed":[{"name":"close","type":"() => void","description":""}],"types":[]},{"name":"MMapLayers","import":"@m3ui-vue/m3ui-vue/map","description":"The layer list of an `MMap` with an `adapter`: a search field, the style's groups (collapsible, with a visibility toggle for the whole group and a count) and its layers, each with a visibility toggle and, expanded, its description, an opacity slider, its legend and a download link. Only the content: put it in an `MWindow`, an `MSideSheet`, an `MBottomSheet` or an `MMapControl`, inside the `MMap` or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field","model":false},{"name":"collapsed","type":"boolean","required":false,"default":"false","description":"Groups start collapsed","model":false},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[],"slots":[{"name":"actions","bindings":"{ layer: MapLayerInfo; visible: boolean; }","description":"Extra actions in an expanded layer (scope: `{ layer, visible }`)"}],"exposed":[],"types":[]},{"name":"MMapMarker","import":"@m3ui-vue/m3ui-vue/map","description":"A marker on an `MMap`, at `lngLat`: MapLibre's pin in the theme's primary (or `color`), or your own content from the default slot. With `draggable`, `lngLat` is a v-model. Content in `#popup` opens in a popup when the marker is clicked. Available from the `/map` entry point.","props":[{"name":"lngLat","type":"[number, number]","required":true,"default":null,"description":"Position, `[lng, lat]` (v-model with `draggable`)","model":true},{"name":"color","type":"string","required":false,"default":null,"description":"The pin's color (any CSS color). Defaults to the theme's primary; ignored with custom content","model":false},{"name":"draggable","type":"boolean","required":false,"default":"false","description":"Let the user drag it","model":false},{"name":"anchor","type":"maplibregl.PositionAnchor","required":false,"default":null,"description":"Which part of the marker sits on `lngLat`. By default the pin's tip (MapLibre's placement: its center, offset `[0, -14]`), and the center of custom content","model":false},{"name":"offset","type":"[number, number]","required":false,"default":null,"description":"Offset in pixels, `[x, y]`. The pin's default is MapLibre's `[0, -14]`, which puts its tip on `lngLat`","model":false},{"name":"rotation","type":"number","required":false,"default":"0","description":"Rotation in degrees","model":false}],"events":[{"name":"click","args":"event: MouseEvent","description":"The marker was clicked"},{"name":"update:lngLat","args":"lngLat: [number, number]","description":"Dragged to a new position (`draggable`): `[lng, lat]`"}],"slots":[{"name":"default","bindings":null,"description":"The marker itself, instead of the pin (any element, anchored by `anchor`)"},{"name":"popup","bindings":null,"description":"Content of a popup that opens when the marker is clicked"}],"exposed":[{"name":"marker","type":"() => maplibregl.Marker | undefined","description":"The MapLibre marker"}],"types":[]},{"name":"MMapMeasure","import":"@m3ui-vue/m3ui-vue/map","description":"Distance and area measuring on an `MMap`, with its own control (distance, area, clear). Click to add points (a preview follows the pointer), double-click, Enter or Escape to finish, click the first point to close the shape, or press the active button again (in fullscreen, Escape finishes it too where the browser allows: Chromium). Finished measurements stay editable: drag a vertex, or a midpoint to add one; the ✕ on a total or area deletes that one. Labels show each segment, the total and the area; everything follows the theme. While measuring it owns the map's clicks (`MMapIdentify` waits). Geodesic numbers, the same as turf's. Available from the `/map` entry point.","props":[{"name":"modelValue","type":"Mode | null","required":false,"default":"null","description":"The measuring mode (v-model): `'distance'`, `'area'`, or null. Set it to start measuring from outside","model":true},{"name":"control","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Its buttons: `false` (drive it with v-model), or a corner (`true` is top-right)","model":false}],"events":[{"name":"update:modelValue","args":"mode: Mode | null","description":"The measuring mode changed (`'distance'`, `'area'`, or null when it finished)"},{"name":"change","args":"measurements: { mode: Mode; points: LngLat[]; closed: boolean; length: number; area?: number | undefined; }[]","description":"The measurements changed (added, edited, cleared): each one's points, length in meters and area in m²"}],"slots":[],"exposed":[{"name":"start","type":"(next: Mode) => void","description":""},{"name":"finish","type":"(byEscape?: boolean) => void","description":""},{"name":"clear","type":"() => void","description":""},{"name":"remove","type":"(index: number) => void","description":""}],"types":[{"name":"Mode","source":"type Mode = 'distance' | 'area'"}]},{"name":"MMapPopup","import":"@m3ui-vue/m3ui-vue/map","description":"A popup on an `MMap` at `lngLat`, shown while `open` (v-model): e.g. what the user clicked on. Its content is the default slot, styled as an M3 surface. For a popup that opens from a marker, use `MMapMarker`'s `#popup` slot. Available from the `/map` entry point.","props":[{"name":"lngLat","type":"[number, number]","required":true,"default":null,"description":"Position, `[lng, lat]`","model":false},{"name":"open","type":"boolean","required":false,"default":"true","description":"Shown (v-model)","model":true},{"name":"closeButton","type":"boolean","required":false,"default":"true","description":"Show a close button","model":false},{"name":"closeOnClick","type":"boolean","required":false,"default":"true","description":"Close it when the map is clicked","model":false},{"name":"anchor","type":"maplibregl.PositionAnchor","required":false,"default":null,"description":"Where the popup sits relative to `lngLat`. By default MapLibre picks the side with room","model":false},{"name":"offset","type":"maplibregl.Offset","required":false,"default":null,"description":"Offset from `lngLat`: pixels, `[x, y]`, or one per side (`{ bottom: [0, -38], … }`, MapLibre's `Offset`). By default none: its tip touches the point","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Maximum width (CSS)","model":false}],"events":[{"name":"update:open","args":"open: boolean","description":"Closed by its close button or a click on the map (`closeOnClick`)"}],"slots":[{"name":"default","bindings":null,"description":"The popup's content"}],"exposed":[{"name":"popup","type":"() => maplibregl.Popup | undefined","description":"The MapLibre popup"}],"types":[]},{"name":"MMapSearch","import":"@m3ui-vue/m3ui-vue/map","description":"A place search on an `MMap`: a search card in a corner. Enter searches through `provider` (OpenStreetMap's Nominatim by default, or any function returning places); picking a result flies there (or fits its extent) and marks it. Available from the `/map` entry point.","props":[{"name":"provider","type":"MapSearchProvider","required":false,"default":null,"description":"Where to search: `nominatimProvider(options)` by default, or your own function","model":false},{"name":"position","type":"MapControlPosition","required":false,"default":"\"top-left\"","description":"The corner","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"The field's placeholder (the locale's \"Search places\" by default)","model":false},{"name":"zoom","type":"number","required":false,"default":"17","description":"The zoom to fly to for a result without an extent","model":false},{"name":"marker","type":"boolean","required":false,"default":"true","description":"Mark the picked result","model":false},{"name":"instant","type":"boolean","required":false,"default":"false","description":"Search while typing (debounced), for providers that allow it; Nominatim's public server doesn't","model":false}],"events":[{"name":"select","args":"result: MapSearchResult","description":"A result was picked"}],"slots":[],"exposed":[],"types":[]},{"name":"MMarkdown","import":"@m3ui-vue/m3ui-vue/markdown","description":"Renders markdown source as styled HTML — headings, lists, tables, blockquotes, links, and fenced code blocks with optional syntax highlighting, line highlighting, and a copy button.","props":[{"name":"source","type":"string","required":true,"default":null,"description":"Markdown source text","model":false},{"name":"breaks","type":"boolean","required":false,"default":"true","description":"Convert single newlines to `<br>`","model":false},{"name":"linkify","type":"boolean","required":false,"default":"true","description":"Auto-detect bare URLs and turn them into links","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMaskField","import":"@m3ui-vue/m3ui-vue","description":"A text field with a formatting mask — built-in presets or a custom pattern where `#` stands for a digit.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Masked value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"mask","type":"string","required":true,"default":null,"description":"Mask pattern (# = digit) or a built-in preset name (see `MaskPreset`)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[{"name":"MaskPreset","source":"export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip'"}]},{"name":"MMasonry","import":"@m3ui-vue/m3ui-vue","description":"Pinterest-style column layout that fills the shortest column first. Re-lays out on container resize via `ResizeObserver` and when the slotted content changes.","props":[{"name":"cols","type":"number","required":false,"default":"2","description":"Default column count","model":false},{"name":"smCols","type":"number","required":false,"default":null,"description":"Columns at sm breakpoint (640px)","model":false},{"name":"mdCols","type":"number","required":false,"default":null,"description":"Columns at md breakpoint (768px)","model":false},{"name":"lgCols","type":"number","required":false,"default":null,"description":"Columns at lg breakpoint (1024px)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The items, laid out in columns."}],"exposed":[],"types":[]},{"name":"MMenu","import":"@m3ui-vue/m3ui-vue","description":"A trigger-based dropdown menu, composed with `MMenuItem` and `MMenuDivider`. Items support unlimited-depth nested submenus via the `#children` slot.","props":[{"name":"align","type":"\"right\" | \"left\"","required":false,"default":"\"right\"","description":"Which edge of the trigger the dropdown aligns to.","model":false},{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":"{ open: boolean; }","description":"The element that opens the menu when clicked; `open` tells whether it's open."},{"name":"default","bindings":"{ close: () => void; }","description":"The menu's items (MMenuItem, MMenuDivider or your own markup); `close()` closes the menu."}],"exposed":[{"name":"close","type":"() => void","description":""},{"name":"open","type":"boolean","description":""}],"types":[]},{"name":"MMenuDivider","import":"@m3ui-vue/m3ui-vue","description":"A line between groups of items in an MMenu or MContextMenu; with `gap` in an expressive menu it splits the menu into separate rounded groups.","props":[{"name":"gap","type":"boolean","required":false,"default":"false","description":"Marks this as a group boundary for `MMenu`/`MContextMenu`'s `variant=\"expressive\"` — instead of rendering this divider in place, the parent menu splits its panel into two independently-rounded group boxes with a small gap between them. Has no effect outside an `expressive` menu, where it renders as a normal divider line.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMenuItem","import":"@m3ui-vue/m3ui-vue","description":"An item of an MMenu or MContextMenu: icon, label and a shortcut hint. Put more items in its `#children` slot to make it open a submenu. With `selected` it's one choice of several (Compose's SelectableDropdownMenuItem), with `checked` an on/off setting (CheckableDropdownMenuItem): tertiary-container and rounder while on, with a check that slides in.","props":[{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"shortcut","type":"string","required":false,"default":null,"description":"Keyboard shortcut hint displayed on the right (e.g. \"Ctrl+C\") — hidden when the item has #children","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the item","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Danger/destructive styling (error color)","model":false},{"name":"keepOpen","type":"boolean","required":false,"default":null,"description":"Keep the menu open after this item is clicked. Defaults to true for `checked` items, false otherwise","model":false},{"name":"selected","type":"boolean","required":false,"default":null,"description":"Makes it one choice of several (radio-like): selected look while true. Leave unset for a plain item","model":false},{"name":"checked","type":"boolean","required":false,"default":null,"description":"Makes it an on/off setting (v-model:checked, checkbox-like): checked look while true. Leave unset for a plain item","model":true},{"name":"selectedIcon","type":"string","required":false,"default":null,"description":"Icon shown while selected or checked. Defaults to a check that slides in when the item has no `icon`; with an `icon`, that icon stays and turns filled","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a leaf item (no #children) is clicked. Not emitted for disabled items or for items with #children, since clicking those just opens/toggles the submenu instead."},{"name":"update:checked","args":"boolean","description":"Emitted on click when `checked` is set, with the new value — powers v-model:checked"}],"slots":[{"name":"icon","bindings":"{ on: boolean; }","description":"Replaces the leading icon (an `MIcon` with a class, an image, an avatar…), `{ on }` while selected or checked. It gets the icon's 20px box and color"},{"name":"default","bindings":null,"description":"Item label text."},{"name":"children","bindings":null,"description":"Nested submenu items. In the parent MMenu's default 'flyout' mode, clicking or hovering (mouse only) the item opens a side panel — supports unlimited nesting depth. In 'push' mode, clicking the item instead swaps the whole menu panel to the submenu with a back header; hover does nothing."}],"exposed":[],"types":[]},{"name":"MMultiAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing @debounced. Selection is always instant","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted on selection change — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MMultiSelect","import":"@m3ui-vue/m3ui-vue","description":"Select multiple values with removable chips and an optional in-dropdown search.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (any type — v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when nothing selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search in dropdown","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset all selections","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input in dropdown — defaults to the current locale's string","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match search — defaults to the current locale's string","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted with the new array of selected values."}],"slots":[{"name":"no-results","bindings":null,"description":"Custom content shown in the dropdown when no options match the search query"}],"exposed":[],"types":[{"name":"MultiSelectOption","source":"export interface MultiSelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"A mobile bottom navigation bar with a pill indicator and badge support.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `NavBarItem`)","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"NavBarItem","source":"export interface NavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n}"}]},{"name":"MNavigationDrawer","import":"@m3ui-vue/m3ui-vue","description":"A slide-out or inline drawer of grouped, badge-able, optionally-nested navigation items — modal (Teleported, scrim-backed, swiped closed toward its edge) or inline (participates in layout, supports a collapsed icon-only mode).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"selected","type":"string | number","required":false,"default":null,"description":"Currently selected item value","model":false},{"name":"sections","type":"DrawerSection[]","required":true,"default":null,"description":"Array of sections (see the types below)","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Drawer header title (ignored if the #header slot is used)","model":false},{"name":"modal","type":"boolean","required":false,"default":"true","description":"Modal with a Teleported scrim overlay, or an inline sidebar that participates in normal layout flow","model":false},{"name":"collapsed","type":"boolean","required":false,"default":null,"description":"Compact mode (72px) showing only icons — inline variant only","model":false},{"name":"collapsedLabels","type":"boolean","required":false,"default":null,"description":"In `collapsed` mode, shows each item's label under its icon, with the selection on a 56×32 pill around the icon, like MNavigationRail's collapsed items — nested items included","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"Custom drawer width (e.g. \"320px\", \"25rem\"). Defaults to 22.5rem (360px)","model":false},{"name":"side","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"left\"","description":"Which side the drawer opens from. Top/bottom are only available for the modal variant — the inline variant always renders on left or right.","model":false},{"name":"swipeEnabled","type":"boolean","required":false,"default":"true","description":"Lets the modal drawer be swiped closed toward its edge; with false it only closes through v-model or the scrim","model":false},{"name":"expandSelected","type":"boolean","required":false,"default":"true","description":"Opens the groups that hold the selected item (and the selected item, if it's a group) whenever `selected` changes","model":false},{"name":"accordion","type":"boolean","required":false,"default":"false","description":"Keeps one group open per level: opening a group, by hand or through `expandSelected`, closes its siblings","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Open/closed state for v-model"},{"name":"select","args":"string | number","description":"Fires when an item is clicked — use to track the selected item"}],"slots":[{"name":"header","bindings":null,"description":"Custom header content (e.g. profile card, logo). Fully generic, no positioning constraints applied — overrides the title prop."},{"name":"default","bindings":null,"description":"Free content rendered at the end of the scrollable area, after all sections. Use for footers, logout buttons, or any custom content."},{"name":"toggle","bindings":null,"description":"Collapse/expand toggle button area (inline variant only). Renders inside a 72px centered container with a bottom border that aligns with MTopAppBar (64px height). The icon stays anchored in the same position during collapse/expand transitions."}],"exposed":[{"name":"openItems","type":"Record<string | number, boolean>","description":""}],"types":[{"name":"DrawerItem","source":"export interface DrawerItem {\n value: string | number;\n label: string;\n icon?: string;\n badge?: string | number;\n disabled?: boolean;\n to?: string | Record<string, any>;\n children?: DrawerItem[];\n iconSize?: number;\n labelClass?: string;\n py?: string;\n click?: () => void;\n}"},{"name":"DrawerSection","source":"export interface DrawerSection {\n title?: string;\n icon?: string;\n items: DrawerItem[];\n collapsible?: boolean;\n}"}]},{"name":"MNavigationRail","import":"@m3ui-vue/m3ui-vue","description":"Compact vertical navigation for desktop/tablet layouts with a pill indicator, an optional wide \"expanded\" state, and an optional modal (flyout) variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavRailItem[]","required":true,"default":null,"description":"Array of rail items (see `NavRailItem`)","model":false},{"name":"alignment","type":"\"top\" | \"bottom\" | \"center\"","required":false,"default":"\"top\"","description":"Vertical alignment of items within the rail","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Widens the rail (to fit the longest label, 220 to 360px) and shows each item's icon beside its label in a full-width pill, instead of the icon over the label. Toggle it from your own menu button.","model":true},{"name":"modal","type":"boolean","required":false,"default":"false","description":"Keeps the rail collapsed and opens the expanded rail as a panel over the app, with a scrim, instead of widening in place. It closes on a scrim click, Escape or picking an item, emitting `update:expanded`.","model":false},{"name":"hideOnCollapse","type":"boolean","required":false,"default":"false","description":"With `modal`: no collapsed rail on screen; the expanded rail slides in from off-screen and can be swiped away (Compose's `hideOnCollapse`). Open it from your own menu button","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the modal panel closes (modal mode only) — pair with :expanded for v-model:expanded. With `hideOnCollapse`, swiping the panel away closes it too"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB (or MFabMenu) at the top of the rail, above the items."}],"exposed":[],"types":[{"name":"NavRailItem","source":"export interface NavRailItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MNavigationSuite","import":"@m3ui-vue/m3ui-vue","description":"One navigation that adapts to the space, after Material 3's `NavigationSuiteScaffold`: a short navigation bar at the bottom on phones, the same bar with icons beside labels on a phone in landscape, and a navigation rail on the side from tablets up. Give it your destinations and your content; it picks MShortNavigationBar or MNavigationRail by its own size (see useWindowSizeClass) and swaps them without remounting the content. It has no default size, so give it the app's height, e.g. `class=\"h-dvh\"`.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Selected destination (v-model)","model":true},{"name":"items","type":"NavigationSuiteItem[]","required":true,"default":null,"description":"Destinations, the same shape MNavigationRail and MShortNavigationBar take","model":false},{"name":"layout","type":"\"auto\" | NavigationSuiteLayout","required":false,"default":"\"auto\"","description":"'auto' picks by the component's own size: compact width → short bar, compact height (a phone in landscape) → short bar with icons beside labels, anything else → rail. Any other value forces that navigation; 'none' hides it","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when a destination is picked (v-model)"}],"slots":[{"name":"default","bindings":"{ layout: NavigationSuiteLayout; }","description":"The app's content. Scrolls on its own, next to or above the navigation."},{"name":"fab","bindings":null,"description":"Primary action (e.g. a FAB): the rail's header, or floating above the bar at the bottom end."}],"exposed":[],"types":[{"name":"NavigationSuiteItem","source":"export interface NavigationSuiteItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"},{"name":"NavigationSuiteLayout","source":"/** The navigation component in use: a short bar (icons over labels, or beside them), or a rail. */\nexport type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none'"}]},{"name":"MNumberField","import":"@m3ui-vue/m3ui-vue","description":"A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.","props":[{"name":"modelValue","type":"number | null","required":true,"default":"null","description":"Bound numeric value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Minimum allowed value","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Maximum allowed value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Increment/decrement step","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"stepper","type":"boolean","required":false,"default":"true","description":"Show +/- buttons","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"number | null","description":"Emitted on every change — typing, stepper clicks, or arrow keys — powers v-model"},{"name":"debounced","args":"number | null","description":"Emitted debounce ms after the user stops typing (only when debounce > 0). Stepper clicks/arrow keys still emit instantly"}],"slots":[],"exposed":[],"types":[]},{"name":"MOverlay","import":"@m3ui-vue/m3ui-vue","description":"Full-screen overlay with scrim and teleport to body. A generic low-level building block — content is entirely up to you via the default slot. Your class, role and aria attributes go on the content layer (over the scrim), so `class=\"flex items-center justify-center bg-black\"` lays out and paints the slot.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"true","description":"Controls visibility (v-model)","model":true},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Show dark backdrop","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false},{"name":"closeOnEscape","type":"boolean","required":false,"default":"false","description":"Closes on Escape. It shares the library's Escape stack with MDialog and the sheets, so a dialog or menu opened over it takes Escape first","model":false},{"name":"lockScroll","type":"boolean","required":false,"default":"false","description":"Locks the page's scroll while open (shared with the library's other modal surfaces, so stacking is safe)","model":false},{"name":"transition","type":"string","required":false,"default":null,"description":"Name of a `<Transition>` (your CSS classes) to play instead of the default fade","model":false}],"events":[{"name":"update:modelValue","args":"value: boolean","description":"Emitted with false when the scrim is clicked (or Escape is pressed with closeOnEscape), for v-model support"}],"slots":[{"name":"default","bindings":null,"description":"Content shown over the scrim."}],"exposed":[],"types":[]},{"name":"MPageProgress","import":"@m3ui-vue/m3ui-vue","description":"A thin bar pinned to the top or bottom edge of the viewport, for page/route-level loading state — auto-wired to vue-router by default, or driven entirely by hand via usePageProgress().","props":[{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bar color","model":false},{"name":"thickness","type":"number","required":false,"default":"3","description":"Bar height in px","model":false},{"name":"auto","type":"boolean","required":false,"default":"true","description":"Auto-wire to vue-router's navigation guards when a router is detected. Set to `false` to drive it entirely by hand via `usePageProgress()`.","model":false},{"name":"position","type":"\"top\" | \"bottom\"","required":false,"default":"\"top\"","description":"Which edge of the viewport the bar is pinned to","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPagination","import":"@m3ui-vue/m3ui-vue","description":"Simple previous/next page navigation with an automatically computed page range label. Its texts (“1–10 of 25”, “Page 1 of 3” and the buttons’ labels) come from the app’s locale.","props":[{"name":"page","type":"number","required":true,"default":null,"description":"Current page (1-based)","model":true},{"name":"perPage","type":"number","required":true,"default":null,"description":"Items per page","model":false},{"name":"total","type":"number","required":true,"default":null,"description":"Total number of items","model":false}],"events":[{"name":"update:page","args":"number","description":"Emitted when the previous/next button is clicked — drive page with it for v-model-style two-way binding"}],"slots":[],"exposed":[],"types":[]},{"name":"MPasswordMeter","import":"@m3ui-vue/m3ui-vue","description":"A password strength bar. Scores length + character variety (0-4) and emits `score` so you can gate a submit button on it.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Password to score","model":false},{"name":"labels","type":"string[]","required":false,"default":"[\"Very weak\", \"Weak\", \"Fair\", \"Good\", \"Strong\"]","description":"5 labels, weakest to strongest.","model":false},{"name":"minLength","type":"number","required":false,"default":"8","description":"Length considered \"long enough\" — also used (+4) as the \"very long\" bonus threshold.","model":false}],"events":[{"name":"score","args":"number","description":"Emitted whenever value changes — -1 for an empty value, or 0-4 otherwise"}],"slots":[],"exposed":[],"types":[]},{"name":"MPinInput","import":"@m3ui-vue/m3ui-vue","description":"One box per character for OTP/PIN/verification codes. Typing advances to the next box, backspace on an empty box goes back, and pasting a full code fills every box at once.","props":[{"name":"modelValue","type":"string","required":true,"default":"\"\"","description":"Bound code (v-model), e.g. \"1234\"","model":true},{"name":"length","type":"number","required":false,"default":"6","description":"Number of boxes (ignored when groups is set)","model":false},{"name":"groups","type":"number[]","required":false,"default":null,"description":"Segment sizes for a grouped layout, e.g. [2, 4, 2, 3, 1, 3] renders `__ ____ __ ___ _ ___`. Overrides `length` (derived as the sum).","model":false},{"name":"separator","type":"string","required":false,"default":"\"-\"","description":"Visual separator rendered between groups (only used when `groups` is set).","model":false},{"name":"type","type":"\"numeric\" | \"alphanumeric\"","required":false,"default":"\"numeric\"","description":"Restricts which characters are accepted","model":false},{"name":"masked","type":"boolean","required":false,"default":"false","description":"Renders each box as a password field (dots instead of characters)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the boxes","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables every box","model":false},{"name":"autoFocus","type":"boolean","required":false,"default":"false","description":"Focuses the first box on mount","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the group of boxes","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every box change — powers v-model"},{"name":"complete","args":"string","description":"Fires once with the full code as soon as every box is filled — the natural place to trigger auto-submit"}],"slots":[],"exposed":[],"types":[]},{"name":"MProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A linear progress indicator — determinate, indeterminate, or the M3 Expressive wavy variant.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit for indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Indeterminate animation — also implied by omitting value","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":"\"primary\"","description":"Bar color: an M3 role or any CSS color (`#fff` over a photo, say)","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Track color: an M3 role or any CSS color. Default the role's container, or the bar color at 24% for a CSS color","model":false},{"name":"variant","type":"\"wavy\" | \"linear\"","required":false,"default":"\"linear\"","description":"Bar style","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text above the bar","model":false},{"name":"thickness","type":"number","required":false,"default":null,"description":"Stroke width in px. Defaults to 4dp, matching the real M3 token for both variants.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPullToRefresh","import":"@m3ui-vue/m3ui-vue","description":"Wraps its own scrollable container and fires a refresh event when the user pulls past a threshold at the very top of the scroll.","props":[{"name":"refreshing","type":"boolean","required":false,"default":"false","description":"Controlled loading state — set it to true in your @refresh handler and back to false once the fetch resolves; the indicator settles and releases accordingly, same pattern as MInfiniteScroll's loading prop","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the pull gesture","model":false},{"name":"threshold","type":"number","required":false,"default":"64","description":"Pull distance in px required to trigger a refresh on release","model":false},{"name":"size","type":"number","required":false,"default":"36","description":"Indicator size in px","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Indicator color","model":false}],"events":[{"name":"refresh","args":"","description":"Emitted when the user drags past threshold and releases. Set refreshing to true in the handler, then back to false once the fetch resolves."}],"slots":[{"name":"default","bindings":null,"description":"The scrollable content. A pull starts only when it's scrolled to the top; otherwise touch scrolls it normally"}],"exposed":[{"name":"scrollEl","type":"HTMLElement | null","description":"The element that scrolls the slot's content"},{"name":"scrollTo","type":"(options: ScrollToOptions) => void | undefined","description":"Scrolls the content, like `Element.scrollTo()` (e.g. `{ top: 0, behavior: 'smooth' }`)"}],"types":[]},{"name":"MQRCode","import":"@m3ui-vue/m3ui-vue/qrcode","description":"Renders a QR code as inline SVG — crisp at any size, no canvas or image assets. Available from the `/qrcode` entry point, so it never adds weight to the main bundle.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"size","type":"number","required":false,"default":"200","description":"Width/height in pixels (square)","model":false},{"name":"margin","type":"number","required":false,"default":"4","description":"Quiet zone around the code, in modules.","model":false},{"name":"errorCorrectionLevel","type":"\"M\" | \"L\" | \"Q\" | \"H\"","required":false,"default":"\"M\"","description":"Higher levels tolerate more damage/obstruction at the cost of a denser code","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Dark module color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Light module / background color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Rounds the outer container corners.","model":false},{"name":"moduleStyle","type":"\"square\" | \"dots\"","required":false,"default":"\"square\"","description":"'square' is the classic scannable pixel grid. 'dots' rounds each module — still fully scannable, just a softer look.","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is too large to encode at the given errorCorrectionLevel"}],"exposed":[],"types":[]},{"name":"MRadio","import":"@m3ui-vue/m3ui-vue","description":"A single radio button, for when you lay out the options yourself. It's selected when `modelValue` equals its `value`; for a plain list of options, MRadioGroup is simpler.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"The group's current value (v-model); share one ref between the radios of a group.","model":true},{"name":"value","type":"unknown","required":true,"default":null,"description":"The value this radio stands for; selecting it sets the v-model to it.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text next to the radio. Clicking it selects the radio too.","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Grays the radio out and ignores clicks.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color role of the selected radio.","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with `value` when the radio is selected."}],"slots":[],"exposed":[],"types":[]},{"name":"MRadioGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of radio buttons sharing a single selection, column or row layout.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"Option[]","required":true,"default":null,"description":"Radio options","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Group label","model":false},{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Layout direction","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables all radios","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Radio color","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"Option","source":"interface Option {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MRating","import":"@m3ui-vue/m3ui-vue","description":"A star rating input with half increments and any Material Symbol icon. Not part of the official M3 spec, so it's built from M3 primitives: filled/outlined icon pairs, a state layer on hover/press, and a focus ring. Click or drag to rate (drag past the first icon to clear), or use the arrow keys, Home and End when focused.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Current rating (v-model)","model":true},{"name":"max","type":"number","required":false,"default":"5","description":"Maximum stars","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Star size in px","model":false},{"name":"readonly","type":"boolean","required":false,"default":null,"description":"Display-only: not focusable, exposed as role=\"img\" with the value as its label","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables interaction","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"One of the 4 M3 roles ('primary' | 'secondary' | 'tertiary' | 'error'), or any other CSS color string","model":false},{"name":"icon","type":"string","required":false,"default":"\"star\"","description":"Material Symbol icon","model":false},{"name":"halfIncrements","type":"boolean","required":false,"default":"false","description":"Allow half-star values (click the left half of an icon). Fractional values always render exactly, with or without this prop","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted when the user rates by click, drag or keyboard (v-model). Dragging past the first icon emits 0"}],"slots":[],"exposed":[],"types":[]},{"name":"MRelative","import":"@m3ui-vue/m3ui-vue","description":"Wrapper that sets `position: relative` on a container. Use it as the positioning parent for MAbsolute children.","props":[],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content; absolutely positioned children are placed relative to it."}],"exposed":[],"types":[]},{"name":"MRelativeTime","import":"@m3ui-vue/m3ui-vue","description":"Renders a timestamp as human-readable relative text (\"5 minutes ago\", \"in 2 hours\") that keeps itself up to date, formatted with the native Intl.RelativeTimeFormat. It renders a semantic `<time>` element, and hovering it shows the full absolute date.","props":[{"name":"value","type":"string | number | Date","required":true,"default":null,"description":"Required. The timestamp to format: an ISO string, epoch milliseconds, or a Date","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 locale tag (e.g. 'es-ES'). Defaults to the app's locale (via createM3UI/useLocale), then the browser's locale.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MResponsive","import":"@m3ui-vue/m3ui-vue","description":"Shows or hides content at specific breakpoints using pure CSS (Tailwind's `hidden`/`block` utilities) — no JS resize listener.","props":[{"name":"show","type":"Breakpoint","required":false,"default":null,"description":"Show content only at this breakpoint range","model":false},{"name":"hide","type":"Breakpoint","required":false,"default":null,"description":"Hide content at this breakpoint range","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Breakpoint","source":"type Breakpoint = 'sm-up' | 'md-up' | 'lg-up' | 'xl-up' | 'sm-down' | 'md-down' | 'lg-down' | 'xl-down'"}]},{"name":"MResult","import":"@m3ui-vue/m3ui-vue","description":"A full result screen for the end of a flow: success, errors, empty states and HTTP error pages. Each status comes with its own icon, colors, title and description, and you can override any of them. The default texts come from the active locale (`useLocale`), so they follow the language passed to `createM3UI({ locale })`.","props":[{"name":"status","type":"\"info\" | \"success\" | \"warning\" | \"error\" | \"404\" | \"403\" | \"500\"","required":true,"default":null,"description":"Required. Picks the icon, its colors, and the default title/description. The three HTTP statuses also show the code in large type above the icon","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Custom title, replaces the status default","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Custom description, replaces the status default","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons, in a centered row below the description"},{"name":"default","bindings":null,"description":"Extra content below the actions row, e.g. a secondary link or fine print"}],"exposed":[],"types":[]},{"name":"MRichTextEditor","import":"@m3ui-vue/m3ui-vue/rich-text-editor","description":"A WYSIWYG editor built on tiptap, with a formatting toolbar covering text styles, lists, alignment, links, and images.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"HTML content (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown on an empty document","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables editing","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum height of the text area (not used with `fill`)","model":false},{"name":"fill","type":"boolean","required":false,"default":"false","description":"Fills the height you give the editor (`class=\"h-full\"`, `flex-1`…): the toolbar stays put and the text scrolls inside, instead of the editor growing with its content","model":false},{"name":"labels","type":"RichTextEditorLabels","required":false,"default":null,"description":"Object with all toolbar/dialog label overrides for i18n (see `RichTextEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the editor HTML on every content change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"RichTextEditorLabels","source":"export interface RichTextEditorLabels {\n bold?: string\n italic?: string\n underline?: string\n strikethrough?: string\n highlight?: string\n bulletList?: string\n orderedList?: string\n blockquote?: string\n code?: string\n alignLeft?: string\n alignCenter?: string\n alignRight?: string\n undo?: string\n redo?: string\n link?: string\n image?: string\n paragraph?: string\n heading1?: string\n heading2?: string\n heading3?: string\n insertLink?: string\n insertImage?: string\n imageUrlLabel?: string\n cancel?: string\n insert?: string\n}"}]},{"name":"MScheduler","import":"@m3ui-vue/m3ui-vue","description":"A week or day calendar grid. Events sit at their exact times, overlapping ones share the width, and anything that lasts all day or spans several days runs across the all-day row. Click a day header to open that day. Dates and times follow the app's locale.","props":[{"name":"events","type":"SchedulerEvent[]","required":false,"default":"[]","description":"Events to show (see `SchedulerEvent`)","model":false},{"name":"view","type":"\"week\" | \"day\"","required":false,"default":"\"week\"","description":"'week' or 'day'; use v-model:view to follow the header's toggle.","model":true},{"name":"date","type":"string","required":false,"default":null,"description":"The date shown (`YYYY-MM-DD`), today by default; use v-model:date to follow navigation.","model":true},{"name":"startHour","type":"number","required":false,"default":"7","description":"First visible hour","model":false},{"name":"endHour","type":"number","required":false,"default":"22","description":"Hour the grid ends at","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"First day of the week: 0 = Sunday, 1 = Monday.","model":false},{"name":"hourHeight","type":"number","required":false,"default":"56","description":"Height of one hour row, in px.","model":false},{"name":"nowIndicator","type":"boolean","required":false,"default":"true","description":"A line across today's column at the current time.","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for dates and times (Intl). Falls back to the app's configured locale","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Aria label of the previous button (defaults to the locale string)","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Aria label of the next button (defaults to the locale string)","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label of the Today button (defaults to the locale string)","model":false},{"name":"dayViewLabel","type":"string","required":false,"default":null,"description":"Label of the Day toggle (defaults to the locale string)","model":false},{"name":"weekViewLabel","type":"string","required":false,"default":null,"description":"Label of the Week toggle (defaults to the locale string)","model":false},{"name":"allDayLabel","type":"string","required":false,"default":null,"description":"Label of the all-day row (defaults to the locale string)","model":false}],"events":[{"name":"eventClick","args":"SchedulerEvent","description":"An event (in the grid or the all-day row) was clicked"},{"name":"slotClick","args":"{ date: string; hour: number; }","description":"An empty spot in the grid was clicked"},{"name":"update:date","args":"string","description":"Navigation changed the date shown (YYYY-MM-DD)"},{"name":"update:view","args":"\"week\" | \"day\"","description":"The Day/Week toggle (or a day header) changed the view"}],"slots":[{"name":"event","bindings":"{ event: SchedulerEvent; allDay: boolean; }","description":"Content of an event block."}],"exposed":[],"types":[{"name":"SchedulerEvent","source":"export interface SchedulerEvent {\n id: string | number\n title: string\n /**\n * Start: a datetime (`2026-10-17T09:30`, or ISO with a zone). For an all-day event, a date\n * (`2026-10-17`).\n */\n start: string\n /** End: a datetime (exclusive). For an all-day event, the last day (inclusive). */\n end: string\n /** Shown in the all-day row instead of the time grid. Events that span days go there too. */\n allDay?: boolean\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n}"}]},{"name":"MScheme","import":"@m3ui-vue/m3ui-vue","description":"Paints its content with a color scheme of its own, built from a seed color or from an image's dominant color (Material You's content color: an album, a dish or a profile photo coloring its own page), or one of the palettes (a theme picker's previews). Every `bg-*`/`text-*` M3 utility and every component inside it uses the scheme, in light or dark like the rest of the app, while the rest of the app keeps its palette. Its text color is the scheme's `on-surface`; it sets no background.","props":[{"name":"seed","type":"string","required":false,"default":null,"description":"Seed color (`#rrggbb`) the scheme is built from","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"An image (URL) whose dominant color becomes the seed, picked as Android picks a wallpaper's. Cross-origin images need CORS headers. `seed` wins while both are set","model":false},{"name":"palette","type":"string","required":false,"default":null,"description":"One of the palettes (`useColorPalette().palettes`, custom ones included), applied to this element only with its own CSS, in its standard contrast. `seed` and `image` win while set","model":false},{"name":"variant","type":"SchemeVariant","required":false,"default":"\"tonal-spot\"","description":"How the seed spreads into the scheme; `content` and `fidelity` keep the seed's own color most visible","model":false},{"name":"contrast","type":"number","required":false,"default":"0","description":"Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced)","model":false},{"name":"as","type":"string","required":false,"default":"\"div\"","description":"Element to render","model":false}],"events":[{"name":"seed","args":"color: string","description":"Emitted with the seed color read from `image`"}],"slots":[{"name":"default","bindings":"{ seed: string | undefined; ready: boolean; }","description":"The content. Receives `{ seed, ready }`: the seed in use (the image's once it's read) and whether the scheme is applied yet"}],"exposed":[],"types":[]},{"name":"MScrollable","import":"@m3ui-vue/m3ui-vue","description":"A constrained scroll area — vertical, horizontal, or both directions. Shows the browser's scrollbar, or with `scrollbar=\"indicator\"` M3's thin visual-only scrollbar (Compose's `Modifier.nonInteractiveScrollbar`), which appears while scrolling and fades out after.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\" | \"both\"","required":false,"default":"\"vertical\"","description":"Scroll direction","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Fixed height (CSS value)","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Maximum height (CSS value)","model":false},{"name":"scrollbar","type":"\"none\" | \"native\" | \"indicator\"","required":false,"default":"\"native\"","description":"`native`: the browser's scrollbar. `indicator`: M3's thin scrollbar, visual only (scroll with the wheel, touch or keys). `none`: no scrollbar at all.","model":false},{"name":"scrollbarFade","type":"boolean","required":false,"default":"true","description":"With `scrollbar=\"indicator\"`: show it only while scrolling, fading out after (false keeps it visible)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The scrolling content."}],"exposed":[],"types":[]},{"name":"MScrollField","import":"@m3ui-vue/m3ui-vue","description":"An endless wheel to pick a number or option by scrolling (M3 Expressive's ScrollField, a port of Compose's `ScrollField`): the centered item is the selected one. Drag, flick, use the mouse wheel, the arrow keys, or click an item. Put two side by side for a time (hours and minutes).","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Index of the selected item, 0 to count - 1 (v-model)","model":true},{"name":"count","type":"number","required":true,"default":null,"description":"Number of items; the wheel wraps around after the last one","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the field. Include the range when it isn't obvious (\"Select year between 2000 and 2025\"): the wheel wraps, so screen readers can't tell where it ends.","model":false},{"name":"format","type":"((index: number) => string)","required":false,"default":"String(index).padStart(2, \"0\")","description":"Text for each item (also what screen readers announce). Defaults to the index with at least 2 digits.","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Height in px; three items fit in the default 200 (ScrollFieldDefaults.ScrollFieldHeight)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the index of the centered item, as it changes while scrolling"}],"slots":[{"name":"item","bindings":"{ index: number; selected: boolean; }","description":"Custom content for each item, instead of the formatted number. Receives `{ index, selected }`."}],"exposed":[],"types":[]},{"name":"MSearchBar","import":"@m3ui-vue/m3ui-vue","description":"A collapsed search field that expands into a docked panel or a fullscreen overlay, with results shown below the input. The expanded panel is teleported to `<body>`; `class`, `style` and other attributes you pass land on the collapsed bar. So with a fullscreen variant you can hide the bar (e.g. `class=\"hidden\"` on phones) and open search from your own icon button through `v-model:expanded`. The docked panel is placed under the bar, so it needs the bar visible.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Controls the expanded/collapsed state — also works uncontrolled if omitted.","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"variant","type":"\"fullscreen\" | \"fullscreen-contained\" | \"docked\"","required":false,"default":"\"docked\"","description":"'docked' grows into a rounded panel anchored below the bar (default). 'fullscreen' takes over the whole viewport, matching M3's mobile search pattern — the leading icon becomes a back button either way. 'fullscreen-contained' (M3 Expressive's ExpandedFullScreenContainedSearchBar) also takes the whole viewport, on surface-container-low, but keeps the input in its pill shape, with no divider.","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed bar","model":false},{"name":"iconPosition","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"Which side of the *collapsed* bar the leading icon sits on. The expanded panel's back button always stays at the start regardless — that's a near-universal \"go back\" convention.","model":false},{"name":"textAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centers the input/placeholder text instead of the M3-standard start alignment (an iOS-style look some apps use for the collapsed bar).","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the collapsed bar","model":false}],"events":[{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the expanded state changes — powers v-model:expanded"}],"slots":[{"name":"leading","bindings":null,"description":"Overrides the collapsed bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content in both the collapsed bar and the expanded header (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions content, shown below the input while expanded"}],"exposed":[],"types":[]},{"name":"MSearchField","import":"@m3ui-vue/m3ui-vue","description":"A pill-shaped search input that filters in place: a list, a table, a grid of products. Unlike MSearchBar, it never expands into a results view; it's just the field, in M3's search bar colors and shape. Your `class` and `style` go on the pill; every other attribute (`name`, `autocomplete`, `aria-*`, listeners like `@focus` or `@keydown`) goes on the `<input>`.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"The text (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder. Defaults to the locale's `search`","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name when there's no visible label. Defaults to the placeholder","model":false},{"name":"icon","type":"string","required":false,"default":"\"search\"","description":"Leading icon, a Material Symbol. Set to '' for none","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"lg\"","description":"Height: `sm` 40px (body-medium text), `md` 48px, `lg` 56px (M3's search bar)","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear button while there's text","model":false},{"name":"clearOnEscape","type":"boolean","required":false,"default":"true","description":"Escape empties the field (keeping the key from closing a dialog or menu around it); on an empty field it leaves it and lets the key through","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"search","args":"string","description":"Enter was pressed, with the text"},{"name":"update:modelValue","args":"string","description":"The text, on every keystroke — powers v-model"},{"name":"clear","args":"","description":"The clear button (or Escape) emptied the field"}],"slots":[{"name":"leading","bindings":null,"description":"Replaces the search icon (an avatar, a back or menu button…). Spaced for a 40px icon button, as in M3's search bar: its icon lands 16px from the edge, like the default one, and the text at the same place"},{"name":"trailing","bindings":null,"description":"Extra content after the clear button (a mic button, a filter menu…)"}],"exposed":[{"name":"inputEl","type":"HTMLInputElement | undefined","description":"The `<input>` element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the input"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the input"}],"types":[]},{"name":"MSection","import":"@m3ui-vue/m3ui-vue","description":"A titled content section with optional subtitle, header actions, and divider.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Section title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Section subtitle text","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show divider below header","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between header and content","model":false},{"name":"titleVariant","type":"TextVariant","required":false,"default":"\"title-large\"","description":"Typography variant for the title","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content (overrides title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (overrides subtitle prop)"},{"name":"actions","bindings":null,"description":"Action buttons displayed in the header row"},{"name":"default","bindings":null,"description":"Main section content"}],"exposed":[],"types":[]},{"name":"MSeekBar","import":"@m3ui-vue/m3ui-vue","description":"A media seek bar (not an M3 spec component; Media3's ProgressSlider is a plain M3 Slider, which this follows in its default look): the playback position on a track with the buffered part, optional chapters, elapsed and total (or remaining) time, and a preview of the time under the pointer. Dragging scrubs locally and seeks once on release (or live, with `live`); a tap or click seeks to that point. While `playing`, it advances on its own between `modelValue` updates, so a 4Hz `timeupdate` still moves it smoothly.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Playback position in seconds (v-model)","model":true},{"name":"duration","type":"number","required":true,"default":null,"description":"Media length in seconds; 0, NaN or Infinity (not loaded yet, a live stream) disables seeking","model":false},{"name":"buffered","type":"number | [number, number][]","required":false,"default":null,"description":"How much is loaded: up to a time, or time ranges (`[[start, end], …]`, like a media element's `buffered`)","model":false},{"name":"chapters","type":"SeekBarChapter[]","required":false,"default":null,"description":"Chapter starts, drawn as gaps in the track; their titles show in the preview","model":false},{"name":"playing","type":"boolean","required":false,"default":"false","description":"The media is playing: the bar moves on its own between updates, and the wavy line waves","model":false},{"name":"playbackRate","type":"number","required":false,"default":"1","description":"Playback speed, for that motion between updates","model":false},{"name":"live","type":"boolean","required":false,"default":"false","description":"Updates the v-model continuously while dragging (the media follows the thumb), not only on release","model":false},{"name":"variant","type":"\"line\" | \"wavy\" | \"slider\"","required":false,"default":"\"slider\"","description":"`slider`: the M3 slider (bar thumb with a gap around it). `line`: a plain line with a round thumb. `wavy`: the played part waves while playing","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\"","required":false,"default":"\"md\"","description":"Track thickness: `md` (16px, the smallest M3 slider), `sm` (8px) or `xs` (4px, over a video)","model":false},{"name":"time","type":"\"none\" | \"below\" | \"sides\"","required":false,"default":"\"below\"","description":"Where the elapsed and total time go","model":false},{"name":"remaining","type":"boolean","required":false,"default":"false","description":"The end label shows the remaining time (`-1:23`) instead of the total; clicking it switches (v-model:remaining)","model":true},{"name":"format","type":"((seconds: number) => string)","required":false,"default":null,"description":"Formats a time in seconds. Default `m:ss`, or `h:mm:ss` for media an hour or longer","model":false},{"name":"keyStep","type":"number","required":false,"default":"5","description":"Seconds the arrow keys move; Page Up/Down move 10%","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Shows the time (and chapter) above the pointer while hovering or dragging","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Played part and thumb: an M3 role (`primary`, `secondary`, `tertiary`, `error`) or any CSS color","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Unplayed track: an M3 role or any CSS color. Default secondary-container","model":false},{"name":"timeColor","type":"string","required":false,"default":null,"description":"The time labels' color, as a CSS color (white over a video, say). Default on-surface-variant","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables seeking","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name. Default the locale's `seekBar`","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted on a seek (and continuously while dragging with `live`) — powers v-model"},{"name":"seek","args":"number","description":"Emitted once per seek with its time: on release of a drag, a tap or click, or a key press"},{"name":"scrub-start","args":"number","description":"Emitted when a drag starts, with its time"},{"name":"scrub","args":"number","description":"Emitted while dragging, with the time under the pointer"},{"name":"update:remaining","args":"boolean","description":"Emitted when the end label is clicked to switch between total and remaining time"}],"slots":[{"name":"preview","bindings":"{ time: number; formatted: string; chapter: SeekBarChapter | null; }","description":"Replaces the bubble shown above the pointer while hovering or dragging (a frame preview, say). Props: `{ time, formatted, chapter }`"}],"exposed":[],"types":[{"name":"SeekBarChapter","source":"export interface SeekBarChapter {\n /** Where the chapter starts, in seconds */\n start: number\n /** Shown in the preview while the pointer is over it */\n title?: string\n}"}]},{"name":"MSegmentedButton","import":"@m3ui-vue/m3ui-vue","description":"A row of joined segments for choosing between a small set of related options — single or multi select.","props":[{"name":"modelValue","type":"M","required":true,"default":null,"description":"Selected value, or values with `multiSelect` (v-model); typed after the options' values","model":true},{"name":"options","type":"SegmentedOption<V>[]","required":true,"default":null,"description":"The options to choose from; see `SegmentedOption`.","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"density","type":"\"default\" | \"compact\" | \"comfortable\"","required":false,"default":"\"default\"","description":"Button density","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected segment color","model":false}],"events":[{"name":"update:modelValue","args":"M","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"SegmentedOption","source":"export interface SegmentedOption<V extends string | number = string | number> {\n value: V\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MSelect","import":"@m3ui-vue/m3ui-vue","description":"A single-value dropdown select, docked or as a modal dialog on smaller screens.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (any type — v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when no value selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the select","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset the selection","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text shown when options is empty — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"SelectOption","source":"export interface SelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MShader","import":"@m3ui-vue/m3ui-vue","description":"A canvas container for hand-written shaders. Give it a GLSL fragment shader (Shadertoy-style — it runs on WebGL2 and works everywhere) and, optionally, a WGSL fragment shader that runs on WebGPU when the browser supports it. `renderer=\"auto\"` picks WebGPU whenever both a `wgsl` source and browser support are present, otherwise it falls back to WebGL2 — so the same component works as a drop-in on old and new browsers alike.","props":[{"name":"code","type":"string","required":true,"default":null,"description":"GLSL fragment shader body (Shadertoy-style): must define `mainImage(out vec4 fragColor, in vec2 fragCoord)`. Runs on WebGL2. Always required as the compatible baseline. Don't write the `#version`, the precision or any uniform: the component puts them in front of your code, with Shadertoy's `iTime` (seconds, stops while paused), `iResolution` (canvas size in device pixels), `iMouse` and `iFrame`, plus one per `uniforms` key.","model":false},{"name":"wgsl","type":"string","required":false,"default":null,"description":"Optional WGSL fragment shader module, e.g. `@fragment fn fs_main(@builtin(position) pos: vec4f) -> @location(0) vec4f`. Runs on WebGPU when available. Must declare its own bindings — see docs for the required uniform buffer layout.","model":false},{"name":"renderer","type":"ShaderRenderer","required":false,"default":"\"auto\"","description":"Which backend to use. 'auto' picks WebGPU when `wgsl` is set and supported, else WebGL2.","model":false},{"name":"uniforms","type":"Record<string, number | number[]>","required":false,"default":null,"description":"Custom uniforms, read every frame. In GLSL each key is declared for you, as a `float` for a number or a `vec2`–`vec4` for an array; in WGSL they're binding 1, one `vec4f` per key in this order. Keys and shapes are fixed when the shader compiles (on mount, or when `code`/`wgsl`/`renderer` change); values can change freely, e.g. to drive the shader from your own clock instead of `iTime`.","model":false},{"name":"paused","type":"boolean","required":false,"default":null,"description":"Freezes the render loop and the shader clock","model":false},{"name":"pixelRatio","type":"number","required":false,"default":null,"description":"Device pixels per CSS pixel to render at. Defaults to devicePixelRatio, capped at 2 for performance. Lower it to render fewer pixels (a \"quality\" setting); the canvas is resized when it changes.","model":false}],"events":[{"name":"error","args":"message: string","description":"Emitted on a shader compile/link error, or a WebGPU runtime error"},{"name":"ready","args":"renderer: \"webgpu\" | \"webgl\"","description":"Emitted once the backend has initialized — which backend ended up driving the canvas"}],"slots":[{"name":"loading","bindings":null,"description":"Shown while the backend initializes (default: MSpinner)"},{"name":"fallback","bindings":null,"description":"Shown when neither WebGL2 nor WebGPU is available at all"},{"name":"error","bindings":"{ message: string; }","description":"Shown on a shader compile/link/runtime error, with the message"}],"exposed":[{"name":"canvas","type":"HTMLCanvasElement | null","description":""},{"name":"status","type":"ShaderStatus","description":""},{"name":"context","type":"() => WebGL2RenderingContext | GPUDevice | null","description":"Raw WebGL2RenderingContext or GPUDevice, for consumers who want to go beyond the props API."},{"name":"pause","type":"() => void","description":""},{"name":"play","type":"() => void","description":""},{"name":"restart","type":"() => Promise<void>","description":""}],"types":[{"name":"ShaderRenderer","source":"export type ShaderRenderer = 'auto' | 'webgpu' | 'webgl'"},{"name":"ShaderStatus","source":"export type ShaderStatus = 'loading' | 'ready' | 'error' | 'fallback'"}]},{"name":"MShape","import":"@m3ui-vue/m3ui-vue","description":"Clips its content — or renders a filled shape with no content — into one of Material 3's 35 real \"expressive\" shapes. Changing `shape` spring-morphs into the new outline instead of snapping.","props":[{"name":"shape","type":"\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\"","required":true,"default":null,"description":"One of M3's 35 named \"expressive\" shapes (MaterialShapes.kt), e.g. 'Cookie9Sided', 'Heart'.","model":false},{"name":"fill","type":"string","required":false,"default":"\"currentColor\"","description":"Fill color used when there's no default slot content to clip (a decorative solid shape). SVG `fill`, not a `background-color` — a `bg-*` Tailwind class on the component itself has no effect here; use `fill` (or a `text-*` class, since the default is `currentColor`).","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring-morph into the new outline when `shape` changes — false snaps instantly instead.","model":false},{"name":"speed","type":"number","required":false,"default":"1","description":"Multiplier on the morph spring's speed (1 = default). Scales stiffness by speed² and the damping coefficient by speed, which time-scales the spring uniformly without changing its character (same amount of overshoot/settle shape, just faster or slower).","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content clipped to the shape (an image, an icon, anything). Without it the shape is drawn filled with `fill`."}],"exposed":[],"types":[{"name":"ShapeName","source":null}]},{"name":"MShortNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's shorter navigation bar (64dp, vs. MNavigationBar's classic 80dp) — a genuinely separate component, not just a size variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"ShortNavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `ShortNavBarItem`)","model":false},{"name":"arrangement","type":"\"centered\" | \"equal\"","required":false,"default":"\"equal\"","description":"'equal' fills the bar edge to edge (small screens); 'centered' groups items toward the middle instead, recommended for medium/landscape screens","model":false},{"name":"iconPosition","type":"\"top\" | \"start\"","required":false,"default":"\"top\"","description":"'top' stacks the icon above the label; 'start' places it beside the label in one wider pill — typically paired with arrangement='centered'","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ShortNavBarItem","source":"export interface ShortNavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n /** Not selectable: icon and label at 38% of the unselected color, no hover. */\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MSideSheet","import":"@m3ui-vue/m3ui-vue","description":"A panel that slides in from the right edge of the screen. Supports drag-to-dismiss from its left edge, or tapping the scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title, ignored if the header slot is used","model":false},{"name":"width","type":"string","required":false,"default":"\"w-80\"","description":"Tailwind width class for the panel (capped at max-w-[90vw])","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss from the left edge, Escape, or the close button) — powers v-model"}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default title text entirely — the close button stays"},{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MSignaturePad","import":"@m3ui-vue/m3ui-vue","description":"A bordered canvas that captures pointer strokes for signature capture. There's no v-model, since a signature isn't a simple value — read it out via events or the exposed methods.","props":[{"name":"width","type":"number","required":false,"default":"400","description":"Canvas width in px","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Canvas height in px","model":false},{"name":"lineWidth","type":"number","required":false,"default":"2.5","description":"Stroke width","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Stroke color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Canvas background color","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Container border style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables drawing","model":false}],"events":[{"name":"end","args":"string","description":"Fires after a stroke ends, with a PNG data: URL of the canvas"},{"name":"change","args":"string","description":"Fires alongside end, and also after undo() — same data: URL payload"},{"name":"begin","args":"","description":"Fires on the first pointerdown of a new stroke"}],"slots":[],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"undo","type":"() => void","description":""},{"name":"isEmpty","type":"() => boolean","description":""},{"name":"toDataURL","type":"(type?: string | undefined, quality?: number | undefined) => string","description":""}],"types":[]},{"name":"MSimpleCarousel","import":"@m3ui-vue/m3ui-vue","description":"A scroll-snap image carousel with three fixed-width layouts — hero (one protagonist item with peeking neighbors), multi-browse (several items at once, statically sized), and uncontained (variable-width items, optionally animated by scroll position). For the real M3 multi-browse carousel — where items continuously resize as you scroll instead of snapping between fixed widths — see MCarousel.","props":[{"name":"items","type":"SimpleCarouselItem[]","required":true,"default":null,"description":"Slides to render — required","model":false},{"name":"layout","type":"\"multi-browse\" | \"uncontained\" | \"hero\"","required":false,"default":"\"hero\"","description":"Carousel layout style","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Track height","model":false},{"name":"showArrows","type":"boolean","required":false,"default":"true","description":"Show prev/next arrow buttons (fade in on hover)","model":false},{"name":"showIndicators","type":"boolean","required":false,"default":"true","description":"Show dot indicators below the track","model":false},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Auto-advance slides — pauses while the pointer is over the carousel","model":false},{"name":"interval","type":"number","required":false,"default":"5000","description":"Autoplay interval in ms","model":false},{"name":"gap","type":"number","required":false,"default":"8","description":"Gap between items in pixels","model":false},{"name":"visibleItems","type":"number","required":false,"default":"3","description":"Number of visible items (multi-browse layout only)","model":false},{"name":"animated","type":"boolean","required":false,"default":"false","description":"Dynamically grow the centered item and shrink the others while scrolling (uncontained layout only)","model":false}],"events":[{"name":"change","args":"index: number","description":"Fires with the new active item index whenever the track scrolls to a different closest item"}],"slots":[],"exposed":[{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""},{"name":"scrollToItem","type":"(index: number) => void","description":""},{"name":"scrollToPage","type":"(page: number) => void","description":""},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Moves keyboard focus to the carousel, so the arrow keys move it"}],"types":[{"name":"SimpleCarouselItem","source":"export interface SimpleCarouselItem {\n src: string\n alt?: string\n label?: string\n supportingText?: string\n ratio?: number\n}"}]},{"name":"MSkeleton","import":"@m3ui-vue/m3ui-vue","description":"A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.","props":[{"name":"variant","type":"\"rounded\" | \"text\" | \"circular\" | \"rectangular\"","required":false,"default":"\"text\"","description":"Skeleton shape","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"CSS width (defaults to 100%, or 40px for circular)","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"CSS height (defaults to 14px for text, 40px for circular, 100px otherwise)","model":false},{"name":"lines","type":"number","required":false,"default":"1","description":"Number of text lines (text variant only) — the last line renders at 60% width","model":false},{"name":"animation","type":"\"none\" | \"pulse\" | \"wave\"","required":false,"default":"\"pulse\"","description":"Animation style","model":false},{"name":"radius","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | (string & {})","required":false,"default":null,"description":"Corner radius: an M3 shape step (`none`, `xs` 4px, `sm` 8px, `md` 12px, `lg` 16px, `xl` 28px, `full`) or any CSS length, to match the card or thumbnail it stands in for. Defaults to the variant's (a Tailwind `rounded-*` class works too)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSlider","import":"@m3ui-vue/m3ui-vue","description":"The M3 slider — vertical bar thumb, rounded track with gap, standard/centered/range variants, horizontal or vertical.","props":[{"name":"modelValue","type":"number | [number, number]","required":true,"default":null,"description":"Current value — a tuple when variant is range","model":true},{"name":"min","type":"number","required":false,"default":"0","description":"Minimum value","model":false},{"name":"max","type":"number","required":false,"default":"100","description":"Maximum value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Step increment: the values emitted snap to it; while dragging (without stops) the thumb still follows the pointer smoothly and settles on its step when released","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the slider","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"showValue","type":"boolean","required":false,"default":"false","description":"Show current value beside label","model":false},{"name":"showTooltip","type":"boolean","required":false,"default":"false","description":"Show value tooltip while dragging","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Slider orientation","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"xs\"","description":"Track and thumb size","model":false},{"name":"variant","type":"\"standard\" | \"centered\" | \"range\"","required":false,"default":"\"standard\"","description":"Standard, centered (from middle), or range (two thumbs)","model":false},{"name":"stops","type":"boolean","required":false,"default":"false","description":"Show stop dots at each step (max 30 visible), and make a dragged thumb snap from step to step instead of following the pointer smoothly (a discrete slider)","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown before the slider — hides once the fill reaches it","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Base color — used for the fill and thumb unless overridden by fillColor/thumbColor","model":false},{"name":"fillColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the filled/active portion of the track and the corner dot. Defaults to `color`'s M3 token.","model":false},{"name":"thumbIcon","type":"string","required":false,"default":null,"description":"Replaces the draggable bar thumb with an icon.","model":false},{"name":"thumbColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the thumb (bar or icon). Defaults to `color`'s M3 token.","model":false}],"events":[{"name":"update:modelValue","args":"number | [number, number]","description":"Emitted while dragging and on key presses, with the new value (a `[low, high]` pair for the range variant)."}],"slots":[],"exposed":[],"types":[]},{"name":"MSnackbar","import":"@m3ui-vue/m3ui-vue","description":"Renders the toasts shown with `useToast()`. It's mounted for you the first time `useToast()` is called, so you don't place it yourself; its position comes from `useToast().position`.","props":[{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Accessible label of each toast's close button. Defaults to the locale's \"Close\".","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSpacer","import":"@m3ui-vue/m3ui-vue","description":"Pushes flex siblings apart — renders a simple `flex: 1` div. Use it inside MFlex/MStack (or any flex container) to push a group of items to the far edge.","props":[],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSparkline","import":"@m3ui-vue/m3ui-vue","description":"A small trend chart, drawn as SVG with no chart library: a line, an area or bars, for next to a number (a stat card, a table cell, a list item). It fills its box (size it with classes; 96×28px by default), drawn at its real size so dots and bars don't stretch. When the data changes the shape springs to the new values. Screen readers get a summary (first, last, low, high) instead of the drawing. Not an M3 spec component.","props":[{"name":"data","type":"number[]","required":true,"default":null,"description":"The values, oldest first","model":false},{"name":"type","type":"\"line\" | \"bar\" | \"area\"","required":false,"default":"\"line\"","description":"Line, line with a soft fill under it, or bars","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"An M3 color role (`primary`, `tertiary`, `error`...) or any CSS color","model":false},{"name":"smooth","type":"boolean","required":false,"default":"true","description":"Smooth curve through the points (monotone: it never overshoots them) instead of straight segments","model":false},{"name":"showLast","type":"boolean","required":false,"default":"true","description":"A dot on the last point (line and area)","model":false},{"name":"strokeWidth","type":"number","required":false,"default":"2","description":"Line width in px","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Fix the bottom of the scale (otherwise the lowest value, or 0 for bars)","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Fix the top of the scale (otherwise the highest value)","model":false},{"name":"baseline","type":"number","required":false,"default":null,"description":"A dashed reference line at this value (a target, yesterday's close)","model":false},{"name":"interactive","type":"boolean","required":false,"default":"false","description":"Follow the pointer with a dot and emit `hover` with the index under it","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name; defaults to a summary of the data in the app's language","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring to new data; false (or reduced motion) jumps","model":false}],"events":[{"name":"hover","args":"index: number | null","description":"With `interactive`: the index of the point under the pointer, or null when it leaves"}],"slots":[],"exposed":[],"types":[]},{"name":"MSpinner","import":"@m3ui-vue/m3ui-vue","description":"A small circular loading spinner — a standard ring, or the M3 Expressive wavy variant. For a larger, shape-morphing loading affordance, see MLoadingIndicator.","props":[{"name":"size","type":"number","required":false,"default":"20","description":"Size in px","model":false},{"name":"wavy","type":"boolean","required":false,"default":"false","description":"M3 Expressive wavy animation style — the ring rotates while a wave travels along its stroke, instead of a plain spin","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the spinner's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSplitButton","import":"@m3ui-vue/m3ui-vue","description":"A button split into a main action and a dropdown toggle — click the main part for the primary action, the arrow for alternatives.","props":[{"name":"label","type":"string","required":true,"default":null,"description":"Main button label","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Main button icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"tonal\"","description":"Visual style","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables both parts","model":false},{"name":"items","type":"SplitButtonItem[]","required":false,"default":null,"description":"Dropdown menu items; see `SplitButtonItem`","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the main (left) button is clicked"}],"slots":[{"name":"menu","bindings":"{ close: () => boolean; }","description":"Custom dropdown content. Used instead of items. Call close() to dismiss."}],"exposed":[],"types":[{"name":"SplitButtonItem","source":"export interface SplitButtonItem {\n label: string\n icon?: string\n disabled?: boolean\n onClick?: () => void\n}"}]},{"name":"MSplitter","import":"@m3ui-vue/m3ui-vue","description":"Two resizable panels divided by a draggable bar with M3's drag handle (MDragHandle) on it. The bar is also a keyboard separator: arrow keys move it (Shift for 10%), Home/End jump to the limits.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Split direction","model":false},{"name":"initialSplit","type":"number","required":false,"default":"50","description":"Initial split percentage","model":false},{"name":"min","type":"number","required":false,"default":"10","description":"Minimum panel percentage","model":false},{"name":"max","type":"number","required":false,"default":"90","description":"Maximum panel percentage","model":false}],"events":[],"slots":[{"name":"first","bindings":null,"description":"Content for the first (left/top) panel"},{"name":"second","bindings":null,"description":"Content for the second (right/bottom) panel"}],"exposed":[],"types":[]},{"name":"MSpotlightSearch","import":"@m3ui-vue/m3ui-vue","description":"A spotlight-style search overlay. Unlike MCommandPalette, it doesn't filter internally — you own the results array and update it from the search event, which makes it a natural fit for async/remote search.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"results","type":"SpotlightResult[]","required":false,"default":"[]","description":"Results to render — the component does no filtering itself, it just displays whatever you pass via the search event handler","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in place of the clear button, e.g. while an async search is in flight","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"/\"","description":"Global keyboard shortcut key (no modifier) to open the search — ignored while focus is in a text input/textarea/contenteditable","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay in ms before the search event fires after the query changes; 0 fires immediately on every keystroke","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"openHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"search","args":"string","description":"Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response"},{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"SpotlightResult","description":"Emitted when a result is chosen (click, or Enter)"}],"slots":[],"exposed":[],"types":[{"name":"SpotlightResult","source":"export interface SpotlightResult {\n id: string | number\n title: string\n description?: string\n icon?: string\n category?: string\n}"}]},{"name":"MStack","import":"@m3ui-vue/m3ui-vue","description":"Flex stack with gap, alignment, and optional dividers between items.","props":[{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Stack direction","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items (ignored when divider is true)","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"between\" | \"around\" | \"evenly\" | \"end\"","required":false,"default":"\"start\"","description":"Main-axis alignment","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show dividers between items instead of a gap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The stacked items."}],"exposed":[],"types":[]},{"name":"MStatCard","import":"@m3ui-vue/m3ui-vue","description":"A compact metric card — title, value, optional icon, and a trend indicator, with a built-in loading skeleton.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Stat label text — required","model":false},{"name":"value","type":"string | number","required":true,"default":null,"description":"Main stat value — required","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown in a colored container on the right","model":false},{"name":"trend","type":"number","required":false,"default":null,"description":"Percentage change — positive shows green/up, negative red/down, zero neutral/flat","model":false},{"name":"trendLabel","type":"string","required":false,"default":null,"description":"Text next to the trend indicator (e.g. \"vs last month\")","model":false},{"name":"color","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Icon container color","model":false},{"name":"loading","type":"boolean","required":false,"default":null,"description":"Show a skeleton placeholder instead of the value","model":false}],"events":[],"slots":[{"name":"footer","bindings":null,"description":"Extra content appended after the trend indicator/label row (only rendered when trend, trendLabel, or this slot is present)"}],"exposed":[],"types":[]},{"name":"MStepper","import":"@m3ui-vue/m3ui-vue","description":"A multi-step wizard, horizontal or vertical, with icons, descriptions, and optional/error states.","props":[{"name":"steps","type":"StepItem[]","required":true,"default":null,"description":"Step definitions (see `StepItem`)","model":false},{"name":"modelValue","type":"number","required":true,"default":null,"description":"Active step index (0-based), v-model","model":true},{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"linear","type":"boolean","required":false,"default":"true","description":"When true, steps are not clickable — only the active step changes via v-model from outside. When false, any non-active step can be clicked to jump to it.","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the new current step index."}],"slots":[],"exposed":[],"types":[{"name":"StepItem","source":"export interface StepItem {\n label: string\n description?: string\n icon?: string\n optional?: boolean\n error?: boolean\n}"}]},{"name":"MSticky","import":"@m3ui-vue/m3ui-vue","description":"Sticks content to the top of its scroll container using `position: sticky`.","props":[{"name":"top","type":"string | number","required":false,"default":"0","description":"Sticky offset from top (number = px)","model":false},{"name":"zIndex","type":"number","required":false,"default":"40","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that sticks."}],"exposed":[],"types":[]},{"name":"MSubtitle","import":"@m3ui-vue/m3ui-vue","description":"Secondary text component with muted color by default — a thin wrapper around `MText`.","props":[{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"large\"","description":"Subtitle size (maps to body-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"on-surface-variant\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The subtitle text."}],"exposed":[],"types":[]},{"name":"MSupportingPane","import":"@m3ui-vue/m3ui-vue","description":"Material 3's supporting pane layout: main content plus a narrower pane that supports it, like related videos next to a player, a cart next to a product or comments next to a document. With room for two panes (840px and up) the supporting pane sits beside the main one; on smaller screens it moves under it, or into a bottom sheet with `single-pane=\"sheet\"`. It measures its own width, not the window's.","props":[{"name":"singlePane","type":"\"below\" | \"sheet\"","required":false,"default":"\"below\"","description":"Where the supporting pane goes when there's room for only one pane.","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"With `singlePane=\"sheet\"`: whether the sheet is open (v-model:open).","model":true},{"name":"sheetTitle","type":"string","required":false,"default":null,"description":"With `singlePane=\"sheet\"`: the sheet's title.","model":false},{"name":"supportingWidth","type":"string","required":false,"default":null,"description":"Supporting pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:open","args":"boolean","description":"Emitted when the sheet is dismissed, or closed because both panes fit again"}],"slots":[{"name":"main","bindings":"{ twoPane: boolean; }","description":"The main content"},{"name":"supporting","bindings":"{ twoPane: boolean; }","description":"Content that supports the main pane: related items, a summary, details, tools"}],"exposed":[],"types":[]},{"name":"MSwipeToDismiss","import":"@m3ui-vue/m3ui-vue","description":"Content that can be swiped left or right to dismiss it, uncovering a background behind it (a port of Compose's `SwipeToDismissBox`), typically a list item with \"archive\" and \"delete\" behind. Once swiped away it stays there until you reset it (`v-model` back to `'settled'`, or `reset()`), so you decide what happens: remove the item, or undo.","props":[{"name":"modelValue","type":"SwipeToDismissValue","required":false,"default":"\"settled\"","description":"State (v-model): `'settled'`, or dismissed towards `'start-to-end'` / `'end-to-start'`. Set it to animate there.","model":true},{"name":"startToEnd","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping in the reading direction (right in LTR)","model":false},{"name":"endToStart","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping against the reading direction (left in LTR)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns the swipe gesture off (setting v-model still works)","model":false},{"name":"threshold","type":"number","required":false,"default":"56","description":"How far, in px, the content has to move before releasing dismisses it (SwipeToDismissBoxDefaults: 56dp)","model":false}],"events":[{"name":"update:modelValue","args":"SwipeToDismissValue","description":"Emitted when it settles in a new state — powers v-model"},{"name":"dismiss","args":"\"start-to-end\" | \"end-to-start\"","description":"Emitted with the direction when the content is swiped away"}],"slots":[{"name":"background","bindings":"{ direction: SwipeToDismissValue; target: SwipeToDismissValue; progress: number; }","description":"What the swipe uncovers. Receives `{ direction, target, progress }`: the side being swiped (`'start-to-end'`, `'end-to-start'` or `'settled'`), the state it would settle in if released now, and how far it has moved (0 to 1)"},{"name":"default","bindings":null,"description":"The content that moves"}],"exposed":[{"name":"reset","type":"() => void","description":"Animates back to `'settled'`"},{"name":"dismiss","type":"(dir: \"start-to-end\" | \"end-to-start\") => void","description":"Animates away in the given direction"}],"types":[{"name":"SwipeToDismissValue","source":"export type SwipeToDismissValue = 'settled' | 'start-to-end' | 'end-to-start'"}]},{"name":"MSwitch","import":"@m3ui-vue/m3ui-vue","description":"A toggle switch with an optional label, 4 semantic colors, and both M3 icon variants.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Toggle state (v-model)","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the switch","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Track/thumb color when on","model":false},{"name":"icon","type":"boolean","required":false,"default":"true","description":"Shows a check icon in the thumb while on. Set to `false` for M3's plain switch without an icon.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new on/off state."}],"slots":[],"exposed":[],"types":[]},{"name":"MTable","import":"@m3ui-vue/m3ui-vue","description":"A simple, general-purpose data table — sortable columns, built-in search, pagination, and optional row selection, with an escape hatch to delegate all three to your backend via serverSide.","props":[{"name":"columns","type":"TableColumn[]","required":true,"default":null,"description":"Column definitions: { key, label, sortable?, width?, align? }","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit `fetch` instead of filtering locally. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge, pluralized with 's' (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"TableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"}],"exposed":[],"types":[{"name":"TableFetchParams","source":"export interface TableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"},{"name":"TableColumn","source":"export interface TableColumn {\n key: string\n label: string\n sortable?: boolean\n width?: string\n align?: 'left' | 'center' | 'right'\n}"}]},{"name":"MTabs","import":"@m3ui-vue/m3ui-vue","description":"Switches between different views or content sections. The indicator animates via two independent springs (offset and width), not a CSS transition — see the component source for details.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active tab value (v-model)","model":true},{"name":"tabs","type":"Tab[]","required":true,"default":null,"description":"Tab definitions","model":false},{"name":"variant","type":"\"primary\" | \"secondary\"","required":false,"default":"\"primary\"","description":"Primary: short sliding underline shorter than the tab with a stretch animation. Secondary: full-width underline spanning the entire tab, text-only.","model":false},{"name":"scrollable","type":"boolean","required":false,"default":"false","description":"Fixed (default, M3 `TabRow`): tabs evenly share the available width, no scrolling — use for 2-5 tabs. Scrollable (M3 `ScrollableTabRow`): tabs keep their natural width and the row scrolls horizontally when they overflow — use for many tabs.","model":false},{"name":"iconPosition","type":"\"top\" | \"leading\"","required":false,"default":null,"description":"Where a tab's icon goes: `top`, stacked above the label in a 64px tab (Compose's `Tab`), or `leading`, beside the label in a 48px tab (Compose's `LeadingIconTab`). Defaults to `top` for primary tabs and `leading` for secondary ones.","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted with the value of the tab you picked."}],"slots":[],"exposed":[],"types":[{"name":"Tab","source":"interface Tab {\n value: string | number\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MTagInput","import":"@m3ui-vue/m3ui-vue","description":"Type and press Enter or comma to add a free-form tag. Backspace on an empty input removes the last tag.","props":[{"name":"modelValue","type":"string[]","required":true,"default":"[]","description":"Array of tags (v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"maxTags","type":"number","required":false,"default":null,"description":"Max number of tags allowed","model":false},{"name":"duplicates","type":"boolean","required":false,"default":"false","description":"Allow duplicate tags","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"string[]","description":"Emitted whenever a tag is added or removed — powers v-model"},{"name":"debounced","args":"string[]","description":"Emitted debounce ms after the tag list stops changing (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MTerminal","import":"@m3ui-vue/m3ui-vue/terminal","description":"A terminal emulator built on xterm.js — pre-filled static output, or fully interactive keyboard input.","props":[{"name":"lines","type":"string[]","required":false,"default":"[]","description":"Initial lines to display","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Disable input","model":false},{"name":"title","type":"string","required":false,"default":"\"Terminal\"","description":"Title bar text","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"300px\"","description":"Minimum height","model":false}],"events":[{"name":"line","args":"string","description":"Emitted with the buffered text once the user presses Enter — the usual event to handle a submitted command"},{"name":"input","args":"string","description":"Emitted for every raw keystroke/data chunk xterm receives (not readonly)"}],"slots":[],"exposed":[{"name":"write","type":"(text: string) => any","description":""},{"name":"writeln","type":"(text: string) => any","description":""},{"name":"clear","type":"() => any","description":""},{"name":"focus","type":"() => any","description":""}],"types":[]},{"name":"MText","import":"@m3ui-vue/m3ui-vue","description":"Renders any of the 15 Material 3 typography variants, with an auto-selected semantic HTML tag.","props":[{"name":"variant","type":"TextVariant","required":false,"default":"\"body-medium\"","description":"Typography variant from the Material 3 type scale","model":false},{"name":"tag","type":"string","required":false,"default":null,"description":"HTML tag to render (auto-selected based on variant — h1/h2/h3 for display/headline, p for title/body, span for label)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":"\"left\"","description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false},{"name":"lines","type":"1 | 2 | 3 | 4 | 5 | 6","required":false,"default":null,"description":"Clamp text to a specific number of lines","model":false},{"name":"weight","type":"\"medium\" | \"bold\" | \"regular\"","required":false,"default":null,"description":"Font weight override","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The text."}],"exposed":[],"types":[{"name":"TextVariant","source":"export type TextVariant =\n | 'display-large' | 'display-medium' | 'display-small'\n | 'headline-large' | 'headline-medium' | 'headline-small'\n | 'title-large' | 'title-medium' | 'title-small'\n | 'body-large' | 'body-medium' | 'body-small'\n | 'label-large' | 'label-medium' | 'label-small'"}]},{"name":"MTextField","import":"@m3ui-vue/m3ui-vue","description":"The standard single- or multi-line text input, filled or outlined, with floating label.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Bound value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"type","type":"string","required":false,"default":"\"text\"","description":"HTML input type","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Puts the field in error state (red border and label)","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown below the field (only visible when error is true)","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text shown below the field","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"multiline","type":"boolean","required":false,"default":null,"description":"Renders a textarea instead of an input","model":false},{"name":"rows","type":"number","required":false,"default":"3","description":"Textarea rows (when multiline); with autoGrow, the fewest it shrinks to","model":false},{"name":"autoGrow","type":"boolean","required":false,"default":null,"description":"Multiline only: grows with the text from `rows` up to `maxRows`, instead of a fixed height with a drag handle","model":false},{"name":"maxRows","type":"number","required":false,"default":null,"description":"With autoGrow, the most rows it grows to before scrolling. Unset grows without limit","model":false},{"name":"autocomplete","type":"string","required":false,"default":null,"description":"Passed through to the native autocomplete attribute","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the input","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button when the field has a value","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event. v-model always updates immediately","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[{"name":"trailing","bindings":null,"description":"Custom trailing content (e.g. an icon button) — replaces the built-in clear button when present"}],"exposed":[],"types":[]},{"name":"MTimeline","import":"@m3ui-vue/m3ui-vue","description":"An event timeline with icon dots, dates, and colors — a single column, alternating left/right, or horizontal. With `current` (or items' `status`) it tracks progress: done steps filled with a solid line, the current one pulsing, the rest outlined with a dashed line. Every part can be replaced through slots, which receive `{ item, index }`; your item type flows into them.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Array of timeline entries — required","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact spacing between items","model":false},{"name":"alternating","type":"boolean","required":false,"default":"false","description":"Alternate items left/right of a central line instead of a single left-aligned column (vertical only)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"Vertical (default) or horizontal: entries side by side along a line, scrolling sideways when they don't fit","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Leaves each entry's content to the `#item` slot: no title, description or date","model":false},{"name":"current","type":"number","required":false,"default":null,"description":"Makes it a progress timeline (an order's tracking, a setup's steps): the index of the current step. The ones before are done, the ones after pending; an item's own `status` wins. `items.length` marks them all done","model":false},{"name":"responsive","type":"boolean","required":false,"default":"true","description":"Lets the alternating layout fold into a single column (the line on the left, `#opposite` under the content) while the timeline is narrower than 32rem: its own width, so it works in a side column too","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Entries added after it mounts fade and slide in, and the rest move to their new places, on M3 springs (none with reduced motion). Give items a `key`, or an insertion looks like a change to every entry after it","model":false},{"name":"limit","type":"number","required":false,"default":null,"description":"Shows only the first entries (a count; groups' headers don't count), with a button for the rest","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Whether the entries past `limit` show (v-model:expanded); the timeline keeps its own state otherwise","model":true}],"events":[{"name":"update:expanded","args":"expanded: boolean","description":""}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Extra content under an entry's description (a card, chips, a button). With `bare`, the entry's whole content. `item-{index}` slots still work for a single entry and win over this one"},{"name":"title","bindings":"{ item: T; index: number; }","description":"Replaces an entry's title row (title and date)"},{"name":"dot","bindings":"{ item: T; index: number; }","description":"Replaces an entry's dot (an avatar, an image, a custom shape); the line still runs from it"},{"name":"opposite","bindings":"{ item: T; index: number; }","description":"Content across the line: on the empty side in the alternating layout, or in a column before the line in the single-column one (dates, times, amounts)"},{"name":"group","bindings":"{ group: string; items: T[]; }","description":"Replaces a group's header (scope: `{ group, items }`, the run of entries under it)"}],"exposed":[],"types":[{"name":"TimelineItem","source":"export interface TimelineItem {\n /** Stable key for the entry (defaults to its index): set it when entries are added or removed */\n key?: string | number;\n title: string;\n description?: string;\n date?: string;\n icon?: string;\n color?: \"primary\" | \"secondary\" | \"tertiary\" | \"error\" | \"success\";\n /** Any CSS color for the dot (and its line), over `color` */\n dotColor?: string;\n /**\n * Progress of a step: `done` (filled, a solid line to the next), `current` (filled, with a pulsing halo) or\n * `pending` (outlined, a dashed line). Over what the timeline's `current` gives it\n */\n status?: \"done\" | \"current\" | \"pending\";\n /**\n * A group to show it under (\"Today\", \"Yesterday\"): a header goes before each run of consecutive entries with the\n * same group, and the line stops at the end of the run\n */\n group?: string;\n}"},{"name":"TimelineStatus","source":"export type TimelineStatus = NonNullable<TimelineItem[\"status\"]>;"}]},{"name":"MTimePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored hour/minute picker with 12h/24h format support.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected time (HH:MM, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no time is selected — falls back to label, then the current locale's string","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"use24h","type":"boolean","required":false,"default":"true","description":"Use 24-hour format","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked time."}],"slots":[],"exposed":[],"types":[]},{"name":"MTimePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered time picker with a clock dial (or, with `mode=\"scroll\"`, M3 Expressive's scroll wheels from MTimeScroll) and a keyboard input mode. Supports AM/PM toggle and 24h format — the sibling of MTimePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"Use 24-hour format (shows inner ring 13-23)","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false},{"name":"mode","type":"\"dial\" | \"scroll\"","required":false,"default":"\"dial\"","description":"How the time is picked before switching to keyboard input: a clock `dial`, or `scroll` wheels (MTimeScroll)","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a time is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MTimeScroll","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's time scroll picker (a port of Compose's `TimeScroll`): an hour wheel and a minute wheel side by side, plus an AM/PM toggle in 12-hour mode. It updates as the wheels turn; put it in a dialog or a form for the confirm step.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM, 24-hour (v-model); null shows 12:00 AM (00:00 in 24-hour mode)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"24-hour wheel (00–23) instead of 1–12 with AM/PM","model":false},{"name":"minuteStep","type":"number","required":false,"default":"1","description":"Minute increment step; the minute wheel shows only multiples of it","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the wheels and the AM/PM toggle","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the time as HH:MM (24-hour) whenever a wheel or AM/PM changes"}],"slots":[],"exposed":[],"types":[]},{"name":"MTitle","import":"@m3ui-vue/m3ui-vue","description":"Semantic heading component in three sizes — a thin wrapper around `MText` at medium weight.","props":[{"name":"size","type":"\"medium\" | \"small\" | \"large\"","required":false,"default":"\"large\"","description":"Title size (maps to headline-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The title text."}],"exposed":[],"types":[]},{"name":"MToggleButton","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's standalone toggle button — morphs its own shape between a pill and a squared corner on check, and squishes further while pressed, all on a real spring. Distinct from MSegmentedButton/MButtonGroup, which are groups of options — this is a single button.","props":[{"name":"checked","type":"boolean","required":true,"default":null,"description":"Whether the toggle button is checked/selected — v-model.","model":true},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"filled\"","description":"Visual style, matching MButton's naming","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown before the label","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Same 5-tier expressive sizing as MButton","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted when clicked — powers v-model:checked"}],"slots":[{"name":"default","bindings":null,"description":"The button's label, after the icon."}],"exposed":[],"types":[]},{"name":"MToolbar","import":"@m3ui-vue/m3ui-vue","description":"A container for grouping icon buttons and actions — docked to an edge or floating as a rounded pill, horizontal or vertical, with an optional paired FAB. A floating toolbar collapses (`v-model:expanded`): with a FAB, into the FAB, which grows to 80px; without one, to its center (the default slot), closing `#leading` and `#trailing`. `collapseOnScroll` does it as the content scrolls.","props":[{"name":"variant","type":"\"docked\" | \"floating\"","required":false,"default":"\"docked\"","description":"Docked (edge-attached, full width/height, bordered) or floating (rounded pill with shadow)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color scheme","model":false},{"name":"fabPosition","type":"\"start\" | \"none\" | \"end\"","required":false,"default":"\"none\"","description":"Where the #fab slot renders relative to the toolbar body","model":false},{"name":"align","type":"\"center\" | \"start\" | \"between\" | \"end\"","required":false,"default":"\"center\"","description":"Item alignment along the main axis","model":false},{"name":"collapseOnScroll","type":"string | boolean | HTMLElement | null","required":false,"default":"false","description":"Collapse a floating toolbar as the content scrolls down and expand it as it scrolls back up (40px each way): `true` follows the window, or pass the scrolling element (or a CSS selector for it). Off by default","model":false},{"name":"expanded","type":"boolean","required":false,"default":"true","description":"A floating toolbar's state: collapsed, it shows only the FAB, or only its center without one. Default `true`","model":true}],"events":[{"name":"update:expanded","args":"value: boolean","description":"The toolbar collapsed or expanded on scroll (`collapseOnScroll`)"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB rendered alongside the toolbar body, positioned by fabPosition. The toolbar sizes an MFab in it"},{"name":"leading","bindings":null,"description":"Items before the center, hidden when a floating toolbar without a FAB collapses"},{"name":"default","bindings":null,"description":"Toolbar items — typically MIconButton/MButton, separated with MDivider. With #leading or #trailing, the center, which stays when a floating toolbar without a FAB collapses"},{"name":"trailing","bindings":null,"description":"Items after the center, hidden when a floating toolbar without a FAB collapses"}],"exposed":[],"types":[]},{"name":"MTooltip","import":"@m3ui-vue/m3ui-vue","description":"A hover/focus-triggered label — plain text, or a rich variant with a title, detailed content, and action buttons.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Tooltip text (plain variant), or the rich variant's title line","model":false},{"name":"placement","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"top\"","description":"Tooltip position relative to the trigger","model":false},{"name":"delay","type":"number","required":false,"default":"600","description":"Show delay in ms after hover/focus","model":false},{"name":"rich","type":"boolean","required":false,"default":"false","description":"Rich tooltip with a #content slot and optional #actions. Stays open when hovering the tooltip itself instead of closing immediately.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The trigger element the tooltip is anchored to"},{"name":"content","bindings":null,"description":"Rich-tooltip body content (only used when rich is true)"},{"name":"actions","bindings":null,"description":"Rich-tooltip action buttons row (only used when rich is true)"}],"exposed":[],"types":[]},{"name":"MTopAppBar","import":"@m3ui-vue/m3ui-vue","description":"A top app bar in four M3 layouts — center-aligned, small, medium, and large — with a leading navigation icon and trailing actions. Medium and large can be M3 Expressive's flexible bars (bigger titles, a subtitle), and any of them can react to scrolling: change color, hide, or collapse to the small bar.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"App bar title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"A line below the title (Compose's `subtitle`): small, center-aligned and flexible medium/large bars","model":false},{"name":"variant","type":"\"center\" | \"medium\" | \"small\" | \"large\"","required":false,"default":"\"small\"","description":"64dp small/center-aligned row, or a 112dp medium / 152dp large two-row layout with the title below","model":false},{"name":"flexible","type":"boolean","required":false,"default":"false","description":"Medium/large only: M3 Expressive's MediumFlexibleTopAppBar / LargeFlexibleTopAppBar, with a headline-medium / display-small title and room for a subtitle (112/136dp and 120/152dp tall)","model":false},{"name":"titleAlignment","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Medium/large only: where the title row sits (Compose's `titleHorizontalAlignment`)","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button — defaults to the locale's generic \"Menu\" label; override when navigationIcon is actually a back arrow rather than a drawer toggle.","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Swaps both container color (surface → surface-container) and elevation (level 0 → level 2), matching the real M3 on-scroll container tokens rather than just adding a shadow","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"enter-always\" | \"exit-until-collapsed\"","required":false,"default":null,"description":"How the bar reacts to `scrollTarget` scrolling (Compose's TopAppBarDefaults scroll behaviors). `pinned` stays put and takes the scrolled container color once the content moves under it; `enter-always` hides (a medium/large bar collapses to the small one) while the content scrolls down and comes back as soon as it scrolls up; `exit-until-collapsed` collapses a medium/large bar as the content scrolls and expands it only back at the top. The last two make the bar sticky over the content: put it at the top of the scrolling element (or of the page)","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked (not emitted when the #navigation slot is overridden — that content is fully custom)"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"title","bindings":null,"description":"Custom title content (default: renders the title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (default: renders the subtitle prop)"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MTour","import":"@m3ui-vue/m3ui-vue","description":"A guided, step-by-step walkthrough that highlights a page element per step with an auto-positioned tooltip and a dimming scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Show/hide the tour (v-model)","model":true},{"name":"steps","type":"TourStep[]","required":true,"default":null,"description":"Ordered list of steps; see `TourStep`","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Label for the Previous button (defaults to the locale string, 'Previous')","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Label for the Next button (defaults to the locale string, 'Next')","model":false},{"name":"finishLabel","type":"string","required":false,"default":null,"description":"Label for the final step's button (defaults to the locale string, 'Finish')","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the tour opens or closes (Escape-less — closed via the X button, clicking the scrim, or finishing) — powers v-model"},{"name":"finish","args":"","description":"Emitted when the user completes the last step (clicks the finish button)"}],"slots":[],"exposed":[],"types":[{"name":"TourStep","source":"export interface TourStep {\n target: string\n title: string\n content: string\n placement?: 'top' | 'bottom' | 'left' | 'right'\n}"}]},{"name":"MTransferList","import":"@m3ui-vue/m3ui-vue","description":"Move items between two panes, with select-all, optional search and v-model on the values in the target pane. Check rows and use the arrows, or double-click a row (or press Enter on its checkbox) to send it straight across. When the component is narrow, the panes stack and the arrows point up and down.","props":[{"name":"modelValue","type":"Value[]","required":true,"default":null,"description":"Values in the target (right or bottom) pane (v-model)","model":true},{"name":"items","type":"T[]","required":true,"default":null,"description":"Full list of items; see `TransferItem` (or your own type extending it)","model":false},{"name":"sourceTitle","type":"string","required":false,"default":null,"description":"Source pane title (defaults to the locale string)","model":false},{"name":"targetTitle","type":"string","required":false,"default":null,"description":"Target pane title (defaults to the locale string)","model":false},{"name":"filterable","type":"boolean","required":false,"default":"false","description":"Show a search field in each pane. It matches the label and the description","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Search field placeholder (defaults to the locale string)","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when a pane is empty (defaults to the locale string)","model":false},{"name":"moveAllRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-right button (defaults to the locale string)","model":false},{"name":"moveRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-right button (defaults to the locale string)","model":false},{"name":"moveLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-left button (defaults to the locale string)","model":false},{"name":"moveAllLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-left button (defaults to the locale string)","model":false},{"name":"listHeight","type":"string","required":false,"default":"\"280px\"","description":"Height of each list's scroll area (any CSS length).","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Fully custom rows: the `#item` slot draws the whole row (no checkbox, padding, min height or background). The row stays clickable, focusable (Space checks it, Enter moves it) and animated; use the slot's `checked` to style the checked state.","model":false}],"events":[{"name":"update:modelValue","args":"Value[]","description":"Emitted whenever items move between panes (v-model)"}],"slots":[{"name":"item","bindings":"{ item: T; checked: boolean; side: \"source\" | \"target\"; toggle: () => void; move: () => void; }","description":"Custom row content. Without `bare` it replaces the icon and text, keeping the checkbox, highlight and hover. Buttons, links, fields and `[data-transfer-action]` elements inside keep their own clicks instead of checking the row."},{"name":"source-empty","bindings":null,"description":"Custom content when the source pane is empty"},{"name":"target-empty","bindings":null,"description":"Custom content when the target pane is empty"}],"exposed":[],"types":[{"name":"TransferItem","source":"export interface TransferItem {\n value: string | number\n label: string\n icon?: string\n /** Optional second line under the label (an email, a role, a short description). */\n description?: string\n}"},{"name":"Value","source":"type Value = string | number"}]},{"name":"MTransition","import":"@m3ui-vue/m3ui-vue","description":"M3's navigation transitions between two views (a port of Compose's `MaterialTransitions`): `shared-axis` slides the new view in from the side as the old one slides out (use `reverse` when going back), and `fade-through` fades the old view out and the new one in with a slight scale, for destinations without a spatial relationship such as navigation bar tabs. Wrap content that changes its `key` (or a `v-if`/`v-else` pair, or a `<RouterView>` slot's component); both views overlap while they animate.","props":[{"name":"type","type":"\"shared-axis\" | \"fade-through\"","required":false,"default":"\"shared-axis\"","description":"`shared-axis` (horizontal, for forward/back navigation) or `fade-through` (unrelated destinations)","model":false},{"name":"reverse","type":"boolean","required":false,"default":"false","description":"Shared axis: play the backward transition (the new view comes from the start side)","model":false},{"name":"appear","type":"boolean","required":false,"default":"false","description":"Animate the first view too","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The current view; give it a `key` that changes with it"}],"exposed":[],"types":[]},{"name":"MTree","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical tree view with expand/collapse, single-node selection, and optional cascading checkbox selection.","props":[{"name":"nodes","type":"TreeNode[]","required":true,"default":null,"description":"Root nodes to render — required","model":false},{"name":"selected","type":"string | number | null","required":false,"default":"null","description":"Currently selected node id (single-select).","model":true},{"name":"checked","type":"(string | number)[]","required":false,"default":"[]","description":"Checked node ids (checkable multi-select).","model":true},{"name":"checkable","type":"boolean","required":false,"default":"false","description":"Show checkboxes with cascade selection.","model":false},{"name":"defaultExpanded","type":"\"none\" | (string | number)[] | \"all\"","required":false,"default":"\"none\"","description":"Which nodes start expanded. 'all' | 'none' | array of ids (default: 'none').","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when nodes is empty. Falls back to the app's configured locale's noItems string","model":false}],"events":[{"name":"update:selected","args":"string | number | null","description":"Fires when a node is clicked, toggling selection (clicking the already-selected node clears it)"},{"name":"update:checked","args":"(string | number)[]","description":"Fires when a checkbox toggles a node (checkable mode)"},{"name":"node-click","args":"TreeNode","description":"Fires whenever a node row is clicked, alongside update:selected"}],"slots":[],"exposed":[{"name":"expandAll","type":"() => void","description":""},{"name":"collapseAll","type":"() => void","description":""}],"types":[{"name":"TreeNode","source":"// ── Public types ────────────────────────────────────────────────────────────\n\nexport interface TreeNode {\n id: string | number\n label: string\n icon?: string\n children?: TreeNode[]\n disabled?: boolean\n [key: string]: unknown\n}"}]},{"name":"MTreeTable","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical table for nested data like file systems or org charts — rows can carry a `children` array, and the first column renders the indent and expand/collapse toggle automatically.","props":[{"name":"columns","type":"TreeTableColumn[]","required":true,"default":null,"description":"Column definitions; see `TreeTableColumn`","model":false},{"name":"rows","type":"TreeTableRow[]","required":true,"default":null,"description":"Hierarchical rows with an optional children array; see `TreeTableRow`","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"defaultExpanded","type":"boolean","required":false,"default":"false","description":"Expand all nodes with children by default","model":false},{"name":"indent","type":"number","required":false,"default":"24","description":"Indentation per depth level, in px","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when rows is empty. Falls back to the app's configured locale's noResults string","model":false}],"events":[{"name":"rowClick","args":"TreeTableRow","description":"Emitted with the row when you click it."}],"slots":[{"name":"toolbar","bindings":"{ expandAll: () => void; collapseAll: () => void; }","description":"Toolbar content above the table, only rendered when this slot is used — gets expandAll()/collapseAll() helpers"}],"exposed":[],"types":[{"name":"TreeTableColumn","source":"export interface TreeTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n}"},{"name":"TreeTableRow","source":"export interface TreeTableRow {\n [key: string]: any\n children?: TreeTableRow[]\n}"}]},{"name":"MVirtualTable","import":"@m3ui-vue/m3ui-vue","description":"Renders only the rows currently in (or near) the viewport, so a table with thousands of rows stays smooth — no pagination needed. Trade-off: no built-in search/filtering, sort is a client-side full-array sort.","props":[{"name":"columns","type":"VTableColumn[]","required":true,"default":null,"description":"Column definitions; see `VTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"All rows — the full array is held in memory, only visible rows are rendered to the DOM","model":false},{"name":"rowHeight","type":"number","required":false,"default":"44","description":"Fixed row height in px, used for the virtualization math","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"overscan","type":"number","required":false,"default":"5","description":"Extra rows rendered above/below the visible viewport, to reduce blank flashes on fast scroll","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"500px\"","description":"Scrollable container height (any valid CSS height)","model":false}],"events":[{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row."}],"slots":[],"exposed":[],"types":[{"name":"VTableColumn","source":"export interface VTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n sortable?: boolean\n}"}]},{"name":"MWindow","import":"@m3ui-vue/m3ui-vue","description":"A floating, draggable, resizable window — the building block for a desktop-style multi-window UI inside your app. Drag from the title bar, resize from any edge or corner, minimize to just the title bar, maximize (or double-click the title bar) to fill its container, and click any window to bring it to front. The window in front shows a stronger title bar and elevation, the others step back. Material 3 has no window component, so this one is built from M3 pieces: surface tones, elevation levels, 32dp icon buttons with state layers, and standard motion.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Visible state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Window title in the title bar","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon in the title bar","model":false},{"name":"width","type":"string","required":false,"default":"\"400px\"","description":"Initial width","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Initial height","model":false},{"name":"minWidth","type":"number","required":false,"default":"200","description":"Minimum width in px","model":false},{"name":"minHeight","type":"number","required":false,"default":"150","description":"Minimum height in px","model":false},{"name":"maxWidth","type":"number","required":false,"default":null,"description":"Maximum width in px","model":false},{"name":"maxHeight","type":"number","required":false,"default":null,"description":"Maximum height in px","model":false},{"name":"resizable","type":"boolean","required":false,"default":"true","description":"Allow resizing from edges and corners","model":false},{"name":"draggable","type":"boolean","required":false,"default":"true","description":"Allow dragging from the title bar","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show close button","model":false},{"name":"minimizable","type":"boolean","required":false,"default":"true","description":"Show minimize button (collapses to title bar)","model":false},{"name":"maximizable","type":"boolean","required":false,"default":"true","description":"Maximize button, and double-click on the title bar, to fill the parent and back.","model":false},{"name":"snap","type":"boolean","required":false,"default":"false","description":"Edge snapping while dragging, like GNOME: hold the pointer at the parent's top edge to maximize, or at its left/right edge to fill that half. A preview shows where it will land.","model":false},{"name":"offscreen","type":"boolean","required":false,"default":"false","description":"Lets the window be dragged partly out of its container, like a desktop: up to 3/4 of its width past either side, and down until only the title bar shows; never above the top. The container should clip it (`overflow: hidden`).","model":false},{"name":"x","type":"number","required":false,"default":"50","description":"Initial X position","model":false},{"name":"y","type":"number","required":false,"default":"50","description":"Initial Y position","model":false},{"name":"resetPosition","type":"boolean","required":false,"default":"false","description":"Reset position, size, and state when the window is closed","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"update:modelValue","args":"value: boolean","description":"Emitted when the window closes — powers v-model"},{"name":"minimize","args":"","description":"Emitted when the minimize button is toggled (either direction)"},{"name":"maximize","args":"maximized: boolean","description":"Emitted when the window is maximized (true) or restored (false)"},{"name":"focus","args":"","description":"Emitted when the window comes to the front."}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default icon + title, keeps drag behavior"},{"name":"actions","bindings":null,"description":"Extra buttons in the title bar, before minimize/maximize/close. MIconButton size=\"xs\" matches the built-in ones"},{"name":"default","bindings":null,"description":"The window's content, under the title bar. Unmounted while the window is hidden."}],"exposed":[{"name":"focus","type":"() => void","description":"Brings the window to the front, e.g. from a taskbar."},{"name":"toggleMaximize","type":"() => void","description":""},{"name":"toggleMinimize","type":"() => void","description":""}],"types":[]}],"values":[{"name":"useMap","import":"@m3ui-vue/m3ui-vue/map","signature":"useMap(source?: MaybeRefOrGetter<MapSource>): {\n map: ComputedRef<Map$1 | undefined>\n maplibre: ComputedRef<typeof import(\"/home/runner/work/m3ui-vue/m3ui-vue/node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl\") | undefined>\n styleVersion: ComputedRef<number>\n activeTool: Ref<string | null>\n onReady: (fn: (map: Maplibre.Map, maplibre: MaplibreModule) => void) => void\n on: (type: T, listener: (e: Maplibre.MapEventType[T] & object) => void) => void\n onLayer: (type: T, layerId: string, listener: (e: Maplibre.MapLayerEventType[T] & object) => void) => void\n}","description":"The map of the enclosing `MMap`, for your own controls, layers and handlers (call it in a component inside `MMap`). Listeners added through it are removed when the component unmounts. Outside an `MMap` (a side panel), pass it one: the `MMap`'s template ref, or a getter for it; until it mounts, `map` is undefined and `onReady` waits. ```ts const { map, onLayer } = useMap() onLayer('click', 'parcels-fill', (e) => console.log(e.features?.[0]?.properties)) // In a panel next to the map: <MMap ref=\"mapRef\"> … <MyPanel :map=\"mapRef\" /> const { map } = useMap(() => props.map) ```"},{"name":"useMapLayers","import":"@m3ui-vue/m3ui-vue/map","signature":"useMapLayers(source?: MaybeRefOrGetter<MapSource>): {\n model: ComputedRef<MapLayerModel | undefined>\n layers: ComputedRef<MapLayerInfo[]>\n isVisible: (id: string) => boolean\n setVisible: (id: string, visible: boolean) => void\n toggle: (id: string) => void\n opacityOf: (id: string) => number\n setOpacity: (id: string, opacity: number) => void\n layersOf: (group: string | null) => MapLayerInfo[]\n groupState: (group: string) => \"visible\" | \"hidden\" | \"partial\"\n setGroupVisible: (group: string, visible: boolean) => void\n baseLayers: ComputedRef<MapLayerInfo[]>\n baseLayer: ComputedRef<string | null>\n setBaseLayer: (id: string | null) => void\n}","description":"The layers of the enclosing `MMap`'s style as its `adapter` describes them, with their visibility and opacity, for a layer panel or a base layer switcher of your own (`MMapLayers` and `MMapBaseLayers` are built on it). Changes go to the map and to every component using it; a layer's `children` follow it. Outside an `MMap`, pass it one (its template ref), as with `useMap`."},{"name":"genericAdapter","import":"@m3ui-vue/m3ui-vue/map","signature":"genericAdapter(style: Maplibre.StyleSpecification, context: MapAdapterContext): MapLayerModel","description":"Any style: every layer but the background is listed under its id (or `metadata.title`), vector layers identify all their properties, and nothing is a base layer or shows on hover."},{"name":"orvianAdapter","import":"@m3ui-vue/m3ui-vue/map","signature":"orvianAdapter(options: OrvianAdapterOptions = {}): MapAdapter","description":"The Orvian viewers' conventions in the style's `metadata`. On each layer: `alias`, `description`, `group`, `show_in_layerlist` (false hides it from the list), `isbaselayer` with `image` (raster base layers), `childs` (layer ids toggled with it), `identify` (true lists its properties on click), `fields` (per property: `alias`, `prefix`, `suffix`, `mask`, `show: false`; plus `exclude`, a list of properties to leave out), `hover` (`enable` and `fields`, a list of `{ <property>: { alias, prefix, suffix, mask } }`), `legend` (`show`, `wmslegend`) and `download`. On the style: `groups` (`{ name, alias }`, in order)."},{"name":"identifyFeatures","import":"@m3ui-vue/m3ui-vue/map","signature":"identifyFeatures(map: Maplibre.Map, point: Maplibre.PointLike, model: MapLayerModel | undefined): MapIdentifyResult[]","description":"The features of the model's identify layers at a point (topmost first), with their properties formatted: what `MMapIdentify` lists on click, for a UI of your own."},{"name":"formatFieldValue","import":"@m3ui-vue/m3ui-vue/map","signature":"formatFieldValue(raw: unknown, format?: MapFieldFormat): string","description":"A property's value as text: numbers through `mask` (in the page's language, `<html lang>`), then `prefix` and `suffix`. Empty values give ''."},{"name":"fieldLabel","import":"@m3ui-vue/m3ui-vue/map","signature":"fieldLabel(key: string, format?: MapFieldFormat): string","description":"A property's label: its format's, or the key with a capital first letter."},{"name":"useMapFilter","import":"@m3ui-vue/m3ui-vue/map","signature":"useMapFilter(source?: MaybeRefOrGetter<MapSource>): {\n setFilter: (layerId: string, filter: Maplibre.FilterSpecification | null) => void\n valuesOf: (layerId: string, property: string) => (string | number)[]\n}","description":"Filters for the layers of the enclosing `MMap`, on top of the filters their style already has (a layer that only draws parks keeps doing so): `setFilter(layer, expression)` combines both, `setFilter(layer, null)` brings the style's back. `MMapFilter` is built on it; use it for filters of your own (a range slider, a date, a search…). Outside an `MMap`, pass it one (its template ref), as with `useMap`."},{"name":"nominatimProvider","import":"@m3ui-vue/m3ui-vue/map","signature":"nominatimProvider(options: NominatimOptions = {}): MapSearchProvider","description":"OpenStreetMap's Nominatim geocoder. Its public server allows one search per second and no search-as-you-type: `MMapSearch` searches on Enter."},{"name":"shapeNames","import":"@m3ui-vue/m3ui-vue","signature":"shapeNames: (\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\")[]","description":""},{"name":"createM3UI","import":"@m3ui-vue/m3ui-vue","signature":"createM3UI(options: M3UIOptions = {}): {\n install: (app: App<any>) => void\n}","description":""},{"name":"useTheme","import":"@m3ui-vue/m3ui-vue","signature":"useTheme(): {\n theme: Ref<Theme>\n cycle: () => void\n}","description":""},{"name":"useColorPalette","import":"@m3ui-vue/m3ui-vue","signature":"useColorPalette(): {\n palette: Ref<string>\n palettes: Palette[]\n set: (id: PaletteId | (string & {})) => void\n seed: Readonly<Ref<{ readonly seed: string; readonly variant?: SchemeVariant; readonly contrast?: number; } | null>>\n setSeed: (seed: string, options?: SeedOptions) => Promise<void>\n contrast: Readonly<Ref<ContrastLevel>>\n activeContrast: Ref<\"standard\" | \"medium\" | \"high\">\n setContrast: (level: ContrastLevel) => void\n persistPalette: Ref<boolean>\n setPersistPalette: (enabled: boolean) => void\n}","description":""},{"name":"palettes","import":"@m3ui-vue/m3ui-vue","signature":"palettes: Palette[]","description":"Every palette: the built-in ones, plus `createM3UI({ customPalettes })`."},{"name":"useConfetti","import":"@m3ui-vue/m3ui-vue","signature":"useConfetti(): {\n fire: (origin?: ConfettiOrigin | ConfettiOptions, options?: ConfettiOptions) => StopConfetti\n}","description":"Confetti for a component: `fire(event)` from the pointer, `fire(el)` from an element, `fire({ from: 'top' })`, `fire({ from: 'top', duration: 5000 })` for a rain that lasts. Returns a function that stops it early."},{"name":"fireConfetti","import":"@m3ui-vue/m3ui-vue","signature":"fireConfetti(origin?: ConfettiOrigin, options: ConfettiOptions = {}): StopConfetti","description":"Fires confetti: one burst, or with `duration` a rain or fountain that keeps going (stop it early with the returned function). Browser only; does nothing under reduced motion."},{"name":"useFireworks","import":"@m3ui-vue/m3ui-vue","signature":"useFireworks(): {\n launch: (options: FireworksOptions = {}) => StopFireworks\n}","description":"Fireworks for a component: `launch()`, `launch({ shapes: ['classic'] })`, `launch({ shapes: ['Heart'] })`, `launch({ duration: 10000 })`."},{"name":"launchFireworks","import":"@m3ui-vue/m3ui-vue","signature":"launchFireworks(options: FireworksOptions = {}): StopFireworks","description":"Launches fireworks: a few rockets, or with `duration` a show that keeps going (stop it early with the returned function). Browser only; does nothing under reduced motion."},{"name":"useReactions","import":"@m3ui-vue/m3ui-vue","signature":"useReactions(): {\n react: (origin: ReactionOrigin | undefined, content: ReactionContent, options: ReactionOptions = {}) => void\n}","description":"Floating reactions for a component: `react(event, '🎉')` from the pointer, `react(el, { icon: 'favorite' })` from an element, `react(el, '👏', { count: 5 })` for a handful."},{"name":"fireReaction","import":"@m3ui-vue/m3ui-vue","signature":"fireReaction(origin: ReactionOrigin | undefined, content: ReactionContent, options: ReactionOptions = {}): void","description":"Sends a reaction floating up from a point. Browser only."},{"name":"useContainerTransform","import":"@m3ui-vue/m3ui-vue","signature":"useContainerTransform(): ContainerTransformController<T>","description":"Material's container transform for elements that live apart from their expanded view: one controller, many elements opening it (a grid of cards), and one `<MContainerTransform :controller>` wherever the expanded view belongs. `open(event, item)` from a click grows that element into the expanded view, with `item` for it to show. ```ts const detail = useContainerTransform<Recipe>() // <MCard v-for=\"r in recipes\""},{"name":"SEED_PALETTE","import":"@m3ui-vue/m3ui-vue","signature":"SEED_PALETTE: \"seed\"","description":"The palette id used while a seed color is active (`useColorPalette().setSeed()`)."},{"name":"themeInitScript","import":"@m3ui-vue/m3ui-vue","signature":"themeInitScript(options: ThemeInitOptions = {}): string","description":"A script to inline in `<head>` of a server-rendered page (Nuxt, Vite SSR), so dark mode, the palette and the contrast level are on `<html>` before the first paint instead of when the app's JS loads. It does what `useTheme` and `useColorPalette` do when they load in the browser (the stored choice, or the given `createM3UI` defaults; a choice only in a cookie, from `createM3UI({ cookies })`, counts too), so pass it the same options as the plugin. A `seed` default can't be generated this early: its first visit still shows the baseline until the app loads (later visits use the cached CSS). ```ts useHead({ script: [{ innerHTML: themeInitScript({ palette: 'red' }) }] }) ```"},{"name":"viewportFromHeaders","import":"@m3ui-vue/m3ui-vue","signature":"viewportFromHeaders(headers: RequestHeaders, options: { guess?: boolean; storagePrefix?: string } = {}): ViewportSize | undefined","description":"The window size to server-render the adaptive layouts at, from a request's headers: the size `createM3UI({ cookies: true })` keeps in the `m3-viewport` cookie (any visit after the first); the viewport client hints (Chromium, once the server asked for them with `VIEWPORT_HINTS`); or, on a first visit, a size standing for the kind of device (`Sec-CH-UA-Mobile`, then the user agent: a phone, a tablet or a desktop), unless `guess: false`. With `createM3UI({ storagePrefix })`, pass the same `storagePrefix` so the right cookie is read. Undefined when nothing tells: the layouts then render compact. ```ts createM3UI({ cookies: true, initialState: { viewport: viewportFromHeaders(request.headers) } }) ```"},{"name":"VIEWPORT_HINTS","import":"@m3ui-vue/m3ui-vue","signature":"VIEWPORT_HINTS: \"Sec-CH-Viewport-Width, Sec-CH-Viewport-Height\"","description":"The client hints that carry the window's size (Chromium), for a server's `Accept-CH` and `Critical-CH` response headers. With `Critical-CH`, Chromium repeats the very first request once to send them; later requests carry them after `Accept-CH` alone."},{"name":"generateScheme","import":"@m3ui-vue/m3ui-vue","signature":"generateScheme(seed: string, options: SeedOptions = {}): Promise<GeneratedScheme>","description":"Generates the light and dark schemes for a seed color (`#rrggbb`)."},{"name":"schemeToCss","import":"@m3ui-vue/m3ui-vue","signature":"schemeToCss(scheme: GeneratedScheme, id: string): string","description":"CSS for a scheme under `[data-palette='<id>']` (light) and `[data-palette='<id>'].dark`, like palettes.css."},{"name":"schemeRoles","import":"@m3ui-vue/m3ui-vue","signature":"schemeRoles: readonly [\"primary\", \"on-primary\", \"primary-container\", \"on-primary-container\", \"secondary\", \"on-secondary\", \"secondary-container\", \"on-secondary-container\", \"tertiary\", \"on-tertiary\", \"tertiary-container\", \"on-tertiary-container\", \"error\", \"on-error\", \"error-container\", \"on-error-container\", \"background\", \"on-background\", \"surface\", \"on-surface\", \"surface-variant\", \"on-surface-variant\", \"surface-dim\", \"surface-bright\", \"surface-container-lowest\", \"surface-container-low\", \"surface-container\", \"surface-container-high\", \"surface-container-highest\", \"outline\", \"outline-variant\", \"inverse-surface\", \"inverse-on-surface\", \"inverse-primary\", \"scrim\", \"shadow\", \"primary-fixed\", \"primary-fixed-dim\", \"on-primary-fixed\", \"on-primary-fixed-variant\", \"secondary-fixed\", \"secondary-fixed-dim\", \"on-secondary-fixed\", \"on-secondary-fixed-variant\", \"tertiary-fixed\", \"tertiary-fixed-dim\", \"on-tertiary-fixed\", \"on-tertiary-fixed-variant\"]","description":"The `--color-*` roles a generated scheme sets. `success*` is a library extension and stays as themed."},{"name":"seedFromImage","import":"@m3ui-vue/m3ui-vue","signature":"seedFromImage(source: string | HTMLImageElement | ImageBitmap | Blob): Promise<string>","description":"The seed color of an image, for `generateScheme`, `useColorPalette().setSeed()` or `MScheme`: what Android does with the wallpaper. Takes a URL (cross-origin images need CORS headers, or the canvas can't be read), an `<img>`, an `ImageBitmap` or a `Blob` (a file the user picked). Browser only."},{"name":"seedFromPixels","import":"@m3ui-vue/m3ui-vue","signature":"seedFromPixels(rgba: ArrayLike<number>): Promise<string>","description":"The seed color of an image's pixels (RGBA bytes, as `ImageData.data`): its colors quantized and scored the way Android picks a wallpaper's source color (QuantizerCelebi + Score). Fully transparent pixels are skipped."},{"name":"useToast","import":"@m3ui-vue/m3ui-vue","signature":"useToast(): {\n toasts: Ref<Toast[]>\n position: Ref<ToastPosition>\n show: (message: string, variant: ToastVariant = 'info', options: number | ToastOptions = {}) => number\n success: (msg: string, opts?: ToastOptions) => number\n error: (msg: string, opts?: ToastOptions) => number\n warning: (msg: string, opts?: ToastOptions) => number\n info: (msg: string, opts?: ToastOptions) => number\n loading: (msg: string, opts?: Omit<ToastOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Toast, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useFieldBg","import":"@m3ui-vue/m3ui-vue","signature":"useFieldBg(containerEl: Ref<HTMLElement | null>, fieldBgProp: () => string | undefined): {\n resolvedFieldBg: ComputedRef<string>\n}","description":"Auto-detects the background behind `containerEl` and exposes it as `--field-bg`. Prefers a CSS variable reference (e.g. var(--color-surface-container-low)) over a raw computed color so the outlined label cutout transitions in sync with the rest of the theme switch instead of lagging behind."},{"name":"useLocale","import":"@m3ui-vue/m3ui-vue","signature":"useLocale(): M3Locale","description":""},{"name":"defaultLocale","import":"@m3ui-vue/m3ui-vue","signature":"defaultLocale: M3Locale","description":""},{"name":"useDevice","import":"@m3ui-vue/m3ui-vue","signature":"useDevice(): {\n isMobile: Ref<boolean>\n}","description":""},{"name":"useAutoGrow","import":"@m3ui-vue/m3ui-vue","signature":"useAutoGrow(target: MaybeRefOrGetter<HTMLTextAreaElement | null | undefined>, options: AutoGrowOptions = {}): {\n resize: () => void\n}","description":"Makes a `<textarea>` grow with its text, between `minRows` and `maxRows` rows, scrolling past the last one: a chat composer, a comment box. Works on any textarea, styled however you like (rows are measured from its computed line height, padding and border). It also follows width changes, which rewrap the text. Returns `resize()` for anything else that changes the text."},{"name":"useThemeTokens","import":"@m3ui-vue/m3ui-vue","signature":"useThemeTokens(names: readonly T[], options: ThemeTokensOptions = {}): Ref<Record<T, string>, Record<T, string>>","description":"The current values of some color tokens (`['primary', 'surface']` → `--color-primary`…), kept up to date across light/dark, palette, contrast and generated (seed) palette changes: for what can't use CSS variables, like a Chart.js dataset, a canvas or a MapLibre layer's paint. Values settle after the theme switch's color transition; with `{ live: true }` they also follow it frame by frame (as `rgba()` midway). Empty strings on the server. ```ts const colors = useThemeTokens(['primary', 'tertiary', 'outline-variant'] as const) const data = computed(() => ({ datasets: [{ data: sales, borderColor: colors.value.primary }] })) ```"},{"name":"useScrollReveal","import":"@m3ui-vue/m3ui-vue","signature":"useScrollReveal(target: MaybeRefOrGetter<Target>, options: ScrollRevealOptions = {}): {\n stop: () => void\n}","description":"Reveals elements as they scroll into view: they fade (and slide or grow) in on M3's springs, cascading when several enter together. Pass an element, a template ref, an array of them, or a getter. Off with reduced motion: everything is simply there. For a single element in a template, `v-reveal` does the same."},{"name":"useWindowSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"useWindowSizeClass(target?: MaybeRefOrGetter<HTMLElement | null | undefined>): WindowSizeClassInfo","description":"The M3 width/height size classes, reactive. With no argument it tracks the browser window. Pass an element (ref or getter) to classify that element's own size instead, which is what the adaptive layout components do, so they adapt to the space they actually get (a column, a dialog, a resizable panel)."},{"name":"widthSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"widthSizeClass(width: number): WidthSizeClass","description":""},{"name":"heightSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"heightSizeClass(height: number): HeightSizeClass","description":""},{"name":"useNotification","import":"@m3ui-vue/m3ui-vue","signature":"useNotification(): {\n notifications: Ref<Notification[]>\n position: Ref<NotificationPosition>\n show: (message: string, variant: NotificationVariant = 'info', options: NotificationOptions = {}) => number\n success: (msg: string, opts?: NotificationOptions) => number\n error: (msg: string, opts?: NotificationOptions) => number\n warning: (msg: string, opts?: NotificationOptions) => number\n info: (msg: string, opts?: NotificationOptions) => number\n loading: (msg: string, opts?: Omit<NotificationOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Notification, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useDebounce","import":"@m3ui-vue/m3ui-vue","signature":"useDebounce(fn: (...args: any[]) => void, ms: number): {\n debounced: (...args: any[]) => void\n cancel: () => void\n}","description":""},{"name":"usePageProgress","import":"@m3ui-vue/m3ui-vue","signature":"usePageProgress(): {\n progress: Ref<number>\n isActive: Ref<boolean>\n start: () => void\n set: (pct: number) => void\n done: () => void\n}","description":"Shared page-loading progress state (e.g. for a top progress bar between route navigations). Module-level so any number of callers/components stay in sync — call `start()`/`done()` from a router guard, a fetch wrapper, or by hand."},{"name":"useSpring","import":"@m3ui-vue/m3ui-vue","signature":"useSpring(target: () => number[], apply: (values: readonly number[]) => void, spec: SpringSpec = FAST_SPATIAL): {\n snap: () => void\n}","description":""},{"name":"motionSprings","import":"@m3ui-vue/m3ui-vue","signature":"motionSprings: { readonly standard: { readonly fastSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 1400; }; readonly defaultSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 700; }; readonly slowSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 300; }; readonly fastEffects: { readonly dampingRatio: 1; readonly stiffness: 3800; }; readonly defaultEffects: { readonly dampingRatio: 1; readonly stiffness: 1600; }; readonly slowEffects: { readonly dampingRatio: 1; readonly stiffness: 800; }; }; readonly expressive: { readonly fastSpatial: { readonly dampingRatio: 0.6; readonly stiffness: 800; }; readonly defaultSpatial: { readonly dampingRatio: 0.8; readonly stiffness: 380; }; readonly slowSpatial: { readonly dampingRatio: 0.8; readonly stiffness: 200; }; readonly fastEffects: { readonly dampingRatio: 1; readonly stiffness: 3800; }; readonly defaultEffects: { readonly dampingRatio: 1; readonly stiffness: 1600; }; readonly slowEffects: { readonly dampingRatio: 1; readonly stiffness: 800; }; }; }","description":"Spring specs of the two motion schemes. Spatial springs move things (position, size, shape); effects springs change color and opacity and never overshoot. Standard is the default scheme; Expressive is bouncier, for Expressive components and moments that should feel lively."},{"name":"motionEasings","import":"@m3ui-vue/m3ui-vue","signature":"motionEasings: { readonly emphasized: readonly [0.2, 0, 0, 1]; readonly emphasizedDecelerate: readonly [0.05, 0.7, 0.1, 1]; readonly emphasizedAccelerate: readonly [0.3, 0, 0.8, 0.15]; readonly standard: readonly [0.2, 0, 0, 1]; readonly standardDecelerate: readonly [0, 0, 0, 1]; readonly standardAccelerate: readonly [0.3, 0, 1, 1]; readonly legacy: readonly [0.4, 0, 0.2, 1]; readonly legacyDecelerate: readonly [0, 0, 0.2, 1]; readonly legacyAccelerate: readonly [0.4, 0, 1, 1]; readonly linear: readonly [0, 0, 1, 1]; }","description":"Easing curves as cubic-bezier control points [x1, y1, x2, y2] (theme.css has them as `--ease-*`)"},{"name":"motionDurations","import":"@m3ui-vue/m3ui-vue","signature":"motionDurations: { readonly short1: 50; readonly short2: 100; readonly short3: 150; readonly short4: 200; readonly medium1: 250; readonly medium2: 300; readonly medium3: 350; readonly medium4: 400; readonly long1: 450; readonly long2: 500; readonly long3: 550; readonly long4: 600; readonly extraLong1: 700; readonly extraLong2: 800; readonly extraLong3: 900; readonly extraLong4: 1000; }","description":"Durations in ms (theme.css has them as `--duration-short-1` … `--duration-extra-long-4`)"},{"name":"cubicBezier","import":"@m3ui-vue/m3ui-vue","signature":"cubicBezier(x1: number, y1: number, x2: number, y2: number): (t: number) => number","description":"A cubic-bezier easing as a function of progress (0–1), e.g. `cubicBezier(...motionEasings.emphasized)`, for JS-driven tweens and for mapping a fraction through a curve"},{"name":"vRipple","import":"@m3ui-vue/m3ui-vue","signature":"vRipple: Directive<HTMLElement, RippleValue>","description":"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."},{"name":"vReveal","import":"@m3ui-vue/m3ui-vue","signature":"vReveal: Directive<HTMLElement, RevealValue>","description":"Reveals the element as it scrolls into view, on M3's springs (see `useScrollReveal` for the options): `v-reveal`, `v-reveal=\"'scale'\"`, `v-reveal=\"{ effect: 'slide-left', delay: 100 }\"`. Items of a `v-for` with the same options cascade in. Off with reduced motion. Registered by `createM3UI()`, or import `vReveal`."},{"name":"vStateLayer","import":"@m3ui-vue/m3ui-vue","signature":"vStateLayer: Directive<HTMLElement, StateLayerValue>","description":"The M3 state layer for any element: a tint in its text color at 8% on hover, 10% on keyboard focus and press, 16% while dragged. `<div v-state-layer>`, `v-state-layer=\"false\"`, `v-state-layer=\"'#e91e63'\"` or `v-state-layer=\"{ disabled, color, dragged }\"`. Pairs with `v-ripple`. A statically positioned element is made `position: relative`. Registered globally as `v-state-layer` by `createM3UI()`; import `vStateLayer` to use it without the plugin."},{"name":"vTooltip","import":"@m3ui-vue/m3ui-vue","signature":"vTooltip: Directive<HTMLElement, TooltipValue>","description":"MTooltip's plain tooltip on any element, without wrapping it: `v-tooltip=\"'Save'\"` or `v-tooltip=\"{ text, placement, delay, disabled }\"`. Shows after a delay on mouse hover, on keyboard focus, and on a long press on touch (swallowing that press's click, hiding 1.5s after the finger lifts); Escape and scrolling hide it. Registered globally as `v-tooltip` by `createM3UI()`; import `vTooltip` to use it without the plugin."},{"name":"vFocusRing","import":"@m3ui-vue/m3ui-vue","signature":"vFocusRing: Directive<HTMLElement, FocusRingValue>","description":"The M3 focus indicator on any element: a 3dp ring in `secondary`, 2dp outside the element, shown on keyboard focus only (`:focus-visible`), never on a click or tap. `<div v-focus-ring tabindex=\"0\">`, `v-focus-ring=\"false\"`, `v-focus-ring=\"'#e91e63'\"` or `v-focus-ring=\"{ disabled, color, inset, within }\"`. It wins over an `outline-none` class on the same element. Registered globally as `v-focus-ring` by `createM3UI()`; import `vFocusRing` to use it without the plugin."},{"name":"vScrollElevation","import":"@m3ui-vue/m3ui-vue","signature":"vScrollElevation: Directive<HTMLElement, ScrollElevationValue>","description":"Marks an element while the content under it has scrolled, as M3's top app bar does on scroll: it takes the scrolled container color (`surface-container`) and gets a `data-scrolled` attribute for your own styles (`data-scrolled:shadow-elevation-2`). Follows the window, or `v-scroll-elevation=\"'#list'\"` / `{ target, threshold, color, onChange, disabled }`. Add `transition-colors` to the element for a fade. Registered globally as `v-scroll-elevation` by `createM3UI()`; import `vScrollElevation` to use it without the plugin."},{"name":"vLongPress","import":"@m3ui-vue/m3ui-vue","signature":"vLongPress: Directive<HTMLElement, LongPressValue>","description":"Calls a handler when the element is pressed and held: `v-long-press=\"onHold\"` or `v-long-press=\"{ handler, duration, tolerance, haptic, mouse, disabled }\"`. Moving past the tolerance (a scroll or a drag) cancels it; once it fires, the click the press ends in and the browser's own long-press menu are swallowed, so a long-pressed button doesn't also click. While held, the element has `data-long-pressing` (`data-long-pressing:scale-95`). Registered globally as `v-long-press` by `createM3UI()`; import `vLongPress` to use it without the plugin."},{"name":"vSwipe","import":"@m3ui-vue/m3ui-vue","signature":"vSwipe: Directive<HTMLElement, SwipeValue>","description":"Calls handlers when an element is swiped: `v-swipe=\"onSwipe\"` (any direction, `info.direction` says which) or `v-swipe=\"{ left, right, up, down, threshold, velocity, onMove, onEnd, mouse, disabled }\"`. A swipe counts past `threshold` px, or at any length when flicked faster than `velocity`. The element's `touch-action` is set from the directions you listen to: only left/right leaves vertical scrolling to the page (`pan-y`), only up/down the horizontal (`pan-x`), both block panning from it (`none`). The click a swipe ends in is swallowed. Registered globally as `v-swipe` by `createM3UI()`; import `vSwipe` to use it without the plugin."},{"name":"vClickOutside","import":"@m3ui-vue/m3ui-vue","signature":"vClickOutside: Directive<HTMLElement, ClickOutsideValue>","description":"Calls a handler when a press lands outside the element: `v-click-outside=\"close\"` or `v-click-outside=\"{ handler, exclude, event, disabled }\"`. `exclude` takes elements or selectors that count as inside (the toggle button, a teleported popup). Only the primary button counts. Starts listening after the event that mounted it, so the click that opened a panel doesn't close it. Registered globally as `v-click-outside` by `createM3UI()`; import `vClickOutside` to use it without the plugin."},{"name":"vSkeleton","import":"@m3ui-vue/m3ui-vue","signature":"vSkeleton: Directive<HTMLElement, SkeletonValue>","description":"Turns an element into its own loading placeholder: `v-skeleton=\"loading\"` or `v-skeleton=\"{ loading, animation }\"`. While loading it keeps its size and corners, hides its content (which still sizes it: placeholder text like `{{ user?.name ?? 'Loading name' }}` gives an empty element a width), takes MSkeleton's tint and animation (`pulse`, `wave` or `none`; still with reduced motion), ignores the pointer and is `aria-busy`. Registered globally as `v-skeleton` by `createM3UI()`; import `vSkeleton` to use it without the plugin."},{"name":"vSparkle","import":"@m3ui-vue/m3ui-vue","signature":"vSparkle: Directive<HTMLElement, SparkleValue>","description":"Sparkles that twinkle over an element, to draw the eye to something new or special: `v-sparkle`, `v-sparkle=\"'hover'\"`, `v-sparkle=\"'#f5b400'\"` or `v-sparkle=\"{ trigger, color, size, rate, shapes, disabled }\"`. They're drawn in a layer over the element (a statically positioned one is made `position: relative`), hidden from assistive technology, and pause while it's off screen or the tab is hidden; none under reduced motion. Registered globally as `v-sparkle` by `createM3UI()`; import `vSparkle` to use it without the plugin."},{"name":"emojiCategories","import":"@m3ui-vue/m3ui-vue","signature":"emojiCategories: EmojiCategory[]","description":""},{"name":"allEmojis","import":"@m3ui-vue/m3ui-vue","signature":"allEmojis: string[]","description":""},{"name":"randomEmoji","import":"@m3ui-vue/m3ui-vue","signature":"randomEmoji(from?: string[]): string","description":""},{"name":"withSkinTone","import":"@m3ui-vue/m3ui-vue","signature":"withSkinTone(emoji: string, tone: number): string","description":"`emoji` with skin tone `tone` (0 = none, 1–5 = light to dark), if it takes one."},{"name":"toneableEmojis","import":"@m3ui-vue/m3ui-vue","signature":"toneableEmojis: Set<string>","description":"Emoji that take a skin tone (all five one-tone variants exist)."},{"name":"skinTones","import":"@m3ui-vue/m3ui-vue","signature":"skinTones: readonly [\"🏻\", \"🏼\", \"🏽\", \"🏾\", \"🏿\"]","description":"The five Fitzpatrick modifiers, light to dark."}],"types":[{"name":"MapContext","import":"@m3ui-vue/m3ui-vue/map","source":"/** What `MMap` provides to everything inside it. */\nexport interface MapContext {\n /** The MapLibre map, once created (never on the server) */\n map: ShallowRef<Maplibre.Map | undefined>\n /** The `maplibre-gl` module, loaded with the map (so nothing imports it on the server) */\n maplibre: ShallowRef<MaplibreModule | undefined>\n /** Bumped on every `style.load`: sources and layers added by components are re-added after a style change */\n styleVersion: Ref<number>\n /** The style as `MMap`'s `adapter` reads it (undefined without one) */\n model: ShallowRef<MapLayerModel | undefined>\n /** Visibility and opacity of the model's layers */\n layerState: MapLayerState\n /**\n * The tool that owns the map's clicks right now (`'measure'` while measuring), or null: `MMapIdentify` stays quiet\n * meanwhile. Set it from tools of your own the same way\n */\n activeTool: Ref<string | null>\n}"},{"name":"MapSource","import":"@m3ui-vue/m3ui-vue/map","source":"/**\n * A map to use from outside `<MMap>`: the `MMap` itself (a template ref: `<MMap ref=\"map\">` → `:map=\"map\"`) or its\n * `context`. Null or undefined until it mounts.\n */\nexport type MapSource = { context: MapContext } | MapContext | null | undefined"},{"name":"MaplibreModule","import":"@m3ui-vue/m3ui-vue/map","source":"/** The `maplibre-gl` module (its classes: `Map`, `Marker`, `Popup`…) */\nexport type MaplibreModule = typeof import('maplibre-gl')"},{"name":"MapLayerState","import":"@m3ui-vue/m3ui-vue/map","source":"/** Visibility and opacity of the model's layers, shared by everything inside one `MMap`. */\nexport interface MapLayerState {\n visible: Record<string, boolean>\n opacity: Record<string, number>\n}"},{"name":"MapAdapter","import":"@m3ui-vue/m3ui-vue/map","source":"/** Reads a style's conventions (usually its `metadata`) into the model the map's UI components use. */\nexport type MapAdapter = (style: Maplibre.StyleSpecification, context: MapAdapterContext) => MapLayerModel"},{"name":"MapAdapterContext","import":"@m3ui-vue/m3ui-vue/map","source":"/** What an adapter gets besides the style. */\nexport interface MapAdapterContext {\n /** The style's URL, when `MMap`'s `mapStyle` is one */\n styleUrl?: string\n}"},{"name":"MapFieldFormat","import":"@m3ui-vue/m3ui-vue/map","source":"/** How to show one property of a feature. */\nexport interface MapFieldFormat {\n /** The label (the key, capitalized, by default) */\n label?: string\n /** Text before the value */\n prefix?: string\n /** Text after the value */\n suffix?: string\n /** A number mask: its decimals set the fraction digits (`#.00` → 2) and a comma turns on grouping (`#,###`) */\n mask?: string\n /** Leave it out */\n hidden?: boolean\n}"},{"name":"MapIdentifyResult","import":"@m3ui-vue/m3ui-vue/map","source":"/** What `MMapIdentify` found on one layer at a point. */\nexport interface MapIdentifyResult {\n layer: MapLayerInfo\n feature: Maplibre.MapGeoJSONFeature\n /** Its properties as the layer's `identify` shows them, formatted */\n fields: { key: string; label: string; value: string }[]\n}"},{"name":"MapLayerInfo","import":"@m3ui-vue/m3ui-vue/map","source":"/** One layer of the style, as the map's UI components see it. */\nexport interface MapLayerInfo {\n /** The style layer's id */\n id: string\n /** Its name in the UI */\n title: string\n description?: string\n /** The `name` of its group in `MapLayerModel.groups` */\n group?: string\n /** Shown in `MMapLayers` */\n listed: boolean\n /** A base layer: `MMapBaseLayers` shows one of them at a time, with this thumbnail */\n base?: { image?: string }\n /** Layer ids shown, hidden and faded along with it */\n children: string[]\n /** Listed by `MMapIdentify` on click: every property, formatted by `format`, minus `exclude` */\n identify: false | { format: Record<string, MapFieldFormat>; exclude: string[] }\n /** Shown by `MMapHover` under the pointer: these properties, in order */\n hover: false | { fields: (MapFieldFormat & { key: string })[] }\n /** A legend image URL (an SVG, typically) */\n legend?: string\n /** A download URL for its data */\n download?: string\n}"},{"name":"MapLayerModel","import":"@m3ui-vue/m3ui-vue/map","source":"/** The style as the map's UI components see it: layers with names, groups, base layers, what to identify. */\nexport interface MapLayerModel {\n /** The style's name */\n title?: string\n /** Groups, in order */\n groups: { name: string; title: string }[]\n /** Layers, in the style's order (bottom to top) */\n layers: MapLayerInfo[]\n}"},{"name":"OrvianAdapterOptions","import":"@m3ui-vue/m3ui-vue/map","source":"export interface OrvianAdapterOptions {\n /**\n * A layer's legend image. By default, for a style served by mvt-rs (`…/services/styles/<style>`), its legend service\n * (`…/services/legends/<style>?layer_id=<id>`), unless the layer's `metadata.legend.show` is false;\n * `metadata.legend.wmslegend` overrides it\n */\n legend?: (layer: Maplibre.LayerSpecification, styleUrl?: string) => string | undefined\n}"},{"name":"MapSearchProvider","import":"@m3ui-vue/m3ui-vue/map","source":"/** Finds places for `MMapSearch`: the text in, results out. `signal` aborts a search the user replaced. */\nexport type MapSearchProvider = (query: string, signal: AbortSignal) => Promise<MapSearchResult[]>"},{"name":"MapSearchResult","import":"@m3ui-vue/m3ui-vue/map","source":"/** A place found by a `MapSearchProvider`. */\nexport interface MapSearchResult {\n /** What to show */\n label: string\n /** Where it is */\n lngLat: [number, number]\n /** Its extent, `[west, south, east, north]`: the map fits it instead of zooming to the point */\n bbox?: [number, number, number, number]\n /** Its kind (`city`, `road`, `park`, `restaurant`…), for the icon */\n type?: string\n}"},{"name":"NominatimOptions","import":"@m3ui-vue/m3ui-vue/map","source":"export interface NominatimOptions {\n /** The Nominatim server (`https://nominatim.openstreetmap.org` by default; mind its usage policy, or run your own) */\n url?: string\n /** How many results (6) */\n limit?: number\n /** The results' language (`es`, `en`…); by default the page's (`<html lang>`) */\n language?: string\n /** Only these countries (ISO codes: `['ar']`) */\n countryCodes?: string[]\n /** Prefer (or with `bounded`, only) this area: `[west, south, east, north]` */\n viewbox?: [number, number, number, number]\n bounded?: boolean\n}"},{"name":"M3UIOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface M3UIOptions {\n palette?: PaletteId | (string & {})\n /**\n * Set to `false` to make `palette` a hard default that always wins on boot, ignoring\n * whatever is already stored in localStorage, and to stop future `useColorPalette().set()`\n * calls from persisting either. Palette switching still works live within the session\n * (`set()` still applies immediately) — only the \"remember it for next time\" part is disabled.\n * Defaults to `true`, matching prior behavior (`palette` only seeds the very first visit,\n * and any later choice persists and wins over it).\n */\n persistPalette?: boolean\n /**\n * Palettes of your own, added to `useColorPalette().palettes` so palette pickers built from\n * that list show them. An entry whose `id` matches a built-in palette replaces it. Each one\n * still needs its CSS: `[data-palette='<id>'] { --color-primary: ...; }` plus a\n * `[data-palette='<id>'].dark { ... }` block, overriding the same tokens as `palettes.css`.\n */\n customPalettes?: Palette[]\n /**\n * Generate the whole color scheme (light and dark) from one color instead of using a named palette: Google's\n * dynamic color, the way Android builds a theme from a wallpaper. `palette` wins when both are given, and like\n * `palette` it's only the first-visit default unless `persistPalette` is `false`.\n */\n seed?: string\n /** How `seed` becomes a scheme: `variant` (`'tonal-spot'` by default) and `contrast` (0 standard, 0.5 medium, 1 high). */\n seedOptions?: SeedOptions\n /**\n * M3's contrast level: `'standard'`, `'medium'`, `'high'`, or `'system'` (follows the OS's `prefers-contrast`).\n * Like `palette`, only the first-visit default unless `persistPalette` is `false`. Built-in palettes need\n * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.\n */\n contrast?: ContrastLevel\n locale?: MaybeRef<Partial<M3Locale>>\n /**\n * Keep `<meta name=\"theme-color\">` (the color phones give the browser bar and status bar) in sync with a color\n * role of the active palette, following palette, seed and dark mode changes. `'surface'` matches a top app\n * bar, as Material apps on Android do; any role name works (`'primary'`, `'surface-container'`…). Off by default:\n * when set, the library owns that meta (it's created if missing, and a light/dark `media` pair becomes one).\n * Note that Chrome and Samsung Internet on Android ignore it in a regular tab while the system is in dark\n * mode (they keep their own dark bar); installed apps (PWA) still get it.\n */\n themeColor?: 'surface' | 'surface-container' | 'primary' | (string & {})\n /**\n * Server-side rendering: tells the components whether the app is still hydrating the server's HTML (Nuxt's\n * `() => nuxtApp.isHydrating`, which `@m3ui-vue/nuxt` passes). The adaptive layouts (`MNavigationSuite`,\n * `MListDetail`, `MSupportingPane`) and `useWindowSizeClass()` then render their first frame at the server's size\n * (compact: it has no window) so it matches the HTML, and adapt once mounted.\n */\n isHydrating?: () => boolean\n /**\n * Also keep the theme, the palette and the contrast level in cookies (`m3-theme`, `m3-palette`, `m3-contrast`,\n * a year, `SameSite=Lax`), and the window's size (`m3-viewport`, `<width>x<height>`), so a server can read them\n * and render with the user's choice and for their screen through `initialState`.\n */\n cookies?: boolean\n /**\n * A prefix for every key the library stores in localStorage and cookies (`'admin'` → `admin-m3-theme`,\n * `admin-m3-palette`…), so apps served from the same origin under different paths (`example.com/admin`,\n * `example.com/shop`) each keep their own theme, palette, contrast and recent colors/emoji instead of sharing them.\n * Letters, digits, `-` and `_` (it's also part of the cookie names). Pass the same one to `themeInitScript()` and\n * `viewportFromHeaders()` when you use them.\n */\n storagePrefix?: string\n /**\n * Server-side rendering: the user's theme, palette and contrast as the server knows them (from the cookies that\n * `cookies` writes), on the server and on the client alike. `useTheme()` and `useColorPalette()` report them on\n * the server, and on the client while hydrating (with `isHydrating`), so what's rendered from them matches the\n * server's HTML. What's missing falls back to this plugin's defaults, like a first visit. With `viewport`, the\n * adaptive layouts (`MNavigationSuite`, `MListDetail`, `MSupportingPane`) and `useWindowSizeClass()` render for\n * that window size instead of compact.\n */\n initialState?: M3InitialState\n}"},{"name":"M3InitialState","import":"@m3ui-vue/m3ui-vue","source":"/** The user's theme choices as a server knows them (from cookies), for server-side rendering. */\nexport interface M3InitialState {\n theme?: Theme\n palette?: string\n contrast?: ContrastLevel\n /** The browser window's size: the adaptive layouts and `useWindowSizeClass()` render for it instead of compact. */\n viewport?: { width: number; height: number }\n}"},{"name":"Theme","import":"@m3ui-vue/m3ui-vue","source":"export type Theme = 'light' | 'dark' | 'system'"},{"name":"ConfettiOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ConfettiOptions {\n /** How many pieces (default 80; 160 for `from: 'top'`) */\n count?: number\n /** Shapes to pick from (MShape's names) */\n shapes?: ShapeName[]\n /** Any CSS colors. Default: the theme's primary, secondary and tertiary roles and their containers, read at the origin */\n colors?: string[]\n /** Burst from a point (default) or rain from the top of the screen */\n from?: 'point' | 'top'\n /** Burst angle in degrees, 0 = up (default 0) */\n angle?: number\n /** Cone the pieces leave in, in degrees (default 70) */\n spread?: number\n /** Launch speed in px/s (default 950) */\n velocity?: number\n /** Piece size in px (default 14) */\n size?: number\n /**\n * Keep it going for this long, in ms: a rain that keeps falling (`from: 'top'`) or a fountain from the point,\n * `count` then being pieces per second. `Infinity` runs until the returned `stop()`. Unset: one burst\n */\n duration?: number\n}"},{"name":"ConfettiOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** Where a burst starts: the pointer of an event, an element's center, or a point in viewport pixels */\nexport type ConfettiOrigin = EffectOrigin"},{"name":"StopConfetti","import":"@m3ui-vue/m3ui-vue","source":"/** Stops a running confetti before its `duration` ends; the pieces already out finish falling. */\nexport type StopConfetti = () => void"},{"name":"FireworkShape","import":"@m3ui-vue/m3ui-vue","source":"/** A burst's look: `'classic'`, or an MShape's name its sparks are laid out along. */\nexport type FireworkShape = 'classic' | ShapeName"},{"name":"FireworksOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface FireworksOptions {\n /** How many rockets (default 6, launched over about a second and a half); with `duration`, rockets per second */\n count?: number\n /**\n * What the bursts look like, one picked per burst: `'classic'` (sparks thrown out from the center that fall as they\n * fade) or an MShape's name the sparks are laid out along (`'Circle'` is a ring). Default: mostly classic, with a\n * ring, a heart, a flower… now and then\n */\n shapes?: FireworkShape[]\n /** Any CSS colors. Default: the theme's primary, secondary and tertiary roles and their containers */\n colors?: string[]\n /** Burst radius in px. Default: a sixth of the screen's smaller side, between 70 and 180 */\n size?: number\n /** Keep launching for this long, in ms (`count` then being rockets per second); `Infinity` runs until `stop()` */\n duration?: number\n}"},{"name":"StopFireworks","import":"@m3ui-vue/m3ui-vue","source":"/** Stops launching before `duration` ends; what's already in the air finishes. */\nexport type StopFireworks = () => void"},{"name":"ReactionContent","import":"@m3ui-vue/m3ui-vue","source":"/** What floats up: any text (an emoji, `'+1'`), or a Material Symbol (`{ icon: 'favorite' }`, filled by default). */\nexport type ReactionContent = string | { icon: string; filled?: boolean; color?: string }"},{"name":"ReactionOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ReactionOptions {\n /** How many float up together, a little apart (default 1) */\n count?: number\n /** Size in px (default 32) */\n size?: number\n /** How far it rises, in px (default 260) */\n distance?: number\n /** How long it floats, in ms (default 2200) */\n duration?: number\n /** How far it sways to each side, in px (default 20) */\n sway?: number\n}"},{"name":"ReactionOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** Where a reaction starts: the pointer of an event, an element's center, or a point in viewport pixels */\nexport type ReactionOrigin = EffectOrigin"},{"name":"ContainerTransformController","import":"@m3ui-vue/m3ui-vue","source":"/** The state MContainerTransform plays, shared between the elements that open it and the panel they open */\nexport interface ContainerTransformController<T = unknown> {\n /** Whether the expanded view is open (or opening) */\n isOpen: Ref<boolean>\n /** What `open` was given, for the expanded view to show */\n item: Ref<T | undefined>\n /** The element it grows from and shrinks back into */\n source: ShallowRef<HTMLElement | null>\n /** Opens from `origin` (a click's element, an element or a component), with an optional `item` */\n open: (origin?: ContainerTransformOrigin, item?: T) => void\n /** Shrinks the expanded view back into the element it opened from */\n close: () => void\n}"},{"name":"ContainerTransformOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** What a container transform opens from: a click (its element), an element, or a component */\nexport type ContainerTransformOrigin = Event | Element | ComponentPublicInstance | null | undefined"},{"name":"Palette","import":"@m3ui-vue/m3ui-vue","source":"export interface Palette {\n id: string\n label: string\n /**\n * The palette's key color. A custom palette (`createM3UI({ customPalettes })`) with no CSS of its own gets its\n * scheme generated from it; one with `[data-palette='<id>']` rules keeps them.\n */\n seed: string\n}"},{"name":"PaletteId","import":"@m3ui-vue/m3ui-vue","source":"/** The id of a palette that ships with the library (`palettes.css`, plus the `purple` baseline). */\nexport type PaletteId = (typeof builtInPalettes)[number]['id']"},{"name":"ActiveSeed","import":"@m3ui-vue/m3ui-vue","source":"export interface ActiveSeed extends SeedOptions {\n seed: string\n}"},{"name":"ContrastLevel","import":"@m3ui-vue/m3ui-vue","source":"// ── Contrast ─────────────────────────────────────────────────────────────────────────────────────\n/**\n * M3's contrast levels. `system` follows the OS (`prefers-contrast: more` → high). Built-in palettes need\n * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.\n */\nexport type ContrastLevel = 'standard' | 'medium' | 'high' | 'system'"},{"name":"ThemeInitOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ThemeInitOptions {\n /** `createM3UI`'s `palette`: the first-visit default, or forced with `persistPalette: false`. */\n palette?: PaletteId | (string & {})\n /** `createM3UI`'s `contrast`, with the same rules as `palette`. */\n contrast?: ContrastLevel\n /** `createM3UI`'s `persistPalette`. */\n persistPalette?: boolean\n /** `createM3UI`'s `storagePrefix`. */\n storagePrefix?: string\n}"},{"name":"RequestHeaders","import":"@m3ui-vue/m3ui-vue","source":"/** A request's headers as server frameworks hand them over: a `Headers`, or a plain object (Node's, h3's). */\nexport type RequestHeaders = Headers | Record<string, string | string[] | undefined>"},{"name":"ViewportSize","import":"@m3ui-vue/m3ui-vue","source":"/** A window size, for `createM3UI({ initialState: { viewport } })` */\nexport interface ViewportSize {\n width: number\n height: number\n}"},{"name":"SchemeVariant","import":"@m3ui-vue/m3ui-vue","source":"// Dynamic color: a full M3 color scheme (light and dark) generated from one seed color with Google's\n// material-color-utilities (HCT, DynamicScheme). The package is loaded with a dynamic import, so apps that\n// never use a seed don't download it; it's bundled into the library (its 0.4.0 ESM build has an extensionless\n// import that Node can't resolve, which would break SSR and tests if it were left external).\n\nexport type SchemeVariant =\n | 'tonal-spot'\n | 'expressive'\n | 'vibrant'\n | 'fidelity'\n | 'content'\n | 'neutral'\n | 'monochrome'\n | 'rainbow'\n | 'fruit-salad'"},{"name":"SeedOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface SeedOptions {\n /** How the seed spreads into the scheme. `tonal-spot` is Android's default (calm, seed-led). */\n variant?: SchemeVariant\n /** Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced). */\n contrast?: number\n}"},{"name":"GeneratedScheme","import":"@m3ui-vue/m3ui-vue","source":"/** Token name (as in `--color-<name>`) → hex, for each scheme. */\nexport interface GeneratedScheme {\n light: Record<string, string>\n dark: Record<string, string>\n}"},{"name":"Toast","import":"@m3ui-vue/m3ui-vue","source":"export interface Toast {\n id: number\n message: string\n variant: ToastVariant\n duration: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null // null = suppress icon entirely\n color?: string\n count: number // ≥ 2 → show badge\n}"},{"name":"ToastVariant","import":"@m3ui-vue/m3ui-vue","source":"export type ToastVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"ToastPosition","import":"@m3ui-vue/m3ui-vue","source":"export type ToastPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"ToastAction","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastAction { label: string; onClick: () => void }"},{"name":"ToastOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastOptions {\n duration?: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null\n color?: string\n}"},{"name":"M3Locale","import":"@m3ui-vue/m3ui-vue","source":"export interface M3Locale {\n /** BCP-47 language tag (e.g. 'en', 'es', 'pt') — read by locale-aware components (MRelativeTime) that use Intl formatting. */\n lang: string\n\n // Common\n search: string\n noResults: string\n close: string\n cancel: string\n confirm: string\n loading: string\n menu: string\n\n // Navigation\n previous: string\n next: string\n today: string\n more: string\n\n // Tables\n selectedCount: string\n recordCount: string\n expand: string\n /** Collapses an expanded item (the opposite of `expand`) */\n collapse: string\n /** Clears a field's value (the × at its end) */\n clear: string\n columns: string\n exportCsv: string\n noGroup: string\n\n // Tour\n finish: string\n\n // File upload\n dropText: string\n selectText: string\n maxSizePrefix: string\n remove: string\n\n // Pickers\n selectDate: string\n ok: string\n dateToggleInput: string\n dateToggleCalendar: string\n dateInputLabel: string\n selectTime: string\n timeHourSelection: string\n timeMinuteSelection: string\n timePeriodToggle: string\n timeToggleKeyboard: string\n timeToggleDial: string\n timeToggleScroll: string\n sheetExpand: string\n sheetCollapse: string\n sheetDismiss: string\n seekBar: string\n seekBarValue: string\n seekBarShowRemaining: string\n seekBarShowDuration: string\n selectRange: string\n pickStart: string\n pickEnd: string\n previousMonth: string\n nextMonth: string\n\n // Color picker\n selectColor: string\n colorHue: string\n colorSaturation: string\n colorBrightness: string\n colorAlpha: string\n colorEyedropper: string\n colorOriginal: string\n colorFormat: string\n colorRecent: string\n colorPresets: string\n\n // Scheduler\n dayView: string\n weekView: string\n allDay: string\n emojiSearch: string\n emojiNoResults: string\n emojiRecent: string\n emojiSkinTone: string\n emojiSkinTones: string\n emojiCategorySmileys: string\n emojiCategoryGestures: string\n emojiCategoryPeople: string\n emojiCategoryAnimals: string\n emojiCategoryNature: string\n emojiCategoryFood: string\n emojiCategoryActivities: string\n emojiCategoryTravel: string\n emojiCategoryObjects: string\n emojiCategorySymbols: string\n emojiCategoryFlags: string\n\n // Transfer list\n available: string\n selected: string\n noItems: string\n moveAllRight: string\n moveRight: string\n moveLeft: string\n moveAllLeft: string\n\n // Command palette / Spotlight\n searchCommand: string\n navigateHint: string\n selectHint: string\n openHint: string\n closeHint: string\n\n // Infinite scroll\n loadingMore: string\n noMoreItems: string\n\n // Rich text editor\n bold: string\n italic: string\n underline: string\n strikethrough: string\n highlight: string\n bulletList: string\n orderedList: string\n blockquote: string\n code: string\n alignLeft: string\n alignCenter: string\n alignRight: string\n undo: string\n redo: string\n link: string\n image: string\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n insertLink: string\n insertImage: string\n imageUrlLabel: string\n insert: string\n\n // JSON editor\n jsonValid: string\n jsonInvalid: string\n jsonFormat: string\n jsonMinify: string\n\n // JSON viewer\n jsonElements: string\n jsonFields: string\n\n // Result\n resultSuccessTitle: string\n resultSuccessDesc: string\n resultErrorTitle: string\n resultErrorDesc: string\n resultWarningTitle: string\n resultWarningDesc: string\n resultInfoTitle: string\n resultInfoDesc: string\n result404Title: string\n result404Desc: string\n result403Title: string\n result403Desc: string\n result500Title: string\n result500Desc: string\n\n // Chat bubble\n chatTyping: string\n chatRecordingAudio: string\n\n // Drag & drop list ({pos}/{total} are replaced at runtime)\n reorderHandle: string\n reorderGrabbed: string\n reorderMoved: string\n reorderDropped: string\n reorderCancelled: string\n\n // Transfer list (panes)\n selectAll: string\n clearSearch: string\n\n // Kanban ({column}/{pos}/{total} are replaced at runtime)\n kanbanMoved: string\n // MWindow title bar buttons\n windowMinimize: string\n windowMaximize: string\n windowRestore: string\n // MPagination ({from}/{to}/{total} and {page}/{pages} are replaced at runtime)\n paginationRange: string\n paginationPage: string\n previousPage: string\n nextPage: string\n carousel: string\n carouselItem: string\n /** MSparkline's summary for screen readers: {first}, {last}, {min}, {max} */\n sparklineSummary: string\n /** MSlider range: its two thumbs */\n sliderRangeStart: string\n sliderRangeEnd: string\n // MMap (maplibre controls)\n mapTitle: string\n mapMarker: string\n mapZoomIn: string\n mapZoomOut: string\n mapResetBearing: string\n mapFindMyLocation: string\n mapLocationNotAvailable: string\n mapEnterFullscreen: string\n mapExitFullscreen: string\n mapToggleAttribution: string\n mapFeedback: string\n mapCtrlScroll: string\n mapCmdScroll: string\n mapTwoFingers: string\n mapLayers: string\n mapSearchLayers: string\n mapNoLayers: string\n mapShowLayer: string\n mapHideLayer: string\n mapOpacity: string\n mapDownload: string\n mapNoBaseLayer: string\n mapHoverInfo: string\n mapNoValue: string\n mapMeasureDistance: string\n mapMeasureArea: string\n mapClearMeasurements: string\n mapDeleteMeasurement: string\n mapTotal: string\n mapSearchPlaces: string\n /** MTimeline's button past `limit`; `{count}` is how many entries are hidden */\n timelineShowMore: string\n timelineShowLess: string\n}"},{"name":"AutoGrowOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface AutoGrowOptions {\n /** Fewest rows it shrinks to (default 1) */\n minRows?: MaybeRefOrGetter<number | undefined>\n /** Most rows it grows to; past them it scrolls. Unset grows without limit */\n maxRows?: MaybeRefOrGetter<number | undefined>\n /**\n * The text, when it can change without typing (cleared after sending, an emoji inserted…): a ref or getter, so the\n * height follows. Typing is followed on its own\n */\n value?: WatchSource<unknown>\n}"},{"name":"ThemeTokensOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ThemeTokensOptions {\n /**\n * Updates every animation frame while the theme switch's colors fade, so a canvas redrawn on change fades with\n * the page instead of jumping to the new colors. Off by default: what animates color changes itself (Chart.js,\n * MChart, maps) only needs the final values, and would otherwise redraw ~15 times per switch.\n */\n live?: boolean\n}"},{"name":"ScrollRevealOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ScrollRevealOptions {\n /** How it enters (default `'fade-up'`) */\n effect?: RevealEffect\n /** Distance in px for the slide effects (default 24) */\n distance?: number\n /** Delay in ms before it starts (default 0) */\n delay?: number\n /** Extra delay in ms for each next element revealed at the same time, so a list cascades in (default 60) */\n stagger?: number\n /** Reveal only the first time (default `true`); with `false` it hides again once it leaves the screen */\n once?: boolean\n /** How much of the element has to be visible, 0 to 1 (default 0.15) */\n threshold?: number\n /** Grows or shrinks the area that counts as visible, like IntersectionObserver's `rootMargin` (default `'0px'`) */\n rootMargin?: string\n /** Motion scheme of the springs: `'standard'` (default) or `'expressive'` (a little bounce) */\n scheme?: 'standard' | 'expressive'\n /** Pace: M3's fast, default or slow springs (default `'default'`); slow suits large, calm entrances */\n speed?: 'fast' | 'default' | 'slow'\n}"},{"name":"RevealEffect","import":"@m3ui-vue/m3ui-vue","source":"/** How an element enters: from below, from a side, growing, or only fading. */\nexport type RevealEffect = 'fade-up' | 'fade' | 'scale' | 'slide-left' | 'slide-right'"},{"name":"WidthSizeClass","import":"@m3ui-vue/m3ui-vue","source":"/*\n * M3 window size classes, with the breakpoints from androidx `WindowSizeClass`\n * (window-core: WIDTH_DP_MEDIUM_LOWER_BOUND 600, EXPANDED 840, LARGE 1200, EXTRA_LARGE 1600;\n * HEIGHT_DP_MEDIUM_LOWER_BOUND 480, EXPANDED 900). CSS px stand in for dp.\n */\nexport type WidthSizeClass = 'compact' | 'medium' | 'expanded' | 'large' | 'extra-large'"},{"name":"HeightSizeClass","import":"@m3ui-vue/m3ui-vue","source":"export type HeightSizeClass = 'compact' | 'medium' | 'expanded'"},{"name":"WindowSizeClassInfo","import":"@m3ui-vue/m3ui-vue","source":"export interface WindowSizeClassInfo {\n width: Ref<number>\n height: Ref<number>\n widthClass: Ref<WidthSizeClass>\n heightClass: Ref<HeightSizeClass>\n}"},{"name":"Notification","import":"@m3ui-vue/m3ui-vue","source":"export interface Notification {\n id: number\n message: string\n variant: NotificationVariant\n duration: number\n loading?: boolean\n icon?: string | null // null = suppress icon entirely\n closable?: boolean\n action?: NotificationAction\n count: number // ≥ 2 → show badge\n}"},{"name":"NotificationVariant","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"NotificationPosition","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"NotificationOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface NotificationOptions {\n duration?: number\n loading?: boolean\n icon?: string | null\n closable?: boolean\n action?: NotificationAction\n}"},{"name":"SpringSpec","import":"@m3ui-vue/m3ui-vue","source":"// Material 3's motion tokens for your own animations, from androidx's MotionTokens, StandardMotionTokens and\n// ExpressiveMotionTokens. The same easings and durations are CSS variables in theme.css (`--ease-*`, which\n// Tailwind turns into `ease-*` utilities, and `--duration-*`); the springs only make sense in JS, with\n// `useSpring` (exported next to these) or your own loop. No imports here: _useSpring builds on this file.\n\n/** A spring: dampingRatio 1 settles without overshoot, lower bounces; higher stiffness is faster */\nexport interface SpringSpec { dampingRatio: number; stiffness: number }"},{"name":"RippleOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-ripple`. */\nexport interface RippleOptions {\n /** No ripple while true (e.g. bound to the element's disabled state). */\n disabled?: boolean\n /** Any CSS color for the ripple; defaults to the element's text color (`currentColor`). */\n color?: string\n}"},{"name":"RippleValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-ripple` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type RippleValue = boolean | string | RippleOptions | null | undefined"},{"name":"RevealValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-reveal` value: nothing or `true` (fade up), `false` (off), an effect name, or options. */\nexport type RevealValue = boolean | RevealEffect | ScrollRevealOptions | null | undefined"},{"name":"StateLayerOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-state-layer`. */\nexport interface StateLayerOptions {\n /** No state layer while true (e.g. bound to the element's disabled state). `disabled` / `aria-disabled=\"true\"` hosts get none either way. */\n disabled?: boolean\n /** Any CSS color for the layer; defaults to the element's text color (`currentColor`). */\n color?: string\n /** Holds the dragged state (16%) while true, e.g. while the element is being dragged. */\n dragged?: boolean\n}"},{"name":"StateLayerValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-state-layer` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type StateLayerValue = boolean | string | StateLayerOptions | null | undefined"},{"name":"TooltipOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-tooltip`. */\nexport interface TooltipOptions {\n /** The tooltip's text; nothing shows while it's empty. */\n text?: string\n /** Side of the element it shows on (default `'top'`); it stays inside the window. */\n placement?: TooltipPlacement\n /** Delay before it shows on hover or keyboard focus, in ms (default 600, like MTooltip). */\n delay?: number\n /** Never shows while true. */\n disabled?: boolean\n}"},{"name":"TooltipValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-tooltip` value: the text, or an options object. */\nexport type TooltipValue = string | TooltipOptions | null | undefined"},{"name":"FocusRingOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-focus-ring`. */\nexport interface FocusRingOptions {\n /** No ring while true. */\n disabled?: boolean\n /** Any CSS color or token for the ring; defaults to `var(--color-secondary)`, as M3's focus indicator. */\n color?: string\n /** Draws the ring inside the element's edge instead of 2px outside it, for elements clipped by a parent. */\n inset?: boolean\n /** Also shows while an element inside it has keyboard focus (a card holding a link or a field). */\n within?: boolean\n}"},{"name":"FocusRingValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-focus-ring` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type FocusRingValue = boolean | string | FocusRingOptions | null | undefined"},{"name":"ScrollElevationOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-scroll-elevation`. */\nexport interface ScrollElevationOptions {\n /**\n * What scrolls: an element, a CSS selector for it, or the window (when left out). A template ref that's still\n * empty (`target: list` before the list mounts) waits for it instead of following the window.\n */\n target?: HTMLElement | Window | string | null\n /** How far (px) the content has to scroll before the element counts as scrolled (default 0: any scroll). */\n threshold?: number\n /**\n * The background while scrolled, any CSS color or token; default `var(--color-surface-container)`, M3's\n * scrolled container color for a top app bar. `false` changes no color: style `[data-scrolled]` yourself.\n */\n color?: string | false\n /** Called when the scrolled state changes. */\n onChange?: (scrolled: boolean) => void\n /** Stops following the scroll while true (and clears the scrolled state). */\n disabled?: boolean\n}"},{"name":"ScrollElevationValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-scroll-elevation` value: nothing or `true` (the window), `false` (off), a selector, or an options object. */\nexport type ScrollElevationValue = boolean | string | ScrollElevationOptions | null | undefined"},{"name":"LongPressOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-long-press`. */\nexport interface LongPressOptions {\n /** Called once the press has been held for `duration`, with the pointerdown that started it. */\n handler?: (event: PointerEvent) => void\n /** How long to hold, in ms (default 500, as MTooltip's long press). */\n duration?: number\n /** How far (px) the pointer may move before it's a scroll or a drag, not a press (default 10). */\n tolerance?: number\n /** A short vibration when it fires, where the device supports it (default true). */\n haptic?: boolean\n /** Also with a mouse (default true); false leaves the mouse alone, for touch and pen only. */\n mouse?: boolean\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"LongPressValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-long-press` value: the handler, or an options object. */\nexport type LongPressValue = ((event: PointerEvent) => void) | LongPressOptions | null | undefined"},{"name":"SwipeDirection","import":"@m3ui-vue/m3ui-vue","source":"export type SwipeDirection = 'left' | 'right' | 'up' | 'down'"},{"name":"SwipeInfo","import":"@m3ui-vue/m3ui-vue","source":"/** What a swipe handler gets. */\nexport interface SwipeInfo {\n direction: SwipeDirection\n /** Distance from where the press started, px (x grows rightwards, y downwards). */\n dx: number\n dy: number\n /** Speed along the swipe's axis when the finger lifted, px/ms. */\n velocity: number\n /** The pointerup that ended it. */\n event: PointerEvent\n}"},{"name":"SwipeOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-swipe`. */\nexport interface SwipeOptions {\n left?: (info: SwipeInfo) => void\n right?: (info: SwipeInfo) => void\n up?: (info: SwipeInfo) => void\n down?: (info: SwipeInfo) => void\n /** Called for a swipe in any direction that has no handler of its own. Listens on both axes. */\n handler?: (info: SwipeInfo) => void\n /** How far (px) the finger has to travel for a slow swipe to count (default 50). */\n threshold?: number\n /** A swipe at least this fast (px/ms) counts whatever its length (default 0.5, a flick). */\n velocity?: number\n /** Called while the finger moves along a listened axis, for feedback (follow the finger, fade a hint). */\n onMove?: (dx: number, dy: number, event: PointerEvent) => void\n /** Called when the press ends, swiped or not (spring a moved element back). */\n onEnd?: (swiped: boolean) => void\n /** Also with a mouse drag (default false: swipes are for touch and pen). */\n mouse?: boolean\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"SwipeValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-swipe` value: a handler for any direction, or an options object. */\nexport type SwipeValue = ((info: SwipeInfo) => void) | SwipeOptions | null | undefined"},{"name":"ClickOutsideOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-click-outside`. */\nexport interface ClickOutsideOptions {\n /** Called with the event that landed outside the element. */\n handler?: (event: PointerEvent | MouseEvent) => void\n /**\n * Elements that count as inside too: elements or CSS selectors (the button that toggles a panel, or a panel's\n * own popup teleported to `<body>`).\n */\n exclude?: Array<HTMLElement | string | null | undefined>\n /** `'pointerdown'` (default) reacts as the press starts, like menus; `'click'` once it ends, so a drag out doesn't count. */\n event?: 'pointerdown' | 'click'\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"ClickOutsideValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-click-outside` value: the handler, or an options object. */\nexport type ClickOutsideValue = ((event: PointerEvent | MouseEvent) => void) | ClickOutsideOptions | null | undefined"},{"name":"SkeletonOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-skeleton`. */\nexport interface SkeletonOptions {\n /** Shows the placeholder while true. */\n loading?: boolean\n /** MSkeleton's animations (default `'pulse'`). */\n animation?: 'pulse' | 'wave' | 'none'\n}"},{"name":"SkeletonValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-skeleton` value: whether it's loading, or an options object. */\nexport type SkeletonValue = boolean | SkeletonOptions | null | undefined"},{"name":"SparkleOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-sparkle`. */\nexport interface SparkleOptions {\n /** No sparkles while true */\n disabled?: boolean\n /** `'always'` (default) sparkles all the time; `'hover'` only while the pointer is over it or focus is in it */\n trigger?: 'always' | 'hover'\n /** Any CSS colors, one picked per sparkle. Default: the theme's primary and tertiary where the element is */\n color?: string | string[]\n /** Sparkle size in px, each one a bit bigger or smaller (default 14) */\n size?: number\n /** Sparkles per second (default 3) */\n rate?: number\n /** MShape's shapes instead of the four-pointed star */\n shapes?: ShapeName[]\n}"},{"name":"SparkleValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-sparkle` value: nothing or `true` (on), `false` (off), `'hover'`, a CSS color, or an options object. */\nexport type SparkleValue = boolean | string | SparkleOptions | null | undefined"},{"name":"EmojiCategory","import":"@m3ui-vue/m3ui-vue","source":"// Generated by scripts/generate-emoji-data.mjs from Unicode emoji-test.txt (Emoji 15). Don't edit by hand.\n// Emoji data © Unicode, Inc., under the Unicode License v3 (dist/THIRD_PARTY_LICENSES.md, scripts/licenses/unicode-license-v3.txt).\n\nexport interface EmojiCategory {\n id: string\n /** English name; MEmojiSelector shows the locale's (emojiCategory* keys). */\n label: string\n icon: string\n emojis: string[]\n}"}],"theme":{"colors":["primary","on-primary","primary-container","on-primary-container","secondary","on-secondary","secondary-container","on-secondary-container","tertiary","on-tertiary","tertiary-container","on-tertiary-container","primary-fixed","primary-fixed-dim","on-primary-fixed","on-primary-fixed-variant","secondary-fixed","secondary-fixed-dim","on-secondary-fixed","on-secondary-fixed-variant","tertiary-fixed","tertiary-fixed-dim","on-tertiary-fixed","on-tertiary-fixed-variant","error","on-error","error-container","on-error-container","success","on-success","success-container","on-success-container","background","on-background","surface","on-surface","surface-variant","on-surface-variant","surface-dim","surface-bright","surface-container-lowest","surface-container-low","surface-container","surface-container-high","surface-container-highest","outline","outline-variant","shadow","scrim","inverse-surface","inverse-on-surface","inverse-primary"],"text":["display-large","display-medium","display-small","headline-large","headline-medium","headline-small","title-large","title-medium","title-small","body-large","body-medium","body-small","label-large","label-medium","label-small","display-large-emphasized","display-medium-emphasized","display-small-emphasized","headline-large-emphasized","headline-medium-emphasized","headline-small-emphasized","title-large-emphasized","title-medium-emphasized","title-small-emphasized","body-large-emphasized","body-medium-emphasized","body-small-emphasized","label-large-emphasized","label-medium-emphasized","label-small-emphasized"],"radius":["xs","sm","md","lg","xl","lg-increased","xl-increased","xxl"],"shadow":["elevation-1","elevation-2","elevation-3","elevation-4","elevation-5"],"ease":["emphasized","emphasized-decelerate","emphasized-accelerate","standard","standard-decelerate","standard-accelerate","legacy","legacy-decelerate","legacy-accelerate"],"duration":["short-1","short-2","short-3","short-4","medium-1","medium-2","medium-3","medium-4","long-1","long-2","long-3","long-4","extra-long-1","extra-long-2","extra-long-3","extra-long-4"],"utilities":["scrollbar-none"],"palettes":["purple","indigo","navy","blue","cyan","teal","green","lime","olive","amber","sand","orange","deep-orange","brown","red","coral","crimson","pink","violet","slate","graphite","charcoal","steel","ash","iron","fog","pewter","smoke","stone","zinc","monochrome","rust","gold","emerald","turquoise","cobalt","sapphire","amethyst","magenta","mauve"]},"locale":{"keys":["lang","search","noResults","close","cancel","confirm","loading","menu","previous","next","today","more","selectedCount","recordCount","expand","collapse","clear","columns","exportCsv","noGroup","finish","dropText","selectText","maxSizePrefix","remove","selectDate","ok","dateToggleInput","dateToggleCalendar","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","mapDownload","mapNoBaseLayer","mapHoverInfo","mapNoValue","mapMeasureDistance","mapMeasureArea","mapClearMeasurements","mapDeleteMeasurement","mapTotal","mapSearchPlaces","timelineShowMore","timelineShowLess"],"presets":["esLocale","frLocale","ptLocale","deLocale","jaLocale","zhLocale","koLocale"]}}