@m3ui-vue/m3ui-vue 0.8.6 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/{MMenuItem-BmPLAyv5.js → MMenuItem-DmrsQrK7.js} +2 -2
- package/dist/{MMenuItem-BmPLAyv5.js.map → MMenuItem-DmrsQrK7.js.map} +1 -1
- package/dist/chart.js +5 -1
- package/dist/chart.js.map +1 -1
- package/dist/code-editor.js +1 -1
- package/dist/components/MBottomSheet.vue.d.ts +3 -3
- package/dist/components/MListDetail.vue.d.ts +31 -0
- package/dist/components/MNavigationRail.vue.d.ts +6 -3
- package/dist/components/MNavigationSuite.vue.d.ts +46 -0
- package/dist/components/MShortNavigationBar.vue.d.ts +6 -1
- package/dist/components/MSideSheet.vue.d.ts +4 -4
- package/dist/components/MSupportingPane.vue.d.ts +34 -0
- package/dist/components/MTransferList.vue.d.ts +55 -34
- package/dist/components/MWindow.vue.d.ts +39 -1
- package/dist/components/_MTransferPane.vue.d.ts +10 -3
- package/dist/composables/_useItemLink.d.ts +30 -0
- package/dist/composables/_useSheetMotion.d.ts +7 -0
- package/dist/composables/useLocale.d.ts +3 -0
- package/dist/composables/useWindowSizeClass.d.ts +19 -0
- package/dist/index.d.ts +6 -0
- package/dist/locales/index.js +28 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +2357 -1868
- package/dist/m3ui.js.map +1 -1
- package/dist/rich-text-editor.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/{useLocale-4afAzuuP.js → useLocale-Bircp823.js} +5 -2
- package/dist/useLocale-Bircp823.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/MChart.test.ts +28 -0
- package/src/__tests__/MShortNavigationBar.test.ts +25 -0
- package/src/__tests__/MTransferList.test.ts +73 -0
- package/src/__tests__/MWindow.test.ts +258 -0
- package/src/__tests__/adaptiveLayouts.test.ts +191 -0
- package/src/__tests__/sheets.test.ts +76 -0
- package/src/components/MBottomSheet.vue +11 -57
- package/src/components/MChart.vue +2 -1
- package/src/components/MListDetail.vue +103 -0
- package/src/components/MNavigationRail.vue +13 -8
- package/src/components/MNavigationSuite.vue +89 -0
- package/src/components/MShortNavigationBar.vue +37 -17
- package/src/components/MSideSheet.vue +11 -56
- package/src/components/MSupportingPane.vue +70 -0
- package/src/components/MTransferList.vue +43 -9
- package/src/components/MWindow.vue +507 -108
- package/src/components/_MTransferPane.vue +113 -35
- package/src/composables/_useItemLink.ts +19 -0
- package/src/composables/_useSheetMotion.ts +181 -0
- package/src/composables/useLocale.ts +7 -0
- package/src/composables/useWindowSizeClass.ts +93 -0
- package/src/index.ts +6 -0
- package/src/locales/de.ts +3 -0
- package/src/locales/es.ts +3 -0
- package/src/locales/fr.ts +3 -0
- package/src/locales/ja.ts +3 -0
- package/src/locales/ko.ts +3 -0
- package/src/locales/pt.ts +3 -0
- package/src/locales/zh.ts +3 -0
- package/dist/useLocale-4afAzuuP.js.map +0 -1
package/README.md
CHANGED
|
@@ -256,6 +256,9 @@ const name = ref('')
|
|
|
256
256
|
|---|---|
|
|
257
257
|
| `MContainer` | Centered max-width container |
|
|
258
258
|
| `MAppLayout` | Full app layout scaffold |
|
|
259
|
+
| `MNavigationSuite` | Adaptive navigation (M3 `NavigationSuiteScaffold`): short bar on phones, rail from tablets up, chosen by the component's own size |
|
|
260
|
+
| `MListDetail` | M3 list-detail layout: two panes from 840px, one at a time (with `back()`) below |
|
|
261
|
+
| `MSupportingPane` | M3 supporting pane layout: beside the main pane from 840px, below it or in a bottom sheet below |
|
|
259
262
|
| `MGrid` | Responsive grid |
|
|
260
263
|
| `MStack` / `MFlex` / `MBox` | Flexbox utilities |
|
|
261
264
|
| `MCenter` | Center content |
|
|
@@ -339,6 +342,7 @@ import { MBarcode } from '@m3ui-vue/m3ui-vue/barcode'
|
|
|
339
342
|
| `useFieldBg()` | Context-aware field background color |
|
|
340
343
|
| `useLocale()` | i18n locale switching |
|
|
341
344
|
| `useDevice()` | Responsive breakpoint detection |
|
|
345
|
+
| `useWindowSizeClass()` | M3 width/height size classes (compact → extra-large) for the window or any element |
|
|
342
346
|
| `usePageProgress()` | Shared state for `MPageProgress`'s `start()`/`set()`/`done()` — drive it by hand or let the component auto-wire vue-router |
|
|
343
347
|
|
|
344
348
|
## Color Palettes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./useLocale-
|
|
1
|
+
import { r as e } from "./useLocale-Bircp823.js";
|
|
2
2
|
import { t } from "./MIcon-CaEooCmZ.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { Fragment as r, Teleport as i, Transition as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, inject as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onMounted as y, onUnmounted as b, openBlock as x, provide as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as E, toDisplayString as D, unref as O, useId as k, useSlots as A, watch as j, withCtx as M, withModifiers as N } from "vue";
|
|
@@ -1011,4 +1011,4 @@ var ie = "relative inline-flex shrink-0 items-center justify-center overflow-hid
|
|
|
1011
1011
|
//#endregion
|
|
1012
1012
|
export { se as a, re as c, le as i, V as l, we as n, W as o, ve as r, H as s, Oe as t, R as u };
|
|
1013
1013
|
|
|
1014
|
-
//# sourceMappingURL=MMenuItem-
|
|
1014
|
+
//# sourceMappingURL=MMenuItem-DmrsQrK7.js.map
|