@nxgt/material 3.26.0 → 3.26.1

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 (51) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{async-slice-DmElEOGR.js → async-slice-gAbGnQT8.js} +2 -2
  3. package/dist/{button-e-N2SrR4.js → button-Cr9GIIj4.js} +1 -1
  4. package/dist/charts.js +3 -3
  5. package/dist/{chip-CaIK5m3c.js → chip-s11lOfxB.js} +1 -1
  6. package/dist/{code-editor-CTNdNmnn.js → code-editor-DGIjL8Hr.js} +4 -4
  7. package/dist/code-editor.js +4 -4
  8. package/dist/{code-language-items-Cra1Wt0w.js → code-language-items-DCOQnaCo.js} +2 -2
  9. package/dist/{components-Co11dc5M.js → components-BEN2FVD-.js} +20 -20
  10. package/dist/components.js +15 -15
  11. package/dist/{dialog-CJUqXZ-U.js → dialog-Crvg-MN5.js} +1 -1
  12. package/dist/dnd.js +1 -1
  13. package/dist/{dropdown-menu-D5yDYO-N.js → dropdown-menu-B71aggp0.js} +1 -1
  14. package/dist/editor.js +7 -7
  15. package/dist/{empty-state-BHrddQlY.js → empty-state-8LddxMU4.js} +1 -1
  16. package/dist/hooks.js +2 -2
  17. package/dist/{i18n-provider-W9rFBjXN.js → i18n-provider-BDi9-6DO.js} +1 -1
  18. package/dist/i18n.js +5 -5
  19. package/dist/{icon-badge-BnAUnMVr.js → icon-badge-DG7wLnHh.js} +1 -1
  20. package/dist/lib/components/ui/primitives/tabs/partials/tabs-list.d.ts +6 -1
  21. package/dist/lib/components/ui/primitives/tabs/partials/tabs-scroll-buttons.d.ts +12 -0
  22. package/dist/lib/components/ui/primitives/tabs/tabs-overflow-classes.d.ts +6 -0
  23. package/dist/lib/components/ui/primitives/tabs/use-tabs-overflow.d.ts +25 -0
  24. package/dist/lib/i18n/resources/en/en.d.ts +4 -0
  25. package/dist/lib/i18n/resources/en/material.json.d.ts +4 -0
  26. package/dist/lib/i18n/resources/fr/fr.d.ts +4 -0
  27. package/dist/lib/i18n/resources/fr/material.json.d.ts +4 -0
  28. package/dist/lib/i18n/resources/resources.d.ts +8 -0
  29. package/dist/lib/i18n/translator.d.ts +1 -1
  30. package/dist/lib.js +1 -1
  31. package/dist/main.js +21 -21
  32. package/dist/map.js +4 -4
  33. package/dist/material.css +1 -1
  34. package/dist/pdf-reader.js +1 -1
  35. package/dist/print.js +2 -2
  36. package/dist/{public-Bi0CZNsk.js → public-QUiFLEoj.js} +6 -6
  37. package/dist/{rich-code-block-B81MCyAI.js → rich-code-block-CjD54THr.js} +4 -4
  38. package/dist/{sortable-provider-CJ5P_QhI.js → sortable-provider-DYnyzfgR.js} +1 -1
  39. package/dist/{spinner-BuMxoFCj.js → spinner-CJtTRNAX.js} +1 -1
  40. package/dist/{stored-language-pHK1kTl6.js → stored-language-ClkfkueV.js} +8 -0
  41. package/dist/theme-picker.js +2 -2
  42. package/dist/{theme-toggle-BAGSB-HE.js → theme-toggle-ufQL3SO6.js} +1 -1
  43. package/dist/{toolbar-items-BgcE2dSq.js → toolbar-items-DlioFgpM.js} +2 -2
  44. package/dist/{translate-material-DeVLQZTk.js → translate-material-O-uasx3u.js} +2 -2
  45. package/dist/{translator-DEPJOWV-.js → translator-C0uxN1Nh.js} +1 -1
  46. package/dist/{use-chat-composer-Ded2gthF.js → use-chat-composer-DzVO5mwz.js} +1762 -1640
  47. package/dist/{use-heading-spy-swqwAMjR.js → use-heading-spy-BHCVdJfr.js} +1 -1
  48. package/dist/{use-material-translation-DgeOLK6g.js → use-material-translation-B4Frk3vC.js} +2 -2
  49. package/docs/components/primitives.md +6 -1
  50. package/docs/guides/i18n.md +2 -1
  51. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { r as e } from "./i18n-provider-W9rFBjXN.js";
