@nxgt/material 3.59.0 → 3.59.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 (134) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +1 -1
  3. package/dist/{button-Deo7l4wM.js → button-qb9UpHF5.js} +46 -45
  4. package/dist/charts.js +90 -90
  5. package/dist/components/ui/actions/split-button/split-button-states.css +6 -0
  6. package/dist/{components-BsKpeqVX.js → components-j44ReRNq.js} +11093 -11063
  7. package/dist/components.js +5 -5
  8. package/dist/editor.js +2 -2
  9. package/dist/lib/components/ui/actions/button/button-busy.d.ts +5 -0
  10. package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +1 -1
  11. package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +0 -2
  12. package/dist/lib/components/ui/collections/filter/bar/filter-bar-view.d.ts +1 -1
  13. package/dist/lib/components/ui/collections/filter/editors/custom-types.d.ts +1 -1
  14. package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +1 -1
  15. package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +1 -0
  16. package/dist/lib/components/ui/collections/filter/filter-validation.utils.d.ts +1 -0
  17. package/dist/lib/components/ui/collections/filter/index.d.ts +2 -1
  18. package/dist/lib/components/ui/collections/filter/query/filter-query-model.d.ts +1 -1
  19. package/dist/lib/components/ui/collections/filter/query/types.d.ts +0 -1
  20. package/dist/lib/components/ui/collections/server-table/partials/filtered-server-table.d.ts +2 -1
  21. package/dist/lib/components/ui/collections/server-table/partials/server-table-band.d.ts +1 -1
  22. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +0 -1
  23. package/dist/lib/components/ui/collections/server-table/partials/server-table-error.d.ts +1 -1
  24. package/dist/lib/components/ui/collections/server-table/partials/server-table-hosted.d.ts +1 -1
  25. package/dist/lib/components/ui/collections/server-table/server-table.d.ts +3 -1
  26. package/dist/lib/components/ui/collections/server-table/types.d.ts +0 -2
  27. package/dist/lib/components/ui/collections/server-table/use-filter-params.d.ts +2 -1
  28. package/dist/lib/components/ui/collections/server-table/use-table-answer.d.ts +2 -1
  29. package/dist/lib/components/ui/dates/date-field/{date-field-parts.d.ts → date-field-props.d.ts} +2 -40
  30. package/dist/lib/components/ui/dates/date-field/use-date-field-model.d.ts +28 -0
  31. package/dist/lib/components/ui/dates/date-field/use-date-field-open.d.ts +11 -0
  32. package/dist/lib/components/ui/display/cards/index.d.ts +3 -1
  33. package/dist/lib/components/ui/display/cards/partials/album-card.d.ts +1 -1
  34. package/dist/lib/components/ui/display/cards/partials/checklist-card.d.ts +1 -1
  35. package/dist/lib/components/ui/display/cards/partials/crew-card.d.ts +1 -1
  36. package/dist/lib/components/ui/display/cards/partials/event-card.d.ts +1 -1
  37. package/dist/lib/components/ui/display/cards/partials/feature-card.d.ts +1 -1
  38. package/dist/lib/components/ui/display/cards/partials/file-card.d.ts +1 -1
  39. package/dist/lib/components/ui/display/cards/partials/link-card.d.ts +1 -1
  40. package/dist/lib/components/ui/display/cards/partials/media-card.d.ts +1 -1
  41. package/dist/lib/components/ui/display/cards/partials/message-card.d.ts +1 -1
  42. package/dist/lib/components/ui/display/cards/partials/notice-card.d.ts +1 -1
  43. package/dist/lib/components/ui/display/cards/partials/offer-card.d.ts +1 -1
  44. package/dist/lib/components/ui/display/cards/partials/overlay-card.d.ts +1 -1
  45. package/dist/lib/components/ui/display/cards/partials/place-card.d.ts +1 -1
  46. package/dist/lib/components/ui/display/cards/partials/pricing-card.d.ts +1 -1
  47. package/dist/lib/components/ui/display/cards/partials/profile-card.d.ts +1 -1
  48. package/dist/lib/components/ui/display/cards/partials/quote-card.d.ts +1 -1
  49. package/dist/lib/components/ui/display/cards/partials/receipt-card.d.ts +1 -1
  50. package/dist/lib/components/ui/display/cards/partials/review-card.d.ts +1 -1
  51. package/dist/lib/components/ui/display/cards/partials/score-card.d.ts +1 -1
  52. package/dist/lib/components/ui/display/cards/partials/shortcut-card.d.ts +1 -1
  53. package/dist/lib/components/ui/display/cards/partials/split-card.d.ts +1 -1
  54. package/dist/lib/components/ui/display/cards/partials/spotlight-card.d.ts +1 -1
  55. package/dist/lib/components/ui/display/cards/partials/status-card.d.ts +1 -1
  56. package/dist/lib/components/ui/display/cards/partials/tag-card.d.ts +1 -1
  57. package/dist/lib/components/ui/display/cards/partials/ticket-card.d.ts +1 -1
  58. package/dist/lib/components/ui/display/cards/partials/timeline-card.d.ts +1 -1
  59. package/dist/lib/components/ui/feedback/notifications/notifications-provider.d.ts +1 -1
  60. package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +0 -1
  61. package/dist/lib/components/ui/feedback/step-dots/index.d.ts +2 -1
  62. package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +0 -1
  63. package/dist/lib/components/ui/fields/country-field/iso-codes.d.ts +2 -0
  64. package/dist/lib/components/ui/fields/country-field/iso-countries.d.ts +0 -2
  65. package/dist/lib/components/ui/fields/field/types.d.ts +2 -2
  66. package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +1 -1
  67. package/dist/lib/components/ui/layout/app-shell/index.d.ts +2 -2
  68. package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +0 -2
  69. package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +0 -3
  70. package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +0 -2
  71. package/dist/lib/components/ui/layout/doc/index.d.ts +2 -1
  72. package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +0 -1
  73. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -1
  74. package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +0 -2
  75. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +1 -1
  76. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -1
  77. package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +0 -1
  78. package/dist/lib/components/ui/selection/color-swatches/index.d.ts +2 -1
  79. package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +0 -1
  80. package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +1 -1
  81. package/dist/lib/components/ui/selection/combobox-field/index.d.ts +1 -1
  82. package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +1 -1
  83. package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +4 -3
  84. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +0 -1
  85. package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/{use-node-list.d.ts → node-list.d.ts} +1 -1
  86. package/dist/lib/components/ui/widgets/education/quizzes/quiz.utils.d.ts +1 -1
  87. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +0 -1
  88. package/dist/lib/components/ui/widgets/native-charts/core/heat-model.d.ts +2 -1
  89. package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +2 -2
  90. package/dist/lib/components/ui/widgets/native-charts/core/scatter-text.d.ts +2 -1
  91. package/dist/lib/components/ui/widgets/native-charts/core/slice-model.d.ts +1 -1
  92. package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +0 -2
  93. package/dist/lib/components/ui/widgets/native-charts/funnel-chart/funnel-chart-types.d.ts +2 -1
  94. package/dist/lib/components/ui/widgets/native-charts/funnel-chart/partials/funnel-tip.d.ts +1 -1
  95. package/dist/lib/components/ui/widgets/native-charts/funnel-chart/use-funnel-model.d.ts +1 -1
  96. package/dist/lib/components/ui/widgets/native-charts/gauge/gauge-types.d.ts +1 -1
  97. package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/heatmap-chart-types.d.ts +2 -1
  98. package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/partials/heat-tip.d.ts +1 -1
  99. package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heat-nav.d.ts +1 -1
  100. package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heatmap-model.d.ts +1 -1
  101. package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +3 -1
  102. package/dist/lib/components/ui/widgets/native-charts/hooks/model-parts.d.ts +2 -1
  103. package/dist/lib/components/ui/widgets/native-charts/hooks/use-slice-model.d.ts +2 -1
  104. package/dist/lib/components/ui/widgets/native-charts/index.d.ts +3 -1
  105. package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +3 -1
  106. package/dist/lib/components/ui/widgets/native-charts/partials/chart-frame.d.ts +1 -1
  107. package/dist/lib/components/ui/widgets/native-charts/partials/chart-shell.d.ts +1 -1
  108. package/dist/lib/components/ui/widgets/native-charts/partials/point-tip.d.ts +1 -1
  109. package/dist/lib/components/ui/widgets/native-charts/pie-chart/partials/slice-tip.d.ts +1 -1
  110. package/dist/lib/components/ui/widgets/native-charts/pie-chart/slice-chart-types.d.ts +2 -1
  111. package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/radial-bar-chart-types.d.ts +2 -1
  112. package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/use-radial-model.d.ts +1 -1
  113. package/dist/lib/components/ui/widgets/native-charts/scatter-chart/partials/scatter-tip.d.ts +1 -1
  114. package/dist/lib/components/ui/widgets/native-charts/scatter-chart/scatter-chart-types.d.ts +2 -1
  115. package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-active.d.ts +1 -1
  116. package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-model.d.ts +1 -1
  117. package/dist/lib/print/components/print-document/print-document.d.ts +2 -1
  118. package/dist/main.js +5 -5
  119. package/dist/map.js +1 -1
  120. package/dist/material.css +1 -1
  121. package/dist/pdf-reader.js +1 -1
  122. package/dist/{public-CLkf8uky.js → public-DEh75enl.js} +1 -1
  123. package/dist/{use-chat-composer-Cx7Q_KOV.js → use-chat-composer-BlfhGDFp.js} +39 -39
  124. package/docs/components/rich-widgets.md +5 -1
  125. package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
  126. package/docs/previews/buttons-actions-loadmorefooter.webp +0 -0
  127. package/docs/previews/rich-widgets-barcode.webp +0 -0
  128. package/docs/previews/rich-widgets-labelsheet.webp +0 -0
  129. package/lib/components/ui/actions/split-button/split-button-states.css +6 -0
  130. package/package.json +1 -1
  131. package/dist/lib/components/ui/display/cards/types.d.ts +0 -3
  132. package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +0 -2
  133. package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +0 -2
  134. package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +0 -2
