@nxgt/material-vue 0.33.0 → 0.35.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 (49) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/{Button-DEA5W6O3.js → Button-C6GBoxwB.js} +1 -1
  3. package/dist/{HoverCardTrigger-CjSteFgk.js → HoverCardTrigger-BRajrP9V.js} +2 -2
  4. package/dist/{camera-B063QUeM.js → camera-BIK3JMQq.js} +4 -4
  5. package/dist/{components-CmIOfRO4.js → components-B3e9Djen.js} +9046 -8992
  6. package/dist/components.js +6 -6
  7. package/dist/composables.js +3 -3
  8. package/dist/dnd.js +1 -1
  9. package/dist/{form-scope-DuDx5Jyx.js → form-scope-DH96Nu9y.js} +1 -1
  10. package/dist/{i18n-provider-CiVi05fs.js → i18n-provider-D0wc5ysD.js} +1 -1
  11. package/dist/i18n.js +4 -4
  12. package/dist/{icon-button-CWcOcNHr.js → icon-button-Cep-hCMB.js} +1 -1
  13. package/dist/lib/components/ui/display/chip/chip.utils.d.ts +9 -0
  14. package/dist/lib/components/ui/display/chip/chip.vue.d.ts +29 -16
  15. package/dist/lib/components/ui/display/chip/index.d.ts +1 -0
  16. package/dist/lib/components/ui/primitives/typography/typography.vue.d.ts +7 -4
  17. package/dist/lib/components/ui/selection/select-field/select-field.vue.d.ts +2 -0
  18. package/dist/lib/i18n/resources/en/material.json.d.ts +1 -1
  19. package/dist/lib/i18n/resources/fr/material.json.d.ts +1 -1
  20. package/dist/lib.js +5 -5
  21. package/dist/main.js +13 -13
  22. package/dist/map.js +4 -4
  23. package/dist/material-vue.css +1 -1
  24. package/dist/{number.utils-Cy1z6qI7.js → number.utils-Bpo9tUaJ.js} +20 -20
  25. package/dist/{pdf-outline-sidebar-CzY59j_Y.js → pdf-outline-sidebar-Bjz8jMaZ.js} +2 -2
  26. package/dist/{pdf-page-nM_fvTHh.js → pdf-page-BRtEfDpx.js} +1 -1
  27. package/dist/{pdf-page-list-BMxNOnPk.js → pdf-page-list-DUSFOt6b.js} +2 -2
  28. package/dist/{pdf-reader-Dpv3oWe1.js → pdf-reader-Dhuuu3ud.js} +8 -8
  29. package/dist/{pdf-sidebar-DkefUgWg.js → pdf-sidebar-BOsuIcvK.js} +3 -3
  30. package/dist/{pdf-thumbnail-sidebar-I6i1lv5J.js → pdf-thumbnail-sidebar-CEinOvk3.js} +3 -3
  31. package/dist/{pdf-toolbar-Da6UMt1O.js → pdf-toolbar-ZYITLhtl.js} +4 -4
  32. package/dist/pdf.js +2 -2
  33. package/dist/{print-format.utils-DwJfU1tK.js → print-format.utils-DpBtUJvL.js} +1 -1
  34. package/dist/{sortable-provider-Cvpqk8tp.js → sortable-provider-BCawiL69.js} +2 -2
  35. package/dist/{stored-language-GDRdeYD8.js → stored-language-CGMzf-kR.js} +2 -2
  36. package/dist/{stx-player-CN7Ic8tP.js → stx-player-DAhHmRHW.js} +2 -2
  37. package/dist/{translator-BDFEmlcL.js → translator-DhrnT0YX.js} +1 -1
  38. package/dist/{use-heading-spy-DimKb49j.js → use-heading-spy-BF4hsZLZ.js} +2 -2
  39. package/dist/{use-material-translation-CaHS6oZz.js → use-material-translation-D30V5LyT.js} +3 -3
  40. package/docs/components/data-display.md +14 -2
  41. package/docs/components/data-table-filter-and-lists.md +2 -1
  42. package/docs/components/date-and-time.md +6 -0
  43. package/docs/components/feedback-and-status.md +3 -1
  44. package/docs/components/primitives.md +10 -2
  45. package/docs/components/selection-and-choice.md +2 -1
  46. package/docs/guides/i18n.md +2 -0
  47. package/docs/roadmap.md +33 -15
  48. package/docs/troubleshooting.md +48 -0
  49. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # @nxgt/material-vue
