@m3ui-vue/m3ui-vue 0.9.3 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/README.md +24 -29
  2. package/dist/API.md +179 -19
  3. package/dist/{MTextField-DKtgPymd.js → MTextField-BPbFeI9M.js} +305 -177
  4. package/dist/MTextField-BPbFeI9M.js.map +1 -0
  5. package/dist/api.json +1 -1
  6. package/dist/code-editor.js +1 -1
  7. package/dist/components/MAppBarWithSearch.vue.d.ts +70 -0
  8. package/dist/components/MBottomAppBar.vue.d.ts +37 -0
  9. package/dist/components/MBottomSheetScaffold.vue.d.ts +40 -0
  10. package/dist/components/MChatBubble.vue.d.ts +1 -1
  11. package/dist/components/MChip.vue.d.ts +19 -2
  12. package/dist/components/MContainer.vue.d.ts +1 -1
  13. package/dist/components/MDataTable.vue.d.ts +1 -1
  14. package/dist/components/MDialog.vue.d.ts +1 -1
  15. package/dist/components/MFab.vue.d.ts +13 -4
  16. package/dist/components/MListItem.vue.d.ts +2 -2
  17. package/dist/components/MLoadingOverlay.vue.d.ts +1 -1
  18. package/dist/components/MNavigationDrawer.vue.d.ts +9 -6
  19. package/dist/components/MNavigationRail.vue.d.ts +6 -0
  20. package/dist/components/MSearchBar.vue.d.ts +5 -3
  21. package/dist/components/MShortNavigationBar.vue.d.ts +1 -1
  22. package/dist/components/MTable.vue.d.ts +1 -1
  23. package/dist/components/MTopAppBar.vue.d.ts +33 -2
  24. package/dist/components/MTransition.vue.d.ts +0 -9
  25. package/dist/composables/_searchAppBar.d.ts +6 -0
  26. package/dist/composables/_springAnimation.d.ts +17 -0
  27. package/dist/composables/_themeTransition.d.ts +2 -0
  28. package/dist/composables/_useSpring.d.ts +3 -5
  29. package/dist/composables/motion.d.ts +101 -0
  30. package/dist/composables/useColorPalette.d.ts +10 -0
  31. package/dist/composables/useLocale.d.ts +3 -0
  32. package/dist/index.d.ts +8 -1
  33. package/dist/locales/index.js +21 -0
  34. package/dist/locales/index.js.map +1 -1
  35. package/dist/m3ui-vue.css +1 -1
  36. package/dist/m3ui.js +7345 -6317
  37. package/dist/m3ui.js.map +1 -1
  38. package/dist/plugin.d.ts +7 -0
  39. package/dist/rich-text-editor.js +2 -2
  40. package/dist/styles/palettes-contrast.css +7764 -0
  41. package/dist/styles/theme.css +46 -2
  42. package/dist/styles.css +1 -1
  43. package/dist/{useLocale-Cn9MVIdw.js → useLocale-CuvWRZ1h.js} +4 -1
  44. package/dist/useLocale-CuvWRZ1h.js.map +1 -0
  45. package/package.json +3 -1
  46. package/src/__tests__/MAppBarWithSearch.test.ts +108 -0
  47. package/src/__tests__/MBottomAppBar.test.ts +71 -0
  48. package/src/__tests__/MBottomSheetScaffold.test.ts +122 -0
  49. package/src/__tests__/MChip.test.ts +63 -0
  50. package/src/__tests__/MFab.test.ts +36 -0
  51. package/src/__tests__/MNavigationDrawer.test.ts +185 -0
  52. package/src/__tests__/MNavigationRail.test.ts +93 -0
  53. package/src/__tests__/MPullToRefresh.test.ts +18 -1
  54. package/src/__tests__/MTopAppBar.test.ts +99 -0
  55. package/src/__tests__/MTransition.test.ts +12 -0
  56. package/src/__tests__/contrast.test.ts +64 -0
  57. package/src/__tests__/dynamicColor.test.ts +17 -0
  58. package/src/__tests__/motion.test.ts +37 -0
  59. package/src/__tests__/sheets.test.ts +19 -15
  60. package/src/__tests__/themeTransition.test.ts +119 -0
  61. package/src/components/MAppBarWithSearch.vue +236 -0
  62. package/src/components/MBottomAppBar.vue +181 -0
  63. package/src/components/MBottomSheetScaffold.vue +317 -0
  64. package/src/components/MBreadcrumbs.vue +1 -1
  65. package/src/components/MChip.vue +137 -5
  66. package/src/components/MContextMenu.vue +34 -33
  67. package/src/components/MFab.vue +73 -12
  68. package/src/components/MMenu.vue +34 -33
  69. package/src/components/MNavigationDrawer.vue +298 -38
  70. package/src/components/MNavigationRail.vue +189 -8
  71. package/src/components/MPullToRefresh.vue +18 -0
  72. package/src/components/MSearchBar.vue +29 -12
  73. package/src/components/MTopAppBar.vue +252 -28
  74. package/src/components/MTransition.vue +36 -41
  75. package/src/composables/_searchAppBar.ts +9 -0
  76. package/src/composables/_springAnimation.ts +74 -0
  77. package/src/composables/_themeColor.ts +11 -4
  78. package/src/composables/_themeTransition.ts +71 -0
  79. package/src/composables/_useSheetMotion.ts +101 -88
  80. package/src/composables/_useSpring.ts +11 -21
  81. package/src/composables/motion.ts +73 -0
  82. package/src/composables/useColorPalette.ts +103 -20
  83. package/src/composables/useLocale.ts +6 -0
  84. package/src/composables/useTheme.ts +4 -12
  85. package/src/index.ts +8 -1
  86. package/src/locales/de.ts +3 -0
  87. package/src/locales/es.ts +3 -0
  88. package/src/locales/fr.ts +3 -0
  89. package/src/locales/ja.ts +3 -0
  90. package/src/locales/ko.ts +3 -0
  91. package/src/locales/pt.ts +3 -0
  92. package/src/locales/zh.ts +3 -0
  93. package/src/plugin.ts +9 -1
  94. package/src/styles/palettes-contrast.css +7764 -0
  95. package/src/styles/theme.css +46 -2
  96. package/dist/MTextField-DKtgPymd.js.map +0 -1
  97. package/dist/useLocale-Cn9MVIdw.js.map +0 -1