@@ -1,3 +1,3 @@
1
- import { t as e } from "./public-CLkf8uky.js";
1
+ import { t as e } from "./public-DEh75enl.js";
2
2
  import { configurePdfReader as t } from "@nxgt/material-core/pdf-reader";
3
3
  export { e as PdfReader, t as configurePdfReader };
@@ -9,7 +9,7 @@ import { r as p, t as m } from "./in-dialog-Vwkyp-M5.js";
9
9
  import { C as h, D as g, E as _, O as v, S as y, T as b, _ as x, f as S, g as ee, k as te, r as ne, t as C, u as re, w } from "./dialog-1BstKBvt.js";
10
10
  import { c as T, d as ie, f as E, i as ae, l as oe, n as se, o as D, t as ce, u as O } from "./dropdown-menu-hoaocAS7.js";
11
11
  import { S as le, a as k, d as A, g as ue, h as de, i as fe, m as pe, n as j, r as me, t as M, u as he, w as ge } from "./toolbar-items-Bm1baIp6.js";
12
- import { t as _e } from "./button-Deo7l4wM.js";
12
+ import { t as _e } from "./button-qb9UpHF5.js";
13
13
  import { t as N } from "./use-material-translation-BZAy_ffS.js";
14
14
  import { n as ve, t as ye } from "./icon-button-AwJtCkV5.js";
