@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.
Files changed (83) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +1 -1
  3. package/dist/{Button-BAIJ8YvT.js → Button-BG3oDkrl.js} +132 -94
  4. package/dist/{HoverCardTrigger-CKtL8teP.js → HoverCardTrigger-Dh1ar_W4.js} +2 -2
  5. package/dist/{camera-2UuZVfGS.js → camera-DV9jcl_3.js} +4 -4
  6. package/dist/components/base-content.css +14 -4
  7. package/dist/{components-CCrK1Sbt.js → components-C1JYYoQ4.js} +13030 -12971
  8. package/dist/components.js +7 -7
  9. package/dist/composables.js +2 -2
  10. package/dist/dnd.js +1 -1
  11. package/dist/{form-scope-BLjSnqUf.js → form-scope-CeD0v_mw.js} +1 -1
  12. package/dist/{i18n-provider-BpNC9SxV.js → i18n-provider-D5XyLQ3P.js} +1 -1
  13. package/dist/i18n.js +4 -4
  14. package/dist/{icon-button-5bl9odKW.js → icon-button-DXrmfs6e.js} +72 -34
  15. package/dist/lib/components/ui/actions/button/Button.vue.d.ts +1 -1
  16. package/dist/lib/components/ui/actions/button/button.compound-variants.d.ts +28 -0
  17. package/dist/lib/components/ui/actions/button/button.variants.d.ts +8 -2
  18. package/dist/lib/components/ui/actions/copy-button/copy-button.vue.d.ts +1 -1
  19. package/dist/lib/components/ui/actions/copy-button/use-copy-status.d.ts +3 -1
  20. package/dist/lib/components/ui/actions/icon-button/icon-button.compound-variants.d.ts +28 -0
  21. package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +8 -2
  22. package/dist/lib/components/ui/actions/icon-button/icon-button.vue.d.ts +1 -1
  23. package/dist/lib/components/ui/actions/link/icon-link-button.vue.d.ts +1 -1
  24. package/dist/lib/components/ui/actions/link/link-button.vue.d.ts +1 -1
  25. package/dist/lib/components/ui/actions/link/responsive-link-button.vue.d.ts +1 -1
  26. package/dist/lib/components/ui/actions/load-more-button/load-more-button.vue.d.ts +1 -1
  27. package/dist/lib/components/ui/actions/scroll-to-top/scroll-to-top.vue.d.ts +1 -1
  28. package/dist/lib/components/ui/display/cards/cards.gallery.d.ts +3 -3
  29. package/dist/lib/components/ui/display/chip/chip.utils.d.ts +1 -1
  30. package/dist/lib/components/ui/display/enrolment-secret/enrolment-secret.vue.d.ts +17 -1
  31. package/dist/lib/components/ui/display/qrcode/qrcode.vue.d.ts +6 -0
  32. package/dist/lib/components/ui/display/recovery-codes/index.d.ts +1 -1
  33. package/dist/lib/components/ui/display/recovery-codes/partials/recovery-codes-actions.vue.d.ts +20 -2
  34. package/dist/lib/components/ui/display/recovery-codes/recovery-codes.vue.d.ts +9 -1
  35. package/dist/lib/components/ui/display/recovery-codes/types.d.ts +4 -0
  36. package/dist/lib/components/ui/display/recovery-codes/use-recovery-codes-labels.d.ts +1 -0
  37. package/dist/lib/components/ui/fields/contacts/consts.d.ts +1 -1
  38. package/dist/lib/components/ui/fields/otp-field/otp-field.vue.d.ts +2 -0
  39. package/dist/lib/components/ui/layout/stepper/stepper.vue.d.ts +7 -2
  40. package/dist/lib/components/ui/media/carousel/carousel-next.vue.d.ts +1 -1
  41. package/dist/lib/components/ui/media/carousel/carousel-previous.vue.d.ts +1 -1
  42. package/dist/lib/components/ui/menu-item-loading.d.ts +8 -0
  43. package/dist/lib/components/ui/overlays/context-menu/ContextMenuItem.vue.d.ts +4 -2
  44. package/dist/lib/components/ui/overlays/dropdown-menu/DropdownMenuItem.vue.d.ts +4 -2
  45. package/dist/lib/components/ui/overlays/menubar/MenubarItem.vue.d.ts +4 -2
  46. package/dist/lib/components/ui/{actions/button/prepend-to-child.d.ts → prepend-to-child.d.ts} +5 -4
  47. package/dist/lib/components/ui/primitives/input-group/input-group-button.vue.d.ts +1 -1
  48. package/dist/lib/i18n/resources/en/en.d.ts +1 -0
  49. package/dist/lib/i18n/resources/en/material.json.d.ts +1 -0
  50. package/dist/lib/i18n/resources/fr/fr.d.ts +1 -0
  51. package/dist/lib/i18n/resources/fr/material.json.d.ts +3 -2
  52. package/dist/lib/i18n/resources/resources.d.ts +2 -0
  53. package/dist/lib/i18n/translator.d.ts +1 -1
  54. package/dist/lib.js +1 -1
  55. package/dist/main.js +12 -12
  56. package/dist/map.js +4 -4
  57. package/dist/material-vue.css +1 -1
  58. package/dist/{pdf-outline-sidebar-BUvWHjiE.js → pdf-outline-sidebar-CgmJjhUz.js} +2 -2
  59. package/dist/{pdf-page-B57B0uES.js → pdf-page-BjQNWV72.js} +1 -1
  60. package/dist/{pdf-page-list-BHU7pW0b.js → pdf-page-list-nG0l4SjH.js} +2 -2
  61. package/dist/{pdf-reader-CwTYGXq8.js → pdf-reader-Dekd4Ymw.js} +8 -8
  62. package/dist/{pdf-sidebar-CtMy8Kw_.js → pdf-sidebar-gDj63dRH.js} +3 -3
  63. package/dist/{pdf-thumbnail-sidebar-DS0iT3qo.js → pdf-thumbnail-sidebar-C5ikii1Z.js} +3 -3
  64. package/dist/{pdf-toolbar-DL_vCyXG.js → pdf-toolbar-DmmrSlCq.js} +4 -4
  65. package/dist/pdf.js +2 -2
  66. package/dist/{print-format.utils-k5W0GBRF.js → print-format.utils-CiUiQE-i.js} +2 -2
  67. package/dist/{sortable-provider-cYkCa6tm.js → sortable-provider-lK0srHJF.js} +2 -2
  68. package/dist/{stored-language-DEyPmUzl.js → stored-language-dM2e5qaS.js} +4 -2
  69. package/dist/{stx-player-C_lPkXc6.js → stx-player-C2VQCXFc.js} +2 -2
  70. package/dist/{translator-B62GlCBp.js → translator-DXL5RDRg.js} +1 -1
  71. package/dist/{use-heading-spy-T94lNeNA.js → use-heading-spy-Btwc0yad.js} +1 -1
  72. package/dist/{use-material-translation-DxU51--g.js → use-material-translation-Du3Wvsk1.js} +3 -3
  73. package/docs/components/buttons-and-actions.md +2 -2
  74. package/docs/components/data-display.md +14 -7
  75. package/docs/components/data-table-filter-and-lists.md +3 -1
  76. package/docs/components/feedback-and-status.md +7 -2
  77. package/docs/components/form-fields.md +2 -1
  78. package/docs/components/navigation-and-layout.md +6 -1
  79. package/docs/components/overlays-and-menus.md +4 -3
  80. package/docs/guides/forms.md +10 -4
  81. package/docs/troubleshooting.md +31 -0
  82. package/lib/components/base-content.css +14 -4
  83. package/package.json +1 -1
@@ -139,13 +139,23 @@
139
139
  [contenteditable]
140
140
  ) {
141
141
  scroll-margin-bottom: calc(
142
- var(--form-actions-clearance, 6rem) +
143
- var(--form-actions-fill, 0px)
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
- /* Sticky at the bottom of whatever scrolls the form: in reach. */
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