package/README.md CHANGED
@@ -219,6 +219,7 @@ const name = ref('')
219
219
  | `useNotification()` | Rich notifications; mounts its own host, nothing to place |
220
220
  | `MDialog` / `MConfirmDialog` | Modal dialogs |
221
221
  | `MBottomSheet` | Bottom sheet |
222
+ | `MBottomSheetScaffold` | Standard (non-modal) bottom sheet over a screen, peeking until dragged up |
222
223
  | `MSideSheet` | Side sheet |
223
224
  | `MProgressBar` | Linear progress |
224
225
  | `MCircleProgressBar` | Circular progress (circle or wavy variant) |
@@ -246,8 +247,10 @@ const name = ref('')
246
247
  | `MShortNavigationBar` | M3 Expressive's shorter (64dp) navigation bar — `equal` or `centered` item arrangement, `top` or `start` icon position |
247
248
  | `MNavigationRail` | Side navigation rail |
248
249
  | `MNavigationDrawer` | Collapsible side drawer |
249
- | `MTopAppBar` / `MAppBar` | Top app bar |
250
- | `MSearchBar` | M3 search bar — docked (dropdown-style) or fullscreen expansion, drop it anywhere including a `MTopAppBar` title slot |
250
+ | `MTopAppBar` / `MAppBar` | Top app bar: small, center-aligned, medium, large and the flexible ones, with scroll behaviors |
251
+ | `MBottomAppBar` | Bottom app bar with actions and a FAB, or the Expressive flexible one; can hide on scroll |
252
+ | `MAppBarWithSearch` | Top app bar with a search bar in place of the title (or only the search field) |
253
+ | `MSearchBar` | M3 search bar — docked (dropdown-style), fullscreen or contained fullscreen expansion, drop it anywhere including a `MTopAppBar` title slot |
251
254
  | `MToolbar` | Action toolbar |
252
255
 
253
256
  ### Layout
@@ -354,6 +357,9 @@ UI components come from @m3ui-vue/m3ui-vue; its API is in node_modules/@m3ui-vue
354
357
  | `useDevice()` | Responsive breakpoint detection |
355
358
  | `useWindowSizeClass()` | M3 width/height size classes (compact → extra-large) for the window or any element |
356
359
  | `usePageProgress()` | Shared state for `MPageProgress`'s `start()`/`set()`/`done()` — drive it by hand or let the component auto-wire vue-router |
360
+ | `useSpring()` | Animate numbers on a real spring with M3's motion specs (`motionSprings`), like the components do |
361
+
362
+ **Motion tokens:** M3's easings are Tailwind `ease-*` utilities (`ease-emphasized`, `ease-emphasized-decelerate`…) and its durations CSS variables (`duration-(--duration-medium-2)`); in JS, `motionSprings` (Standard and Expressive), `motionEasings`, `motionDurations` and `cubicBezier()`.
357
363
 
358
364
  ## Color Palettes
359
365
 
@@ -361,6 +367,22 @@ UI components come from @m3ui-vue/m3ui-vue; its API is in node_modules/@m3ui-vue
361
367
 
362
368
  `purple` (default) `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`
363
369
 
370
+ ### Contrast levels
371
+
372
+ Medium and high contrast for every palette (light and dark), as in Android's accessibility settings: import the
373
+ optional stylesheet after `palettes`, then pick a level.
374
+
375
+ ```css
376
+ @import '@m3ui-vue/m3ui-vue/palettes-contrast'; /* ~27 KB gzipped */
377
+ ```
378
+
379
+ ```ts
380
+ app.use(createM3UI({ contrast: 'system' })) // 'standard' | 'medium' | 'high' | 'system' (follows prefers-contrast)
381
+ useColorPalette().setContrast('high') // at runtime, remembered like the palette
382
+ ```
383
+
384
+ A seed palette is regenerated at the chosen level, with or without the stylesheet.
385
+
364
386
  ### Dynamic Color (from a seed)
365
387
 
366
388
  Instead of a named palette, generate the whole scheme (light and dark) from one color with Google's dynamic color algorithm:
@@ -435,33 +457,6 @@ Install only the packages you need:
435
457
  | `MQRCode` | `qrcode-generator` |
