@m3ui-vue/m3ui-vue 0.9.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/README.md +24 -29
  2. package/dist/API.md +177 -18
  3. package/dist/{MTextField-DKtgPymd.js → MTextField-TZ7lfr09.js} +233 -108
  4. package/dist/MTextField-TZ7lfr09.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/MNavigationRail.vue.d.ts +6 -0
  19. package/dist/components/MSearchBar.vue.d.ts +5 -3
  20. package/dist/components/MShortNavigationBar.vue.d.ts +1 -1
  21. package/dist/components/MTable.vue.d.ts +1 -1
  22. package/dist/components/MTopAppBar.vue.d.ts +33 -2
  23. package/dist/composables/_searchAppBar.d.ts +6 -0
  24. package/dist/composables/_themeTransition.d.ts +2 -0
  25. package/dist/composables/_useSpring.d.ts +3 -5
  26. package/dist/composables/motion.d.ts +101 -0
  27. package/dist/composables/useColorPalette.d.ts +10 -0
  28. package/dist/composables/useLocale.d.ts +3 -0
  29. package/dist/index.d.ts +8 -1
  30. package/dist/locales/index.js +21 -0
  31. package/dist/locales/index.js.map +1 -1
  32. package/dist/m3ui-vue.css +1 -1
  33. package/dist/m3ui.js +6772 -5931
  34. package/dist/m3ui.js.map +1 -1
  35. package/dist/plugin.d.ts +7 -0
  36. package/dist/rich-text-editor.js +2 -2
  37. package/dist/styles/palettes-contrast.css +7764 -0
  38. package/dist/styles/theme.css +46 -2
  39. package/dist/styles.css +1 -1
  40. package/dist/{useLocale-Cn9MVIdw.js → useLocale-CuvWRZ1h.js} +4 -1
  41. package/dist/useLocale-CuvWRZ1h.js.map +1 -0
  42. package/package.json +3 -1
  43. package/src/__tests__/MAppBarWithSearch.test.ts +96 -0
  44. package/src/__tests__/MBottomAppBar.test.ts +71 -0
  45. package/src/__tests__/MBottomSheetScaffold.test.ts +101 -0
  46. package/src/__tests__/MChip.test.ts +63 -0
  47. package/src/__tests__/MFab.test.ts +36 -0
  48. package/src/__tests__/MNavigationRail.test.ts +77 -0
  49. package/src/__tests__/MTopAppBar.test.ts +99 -0
  50. package/src/__tests__/contrast.test.ts +64 -0
  51. package/src/__tests__/dynamicColor.test.ts +17 -0
  52. package/src/__tests__/motion.test.ts +37 -0
  53. package/src/__tests__/themeTransition.test.ts +119 -0
  54. package/src/components/MAppBarWithSearch.vue +236 -0
  55. package/src/components/MBottomAppBar.vue +181 -0
  56. package/src/components/MBottomSheetScaffold.vue +296 -0
  57. package/src/components/MBreadcrumbs.vue +1 -1
  58. package/src/components/MChip.vue +137 -5
  59. package/src/components/MFab.vue +73 -12
  60. package/src/components/MNavigationDrawer.vue +2 -2
  61. package/src/components/MNavigationRail.vue +135 -8
  62. package/src/components/MSearchBar.vue +28 -12
  63. package/src/components/MTopAppBar.vue +252 -28
  64. package/src/composables/_searchAppBar.ts +9 -0
  65. package/src/composables/_themeColor.ts +11 -4
  66. package/src/composables/_themeTransition.ts +71 -0
  67. package/src/composables/_useSpring.ts +11 -21
  68. package/src/composables/motion.ts +73 -0
  69. package/src/composables/useColorPalette.ts +103 -20
  70. package/src/composables/useLocale.ts +6 -0
  71. package/src/composables/useTheme.ts +4 -12
  72. package/src/index.ts +8 -1
  73. package/src/locales/de.ts +3 -0
  74. package/src/locales/es.ts +3 -0
  75. package/src/locales/fr.ts +3 -0
  76. package/src/locales/ja.ts +3 -0
  77. package/src/locales/ko.ts +3 -0
  78. package/src/locales/pt.ts +3 -0
  79. package/src/locales/zh.ts +3 -0
  80. package/src/plugin.ts +9 -1
  81. package/src/styles/palettes-contrast.css +7764 -0
  82. package/src/styles/theme.css +46 -2
  83. package/dist/MTextField-DKtgPymd.js.map +0 -1
  84. 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.0 — API reference
