@nxgt/material-vue 0.40.1 → 0.42.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.
- package/CHANGELOG.md +60 -0
- package/README.md +3 -2
- package/dist/{Button-teS2p_af.js → Button-CWmzvv9p.js} +132 -94
- package/dist/{HoverCardTrigger-BEzEsgBo.js → HoverCardTrigger-C5AbAyHE.js} +2 -2
- package/dist/{camera-1QRTmpnM.js → camera-C-9slBUV.js} +4 -4
- package/dist/components/base-content.css +14 -4
- package/dist/{components-XJ95qxB1.js → components-DX4EycMi.js} +10131 -9800
- package/dist/components.js +8 -8
- package/dist/composables.js +2 -2
- package/dist/dnd.js +1 -1
- package/dist/{form-scope-BtEP6yC2.js → form-scope-CN68PTXc.js} +1 -1
- package/dist/{i18n-provider-BpNC9SxV.js → i18n-provider-DmZSTBnp.js} +1 -1
- package/dist/i18n.js +4 -4
- package/dist/{icon-button-Vz4NECf1.js → icon-button-DErh1aJS.js} +43 -5
- package/dist/lib/components/ui/actions/button/Button.vue.d.ts +1 -1
- package/dist/lib/components/ui/actions/button/button.compound-variants.d.ts +28 -0
- package/dist/lib/components/ui/actions/button/button.variants.d.ts +8 -2
- package/dist/lib/components/ui/actions/copy-button/copy-button.vue.d.ts +1 -1
- package/dist/lib/components/ui/actions/copy-button/use-copy-status.d.ts +3 -1
- package/dist/lib/components/ui/actions/icon-button/icon-button.compound-variants.d.ts +28 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +8 -2
- package/dist/lib/components/ui/actions/icon-button/icon-button.vue.d.ts +1 -1
- package/dist/lib/components/ui/actions/link/icon-link-button.vue.d.ts +1 -1
- package/dist/lib/components/ui/actions/link/link-button.vue.d.ts +1 -1
- package/dist/lib/components/ui/actions/link/responsive-link-button.vue.d.ts +1 -1
- package/dist/lib/components/ui/actions/load-more-button/load-more-button.vue.d.ts +1 -1
- package/dist/lib/components/ui/actions/scroll-to-top/scroll-to-top.vue.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/cards.gallery.d.ts +3 -3
- package/dist/lib/components/ui/display/chip/chip.utils.d.ts +1 -1
- package/dist/lib/components/ui/display/enrolment-secret/enrolment-secret.vue.d.ts +17 -1
- package/dist/lib/components/ui/display/qrcode/qrcode.vue.d.ts +6 -0
- package/dist/lib/components/ui/display/recovery-codes/index.d.ts +1 -1
- package/dist/lib/components/ui/display/recovery-codes/partials/recovery-codes-actions.vue.d.ts +20 -2
- package/dist/lib/components/ui/display/recovery-codes/recovery-codes.vue.d.ts +9 -1
- package/dist/lib/components/ui/display/recovery-codes/types.d.ts +4 -0
- package/dist/lib/components/ui/display/recovery-codes/use-recovery-codes-labels.d.ts +1 -0
- package/dist/lib/components/ui/fields/contacts/consts.d.ts +1 -1
- package/dist/lib/components/ui/fields/otp-field/otp-field.vue.d.ts +2 -0
- package/dist/lib/components/ui/layout/account-menu/account-menu-avatar.vue.d.ts +9 -0
- package/dist/lib/components/ui/layout/account-menu/account-menu.vue.d.ts +38 -0
- package/dist/lib/components/ui/layout/account-menu/index.d.ts +3 -0
- package/dist/lib/components/ui/layout/account-menu/types.d.ts +10 -0
- package/dist/lib/components/ui/layout/app-shell/activity-layout.vue.d.ts +21 -5
- package/dist/lib/components/ui/layout/app-shell/app-brand-logo.vue.d.ts +20 -0
- package/dist/lib/components/ui/layout/app-shell/app-brand.vue.d.ts +30 -0
- package/dist/lib/components/ui/layout/app-shell/app-header.vue.d.ts +13 -5
- package/dist/lib/components/ui/layout/app-shell/app-sidebar.vue.d.ts +12 -2
- package/dist/lib/components/ui/layout/app-shell/index.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +10 -0
- package/dist/lib/components/ui/layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/stepper/stepper.vue.d.ts +7 -2
- package/dist/lib/components/ui/media/carousel/carousel-next.vue.d.ts +1 -1
- package/dist/lib/components/ui/media/carousel/carousel-previous.vue.d.ts +1 -1
- package/dist/lib/components/ui/primitives/input-group/input-group-button.vue.d.ts +1 -1
- package/dist/lib/i18n/resources/en/en.d.ts +5 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +5 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +5 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +7 -2
- package/dist/lib/i18n/resources/resources.d.ts +10 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/nuxt/component-names.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +17 -17
- package/dist/map.js +4 -4
- package/dist/material-vue.css +1 -1
- package/dist/{pdf-outline-sidebar-DINCjWKk.js → pdf-outline-sidebar-BU4o_hBI.js} +2 -2
- package/dist/{pdf-page-BLJ0xkS3.js → pdf-page-anNe78Lc.js} +1 -1
- package/dist/{pdf-page-list-BNUPVA9x.js → pdf-page-list-CSY76HH6.js} +2 -2
- package/dist/{pdf-reader-BcB_Kd_F.js → pdf-reader-BhZNrW7R.js} +8 -8
- package/dist/{pdf-sidebar-B7WgcY77.js → pdf-sidebar-DcIpG7eh.js} +3 -3
- package/dist/{pdf-thumbnail-sidebar-BRtyyBPt.js → pdf-thumbnail-sidebar-CUC0V4if.js} +3 -3
- package/dist/{pdf-toolbar-_CBHSMnH.js → pdf-toolbar-C373S-ul.js} +4 -4
- package/dist/pdf.js +2 -2
- package/dist/{print-format.utils-k5W0GBRF.js → print-format.utils-C81c0weJ.js} +2 -2
- package/dist/{sortable-provider-Dw9TBAlq.js → sortable-provider-CL2UGGn8.js} +2 -2
- package/dist/{stored-language-DEyPmUzl.js → stored-language-Wtcj2HsU.js} +12 -2
- package/dist/{stx-player-CgwzX7_k.js → stx-player-CMmM3F5Z.js} +12 -12
- package/dist/{translator-B62GlCBp.js → translator-D5Dp-dob.js} +1 -1
- package/dist/{use-heading-spy-T94lNeNA.js → use-heading-spy-BIBHtUXN.js} +1 -1
- package/dist/{use-material-translation-DxU51--g.js → use-material-translation-COoBTGpB.js} +3 -3
- package/docs/components/README.md +2 -1
- package/docs/components/buttons-and-actions.md +2 -2
- package/docs/components/data-display.md +14 -7
- package/docs/components/data-table-filter-and-lists.md +3 -1
- package/docs/components/feedback-and-status.md +7 -2
- package/docs/components/form-fields.md +2 -1
- package/docs/components/navigation-and-layout.md +62 -2
- package/docs/guides/app-shell.md +99 -19
- package/docs/guides/forms.md +10 -4
- package/docs/guides/i18n.md +1 -1
- package/docs/previews/navigation-layout-accountmenu.webp +0 -0
- package/docs/roadmap.md +9 -0
- package/docs/troubleshooting.md +31 -0
- package/lib/components/base-content.css +14 -4
- package/lib/nuxt/component-names.ts +1 -0
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./utils-CykWQ0iJ.js";
|
|
2
|
-
import { _r as t, hr as n, mr as r } from "./components-
|
|
3
|
-
import { t as i } from "./use-material-translation-
|
|
4
|
-
import { t as a } from "./Button-
|
|
5
|
-
import { t as o } from "./icon-button-
|
|
2
|
+
import { _r as t, hr as n, mr as r } from "./components-DX4EycMi.js";
|
|
3
|
+
import { t as i } from "./use-material-translation-COoBTGpB.js";
|
|
4
|
+
import { t as a } from "./Button-CWmzvv9p.js";
|
|
5
|
+
import { t as o } from "./icon-button-DErh1aJS.js";
|
|
6
6
|
import { createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, ref as g, renderSlot as _, shallowRef as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
|
|
7
7
|
import { Pause as S, Play as C } from "@lucide/vue";
|
|
8
8
|
//#region lib/components/ui/media/camera/camera-content.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -139,13 +139,23 @@
|
|
|
139
139
|
[contenteditable]
|
|
140
140
|
) {
|
|
141
141
|
scroll-margin-bottom: calc(
|
|
142
|
-
var(
|
|
143
|
-
|
|
142
|
+
var(
|
|
143
|
+
--form-actions-clearance,
|
|
144
|
+
var(--form-actions-clearance-default, 6rem)
|
|
145
|
+
) +
|
|
146
|
+
var(--form-actions-fill, 0px) +
|
|
147
|
+
max(0px, calc(env(safe-area-inset-bottom, 0px) - 1rem))
|
|
144
148
|
);
|
|
145
149
|
}
|
|
146
|
-
/*
|
|
150
|
+
/* A phone's actions wrap their labels over two lines and a field has an
|
|
151
|
+
error line: 8rem covers both (`--form-actions-clearance` still wins). */
|
|
152
|
+
@variant max-sm {
|
|
153
|
+
--form-actions-clearance-default: 8rem;
|
|
154
|
+
}
|
|
155
|
+
/* Sticky at the bottom of whatever scrolls the form: in reach. Padded
|
|
156
|
+
for the safe area (`viewport-fit=cover`: the home indicator). */
|
|
147
157
|
[data-slot="form-actions"] {
|
|
148
|
-
@apply sticky bottom-0 z-10 flex w-full justify-end gap-2 bg-background/90 p-4 backdrop-blur-sm max-sm:*:flex-1;
|
|
158
|
+
@apply sticky bottom-0 z-10 flex w-full justify-end gap-2 bg-background/90 p-4 pb-[max(1rem,env(safe-area-inset-bottom))] backdrop-blur-sm max-sm:*:flex-1;
|
|
149
159
|
}
|
|
150
160
|
}
|
|
151
161
|
|