436
458
  | `MBarcode` | `jsbarcode` |
437
459
 
438
- ## Roadmap to 1.0.0
439
-
440
- 1.0.0 ships once all of Material 3's core is in the library. Still to come:
441
-
442
- **Components**
443
-
444
- - [ ] Bottom app bar (`BottomAppBar`) and the Expressive flexible bottom app bar
445
- - [ ] Standard (non-modal) bottom sheet
446
- - [ ] Wheel time picker (`TimeScroll`)
447
- - [ ] Icon toggle buttons (standard, filled, tonal and outlined, with a selected state)
448
- - [ ] Top app bar scroll behaviors (collapse on scroll, hide on scroll) and the Expressive medium/large flexible app bars with subtitle
449
- - [ ] Selectable and checkable menu items
450
- - [ ] Search in the top app bar, and the contained full-screen search
451
- - [ ] The four chip types (assist, filter, input, suggestion) and their elevated variants
452
- - [ ] Tabs with the icon beside the label
453
- - [ ] Swipe to close the modal navigation rail
454
-
455
- **Foundations**
456
-
457
- - [ ] Material 3 Expressive shape scale (large-increased, extra-large-increased, extra-extra-large)
458
- - [ ] Motion tokens: easings, durations and springs, exposed for your own animations
459
- - [ ] Scrollbars: drop the global rule that hides them in Chromium/WebKit (it reaches the whole app, and Firefox shows them anyway) in favor of thin theme-colored scrollbars with `scrollbar-gutter: stable`, hiding them only where a component needs it. For now, set `scrollbar-width: auto` where you want them visible
460
-
461
- Already in: dynamic color from a seed, fixed color roles, elevation levels 0–5, the emphasized type scale, and the
462
- Expressive components so far (button groups, split buttons, toggle buttons, loading indicator, FAB menu, toolbars,
463
- shapes, carousel, scroll field, short navigation bar…).
464
-
465
460
  ## About this project
466
461
 
467
462
  M3UI Vue started as a set of components I built for my own projects. Over time it grew
package/dist/API.md CHANGED
@@ -1,4 +1,4 @@
1
- # @m3ui-vue/m3ui-vue 0.9.3 — API reference
1
+ # @m3ui-vue/m3ui-vue 1.0.1 — API reference
2
2
 
3
3
  Material Design 3 components for Vue 3 + Tailwind CSS v4. Generated from the source by
4
4
  `scripts/generate-api.mjs`; full docs with live demos at https://m3ui.dev.
@@ -10,6 +10,7 @@ Material Design 3 components for Vue 3 + Tailwind CSS v4. Generated from the sou
10
10
  @import 'tailwindcss';
11
11
  @import '@m3ui-vue/m3ui-vue/theme';
12
12
  @import '@m3ui-vue/m3ui-vue/palettes';
13
+ @import '@m3ui-vue/m3ui-vue/palettes-contrast'; /* optional: medium and high contrast */
13
14
  @import '@m3ui-vue/m3ui-vue/styles';
14
15
  ```
15
16
 
@@ -25,7 +26,9 @@ app.use(createM3UI({ palette: 'blue', locale: esLocale }))
25
26
  - Import components by name: `import { MButton, MDialog } from '@m3ui-vue/m3ui-vue'`. Components with heavy optional peer
26
27
  dependencies live in their own entry points (noted on each one): `@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`.
27
28
  - Dark mode is the `dark` class on `<html>` (`useTheme()` manages it); palettes are `data-palette="<id>"` on `<html>`
28
- (`useColorPalette()`).
29
+ (`useColorPalette()`, or a scheme generated from any color with `setSeed()` / `createM3UI({ seed })`); contrast levels
30
+ are `data-contrast="medium|high"` (`setContrast()` / `createM3UI({ contrast })`, needs the `palettes-contrast` import).
31
+ - `createM3UI()` also registers the `v-ripple` directive globally (or import `vRipple`).
29
32
  - Style your own markup with the M3 tokens as Tailwind utilities: `bg-surface-container`, `text-on-surface-variant`,
30
33
  `text-title-medium`, `rounded-lg`, `shadow-elevation-2`.
31
34
  - Two-way props are `v-model` (`modelValue`) or `v-model:<name>`, marked "(v-model)" below.
@@ -90,6 +93,37 @@ Slots:
90
93
  - `#default` — Main content (title text)
91
94
  - `#trailing` — Trailing action buttons
92
95
 