2
2
 
3
3
  Material Design 3 components for Vue 3 + Tailwind CSS v4. Generated from the source by
4
4
  `scripts/generate-api.mjs`; full docs with live demos at https://m3ui.dev.
@@ -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
@@ -1727,10 +1805,11 @@ Props:
1727
1805
  - `alignment?: "top" | "bottom" | "center" = "top"` — Vertical alignment of items within the rail
1728
1806
  - `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
1807
  - `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`.
1808
+ - `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
1809
 
1731
1810
  Events:
1732
1811
  - `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
1812
+ - `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
1813
 
1735
1814
  Slots:
1736
1815
  - `#fab` — A FAB (or MFabMenu) at the top of the rail, above the items.
@@ -2159,7 +2238,7 @@ Props:
2159
2238
  - `modelValue?: string = ""` (v-model) — Search query (v-model)
2160
2239
  - `expanded?: boolean` (v-model:expanded) — Controls the expanded/collapsed state — also works uncontrolled if omitted.
2161
2240
  - `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.
2241
+ - `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
2242
  - `leadingIcon?: string = "search"` — Icon shown in the collapsed bar
2164
2243
  - `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
2244
  - `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 +2247,8 @@ Props:
2168
2247
  - `disabled?: boolean = false` — Disables the collapsed bar
2169
2248
 
2170
2249
  Events:
2171
- - `update:modelValue(string)` — Emitted on every input change — powers v-model
2172
2250
  - `search(string)` — Emitted when Enter is pressed in the input, with the current query
2251
+ - `update:modelValue(string)` — Emitted on every input change — powers v-model
2173
2252
  - `update:expanded(boolean)` — Emitted when the expanded state changes — powers v-model:expanded
2174
2253
 
2175
2254
  Slots:
@@ -2519,9 +2598,9 @@ Props:
2519
2598
  - `closeHint?: string` — Footer hint text for Escape — falls back to the locale's own string when unset
2520
2599
 
2521
2600
  Events:
2601
+ - `search(string)` — Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response
2522
2602
  - `update:modelValue(boolean)` — Emitted on open/close — powers v-model
2523
2603
  - `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
2604
 
2526
2605
  ```ts