15
15
  import { i as be } from "./escape-owner-BvLBo_Al.js";
@@ -17,7 +17,7 @@ import { i as Pt } from "./dist-B7RjY7SL.js";
17
17
  import { o as Ft, s as It, t as Lt } from "./use-click-lock-BZYtTmVt.js";
18
18
  import { a as Rt, r as zt } from "./icon-sprites-CaYXzOL4.js";
19
19
  import { t as Bt } from "./warn-once-C_e47JM8.js";
20
- import { r as Vt, t as Ht } from "./button-Deo7l4wM.js";
20
+ import { r as Vt, t as Ht } from "./button-qb9UpHF5.js";
21
21
  import "./stored-language-BDzGeEAm.js";
22
22
  import { a as Ut } from "./translator-CBhGdYun.js";
23
23
  import { h as Wt } from "./get-CTzJAwfc.js";
@@ -9582,7 +9582,7 @@ function Ax({ editor: e }) {
9582
9582
  });
9583
9583
  }
9584
9584
  //#endregion
9585
- //#region lib/components/ui/widgets/editor/extensions/custom/shared/use-node-list.ts
9585
+ //#region lib/components/ui/widgets/editor/extensions/custom/shared/node-list.ts
9586
9586
  function jx(e, t, n) {
9587
9587
  let r = e.node.attrs[t] ?? [], i = (n) => e.updateAttributes({ [t]: n });
9588
9588
  return {
@@ -20181,8 +20181,34 @@ function cF(e, t, n = null) {
20181
20181
  ]);
20182
20182
  }