2
2
 
3
+ ## 0.35.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#547](https://github.com/softistx/nxgt-material/pull/547) [`20f68b0`](https://github.com/softistx/nxgt-material/commit/20f68b02ff171ebda7cd0e30ada9103a633949b8) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `Chip`: the ✕ is a 24px target (WCAG 2.5.8) on the same chip height. New
8
+ `dismissLabel` (a string, or a function of the label's text) names the ✕ instead
9
+ of "Remove {label}". `ref` (React) and the exposed `el` and `focus()` (Vue)
10
+ reach the chip's body in every mode. New `variant="dashed"`, a muted dashed pill
11
+ that turns solid once `active`, and `size="sm"` for a compact chip. The label-only span now has `tabindex="-1"`, so `focus()` works there, and a
12
+ consumer's `tabindex` still wins. `ChipVariant` and `ChipSize` are now exported.
13
+
14
+ - [#546](https://github.com/softistx/nxgt-material/pull/546) [`d284fd3`](https://github.com/softistx/nxgt-material/commit/d284fd32de610cd28db3b8066a64ccd913764ce6) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `DataTablePagination`: the "Rows per page" select is named by its label, an
15
+ empty table shows no "Page 1 of 0", and the selection message now leads with
16
+ the count: "No rows selected of 128", "1 row selected of 128" (French: "Aucune
17
+ ligne sélectionnée sur 128"). This changes the `material.table.pagination.rows-selected`
18
+ copy; apps that override it should adopt the new ICU form. `SelectField` takes
19
+ `aria-labelledby` (React) / `ariaLabelledby` (Vue). The React `FilterChips`
20
+ removes a filter with a real "Remove" button, no longer by a click on the chip.
21
+
22
+ ### Patch Changes
23
+
24
+ - [#541](https://github.com/softistx/nxgt-material/pull/541) [`6d10133`](https://github.com/softistx/nxgt-material/commit/6d1013356e8c42631166b6281081811912e31323) Thanks [@SteveGT96](https://github.com/SteveGT96)! - The roadmaps plan one Vite plugin for the setup, and list the strict Content
25
+ Security Policy as shipped.
26
+ - Updated dependencies [[`6d10133`](https://github.com/softistx/nxgt-material/commit/6d1013356e8c42631166b6281081811912e31323)]:
27
+ - @nxgt/material-core@0.9.1
28
+
29
+ ## 0.34.0
30
+
31
+ ### Minor Changes
32
+
33
+ - [#530](https://github.com/softistx/nxgt-material/pull/530) [`9b7fa1e`](https://github.com/softistx/nxgt-material/commit/9b7fa1e240d8dfd479d8b75f7bf68b546dca400a) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Fixes [#527](https://github.com/softistx/nxgt-material/issues/527). `Typography` takes `as` (the element to render, `div` by default) and `asChild` (merge the variant classes onto the single child), so an inline text or a heading keeps its variant: `<Typography as="span" variant="title-small">Inline</Typography>`. The default output is unchanged.
34
+
35
+ Apps that carry a workaround marked `Temporary, until material [#527](https://github.com/softistx/nxgt-material/issues/527)` can remove it once they take this version.
36
+
37
+ ### Patch Changes
38
+
39
+ - [#533](https://github.com/softistx/nxgt-material/pull/533) [`58a9ee5`](https://github.com/softistx/nxgt-material/commit/58a9ee5d62218542352fec7949d657e4c9627ea0) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Fixes [#524](https://github.com/softistx/nxgt-material/issues/524). The trigger of `DateField`, `DateFormField`, `DateRangeField`,
40
+ `DateRangeFormField` and `TimeField` wrote the chosen value with date-fns'
41
+ default (English) locale, so a French page showed 1 September 2028 as
42
+ `09/01/2028` and a time as `2:30 PM`. It now uses the language of the calendar:
43
+ the field's own `locale` (React), else the `I18nProvider` language, else
44
+ English, so a French page shows `01/09/2028` and `14:30`.
45
+ With no provider, or in English, the output is unchanged.
46
+
47
+ Apps that carry a workaround marked `Temporary, until material [#524](https://github.com/softistx/nxgt-material/issues/524)` can remove
48
+ it once they take this version.
49
+
50
+ - [#529](https://github.com/softistx/nxgt-material/pull/529) [`22d1b59`](https://github.com/softistx/nxgt-material/commit/22d1b592a5243c26ba77eb0bf6b80fef27008cf9) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Fixes [#526](https://github.com/softistx/nxgt-material/issues/526). `EmptyState` no longer shows the preset's description under your own title. The preset's description is the companion of the preset's title: with your own `title` (or a `#title` slot in Vue) and no `description`, no description is rendered, not even an empty element. With no `title`, the preset title and description both show as before, and an explicit `description` (or `#description` slot) always wins. Pass `description` to keep a line under your own title.
51
+
52
+ Apps that carry a workaround marked `Temporary, until material [#526](https://github.com/softistx/nxgt-material/issues/526)` (a `description=""` or a hidden description) can remove it once they take this version.
53
+
3
54
  ## 0.33.0
4
55
 
5
56
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { t } from "./use-material-translation-CaHS6oZz.js";
2
+ import { t } from "./use-material-translation-D30V5LyT.js";
3
3
  import { Comment as n, Fragment as r, Text as i, computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, guardReactiveProps as f, h as p, inject as ee, isVNode as m, mergeProps as h, normalizeClass as g, normalizeProps as _, onBeforeUnmount as v, openBlock as y, provide as b, ref as x, renderSlot as S, shallowRef as C, unref as w, useAttrs as te, useSlots as ne, watch as T, withCtx as E } from "vue";
4
4
  import { Primitive as D, TooltipArrow as O, TooltipContent as k, TooltipPortal as A, TooltipProvider as re, TooltipRoot as j, TooltipTrigger as M, useForwardPropsEmits as N } from "reka-ui";
5
5
  import { cva as P } from "class-variance-authority";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { t } from "./use-material-translation-CaHS6oZz.js";
3
- import { t as n } from "./Button-DEA5W6O3.js";
2
+ import { t } from "./use-material-translation-D30V5LyT.js";
3
+ import { t as n } from "./Button-C6GBoxwB.js";
4
4
  import { t as r } from "./use-inert-others-CtGqZKR8.js";
5
5
  import { t as i } from "./field-name-attribute-Bl7LSVK0.js";
6
6
  import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, guardReactiveProps as m, isRef as h, mergeProps as g, normalizeClass as _, normalizeProps as v, onMounted as ee, onUpdated as y, openBlock as b, renderSlot as x, toDisplayString as S, unref as C, useAttrs as w, useId as T, useTemplateRef as E, vModelText as D, withCtx as O, withDirectives as k } from "vue";
@@ -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-CmIOfRO4.js";
3
- import { t as i } from "./use-material-translation-CaHS6oZz.js";
4
- import { t as a } from "./Button-DEA5W6O3.js";
5
- import { t as o } from "./icon-button-CWcOcNHr.js";
2
+ import { _r as t, hr as n, mr as r } from "./components-B3e9Djen.js";
3
+ import { t as i } from "./use-material-translation-D30V5LyT.js";
4
+ import { t as a } from "./Button-C6GBoxwB.js";
5
+ import { t as o } from "./icon-button-Cep-hCMB.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