1
+ import { r as e } from "./i18n-provider-BDi9-6DO.js";
2
2
  import { _ as t, g as n, h as r, n as i, v as a, y as o } from "./number.utils-BG_eEt5g.js";
3
3
  import { useCallback as s, useEffect as c, useMemo as l, useRef as u } from "react";
4
4
  //#region ../../node_modules/date-fns/locale/fr/_lib/formatDistance.js
@@ -1,5 +1,5 @@
1
- import { r as e } from "./i18n-provider-W9rFBjXN.js";
2
- import { t } from "./translate-material-DeVLQZTk.js";
1
+ import { r as e } from "./i18n-provider-BDi9-6DO.js";
2
+ import { t } from "./translate-material-O-uasx3u.js";
3
3
  import { useCallback as n } from "react";
4
4
  //#region lib/i18n/use-material-translation.ts
5
5
  function r() {
@@ -732,7 +732,12 @@ Parts: `Tabs`, `TabsList`, `TabsTrigger`, `TabsContent`. `TabsList` and
732
732
  **`underline`** (the default) lays the tabs over a border; the active one
733
733
  takes the primary colour, and a bar under it slides to the tab clicked or
734
734
  reached with the arrow keys. The list scrolls sideways when the tabs do not
735
- fit (its scrollbar hidden), which suits a phone or a narrow popover.
735
+ fit (its scrollbar hidden), which suits a phone or a narrow popover. While it
736
+ overflows, each side with hidden tabs fades and gets a small scroll button
737
+ ("Scroll tabs left" / "Scroll tabs right", from `material.tabs.*`; out of the
738
+ tab order, 44px on a touch screen); the selected and the focused tab are
739
+ scrolled into view, instantly under reduced motion. A list that fits has
740
+ neither, and neither is in the server markup. `segmented` does the same.
736
741
 
737
742
  **`segmented`** is a neutral pill track: the active tab sits on a raised
738
743
  surface that slides between tabs, and its label turns to the foreground
@@ -240,7 +240,8 @@ presets and `Min`/`Max` fields, the `variant="4"` spinner's label,
240
240
  `material.slider.minimum` / `maximum` ("Minimum", "Maximum"), and a
241
241
  single value's input, when nothing names the slider, `material.slider.value`
242
242
  ("Value", "Valeur"). `CopyButton` reads `material.copy.copy`, `copied` and `failed` ("Copy", "Copied",
243
- "Copy failed"). The other icon-only buttons are named from it too: the
243
+ "Copy failed"). An overflowing `TabsList`'s scroll buttons read
244
+ `material.tabs.scroll-left` / `scroll-right` ("Scroll tabs left" / "Scroll tabs right"). The other icon-only buttons are named from it too: the
244
245
  `Sidebar` toggle (`material.sidebar.toggle`), the data table's row expander
245
246
  (`material.table.labels.toggle-row`) and its header, a hidden "Expand" / "Déplier"
246
247
  (`material.table.labels.expand`), its loading status, "Loading data…" /
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material",
3
- "version": "3.26.0",
3
+ "version": "3.26.1",
4
4
  "license": "MIT",
5
5
  "bugs": {
6
6
  "email": "stevegires@gmail.com"