20183
20183
  //#endregion
20184
+ //#region lib/components/ui/media/galleries/partials/gallery-viewer-button.ts
20185
+ var lF = "bg-black/45 text-white backdrop-blur-sm hover:bg-black/60 focus:bg-black/60 active:bg-black/70 [&_svg]:stroke-white [&_svg]:data-[slot=icon]:text-white";
20186
+ //#endregion
20187
+ //#region lib/components/ui/media/galleries/partials/gallery-chrome-arrows.tsx
20188
+ function uF() {
20189
+ let { items: e, next: t, prev: r, canNext: i, canPrev: a } = jT(), { t: o } = L();
20190
+ return e.length < 2 ? null : /* @__PURE__ */ K("div", {
20191
+ className: "pointer-events-none absolute inset-x-3 top-1/2 flex -translate-y-1/2 items-center justify-between [&>*]:pointer-events-auto",
20192
+ children: [/* @__PURE__ */ G(R, {
20193
+ variant: "tonal",
20194
+ className: n(lF, "disabled:opacity-0"),
20195
+ tooltip: o("material.gallery.previous", "Previous"),
20196
+ disabled: !a,
20197
+ onClick: r,
20198
+ children: /* @__PURE__ */ G(Si, { className: "rtl:-scale-x-100" })
20199
+ }), /* @__PURE__ */ G(R, {
20200
+ variant: "tonal",
20201
+ className: n(lF, "disabled:opacity-0"),
20202
+ tooltip: o("material.gallery.next", "Next"),
20203
+ disabled: !i,
20204
+ onClick: t,
20205
+ children: /* @__PURE__ */ G(Ci, { className: "rtl:-scale-x-100" })
20206
+ })]
20207
+ });
20208
+ }
20209
+ //#endregion
20184
20210
  //#region lib/components/ui/media/galleries/partials/gallery-chrome-status.tsx