96
+ ### MAppBarWithSearch
97
+
98
+ 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.
99
+
100
+ Props:
101
+ - `modelValue?: string = ""` (v-model) — Search query (v-model)
102
+ - `expanded?: boolean` (v-model:expanded) — Whether the search is expanded (v-model:expanded)
103
+ - `placeholder?: string` — Defaults to the locale's "Search..."
104
+ - `searchVariant?: "fullscreen" | "fullscreen-contained" | "docked" = "fullscreen"` — How the search expands: full screen (default), full screen keeping the pill input, or a docked panel
105
+ - `leadingIcon?: string = "search"` — Icon shown in the collapsed search bar
106
+ - `loading?: boolean = false` — Shows a spinner in the expanded header instead of the clear button
107
+ - `clearable?: boolean = true` — Shows a clear (×) button once there is a query
108
+ - `navigationIcon?: string` — Leading icon outside the search bar (e.g. menu, arrow_back)
109
+ - `navigationLabel?: string` — Accessible label for the navigation icon button; defaults to the locale's "Menu"
110
+ - `transparent?: boolean = false` — No app bar container, only the search bar (Compose's TopSearchBar)
111
+ - `scrollBehavior?: "pinned" | "enter-always"` — 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)
112
+ - `scrollTarget?: string | HTMLElement | null = null` — What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window
113
+
114
+ Events:
115
+ - `search(string)` — Emitted when Enter is pressed in the input, with the current query
116
+ - `update:modelValue(string)` — Emitted on every input change — powers v-model
117
+ - `update:expanded(boolean)` — Emitted when the search expands or collapses — powers v-model:expanded
118
+ - `navigation()` — Emitted when the default navigation icon button is clicked
119
+
120
+ Slots:
121
+ - `#navigation` — Custom leading area (default: an MIconButton built from the navigationIcon prop)
122
+ - `#leading` — Overrides the search bar's leading icon
123
+ - `#trailing` — Trailing content inside the search bar (e.g. an avatar)
124
+ - `#default` — Results/suggestions, shown below the input while the search is expanded
125
+ - `#actions` — Trailing action buttons
126
+
93
127
  ### MAppLayout
94
128
 
95
129
  Full app shell — drawer, header, content, footer, and fab slots.
@@ -222,6 +256,21 @@ Props:
222
256
  Slots:
223
257
  - `#error` — Shown instead of the SVG when value is invalid for the given format (e.g. a non-numeric EAN13)
224
258
 
259
+ ### MBottomAppBar
260
+
261
+ 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.
262
+
263
+ Props:
264
+ - `flexible?: boolean = false` — M3 Expressive's FlexibleBottomAppBar: 64px instead of 80px, 16px side padding, no FAB slot
265
+ - `arrangement?: "start" | "between" | "around" | "evenly" | "fixed"` — How the actions are spread: `start` (the standard bar's), `between` (the flexible bar's default), `around`, `evenly`, or `fixed` (centered, 32px apart: FlexibleFixedHorizontalArrangement)
266
+ - `color?: "surface" | "primary" | "secondary" | "tertiary" = "surface"` — Container color: surface-container, or a color's container for a vibrant bar
267
+ - `scrollBehavior?: "pinned" | "exit-always" = "pinned"` — `pinned` stays put; `exit-always` collapses while the content scrolls down and returns when it scrolls up
268
+ - `scrollTarget?: string | HTMLElement | null = null` — What `exit-always` follows: an element or a CSS selector for it. Defaults to the window
269
+
270
+ Slots:
271
+ - `#default` — The actions, usually MIconButtons
272
+ - `#fab` — 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`)
273
+
225
274
  ### MBottomSheet
226
275
 
227
276
  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.
@@ -238,6 +287,29 @@ Slots:
238
287
  - `#default` — Sheet body content (scrollable)
239
288
  - `#actions` — Footer action buttons, shown in a bordered strip below the content
240
289
 
290
+ ### MBottomSheetScaffold
291
+
292
+ 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.
293
+
294
+ Props:
295
+ - `modelValue?: BottomSheetValue = "partial"` (v-model) — The sheet's state (v-model): `partial` shows `peekHeight` of it, `expanded` all of it, `hidden` none
296
+ - `peekHeight?: number = 56` — Height in px the partially expanded sheet shows (BottomSheetDefaults.SheetPeekHeight)
297
+ - `skipHiddenState?: boolean = true` — Leaves out the hidden state, so the sheet can't be swiped away (Compose's default for this sheet)
298
+ - `swipeEnabled?: boolean = true` — Lets the sheet be dragged; with false it only moves through v-model and the handle
299
+ - `maxWidth?: number = 640` — Maximum width in px; the sheet is centered when the screen is wider
300
+
301
+ Events:
302
+ - `update:modelValue(BottomSheetValue)` — Emitted when the sheet settles in another state after a drag or a handle tap — powers v-model
303
+
304
+ Slots:
305
+ - `#top-bar` — An app bar above the content (the sheet can rise over it)
306
+ - `#default` — The screen's content; it gets bottom padding equal to `peekHeight` so nothing hides under the peeking sheet
307
+ - `#sheet` — The sheet's content, below the drag handle
308
+
309
+ ```ts
310
+ export type BottomSheetValue = 'hidden' | 'partial' | 'expanded'
311
+ ```
312
+
241
313
  ### MBox
242
314
 
243
315
  Generic surface box with padding, radius, elevation, and border — a building block for ad-hoc layout that doesn't warrant a dedicated component.
@@ -473,21 +545,26 @@ Slots:
473
545
 
474
546
  ### MChip
475
547
 
476
- Compact elements for filters, input, or actions — named semantic tones or any CSS color, with optional icon, click, selection, and removal support.
548
+ 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.
477
549
 
478
550
  Props:
479
551
  - `tone?: string = "neutral"` — Color tone or any CSS color string
480
- - `selected?: boolean = false` — Selected/active state — the chip's shape morphs from a rounded rect to a full pill when selected
552
+ - `selected?: boolean = false` (v-model:selected) — Selected/active state — the chip's shape morphs from a rounded rect to a full pill when selected
481
553
  - `removable?: boolean = false` — Show a remove (X) button