2527
2606
  export interface SpotlightResult {
@@ -2541,7 +2620,7 @@ Props:
2541
2620
  - `direction?: "row" | "column" = "column"` — Stack direction
2542
2621
  - `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "md"` — Gap between items (ignored when divider is true)
2543
2622
  - `align?: "center" | "start" | "end" | "stretch" | "baseline" = "stretch"` — Cross-axis alignment
2544
- - `justify?: "center" | "start" | "end" | "between" | "around" | "evenly" = "start"` — Main-axis alignment
2623
+ - `justify?: "center" | "start" | "between" | "around" | "evenly" | "end" = "start"` — Main-axis alignment
2545
2624
  - `wrap?: boolean = false` — Allow items to wrap
2546
2625
  - `divider?: boolean = false` — Show dividers between items instead of a gap
2547
2626
  - `inline?: boolean = false` — Use inline-flex
@@ -2954,7 +3033,7 @@ Props:
2954
3033
  - `orientation?: "horizontal" | "vertical" = "horizontal"` — Layout direction
2955
3034
  - `color?: "surface" | "primary" | "secondary" | "tertiary" = "surface"` — Background color scheme
2956
3035
  - `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
3036
+ - `align?: "center" | "start" | "between" | "end" = "center"` — Item alignment along the main axis
2958
3037
 
2959
3038
  Slots:
2960
3039
  - `#fab` — A FAB rendered alongside the toolbar body, positioned by fabPosition
@@ -2977,15 +3056,20 @@ Slots:
2977
3056
 
2978
3057
  ### MTopAppBar
2979
3058
 
2980
- A top app bar in four M3 layouts — center-aligned, small, medium, and large — with a leading navigation icon and trailing actions.
3059
+ 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
3060
 
2982
3061
  Props:
2983
3062
  - `title?: string` — App bar title
3063
+ - `subtitle?: string` — A line below the title (Compose's `subtitle`): small, center-aligned and flexible medium/large bars
2984
3064
  - `variant?: "center" | "medium" | "small" | "large" = "small"` — 64dp small/center-aligned row, or a 112dp medium / 152dp large two-row layout with the title below
3065
+ - `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)
3066
+ - `titleAlignment?: "center" | "start" = "start"` — Medium/large only: where the title row sits (Compose's `titleHorizontalAlignment`)
2985
3067
  - `navigationIcon?: string` — Leading icon (e.g. menu, arrow_back)
2986
3068
  - `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
3069
  - `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
3070
  - `bordered?: boolean` — Add a bottom border (border-outline-variant)
3071
+ - `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)
3072
+ - `scrollTarget?: string | HTMLElement | null = null` — What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window
2989
3073
 
2990
3074
  Events:
2991
3075
  - `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 +3077,7 @@ Events:
2993
3077
  Slots:
2994
3078
  - `#navigation` — Custom leading area (default: an MIconButton built from the navigationIcon prop)
2995
3079
  - `#title` — Custom title content (default: renders the title prop)
3080
+ - `#subtitle` — Custom subtitle content (default: renders the subtitle prop)
2996
3081
  - `#actions` — Trailing action buttons
2997
3082
 
2998
3083
  ### MTour
@@ -3085,8 +3170,8 @@ Props:
3085
3170
  - `emptyText?: string` — Text shown when nodes is empty. Falls back to the app's configured locale's noItems string
3086
3171
 
3087
3172
  Events:
3088
- - `update:checked((string | number)[])` — Fires when a checkbox toggles a node (checkable mode)
3089
3173
  - `update:selected(string | number | null)` — Fires when a node is clicked, toggling selection (clicking the already-selected node clears it)
3174
+ - `update:checked((string | number)[])` — Fires when a checkbox toggles a node (checkable mode)
3090
3175
  - `node-click(TreeNode)` — Fires whenever a node row is clicked, alongside update:selected
3091
3176
 
3092
3177
  Exposed (template ref):
@@ -3242,6 +3327,9 @@ useColorPalette(): {
3242
3327
  set: (id: string) => void
3243
3328
  seed: Readonly<Ref<{ readonly seed: string; readonly variant?: SchemeVariant; readonly contrast?: number; } | null>>
3244
3329
  setSeed: (seed: string, options?: SeedOptions) => Promise<void>
3330
+ contrast: Readonly<Ref<ContrastLevel>>
3331
+ activeContrast: ComputedRef<Exclude<ContrastLevel, 'system'>>
3332
+ setContrast: (level: ContrastLevel) => void
3245
3333
  persistPalette: Ref<boolean>
3246
3334
  setPersistPalette: (enabled: boolean) => void
3247
3335
  }
@@ -3392,6 +3480,46 @@ usePageProgress(): {
3392
3480
  }
3393
3481
  ```
3394
3482
 
3483
+ ### useSpring
3484
+
3485
+ ```ts
3486
+ useSpring(target: () => number[], apply: (values: readonly number[]) => void, spec: SpringSpec = FAST_SPATIAL): {
3487
+ snap: () => void
3488
+ }
3489
+ ```
3490
+
3491
+ ### motionSprings
3492
+
3493
+ 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.
3494
+
3495
+ ```ts
3496
+ 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; }; }; }
3497
+ ```
3498
+
3499
+ ### motionEasings
3500
+
3501
+ Easing curves as cubic-bezier control points [x1, y1, x2, y2] (theme.css has them as `--ease-*`)
3502
+
3503
+ ```ts
3504
+ 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]; }
3505
+ ```
3506
+
3507
+ ### motionDurations
3508
+
3509
+ Durations in ms (theme.css has them as `--duration-short-1` … `--duration-extra-long-4`)
3510
+
3511
+ ```ts
3512
+ 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; }
3513
+ ```
3514
+
3515
+ ### cubicBezier
3516
+
3517
+ 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
3518
+
3519
+ ```ts
3520
+ cubicBezier(x1: number, y1: number, x2: number, y2: number): (t: number) => number
3521
+ ```
3522
+
3395
3523
  ### vRipple
3396
3524
 
3397
3525
  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 +3599,12 @@ export interface M3UIOptions {
3471
3599
  seed?: string
3472
3600
  /** How `seed` becomes a scheme: `variant` (`'tonal-spot'` by default) and `contrast` (0 standard, 0.5 medium, 1 high). */
3473
3601
  seedOptions?: SeedOptions
3602
+ /**
3603
+ * M3's contrast level: `'standard'`, `'medium'`, `'high'`, or `'system'` (follows the OS's `prefers-contrast`).
3604
+ * Like `palette`, only the first-visit default unless `persistPalette` is `false`. Built-in palettes need
3605
+ * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.
3606
+ */
3607
+ contrast?: ContrastLevel
3474
3608
  locale?: MaybeRef<Partial<M3Locale>>
3475
3609
  /**
3476
3610
  * Keep `<meta name="theme-color">` (the color phones give the browser bar and status bar) in sync with a color
@@ -3506,6 +3640,15 @@ export interface ActiveSeed extends SeedOptions {
3506
3640
  }
3507
3641
  ```