20185
- function lF() {
20211
+ function dF() {
20186
20212
  let { items: e, current: t, state: n } = jT(), { t: r } = L(), i = r("material.gallery.of", "{current} of {total}", {
20187
20213
  current: n.currentIndex + 1,
20188
20214
  total: e.length
@@ -20207,22 +20233,19 @@ function lF() {
20207
20233
  });
20208
20234
  }
20209
20235
  //#endregion
20210
- //#region lib/components/ui/media/galleries/partials/gallery-viewer-button.ts
20211
- var uF = "bg-black/45 text-white backdrop-blur-sm hover:bg-black/60 focus:bg-black/60 active:bg-black/70 [&_svg]:stroke-white [&_svg]:data-[slot=icon]:text-white";
20212
- //#endregion
20213
20236
  //#region lib/components/ui/media/galleries/partials/gallery-chrome-zoom.tsx
20214
- function dF() {
20237
+ function fF() {
20215
20238
  let { state: e, setZoom: t } = jT(), { t: n } = L();
20216
20239
  return /* @__PURE__ */ K(ei, { children: [/* @__PURE__ */ G(R, {
20217
20240
  variant: "tonal",
20218
- className: uF,
20241
+ className: lF,
20219
20242
  tooltip: n("material.gallery.zoom-out", "Zoom out"),
20220
20243
  disabled: e.zoom <= 1,
20221
20244
  onClick: () => t(e.zoom - .25),
20222
20245
  children: /* @__PURE__ */ G(po, {})
20223
20246
  }), /* @__PURE__ */ G(R, {
20224
20247
  variant: "tonal",
20225
- className: uF,
20248
+ className: lF,
20226
20249
  tooltip: n("material.gallery.zoom-in", "Zoom in"),
20227
20250
  disabled: e.zoom >= 4,
20228
20251
  onClick: () => t(e.zoom + .25),
@@ -20231,17 +20254,17 @@ function dF() {
20231
20254
  }
20232
20255
  //#endregion
20233
20256
  //#region lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.tsx
20234
- function fF() {
20257
+ function pF() {
20235
20258
  let { current: e, state: t, closeLightbox: r, toggleLoop: i, downloadCurrent: a } = jT(), { t: o } = L(), s = e?.kind !== "video", c = o("material.gallery.close", "Close");
20236
20259
  return /* @__PURE__ */ K("div", {
20237
20260
  className: n("pointer-events-auto -m-3 flex flex-wrap items-start justify-between gap-2 p-3", t.zoom > 1 && "bg-gradient-to-b from-black/60 to-transparent pb-8"),
20238
- children: [/* @__PURE__ */ G(lF, {}), /* @__PURE__ */ K("div", {
20261
+ children: [/* @__PURE__ */ G(dF, {}), /* @__PURE__ */ K("div", {
20239
20262
  className: "flex max-w-full flex-wrap justify-end gap-1",
20240
20263
  children: [
20241
- s && /* @__PURE__ */ G(dF, {}),
20264
+ s && /* @__PURE__ */ G(fF, {}),
20242
20265
  /* @__PURE__ */ G(R, {
20243
20266
  variant: "tonal",
20244
- className: uF,
20267
+ className: lF,
20245
20268
  tooltip: o("material.gallery.download", "Download"),
20246
20269
  onClick: a,
20247
20270
  disabled: !e,
@@ -20249,7 +20272,7 @@ function fF() {
20249
20272
  }),
20250
20273
  /* @__PURE__ */ G(R, {
20251
20274
  variant: "tonal",
20252
- className: n(uF, "[--ib-on:white]! [--ib-on-fg:black]!"),
20275
+ className: n(lF, "[--ib-on:white]! [--ib-on-fg:black]!"),
20253
20276
  tooltip: t.loop ? o("material.gallery.repeat-off", "Repeat off") : o("material.gallery.repeat", "Repeat"),
20254
20277
  "aria-pressed": t.loop,
20255
20278
  onClick: i,
@@ -20257,7 +20280,7 @@ function fF() {
20257
20280
  }),
20258
20281
  /* @__PURE__ */ G(R, {
20259
20282
  variant: "tonal",
20260
- className: uF,
20283
+ className: lF,
20261
20284
  "aria-label": c,
20262
20285
  tooltip: c,
20263
20286
  onClick: r,
@@ -20268,34 +20291,11 @@ function fF() {
20268
20291
  });
20269
20292
  }
20270
20293
  //#endregion
20271
- //#region lib/components/ui/media/galleries/partials/gallery-chrome-arrows.tsx
20272
- function pF() {
20273
- let { items: e, next: t, prev: r, canNext: i, canPrev: a } = jT(), { t: o } = L();
20274
- return e.length < 2 ? null : /* @__PURE__ */ K("div", {
20275
- className: "pointer-events-none absolute inset-x-3 top-1/2 flex -translate-y-1/2 items-center justify-between [&>*]:pointer-events-auto",
20276
- children: [/* @__PURE__ */ G(R, {
20277
- variant: "tonal",
20278
- className: n(uF, "disabled:opacity-0"),
20279
- tooltip: o("material.gallery.previous", "Previous"),
20280
- disabled: !a,
20281
- onClick: r,
20282
- children: /* @__PURE__ */ G(Si, { className: "rtl:-scale-x-100" })
20283
- }), /* @__PURE__ */ G(R, {
20284
- variant: "tonal",
20285
- className: n(uF, "disabled:opacity-0"),
20286
- tooltip: o("material.gallery.next", "Next"),
20287
- disabled: !i,
20288
- onClick: t,
20289
- children: /* @__PURE__ */ G(Ci, { className: "rtl:-scale-x-100" })
20290
- })]
20291
- });
20292
- }
20293
- //#endregion
20294
20294
  //#region lib/components/ui/media/galleries/partials/gallery-chrome.tsx
20295
20295
  function mF() {
20296
20296
  return /* @__PURE__ */ K("div", {
20297
20297
  className: "pointer-events-none absolute inset-0 z-10 flex flex-col justify-between p-3",
20298
- children: [/* @__PURE__ */ G(fF, {}), /* @__PURE__ */ G(pF, {})]
20298
+ children: [/* @__PURE__ */ G(pF, {}), /* @__PURE__ */ G(uF, {})]
20299
20299
  });
20300
20300
  }
20301
20301
  //#endregion
@@ -11,7 +11,7 @@ the app owns the data.
11
11
  | <img src="../previews/rich-widgets-eventcalendar.webp" width="96" alt=""> | [EventCalendar](#eventcalendar) | Month / week / day / agenda calendar, a day view split by resource, a named time zone, phone to desktop |
12
12
  | <img src="../previews/rich-widgets-native-charts-linechart.webp" width="96" alt=""> | [Charts](#charts) | Native SVG charts (line, area, bar, pie, donut, gauge, radial, funnel, heat map, radar, scatter, combo) with keyboard, summary and View data; the Nivo ones were removed in 3.0 |
13
13
  | <img src="../previews/rich-widgets-drawing.webp" width="96" alt=""> | [Drawing](#drawing) | Vector drawing from a scene of plain data or JSX primitives: theme colours, accessible, focusable nodes, strict-CSP safe |
14
- | | [Barcode](#barcode) | Code 128 and Data Matrix as accessible SVG, themed and dark-aware, black on white in print, with `LabelSheet` for a printed sheet of labels |
14
+ | <img src="../previews/rich-widgets-barcode.webp" width="96" alt=""> | [Barcode](#barcode) | Code 128 and Data Matrix as accessible SVG, themed and dark-aware, black on white in print, with `LabelSheet` for a printed sheet of labels |
15
15
  | <img src="../previews/rich-widgets-emojipicker.webp" width="96" alt=""> | [EmojiPicker](#emojipicker) | Shared emoji picker and list |
16
16
  | <img src="../previews/rich-widgets-mentionlist.webp" width="96" alt=""> | [MentionList](#mentionlist) | `@` mention list with local search |
17
17
  | <img src="../previews/rich-widgets-documenteditor.webp" width="96" alt=""> | [DocumentEditor](#documenteditor) | Rich text editor for long-form writing, built on a headless core |
@@ -618,6 +618,8 @@ How to use it in an app (server rendering, CSP, colours, events, PNG, PDF, e-mai
618
618
 
619
619
  ## Barcode
620
620
 
621
+ ![Barcode](../previews/rich-widgets-barcode.webp)
622
+
621
623
  Code 128 and Data Matrix from `@nxgt/material/barcode`, drawn as SVG by the
622
624
  package (no runtime dependency). The symbol follows the theme and dark mode on
623
625
  screen (`appearance="paper"` keeps it dark on light), is black on white in
@@ -640,6 +642,8 @@ import { Barcode, Label, LabelSheet } from '@nxgt/material/barcode';
640
642
  </LabelSheet>
641
643
  ```
642
644
 
645
+ ![LabelSheet](../previews/rich-widgets-labelsheet.webp)
646
+
643
647
  `LabelSheet` takes `label` (`{ width, height }`), `columns`, `rows` (labels per
644
648
  page), `gap`, `offset` (margin before the first label) and `skip` (blank labels
645
649
  first); lengths are millimetres or a string with a unit. A value a symbology cannot hold throws a `BarcodeError`; `barcodeGeometry(value, options)` returns the `viewBox` size and path for an SVG of your own. See the
@@ -48,6 +48,12 @@
48
48
  .nxgt-split-button-part[aria-busy="true"] {
49
49
  cursor: progress;
50
50
  }
51
+ /* Busy: the spinner takes the action icon's place (the icon passed as a
52
+ * child), the same room, so there is one icon and no change of size. */
53
+ .nxgt-split-button-part[aria-busy="true"]
54
+ > svg:not([data-slot="spinner"], .nxgt-split-button-spinner) {
55
+ display: none;
56
+ }
51
57
  /* Busy: the chevron waits too but keeps its colour (only the chevron
52
58
  * fades), so the pair still reads as one control. */
53
59
  .nxgt-split-button:has([aria-busy="true"])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material",
3
- "version": "3.59.0",
3
+ "version": "3.59.1",
4
4
  "license": "MIT",
5
5
  "bugs": {
6
6
  "email": "stevegires@gmail.com"
@@ -1,3 +0,0 @@
1
- export * from './types-detail.js';
2
- export * from './types-feed.js';
3
- export * from './types-intro.js';
@@ -1,2 +0,0 @@
1
- /** ISO 3166-1 alpha-2 codes, first third (part of ISO_COUNTRY_CODES). */
2
- export declare const ISO_CODES_1: readonly string[];
@@ -1,2 +0,0 @@
1
- /** ISO 3166-1 alpha-2 codes, second third (part of ISO_COUNTRY_CODES). */
2
- export declare const ISO_CODES_2: readonly string[];
@@ -1,2 +0,0 @@
1
- /** ISO 3166-1 alpha-2 codes, last third (part of ISO_COUNTRY_CODES). */
2
- export declare const ISO_CODES_3: readonly string[];