482
554
  - `clickable?: boolean = false` — Makes the chip an interactive `<button>` with hover/press/focus feedback (otherwise renders as a plain `<span>`)
483
555
  - `disabled?: boolean = false` — Disables interaction
484
556
  - `icon?: string` — Leading Material Symbol icon
557
+ - `type?: "filter" | "assist" | "input" | "suggestion"` — 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
558
+ - `elevated?: boolean = false` — Typed assist, filter and suggestion chips: surface-container-low with elevation 1 instead of an outline
559
+ - `trailingIcon?: string` — Typed chips: a trailing Material Symbol icon (e.g. arrow_drop_down on a filter chip that opens a menu)
485
560
 
486
561
  Events:
487
- - `click()` — Emitted when a clickable, non-disabled chip is clicked
562
+ - `click()` — Emitted when a clickable (or typed), non-disabled chip is clicked
488
563
  - `remove()` — Emitted when the remove (X) button is clicked (removable only)
564
+ - `update:selected(boolean)` — Filter and input chips: emitted on click with the new selected state — powers v-model:selected
489
565
 
490
566
  Slots:
567
+ - `#avatar` — Input chips only: a 24px round avatar before the label (e.g. an MAvatar or an img)
491
568
  - `#default` — The chip's label.
492
569
 
493
570
  ### MCircleProgressBar
