@nxgt/material-vue 0.40.0 → 0.41.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 +53 -0
- package/README.md +1 -1
- package/dist/{Button-BAIJ8YvT.js → Button-BG3oDkrl.js} +132 -94
- package/dist/{HoverCardTrigger-CKtL8teP.js → HoverCardTrigger-Dh1ar_W4.js} +2 -2
- package/dist/{camera-2UuZVfGS.js → camera-DV9jcl_3.js} +4 -4
- package/dist/components/base-content.css +14 -4
- package/dist/{components-CCrK1Sbt.js → components-C1JYYoQ4.js} +13030 -12971
- package/dist/components.js +7 -7
- package/dist/composables.js +2 -2
- package/dist/dnd.js +1 -1
- package/dist/{form-scope-BLjSnqUf.js → form-scope-CeD0v_mw.js} +1 -1
- package/dist/{i18n-provider-BpNC9SxV.js → i18n-provider-D5XyLQ3P.js} +1 -1
- package/dist/i18n.js +4 -4
- package/dist/{icon-button-5bl9odKW.js → icon-button-DXrmfs6e.js} +72 -34
- 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/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/menu-item-loading.d.ts +8 -0
- package/dist/lib/components/ui/overlays/context-menu/ContextMenuItem.vue.d.ts +4 -2
- package/dist/lib/components/ui/overlays/dropdown-menu/DropdownMenuItem.vue.d.ts +4 -2
- package/dist/lib/components/ui/overlays/menubar/MenubarItem.vue.d.ts +4 -2
- package/dist/lib/components/ui/{actions/button/prepend-to-child.d.ts → prepend-to-child.d.ts} +5 -4
- 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 +1 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +1 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +1 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +3 -2
- package/dist/lib/i18n/resources/resources.d.ts +2 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +12 -12
- package/dist/map.js +4 -4
- package/dist/material-vue.css +1 -1
- package/dist/{pdf-outline-sidebar-BUvWHjiE.js → pdf-outline-sidebar-CgmJjhUz.js} +2 -2
- package/dist/{pdf-page-B57B0uES.js → pdf-page-BjQNWV72.js} +1 -1
- package/dist/{pdf-page-list-BHU7pW0b.js → pdf-page-list-nG0l4SjH.js} +2 -2
- package/dist/{pdf-reader-CwTYGXq8.js → pdf-reader-Dekd4Ymw.js} +8 -8
- package/dist/{pdf-sidebar-CtMy8Kw_.js → pdf-sidebar-gDj63dRH.js} +3 -3
- package/dist/{pdf-thumbnail-sidebar-DS0iT3qo.js → pdf-thumbnail-sidebar-C5ikii1Z.js} +3 -3
- package/dist/{pdf-toolbar-DL_vCyXG.js → pdf-toolbar-DmmrSlCq.js} +4 -4
- package/dist/pdf.js +2 -2
- package/dist/{print-format.utils-k5W0GBRF.js → print-format.utils-CiUiQE-i.js} +2 -2
- package/dist/{sortable-provider-cYkCa6tm.js → sortable-provider-lK0srHJF.js} +2 -2
- package/dist/{stored-language-DEyPmUzl.js → stored-language-dM2e5qaS.js} +4 -2
- package/dist/{stx-player-C_lPkXc6.js → stx-player-C2VQCXFc.js} +2 -2
- package/dist/{translator-B62GlCBp.js → translator-DXL5RDRg.js} +1 -1
- package/dist/{use-heading-spy-T94lNeNA.js → use-heading-spy-Btwc0yad.js} +1 -1
- package/dist/{use-material-translation-DxU51--g.js → use-material-translation-Du3Wvsk1.js} +3 -3
- 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 +6 -1
- package/docs/components/overlays-and-menus.md +4 -3
- package/docs/guides/forms.md +10 -4
- package/docs/troubleshooting.md +31 -0
- package/lib/components/base-content.css +14 -4
- package/package.json +1 -1
|
@@ -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
|
|