@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.
- package/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/dist/{button-Deo7l4wM.js → button-qb9UpHF5.js} +46 -45
- package/dist/charts.js +90 -90
- package/dist/components/ui/actions/split-button/split-button-states.css +6 -0
- package/dist/{components-BsKpeqVX.js → components-j44ReRNq.js} +11093 -11063
- package/dist/components.js +5 -5
- package/dist/editor.js +2 -2
- package/dist/lib/components/ui/actions/button/button-busy.d.ts +5 -0
- package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +0 -2
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-view.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/editors/custom-types.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +1 -0
- package/dist/lib/components/ui/collections/filter/filter-validation.utils.d.ts +1 -0
- package/dist/lib/components/ui/collections/filter/index.d.ts +2 -1
- package/dist/lib/components/ui/collections/filter/query/filter-query-model.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/query/types.d.ts +0 -1
- package/dist/lib/components/ui/collections/server-table/partials/filtered-server-table.d.ts +2 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-band.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +0 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-error.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-hosted.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/server-table.d.ts +3 -1
- package/dist/lib/components/ui/collections/server-table/types.d.ts +0 -2
- package/dist/lib/components/ui/collections/server-table/use-filter-params.d.ts +2 -1
- package/dist/lib/components/ui/collections/server-table/use-table-answer.d.ts +2 -1
- package/dist/lib/components/ui/dates/date-field/{date-field-parts.d.ts → date-field-props.d.ts} +2 -40
- package/dist/lib/components/ui/dates/date-field/use-date-field-model.d.ts +28 -0
- package/dist/lib/components/ui/dates/date-field/use-date-field-open.d.ts +11 -0
- package/dist/lib/components/ui/display/cards/index.d.ts +3 -1
- package/dist/lib/components/ui/display/cards/partials/album-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/checklist-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/crew-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/event-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/feature-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/file-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/link-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/media-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/message-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/notice-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/offer-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/overlay-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/place-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/pricing-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/profile-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/quote-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/receipt-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/review-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/score-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/shortcut-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/split-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/spotlight-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/status-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/tag-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/ticket-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/timeline-card.d.ts +1 -1
- package/dist/lib/components/ui/feedback/notifications/notifications-provider.d.ts +1 -1
- package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +0 -1
- package/dist/lib/components/ui/feedback/step-dots/index.d.ts +2 -1
- package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +0 -1
- package/dist/lib/components/ui/fields/country-field/iso-codes.d.ts +2 -0
- package/dist/lib/components/ui/fields/country-field/iso-countries.d.ts +0 -2
- package/dist/lib/components/ui/fields/field/types.d.ts +2 -2
- package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/index.d.ts +2 -2
- package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +0 -2
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +0 -3
- package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +0 -2
- package/dist/lib/components/ui/layout/doc/index.d.ts +2 -1
- package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +0 -1
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -1
- package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +0 -2
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -1
- package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +0 -1
- package/dist/lib/components/ui/selection/color-swatches/index.d.ts +2 -1
- package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +0 -1
- package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/combobox-field/index.d.ts +1 -1
- package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +4 -3
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +0 -1
- package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/{use-node-list.d.ts → node-list.d.ts} +1 -1
- package/dist/lib/components/ui/widgets/education/quizzes/quiz.utils.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +0 -1
- package/dist/lib/components/ui/widgets/native-charts/core/heat-model.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +2 -2
- package/dist/lib/components/ui/widgets/native-charts/core/scatter-text.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/core/slice-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +0 -2
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/funnel-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/partials/funnel-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/use-funnel-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/gauge/gauge-types.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/heatmap-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/partials/heat-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heat-nav.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heatmap-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/model-parts.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/use-slice-model.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/index.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/chart-frame.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/chart-shell.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/point-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/pie-chart/partials/slice-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/pie-chart/slice-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/radial-bar-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/use-radial-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/partials/scatter-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/scatter-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-active.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-model.d.ts +1 -1
- package/dist/lib/print/components/print-document/print-document.d.ts +2 -1
- package/dist/main.js +5 -5
- package/dist/map.js +1 -1
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{public-CLkf8uky.js → public-DEh75enl.js} +1 -1
- package/dist/{use-chat-composer-Cx7Q_KOV.js → use-chat-composer-BlfhGDFp.js} +39 -39
- package/docs/components/rich-widgets.md +5 -1
- package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
- package/docs/previews/buttons-actions-loadmorefooter.webp +0 -0
- package/docs/previews/rich-widgets-barcode.webp +0 -0
- package/docs/previews/rich-widgets-labelsheet.webp +0 -0
- package/lib/components/ui/actions/split-button/split-button-states.css +6 -0
- package/package.json +1 -1
- package/dist/lib/components/ui/display/cards/types.d.ts +0 -3
- package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +0 -2
- package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +0 -2
- package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +0 -2
package/dist/pdf-reader.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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/
|
|
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
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|
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(
|
|
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(
|
|
20264
|
+
s && /* @__PURE__ */ G(fF, {}),
|
|
20242
20265
|
/* @__PURE__ */ G(R, {
|
|
20243
20266
|
variant: "tonal",
|
|
20244
|
-
className:
|
|
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(
|
|
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:
|
|
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(
|
|
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
|
+

|
|
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
|
+

|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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