@@ -1001,8 +1078,9 @@ A Floating Action Button for the primary action of a screen. Supports extended (
1001
1078
  Props:
1002
1079
  - `icon: string` — Material Symbol icon name
1003
1080
  - `label?: string` — Extended FAB label text
1004
- - `color?: "surface" | "primary" | "secondary" | "tertiary" = "primary"` — Color scheme
1005
- - `size?: "medium" | "small" | "large" | "regular" = "regular"` — FAB size
1081
+ - `expanded?: boolean = true` — 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`
1082
+ - `color?: "surface" | "primary" | "secondary" | "tertiary"` — Color scheme; defaults to primary, or secondary inside an MBottomAppBar
1083
+ - `size?: "medium" | "small" | "large" | "regular" = "regular"` — 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
1006
1084
  - `disabled?: boolean = false` — Disables interaction
1007
1085
  - `items?: SpeedDialItem[]` — Speed-dial child items (see `SpeedDialItem`)
1008
1086
  - `direction?: "right" | "left" | "up" | "down" | "radial" = "up"` — Speed-dial expand direction
@@ -1121,7 +1199,7 @@ A thin, prop-driven wrapper around CSS flexbox — direction, alignment, justifi
1121
1199
  Props:
1122
1200
  - `direction?: "row" | "column" | "row-reverse" | "column-reverse" = "row"` — Flex direction
1123
1201
  - `align?: "center" | "start" | "end" | "stretch" | "baseline" = "stretch"` — Cross-axis alignment (align-items)
1124
- - `justify?: "center" | "start" | "end" | "between" | "around" | "evenly" = "start"` — Main-axis alignment (justify-content)
1202
+ - `justify?: "center" | "start" | "between" | "around" | "evenly" | "end" = "start"` — Main-axis alignment (justify-content)
1125
1203
  - `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "none"` — Gap between items
1126
1204
  - `wrap?: boolean = false` — Allow items to wrap
1127
1205
  - `inline?: boolean = false` — Use inline-flex instead of flex
@@ -1425,9 +1503,9 @@ Props:
1425
1503
  - `expanded?: boolean` (v-model:expanded) — Control the expanded state (v-model:expanded) — otherwise managed internally
1426
1504
 
1427
1505
  Events:
1506
+ - `update:expanded(value: boolean)` — Fires when an expandable item is toggled open/closed
1428
1507
  - `click(e: MouseEvent)` — Fires on any click, including on an expandable item (right before it toggles)
1429
1508
  - `update:trailingValue(value: boolean)` — Fires when a trailing switch/checkbox is toggled (trailing='switch' | 'checkbox')
1430
- - `update:expanded(value: boolean)` — Fires when an expandable item is toggled open/closed
1431
1509
 
1432
1510
  Slots:
1433
1511
  - `#leading` — Custom leading element, replacing the icon/avatar/image/icon-container
@@ -1668,7 +1746,7 @@ export interface NavBarItem {
1668
1746
 
1669
1747
  ### MNavigationDrawer
1670
1748
 
1671
- A slide-out or inline drawer of grouped, badge-able, optionally-nested navigation items — modal (Teleported, scrim-backed) or inline (participates in layout, supports a collapsed icon-only mode).
1749
+ 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).
1672
1750
 
1673
1751
  Props:
1674
1752
  - `modelValue: boolean` (v-model) — Open/closed state (v-model)
@@ -1679,6 +1757,7 @@ Props:
1679
1757
  - `collapsed?: boolean` — Compact mode (72px) showing only icons — inline variant only
1680
1758
  - `width?: string` — Custom drawer width (e.g. "320px", "25rem"). Defaults to 22.5rem (360px)
1681
1759
  - `side?: "top" | "right" | "bottom" | "left" = "left"` — Which side the drawer opens from. Top/bottom are only available for the modal variant — the inline variant always renders on left or right.
1760
+ - `swipeEnabled?: boolean = true` — Lets the modal drawer be swiped closed toward its edge; with false it only closes through v-model or the scrim
1682
1761
 
1683
1762
  Events:
1684
1763
  - `update:modelValue(boolean)` — Open/closed state for v-model
@@ -1727,10 +1806,11 @@ Props:
1727
1806
  - `alignment?: "top" | "bottom" | "center" = "top"` — Vertical alignment of items within the rail
1728
1807
  - `expanded?: boolean = false` (v-model:expanded) — Widens the rail (220px) and shows each item's icon beside its label in a full-width pill, instead of the icon over the label. Toggle it from your own menu button.
1729
1808
  - `modal?: boolean = false` — 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`.
1809
+ - `hideOnCollapse?: boolean = false` — 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
1730
1810
 
1731
1811
  Events:
1732
1812
  - `update:modelValue(string | number)` — Emitted when an item is clicked — powers v-model
1733
- - `update:expanded(boolean)` — Emitted when the modal panel closes (modal mode only) — pair with :expanded for v-model:expanded
1813
+ - `update:expanded(boolean)` — 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
1734
1814
 
1735
1815
  Slots:
1736
1816
  - `#fab` — A FAB (or MFabMenu) at the top of the rail, above the items.
@@ -2159,7 +2239,7 @@ Props:
2159
2239
  - `modelValue?: string = ""` (v-model) — Search query (v-model)
2160
2240
  - `expanded?: boolean` (v-model:expanded) — Controls the expanded/collapsed state — also works uncontrolled if omitted.
2161
2241
  - `placeholder?: string` — Defaults to the locale's "Search..."
2162
- - `variant?: "docked" | "fullscreen" = "docked"` — '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.
2242
+ - `variant?: "fullscreen" | "fullscreen-contained" | "docked" = "docked"` — '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.
2163
2243
  - `leadingIcon?: string = "search"` — Icon shown in the collapsed bar
2164
2244
  - `iconPosition?: "start" | "end" = "start"` — 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.
2165
2245
  - `textAlign?: "center" | "start" = "start"` — Centers the input/placeholder text instead of the M3-standard start alignment (an iOS-style look some apps use for the collapsed bar).
@@ -2168,8 +2248,8 @@ Props:
2168
2248
  - `disabled?: boolean = false` — Disables the collapsed bar
2169
2249
 
2170
2250
  Events:
2171
- - `update:modelValue(string)` — Emitted on every input change — powers v-model
2172
2251
  - `search(string)` — Emitted when Enter is pressed in the input, with the current query
2252
+ - `update:modelValue(string)` — Emitted on every input change — powers v-model
2173
2253
  - `update:expanded(boolean)` — Emitted when the expanded state changes — powers v-model:expanded
2174
2254
 
2175
2255
  Slots:
@@ -2519,9 +2599,9 @@ Props:
2519
2599
  - `closeHint?: string` — Footer hint text for Escape — falls back to the locale's own string when unset
2520
2600
 
2521
2601
  Events:
2602
+ - `search(string)` — Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response
2522
2603
  - `update:modelValue(boolean)` — Emitted on open/close — powers v-model
2523
2604
  - `select(SpotlightResult)` — Emitted when a result is chosen (click, or Enter)
2524
- - `search(string)` — Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response
2525
2605
 
2526
2606
  ```ts
2527
2607
  export interface SpotlightResult {
@@ -2541,7 +2621,7 @@ Props:
2541
2621
  - `direction?: "row" | "column" = "column"` — Stack direction
2542
2622
  - `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "md"` — Gap between items (ignored when divider is true)
2543
2623
  - `align?: "center" | "start" | "end" | "stretch" | "baseline" = "stretch"` — Cross-axis alignment
2544
- - `justify?: "center" | "start" | "end" | "between" | "around" | "evenly" = "start"` — Main-axis alignment
2624
+ - `justify?: "center" | "start" | "between" | "around" | "evenly" | "end" = "start"` — Main-axis alignment
2545
2625
  - `wrap?: boolean = false` — Allow items to wrap
2546
2626
  - `divider?: boolean = false` — Show dividers between items instead of a gap
2547
2627
  - `inline?: boolean = false` — Use inline-flex
@@ -2954,7 +3034,7 @@ Props:
2954
3034
  - `orientation?: "horizontal" | "vertical" = "horizontal"` — Layout direction
2955
3035
  - `color?: "surface" | "primary" | "secondary" | "tertiary" = "surface"` — Background color scheme
2956
3036
  - `fabPosition?: "start" | "none" | "end" = "none"` — Where the #fab slot renders relative to the toolbar body
2957
- - `align?: "center" | "start" | "end" | "between" = "center"` — Item alignment along the main axis
3037
+ - `align?: "center" | "start" | "between" | "end" = "center"` — Item alignment along the main axis
2958
3038
 
2959
3039
  Slots:
2960
3040
  - `#fab` — A FAB rendered alongside the toolbar body, positioned by fabPosition
@@ -2977,15 +3057,20 @@ Slots:
2977
3057
 
2978
3058
  ### MTopAppBar
2979
3059
 
2980
- A top app bar in four M3 layouts — center-aligned, small, medium, and large — with a leading navigation icon and trailing actions.
3060
+ 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.
2981
3061
 
2982
3062
  Props:
2983
3063
  - `title?: string` — App bar title
3064
+ - `subtitle?: string` — A line below the title (Compose's `subtitle`): small, center-aligned and flexible medium/large bars
2984
3065
  - `variant?: "center" | "medium" | "small" | "large" = "small"` — 64dp small/center-aligned row, or a 112dp medium / 152dp large two-row layout with the title below
3066
+ - `flexible?: boolean = false` — 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)
3067
+ - `titleAlignment?: "center" | "start" = "start"` — Medium/large only: where the title row sits (Compose's `titleHorizontalAlignment`)
2985
3068
  - `navigationIcon?: string` — Leading icon (e.g. menu, arrow_back)
2986
3069
  - `navigationLabel?: string` — 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.
2987
3070
  - `elevated?: boolean` — 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
2988
3071
  - `bordered?: boolean` — Add a bottom border (border-outline-variant)
3072
+ - `scrollBehavior?: "pinned" | "enter-always" | "exit-until-collapsed"` — 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)
3073
+ - `scrollTarget?: string | HTMLElement | null = null` — What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window
2989
3074
 
2990
3075
  Events:
2991
3076
  - `navigation()` — Emitted when the default navigation icon button is clicked (not emitted when the #navigation slot is overridden — that content is fully custom)
@@ -2993,6 +3078,7 @@ Events:
2993
3078
  Slots:
2994
3079
  - `#navigation` — Custom leading area (default: an MIconButton built from the navigationIcon prop)
2995
3080
  - `#title` — Custom title content (default: renders the title prop)
3081
+ - `#subtitle` — Custom subtitle content (default: renders the subtitle prop)
2996
3082
  - `#actions` — Trailing action buttons
2997
3083
 
2998
3084
  ### MTour
@@ -3085,8 +3171,8 @@ Props:
3085
3171
  - `emptyText?: string` — Text shown when nodes is empty. Falls back to the app's configured locale's noItems string
3086
3172
 
3087
3173
  Events:
3088
- - `update:checked((string | number)[])` — Fires when a checkbox toggles a node (checkable mode)
3089
3174
  - `update:selected(string | number | null)` — Fires when a node is clicked, toggling selection (clicking the already-selected node clears it)
3175
+ - `update:checked((string | number)[])` — Fires when a checkbox toggles a node (checkable mode)
3090
3176
  - `node-click(TreeNode)` — Fires whenever a node row is clicked, alongside update:selected
3091
3177
 
3092
3178
  Exposed (template ref):
@@ -3242,6 +3328,9 @@ useColorPalette(): {
3242
3328
  set: (id: string) => void
3243
3329
  seed: Readonly<Ref<{ readonly seed: string; readonly variant?: SchemeVariant; readonly contrast?: number; } | null>>
3244
3330
  setSeed: (seed: string, options?: SeedOptions) => Promise<void>
3331
+ contrast: Readonly<Ref<ContrastLevel>>
3332
+ activeContrast: ComputedRef<Exclude<ContrastLevel, 'system'>>
3333
+ setContrast: (level: ContrastLevel) => void
3245
3334
  persistPalette: Ref<boolean>
3246
3335
  setPersistPalette: (enabled: boolean) => void
3247
3336
  }
@@ -3392,6 +3481,46 @@ usePageProgress(): {
3392
3481
  }
3393
3482
  ```
3394
3483
 
3484
+ ### useSpring
3485
+
3486
+ ```ts
3487
+ useSpring(target: () => number[], apply: (values: readonly number[]) => void, spec: SpringSpec = FAST_SPATIAL): {
3488
+ snap: () => void
3489
+ }
3490
+ ```
3491
+
3492
+ ### motionSprings
3493
+
3494
+ 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.
3495
+
3496
+ ```ts
3497
+ 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; }; }; }
3498
+ ```
3499
+
3500
+ ### motionEasings
3501
+
3502
+ Easing curves as cubic-bezier control points [x1, y1, x2, y2] (theme.css has them as `--ease-*`)
3503
+
3504
+ ```ts
3505
+ 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]; }
3506
+ ```
3507
+
3508
+ ### motionDurations
3509
+
3510
+ Durations in ms (theme.css has them as `--duration-short-1` … `--duration-extra-long-4`)
3511
+
3512
+ ```ts
3513
+ 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; }
3514
+ ```
3515
+
3516
+ ### cubicBezier
3517
+
3518
+ 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
3519
+
3520
+ ```ts
3521
+ cubicBezier(x1: number, y1: number, x2: number, y2: number): (t: number) => number
3522
+ ```
3523
+
3395
3524
  ### vRipple
3396
3525
 
3397
3526
  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.
@@ -3471,6 +3600,12 @@ export interface M3UIOptions {
3471
3600
  seed?: string
3472
3601
  /** How `seed` becomes a scheme: `variant` (`'tonal-spot'` by default) and `contrast` (0 standard, 0.5 medium, 1 high). */
3473
3602
  seedOptions?: SeedOptions
3603
+ /**
3604
+ * M3's contrast level: `'standard'`, `'medium'`, `'high'`, or `'system'` (follows the OS's `prefers-contrast`).
3605
+ * Like `palette`, only the first-visit default unless `persistPalette` is `false`. Built-in palettes need
3606
+ * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.
3607
+ */
3608
+ contrast?: ContrastLevel
3474
3609
  locale?: MaybeRef<Partial<M3Locale>>
3475
3610
  /**
3476
3611
  * Keep `<meta name="theme-color">` (the color phones give the browser bar and status bar) in sync with a color
@@ -3506,6 +3641,15 @@ export interface ActiveSeed extends SeedOptions {
3506
3641
  }
3507
3642
  ```
