@nxgt/material 2.4.2 → 2.5.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.
- package/README.md +28 -19
- package/dist/{_Uint8Array-DEXn42kj.js → _Uint8Array-DuTT6911.js} +1 -1
- package/dist/_overRest-93z6TD9V.js +81 -0
- package/dist/{abnfDiagram-O67JEVCF-C7NxOWqd.js → abnfDiagram-O67JEVCF-Cl4ukf6a.js} +4 -4
- package/dist/{architectureDiagram-NJMV4G6O-BIvwyzEh.js → architectureDiagram-NJMV4G6O-WmFlBQF5.js} +7 -7
- package/dist/{client-only.utils-DhcBUmau.js → async-slice-B8Xv2BLH.js} +164 -93
- package/dist/{blockDiagram-BEXU5L5S-CzgMFdtn.js → blockDiagram-BEXU5L5S-C8UXdLfB.js} +11 -11
- package/dist/{c4Diagram-YGBWAQC7-WgqlRIL5.js → c4Diagram-YGBWAQC7-D9xSt2QO.js} +8 -8
- package/dist/{channel-Ba8pEAWx.js → channel-Dg92Hoym.js} +1 -1
- package/dist/{chunk-3FUC2YCW-DnIzetwB.js → chunk-3FUC2YCW-4gCRt6fO.js} +8 -8
- package/dist/{chunk-5DYCD2WN-Bqi3iL5i.js → chunk-5DYCD2WN-Cja1INgd.js} +3 -3
- package/dist/{chunk-6AEJRKK7-DDXoGWDs.js → chunk-6AEJRKK7-3YWRP4aV.js} +2 -2
- package/dist/{chunk-742MDFTN-nG_ROTnT.js → chunk-742MDFTN-Cs1qGiTK.js} +2 -2
- package/dist/{chunk-7INBJB4K-Dg64CbhT.js → chunk-7INBJB4K-BY5n77ka.js} +6 -6
- package/dist/{chunk-7M6MHVWA-CPdb6LVf.js → chunk-7M6MHVWA-DnPXbiTM.js} +9 -9
- package/dist/{chunk-7PRAP22T-DIiYRAce.js → chunk-7PRAP22T-_Av9vcXz.js} +1 -1
- package/dist/{chunk-GNY47TPC-CxWZwDbp.js → chunk-GNY47TPC-DLqgU2SJ.js} +11 -11
- package/dist/{chunk-GTNCS2PH-CzDYTYNy.js → chunk-GTNCS2PH-BZ9WMD1v.js} +3 -3
- package/dist/{chunk-GWA4HPMP-CmsxMX3A.js → chunk-GWA4HPMP-Co-A6dtV.js} +3 -3
- package/dist/{chunk-MBY4JIJT-IA2XBafa.js → chunk-MBY4JIJT-C3RQP_Nk.js} +4 -4
- package/dist/{chunk-NETBCI7D-Cq92-0cA.js → chunk-NETBCI7D-CBowDvwz.js} +1 -1
- package/dist/{chunk-O7XYJQB3-C87zK8E5.js → chunk-O7XYJQB3-A66QSOPA.js} +1 -1
- package/dist/{chunk-UA2S7LBM-B0LGFGu3.js → chunk-UA2S7LBM-BNeHeMx9.js} +6 -6
- package/dist/{chunk-WEXAMYUT-C-QP0DFq.js → chunk-WEXAMYUT-CucJfehv.js} +2 -2
- package/dist/{chunk-XXDRQBXY-Bq4sFnO2.js → chunk-XXDRQBXY-FgXU14Bh.js} +1 -1
- package/dist/{chunk-Z7XXMR3K-vh8Pvgr_.js → chunk-Z7XXMR3K-dRJc1Z30.js} +8 -8
- package/dist/{chunk-ZIGJFQKS-HDJ6e6OJ.js → chunk-ZIGJFQKS-C3xUAXJq.js} +3 -3
- package/dist/{classDiagram-v2-NBCMYWYE-BSyQx7Df.js → classDiagram-v2-NBCMYWYE-CQmePeL4.js} +14 -14
- package/dist/{components-C3jpOwPw.js → components-CUkJhBwK.js} +26365 -25834
- package/dist/components.js +6 -6
- package/dist/{cose-bilkent-JH36ORCC-11-T1rfk.js → cose-bilkent-JH36ORCC-DRUT3qBb.js} +2 -2
- package/dist/{cynefinDiagram-VND7K2PF-1kHi2rGa.js → cynefinDiagram-VND7K2PF-B9HrdQW8.js} +4 -4
- package/dist/{dagre-6A5THRUB-BDk37t1_.js → dagre-6A5THRUB-BhyJENrD.js} +574 -615
- package/dist/{diagram-22UHCM2B-BvH24G-C.js → diagram-22UHCM2B-CJc0JoTV.js} +15 -15
- package/dist/{diagram-3UASUU5V-DAKVPT0Q.js → diagram-3UASUU5V-0P3Cnq5H.js} +7 -7
- package/dist/{diagram-ATOU4E4O-Clju_0RY.js → diagram-ATOU4E4O-CNY-8kl0.js} +3 -3
- package/dist/{diagram-CDSNMT55-w7kkJ6MU.js → diagram-CDSNMT55-C8Mk1smi.js} +5 -5
- package/dist/{diagram-MLGK6HIB-mUOtRVmm.js → diagram-MLGK6HIB-CpfeILwW.js} +4 -4
- package/dist/{diagram-MPIPVDR6-DEUw58dq.js → diagram-MPIPVDR6-Do7bUnTd.js} +4 -4
- package/dist/{dist-gYpAi-su.js → dist-C3YK_ean.js} +1 -1
- package/dist/{dist-CeHNxLJG.js → dist-CRbPtqwD.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/{ebnfDiagram-ZINNZB2B-BYfatie5.js → ebnfDiagram-ZINNZB2B-1GewX9Zq.js} +4 -4
- package/dist/{elk-276RUBZZ-CtsHzWCy.js → elk-276RUBZZ-CvgDuHoY.js} +13 -13
- package/dist/{erDiagram-OPXOYQCR-DTrqayuU.js → erDiagram-OPXOYQCR-BFgRy8E9.js} +14 -14
- package/dist/{field-blur-EUOqpHbF.js → field-blur-D1eQk-49.js} +1109 -1083
- package/dist/flowDiagram-KWPJA3E3-DGaa9iT2.js +17 -0
- package/dist/{ganttDiagram-FUAMR5RP-DxWSt8R4.js → ganttDiagram-FUAMR5RP-CDGrtGHY.js} +6 -6
- package/dist/{gitGraphDiagram-X574FWY7-DcGaPSwy.js → gitGraphDiagram-X574FWY7-80yOq8dE.js} +3 -3
- package/dist/{graphlib-BOTXrGOf.js → graphlib-Dt-isUVV.js} +103 -139
- package/dist/hooks.js +2 -2
- package/dist/{i18n-provider-XTTU9ArK.js → i18n-provider-Drsc2YXX.js} +1 -1
- package/dist/i18n.js +6 -6
- package/dist/{icon-button-Dl9PDYCE.js → icon-button-BxySFfrr.js} +581 -581
- package/dist/{infoDiagram-VRGFBTTK-Cvj167dl.js → infoDiagram-VRGFBTTK-Cboh-B9n.js} +3 -3
- package/dist/isArrayLikeObject-BhWbq65y.js +28 -0
- package/dist/isEmpty-DdlzV8Ue.js +53 -0
- package/dist/{ishikawaDiagram-OU5B5YK6-ChBwjCfr.js → ishikawaDiagram-OU5B5YK6-DwTd1YxL.js} +4 -4
- package/dist/{journeyDiagram-ZHPQQLJL-BycdRLE6.js → journeyDiagram-ZHPQQLJL-BuLKqWS3.js} +4 -4
- package/dist/{kanban-definition-PNTS6WVX-BRoa-Yp5.js → kanban-definition-PNTS6WVX-S8plI4wn.js} +10 -10
- package/dist/lib/components/ui/actions/button/button.compound-variants.d.ts +114 -0
- package/dist/lib/components/ui/actions/button/button.d.ts +4 -7
- package/dist/lib/components/ui/actions/button/button.variants.d.ts +7 -0
- package/dist/lib/components/ui/actions/button/has-text-content.d.ts +10 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/data-table-context.d.ts +4 -0
- package/dist/lib/components/ui/collections/data-table/data-table-pagination.d.ts +3 -1
- package/dist/lib/components/ui/collections/data-table/data-table.d.ts +12 -2
- package/dist/lib/components/ui/collections/data-table/hooks.d.ts +13 -13
- package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +9 -5
- package/dist/lib/components/ui/collections/data-table/partials/data-table-empty-row.d.ts +14 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-skeleton-rows.d.ts +7 -0
- package/dist/lib/components/ui/collections/filter/filter-field-number-range.d.ts +15 -0
- package/dist/lib/components/ui/collections/pagination/index.d.ts +1 -1
- package/dist/lib/components/ui/collections/pagination/pagination.d.ts +9 -1
- package/dist/lib/components/ui/display/chip/chip.d.ts +1 -1
- package/dist/lib/components/ui/feedback/toast/toast.d.ts +9 -4
- package/dist/lib/components/ui/fields/otp-field/index.d.ts +1 -0
- package/dist/lib/components/ui/fields/otp-field/input-otp.d.ts +1 -1
- package/dist/lib/components/ui/fields/slider/slider-header.d.ts +15 -0
- package/dist/lib/components/ui/fields/slider/slider.d.ts +7 -0
- package/dist/lib/components/ui/fields/switch/switch.d.ts +7 -0
- package/dist/lib/components/ui/layout/stepper/stepper-step.d.ts +17 -0
- package/dist/lib/components/ui/media/camera/camera-content.d.ts +1 -2
- package/dist/lib/components/ui/media/camera/camera-context.d.ts +4 -0
- package/dist/lib/components/ui/media/camera/camera-provider.d.ts +2 -0
- package/dist/lib/components/ui/media/camera/camera.d.ts +6 -3
- package/dist/lib/components/ui/media/camera/capture-photo.d.ts +13 -0
- package/dist/lib/components/ui/media/camera/index.d.ts +9 -1
- package/dist/lib/components/ui/media/camera/state/camera.reducers.d.ts +1 -1
- package/dist/lib/components/ui/media/camera/state/camera.slice.d.ts +4 -9
- package/dist/lib/components/ui/media/camera/state/camera.store.d.ts +11 -5
- package/dist/lib/components/ui/media/camera/state/camera.thunks.d.ts +4 -4
- package/dist/lib/components/ui/media/camera/types.d.ts +19 -9
- package/dist/lib/components/ui/media/camera/use-camera.d.ts +5 -11
- package/dist/lib/components/ui/media/camera/utils/camera.utils.d.ts +0 -1
- package/dist/lib/components/ui/media/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dialog/dialog-outside.d.ts +5 -0
- package/dist/lib/components/ui/overlays/dialog/dialog-scroll-content.d.ts +9 -0
- package/dist/lib/components/ui/overlays/dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/icon/icon-context.d.ts +1 -1
- package/dist/lib/components/ui/primitives/table/table.d.ts +6 -1
- package/dist/lib/components/ui/selection/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/native-select/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/native-select/native-select.d.ts +11 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +8 -1
- package/dist/lib/i18n/resources/en/en.d.ts +7 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +8 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +7 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +8 -1
- package/dist/lib/i18n/resources/resources.d.ts +14 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/lib/redux/status-slice.d.ts +1 -1
- package/dist/lib.js +295 -4
- package/dist/main.js +16 -16
- package/dist/map.js +5 -5
- package/dist/material.css +1 -1
- package/dist/merge-a7J0YkZX.js +156 -0
- package/dist/{mermaid.core-BGAQ3ZAZ.js → mermaid.core-CE34byhz.js} +49 -49
- package/dist/{mindmap-definition-NLK3R4M7-HIqs4Eil.js → mindmap-definition-NLK3R4M7-emoij-nW.js} +13 -13
- package/dist/{pegDiagram-GJSIUBJH-Dcm3LCQX.js → pegDiagram-GJSIUBJH-CAO6aYvj.js} +4 -4
- package/dist/{pieDiagram-5QR66LMP-DQ6djEkW.js → pieDiagram-5QR66LMP-BdG1tWLn.js} +5 -5
- package/dist/print.js +2 -2
- package/dist/{quadrantDiagram-O4NWA36T-yUWorB72.js → quadrantDiagram-O4NWA36T-BCd-NwsO.js} +3 -3
- package/dist/{railroadDiagram-XR7U4H2S-CzOJlTUA.js → railroadDiagram-XR7U4H2S-DmKDXg8V.js} +4 -4
- package/dist/{requirementDiagram-PLB6GJNP-Cs5-8Nro.js → requirementDiagram-PLB6GJNP-CCcH5uSr.js} +13 -13
- package/dist/{sankeyDiagram-IPEJSGJF-CCqxyVoj.js → sankeyDiagram-IPEJSGJF-78cK-bfe.js} +3 -3
- package/dist/{sequenceDiagram-PO4LG4MO-DMLeIQ03.js → sequenceDiagram-PO4LG4MO-B2qb55A5.js} +5 -5
- package/dist/{sortable-provider-DuRzFvwe.js → sortable-provider-VCxPasNp.js} +17 -17
- package/dist/{src-CJ8DNrI1.js → src-C9kQSo6K.js} +1 -1
- package/dist/{stateDiagram-v2-GCMORJYK-D-8sLHg8.js → stateDiagram-v2-GCMORJYK-B4ghJrhD.js} +14 -14
- package/dist/{stored-language-BP90Ydtg.js → stored-language-CeD7kHui.js} +20 -2
- package/dist/{swimlanes-2SLR337P-DM_lDm6v.js → swimlanes-2SLR337P-DmHm2yJS.js} +12 -12
- package/dist/swimlanesDiagram-TC7HE7FX-Dq3gGsPj.js +28 -0
- package/dist/{timeline-definition-EJHVYXUP-D3Tz-JnK.js → timeline-definition-EJHVYXUP-EqJV_QKn.js} +5 -5
- package/dist/{translate-material-Ctzt0Y2N.js → translate-material-DgRdhz5d.js} +2 -2
- package/dist/{translator-Cfug7hC5.js → translator-B4zUVm7j.js} +1 -1
- package/dist/{use-heading-spy-DtVo2HBk.js → use-heading-spy-1BHMXjIn.js} +2 -2
- package/dist/{use-material-translation-CJswHOmK.js → use-material-translation-UbARR81K.js} +2 -2
- package/dist/{usecaseDiagram-POWQR4AR-Cxx8PDrr.js → usecaseDiagram-POWQR4AR-CvCl0p5N.js} +13 -13
- package/dist/{vennDiagram-UO4OBE2U-Aql8mhcy.js → vennDiagram-UO4OBE2U-CO0yFCI8.js} +4 -4
- package/dist/{wardleyDiagram-VNRHLVJA-tknlhG_t.js → wardleyDiagram-VNRHLVJA-QkwghAYo.js} +4 -4
- package/dist/{xychartDiagram-PMCCYNJV-CM0QlWD5.js → xychartDiagram-PMCCYNJV-BphsHFKA.js} +7 -7
- package/docs/components/buttons-and-actions.md +8 -3
- package/docs/components/data-display.md +1 -1
- package/docs/components/data-table-filter-and-lists.md +95 -6
- package/docs/components/feedback-and-status.md +3 -2
- package/docs/components/form-fields.md +48 -4
- package/docs/components/media-and-files.md +46 -7
- package/docs/components/navigation-and-layout.md +6 -1
- package/docs/components/overlays-and-menus.md +27 -2
- package/docs/components/primitives.md +33 -2
- package/docs/components/rich-widgets.md +1 -1
- package/docs/components/selection-and-choice.md +32 -6
- package/docs/guides/i18n.md +14 -8
- package/docs/guides/ssr.md +3 -1
- package/docs/previews/media-files-camera.webp +0 -0
- package/docs/previews/navigation-layout-stepper.webp +0 -0
- package/docs/roadmap.md +37 -3
- package/docs/troubleshooting.md +109 -0
- package/package.json +1 -1
- package/dist/flowDiagram-KWPJA3E3-B8Isvcc5.js +0 -17
- package/dist/isArrayLikeObject-CCJDO2RL.js +0 -86
- package/dist/lib/components/ui/media/camera/camera.provider.d.ts +0 -6
- package/dist/lib/components/ui/media/camera/state/index.d.ts +0 -2
- package/dist/lib/components/ui/media/camera/utils/index.d.ts +0 -1
- package/dist/lib-DIj5dvbb.js +0 -367
- package/dist/merge-Dm-kHFxo.js +0 -172
- package/dist/swimlanesDiagram-TC7HE7FX-CbV1TsML.js +0 -28
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as e } from "./src-
|
|
1
|
+
import { n as e } from "./src-C9kQSo6K.js";
|
|
2
2
|
import { n as t } from "./mermaid-parser.core-BXD_TD1T.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
|
4
|
-
import { c as r } from "./chunk-O7XYJQB3-
|
|
5
|
-
import { t as i } from "./chunk-6AEJRKK7-
|
|
4
|
+
import { c as r } from "./chunk-O7XYJQB3-A66QSOPA.js";
|
|
5
|
+
import { t as i } from "./chunk-6AEJRKK7-3YWRP4aV.js";
|
|
6
6
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-VRGFBTTK.mjs
|
|
7
7
|
var a = { parse: /* @__PURE__ */ n(async (n) => {
|
|
8
8
|
let r = await t("info", n);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { x as e } from "./translator-B4zUVm7j.js";
|
|
2
|
+
import { i as t, o as n, t as r } from "./_overRest-93z6TD9V.js";
|
|
3
|
+
import { d as i } from "./_Uint8Array-DuTT6911.js";
|
|
4
|
+
//#region ../../node_modules/lodash-es/_baseRest.js
|
|
5
|
+
function a(e, i) {
|
|
6
|
+
return t(r(e, i, n), e + "");
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region ../../node_modules/lodash-es/_createBaseFor.js
|
|
10
|
+
function o(e) {
|
|
11
|
+
return function(t, n, r) {
|
|
12
|
+
for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
|
|
13
|
+
var c = o[e ? s : ++i];
|
|
14
|
+
if (n(a[c], c, a) === !1) break;
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../../node_modules/lodash-es/_baseFor.js
|
|
21
|
+
var s = o();
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region ../../node_modules/lodash-es/isArrayLikeObject.js
|
|
24
|
+
function c(t) {
|
|
25
|
+
return e(t) && i(t);
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { s as n, a as r, c as t };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { C as e, o as t, s as n, v as r } from "./translator-B4zUVm7j.js";
|
|
2
|
+
import { S as i, j as a, k as o } from "./async-slice-B8Xv2BLH.js";
|
|
3
|
+
import { a as s, c, d as l, f as u, l as d, p as f, u as p } from "./_Uint8Array-DuTT6911.js";
|
|
4
|
+
//#region ../../node_modules/lodash-es/_isFlattenable.js
|
|
5
|
+
var m = e ? e.isConcatSpreadable : void 0;
|
|
6
|
+
function h(e) {
|
|
7
|
+
return r(e) || d(e) || !!(m && e && e[m]);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region ../../node_modules/lodash-es/_baseFlatten.js
|
|
11
|
+
function g(e, t, n, r, i) {
|
|
12
|
+
var a = -1, s = e.length;
|
|
13
|
+
for (n ||= h, i ||= []; ++a < s;) {
|
|
14
|
+
var c = e[a];
|
|
15
|
+
t > 0 && n(c) ? t > 1 ? g(c, t - 1, n, r, i) : o(i, c) : r || (i[i.length] = c);
|
|
16
|
+
}
|
|
17
|
+
return i;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../../node_modules/lodash-es/_baseHasIn.js
|
|
21
|
+
function _(e, t) {
|
|
22
|
+
return e != null && t in Object(e);
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region ../../node_modules/lodash-es/_hasPath.js
|
|
26
|
+
function v(e, i, a) {
|
|
27
|
+
i = n(i, e);
|
|
28
|
+
for (var o = -1, s = i.length, c = !1; ++o < s;) {
|
|
29
|
+
var l = t(i[o]);
|
|
30
|
+
if (!(c = e != null && a(e, l))) break;
|
|
31
|
+
e = e[l];
|
|
32
|
+
}
|
|
33
|
+
return c || ++o != s ? c : (s = e == null ? 0 : e.length, !!s && u(s) && f(l, s) && (r(e) || d(e)));
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region ../../node_modules/lodash-es/hasIn.js
|
|
37
|
+
function y(e, t) {
|
|
38
|
+
return e != null && v(e, t, _);
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region ../../node_modules/lodash-es/isEmpty.js
|
|
42
|
+
var b = "[object Map]", x = "[object Set]", S = Object.prototype.hasOwnProperty;
|
|
43
|
+
function C(e) {
|
|
44
|
+
if (e == null) return !0;
|
|
45
|
+
if (l(e) && (r(e) || typeof e == "string" || typeof e.splice == "function" || c(e) || s(e) || d(e))) return !e.length;
|
|
46
|
+
var t = i(e);
|
|
47
|
+
if (t == b || t == x) return !e.size;
|
|
48
|
+
if (p(e)) return !a(e).length;
|
|
49
|
+
for (var n in e) if (S.call(e, n)) return !1;
|
|
50
|
+
return !0;
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
export { g as i, y as n, v as r, C as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./src-
|
|
2
|
-
import { p as e } from "./chunk-ZIGJFQKS-
|
|
1
|
+
import "./src-C9kQSo6K.js";
|
|
2
|
+
import { p as e } from "./chunk-ZIGJFQKS-C3xUAXJq.js";
|
|
3
3
|
import { n as t } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
|
4
|
-
import { H as n, U as r, a as i, c as a, q as o, s, v as c, w as l, x as u, y as d } from "./chunk-O7XYJQB3-
|
|
5
|
-
import { t as f } from "./chunk-6AEJRKK7-
|
|
4
|
+
import { H as n, U as r, a as i, c as a, q as o, s, v as c, w as l, x as u, y as d } from "./chunk-O7XYJQB3-A66QSOPA.js";
|
|
5
|
+
import { t as f } from "./chunk-6AEJRKK7-3YWRP4aV.js";
|
|
6
6
|
import { t as p } from "./rough.esm-Cvc79rxE.js";
|
|
7
7
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-OU5B5YK6.mjs
|
|
8
8
|
var m = (function() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ct as e } from "./components-
|
|
2
|
-
import { t } from "./src-
|
|
1
|
+
import { ct as e } from "./components-CUkJhBwK.js";
|
|
2
|
+
import { t } from "./src-C9kQSo6K.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
|
4
|
-
import { H as r, U as i, a, c as o, q as s, v as c, w as l, x as u, y as d } from "./chunk-O7XYJQB3-
|
|
4
|
+
import { H as r, U as i, a, c as o, q as s, v as c, w as l, x as u, y as d } from "./chunk-O7XYJQB3-A66QSOPA.js";
|
|
5
5
|
import { t as f } from "./chunk-5VM5RSS4-BFskf6Qk.js";
|
|
6
|
-
import { a as p, n as m, o as h, s as g } from "./chunk-GWA4HPMP-
|
|
6
|
+
import { a as p, n as m, o as h, s as g } from "./chunk-GWA4HPMP-Co-A6dtV.js";
|
|
7
7
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-ZHPQQLJL.mjs
|
|
8
8
|
var _ = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ n(function(e, t, n, r) {
|
package/dist/{kanban-definition-PNTS6WVX-BRoa-Yp5.js → kanban-definition-PNTS6WVX-S8plI4wn.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as e } from "./src-
|
|
2
|
-
import "./chunk-ZIGJFQKS-
|
|
1
|
+
import { n as e } from "./src-C9kQSo6K.js";
|
|
2
|
+
import "./chunk-ZIGJFQKS-C3xUAXJq.js";
|
|
3
3
|
import { n as t } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
|
4
|
-
import { Y as n, f as r, it as i, nt as a, tt as o, x as s, z as c } from "./chunk-O7XYJQB3-
|
|
5
|
-
import { t as l } from "./chunk-6AEJRKK7-
|
|
6
|
-
import "./chunk-742MDFTN-
|
|
7
|
-
import "./chunk-MBY4JIJT-
|
|
4
|
+
import { Y as n, f as r, it as i, nt as a, tt as o, x as s, z as c } from "./chunk-O7XYJQB3-A66QSOPA.js";
|
|
5
|
+
import { t as l } from "./chunk-6AEJRKK7-3YWRP4aV.js";
|
|
6
|
+
import "./chunk-742MDFTN-Cs1qGiTK.js";
|
|
7
|
+
import "./chunk-MBY4JIJT-C3RQP_Nk.js";
|
|
8
8
|
import { t as u } from "./chunk-5VM5RSS4-BFskf6Qk.js";
|
|
9
|
-
import "./chunk-7PRAP22T-
|
|
10
|
-
import "./chunk-7INBJB4K-
|
|
11
|
-
import { i as d, r as f } from "./chunk-5DYCD2WN-
|
|
12
|
-
import { r as p } from "./chunk-UA2S7LBM-
|
|
9
|
+
import "./chunk-7PRAP22T-_Av9vcXz.js";
|
|
10
|
+
import "./chunk-7INBJB4K-BY5n77ka.js";
|
|
11
|
+
import { i as d, r as f } from "./chunk-5DYCD2WN-Cja1INgd.js";
|
|
12
|
+
import { r as p } from "./chunk-UA2S7LBM-BNeHeMx9.js";
|
|
13
13
|
import { n as m, t as h } from "./chunk-LNGE3PJU-DJjGTS7O.js";
|
|
14
14
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-PNTS6WVX.mjs
|
|
15
15
|
var g = (function() {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/** The colour of each variant: one entry per `variant` × `color`. */
|
|
2
|
+
export declare const buttonCompoundVariants: ({
|
|
3
|
+
variant: "filled";
|
|
4
|
+
color: "primary";
|
|
5
|
+
class: string;
|
|
6
|
+
} | {
|
|
7
|
+
variant: "filled";
|
|
8
|
+
color: "secondary";
|
|
9
|
+
class: string;
|
|
10
|
+
} | {
|
|
11
|
+
variant: "filled";
|
|
12
|
+
color: "success";
|
|
13
|
+
class: string;
|
|
14
|
+
} | {
|
|
15
|
+
variant: "filled";
|
|
16
|
+
color: "info";
|
|
17
|
+
class: string;
|
|
18
|
+
} | {
|
|
19
|
+
variant: "filled";
|
|
20
|
+
color: "warning";
|
|
21
|
+
class: string;
|
|
22
|
+
} | {
|
|
23
|
+
variant: "filled";
|
|
24
|
+
color: "error";
|
|
25
|
+
class: string;
|
|
26
|
+
} | {
|
|
27
|
+
variant: "filled";
|
|
28
|
+
color: "default";
|
|
29
|
+
class: string;
|
|
30
|
+
} | {
|
|
31
|
+
variant: "tonal";
|
|
32
|
+
color: "primary";
|
|
33
|
+
class: string;
|
|
34
|
+
} | {
|
|
35
|
+
variant: "tonal";
|
|
36
|
+
color: "secondary";
|
|
37
|
+
class: string;
|
|
38
|
+
} | {
|
|
39
|
+
variant: "tonal";
|
|
40
|
+
color: "info";
|
|
41
|
+
class: string;
|
|
42
|
+
} | {
|
|
43
|
+
variant: "tonal";
|
|
44
|
+
color: "success";
|
|
45
|
+
class: string;
|
|
46
|
+
} | {
|
|
47
|
+
variant: "tonal";
|
|
48
|
+
color: "warning";
|
|
49
|
+
class: string;
|
|
50
|
+
} | {
|
|
51
|
+
variant: "tonal";
|
|
52
|
+
color: "error";
|
|
53
|
+
class: string;
|
|
54
|
+
} | {
|
|
55
|
+
variant: "tonal";
|
|
56
|
+
color: "default";
|
|
57
|
+
class: string;
|
|
58
|
+
} | {
|
|
59
|
+
variant: "outlined";
|
|
60
|
+
color: "primary";
|
|
61
|
+
class: string;
|
|
62
|
+
} | {
|
|
63
|
+
variant: "outlined";
|
|
64
|
+
color: "secondary";
|
|
65
|
+
class: string;
|
|
66
|
+
} | {
|
|
67
|
+
variant: "outlined";
|
|
68
|
+
color: "info";
|
|
69
|
+
class: string;
|
|
70
|
+
} | {
|
|
71
|
+
variant: "outlined";
|
|
72
|
+
color: "success";
|
|
73
|
+
class: string;
|
|
74
|
+
} | {
|
|
75
|
+
variant: "outlined";
|
|
76
|
+
color: "warning";
|
|
77
|
+
class: string;
|
|
78
|
+
} | {
|
|
79
|
+
variant: "outlined";
|
|
80
|
+
color: "error";
|
|
81
|
+
class: string;
|
|
82
|
+
} | {
|
|
83
|
+
variant: "outlined";
|
|
84
|
+
color: "default";
|
|
85
|
+
class: string;
|
|
86
|
+
} | {
|
|
87
|
+
variant: "link";
|
|
88
|
+
color: "primary";
|
|
89
|
+
class: string;
|
|
90
|
+
} | {
|
|
91
|
+
variant: "link";
|
|
92
|
+
color: "secondary";
|
|
93
|
+
class: string;
|
|
94
|
+
} | {
|
|
95
|
+
variant: "link";
|
|
96
|
+
color: "success";
|
|
97
|
+
class: string;
|
|
98
|
+
} | {
|
|
99
|
+
variant: "link";
|
|
100
|
+
color: "info";
|
|
101
|
+
class: string;
|
|
102
|
+
} | {
|
|
103
|
+
variant: "link";
|
|
104
|
+
color: "warning";
|
|
105
|
+
class: string;
|
|
106
|
+
} | {
|
|
107
|
+
variant: "link";
|
|
108
|
+
color: "error";
|
|
109
|
+
class: string;
|
|
110
|
+
} | {
|
|
111
|
+
variant: "link";
|
|
112
|
+
color: "default";
|
|
113
|
+
class: string;
|
|
114
|
+
})[];
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import { ComponentProps } from 'react';
|
|
3
2
|
import { SpinnerProps } from '../../feedback/spinner/spinner';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
color?: "error" | "success" | "default" | "info" | "warning" | "primary" | "secondary" | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
export type ButtonProps = ComponentProps<'button'> & VariantProps<typeof variants> & {
|
|
3
|
+
import { ButtonVariants, buttonVariants } from './button.variants';
|
|
4
|
+
export type ButtonProps = ComponentProps<'button'> & ButtonVariants & {
|
|
9
5
|
asChild?: boolean;
|
|
10
6
|
loading?: boolean;
|
|
11
7
|
spinnerVariant?: SpinnerProps['variant'];
|
|
@@ -13,4 +9,5 @@ export type ButtonProps = ComponentProps<'button'> & VariantProps<typeof variant
|
|
|
13
9
|
tooltip?: string;
|
|
14
10
|
};
|
|
15
11
|
export declare function Button({ tooltip, ...props }: ButtonProps): import("react").JSX.Element;
|
|
16
|
-
export {
|
|
12
|
+
export type { ButtonVariants };
|
|
13
|
+
export { buttonVariants };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const buttonVariants: (props?: ({
|
|
3
|
+
variant?: "link" | "filled" | "tonal" | "outlined" | "ghost" | null | undefined;
|
|
4
|
+
color?: "error" | "success" | "default" | "info" | "warning" | "primary" | "secondary" | null | undefined;
|
|
5
|
+
size?: "sm" | "icon" | "default" | "xs" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Whether `node` renders any text of its own — a string or a number,
|
|
4
|
+
* however deep in plain elements. An `Icon` or a lucide glyph has none.
|
|
5
|
+
* A component that produces its text from props (a `<Trans id="…" />`) is
|
|
6
|
+
* not seen: pass the button an `aria-label` then. Text under an
|
|
7
|
+
* `aria-hidden` element (a decorative count) does not name the button, so it
|
|
8
|
+
* does not count.
|
|
9
|
+
*/
|
|
10
|
+
export declare function hasTextContent(node: ReactNode): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** `IconButton`'s variant × color classes. */
|
|
2
2
|
export declare const variants: (props?: ({
|
|
3
|
-
variant?: "link" | "filled" | "tonal" | "
|
|
3
|
+
variant?: "link" | "filled" | "tonal" | "outlined" | "ghost" | null | undefined;
|
|
4
4
|
color?: "error" | "success" | "default" | "info" | "warning" | "primary" | "secondary" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Whether the enclosing `DataTable` is loading. `DataTableColumnHeader`
|
|
2
|
+
* reads it to disable sorting; outside a `DataTable` it is `false`. */
|
|
3
|
+
export declare const DataTableLoadingContext: import('react').Context<boolean>;
|
|
4
|
+
export declare function useDataTableLoading(): boolean;
|
|
@@ -5,6 +5,8 @@ type DataTablePaginationProps<TData extends RowData> = {
|
|
|
5
5
|
table: Table<DataTableFeatures, TData>;
|
|
6
6
|
showPage?: boolean;
|
|
7
7
|
showSelected?: boolean;
|
|
8
|
+
/** Disables the page size and the page buttons (a loading `DataTable`). */
|
|
9
|
+
disabled?: boolean;
|
|
8
10
|
} & ComponentProps<'div'>;
|
|
9
|
-
export declare function DataTablePagination<TData extends RowData>({ table, className, children, showPage, showSelected, ...props }: DataTablePaginationProps<TData>): import("react").JSX.Element;
|
|
11
|
+
export declare function DataTablePagination<TData extends RowData>({ table, className, children, showPage, showSelected, disabled, ...props }: DataTablePaginationProps<TData>): import("react").JSX.Element;
|
|
10
12
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColumnDef, Table as ReactTable, Row, RowData } from '@tanstack/react-table';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { DataTableFeatures } from './features';
|
|
4
|
+
import { DataTableEmpty } from './partials/data-table-empty-row';
|
|
4
5
|
interface DataTableProps<TData extends RowData> {
|
|
5
6
|
columns: ColumnDef<DataTableFeatures, TData, any>[];
|
|
6
7
|
data: TData[];
|
|
@@ -12,10 +13,19 @@ interface DataTableProps<TData extends RowData> {
|
|
|
12
13
|
onLoadMore?: () => void;
|
|
13
14
|
isLoadingMore?: boolean;
|
|
14
15
|
showViewOptions?: boolean;
|
|
16
|
+
/** While `true`: skeleton rows when there is nothing to show, the current
|
|
17
|
+
* rows dimmed and inert otherwise; `aria-busy` on the table; sorting,
|
|
18
|
+
* the toolbar's native controls and pagination disabled. */
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
/** How many skeleton rows `loading` shows. Default: the page size. */
|
|
21
|
+
loadingRows?: number;
|
|
22
|
+
/** Shown, spanning every visible column, when no row is left after filtering. A
|
|
23
|
+
* function is told whether rows exist but none matches the filters. */
|
|
24
|
+
empty?: DataTableEmpty;
|
|
15
25
|
}
|
|
26
|
+
export type { DataTableEmpty, DataTableEmptyState, } from './partials/data-table-empty-row';
|
|
16
27
|
interface DataTableOptions {
|
|
17
28
|
showPage?: boolean;
|
|
18
29
|
showSelected?: boolean;
|
|
19
30
|
}
|
|
20
|
-
export declare function DataTable<TData extends RowData>({ columns, data, className, actions, options, onLoadMore, renderExpandedRow, isLoadingMore, showHeader, showViewOptions, }: DataTableProps<TData>): import("react").JSX.Element;
|
|
21
|
-
export {};
|
|
31
|
+
export declare function DataTable<TData extends RowData>({ columns, data, className, actions, options, onLoadMore, renderExpandedRow, isLoadingMore, showHeader, showViewOptions, loading, loadingRows, empty, }: DataTableProps<TData>): import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Row, RowData } from '@tanstack/react-table';
|
|
1
|
+
import { Row, RowData, Table } from '@tanstack/react-table';
|
|
2
2
|
import { DataTableFeatures } from './features';
|
|
3
3
|
export declare function useColumnHelpers<T extends RowData>(): {
|
|
4
4
|
columnHelper: import('@tanstack/table-core').ColumnHelper<{
|
|
@@ -8,10 +8,10 @@ export declare function useColumnHelpers<T extends RowData>(): {
|
|
|
8
8
|
rowSortingFeature: import('@tanstack/table-core').TableFeature;
|
|
9
9
|
rowExpandingFeature: import('@tanstack/table-core').TableFeature;
|
|
10
10
|
rowPaginationFeature: import('@tanstack/table-core').TableFeature;
|
|
11
|
-
filteredRowModel: (table:
|
|
12
|
-
sortedRowModel: (table:
|
|
13
|
-
paginatedRowModel: (table:
|
|
14
|
-
expandedRowModel: (table:
|
|
11
|
+
filteredRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
12
|
+
sortedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
13
|
+
paginatedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
14
|
+
expandedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
15
15
|
}, T>;
|
|
16
16
|
predefinedColumns: () => {
|
|
17
17
|
select: import('@tanstack/table-core').DisplayColumnDef<{
|
|
@@ -21,10 +21,10 @@ export declare function useColumnHelpers<T extends RowData>(): {
|
|
|
21
21
|
rowSortingFeature: import('@tanstack/table-core').TableFeature;
|
|
22
22
|
rowExpandingFeature: import('@tanstack/table-core').TableFeature;
|
|
23
23
|
rowPaginationFeature: import('@tanstack/table-core').TableFeature;
|
|
24
|
-
filteredRowModel: (table:
|
|
25
|
-
sortedRowModel: (table:
|
|
26
|
-
paginatedRowModel: (table:
|
|
27
|
-
expandedRowModel: (table:
|
|
24
|
+
filteredRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
25
|
+
sortedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
26
|
+
paginatedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
27
|
+
expandedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
28
28
|
}, T, unknown>;
|
|
29
29
|
expand: import('@tanstack/table-core').DisplayColumnDef<{
|
|
30
30
|
columnFilteringFeature: import('@tanstack/table-core').TableFeature;
|
|
@@ -33,10 +33,10 @@ export declare function useColumnHelpers<T extends RowData>(): {
|
|
|
33
33
|
rowSortingFeature: import('@tanstack/table-core').TableFeature;
|
|
34
34
|
rowExpandingFeature: import('@tanstack/table-core').TableFeature;
|
|
35
35
|
rowPaginationFeature: import('@tanstack/table-core').TableFeature;
|
|
36
|
-
filteredRowModel: (table:
|
|
37
|
-
sortedRowModel: (table:
|
|
38
|
-
paginatedRowModel: (table:
|
|
39
|
-
expandedRowModel: (table:
|
|
36
|
+
filteredRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
37
|
+
sortedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
38
|
+
paginatedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
39
|
+
expandedRowModel: (table: Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
|
|
40
40
|
}, T, unknown>;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { Table as ReactTable, Row, RowData } from '@tanstack/react-table';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { DataTableFeatures } from '../features';
|
|
4
|
+
import { DataTableEmpty } from './data-table-empty-row';
|
|
4
5
|
interface DataTableBodyProps<TData extends RowData> {
|
|
5
6
|
table: ReactTable<DataTableFeatures, TData>;
|
|
6
|
-
/** Spans the empty-state cell. */
|
|
7
|
-
columnCount: number;
|
|
8
7
|
renderExpandedRow?: (row: Row<DataTableFeatures, TData>) => ReactNode;
|
|
8
|
+
/** Skeleton rows when there is nothing to show, dimmed rows otherwise. */
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
/** How many skeleton rows; the page size when absent. */
|
|
11
|
+
loadingRows?: number;
|
|
12
|
+
empty?: DataTableEmpty;
|
|
9
13
|
}
|
|
10
|
-
/** `DataTable`'s rows, each followed by its expanded row when open
|
|
11
|
-
* empty state. */
|
|
12
|
-
export declare function DataTableBody<TData extends RowData>({ table,
|
|
14
|
+
/** `DataTable`'s rows, each followed by its expanded row when open; skeleton
|
|
15
|
+
* rows while loading with no row to show; or the empty state. */
|
|
16
|
+
export declare function DataTableBody<TData extends RowData>({ table, renderExpandedRow, loading, loadingRows, empty, }: DataTableBodyProps<TData>): import("react").JSX.Element;
|
|
13
17
|
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** What `DataTable`'s `empty` render function is told: `filtered` is `true`
|
|
3
|
+
* when there is data but no row matches the column filters. */
|
|
4
|
+
export type DataTableEmptyState = {
|
|
5
|
+
filtered: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type DataTableEmpty = ReactNode | ((state: DataTableEmptyState) => ReactNode);
|
|
8
|
+
/** `DataTable`'s "nothing here" row: one `TableEmpty` cell spanning every
|
|
9
|
+
* visible column, holding `empty` or the default icon and text. */
|
|
10
|
+
export declare function DataTableEmptyRow({ columnCount, empty, filtered, }: {
|
|
11
|
+
columnCount: number;
|
|
12
|
+
empty?: DataTableEmpty;
|
|
13
|
+
filtered: boolean;
|
|
14
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** `DataTable`'s placeholder rows while it loads with nothing to show yet:
|
|
2
|
+
* `rows` rows of one `Skeleton` per visible column. Hidden from assistive
|
|
3
|
+
* tech; the table's status line announces the loading instead. */
|
|
4
|
+
export declare function DataTableSkeletonRows({ rows, columnCount, }: {
|
|
5
|
+
rows: number;
|
|
6
|
+
columnCount: number;
|
|
7
|
+
}): import("react").JSX.Element[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FilterField, FilterValue } from './types';
|
|
2
|
+
export type FilterFieldNumberRangeProps = {
|
|
3
|
+
field: FilterField;
|
|
4
|
+
value: FilterValue;
|
|
5
|
+
onChange: (value: FilterValue) => void;
|
|
6
|
+
error?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Two inputs, one value: the group carries the filter's name (its label) and
|
|
12
|
+
* help (its description and error), each input its own part ("Min", "Max"),
|
|
13
|
+
* as in DurationField. Two range filters are then told apart by their group.
|
|
14
|
+
*/
|
|
15
|
+
export declare function FilterFieldNumberRange({ field, value, onChange, error, disabled, className, }: FilterFieldNumberRangeProps): import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from './pagination';
|
|
1
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, } from './pagination';
|
|
2
2
|
export type { PaginationBarProps } from './pagination-bar';
|
|
3
3
|
export { PaginationBar } from './pagination-bar';
|
|
4
4
|
export type { PaginationItemToken } from './pagination-items';
|
|
@@ -14,5 +14,13 @@ declare function PaginationNext({ className, label, icon, ...props }: {
|
|
|
14
14
|
label?: ReactNode;
|
|
15
15
|
icon?: ReactNode;
|
|
16
16
|
} & ComponentProps<typeof PaginationLink>): import("react").JSX.Element;
|
|
17
|
+
declare function PaginationFirst({ className, label, icon, ...props }: {
|
|
18
|
+
label?: ReactNode;
|
|
19
|
+
icon?: ReactNode;
|
|
20
|
+
} & ComponentProps<typeof PaginationLink>): import("react").JSX.Element;
|
|
21
|
+
declare function PaginationLast({ className, label, icon, ...props }: {
|
|
22
|
+
label?: ReactNode;
|
|
23
|
+
icon?: ReactNode;
|
|
24
|
+
} & ComponentProps<typeof PaginationLink>): import("react").JSX.Element;
|
|
17
25
|
declare function PaginationEllipsis({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
18
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
|
|
26
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, };
|
|
@@ -7,5 +7,5 @@ export type ChipProps = {
|
|
|
7
7
|
label: ReactNode;
|
|
8
8
|
active?: boolean;
|
|
9
9
|
onDismiss?: () => void;
|
|
10
|
-
} & Omit<ButtonProps, 'children' | 'type'>;
|
|
10
|
+
} & Omit<ButtonProps, 'children' | 'type' | 'size'>;
|
|
11
11
|
export declare function Chip({ label, leading, trailing, avatar, className, active, variant, onDismiss, disabled, color, onClick, ...props }: ChipProps): import("react").JSX.Element;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { ExternalToast, toast as sonnerToast, Toaster } from 'sonner';
|
|
3
|
+
/**
|
|
4
|
+
* A toast's action: a labelled button that runs `onClick` and dismisses the
|
|
5
|
+
* toast, or a render function given `dismiss` for anything else.
|
|
6
|
+
*/
|
|
7
|
+
export type ToastAction = {
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
} | ((dismiss: () => void) => ReactNode);
|
|
3
11
|
export type ToastProps = {
|
|
4
12
|
id: string | number;
|
|
5
13
|
title?: ReactNode;
|
|
6
14
|
description?: ReactNode;
|
|
7
15
|
icon?: ReactNode;
|
|
8
16
|
className?: string;
|
|
9
|
-
action?:
|
|
10
|
-
label: ReactNode;
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
} | ((dismiss: () => void) => ReactNode);
|
|
17
|
+
action?: ToastAction;
|
|
13
18
|
};
|
|
14
19
|
export type ToastMethodProps = Omit<ToastProps, 'id'> & {
|
|
15
20
|
options?: ExternalToast;
|
|
@@ -7,5 +7,5 @@ declare function InputOTPGroup({ className, ...props }: React.ComponentProps<'di
|
|
|
7
7
|
declare function InputOTPSlot({ index, className, ...props }: React.ComponentProps<'div'> & {
|
|
8
8
|
index: number;
|
|
9
9
|
}): React.JSX.Element;
|
|
10
|
-
declare function InputOTPSeparator({ ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
10
|
+
declare function InputOTPSeparator({ children, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
11
11
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type SliderHeaderProps = {
|
|
3
|
+
label?: ReactNode;
|
|
4
|
+
labelId: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
showReadout: boolean;
|
|
7
|
+
values: number[];
|
|
8
|
+
min: number;
|
|
9
|
+
max: number;
|
|
10
|
+
step: number;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
onChange: (values: number[]) => void;
|
|
13
|
+
};
|
|
14
|
+
/** The Label and the value (editable inputs, or text) above the track. */
|
|
15
|
+
export declare function SliderHeader({ label, labelId, required, showReadout, values, min, max, step, disabled, onChange, }: SliderHeaderProps): import("react").JSX.Element | null;
|
|
@@ -11,3 +11,10 @@ export type SliderProps = {
|
|
|
11
11
|
showReadout?: boolean;
|
|
12
12
|
} & Omit<ComponentProps<typeof SliderControl>, 'hiddenLabel' | 'labelId'>;
|
|
13
13
|
export declare function Slider({ leading, trailing, label, helperText, error, required, ticks, showReadout, value, defaultValue, onValueChange, min, max, step, orientation, disabled, className, ref, ...props }: SliderProps): import("react").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* The labelled `Slider` under `@nxgt/material-vue`'s name, so code reads the
|
|
16
|
+
* same in both libraries. Same component, same props. The names align fully
|
|
17
|
+
* in 3.0; `Slider` is not deprecated.
|
|
18
|
+
*/
|
|
19
|
+
export declare const SliderField: typeof Slider;
|
|
20
|
+
export type SliderFieldProps = SliderProps;
|
|
@@ -7,3 +7,10 @@ export type SwitchProps = {
|
|
|
7
7
|
placeholder?: ReactNode;
|
|
8
8
|
} & ComponentProps<typeof SwitchPrimitive.Root>;
|
|
9
9
|
export declare function Switch({ error, helperText, label, placeholder, className, ...props }: SwitchProps): import("react").JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* The labelled `Switch` under `@nxgt/material-vue`'s name, so code reads the
|
|
12
|
+
* same in both libraries. Same component, same props. The names align fully
|
|
13
|
+
* in 3.0; `Switch` is not deprecated.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SwitchField: typeof Switch;
|
|
16
|
+
export type SwitchFieldProps = SwitchProps;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { StepperState } from './step-state';
|
|
3
|
+
export type StepperStepProps = {
|
|
4
|
+
id: string;
|
|
5
|
+
index: number;
|
|
6
|
+
state: StepperState;
|
|
7
|
+
current: boolean;
|
|
8
|
+
hidden: boolean;
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
label: ReactNode;
|
|
11
|
+
title: ReactNode;
|
|
12
|
+
description?: ReactNode;
|
|
13
|
+
name?: string;
|
|
14
|
+
onSelect?: () => void;
|
|
15
|
+
};
|
|
16
|
+
/** One `<li>` of a `Stepper`. Internal: not exported from the barrel. */
|
|
17
|
+
export declare function StepperStep({ id, index, state, current, hidden, icon, label, title, description, name, onSelect, }: StepperStepProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CameraContextValue } from './types';
|
|
2
|
+
export declare const CameraContext: import('react').Context<CameraContextValue | null>;
|
|
3
|
+
/** The camera's refs, state and actions; throws outside `<Camera>`. */
|
|
4
|
+
export declare function useCameraContext(): CameraContextValue;
|