3508
3642
 
3643
+ ```ts
3644
+ // ── Contrast ─────────────────────────────────────────────────────────────────────────────────────
3645
+ /**
3646
+ * M3's contrast levels. `system` follows the OS (`prefers-contrast: more` → high). Built-in palettes need
3647
+ * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.
3648
+ */
3649
+ export type ContrastLevel = 'standard' | 'medium' | 'high' | 'system'
3650
+ ```
3651
+
3509
3652
  ```ts
3510
3653
  // Dynamic color: a full M3 color scheme (light and dark) generated from one seed color with Google's
3511
3654
  // material-color-utilities (HCT, DynamicScheme). The package is loaded with a dynamic import, so apps that
@@ -3625,6 +3768,9 @@ export interface M3Locale {
3625
3768
  timeToggleKeyboard: string
3626
3769
  timeToggleDial: string
3627
3770
  timeToggleScroll: string
3771
+ sheetExpand: string
3772
+ sheetCollapse: string
3773
+ sheetDismiss: string
3628
3774
  selectRange: string
3629
3775
  pickStart: string
3630
3776
  pickEnd: string
@@ -3823,6 +3969,16 @@ export interface NotificationOptions {
3823
3969
  }
3824
3970
  ```
3825
3971
 
3972
+ ```ts
3973
+ // Material 3's motion tokens for your own animations, from androidx's MotionTokens, StandardMotionTokens and
3974
+ // ExpressiveMotionTokens. The same easings and durations are CSS variables in theme.css (`--ease-*`, which
3975
+ // Tailwind turns into `ease-*` utilities, and `--duration-*`); the springs only make sense in JS, with
3976
+ // `useSpring` (exported next to these) or your own loop. No imports here: _useSpring builds on this file.
3977
+
3978
+ /** A spring: dampingRatio 1 settles without overshoot, lower bounces; higher stiffness is faster */
3979
+ export interface SpringSpec { dampingRatio: number; stiffness: number }
3980
+ ```
3981
+
3826
3982
  ```ts
3827
3983
  /** Options for `v-ripple`. */
3828
3984
  export interface RippleOptions {
@@ -3856,7 +4012,7 @@ export interface EmojiCategory {
3856
4012
  `M3Locale` keys (pass a partial object to `createM3UI({ locale })`; presets from `@m3ui-vue/m3ui-vue/locales`:
3857
4013
  `esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`):
3858
4014
 
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
4015
+ 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
4016
 
3861
4017
  ## Theme tokens
3862
4018
 
@@ -3864,4 +4020,7 @@ lang, search, noResults, close, cancel, confirm, loading, menu, previous, next,
3864
4020
  - 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
4021
  - Radius (`rounded-*`): xs, sm, md, lg, xl, lg-increased, xl-increased, xxl
3866
4022
  - Shadows (`shadow-*`): elevation-1, elevation-2, elevation-3, elevation-4, elevation-5
4023
+ - Easing (`ease-*`, CSS `--ease-*`): emphasized, emphasized-decelerate, emphasized-accelerate, standard, standard-decelerate, standard-accelerate, legacy, legacy-decelerate, legacy-accelerate
4024
+ - 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
4025
+ - Utilities: `scrollbar-none`
3867
4026
  - 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