3508
3643
 
3644
+ ```ts
3645
+ // ── Contrast ─────────────────────────────────────────────────────────────────────────────────────
3646
+ /**
3647
+ * M3's contrast levels. `system` follows the OS (`prefers-contrast: more` → high). Built-in palettes need
3648
+ * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.
3649
+ */
3650
+ export type ContrastLevel = 'standard' | 'medium' | 'high' | 'system'
3651
+ ```
3652
+
3509
3653
  ```ts
3510
3654
  // Dynamic color: a full M3 color scheme (light and dark) generated from one seed color with Google's
3511
3655
  // material-color-utilities (HCT, DynamicScheme). The package is loaded with a dynamic import, so apps that
@@ -3625,6 +3769,9 @@ export interface M3Locale {
3625
3769
  timeToggleKeyboard: string
3626
3770
  timeToggleDial: string
3627
3771
  timeToggleScroll: string
3772
+ sheetExpand: string
3773
+ sheetCollapse: string
3774
+ sheetDismiss: string
3628
3775
  selectRange: string
3629
3776
  pickStart: string
3630
3777
  pickEnd: string
@@ -3823,6 +3970,16 @@ export interface NotificationOptions {
3823
3970
  }
3824
3971
  ```
3825
3972
 
3973
+ ```ts
3974
+ // Material 3's motion tokens for your own animations, from androidx's MotionTokens, StandardMotionTokens and
3975
+ // ExpressiveMotionTokens. The same easings and durations are CSS variables in theme.css (`--ease-*`, which
3976
+ // Tailwind turns into `ease-*` utilities, and `--duration-*`); the springs only make sense in JS, with
3977
+ // `useSpring` (exported next to these) or your own loop. No imports here: _useSpring builds on this file.
3978
+
3979
+ /** A spring: dampingRatio 1 settles without overshoot, lower bounces; higher stiffness is faster */
3980
+ export interface SpringSpec { dampingRatio: number; stiffness: number }
3981
+ ```
3982
+
3826
3983
  ```ts
3827
3984
  /** Options for `v-ripple`. */
3828
3985
  export interface RippleOptions {
@@ -3856,7 +4013,7 @@ export interface EmojiCategory {
3856
4013
  `M3Locale` keys (pass a partial object to `createM3UI({ locale })`; presets from `@m3ui-vue/m3ui-vue/locales`:
3857
4014
  `esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`):
3858
4015
 
3859
- lang, search, noResults, close, cancel, confirm, loading, menu, previous, next, today, more, selectedCount, recordCount, expand, columns, exportCsv, noGroup, finish, dropText, selectText, maxSizePrefix, remove, selectDate, selectTime, timeHourSelection, timeMinuteSelection, timePeriodToggle, timeToggleKeyboard, timeToggleDial, timeToggleScroll, 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
4016
+ lang, search, noResults, close, cancel, confirm, loading, menu, previous, next, today, more, selectedCount, recordCount, expand, columns, exportCsv, noGroup, finish, dropText, selectText, maxSizePrefix, remove, selectDate, selectTime, timeHourSelection, timeMinuteSelection, timePeriodToggle, timeToggleKeyboard, timeToggleDial, timeToggleScroll, sheetExpand, sheetCollapse, sheetDismiss, 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
3860
4017
 
3861
4018
  ## Theme tokens
3862
4019
 
@@ -3864,4 +4021,7 @@ lang, search, noResults, close, cancel, confirm, loading, menu, previous, next,
3864
4021
  - Type scale (`text-*`): display-large, display-medium, display-small, headline-large, headline-medium, headline-small, title-large, title-medium, title-small, body-large, body-medium, body-small, label-large, label-medium, label-small, display-large-emphasized, display-medium-emphasized, display-small-emphasized, headline-large-emphasized, headline-medium-emphasized, headline-small-emphasized, title-large-emphasized, title-medium-emphasized, title-small-emphasized, body-large-emphasized, body-medium-emphasized, body-small-emphasized, label-large-emphasized, label-medium-emphasized, label-small-emphasized
3865
4022
  - Radius (`rounded-*`): xs, sm, md, lg, xl, lg-increased, xl-increased, xxl
3866
4023
  - Shadows (`shadow-*`): elevation-1, elevation-2, elevation-3, elevation-4, elevation-5
4024
+ - Easing (`ease-*`, CSS `--ease-*`): emphasized, emphasized-decelerate, emphasized-accelerate, standard, standard-decelerate, standard-accelerate, legacy, legacy-decelerate, legacy-accelerate
4025
+ - Durations (CSS `--duration-*`, e.g. `duration-(--duration-medium-2)`): 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
4026
+ - Utilities: `scrollbar-none`
3867
4027
  - Palettes (`useColorPalette().set(id)` / `createM3UI({ palette })`): 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