@nxgt/material 2.1.0 → 2.2.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 +328 -574
- package/dist/_Uint8Array-BlYETJ93.js +127 -0
- package/dist/abnfDiagram-O67JEVCF-UBHbDvRt.js +89 -0
- package/dist/architectureDiagram-NJMV4G6O-YUaZEFrZ.js +4146 -0
- package/dist/blockDiagram-BEXU5L5S-LYb2ZWFy.js +1946 -0
- package/dist/c4Diagram-YGBWAQC7-C-2N38iN.js +2990 -0
- package/dist/channel-CUIVvEUM.js +5 -0
- package/dist/chunk-3FUC2YCW-uD4dp-_M.js +364 -0
- package/dist/chunk-5DYCD2WN-B2Jnu3zk.js +37 -0
- package/dist/chunk-6AEJRKK7-C9kihZu8.js +10 -0
- package/dist/chunk-742MDFTN-C8SK_MEU.js +275 -0
- package/dist/chunk-7INBJB4K-CyUOVm3_.js +4487 -0
- package/dist/chunk-7M6MHVWA-stRISv0F.js +4256 -0
- package/dist/chunk-7PRAP22T-DSh07ASj.js +67 -0
- package/dist/chunk-GNY47TPC-CNRH-hmN.js +75 -0
- package/dist/chunk-GTNCS2PH-Dd-9mUKz.js +490 -0
- package/dist/chunk-GWA4HPMP-LeZ8CTY7.js +61 -0
- package/dist/chunk-MBY4JIJT-efJLM0ZL.js +1847 -0
- package/dist/chunk-NETBCI7D-Dh3LtOKr.js +236 -0
- package/dist/chunk-O7XYJQB3-CocGKgmL.js +3922 -0
- package/dist/chunk-UA2S7LBM-C81eiQ4_.js +363 -0
- package/dist/chunk-WEXAMYUT-Dt2jrFYj.js +26 -0
- package/dist/chunk-XXDRQBXY-mQqOBHO_.js +9 -0
- package/dist/chunk-Z7XXMR3K-D00WQ1MY.js +677 -0
- package/dist/chunk-ZIGJFQKS-Dqo-x9kg.js +663 -0
- package/dist/classDiagram-v2-NBCMYWYE-C4ucYlr1.js +3397 -0
- package/dist/client-only.utils-ojMUdy5B.js +340 -0
- package/dist/components/components.css +22 -0
- package/dist/components/ui/actions/button-group/button-group.css +12 -0
- package/dist/components/ui/display/code/code-moonlight.css +73 -0
- package/dist/components/ui/fields/attributes/attribute-form/attribute-form.css +21 -0
- package/dist/components/ui/fields/attributes/attribute-values-form/attribute-values-form.css +21 -0
- package/dist/components/ui/fields/contacts/contact-item.css +9 -0
- package/dist/components/ui/fields/opening-hours/opening-hours-item.css +9 -0
- package/dist/components/ui/layout/app-bar/bottom-app-bar.css +12 -0
- package/dist/components-DqMrnRRo.js +189618 -0
- package/dist/components.js +7 -4
- package/dist/cose-bilkent-JH36ORCC-BgR2hiLh.js +2251 -0
- package/dist/cynefinDiagram-VND7K2PF-wsthSZGu.js +349 -0
- package/dist/dagre-6A5THRUB-D9hh4vCU.js +2193 -0
- package/dist/diagram-22UHCM2B-Bu26TJjA.js +5084 -0
- package/dist/diagram-3UASUU5V-BEydDExL.js +724 -0
- package/dist/diagram-ATOU4E4O-DNtxHPVW.js +432 -0
- package/dist/diagram-CDSNMT55-BrwCxgMX.js +301 -0
- package/dist/diagram-MLGK6HIB-Bk26pSvC.js +134 -0
- package/dist/diagram-MPIPVDR6-Bl3F8b-U.js +214 -0
- package/dist/dist-C-0DUGrt.js +16576 -0
- package/dist/dist-CZn89tDX.js +50 -0
- package/dist/dnd.js +1 -1
- package/dist/ebnfDiagram-ZINNZB2B-C7vCu85A.js +100 -0
- package/dist/elk-276RUBZZ-ChJLevem.js +47598 -0
- package/dist/erDiagram-OPXOYQCR-DLzDCh2a.js +1970 -0
- package/dist/field-blur-CtjbtCDw.js +3486 -0
- package/dist/flowDiagram-KWPJA3E3-uiZryqlC.js +17 -0
- package/dist/ganttDiagram-FUAMR5RP-35sd5PoK.js +2929 -0
- package/dist/gitGraphDiagram-X574FWY7-Z7zhlcB8.js +729 -0
- package/dist/graphlib-DlxAzBTD.js +495 -0
- package/dist/hooks.js +97 -3
- package/dist/i18n-provider-BUQY82bS.js +43 -0
- package/dist/i18n.js +46 -2
- package/dist/icon-button-38As1vrs.js +2718 -0
- package/dist/infoDiagram-VRGFBTTK-BwoHwPPX.js +20 -0
- package/dist/isArrayLikeObject-DsRXN32g.js +86 -0
- package/dist/ishikawaDiagram-OU5B5YK6-C-aWtSta.js +719 -0
- package/dist/journeyDiagram-ZHPQQLJL-vXvTzJwE.js +884 -0
- package/dist/kanban-definition-PNTS6WVX-Co0CvKcV.js +976 -0
- package/dist/lib/components/index.d.ts +10 -151
- package/dist/lib/components/ui/actions/action-card/action-card.d.ts +11 -0
- package/dist/lib/components/ui/actions/action-card/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/button/button.d.ts +16 -0
- package/dist/lib/components/ui/actions/button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/button-group/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/copy-button/copy-button.d.ts +9 -0
- package/dist/lib/components/ui/actions/highlight-text/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/icon-button/icon-badge.d.ts +15 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +11 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +5 -0
- package/dist/lib/components/ui/actions/icon-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/index.d.ts +13 -0
- package/dist/lib/components/ui/actions/language-switcher/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/language-switcher/language-switcher.d.ts +6 -0
- package/dist/lib/components/ui/actions/link/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/link/link.d.ts +9 -0
- package/dist/lib/components/ui/actions/load-more-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/load-more-button/load-more-button.d.ts +25 -0
- package/dist/lib/components/ui/actions/responsive-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +7 -0
- package/dist/lib/components/ui/actions/scroll-to-top/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/scroll-to-top/scroll-to-top.d.ts +20 -0
- package/dist/lib/components/ui/actions/split-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/split-button/split-button.d.ts +8 -0
- package/dist/lib/components/ui/actions/theme-toggle/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/theme-toggle/theme-toggle.d.ts +6 -0
- package/dist/lib/components/ui/collections/data-table/index.d.ts +7 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +13 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-head.d.ts +6 -0
- package/dist/lib/components/ui/collections/data-table/table-meta.d.ts +13 -0
- package/dist/lib/components/ui/collections/data-table/use-data-table.d.ts +16 -0
- package/dist/lib/components/ui/collections/filter/consts.d.ts +61 -0
- package/dist/lib/components/ui/collections/filter/filter-form-field.d.ts +52 -0
- package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +34 -0
- package/dist/lib/components/ui/collections/filter/filter-trigger.d.ts +6 -0
- package/dist/lib/components/ui/collections/filter/filter-value.utils.d.ts +31 -0
- package/dist/lib/components/ui/collections/filter/index.d.ts +21 -0
- package/dist/lib/components/ui/collections/index.d.ts +5 -0
- package/dist/lib/components/ui/dates/calendar/calendar.d.ts +12 -0
- package/dist/lib/components/ui/dates/calendar/index.d.ts +1 -0
- package/dist/lib/components/ui/dates/date-field/date-field-trigger.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-field/date-field.d.ts +33 -0
- package/dist/lib/components/ui/dates/date-field/date-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field-trigger.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.d.ts +29 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-range-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/duration-field/duration-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/duration-field/duration-group-a11y.d.ts +15 -0
- package/dist/lib/components/ui/dates/duration-field/index.d.ts +4 -0
- package/dist/lib/components/ui/dates/index.d.ts +6 -0
- package/dist/lib/components/ui/dates/picker-trigger/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-field-frame.d.ts +30 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-trigger-a11y.d.ts +35 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-trigger-attrs.d.ts +25 -0
- package/dist/lib/components/ui/dates/time-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-overlay.d.ts +17 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-picker.d.ts +12 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-trigger.d.ts +13 -0
- package/dist/lib/components/ui/dates/time-field/time-field.d.ts +22 -0
- package/dist/lib/components/ui/dates/time-field/time-form-field.d.ts +5 -0
- package/dist/lib/components/ui/display/accordion-card/accordion-card.d.ts +13 -0
- package/dist/lib/components/ui/display/accordion-card/index.d.ts +1 -0
- package/dist/lib/components/ui/display/api-endpoint/index.d.ts +1 -0
- package/dist/lib/components/ui/display/api-operation/api-operation.d.ts +13 -0
- package/dist/lib/components/ui/display/api-operation/index.d.ts +1 -0
- package/dist/lib/components/ui/display/avatar/avatar.d.ts +15 -0
- package/dist/lib/components/ui/display/avatar/index.d.ts +1 -0
- package/dist/lib/components/ui/display/badge/badge.d.ts +9 -0
- package/dist/lib/components/ui/display/badge/index.d.ts +1 -0
- package/dist/lib/components/ui/display/barecode/barecode.d.ts +6 -0
- package/dist/lib/components/ui/display/barecode/index.d.ts +1 -0
- package/dist/lib/components/ui/display/cards/types.d.ts +187 -0
- package/dist/lib/components/ui/display/chip/chip.d.ts +11 -0
- package/dist/lib/components/ui/display/chip/index.d.ts +1 -0
- package/dist/lib/components/ui/display/chip/partials/chip-body.d.ts +9 -0
- package/dist/lib/components/ui/display/chip/partials/chip-dismiss-button.d.ts +9 -0
- package/dist/lib/components/ui/display/code/parse-json.d.ts +14 -0
- package/dist/lib/components/ui/display/count-badge/count-badge.d.ts +10 -0
- package/dist/lib/components/ui/display/count-badge/index.d.ts +1 -0
- package/dist/lib/components/ui/display/description/index.d.ts +1 -0
- package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +13 -0
- package/dist/lib/components/ui/display/entity-header/index.d.ts +1 -0
- package/dist/lib/components/ui/display/figure/index.d.ts +1 -0
- package/dist/lib/components/ui/display/index.d.ts +25 -0
- package/dist/lib/components/ui/display/list-tile/index.d.ts +1 -0
- package/dist/lib/components/ui/display/markdown/markdown.d.ts +7 -0
- package/dist/lib/components/ui/display/metrics/types.d.ts +125 -0
- package/dist/lib/components/ui/display/param-table/index.d.ts +1 -0
- package/dist/lib/components/ui/display/qrcode/index.d.ts +1 -0
- package/dist/lib/components/ui/display/qrcode/qrcode.d.ts +7 -0
- package/dist/lib/components/ui/display/stat-card/stat-card.d.ts +13 -0
- package/dist/lib/components/ui/display/status-indicator/index.d.ts +1 -0
- package/dist/lib/components/ui/display/summary-data/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/alert/alert.d.ts +12 -0
- package/dist/lib/components/ui/feedback/alert/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog.d.ts +15 -0
- package/dist/lib/components/ui/feedback/alert-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/circular-progress/circular-progress.d.ts +20 -0
- package/dist/lib/components/ui/feedback/circular-progress/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/confirm-dialog/confirm-dialog.d.ts +18 -0
- package/dist/lib/components/ui/feedback/confirm-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/confirmation-dialog.d.ts +22 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/custom-alert-dialog/custom-alert-dialog.d.ts +10 -0
- package/dist/lib/components/ui/feedback/custom-alert-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/custom-dialog/custom-dialog.d.ts +10 -0
- package/dist/lib/components/ui/feedback/custom-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/empty-state/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/hydrate-loading/hydrate-loading.d.ts +9 -0
- package/dist/lib/components/ui/feedback/hydrate-loading/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/index.d.ts +4 -2
- package/dist/lib/components/ui/feedback/progress/index.d.ts +2 -0
- package/dist/lib/components/ui/feedback/scroll-progress/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/skeleton/skeleton-card.d.ts +4 -0
- package/dist/lib/components/ui/feedback/spinner/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/spinner/spinner.d.ts +9 -0
- package/dist/lib/components/ui/feedback/toast/index.d.ts +2 -0
- package/dist/lib/components/ui/feedback/toast/toasts.d.ts +41 -0
- package/dist/lib/components/ui/fields/attributes/attribute-dialog.d.ts +10 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/attribute-value-form-field.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/consts.d.ts +45 -0
- package/dist/lib/components/ui/fields/attributes/attribute-values-form/attribute-values-form.d.ts +15 -0
- package/dist/lib/components/ui/fields/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attributes-field/attributes-field.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attributes-field/state.d.ts +14 -0
- package/dist/lib/components/ui/fields/attributes/attributes-form-field/attributes-form-field.d.ts +13 -0
- package/dist/lib/components/ui/fields/attributes/attributes-list/attributes-list.d.ts +11 -0
- package/dist/lib/components/ui/fields/attributes/consts.d.ts +2 -0
- package/dist/lib/components/ui/fields/attributes/utils.d.ts +4 -0
- package/dist/lib/components/ui/fields/color-field/color-field.d.ts +8 -0
- package/dist/lib/components/ui/fields/color-field/color-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/color-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/contacts/contact-item.d.ts +21 -0
- package/dist/lib/components/ui/fields/contacts/utils.d.ts +11 -0
- package/dist/lib/components/ui/fields/country-field/country-field.d.ts +20 -0
- package/dist/lib/components/ui/fields/country-field/country-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/country-field/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +7 -0
- package/dist/lib/components/ui/fields/currency-field/currency-field.d.ts +15 -0
- package/dist/lib/components/ui/fields/currency-field/currency-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/currency-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/email-field/email-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/email-field/email-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/email-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/field/types.d.ts +67 -0
- package/dist/lib/components/ui/fields/index.d.ts +24 -0
- package/dist/lib/components/ui/fields/inline-edit/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/inline-edit/inline-edit-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/input-group-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/input-group-field/input-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/number-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/number-field/number-field.d.ts +24 -0
- package/dist/lib/components/ui/fields/number-field/number-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/opening-hours/consts.d.ts +18 -0
- package/dist/lib/components/ui/fields/opening-hours/opening-hours-item.d.ts +21 -0
- package/dist/lib/components/ui/fields/otp-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/otp-field/otp-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/password-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/password-field/password-field.d.ts +8 -0
- package/dist/lib/components/ui/fields/password-field/password-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/percent-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/percent-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/phone-field/index.d.ts +7 -0
- package/dist/lib/components/ui/fields/phone-field/phone-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/rating-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/rating-field/rating-field.d.ts +23 -0
- package/dist/lib/components/ui/fields/rating-field/rating-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/search-field/index.d.ts +5 -0
- package/dist/lib/components/ui/fields/search-field/search-field.d.ts +11 -0
- package/dist/lib/components/ui/fields/search-field/search-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/slider/slider-control.d.ts +12 -0
- package/dist/lib/components/ui/fields/slider/slider-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/slider-thumb-names.d.ts +19 -0
- package/dist/lib/components/ui/fields/slider/slider.d.ts +13 -0
- package/dist/lib/components/ui/fields/switch/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/switch/partials/switch-control.d.ts +4 -0
- package/dist/lib/components/ui/fields/switch/partials/switch-row.d.ts +15 -0
- package/dist/lib/components/ui/fields/switch/switch-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/switch/switch.utils.d.ts +27 -0
- package/dist/lib/components/ui/fields/switch/use-switch-checked.d.ts +13 -0
- package/dist/lib/components/ui/fields/switch/use-switch-state.d.ts +32 -0
- package/dist/lib/components/ui/fields/text-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/text-field/text-field.d.ts +10 -0
- package/dist/lib/components/ui/fields/text-field/text-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/textarea-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/textarea-field/textarea-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/timezone-field/index.d.ts +5 -0
- package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +5 -0
- package/dist/lib/components/ui/fields/timezone-field/timezone-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/url-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/url-field/url-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/url-field/url-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/array-error-message.d.ts +7 -0
- package/dist/lib/components/ui/forms/field-blur-context.d.ts +19 -0
- package/dist/lib/components/ui/forms/field-blur-layers.d.ts +34 -0
- package/dist/lib/components/ui/forms/field-blur.d.ts +11 -0
- package/dist/lib/components/ui/forms/form-field.d.ts +1 -1
- package/dist/lib/components/ui/forms/form-field.wiring.d.ts +11 -0
- package/dist/lib/components/ui/forms/index.d.ts +0 -44
- package/dist/lib/components/ui/forms/select-choice.utils.d.ts +9 -0
- package/dist/lib/components/ui/forms/use-field-blur.d.ts +27 -0
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +24 -0
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.utils.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/app-sidebar.d.ts +17 -0
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +24 -0
- package/dist/lib/components/ui/layout/background/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/breadcrumb/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/doc/doc.utils.d.ts +29 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-empty.d.ts +3 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-progress.d.ts +3 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-skip-link.d.ts +2 -0
- package/dist/lib/components/ui/layout/hero/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/index.d.ts +16 -0
- package/dist/lib/components/ui/layout/list-details-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/list-details-layout/list-details-layout.d.ts +22 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-context.d.ts +13 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-details.d.ts +8 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-list.d.ts +9 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-trigger.d.ts +11 -0
- package/dist/lib/components/ui/layout/pager/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/pane-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/pane-layout/pane-layout.d.ts +22 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-content.d.ts +9 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-context.d.ts +13 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-pane.d.ts +11 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-trigger.d.ts +10 -0
- package/dist/lib/components/ui/layout/resizable/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/responsive-grid/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/see-also/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/sidebar/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/skip-link/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/steps/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/thread-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/toc/index.d.ts +1 -0
- package/dist/lib/components/ui/media/camera/types.d.ts +38 -0
- package/dist/lib/components/ui/media/carousel/carousel.d.ts +19 -0
- package/dist/lib/components/ui/media/carousel/index.d.ts +1 -0
- package/dist/lib/components/ui/media/file-list/file-list-field.d.ts +12 -0
- package/dist/lib/components/ui/media/file-list/file-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/file-list/file-list-s3-field.d.ts +6 -0
- package/dist/lib/components/ui/media/file-list/file-list-s3-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/file-list/index.d.ts +10 -0
- package/dist/lib/components/ui/media/files-form-field/files-form-field.d.ts +9 -0
- package/dist/lib/components/ui/media/files-form-field/index.d.ts +1 -0
- package/dist/lib/components/ui/media/image-field/image-field-actions.d.ts +12 -0
- package/dist/lib/components/ui/media/image-field/image-field.d.ts +10 -0
- package/dist/lib/components/ui/media/image-field/image-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/image-field/image-s3-field.d.ts +6 -0
- package/dist/lib/components/ui/media/image-field/image-s3-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/image-field/index.d.ts +6 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-body.d.ts +14 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-frame.d.ts +16 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-picker.d.ts +8 -0
- package/dist/lib/components/ui/media/image-field/use-image-field.d.ts +52 -0
- package/dist/lib/components/ui/media/index.d.ts +11 -0
- package/dist/lib/components/ui/media/pdf-viewer/index.d.ts +19 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +44 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-note-icons.d.ts +11 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-note-icons.data.d.ts +2 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +57 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-list.d.ts +20 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +37 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-body.d.ts +32 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-keyboard.d.ts +17 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-states.d.ts +14 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.d.ts +9 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.reducer.d.ts +66 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +42 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-sidebar.d.ts +17 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +25 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-thumbnail-sidebar.d.ts +13 -0
- package/dist/lib/components/ui/media/pdf-viewer/types.d.ts +73 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document-search.d.ts +10 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-file-actions.d.ts +15 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-fullscreen.d.ts +6 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-outline-select.d.ts +9 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-area.d.ts +12 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-report.d.ts +16 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-reader.d.ts +32 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-scroll-spy.d.ts +16 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-hits.d.ts +44 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-open.d.ts +12 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-source.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-dropzone.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.slice.d.ts +253 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.utils.d.ts +46 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-field-items.d.ts +16 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-actions.d.ts +8 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-details.d.ts +5 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-thumbnail.d.ts +5 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/upload-constraints.d.ts +11 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/upload-display-items.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-add-local-item.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-image-preview.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-network-upload-field.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-network-upload-item.d.ts +24 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-start-upload.d.ts +15 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-commit.d.ts +10 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-item-handlers.d.ts +25 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-items.d.ts +13 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-field.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload-field/upload-field.d.ts +14 -0
- package/dist/lib/components/ui/media/upload-field/upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/overlays/command/command.d.ts +16 -0
- package/dist/lib/components/ui/overlays/command/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/context-menu/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dialog/dialog.d.ts +14 -0
- package/dist/lib/components/ui/overlays/dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dialog/use-return-focus.d.ts +32 -0
- package/dist/lib/components/ui/overlays/drawer/drawer.d.ts +14 -0
- package/dist/lib/components/ui/overlays/drawer/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dropdown-menu/dropdown-menu.d.ts +33 -0
- package/dist/lib/components/ui/overlays/dropdown-menu/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/hover-card/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/index.d.ts +10 -0
- package/dist/lib/components/ui/overlays/menubar/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/menubar/menubar.d.ts +30 -0
- package/dist/lib/components/ui/overlays/popover/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/sheet/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/sheet/sheet.d.ts +15 -0
- package/dist/lib/components/ui/overlays/tooltip/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/tooltip/tooltip.d.ts +18 -0
- package/dist/lib/components/ui/primitives/accordion/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/activity/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/anchor-heading/anchor-heading.d.ts +9 -0
- package/dist/lib/components/ui/primitives/anchor-heading/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/card/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/collapsible/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/extended-label/extended-label.d.ts +7 -0
- package/dist/lib/components/ui/primitives/extended-label/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/helper-text/helper-text.d.ts +5 -0
- package/dist/lib/components/ui/primitives/helper-text/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/icon/icon-context.d.ts +10 -0
- package/dist/lib/components/ui/primitives/icon/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/index.d.ts +20 -0
- package/dist/lib/components/ui/primitives/input/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/input/input-box.d.ts +10 -0
- package/dist/lib/components/ui/primitives/input/input.d.ts +9 -0
- package/dist/lib/components/ui/primitives/input-group/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/input-group/input-group.d.ts +13 -0
- package/dist/lib/components/ui/primitives/kbd/index.d.ts +2 -0
- package/dist/lib/components/ui/primitives/label/field-group.d.ts +62 -0
- package/dist/lib/components/ui/primitives/label/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/scroll-area/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/separator/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/table/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/tabs/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/textarea/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle/toggle.d.ts +9 -0
- package/dist/lib/components/ui/primitives/toggle-group/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle-group/toggle-group.d.ts +9 -0
- package/dist/lib/components/ui/primitives/typography/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete.d.ts +37 -0
- package/dist/lib/components/ui/selection/autocomplete/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +8 -0
- package/dist/lib/components/ui/selection/check-card-field/check-card-field.d.ts +13 -0
- package/dist/lib/components/ui/selection/check-card-field/check-card-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/check-card-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/checkbox/checkbox-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/checkbox/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +15 -0
- package/dist/lib/components/ui/selection/checkbox-group/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/combobox/combobox-anchor.d.ts +3 -0
- package/dist/lib/components/ui/selection/combobox/combobox-chips.d.ts +12 -0
- package/dist/lib/components/ui/selection/combobox/combobox-input.d.ts +7 -0
- package/dist/lib/components/ui/selection/combobox/combobox.d.ts +19 -0
- package/dist/lib/components/ui/selection/combobox/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/combobox-field/index.d.ts +3 -0
- package/dist/lib/components/ui/selection/index.d.ts +14 -0
- package/dist/lib/components/ui/selection/radio-group/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +16 -0
- package/dist/lib/components/ui/selection/select/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/select-card-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-card-field/select-card-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/select-chip-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-chip-field/select-chip-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/select-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-field/select-field.d.ts +20 -0
- package/dist/lib/components/ui/selection/select-field/select-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/sortable-list/index.d.ts +5 -0
- package/dist/lib/components/ui/selection/sortable-list/sortable-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/switcher/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/switcher/switcher.d.ts +15 -0
- package/dist/lib/components/ui/selection/transfer-list/index.d.ts +4 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-board.d.ts +36 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-droppable.d.ts +13 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-pane.d.ts +38 -0
- package/dist/lib/components/ui/selection/transfer-list/transfer-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/chat/chat-composer-mentions.d.ts +8 -0
- package/dist/lib/components/ui/widgets/chat/chat-composer.d.ts +24 -0
- package/dist/lib/components/ui/widgets/chat/chat-markdown.d.ts +6 -0
- package/dist/lib/components/ui/widgets/chat/index.d.ts +13 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-attachments.d.ts +18 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-input.d.ts +26 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-composer-attachments.d.ts +25 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-composer.d.ts +38 -0
- package/dist/lib/components/ui/widgets/code-editor/code-editor-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/code-editor/code-editor-options.d.ts +16 -0
- package/dist/lib/components/ui/widgets/code-editor/index.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-events.utils.d.ts +14 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-event-chip.d.ts +8 -0
- package/dist/lib/components/ui/widgets/index.d.ts +9 -0
- package/dist/lib/components/ui/widgets/kanban/kanban.utils.d.ts +24 -0
- package/dist/lib/components/ui/widgets/mentions/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/mentions/mentions.utils.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/shared/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/shared/use-node-form.d.ts +35 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/extensions.d.ts +24 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/mention-items.d.ts +5 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/mention-list.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/suggestions.d.ts +10 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/slash-command/extension.d.ts +10 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-cells.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-structure.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-table-actions.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/use-table-menu-state.d.ts +17 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/index.d.ts +2 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-attributes.d.ts +12 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-wrapper.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/types.d.ts +34 -0
- package/dist/lib/dnd/index.d.ts +1 -1
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/theme-store.d.ts +9 -0
- package/dist/lib/hooks/use-allowed-transitions.d.ts +3 -3
- package/dist/lib/hooks/use-formatters.d.ts +14 -0
- package/dist/lib/hooks/use-fullscreen-element.d.ts +10 -0
- package/dist/lib/hooks/use-number-formatter.d.ts +5 -0
- package/dist/lib/hooks/use-ssr-media-query.d.ts +14 -0
- package/dist/lib/hooks/use-theme.d.ts +5 -0
- package/dist/lib/i18n/format-message.d.ts +18 -0
- package/dist/lib/i18n/index.d.ts +2 -1
- package/dist/lib/i18n/resources/en/en.d.ts +1204 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +375 -26
- package/dist/lib/i18n/resources/fr/fr.d.ts +1204 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +362 -13
- package/dist/lib/i18n/resources/resources.d.ts +2398 -0
- package/dist/lib/i18n/stored-language.d.ts +7 -0
- package/dist/lib/i18n/translate-material.d.ts +15 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/i18n/types.d.ts +1 -1
- package/dist/lib/i18n/use-material-translation.d.ts +7 -0
- package/dist/lib/lib/client-only.utils.d.ts +1 -1
- package/dist/lib/lib/pdf-download.d.ts +35 -0
- package/dist/lib/lib/pdf-file-name.d.ts +9 -0
- package/dist/lib/lib/pdf-source.d.ts +57 -0
- package/dist/lib/lib/print-format.utils.d.ts +55 -11
- package/dist/lib/lib/print-fraction-digits.d.ts +12 -0
- package/dist/lib/lib/print-table.utils.d.ts +60 -0
- package/dist/lib/lib/print-value.utils.d.ts +40 -0
- package/dist/lib/lib/react-node-text.d.ts +3 -0
- package/dist/lib/lib/read-storage.d.ts +9 -0
- package/dist/lib/lib/redux/filter-slice.d.ts +1 -1
- package/dist/lib/lib/redux/slice-server-state.d.ts +6 -0
- package/dist/lib/lib/redux/status-slice.d.ts +2 -2
- package/dist/lib/lib/redux/step-form-slice.d.ts +5 -21
- package/dist/lib/lib/zod-error-map.d.ts +26 -4
- package/dist/lib/map/components/location-field.d.ts +2 -2
- package/dist/lib/map/components/partials/marker.d.ts +1 -1
- package/dist/lib/map/index.d.ts +2 -2
- package/dist/lib/pdf-core/file-loader.d.ts +18 -0
- package/dist/lib/pdf-core/http.d.ts +22 -0
- package/dist/lib/pdf-core/index.d.ts +11 -0
- package/dist/lib/pdf-core/model/builders.d.ts +54 -0
- package/dist/lib/pdf-core/model/data-table.d.ts +24 -0
- package/dist/lib/pdf-core/model/index.d.ts +4 -0
- package/dist/lib/pdf-core/model/nodes.d.ts +133 -0
- package/dist/lib/pdf-core/model/theme.d.ts +16 -0
- package/dist/lib/pdf-core/model/types.d.ts +108 -0
- package/dist/lib/pdf-core/render/context.d.ts +50 -0
- package/dist/lib/pdf-core/render/document.d.ts +21 -0
- package/dist/lib/pdf-core/render/index.d.ts +5 -0
- package/dist/lib/pdf-core/render/nodes/blocks.d.ts +19 -0
- package/dist/lib/pdf-core/render/nodes/header.d.ts +14 -0
- package/dist/lib/pdf-core/render/nodes/layout.d.ts +44 -0
- package/dist/lib/pdf-core/render/nodes/table.d.ts +14 -0
- package/dist/lib/pdf-core/render/page.d.ts +30 -0
- package/dist/lib/pdf-core/render/render-node.d.ts +10 -0
- package/dist/lib/pdf-core/render/styles.d.ts +303 -0
- package/dist/lib/print/components/pdf-text.d.ts +8 -0
- package/dist/lib/print/components/print-data-table/index.d.ts +3 -0
- package/dist/lib/print/components/print-data-table/print-data-table.d.ts +30 -0
- package/dist/lib/print/components/print-data-table/print-key-value.d.ts +32 -0
- package/dist/lib/print/components/print-data-table/print-metric.d.ts +26 -0
- package/dist/lib/print/components/print-document/index.d.ts +1 -0
- package/dist/lib/print/components/print-document/print-document.d.ts +40 -0
- package/dist/lib/print/components/print-document/print-render-context.d.ts +11 -0
- package/dist/lib/print/components/print-header.d.ts +13 -8
- package/dist/lib/print/index.d.ts +6 -0
- package/dist/lib/print/output/download-pdf.d.ts +17 -0
- package/dist/lib/print/output/index.d.ts +7 -0
- package/dist/lib/print/output/pdf-response.d.ts +12 -0
- package/dist/lib/print/output/render-pdf.d.ts +14 -0
- package/dist/lib/print/output/to-pdf-element.d.ts +8 -0
- package/dist/lib/print/output/types.d.ts +19 -0
- package/dist/lib/print/output/use-pdf-file.d.ts +20 -0
- package/dist/lib/vite/index.d.ts +12 -11
- package/dist/lib-uF8iIfvP.js +366 -0
- package/dist/lib.js +5 -4
- package/dist/main.js +21 -9
- package/dist/map.js +223 -207
- package/dist/material.css +1 -1
- package/dist/merge-Z2oE4ahJ.js +172 -0
- package/dist/mermaid.core-6Yzht5pQ.js +1096 -0
- package/dist/mindmap-definition-NLK3R4M7-AxpMaPtm.js +1008 -0
- package/dist/number.utils-CRFiOD5c.js +2686 -0
- package/dist/pdf-download-hrKrI5_6.js +153 -0
- package/dist/pdf-note-icons.data-DtpqXoIm.js +17 -0
- package/dist/pegDiagram-GJSIUBJH-DjilqSgv.js +94 -0
- package/dist/pieDiagram-5QR66LMP-H8rVCHkC.js +157 -0
- package/dist/print-format.utils-B7K9qvuo.js +53 -0
- package/dist/print-fraction-digits-WtEBeztr.js +5 -0
- package/dist/print.js +1211 -99
- package/dist/quadrantDiagram-O4NWA36T-CEDIjm-K.js +2001 -0
- package/dist/railroadDiagram-XR7U4H2S-BxR9jg9Y.js +76 -0
- package/dist/requirementDiagram-PLB6GJNP-DAuKYcHc.js +2228 -0
- package/dist/sankeyDiagram-IPEJSGJF-C3JJqzLE.js +962 -0
- package/dist/sequenceDiagram-PO4LG4MO-Cs8x9lRY.js +4200 -0
- package/dist/sortable-provider-DalccwHj.js +2684 -0
- package/dist/src-BIbdeDuO.js +1775 -0
- package/dist/stateDiagram-v2-GCMORJYK-PpP0APmW.js +2143 -0
- package/dist/stored-language-BVYsloiW.js +2295 -0
- package/dist/styles.css +2 -0
- package/dist/swimlanes-2SLR337P-BmqILJTV.js +4763 -0
- package/dist/swimlanesDiagram-TC7HE7FX-DO3BxSlE.js +28 -0
- package/dist/timeline-definition-EJHVYXUP-CEOIzkcq.js +1073 -0
- package/dist/translate-material-BO32ZDCi.js +12 -0
- package/dist/translator-CiPgm2s3.js +2739 -0
- package/dist/use-heading-spy-DSs5Coe-.js +519 -0
- package/dist/use-material-translation-RhoPY_RC.js +14 -0
- package/dist/usecaseDiagram-POWQR4AR-CMvboR6A.js +9932 -0
- package/dist/vennDiagram-UO4OBE2U-xN_G4DeI.js +1880 -0
- package/dist/vite.js +1 -1
- package/dist/wardleyDiagram-VNRHLVJA-C0B-kQ2b.js +645 -0
- package/dist/xychartDiagram-PMCCYNJV-Crmi6_s-.js +2167 -0
- package/docs/README.md +19 -0
- package/docs/components/README.md +115 -0
- package/docs/components/buttons-and-actions.md +446 -0
- package/docs/components/data-display.md +670 -0
- package/docs/components/data-table-filter-and-lists.md +271 -0
- package/docs/components/date-and-time.md +276 -0
- package/docs/components/feedback-and-status.md +520 -0
- package/docs/components/form-fields.md +816 -0
- package/docs/components/media-and-files.md +901 -0
- package/docs/components/navigation-and-layout.md +592 -0
- package/docs/components/overlays-and-menus.md +561 -0
- package/docs/components/primitives.md +654 -0
- package/docs/components/rich-widgets.md +421 -0
- package/docs/components/selection-and-choice.md +634 -0
- package/docs/getting-started.md +314 -0
- package/docs/guides/app-shell.md +274 -0
- package/docs/guides/forms.md +841 -0
- package/docs/guides/helpers.md +277 -0
- package/docs/guides/i18n.md +386 -0
- package/docs/guides/maps.md +212 -0
- package/docs/guides/printing.md +1291 -0
- package/docs/guides/ssr.md +118 -0
- package/docs/guides/theming.md +240 -0
- package/docs/previews/buttons-actions-actioncard.webp +0 -0
- package/docs/previews/buttons-actions-button.webp +0 -0
- package/docs/previews/buttons-actions-buttongroup.webp +0 -0
- package/docs/previews/buttons-actions-copybutton.webp +0 -0
- package/docs/previews/buttons-actions-highlighttext.webp +0 -0
- package/docs/previews/buttons-actions-iconbutton.webp +0 -0
- package/docs/previews/buttons-actions-languageswitcher.webp +0 -0
- package/docs/previews/buttons-actions-linkbutton.webp +0 -0
- package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
- package/docs/previews/buttons-actions-responsivebutton.webp +0 -0
- package/docs/previews/buttons-actions-scrolltotop.webp +0 -0
- package/docs/previews/buttons-actions-splitbutton.webp +0 -0
- package/docs/previews/buttons-actions-themetoggle.webp +0 -0
- package/docs/previews/data-display-accordioncard.webp +0 -0
- package/docs/previews/data-display-apiendpoint.webp +0 -0
- package/docs/previews/data-display-apioperation.webp +0 -0
- package/docs/previews/data-display-avatar.webp +0 -0
- package/docs/previews/data-display-avatargroup.webp +0 -0
- package/docs/previews/data-display-badge.webp +0 -0
- package/docs/previews/data-display-barecode.webp +0 -0
- package/docs/previews/data-display-card-presets.webp +0 -0
- package/docs/previews/data-display-chip.webp +0 -0
- package/docs/previews/data-display-codeblock.webp +0 -0
- package/docs/previews/data-display-codediff.webp +0 -0
- package/docs/previews/data-display-codegroup.webp +0 -0
- package/docs/previews/data-display-countbadge.webp +0 -0
- package/docs/previews/data-display-description.webp +0 -0
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/previews/data-display-eventchip.webp +0 -0
- package/docs/previews/data-display-figure.webp +0 -0
- package/docs/previews/data-display-jsonviewer.webp +0 -0
- package/docs/previews/data-display-listtile.webp +0 -0
- package/docs/previews/data-display-markdown.webp +0 -0
- package/docs/previews/data-display-metric-cards.webp +0 -0
- package/docs/previews/data-display-paramtable.webp +0 -0
- package/docs/previews/data-display-qrcode.webp +0 -0
- package/docs/previews/data-display-statcard.webp +0 -0
- package/docs/previews/data-display-statusindicator.webp +0 -0
- package/docs/previews/data-display-summarydata.webp +0 -0
- package/docs/previews/data-display-terminal.webp +0 -0
- package/docs/previews/data-display-timeline.webp +0 -0
- package/docs/previews/data-table-filter-lists-datatable.webp +0 -0
- package/docs/previews/data-table-filter-lists-drag-and-drop.webp +0 -0
- package/docs/previews/data-table-filter-lists-filter.webp +0 -0
- package/docs/previews/data-table-filter-lists-pagination.webp +0 -0
- package/docs/previews/data-table-filter-lists-tree.webp +0 -0
- package/docs/previews/date-time-calendar.webp +0 -0
- package/docs/previews/date-time-datefield.webp +0 -0
- package/docs/previews/date-time-daterangefield.webp +0 -0
- package/docs/previews/date-time-durationfield.webp +0 -0
- package/docs/previews/date-time-timefield.webp +0 -0
- package/docs/previews/date-time-timepicker.webp +0 -0
- package/docs/previews/feedback-status-alert.webp +0 -0
- package/docs/previews/feedback-status-alertdialog.webp +0 -0
- package/docs/previews/feedback-status-banner.webp +0 -0
- package/docs/previews/feedback-status-circularprogress.webp +0 -0
- package/docs/previews/feedback-status-confirmationdialog.webp +0 -0
- package/docs/previews/feedback-status-confirmdialog.webp +0 -0
- package/docs/previews/feedback-status-customalertdialog.webp +0 -0
- package/docs/previews/feedback-status-customdialog.webp +0 -0
- package/docs/previews/feedback-status-emptystate.webp +0 -0
- package/docs/previews/feedback-status-hydrateloading.webp +0 -0
- package/docs/previews/feedback-status-notifications.webp +0 -0
- package/docs/previews/feedback-status-progress.webp +0 -0
- package/docs/previews/feedback-status-scrollprogress.webp +0 -0
- package/docs/previews/feedback-status-skeleton.webp +0 -0
- package/docs/previews/feedback-status-spinner.webp +0 -0
- package/docs/previews/feedback-status-toast.webp +0 -0
- package/docs/previews/form-fields-attributes.webp +0 -0
- package/docs/previews/form-fields-colorfield.webp +0 -0
- package/docs/previews/form-fields-contacts.webp +0 -0
- package/docs/previews/form-fields-countryfield.webp +0 -0
- package/docs/previews/form-fields-currencyfield.webp +0 -0
- package/docs/previews/form-fields-emailfield.webp +0 -0
- package/docs/previews/form-fields-field.webp +0 -0
- package/docs/previews/form-fields-inlineedit.webp +0 -0
- package/docs/previews/form-fields-inputgroupfield.webp +0 -0
- package/docs/previews/form-fields-numberfield.webp +0 -0
- package/docs/previews/form-fields-openinghours.webp +0 -0
- package/docs/previews/form-fields-otpfield.webp +0 -0
- package/docs/previews/form-fields-passwordfield.webp +0 -0
- package/docs/previews/form-fields-percentfield.webp +0 -0
- package/docs/previews/form-fields-phonefield.webp +0 -0
- package/docs/previews/form-fields-postaladdress.webp +0 -0
- package/docs/previews/form-fields-ratingfield.webp +0 -0
- package/docs/previews/form-fields-searchfield.webp +0 -0
- package/docs/previews/form-fields-slider.webp +0 -0
- package/docs/previews/form-fields-switch.webp +0 -0
- package/docs/previews/form-fields-textareafield.webp +0 -0
- package/docs/previews/form-fields-textfield.webp +0 -0
- package/docs/previews/form-fields-timezonefield.webp +0 -0
- package/docs/previews/form-fields-urlfield.webp +0 -0
- package/docs/previews/guides-i18n-i18nprovider.webp +0 -0
- package/docs/previews/guides-i18n-translated-components.webp +0 -0
- package/docs/previews/media-files-camera.webp +0 -0
- package/docs/previews/media-files-carousel.webp +0 -0
- package/docs/previews/media-files-filelist.webp +0 -0
- package/docs/previews/media-files-filelistfield.webp +0 -0
- package/docs/previews/media-files-gallery.webp +0 -0
- package/docs/previews/media-files-imagecropper.webp +0 -0
- package/docs/previews/media-files-imagefield.webp +0 -0
- package/docs/previews/media-files-lightboxgallery.webp +0 -0
- package/docs/previews/media-files-map.webp +0 -0
- package/docs/previews/media-files-minigallery.webp +0 -0
- package/docs/previews/media-files-networkuploadfield.webp +0 -0
- package/docs/previews/media-files-pdfreader.webp +0 -0
- package/docs/previews/media-files-s3uploadfield.webp +0 -0
- package/docs/previews/media-files-stxplayer.webp +0 -0
- package/docs/previews/media-files-uploadfield.webp +0 -0
- package/docs/previews/navigation-layout-appshell.webp +0 -0
- package/docs/previews/navigation-layout-background.webp +0 -0
- package/docs/previews/navigation-layout-bottomappbar.webp +0 -0
- package/docs/previews/navigation-layout-breadcrumb.webp +0 -0
- package/docs/previews/navigation-layout-doc-api.webp +0 -0
- package/docs/previews/navigation-layout-doc-blocks.webp +0 -0
- package/docs/previews/navigation-layout-doc.webp +0 -0
- package/docs/previews/navigation-layout-hero.webp +0 -0
- package/docs/previews/navigation-layout-listdetailslayout.webp +0 -0
- package/docs/previews/navigation-layout-pager.webp +0 -0
- package/docs/previews/navigation-layout-panelayout.webp +0 -0
- package/docs/previews/navigation-layout-resizable.webp +0 -0
- package/docs/previews/navigation-layout-responsivegrid.webp +0 -0
- package/docs/previews/navigation-layout-seealso.webp +0 -0
- package/docs/previews/navigation-layout-sidebar.webp +0 -0
- package/docs/previews/navigation-layout-skiplink.webp +0 -0
- package/docs/previews/navigation-layout-stepper.webp +0 -0
- package/docs/previews/navigation-layout-steps.webp +0 -0
- package/docs/previews/navigation-layout-threadlayout.webp +0 -0
- package/docs/previews/navigation-layout-toc.webp +0 -0
- package/docs/previews/navigation-layout-topappbar.webp +0 -0
- package/docs/previews/overlays-menus-command.webp +0 -0
- package/docs/previews/overlays-menus-contextmenu.webp +0 -0
- package/docs/previews/overlays-menus-dialog.webp +0 -0
- package/docs/previews/overlays-menus-drawer.webp +0 -0
- package/docs/previews/overlays-menus-dropdownmenu.webp +0 -0
- package/docs/previews/overlays-menus-hovercard.webp +0 -0
- package/docs/previews/overlays-menus-menubar.webp +0 -0
- package/docs/previews/overlays-menus-popover.webp +0 -0
- package/docs/previews/overlays-menus-sheet.webp +0 -0
- package/docs/previews/overlays-menus-tooltip.webp +0 -0
- package/docs/previews/primitives-accordion.webp +0 -0
- package/docs/previews/primitives-anchorheading.webp +0 -0
- package/docs/previews/primitives-card.webp +0 -0
- package/docs/previews/primitives-collapsible.webp +0 -0
- package/docs/previews/primitives-extendedlabel.webp +0 -0
- package/docs/previews/primitives-helpertext.webp +0 -0
- package/docs/previews/primitives-icon.webp +0 -0
- package/docs/previews/primitives-input.webp +0 -0
- package/docs/previews/primitives-inputgroup.webp +0 -0
- package/docs/previews/primitives-kbd.webp +0 -0
- package/docs/previews/primitives-label.webp +0 -0
- package/docs/previews/primitives-scrollarea.webp +0 -0
- package/docs/previews/primitives-separator.webp +0 -0
- package/docs/previews/primitives-table.webp +0 -0
- package/docs/previews/primitives-tabs.webp +0 -0
- package/docs/previews/primitives-textarea.webp +0 -0
- package/docs/previews/primitives-toggle.webp +0 -0
- package/docs/previews/primitives-togglegroup.webp +0 -0
- package/docs/previews/primitives-typography.webp +0 -0
- package/docs/previews/rich-widgets-charts-areachart.webp +0 -0
- package/docs/previews/rich-widgets-charts-barchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-funnelchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-heatmapchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-linechart.webp +0 -0
- package/docs/previews/rich-widgets-charts-piechart.webp +0 -0
- package/docs/previews/rich-widgets-charts-radarchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-scatterchart.webp +0 -0
- package/docs/previews/rich-widgets-chat-advanced.webp +0 -0
- package/docs/previews/rich-widgets-chat-inbox.webp +0 -0
- package/docs/previews/rich-widgets-chat-overview.webp +0 -0
- package/docs/previews/rich-widgets-codeeditor.webp +0 -0
- package/docs/previews/rich-widgets-emojipicker.webp +0 -0
- package/docs/previews/rich-widgets-eventcalendar.webp +0 -0
- package/docs/previews/rich-widgets-kanban.webp +0 -0
- package/docs/previews/rich-widgets-mentionlist.webp +0 -0
- package/docs/previews/rich-widgets-questioncard.webp +0 -0
- package/docs/previews/rich-widgets-quiz.webp +0 -0
- package/docs/previews/rich-widgets-richtexteditor.webp +0 -0
- package/docs/previews/selection-choice-autocomplete.webp +0 -0
- package/docs/previews/selection-choice-checkbox.webp +0 -0
- package/docs/previews/selection-choice-checkboxgroup.webp +0 -0
- package/docs/previews/selection-choice-checkcardfield.webp +0 -0
- package/docs/previews/selection-choice-combobox.webp +0 -0
- package/docs/previews/selection-choice-comboboxfield.webp +0 -0
- package/docs/previews/selection-choice-radiogroup.webp +0 -0
- package/docs/previews/selection-choice-select.webp +0 -0
- package/docs/previews/selection-choice-selectcardfield.webp +0 -0
- package/docs/previews/selection-choice-selectchipfield.webp +0 -0
- package/docs/previews/selection-choice-selectfield.webp +0 -0
- package/docs/previews/selection-choice-sortablelist.webp +0 -0
- package/docs/previews/selection-choice-switcher.webp +0 -0
- package/docs/previews/selection-choice-transferlist.webp +0 -0
- package/docs/roadmap.md +208 -0
- package/docs/troubleshooting.md +2149 -0
- package/lib/components/components.css +22 -0
- package/lib/components/ui/actions/button-group/button-group.css +12 -0
- package/lib/components/ui/display/code/code-moonlight.css +73 -0
- package/lib/components/ui/fields/attributes/attribute-form/attribute-form.css +21 -0
- package/lib/components/ui/fields/attributes/attribute-values-form/attribute-values-form.css +21 -0
- package/lib/components/ui/fields/contacts/contact-item.css +9 -0
- package/lib/components/ui/fields/opening-hours/opening-hours-item.css +9 -0
- package/lib/components/ui/layout/app-bar/bottom-app-bar.css +12 -0
- package/lib/styles.css +2 -0
- package/package.json +19 -7
- package/dist/abnfDiagram-O67JEVCF-DDqmYxyZ.js +0 -89
- package/dist/architectureDiagram-NJMV4G6O-PwBg8yU0.js +0 -4146
- package/dist/blockDiagram-BEXU5L5S-DLqZARaF.js +0 -1946
- package/dist/c4Diagram-YGBWAQC7-Dq3xGNd4.js +0 -2990
- package/dist/channel-DIvZvk0q.js +0 -5
- package/dist/chunk-3FUC2YCW-C3UF_VLZ.js +0 -364
- package/dist/chunk-5DYCD2WN-BepRdgxI.js +0 -37
- package/dist/chunk-6AEJRKK7-BN1V-pJK.js +0 -10
- package/dist/chunk-742MDFTN-B7xNATkT.js +0 -275
- package/dist/chunk-7INBJB4K-BgETHnGm.js +0 -4487
- package/dist/chunk-7M6MHVWA-DhVIMmqx.js +0 -4256
- package/dist/chunk-7PRAP22T-1TE3ytg4.js +0 -67
- package/dist/chunk-GNY47TPC-ItV2FvY4.js +0 -75
- package/dist/chunk-GTNCS2PH-DHDm9wdf.js +0 -490
- package/dist/chunk-GWA4HPMP-Dk5EfWHB.js +0 -61
- package/dist/chunk-MBY4JIJT-CKKv0vlf.js +0 -1847
- package/dist/chunk-NETBCI7D-DDgfuS2X.js +0 -236
- package/dist/chunk-O7XYJQB3-kPU-FrcW.js +0 -3922
- package/dist/chunk-UA2S7LBM-BUjL6NMa.js +0 -363
- package/dist/chunk-WEXAMYUT-CLclanOP.js +0 -26
- package/dist/chunk-XXDRQBXY-BnSZ-xBE.js +0 -9
- package/dist/chunk-Z7XXMR3K-9wNLyUjb.js +0 -677
- package/dist/chunk-ZIGJFQKS-7XzdXF8V.js +0 -663
- package/dist/classDiagram-v2-NBCMYWYE-Bnc_Rw-F.js +0 -3397
- package/dist/cose-bilkent-JH36ORCC-PSraAr7H.js +0 -2251
- package/dist/cynefinDiagram-VND7K2PF-Ds3RkBsV.js +0 -349
- package/dist/dagre-6A5THRUB-BzZODvtv.js +0 -2191
- package/dist/diagram-22UHCM2B-CtvoZXaL.js +0 -5084
- package/dist/diagram-3UASUU5V-BZgAQDVW.js +0 -724
- package/dist/diagram-ATOU4E4O-QGWopkvz.js +0 -432
- package/dist/diagram-CDSNMT55-ywYyPUbh.js +0 -301
- package/dist/diagram-MLGK6HIB-CVioCY-C.js +0 -134
- package/dist/diagram-MPIPVDR6-RNx6m_jT.js +0 -214
- package/dist/dist-Cxzqei1q.js +0 -50
- package/dist/dist-NZAlFjcd.js +0 -16576
- package/dist/ebnfDiagram-ZINNZB2B-DgcwhTtc.js +0 -100
- package/dist/elk-276RUBZZ-DWlp7lAW.js +0 -47598
- package/dist/erDiagram-OPXOYQCR-BNnvl0WV.js +0 -1970
- package/dist/flowDiagram-KWPJA3E3-COO8DqZK.js +0 -17
- package/dist/ganttDiagram-FUAMR5RP-D0YYQV0q.js +0 -2929
- package/dist/gitGraphDiagram-X574FWY7-eqb34wSw.js +0 -729
- package/dist/graphlib-CIkkh3QG.js +0 -493
- package/dist/hooks-tbav1b16.js +0 -615
- package/dist/i18n-CGol3PGw.js +0 -4260
- package/dist/infoDiagram-VRGFBTTK-BShm-0Tw.js +0 -20
- package/dist/isArrayLikeObject-VG1KOJ3m.js +0 -539
- package/dist/ishikawaDiagram-OU5B5YK6-DspMoedf.js +0 -719
- package/dist/journeyDiagram-ZHPQQLJL-Cr1khCo3.js +0 -884
- package/dist/kanban-definition-PNTS6WVX-1HKJEIG1.js +0 -976
- package/dist/lib/components/ui/accordion-card.d.ts +0 -13
- package/dist/lib/components/ui/accordion.stories.d.ts +0 -15
- package/dist/lib/components/ui/action-card.d.ts +0 -11
- package/dist/lib/components/ui/action-card.stories.d.ts +0 -20
- package/dist/lib/components/ui/anchor-heading.d.ts +0 -9
- package/dist/lib/components/ui/anchor-heading.stories.d.ts +0 -13
- package/dist/lib/components/ui/anchor-heading.utils.d.ts +0 -2
- package/dist/lib/components/ui/api-endpoint.stories.d.ts +0 -14
- package/dist/lib/components/ui/api-operation.d.ts +0 -13
- package/dist/lib/components/ui/api-operation.stories.d.ts +0 -13
- package/dist/lib/components/ui/app-bar/bottom-app-bar.stories.d.ts +0 -15
- package/dist/lib/components/ui/app-shell/app-breadcrumb.d.ts +0 -19
- package/dist/lib/components/ui/app-shell/app-shell.stories.d.ts +0 -17
- package/dist/lib/components/ui/app-shell/app-shell.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/app-shell/app-sidebar.d.ts +0 -17
- package/dist/lib/components/ui/app-shell/types.d.ts +0 -24
- package/dist/lib/components/ui/attributes/attribute-dialog.d.ts +0 -10
- package/dist/lib/components/ui/attributes/attribute-form/attribute-value-form-field.d.ts +0 -12
- package/dist/lib/components/ui/attributes/attribute-form/consts.d.ts +0 -45
- package/dist/lib/components/ui/attributes/attribute-values-form/attribute-values-form.d.ts +0 -15
- package/dist/lib/components/ui/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +0 -12
- package/dist/lib/components/ui/attributes/attributes-field/attributes-field.d.ts +0 -9
- package/dist/lib/components/ui/attributes/attributes-field/state.d.ts +0 -14
- package/dist/lib/components/ui/attributes/attributes-form-field/attributes-form-field.d.ts +0 -11
- package/dist/lib/components/ui/attributes/attributes-list/attributes-list.d.ts +0 -11
- package/dist/lib/components/ui/attributes/attributes.stories.d.ts +0 -17
- package/dist/lib/components/ui/attributes/consts.d.ts +0 -2
- package/dist/lib/components/ui/attributes/utils.d.ts +0 -4
- package/dist/lib/components/ui/autocomplete.d.ts +0 -40
- package/dist/lib/components/ui/autocomplete.stories.d.ts +0 -18
- package/dist/lib/components/ui/avatar-group/avatar-group.stories.d.ts +0 -16
- package/dist/lib/components/ui/avatar-group/avatar-group.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/avatar.d.ts +0 -15
- package/dist/lib/components/ui/avatar.stories.d.ts +0 -16
- package/dist/lib/components/ui/badge.d.ts +0 -9
- package/dist/lib/components/ui/badge.stories.d.ts +0 -16
- package/dist/lib/components/ui/banner/banner.stories.d.ts +0 -18
- package/dist/lib/components/ui/barecode.d.ts +0 -4
- package/dist/lib/components/ui/barecode.stories.d.ts +0 -42
- package/dist/lib/components/ui/breadcrumb.stories.d.ts +0 -14
- package/dist/lib/components/ui/buttons/button-group.stories.d.ts +0 -18
- package/dist/lib/components/ui/buttons/button.d.ts +0 -16
- package/dist/lib/components/ui/buttons/button.stories.d.ts +0 -39
- package/dist/lib/components/ui/buttons/icon-button.d.ts +0 -13
- package/dist/lib/components/ui/buttons/icon-button.stories.d.ts +0 -23
- package/dist/lib/components/ui/buttons/index.d.ts +0 -6
- package/dist/lib/components/ui/buttons/link.d.ts +0 -7
- package/dist/lib/components/ui/buttons/link.stories.d.ts +0 -333
- package/dist/lib/components/ui/buttons/responsive-button.d.ts +0 -7
- package/dist/lib/components/ui/buttons/responsive-button.stories.d.ts +0 -22
- package/dist/lib/components/ui/buttons/split-button.d.ts +0 -8
- package/dist/lib/components/ui/buttons/split-button.stories.d.ts +0 -17
- package/dist/lib/components/ui/calendar.d.ts +0 -12
- package/dist/lib/components/ui/calendar.stories.d.ts +0 -19
- package/dist/lib/components/ui/calendar.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/__storries__/camera.stories.d.ts +0 -15
- package/dist/lib/components/ui/camera/state/camera.reducers.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/state/camera.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/state/camera.thunks.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/types.d.ts +0 -38
- package/dist/lib/components/ui/camera/utils/camera.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/card.stories.d.ts +0 -14
- package/dist/lib/components/ui/cards/cards.stories.d.ts +0 -39
- package/dist/lib/components/ui/cards/cards.stories.data.d.ts +0 -27
- package/dist/lib/components/ui/cards/types.d.ts +0 -187
- package/dist/lib/components/ui/carousel.d.ts +0 -19
- package/dist/lib/components/ui/carousel.stories.d.ts +0 -14
- package/dist/lib/components/ui/charts/area-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/bar-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/funnel-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/heatmap-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/line-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/pie-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/radar-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/scatter-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/chat/chat-advanced.stories.d.ts +0 -13
- package/dist/lib/components/ui/chat/chat-composer-attachments.d.ts +0 -18
- package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +0 -8
- package/dist/lib/components/ui/chat/chat-composer.d.ts +0 -24
- package/dist/lib/components/ui/chat/chat-copy-text.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat-inbox.stories.d.ts +0 -13
- package/dist/lib/components/ui/chat/chat-markdown.d.ts +0 -6
- package/dist/lib/components/ui/chat/chat-markdown.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat-unseen.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat.stories.d.ts +0 -19
- package/dist/lib/components/ui/chat/index.d.ts +0 -13
- package/dist/lib/components/ui/chat/use-chat-composer-attachments.d.ts +0 -25
- package/dist/lib/components/ui/chat/use-chat-composer-attachments.test.d.ts +0 -1
- package/dist/lib/components/ui/check-card-field.d.ts +0 -13
- package/dist/lib/components/ui/checkbox-group.d.ts +0 -15
- package/dist/lib/components/ui/checkbox-group.stories.d.ts +0 -21
- package/dist/lib/components/ui/checkbox.stories.d.ts +0 -15
- package/dist/lib/components/ui/chip.d.ts +0 -11
- package/dist/lib/components/ui/chip.stories.d.ts +0 -26
- package/dist/lib/components/ui/code/code-block.stories.d.ts +0 -19
- package/dist/lib/components/ui/code/code-diff.stories.d.ts +0 -13
- package/dist/lib/components/ui/code/code-group.stories.d.ts +0 -14
- package/dist/lib/components/ui/code/highlight.test.d.ts +0 -1
- package/dist/lib/components/ui/code/json-viewer.stories.d.ts +0 -16
- package/dist/lib/components/ui/code/languages.test.d.ts +0 -1
- package/dist/lib/components/ui/code/moonlight-monaco.test.d.ts +0 -1
- package/dist/lib/components/ui/code/moonlight-tokens.test.d.ts +0 -1
- package/dist/lib/components/ui/code/parse-json.d.ts +0 -11
- package/dist/lib/components/ui/code/parse-json.test.d.ts +0 -1
- package/dist/lib/components/ui/code-editor.stories.d.ts +0 -19
- package/dist/lib/components/ui/color-field/color-field.d.ts +0 -8
- package/dist/lib/components/ui/color-field/color-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/color-field/index.d.ts +0 -3
- package/dist/lib/components/ui/color-field/normalize-hex.test.d.ts +0 -1
- package/dist/lib/components/ui/combobox-field/combobox-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/combobox-field/index.d.ts +0 -2
- package/dist/lib/components/ui/combobox.d.ts +0 -27
- package/dist/lib/components/ui/combobox.stories.d.ts +0 -21
- package/dist/lib/components/ui/command.d.ts +0 -16
- package/dist/lib/components/ui/contacts/contact-item.d.ts +0 -11
- package/dist/lib/components/ui/contacts/contacts.stories.d.ts +0 -16
- package/dist/lib/components/ui/contacts/utils.d.ts +0 -11
- package/dist/lib/components/ui/context-menu.stories.d.ts +0 -14
- package/dist/lib/components/ui/copy-button/copy-button.d.ts +0 -9
- package/dist/lib/components/ui/copy-button/copy-button.stories.d.ts +0 -16
- package/dist/lib/components/ui/copy-button/copy-to-clipboard.test.d.ts +0 -1
- package/dist/lib/components/ui/count-badge.d.ts +0 -10
- package/dist/lib/components/ui/count-badge.stories.d.ts +0 -16
- package/dist/lib/components/ui/country-field/country-field.d.ts +0 -20
- package/dist/lib/components/ui/country-field/country-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/country-field/index.d.ts +0 -2
- package/dist/lib/components/ui/currency-field/currency-field.d.ts +0 -8
- package/dist/lib/components/ui/currency-field/currency-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/currency-field/index.d.ts +0 -3
- package/dist/lib/components/ui/currency-field/parse-currency.test.d.ts +0 -1
- package/dist/lib/components/ui/data-table/data-table.stories.d.ts +0 -27
- package/dist/lib/components/ui/data-table/index.d.ts +0 -12
- package/dist/lib/components/ui/date-field.d.ts +0 -21
- package/dist/lib/components/ui/date-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/date-range-field.d.ts +0 -17
- package/dist/lib/components/ui/date-range-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/dialog.d.ts +0 -14
- package/dist/lib/components/ui/dnd/dnd.stories.d.ts +0 -11
- package/dist/lib/components/ui/dnd/insert-ids.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/doc-api.stories.d.ts +0 -13
- package/dist/lib/components/ui/doc/doc-blocks.stories.d.ts +0 -13
- package/dist/lib/components/ui/doc/doc.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/doc.stories.d.ts +0 -15
- package/dist/lib/components/ui/doc/doc.stories.data.d.ts +0 -7
- package/dist/lib/components/ui/doc/doc.utils.d.ts +0 -29
- package/dist/lib/components/ui/doc/doc.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/partials/doc-empty.d.ts +0 -3
- package/dist/lib/components/ui/doc/partials/doc-progress.d.ts +0 -3
- package/dist/lib/components/ui/doc/partials/doc-skip-link.d.ts +0 -2
- package/dist/lib/components/ui/drawer.d.ts +0 -14
- package/dist/lib/components/ui/dropdown-menu.d.ts +0 -26
- package/dist/lib/components/ui/dropdown-menu.stories.d.ts +0 -14
- package/dist/lib/components/ui/duration-field/duration-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/duration-field/index.d.ts +0 -3
- package/dist/lib/components/ui/duration-field/parse-duration.test.d.ts +0 -1
- package/dist/lib/components/ui/education/questions/question.stories.d.ts +0 -16
- package/dist/lib/components/ui/education/questions/question.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/education/quizzes/quiz.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/education/quizzes/quiz.stories.d.ts +0 -14
- package/dist/lib/components/ui/education/quizzes/quiz.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/email-field/email-field.d.ts +0 -3
- package/dist/lib/components/ui/email-field/email-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/email-field/index.d.ts +0 -3
- package/dist/lib/components/ui/email-field/is-email.test.d.ts +0 -1
- package/dist/lib/components/ui/emoji/emoji.groups.test.d.ts +0 -1
- package/dist/lib/components/ui/emoji/emoji.stories.d.ts +0 -13
- package/dist/lib/components/ui/emoji/emoji.stories.data.d.ts +0 -2
- package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/entity-header.d.ts +0 -12
- package/dist/lib/components/ui/entity-header.stories.d.ts +0 -18
- package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.d.ts +0 -14
- package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.container.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.preview.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.spans.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.stories.d.ts +0 -19
- package/dist/lib/components/ui/event-calendar/event-calendar.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/partials/calendar-event-chip.d.ts +0 -8
- package/dist/lib/components/ui/event-chip/event-chip.stories.d.ts +0 -16
- package/dist/lib/components/ui/extended-label.d.ts +0 -7
- package/dist/lib/components/ui/feedback/alert-dialog.d.ts +0 -15
- package/dist/lib/components/ui/feedback/alert-dialog.stories.d.ts +0 -14
- package/dist/lib/components/ui/feedback/alert.d.ts +0 -12
- package/dist/lib/components/ui/feedback/alert.stories.d.ts +0 -20
- package/dist/lib/components/ui/feedback/circular-progress.d.ts +0 -20
- package/dist/lib/components/ui/feedback/circular-progress.stories.d.ts +0 -33
- package/dist/lib/components/ui/feedback/confirm-dialog.d.ts +0 -12
- package/dist/lib/components/ui/feedback/confirm-dialog.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/confirmation-dialog.d.ts +0 -17
- package/dist/lib/components/ui/feedback/confirmation-dialog.stories.d.ts +0 -17
- package/dist/lib/components/ui/feedback/custom-alert-dialog.d.ts +0 -10
- package/dist/lib/components/ui/feedback/custom-alert-dialog.stories.d.ts +0 -14
- package/dist/lib/components/ui/feedback/custom-dialog.d.ts +0 -10
- package/dist/lib/components/ui/feedback/custom-dialog.stories.d.ts +0 -17
- package/dist/lib/components/ui/feedback/empty-state.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/progress.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/scroll-progress.stories.d.ts +0 -13
- package/dist/lib/components/ui/feedback/spinner.d.ts +0 -9
- package/dist/lib/components/ui/feedback/spinner.stories.d.ts +0 -24
- package/dist/lib/components/ui/feedback/toast.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/toasts.d.ts +0 -41
- package/dist/lib/components/ui/feedback/toasts.test.d.ts +0 -1
- package/dist/lib/components/ui/field/types.d.ts +0 -67
- package/dist/lib/components/ui/figure.stories.d.ts +0 -13
- package/dist/lib/components/ui/file-list/file-list-field.d.ts +0 -12
- package/dist/lib/components/ui/file-list/file-list-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/file-list/file-list-s3-field.d.ts +0 -6
- package/dist/lib/components/ui/file-list/file-list.stories.d.ts +0 -17
- package/dist/lib/components/ui/file-list/format-file-size.test.d.ts +0 -1
- package/dist/lib/components/ui/file-list/index.d.ts +0 -8
- package/dist/lib/components/ui/filter/__stories__/filter.stories.d.ts +0 -26
- package/dist/lib/components/ui/filter/consts.d.ts +0 -51
- package/dist/lib/components/ui/filter/filter-persistence-main.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-presets.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-storage.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-url.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-preset.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-schema.utils.d.ts +0 -34
- package/dist/lib/components/ui/filter/filter-schema.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-trigger.d.ts +0 -6
- package/dist/lib/components/ui/filter/filter-validation.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-value.utils.d.ts +0 -29
- package/dist/lib/components/ui/filter/filter-value.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/forms/filter-form-field.d.ts +0 -52
- package/dist/lib/components/ui/filter/index.d.ts +0 -21
- package/dist/lib/components/ui/format-count.test.d.ts +0 -1
- package/dist/lib/components/ui/forms/autocomplete-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/check-card-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/checkbox-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/checkbox-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/code-editor-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/color-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/combobox-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/country-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/currency-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/date-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/date-range-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/duration-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/email-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/file-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/file-list-s3-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/files-form-field.d.ts +0 -9
- package/dist/lib/components/ui/forms/image-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/image-s3-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/inline-edit-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/input-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/network-upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/number-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/otp-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/password-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/percent-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/phone-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/radio-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/rating-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/rich-text-editor-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/s3-upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/search-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-card-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-chip-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/slider-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/sortable-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/switch-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/text-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/textarea-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/time-form-field.d.ts +0 -5
- package/dist/lib/components/ui/forms/timezone-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/transfer-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/url-form-field.d.ts +0 -3
- package/dist/lib/components/ui/galleries/gallery-download.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.presets.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.stories.d.ts +0 -26
- package/dist/lib/components/ui/galleries/gallery.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/lightbox-gallery.stories.d.ts +0 -12
- package/dist/lib/components/ui/galleries/mini-gallery.stories.d.ts +0 -12
- package/dist/lib/components/ui/helper-text.d.ts +0 -5
- package/dist/lib/components/ui/hero.stories.d.ts +0 -13
- package/dist/lib/components/ui/hidrate-loading.d.ts +0 -6
- package/dist/lib/components/ui/highlight-text.stories.d.ts +0 -12
- package/dist/lib/components/ui/icon.stories.d.ts +0 -15
- package/dist/lib/components/ui/icon.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/crop-image.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/crop-resize-handles.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/image-cropper.stories.d.ts +0 -17
- package/dist/lib/components/ui/image-field/image-field.d.ts +0 -14
- package/dist/lib/components/ui/image-field/image-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/image-field/image-s3-field.d.ts +0 -6
- package/dist/lib/components/ui/image-field/index.d.ts +0 -4
- package/dist/lib/components/ui/inline-edit/index.d.ts +0 -2
- package/dist/lib/components/ui/inline-edit/inline-edit.stories.d.ts +0 -17
- package/dist/lib/components/ui/input-group-field.stories.d.ts +0 -35
- package/dist/lib/components/ui/input-group.d.ts +0 -13
- package/dist/lib/components/ui/input-group.stories.d.ts +0 -25
- package/dist/lib/components/ui/input.d.ts +0 -4
- package/dist/lib/components/ui/kanban/kanban.stories.d.ts +0 -18
- package/dist/lib/components/ui/kanban/kanban.utils.d.ts +0 -24
- package/dist/lib/components/ui/kanban/kanban.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/kbd.stories.d.ts +0 -16
- package/dist/lib/components/ui/language-switcher.d.ts +0 -6
- package/dist/lib/components/ui/language-switcher.stories.d.ts +0 -14
- package/dist/lib/components/ui/layout/list-details-layout.d.ts +0 -47
- package/dist/lib/components/ui/layout/list-details-layout.stories.d.ts +0 -13
- package/dist/lib/components/ui/layout/pane-layout.d.ts +0 -48
- package/dist/lib/components/ui/layout/pane-layout.stories.d.ts +0 -13
- package/dist/lib/components/ui/layout/thread-layout.stories.d.ts +0 -15
- package/dist/lib/components/ui/list-tile.stories.d.ts +0 -19
- package/dist/lib/components/ui/load-more-button.d.ts +0 -25
- package/dist/lib/components/ui/load-more-button.stories.d.ts +0 -17
- package/dist/lib/components/ui/markdown/markdown.d.ts +0 -7
- package/dist/lib/components/ui/markdown/markdown.stories.d.ts +0 -15
- package/dist/lib/components/ui/markdown/markdown.test.d.ts +0 -1
- package/dist/lib/components/ui/mentions/index.d.ts +0 -3
- package/dist/lib/components/ui/mentions/mentions.stories.d.ts +0 -13
- package/dist/lib/components/ui/mentions/mentions.stories.data.d.ts +0 -2
- package/dist/lib/components/ui/mentions/mentions.utils.d.ts +0 -7
- package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/menubar.d.ts +0 -26
- package/dist/lib/components/ui/metrics/metrics.stories.d.ts +0 -28
- package/dist/lib/components/ui/metrics/metrics.stories.data.d.ts +0 -17
- package/dist/lib/components/ui/metrics/types.d.ts +0 -125
- package/dist/lib/components/ui/notifications/notifications.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/notifications/notifications.stories.d.ts +0 -16
- package/dist/lib/components/ui/notifications/notifications.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/number-field/index.d.ts +0 -3
- package/dist/lib/components/ui/number-field/number-field.d.ts +0 -22
- package/dist/lib/components/ui/number-field/number-field.stories.d.ts +0 -18
- package/dist/lib/components/ui/number-field/parse-number.test.d.ts +0 -1
- package/dist/lib/components/ui/opening-hours/consts.d.ts +0 -18
- package/dist/lib/components/ui/opening-hours/opening-hours-item.d.ts +0 -11
- package/dist/lib/components/ui/opening-hours/opening-hours.stories.d.ts +0 -15
- package/dist/lib/components/ui/otp-field.stories.d.ts +0 -30
- package/dist/lib/components/ui/pager.stories.d.ts +0 -13
- package/dist/lib/components/ui/pagination/pagination-items.test.d.ts +0 -1
- package/dist/lib/components/ui/pagination/pagination.stories.d.ts +0 -21
- package/dist/lib/components/ui/param-table.stories.d.ts +0 -13
- package/dist/lib/components/ui/password-field.d.ts +0 -8
- package/dist/lib/components/ui/password-field.stories.d.ts +0 -19
- package/dist/lib/components/ui/password-strength.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/index.d.ts +0 -14
- package/dist/lib/components/ui/pdf-viewer/index.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-download.d.ts +0 -3
- package/dist/lib/components/ui/pdf-viewer/pdf-download.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-escape.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-page-list.d.ts +0 -11
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-body.d.ts +0 -26
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.d.ts +0 -16
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-states.d.ts +0 -12
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.d.ts +0 -20
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.reducer.d.ts +0 -47
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.stories.d.ts +0 -12
- package/dist/lib/components/ui/pdf-viewer/pdf-search.d.ts +0 -7
- package/dist/lib/components/ui/pdf-viewer/pdf-search.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-sidebar.d.ts +0 -14
- package/dist/lib/components/ui/pdf-viewer/pdf-thumbnail-sidebar.d.ts +0 -10
- package/dist/lib/components/ui/pdf-viewer/types.d.ts +0 -34
- package/dist/lib/components/ui/pdf-viewer/use-pdf-reader.d.ts +0 -32
- package/dist/lib/components/ui/pdf-viewer/use-pdf-search-hits.d.ts +0 -11
- package/dist/lib/components/ui/percent-field/index.d.ts +0 -2
- package/dist/lib/components/ui/percent-field/percent-field.d.ts +0 -3
- package/dist/lib/components/ui/percent-field/percent-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/phone-field/index.d.ts +0 -6
- package/dist/lib/components/ui/phone-field/parse-phone.test.d.ts +0 -1
- package/dist/lib/components/ui/phone-field/phone-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/postal-address/postal-address.stories.d.ts +0 -16
- package/dist/lib/components/ui/qrcode.d.ts +0 -7
- package/dist/lib/components/ui/qrcode.stories.d.ts +0 -38
- package/dist/lib/components/ui/radio-group.d.ts +0 -16
- package/dist/lib/components/ui/radio-group.stories.d.ts +0 -21
- package/dist/lib/components/ui/rating-field/clamp-rating.test.d.ts +0 -1
- package/dist/lib/components/ui/rating-field/index.d.ts +0 -3
- package/dist/lib/components/ui/rating-field/rating-field.d.ts +0 -23
- package/dist/lib/components/ui/rating-field/rating-field.stories.d.ts +0 -24
- package/dist/lib/components/ui/resizable.stories.d.ts +0 -14
- package/dist/lib/components/ui/responsive-grid.stories.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/shared/index.d.ts +0 -2
- package/dist/lib/components/ui/rich-text-editor/extensions/index.d.ts +0 -12
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/index.d.ts +0 -2
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +0 -12
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/suggestions.d.ts +0 -9
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/extension.d.ts +0 -7
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +0 -4
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.test.d.ts +0 -1
- package/dist/lib/components/ui/rich-text-editor/index.d.ts +0 -1
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor-wrapper.d.ts +0 -13
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.stories.d.ts +0 -26
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.story-data.d.ts +0 -3
- package/dist/lib/components/ui/rich-text-editor/types.d.ts +0 -29
- package/dist/lib/components/ui/scroll-to-top.d.ts +0 -20
- package/dist/lib/components/ui/scroll-to-top.stories.d.ts +0 -346
- package/dist/lib/components/ui/search-field/debounce.test.d.ts +0 -1
- package/dist/lib/components/ui/search-field/index.d.ts +0 -4
- package/dist/lib/components/ui/search-field/search-field.d.ts +0 -11
- package/dist/lib/components/ui/search-field/search-field.stories.d.ts +0 -18
- package/dist/lib/components/ui/see-also.stories.d.ts +0 -12
- package/dist/lib/components/ui/select-card-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/select-chip-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/select-field.d.ts +0 -20
- package/dist/lib/components/ui/select-field.stories.d.ts +0 -21
- package/dist/lib/components/ui/separator.stories.d.ts +0 -14
- package/dist/lib/components/ui/sheet.d.ts +0 -15
- package/dist/lib/components/ui/shortcut-glyph.test.d.ts +0 -1
- package/dist/lib/components/ui/sidebar.stories.d.ts +0 -14
- package/dist/lib/components/ui/skeleton/skeleton-card.d.ts +0 -4
- package/dist/lib/components/ui/skeleton/skeleton.stories.d.ts +0 -19
- package/dist/lib/components/ui/skip-link.stories.d.ts +0 -12
- package/dist/lib/components/ui/slider-control.d.ts +0 -6
- package/dist/lib/components/ui/slider-ticks.test.d.ts +0 -1
- package/dist/lib/components/ui/slider.d.ts +0 -13
- package/dist/lib/components/ui/slider.stories.d.ts +0 -16
- package/dist/lib/components/ui/sortable-list/index.d.ts +0 -4
- package/dist/lib/components/ui/sortable-list/sortable-list.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/sortable-list/sortable-list.stories.d.ts +0 -21
- package/dist/lib/components/ui/stat-card/format-stat-delta.test.d.ts +0 -1
- package/dist/lib/components/ui/stat-card/stat-card.d.ts +0 -13
- package/dist/lib/components/ui/stat-card/stat-card.stories.d.ts +0 -17
- package/dist/lib/components/ui/status-indicator.stories.d.ts +0 -16
- package/dist/lib/components/ui/stepper/step-state.test.d.ts +0 -1
- package/dist/lib/components/ui/stepper/stepper.stories.d.ts +0 -16
- package/dist/lib/components/ui/steps.stories.d.ts +0 -13
- package/dist/lib/components/ui/stories-consts.d.ts +0 -10
- package/dist/lib/components/ui/stories-dark-theme.d.ts +0 -2
- package/dist/lib/components/ui/stx-player/format-time.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player.stories.d.ts +0 -24
- package/dist/lib/components/ui/summary-data.stories.d.ts +0 -14
- package/dist/lib/components/ui/switch.stories.d.ts +0 -16
- package/dist/lib/components/ui/switcher.d.ts +0 -15
- package/dist/lib/components/ui/switcher.stories.d.ts +0 -15
- package/dist/lib/components/ui/table.stories.d.ts +0 -14
- package/dist/lib/components/ui/tabs.stories.d.ts +0 -15
- package/dist/lib/components/ui/terminal/terminal.stories.d.ts +0 -14
- package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/text-field.d.ts +0 -10
- package/dist/lib/components/ui/text-field.stories.d.ts +0 -22
- package/dist/lib/components/ui/textarea-field.stories.d.ts +0 -25
- package/dist/lib/components/ui/textarea.stories.d.ts +0 -26
- package/dist/lib/components/ui/theme-toggle.d.ts +0 -6
- package/dist/lib/components/ui/theme-toggle.stories.d.ts +0 -14
- package/dist/lib/components/ui/time-field.d.ts +0 -17
- package/dist/lib/components/ui/time-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/time-picker/time-picker-utils.test.d.ts +0 -1
- package/dist/lib/components/ui/time-picker/time-picker.stories.d.ts +0 -15
- package/dist/lib/components/ui/timeline/format-relative-time.test.d.ts +0 -1
- package/dist/lib/components/ui/timeline/timeline.stories.d.ts +0 -19
- package/dist/lib/components/ui/timezone-field/index.d.ts +0 -4
- package/dist/lib/components/ui/timezone-field/timezone-field.d.ts +0 -5
- package/dist/lib/components/ui/timezone-field/timezone-field.stories.d.ts +0 -14
- package/dist/lib/components/ui/timezone-field/timezones.test.d.ts +0 -1
- package/dist/lib/components/ui/toc.stories.d.ts +0 -13
- package/dist/lib/components/ui/toggle-group.d.ts +0 -9
- package/dist/lib/components/ui/toggle-group.stories.d.ts +0 -25
- package/dist/lib/components/ui/toggle.d.ts +0 -9
- package/dist/lib/components/ui/toggle.stories.d.ts +0 -16
- package/dist/lib/components/ui/tooltip.d.ts +0 -10
- package/dist/lib/components/ui/tooltip.stories.d.ts +0 -15
- package/dist/lib/components/ui/transfer-list/index.d.ts +0 -3
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-board.d.ts +0 -33
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-droppable.d.ts +0 -12
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-pane.d.ts +0 -35
- package/dist/lib/components/ui/transfer-list/transfer-list.dnd.test.d.ts +0 -1
- package/dist/lib/components/ui/transfer-list/transfer-list.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/transfer-list/transfer-list.stories.d.ts +0 -27
- package/dist/lib/components/ui/transfer-list/transfer-list.stories.data.d.ts +0 -3
- package/dist/lib/components/ui/transfer-list/transfer-list.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/tree/tree.stories.d.ts +0 -16
- package/dist/lib/components/ui/tree/tree.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/index.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.slice.d.ts +0 -249
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.stories.d.ts +0 -31
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.d.ts +0 -40
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/use-network-upload-field.d.ts +0 -19
- package/dist/lib/components/ui/upload/network-upload-field/use-upload-items.d.ts +0 -14
- package/dist/lib/components/ui/upload/s3-upload-field/index.d.ts +0 -1
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.d.ts +0 -12
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/upload-field.d.ts +0 -14
- package/dist/lib/components/ui/upload-field.stories.d.ts +0 -22
- package/dist/lib/components/ui/url-field/index.d.ts +0 -3
- package/dist/lib/components/ui/url-field/parse-url.test.d.ts +0 -1
- package/dist/lib/components/ui/url-field/url-field.d.ts +0 -3
- package/dist/lib/components/ui/url-field/url-field.stories.d.ts +0 -16
- package/dist/lib/hooks/resolve-theme.test.d.ts +0 -1
- package/dist/lib/i18n/i18n-provider.stories.d.ts +0 -29
- package/dist/lib/i18n/material-components.stories.d.ts +0 -30
- package/dist/lib/i18n/merge-resources.test.d.ts +0 -1
- package/dist/lib/i18n/resources/en/index.d.ts +0 -855
- package/dist/lib/i18n/resources/fr/index.d.ts +0 -855
- package/dist/lib/i18n/resources/index.d.ts +0 -1700
- package/dist/lib/i18n/translator.test.d.ts +0 -1
- package/dist/lib/lib/array.utils.test.d.ts +0 -1
- package/dist/lib/lib/build-field-options.test.d.ts +0 -1
- package/dist/lib/lib/date.utils.test.d.ts +0 -1
- package/dist/lib/lib/format.utils.test.d.ts +0 -1
- package/dist/lib/lib/number.utils.spec.d.ts +0 -1
- package/dist/lib/lib/object.utils.test.d.ts +0 -1
- package/dist/lib/lib/print-format.utils.test.d.ts +0 -1
- package/dist/lib/lib/promise.utils.test.d.ts +0 -1
- package/dist/lib/lib/redux/filter-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/status-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/step-form-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/use-slice-reducer.test.d.ts +0 -1
- package/dist/lib/lib/storage.utils.test.d.ts +0 -1
- package/dist/lib/lib/string.utils.test.d.ts +0 -1
- package/dist/lib/lib/styles.utils.test.d.ts +0 -1
- package/dist/lib/lib/upload.utils.test.d.ts +0 -1
- package/dist/lib/lib/url.utils.test.d.ts +0 -1
- package/dist/lib/lib/utils.test.d.ts +0 -1
- package/dist/lib/lib/zod-error-map.test.d.ts +0 -1
- package/dist/lib/map/components/map.stories.d.ts +0 -13
- package/dist/lib/map/index.test.d.ts +0 -1
- package/dist/lib/print/styles.test.d.ts +0 -1
- package/dist/lib/print/tailwind.d.ts +0 -5
- package/dist/lib/print/tailwind.test.d.ts +0 -1
- package/dist/lib-BDc9msmn.js +0 -667
- package/dist/main-DeilmPv5.js +0 -191333
- package/dist/mermaid.core-CsGdwvR0.js +0 -1096
- package/dist/mindmap-definition-NLK3R4M7-IZYTe2Mh.js +0 -1008
- package/dist/number.utils-BR3XO6me.js +0 -2681
- package/dist/pegDiagram-GJSIUBJH-BL5Aabgf.js +0 -94
- package/dist/pieDiagram-5QR66LMP-DqnWu-Zg.js +0 -157
- package/dist/print-format.utils-CyR00FwK.js +0 -24
- package/dist/quadrantDiagram-O4NWA36T-tobrs5dc.js +0 -2001
- package/dist/railroadDiagram-XR7U4H2S-CIx08g98.js +0 -76
- package/dist/requirementDiagram-PLB6GJNP-Lm5o98ZN.js +0 -2228
- package/dist/sankeyDiagram-IPEJSGJF-ClWq95mY.js +0 -962
- package/dist/sequenceDiagram-PO4LG4MO-Bu-eRq6c.js +0 -4200
- package/dist/sortable-provider-BCaeM3pZ.js +0 -5367
- package/dist/src-ripuExsx.js +0 -1775
- package/dist/stateDiagram-v2-GCMORJYK-CbrdDeDZ.js +0 -2143
- package/dist/swimlanes-2SLR337P-4Oufc9Ey.js +0 -4763
- package/dist/swimlanesDiagram-TC7HE7FX-DQu480YU.js +0 -28
- package/dist/timeline-definition-EJHVYXUP-CLerfWh1.js +0 -1073
- package/dist/usecaseDiagram-POWQR4AR-BwE2bgk0.js +0 -9932
- package/dist/vennDiagram-UO4OBE2U-CNd0-YPm.js +0 -1880
- package/dist/wardleyDiagram-VNRHLVJA-DH3az7Ec.js +0 -645
- package/dist/xychartDiagram-PMCCYNJV-D-ynJEtr.js +0 -2167
- /package/dist/lib/components/ui/{buttons → actions/button-group}/button-group.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/copy-to-clipboard.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/copy-value.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{highlight-text.d.ts → actions/highlight-text/highlight-text.d.ts} +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-column-header.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-pagination.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-view-options.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/features.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/hooks.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/compose-refs.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-item-context.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-overlay.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/drag-handle.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/draggable-droppable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/draggable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/droppable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/insert-ids.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/sortable-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/sortable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/use-dnd-active-id.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-chips.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-content.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-context.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-drawer.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-field.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-groups.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-inline.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-main.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-presets.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-storage.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-url.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-popover.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-preset.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-presets.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-sheet.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-validation.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter-modal.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter-selector.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination-items.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree-item.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/use-tree.d.ts +0 -0
- /package/dist/lib/components/ui/{calendar-year-view.d.ts → dates/calendar/calendar-year-view.d.ts} +0 -0
- /package/dist/lib/components/ui/{calendar.utils.d.ts → dates/calendar/calendar.utils.d.ts} +0 -0
- /package/dist/lib/components/ui/{duration-field → dates/duration-field}/duration-field.d.ts +0 -0
- /package/dist/lib/components/ui/{duration-field → dates/duration-field}/parse-duration.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/time-picker-utils.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/time-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{api-endpoint.d.ts → display/api-endpoint/api-endpoint.d.ts} +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/avatar-group.d.ts +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/avatar-group.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/album-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/checklist-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/crew-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/event-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/feature-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/file-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/link-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/media-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/message-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/notice-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/offer-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/overlay-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/place-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/pricing-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/profile-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/quote-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/receipt-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/review-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/score-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/shortcut-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/split-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/spotlight-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/stack-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/status-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/tag-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/ticket-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/timeline-card.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-block.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-diff.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-group.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/highlight.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/json-node.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/json-viewer.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/languages.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/moonlight-monaco.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/moonlight-tokens.d.ts +0 -0
- /package/dist/lib/components/ui/{format-count.d.ts → display/count-badge/format-count.d.ts} +0 -0
- /package/dist/lib/components/ui/{description.d.ts → display/description/description.d.ts} +0 -0
- /package/dist/lib/components/ui/{event-chip → display/event-chip}/event-chip.d.ts +0 -0
- /package/dist/lib/components/ui/{event-chip → display/event-chip}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{figure.d.ts → display/figure/figure.d.ts} +0 -0
- /package/dist/lib/components/ui/{list-tile.d.ts → display/list-tile/list-tile.d.ts} +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/markdown.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/mermaid.lazy.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/partials/markdown-code.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/partials/mermaid-diagram.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/band-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/breakdown-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/compare-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/delta-list-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/funnel-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/gauge-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/goal-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/heatweek-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/histogram-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/latency-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/pace-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/rank-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/ratio-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/sparkbar-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/sparkline.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/threshold-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/trend-card.d.ts +0 -0
- /package/dist/lib/components/ui/{param-table.d.ts → display/param-table/param-table.d.ts} +0 -0
- /package/dist/lib/components/ui/{stat-card → display/stat-card}/format-stat-delta.d.ts +0 -0
- /package/dist/lib/components/ui/{stat-card → display/stat-card}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{status-indicator.d.ts → display/status-indicator/status-indicator.d.ts} +0 -0
- /package/dist/lib/components/ui/{summary-data.d.ts → display/summary-data/summary-data.d.ts} +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/terminal.d.ts +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/terminal.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/format-relative-time.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/relative-time.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/timeline-item.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/timeline.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{banner → feedback/banner}/banner.d.ts +0 -0
- /package/dist/lib/components/ui/{banner → feedback/banner}/index.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{empty-state.d.ts → empty-state/empty-state.d.ts} +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-bell.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-categories.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-inbox.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-item.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-list.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/use-notifications.d.ts +0 -0
- /package/dist/lib/components/ui/{education/quizzes → feedback/notifications}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{progress-field.d.ts → progress/progress-field.d.ts} +0 -0
- /package/dist/lib/components/ui/feedback/{progress.d.ts → progress/progress.d.ts} +0 -0
- /package/dist/lib/components/ui/feedback/{scroll-progress.d.ts → scroll-progress/scroll-progress.d.ts} +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-avatar.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-table.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-text.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{toast.d.ts → toast/toast.d.ts} +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/attribute-form.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/types.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-values-form/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-values-form-field-set/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-field/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-form-field/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-list/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/models/attribute.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/models/index.d.ts +0 -0
- /package/dist/lib/components/ui/{color-field → fields/color-field}/normalize-hex.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contact-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contacts-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contacts.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{currency-field → fields/currency-field}/parse-currency.d.ts +0 -0
- /package/dist/lib/components/ui/{email-field → fields/email-field}/is-email.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/field.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/renderers.d.ts +0 -0
- /package/dist/lib/components/ui/{inline-edit → fields/inline-edit}/inline-edit.d.ts +0 -0
- /package/dist/lib/components/ui/{input-group-field.d.ts → fields/input-group-field/input-group-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{number-field → fields/number-field}/parse-number.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours.d.ts +0 -0
- /package/dist/lib/components/ui/{input-otp.d.ts → fields/otp-field/input-otp.d.ts} +0 -0
- /package/dist/lib/components/ui/{otp-field.d.ts → fields/otp-field/otp-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{password-strength-meter.d.ts → fields/password-field/password-strength-meter.d.ts} +0 -0
- /package/dist/lib/components/ui/{password-strength.d.ts → fields/password-field/password-strength.d.ts} +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/countries.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/parse-phone.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/phone-country-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/phone-field.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/utils.d.ts +0 -0
- /package/dist/lib/components/ui/{rating-field → fields/rating-field}/clamp-rating.d.ts +0 -0
- /package/dist/lib/components/ui/{search-field → fields/search-field}/debounce.d.ts +0 -0
- /package/dist/lib/components/ui/{slider-readout.d.ts → fields/slider/slider-readout.d.ts} +0 -0
- /package/dist/lib/components/ui/{slider-ticks.d.ts → fields/slider/slider-ticks.d.ts} +0 -0
- /package/dist/lib/components/ui/{switch.d.ts → fields/switch/switch.d.ts} +0 -0
- /package/dist/lib/components/ui/{textarea-field.d.ts → fields/textarea-field/textarea-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{timezone-field → fields/timezone-field}/timezones.d.ts +0 -0
- /package/dist/lib/components/ui/{url-field → fields/url-field}/parse-url.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/bottom-app-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/top-app-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/activity-content.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/activity-layout.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/app-header.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/app-shell.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{background.d.ts → layout/background/background.d.ts} +0 -0
- /package/dist/lib/components/ui/{breadcrumb.d.ts → layout/breadcrumb/breadcrumb.d.ts} +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc-context.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-article.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-child-cards.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-copy-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-header.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-link.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-page.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-pager.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-search.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-see-also.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-sidebar.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-toc.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-topbar.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/use-doc.d.ts +0 -0
- /package/dist/lib/components/ui/{hero.d.ts → layout/hero/hero.d.ts} +0 -0
- /package/dist/lib/components/ui/{navigation-rail → layout/navigation-rail}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{navigation-rail → layout/navigation-rail}/navigation-rail.d.ts +0 -0
- /package/dist/lib/components/ui/{pager.d.ts → layout/pager/pager.d.ts} +0 -0
- /package/dist/lib/components/ui/{resizable.d.ts → layout/resizable/resizable.d.ts} +0 -0
- /package/dist/lib/components/ui/{responsive-grid.d.ts → layout/responsive-grid/responsive-grid.d.ts} +0 -0
- /package/dist/lib/components/ui/{see-also.d.ts → layout/see-also/see-also.d.ts} +0 -0
- /package/dist/lib/components/ui/{sidebar.d.ts → layout/sidebar/sidebar.d.ts} +0 -0
- /package/dist/lib/components/ui/{skip-link.d.ts → layout/skip-link/skip-link.d.ts} +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/step-state.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper-icon.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper-indicator.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper.d.ts +0 -0
- /package/dist/lib/components/ui/{steps.d.ts → layout/steps/steps.d.ts} +0 -0
- /package/dist/lib/components/ui/layout/{thread-layout.d.ts → thread-layout/thread-layout.d.ts} +0 -0
- /package/dist/lib/components/ui/{toc.d.ts → layout/toc/toc.d.ts} +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera-content.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera.provider.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.reducers.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.store.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.thunks.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/index.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/use-camera.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/utils/camera.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/utils/index.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/file-list-field-row.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/file-list.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/format-file-size.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-download.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.presets.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/lightbox-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/mini-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-carousel.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-chrome.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-featured.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-grid.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-justified.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-lightbox.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-masonry.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-media.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-selection-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-stage.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-strip.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-tile.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-trigger.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/use-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/crop-image.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/crop-resize-handles.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/image-cropper-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/image-cropper.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-escape.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-outline-sidebar.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-search.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-zoom.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/react-pdf.lazy.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/format-time.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-controls.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-extras.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-mini.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-queue.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-viewport.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-media-bindings.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-media-events.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-player-shell.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-stx-player.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/network-upload-field.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/network-upload-item.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/use-file-drag-drop.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/s3-upload-field/s3-upload-field.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{video-player → media/video-player}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{context-menu.d.ts → overlays/context-menu/context-menu.d.ts} +0 -0
- /package/dist/lib/components/ui/{hover-card.d.ts → overlays/hover-card/hover-card.d.ts} +0 -0
- /package/dist/lib/components/ui/{popover.d.ts → overlays/popover/popover.d.ts} +0 -0
- /package/dist/lib/components/ui/{accordion.d.ts → primitives/accordion/accordion.d.ts} +0 -0
- /package/dist/lib/components/ui/{activity.d.ts → primitives/activity/activity.d.ts} +0 -0
- /package/dist/lib/components/ui/{card.d.ts → primitives/card/card.d.ts} +0 -0
- /package/dist/lib/components/ui/{collapsible.d.ts → primitives/collapsible/collapsible.d.ts} +0 -0
- /package/dist/lib/components/ui/{icon.d.ts → primitives/icon/icon.d.ts} +0 -0
- /package/dist/lib/components/ui/{kbd-shortcut.d.ts → primitives/kbd/kbd-shortcut.d.ts} +0 -0
- /package/dist/lib/components/ui/{kbd.d.ts → primitives/kbd/kbd.d.ts} +0 -0
- /package/dist/lib/components/ui/{shortcut-glyph.d.ts → primitives/kbd/shortcut-glyph.d.ts} +0 -0
- /package/dist/lib/components/ui/{label.d.ts → primitives/label/label.d.ts} +0 -0
- /package/dist/lib/components/ui/{scroll-area.d.ts → primitives/scroll-area/scroll-area.d.ts} +0 -0
- /package/dist/lib/components/ui/{separator.d.ts → primitives/separator/separator.d.ts} +0 -0
- /package/dist/lib/components/ui/{table.d.ts → primitives/table/table.d.ts} +0 -0
- /package/dist/lib/components/ui/{tabs.d.ts → primitives/tabs/tabs.d.ts} +0 -0
- /package/dist/lib/components/ui/{textarea.d.ts → primitives/textarea/textarea.d.ts} +0 -0
- /package/dist/lib/components/ui/{typography.d.ts → primitives/typography/typography.d.ts} +0 -0
- /package/dist/lib/components/ui/{checkbox.d.ts → selection/checkbox/checkbox.d.ts} +0 -0
- /package/dist/lib/components/ui/{combobox-field → selection/combobox-field}/combobox-field.d.ts +0 -0
- /package/dist/lib/components/ui/{select.d.ts → selection/select/select.d.ts} +0 -0
- /package/dist/lib/components/ui/{select-card-field.d.ts → selection/select-card-field/select-card-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{select-chip-field.d.ts → selection/select-chip-field/select-chip-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-item.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/sortable-list.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/sortable-list.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/use-sortable-list.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-item-row.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-item.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-pane-body.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-pane-header.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/use-transfer-list.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/area-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/bar-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/chart-container.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/funnel-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/heatmap-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/line-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/pie-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/radar-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/scatter-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/use-chart-theme.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-conversation-item.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-copy-text.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-inbox.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-markdown-inline.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-list.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-meta.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-separator.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-reaction-group.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-thread.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-typing-indicator.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-unseen.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat/partials}/chat-composer-attachment-chip.d.ts +0 -0
- /package/dist/lib/components/ui/{code → widgets/code-editor}/code-editor-chrome.d.ts +0 -0
- /package/dist/lib/components/ui/{code-editor.d.ts → widgets/code-editor/code-editor.d.ts} +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-boolean.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-choice.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-multi.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-options.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-text.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/types.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-body.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-progress.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-results.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/types.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/use-quiz.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → widgets/education/quizzes}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji-list.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji.groups.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar-context.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.container.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.ids.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.preview.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.spans.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/agenda-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/all-day-lane.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-board.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-date-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-now-line.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/day-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-color-swatches.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-preview.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-resize-handle.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-day-cell.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-day-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-more.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-week-row.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/span-event.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-column.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-grid-event.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-grid.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/week-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-event-calendar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-month-create.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-slot-create.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban-context.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-board.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-card-preview.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-card.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-column-header.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-column.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-composer.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-group.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/use-kanban.d.ts +0 -0
- /package/dist/lib/components/ui/{mentions → widgets/mentions}/mention-list.d.ts +0 -0
- /package/dist/lib/components/ui/{mentions → widgets/mentions}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/bubble-menu/buble-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/bubble-menu/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/code/editor-code-block.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/code/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/color-picker-popover.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/editor-color-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/editor-accordion-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-settings-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-settings-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/editor-action-card-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-insert-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/checkbox-group-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/editor-checkbox-group-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/editor-gallery-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/editor-radio-group-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/radio-group-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/editor-select-card-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-settings-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-settings-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/editor-select-chip-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/select-chip-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/shared/icon-options.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/shared/repeating-field-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/emoji-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/emoji-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/font-family/editor-font-family-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/font-family/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/heading/heading-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/heading/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/highlight/editor-highlight-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/highlight/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/editor-image-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/editor-image.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/editor-link-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/editor-link.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/marks/editor-mark-buttons.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/marks/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-basic.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-insert.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-types.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/editor-table-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/editor-table-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table-cell.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table-properties-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/text-align/editor-text-align-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/text-align/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/editor-youtube-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/editor-youtube.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/rich-text-editor-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/rich-text-editor.d.ts +0 -0
|
@@ -0,0 +1,1291 @@
|
|
|
1
|
+
# Printing
|
|
2
|
+
|
|
3
|
+
This page covers building PDF documents with `@nxgt/material/print`, turning
|
|
4
|
+
them into a download, a new tab or a server response in one call, and
|
|
5
|
+
shipping them from a browser or from a server bundle that must not crash.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun add @react-pdf/renderer@^4.9 react-pdf-tailwind
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Both are **optional peers**: only the app that prints installs them. Since
|
|
12
|
+
2.2.0 the renderer's floor is 4.9.0; an older copy already in your lockfile
|
|
13
|
+
makes the install complain (see
|
|
14
|
+
[troubleshooting](../troubleshooting.md#conflicting-peer-dependency-react-pdfrenderer)).
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
import {
|
|
18
|
+
formatAmount,
|
|
19
|
+
formatDate,
|
|
20
|
+
PrintDocument,
|
|
21
|
+
PrintHeader,
|
|
22
|
+
PrintInfoRow,
|
|
23
|
+
PrintSection,
|
|
24
|
+
PrintTable,
|
|
25
|
+
PrintTableCell,
|
|
26
|
+
PrintTableHeader,
|
|
27
|
+
PrintTableRow,
|
|
28
|
+
PrintTotalRow,
|
|
29
|
+
PrintTotals,
|
|
30
|
+
} from '@nxgt/material/print';
|
|
31
|
+
|
|
32
|
+
type Line = { label: string; quantity: number; unitPrice: number };
|
|
33
|
+
type Invoice = { number: string; issuedAt: string; customer: string; currency: string; lines: Line[] };
|
|
34
|
+
|
|
35
|
+
export function InvoiceDocument({ invoice, language }: { invoice: Invoice; language?: string }) {
|
|
36
|
+
const total = invoice.lines.reduce((sum, l) => sum + l.quantity * l.unitPrice, 0);
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<PrintDocument
|
|
40
|
+
size="A4"
|
|
41
|
+
title={`Invoice ${invoice.number}`}
|
|
42
|
+
language={language}
|
|
43
|
+
pageNumbers
|
|
44
|
+
header={<PrintHeader title="Invoice" reference={invoice.number} logoText="ACME" />}
|
|
45
|
+
>
|
|
46
|
+
<PrintSection title="Details">
|
|
47
|
+
<PrintInfoRow label="Issued" value={formatDate(invoice.issuedAt)} />
|
|
48
|
+
<PrintInfoRow label="Customer" value={invoice.customer} />
|
|
49
|
+
</PrintSection>
|
|
50
|
+
<PrintTable>
|
|
51
|
+
<PrintTableHeader>
|
|
52
|
+
<PrintTableCell isHeader flex={3}>Item</PrintTableCell>
|
|
53
|
+
<PrintTableCell isHeader textAlign="right">Qty</PrintTableCell>
|
|
54
|
+
<PrintTableCell isHeader textAlign="right">Amount</PrintTableCell>
|
|
55
|
+
</PrintTableHeader>
|
|
56
|
+
{invoice.lines.map((line, index) => (
|
|
57
|
+
<PrintTableRow key={line.label} isAlt={index % 2 === 1}>
|
|
58
|
+
<PrintTableCell flex={3}>{line.label}</PrintTableCell>
|
|
59
|
+
<PrintTableCell textAlign="right">{line.quantity}</PrintTableCell>
|
|
60
|
+
<PrintTableCell textAlign="right">
|
|
61
|
+
{formatAmount(line.quantity * line.unitPrice, invoice.currency)}
|
|
62
|
+
</PrintTableCell>
|
|
63
|
+
</PrintTableRow>
|
|
64
|
+
))}
|
|
65
|
+
</PrintTable>
|
|
66
|
+
<PrintTotals>
|
|
67
|
+
<PrintTotalRow label="Total" value={formatAmount(total, invoice.currency)} last />
|
|
68
|
+
</PrintTotals>
|
|
69
|
+
</PrintDocument>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The lines, the details and the total can also come from column definitions
|
|
75
|
+
instead of cells written by hand: see
|
|
76
|
+
[Tables from columns and rows](#tables-from-columns-and-rows). To save it,
|
|
77
|
+
open it or return it from a server route, pass it to `downloadPdf`, `openPdf`
|
|
78
|
+
or `pdfResponse` ([Rendering the document](#rendering-the-document)); to
|
|
79
|
+
write the same document as plain data instead of JSX, see
|
|
80
|
+
[Documents as data](#documents-as-data).
|
|
81
|
+
|
|
82
|
+
## The page shell: `PrintDocument`
|
|
83
|
+
|
|
84
|
+
`PrintDocument` takes the place of react-pdf's `Document` and `Page`: hand it
|
|
85
|
+
to [`downloadPdf`, `pdfResponse`](#rendering-the-document) and the other
|
|
86
|
+
output functions, or to `pdf()`, `renderToBuffer()` or `PDFViewer` the same way. Its children flow
|
|
87
|
+
over as many pages as they need, and what should appear on every page is a
|
|
88
|
+
prop.
|
|
89
|
+
|
|
90
|
+
```tsx
|
|
91
|
+
import { PrintDocument, PrintHeader } from '@nxgt/material/print';
|
|
92
|
+
|
|
93
|
+
<PrintDocument
|
|
94
|
+
size="A4"
|
|
95
|
+
orientation="portrait"
|
|
96
|
+
margins={{ top: 36, x: 32 }}
|
|
97
|
+
title="Invoice INV-42"
|
|
98
|
+
author="ACME"
|
|
99
|
+
language="fr"
|
|
100
|
+
header={<PrintHeader title="Facture" reference="INV-42" logo={logoDataUrl} />}
|
|
101
|
+
footer={({ pageNumber, totalPages }) => `INV-42 · ${pageNumber}/${totalPages}`}
|
|
102
|
+
pageNumbers={{ align: 'right' }}
|
|
103
|
+
watermark="BROUILLON"
|
|
104
|
+
>
|
|
105
|
+
{/* the body */}
|
|
106
|
+
</PrintDocument>
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
| Prop | Default | Effect |
|
|
110
|
+
| --- | --- | --- |
|
|
111
|
+
| `size` | `'A4'` | `'A3'`, `'A4'`, `'A5'`, `'LETTER'`, `'LEGAL'`, or `[width, height]` in points. |
|
|
112
|
+
| `orientation` | `'portrait'` | `'landscape'` swaps width and height. |
|
|
113
|
+
| `margins` | `{ top: 21, right: 24, bottom: 21, left: 24 }` | Points: one number for every side, or `top` / `right` / `bottom` / `left` / `x` / `y` (a side wins over its axis). |
|
|
114
|
+
| `header` | — | Repeated at the top of every page, in the flow, so the body starts below it on each page. |
|
|
115
|
+
| `footer` | — | Repeated at the bottom of every page, in a band of `footerHeight` points above the bottom margin. A function returns the text for each page (see below). |
|
|
116
|
+
| `footerHeight` | `24` | Height of that band. Raise it for a footer of several lines. |
|
|
117
|
+
| `pageNumbers` | off | `true` prints "Page 2 of 5" centred in the footer band, in the document's language. `{ align: 'left' \| 'center' \| 'right', format: 'page-of' \| 'page' }`; `'page'` prints "Page 2". |
|
|
118
|
+
| `watermark` | — | Large rotated text behind the content: a string, or `{ text, opacity (0.08), angle (35), color, fontSize (72) }`. |
|
|
119
|
+
| `title`, `author`, `subject`, `keywords` | — | Document information, as PDF readers show it. |
|
|
120
|
+
| `creator` | `'@nxgt/material'` | The application that made the file. |
|
|
121
|
+
| `producer` | `creator` | The software that wrote the PDF. |
|
|
122
|
+
| `language` | the `I18nProvider` around the document, then `'en'` | The built-in strings ("Page 2 of 5") and the PDF's language. |
|
|
123
|
+
| `locale`, `timeZone` | `language`, the runtime's | How the data blocks format amounts and dates. |
|
|
124
|
+
|
|
125
|
+
Nothing but `children` is required: `<PrintDocument>{…}</PrintDocument>` is an
|
|
126
|
+
A4 page with the margins the blocks were designed for.
|
|
127
|
+
|
|
128
|
+
### Translating built-in strings in a PDF
|
|
129
|
+
|
|
130
|
+
The strings `PrintDocument` and `PrintDataTable` print themselves come from
|
|
131
|
+
this package's `material.print.*` keys, in English and French. `pdf()`,
|
|
132
|
+
`renderToBuffer()` and the [output functions](#rendering-the-document) render
|
|
133
|
+
a tree of their own, so **your app's `I18nProvider` does not reach the
|
|
134
|
+
document**. Give the language one of two ways:
|
|
135
|
+
|
|
136
|
+
```tsx
|
|
137
|
+
import { pdf } from '@react-pdf/renderer';
|
|
138
|
+
import { I18nProvider } from '@nxgt/material/i18n';
|
|
139
|
+
|
|
140
|
+
// a prop: works the same on a server
|
|
141
|
+
await pdf(<InvoiceDocument invoice={invoice} language="fr" />).toBlob();
|
|
142
|
+
|
|
143
|
+
// or a provider inside the pdf() call
|
|
144
|
+
await pdf(
|
|
145
|
+
<I18nProvider initialLanguage="fr">
|
|
146
|
+
<InvoiceDocument invoice={invoice} />
|
|
147
|
+
</I18nProvider>,
|
|
148
|
+
).toBlob();
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
(`InvoiceDocument` passes its `language` on to `PrintDocument`.) A language
|
|
152
|
+
the bundle does not have prints the English text; a regional tag reads its
|
|
153
|
+
language (`'fr-CA'` prints French). To translate one of the package's keys
|
|
154
|
+
yourself outside a component, `translateMaterial(language, key, fallback,
|
|
155
|
+
values)` from `@nxgt/material/i18n` does what `useMaterialTranslation()` does,
|
|
156
|
+
without a hook.
|
|
157
|
+
|
|
158
|
+
### Headers and footers
|
|
159
|
+
|
|
160
|
+
`header` and a `footer` element are rendered once and repeated on each page;
|
|
161
|
+
they can hold any print block, or be a plain string (printed as text, since
|
|
162
|
+
react-pdf drops a string outside `<Text>`). A **`footer` function** is different: react-pdf
|
|
163
|
+
calls it for each page while it lays the pages out, outside React. It returns
|
|
164
|
+
text, and it cannot call a hook (`Invalid hook call`): compute what it needs in
|
|
165
|
+
your component and use it from the function.
|
|
166
|
+
|
|
167
|
+
```tsx
|
|
168
|
+
function InvoiceDocument({ invoice }: { invoice: Invoice }) {
|
|
169
|
+
const issued = formatDate(invoice.issuedAt, { locale: 'fr-FR' }); // here, not in the footer
|
|
170
|
+
return (
|
|
171
|
+
<PrintDocument footer={({ pageNumber, totalPages }) => `${invoice.number} · ${issued} · ${pageNumber}/${totalPages}`}>
|
|
172
|
+
{/* … */}
|
|
173
|
+
</PrintDocument>
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
The footer and the page number share one row in that band, so they never
|
|
179
|
+
draw over each other: the footer takes the free width and the number follows
|
|
180
|
+
it, or comes first with `pageNumbers={{ align: 'left' }}`. Alone, the number
|
|
181
|
+
is placed by `align` (centred by default). A footer taller than
|
|
182
|
+
`footerHeight` runs up into the body; raise `footerHeight` for a footer of
|
|
183
|
+
several lines.
|
|
184
|
+
|
|
185
|
+
## The building blocks
|
|
186
|
+
|
|
187
|
+
These render `@react-pdf/renderer` primitives (`View`, `Text`), not DOM, so
|
|
188
|
+
they only work inside a `PrintDocument` (or a react-pdf `<Document>`).
|
|
189
|
+
`PrintDataTable`, `PrintKeyValue` and `PrintMetric` take the language and
|
|
190
|
+
locale of the `PrintDocument` around them; under a plain `<Document>` they
|
|
191
|
+
print English strings ("Total", "No rows") and `en` amounts and dates.
|
|
192
|
+
|
|
193
|
+
| Component | Props | Renders |
|
|
194
|
+
| --- | --- | --- |
|
|
195
|
+
| `PrintHeader` | `title: string`, `subtitle?: string`, `reference?: string`, `referencePrefix?: string` (`'#'`), `logo?: string \| { src, width?, height? }`, `logoText?: string`, `qrDataUrl?: string \| null` | The title block: the logo (a PNG or JPEG URL or data URL, 72×48 pt unless you size it) or `logoText` in a box on the left, the title, subtitle and `#reference` centred, the QR image on the right. A side you leave empty draws nothing, and the title stays centred |
|
|
196
|
+
| `PrintSection` | `title: string`, `className?: string`, `children` | A titled block (`className` is a `tw` string, default `mb-3.5`) |
|
|
197
|
+
| `PrintInfoRow` | `label: string`, `value?: ReactNode` | A label / value line. A `string` or `number` value is wrapped in `Text`; anything else is rendered as-is |
|
|
198
|
+
| `PrintCard` | `className?: string`, `children` | A bordered row of fields |
|
|
199
|
+
| `PrintCardField` | `label: string`, `value?: string \| null` | A label over a value. **Renders nothing when `value` is empty** |
|
|
200
|
+
| `PrintTable`, `PrintTableHeader` | `children` | Table section and its header row |
|
|
201
|
+
| `PrintTableRow` | `isAlt?: boolean`, `children` | A row; `isAlt` shades it |
|
|
202
|
+
| `PrintTableCell` | `isHeader?: boolean`, `flex?: number` (`1`), `textAlign?: 'left' \| 'right' \| 'center'` (`'left'`) | A cell. Empty `children` print `—` |
|
|
203
|
+
| `PrintTotals`, `PrintTotalRow` | `label: string`, `value: string`, `last?: boolean` | The totals block; `last` is the bold grand-total row |
|
|
204
|
+
| `PrintBadge` | `color?: string`, `className?: string`, `children` | A pill; `color` is a CSS colour for its background |
|
|
205
|
+
| `PrintDataTable` | `columns`, `rows`, `currency?`, `totalLabel?`, `striped?`, `repeatHeader?`, `keepRowsWhole?`, `emptyText?`, `hideWhenEmpty?` | A whole table from column definitions: header repeated on each page, rows kept whole, a totals row. See [Tables from columns and rows](#tables-from-columns-and-rows) |
|
|
206
|
+
| `PrintKeyValue` | `items`, or `data` + `fields` (+ `currency?`); `columns?: 1 \| 2`, `keepEmpty?` | Label and value pairs in one or two columns; empty values skipped. See [`PrintKeyValue`](#printkeyvalue-one-record-as-label-and-value-pairs) |
|
|
207
|
+
| `PrintMetric`, `PrintMetrics` | `label`, `value`, `format?`, `currency?`, `hint?`, `delta?` | One figure with its label, hint and change; `PrintMetrics` lines several up. See [`PrintMetric`](#printmetric-and-printmetrics-figures) |
|
|
208
|
+
|
|
209
|
+
**Changed in 2.2.0:** `PrintHeader` no longer draws a grey `LOGO`
|
|
210
|
+
placeholder when you pass neither `logo` nor `logoText`, nor an empty box
|
|
211
|
+
where the QR code goes when you pass no `qrDataUrl`. Pass `logoText="LOGO"` to
|
|
212
|
+
keep the placeholder.
|
|
213
|
+
|
|
214
|
+
`tw` is a `react-pdf-tailwind` instance for your own `style`s, with the colours
|
|
215
|
+
the components use (`primary`, `secondary`, `muted`, `border`, `headerBg`,
|
|
216
|
+
`headerText`, `rowAlt`, `white`, `logoBg`, `qrBg`) and pdfkit's built-in fonts
|
|
217
|
+
(`font-sans` = Helvetica, `font-serif` = Times-Roman, `font-mono` = Courier).
|
|
218
|
+
`commonPrintStyles` holds the `tw` class strings the components are built
|
|
219
|
+
from, so your own blocks can match them.
|
|
220
|
+
|
|
221
|
+
### `formatAmount` and `formatDate`
|
|
222
|
+
|
|
223
|
+
```ts
|
|
224
|
+
function formatAmount(
|
|
225
|
+
value: number | null | undefined,
|
|
226
|
+
currency?: string | null,
|
|
227
|
+
options?: { locale?: string; fractionDigits?: number },
|
|
228
|
+
): string;
|
|
229
|
+
function formatDate(
|
|
230
|
+
value: string | number | Date | null | undefined,
|
|
231
|
+
options?: { locale?: string; timeZone?: string; dateStyle?: 'full' | 'long' | 'medium' | 'short'; timeStyle?: 'full' | 'long' | 'medium' | 'short' },
|
|
232
|
+
): string;
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
```ts
|
|
236
|
+
import { formatAmount, formatDate } from '@nxgt/material/lib';
|
|
237
|
+
|
|
238
|
+
formatAmount(1234.5, 'EUR', { locale: 'fr-FR' }); // '1 234,50 €'
|
|
239
|
+
formatAmount(1234.5, 'JPY', { locale: 'en-US' }); // '¥1,235' (the yen has no decimals)
|
|
240
|
+
formatAmount(1.5, 'KWD', { locale: 'en-US' }); // 'KWD 1.500' (three)
|
|
241
|
+
formatAmount(1234.5, 'JPY', { fractionDigits: 2 }); // '¥1,234.50', two decimals whatever the currency
|
|
242
|
+
formatAmount(1234.5); // '1,234.50' (no currency: two decimals)
|
|
243
|
+
formatAmount(null); // '—'
|
|
244
|
+
formatAmount(1234.5, 'EURO'); // '1234.50 EURO' (malformed currency code)
|
|
245
|
+
|
|
246
|
+
formatDate('2026-03-01', { locale: 'en-US' }); // 'Mar 1, 2026', in every time zone
|
|
247
|
+
formatDate('2026-03-01T23:30:00Z', { locale: 'fr-FR', timeZone: 'Europe/Paris' }); // '2 mars 2026'
|
|
248
|
+
formatDate(new Date(), { timeStyle: 'short' }); // date and time
|
|
249
|
+
formatDate(undefined); // '—'
|
|
250
|
+
formatDate('not a date'); // 'not a date'
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
| Option | Default | Effect |
|
|
254
|
+
| --- | --- | --- |
|
|
255
|
+
| `locale` | the runtime's locale | BCP 47 tag (`'fr-FR'`), for both functions. |
|
|
256
|
+
| `fractionDigits` | the currency's own (ISO 4217), or 2 without a currency | `formatAmount` decimals, clamped to 0–20 (the range every `Intl` accepts; engines before ES2023 throw above 20). `NaN` or `Infinity` counts as not given, as in `CurrencyField`. Pass `2` to keep the pre-2.2.0 output. |
|
|
257
|
+
| `timeZone` | the runtime's time zone | `formatDate`, for values with a time. A date-only string (`YYYY-MM-DD`) always keeps its calendar day. |
|
|
258
|
+
| `dateStyle` / `timeStyle` | `'medium'` / none | `formatDate` styles; `timeStyle` is ignored for a date-only value. |
|
|
259
|
+
|
|
260
|
+
They are pure `Intl` helpers, also exported from `@nxgt/material` and
|
|
261
|
+
`@nxgt/material/lib`, so a screen that formats amounts does not need this
|
|
262
|
+
entry.
|
|
263
|
+
|
|
264
|
+
**Server rendering.** Without `locale` and `timeZone` they use the runtime's,
|
|
265
|
+
so a server and a French browser print different strings. Pass both, or bind
|
|
266
|
+
them once:
|
|
267
|
+
|
|
268
|
+
```ts
|
|
269
|
+
// a server route, or any code outside React
|
|
270
|
+
import { createFormatters } from '@nxgt/material/lib';
|
|
271
|
+
|
|
272
|
+
const { formatAmount, formatDate } = createFormatters({ locale: 'fr-FR', timeZone: 'Europe/Paris' });
|
|
273
|
+
formatAmount(1234.5, 'EUR'); // '1 234,50 €'
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
```tsx
|
|
277
|
+
// a component: bound to the I18nProvider language ('en' without a provider)
|
|
278
|
+
import { useFormatters } from '@nxgt/material/hooks';
|
|
279
|
+
|
|
280
|
+
function InvoiceTotal({ total, issuedAt }: { total: number; issuedAt: string }) {
|
|
281
|
+
const { formatAmount, formatDate } = useFormatters({ timeZone: 'Europe/Paris' });
|
|
282
|
+
return <p>{formatAmount(total, 'EUR')} · {formatDate(issuedAt)}</p>;
|
|
283
|
+
}
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
A `@react-pdf/renderer` document is rendered outside your React tree (by
|
|
287
|
+
`pdf()` or `renderToBuffer`), so it does not see your `I18nProvider`: call
|
|
288
|
+
`createFormatters` there, or pass the formatted strings in as props (see
|
|
289
|
+
[Translating built-in strings in a PDF](#translating-built-in-strings-in-a-pdf)).
|
|
290
|
+
Amounts formatted for French keep printing correctly: the narrow no-break
|
|
291
|
+
space `Intl` puts in `1 234,50 €` is not in the PDF standard fonts, and the
|
|
292
|
+
print blocks replace it with one that is.
|
|
293
|
+
|
|
294
|
+
**Changed in 2.2.0:** amounts use their currency's own decimals (JPY and KRW
|
|
295
|
+
show none, KWD, BHD and OMR show three) where every currency used to get two,
|
|
296
|
+
and a date-only string keeps its day instead of showing the previous day west
|
|
297
|
+
of UTC. Pass `{ fractionDigits: 2 }` to keep two decimals.
|
|
298
|
+
|
|
299
|
+
## Tables from columns and rows
|
|
300
|
+
|
|
301
|
+
`PrintDataTable` prints a list of plain objects through a list of columns, so
|
|
302
|
+
you describe the table once instead of writing every cell. New in 2.2.0; the
|
|
303
|
+
`PrintTable` blocks above keep working as they are.
|
|
304
|
+
|
|
305
|
+
```tsx
|
|
306
|
+
import { definePrintColumns, PrintDataTable, PrintDocument } from '@nxgt/material/print';
|
|
307
|
+
|
|
308
|
+
type Line = { description: string; quantity: number; unitPrice: number; amount: number };
|
|
309
|
+
|
|
310
|
+
const lineColumns = definePrintColumns<Line>([
|
|
311
|
+
{ key: 'description', label: 'Item', flex: 3 },
|
|
312
|
+
{ key: 'quantity', label: 'Qty', format: 'number', width: 40, total: 'sum' },
|
|
313
|
+
{ key: 'unitPrice', label: 'Unit price', format: 'amount' },
|
|
314
|
+
{ key: 'amount', label: 'Amount', format: 'amount', total: 'sum' },
|
|
315
|
+
]);
|
|
316
|
+
|
|
317
|
+
export function InvoiceLines({ lines, language }: { lines: Line[]; language: string }) {
|
|
318
|
+
return (
|
|
319
|
+
<PrintDocument language={language} pageNumbers>
|
|
320
|
+
<PrintDataTable columns={lineColumns} rows={lines} currency="EUR" />
|
|
321
|
+
</PrintDocument>
|
|
322
|
+
);
|
|
323
|
+
}
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
With `language="fr"`, an amount of 1200 prints `1 200,00 €`, the last row
|
|
327
|
+
reads `Total` followed by the summed quantity and amount, and the header row
|
|
328
|
+
is printed again at the top of each page the table runs onto.
|
|
329
|
+
|
|
330
|
+
### The table's props
|
|
331
|
+
|
|
332
|
+
| Prop | Type | Default | Effect |
|
|
333
|
+
| --- | --- | --- | --- |
|
|
334
|
+
| `columns` | `PrintColumn<T>[]` | — | Required. What each column shows; see [the column fields](#the-column-fields) |
|
|
335
|
+
| `rows` | `T[]` | — | Required. Plain objects, one per line |
|
|
336
|
+
| `currency` | `string` | — | ISO 4217 code for `format: 'amount'` columns that name none |
|
|
337
|
+
| `totalLabel` | `string` | `material.print.table.total` ("Total") | Text in the first cell of the totals row, when the first column has no `total` of its own |
|
|
338
|
+
| `striped` | `boolean` | `true` | Shades every other row |
|
|
339
|
+
| `repeatHeader` | `boolean` | `true` | Prints the header row again at the top of each page the table crosses |
|
|
340
|
+
| `keepRowsWhole` | `boolean` | `true` | A row moves to the next page rather than splitting across two |
|
|
341
|
+
| `emptyText` | `string` | `material.print.table.empty` ("No rows") | With no rows: the header, then one muted row with this text |
|
|
342
|
+
| `hideWhenEmpty` | `boolean` | `false` | With no rows, print nothing at all, header included |
|
|
343
|
+
|
|
344
|
+
The totals row appears only when a column has a `total`, and it is kept in
|
|
345
|
+
one piece after the last row. It prints for an empty table too, at zero;
|
|
346
|
+
pass `hideWhenEmpty` if an empty table should leave no trace:
|
|
347
|
+
|
|
348
|
+
```tsx
|
|
349
|
+
<PrintDataTable columns={lineColumns} rows={[]} emptyText="Nothing ordered yet" />
|
|
350
|
+
<PrintDataTable columns={lineColumns} rows={[]} hideWhenEmpty />
|
|
351
|
+
<PrintDataTable columns={lineColumns} rows={lines} totalLabel="Total due" striped={false} />
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
The built-in texts follow the `PrintDocument`'s `language` (`Aucune ligne`
|
|
355
|
+
in French); their keys are listed in [i18n](i18n.md#the-material-namespace).
|
|
356
|
+
|
|
357
|
+
### The column fields
|
|
358
|
+
|
|
359
|
+
`definePrintColumns<T>()` returns its argument unchanged; it is there so
|
|
360
|
+
TypeScript checks every `key` against `T`.
|
|
361
|
+
|
|
362
|
+
| Field | Type | Default | Effect |
|
|
363
|
+
| --- | --- | --- | --- |
|
|
364
|
+
| `key` | `keyof T & string` | — | The row property to print. Its name is also the column's id |
|
|
365
|
+
| `id` + `accessor` | `string` + `(row: T, index: number) => unknown` | — | Instead of `key`: a computed value, such as `quantity * unitPrice` |
|
|
366
|
+
| `label` | `string` | — | Required. The header text, and the label in a [`PrintKeyValue`](#printkeyvalue-one-record-as-label-and-value-pairs) |
|
|
367
|
+
| `width` | `number \| '<n>%'` | — | A fixed width in points (`40`) or a share of the table (`'25%'`) |
|
|
368
|
+
| `flex` | `number` | `1` | Share of the width the fixed columns leave. Ignored when `width` is set |
|
|
369
|
+
| `align` | `'left' \| 'center' \| 'right'` | `'right'` for `amount`, `number` and `percent`, else `'left'` | Header and cells |
|
|
370
|
+
| `format` | `'amount' \| 'date' \| 'number' \| 'percent' \| (value, row) => string` | none | How the value prints (below) |
|
|
371
|
+
| `currency` | `string \| (row: T) => string \| null \| undefined` | the table's `currency` | ISO 4217 code for `format: 'amount'`, for the column or per row |
|
|
372
|
+
| `total` | `'sum' \| (rows: T[]) => number \| string \| null` | none | A figure in the totals row: the sum of the column, or your own |
|
|
373
|
+
|
|
374
|
+
What each `format` prints, in the document's locale:
|
|
375
|
+
|
|
376
|
+
| `format` | Value you pass | Prints (English) |
|
|
377
|
+
| --- | --- | --- |
|
|
378
|
+
| none | `'ACME'`, `1234.5` | `ACME`, `1,234.5` |
|
|
379
|
+
| `'amount'` | `1234.5` with currency `'EUR'` | `€1,234.50`, in the currency's own decimals |
|
|
380
|
+
| `'number'` | `1234.5678` | `1,234.568` (at most three decimals) |
|
|
381
|
+
| `'percent'` | `0.2` (a fraction) | `20%` |
|
|
382
|
+
| `'date'` | `'2026-03-01'`, an ISO date-time, epoch milliseconds, or a `Date` | `Mar 1, 2026` |
|
|
383
|
+
| a function | anything | exactly the string it returns |
|
|
384
|
+
|
|
385
|
+
`null`, `undefined` and `''` print `—`, whatever the format.
|
|
386
|
+
|
|
387
|
+
```tsx
|
|
388
|
+
type Order = {
|
|
389
|
+
reference: string;
|
|
390
|
+
placedAt: string;
|
|
391
|
+
quantity: number;
|
|
392
|
+
unitPrice: number;
|
|
393
|
+
discount: number;
|
|
394
|
+
currency: string;
|
|
395
|
+
status: 'paid' | 'open';
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
const orderColumns = definePrintColumns<Order>([
|
|
399
|
+
{ key: 'reference', label: 'Order', width: '20%' },
|
|
400
|
+
{ key: 'placedAt', label: 'Placed', format: 'date' },
|
|
401
|
+
{
|
|
402
|
+
id: 'total',
|
|
403
|
+
label: 'Total',
|
|
404
|
+
accessor: (order) => order.quantity * order.unitPrice,
|
|
405
|
+
format: 'amount',
|
|
406
|
+
currency: (order) => order.currency, // one currency per row
|
|
407
|
+
},
|
|
408
|
+
{ key: 'discount', label: 'Discount', format: 'percent' },
|
|
409
|
+
{ key: 'status', label: 'Status', format: (status) => (status === 'paid' ? 'Paid' : 'Open'), align: 'center' },
|
|
410
|
+
{
|
|
411
|
+
key: 'quantity',
|
|
412
|
+
label: 'Paid qty',
|
|
413
|
+
format: 'number',
|
|
414
|
+
total: (orders) => orders.filter((o) => o.status === 'paid').reduce((n, o) => n + o.quantity, 0),
|
|
415
|
+
},
|
|
416
|
+
]);
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
A few things the totals do that you may not expect:
|
|
420
|
+
|
|
421
|
+
- **`'sum'` adds numbers only.** A cell whose value is not a finite `number`
|
|
422
|
+
counts as zero. Amounts must be numbers: a string such as `'12.50'` prints
|
|
423
|
+
`—` in its cell and adds nothing to the total (see
|
|
424
|
+
[troubleshooting](../troubleshooting.md#an-amount-column-prints--instead-of-the-amount)).
|
|
425
|
+
Convert decimal strings from your API with `Number()` first.
|
|
426
|
+
- **The sum is floating point, rounded when printed.** `0.1 + 0.2` is
|
|
427
|
+
`0.30000000000000004`; an `amount` or `number` column prints it rounded
|
|
428
|
+
(`€0.30`), but the figure is not an exact decimal sum. When the total must
|
|
429
|
+
match your accounting to the cent, compute it yourself in integer cents and
|
|
430
|
+
return it from a `total` function (below).
|
|
431
|
+
- **A per-row currency is not converted.** When the rows of an `amount`
|
|
432
|
+
column name more than one currency, `'sum'` prints `—` rather than a figure
|
|
433
|
+
in the wrong currency. Keep one currency per table, or compute your own
|
|
434
|
+
totals and return a string from `total`.
|
|
435
|
+
- **A `format` function formats the total too**, called with the total and
|
|
436
|
+
the first row. A `total` function that returns a string prints it as is.
|
|
437
|
+
|
|
438
|
+
```tsx
|
|
439
|
+
const centColumns = definePrintColumns<{ label: string; cents: number }>([
|
|
440
|
+
{ key: 'label', label: 'Item' },
|
|
441
|
+
{
|
|
442
|
+
id: 'amount',
|
|
443
|
+
label: 'Amount',
|
|
444
|
+
accessor: (row) => row.cents / 100,
|
|
445
|
+
format: 'amount',
|
|
446
|
+
total: (rows) => rows.reduce((sum, row) => sum + row.cents, 0) / 100,
|
|
447
|
+
},
|
|
448
|
+
]);
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
**Page breaks.** `keepRowsWhole` moves a row to the next page rather than
|
|
452
|
+
cut it, which works for any row shorter than a page. A single row taller than
|
|
453
|
+
a whole page, such as a cell holding several paragraphs, cannot stay whole;
|
|
454
|
+
shorten that cell or print its text below the table. With `repeatHeader`,
|
|
455
|
+
the header comes back on each page the table crosses, and is not left alone
|
|
456
|
+
at the foot of a page.
|
|
457
|
+
|
|
458
|
+
### From a screen `DataTable`
|
|
459
|
+
|
|
460
|
+
The TanStack column definitions of a `DataTable` on screen are not reused:
|
|
461
|
+
they carry React cells, sorting and filters that mean nothing on paper. Copy
|
|
462
|
+
the key and the header text across:
|
|
463
|
+
|
|
464
|
+
```ts
|
|
465
|
+
// on screen
|
|
466
|
+
const screenColumns = [
|
|
467
|
+
{ accessorKey: 'reference', header: 'Order' },
|
|
468
|
+
{ accessorKey: 'placedAt', header: 'Placed' },
|
|
469
|
+
];
|
|
470
|
+
|
|
471
|
+
// on paper
|
|
472
|
+
const printColumns = definePrintColumns<Order>([
|
|
473
|
+
{ key: 'reference', label: 'Order' },
|
|
474
|
+
{ key: 'placedAt', label: 'Placed', format: 'date' },
|
|
475
|
+
]);
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
### `PrintKeyValue`: one record as label and value pairs
|
|
479
|
+
|
|
480
|
+
The detail block above a table ("Customer", "Issued", "Due"), in one or two
|
|
481
|
+
columns. Pass `items`, or pass `data` with `fields`, which are the same
|
|
482
|
+
column definitions as a `PrintDataTable`:
|
|
483
|
+
|
|
484
|
+
```tsx
|
|
485
|
+
import { PrintKeyValue } from '@nxgt/material/print';
|
|
486
|
+
|
|
487
|
+
type Customer = { name: string; since: string; email: string | null; balance: number };
|
|
488
|
+
|
|
489
|
+
<PrintKeyValue
|
|
490
|
+
data={customer}
|
|
491
|
+
columns={2}
|
|
492
|
+
currency="EUR"
|
|
493
|
+
fields={[
|
|
494
|
+
{ key: 'name', label: 'Name' },
|
|
495
|
+
{ key: 'since', label: 'Customer since', format: 'date' },
|
|
496
|
+
{ key: 'email', label: 'Email' },
|
|
497
|
+
{ key: 'balance', label: 'Balance', format: 'amount' },
|
|
498
|
+
]}
|
|
499
|
+
/>
|
|
500
|
+
|
|
501
|
+
<PrintKeyValue
|
|
502
|
+
items={[
|
|
503
|
+
{ label: 'Invoice', value: 'INV-42' },
|
|
504
|
+
{ label: 'Due', value: { date: '2026-04-01' } },
|
|
505
|
+
{ label: 'Total', value: { amount: 1234.5, currency: 'EUR' } },
|
|
506
|
+
]}
|
|
507
|
+
/>
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
| Prop | Type | Default | Effect |
|
|
511
|
+
| --- | --- | --- | --- |
|
|
512
|
+
| `items` | `{ label: string; value: PrintValue }[]` | — | The pairs, already built. A value is text, a number, or `{ amount, currency }`, `{ date }`, `{ number }` |
|
|
513
|
+
| `data` + `fields` | `T` + `PrintColumn<T>[]` | — | Instead of `items`: one record, read through column definitions (`width`, `flex`, `align` and `total` are ignored) |
|
|
514
|
+
| `currency` | `string` | — | With `data`: the currency of `amount` fields that name none |
|
|
515
|
+
| `columns` | `1 \| 2` | `1` | Two columns fill the left one first, then the right |
|
|
516
|
+
| `keepEmpty` | `boolean` | `false` | Print a pair whose value is empty, as `—`, instead of skipping it |
|
|
517
|
+
|
|
518
|
+
With every value empty and no `keepEmpty`, it prints nothing.
|
|
519
|
+
|
|
520
|
+
### `PrintMetric` and `PrintMetrics`: figures
|
|
521
|
+
|
|
522
|
+
A figure with its label, and optionally a hint and a change: the printed
|
|
523
|
+
counterpart of a `StatCard`. `PrintMetrics` lines several up, sharing the width.
|
|
524
|
+
|
|
525
|
+
```tsx
|
|
526
|
+
import { PrintMetric, PrintMetrics } from '@nxgt/material/print';
|
|
527
|
+
|
|
528
|
+
<PrintMetrics>
|
|
529
|
+
<PrintMetric label="Revenue" value={12400} format="amount" currency="EUR" delta={4} hint="Q3" />
|
|
530
|
+
<PrintMetric label="Orders" value={87} delta={-2.5} />
|
|
531
|
+
<PrintMetric label="Conversion" value={0.031} format="percent" />
|
|
532
|
+
</PrintMetrics>
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
| Prop | Type | Default | Effect |
|
|
536
|
+
| --- | --- | --- | --- |
|
|
537
|
+
| `label` | `string` | — | Required. Above the figure |
|
|
538
|
+
| `value` | `PrintValue` | — | Required. A number, text, or `{ amount, currency }` / `{ date }` / `{ number }` |
|
|
539
|
+
| `format` | `'amount' \| 'date' \| 'number' \| 'percent'` | — | Applied when `value` is a number (or an ISO string for `'date'`), as for a column |
|
|
540
|
+
| `currency` | `string` | — | ISO 4217 code for `format="amount"` |
|
|
541
|
+
| `hint` | `string` | — | A caption under the figure |
|
|
542
|
+
| `delta` | `number` | — | A change **in percent**: `4` prints `+4%` in the success colour, `-2.5` prints `-2.5%` in the error colour, in the document's locale (`+4 %` in French) |
|
|
543
|
+
|
|
544
|
+
### Your own blocks
|
|
545
|
+
|
|
546
|
+
The helpers behind these blocks are exported from `@nxgt/material/print`, for
|
|
547
|
+
a block of your own that reads the same column definitions:
|
|
548
|
+
|
|
549
|
+
```ts
|
|
550
|
+
function definePrintColumns<T>(columns: PrintColumn<T>[]): PrintColumn<T>[];
|
|
551
|
+
function resolvePrintTable<T>(
|
|
552
|
+
columns: PrintColumn<T>[],
|
|
553
|
+
rows: T[],
|
|
554
|
+
options?: { currency?: string; totalLabel?: string },
|
|
555
|
+
): {
|
|
556
|
+
columns: { id: string; label: string; align: 'left' | 'center' | 'right'; width?: number | `${number}%`; flex?: number }[];
|
|
557
|
+
rows: PrintValue[][];
|
|
558
|
+
footer: PrintValue[][]; // one totals row, or none
|
|
559
|
+
empty: boolean;
|
|
560
|
+
};
|
|
561
|
+
function resolvePrintFields<T>(fields: PrintColumn<T>[], row: T, options?: { currency?: string }): { label: string; value: PrintValue }[];
|
|
562
|
+
function toPrintValue<T>(column: PrintColumn<T>, value: unknown, row: T | undefined, options?: { currency?: string }): PrintValue;
|
|
563
|
+
function formatPrintValue(value: PrintValue, options?: { locale?: string; timeZone?: string; empty?: string }): string;
|
|
564
|
+
function isEmptyPrintValue(value: PrintValue): boolean;
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
A cell comes out as a `PrintValue`, still data (`{ amount: 12, currency: 'EUR' }`),
|
|
568
|
+
and `formatPrintValue` turns it into text. Your block does not see the
|
|
569
|
+
`PrintDocument`'s locale, so pass it:
|
|
570
|
+
|
|
571
|
+
```tsx
|
|
572
|
+
import { Text, View } from '@react-pdf/renderer';
|
|
573
|
+
import { formatPrintValue, type PrintColumn, resolvePrintTable } from '@nxgt/material/print';
|
|
574
|
+
|
|
575
|
+
export function PrintCompactList<T>({ columns, rows, locale }: { columns: PrintColumn<T>[]; rows: T[]; locale: string }) {
|
|
576
|
+
const table = resolvePrintTable(columns, rows);
|
|
577
|
+
return (
|
|
578
|
+
<View>
|
|
579
|
+
{table.rows.map((cells, index) => (
|
|
580
|
+
<Text key={index}>{cells.map((cell) => formatPrintValue(cell, { locale })).join(' · ')}</Text>
|
|
581
|
+
))}
|
|
582
|
+
</View>
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
French amounts from `formatPrintValue` carry a narrow no-break space the PDF
|
|
588
|
+
fonts lack; replace it as shown in
|
|
589
|
+
[troubleshooting](../troubleshooting.md#french-amounts-print-with-a-slash-as-in-123450)
|
|
590
|
+
before printing them in your own `Text`.
|
|
591
|
+
|
|
592
|
+
## Rendering the document
|
|
593
|
+
|
|
594
|
+
One call turns a document into a file, a download, a new tab or a server
|
|
595
|
+
response. Each function takes a react-pdf `<Document>` element, such as a
|
|
596
|
+
`<PrintDocument>`, or a [document model](#documents-as-data):
|
|
597
|
+
|
|
598
|
+
```tsx
|
|
599
|
+
import { downloadPdf } from '@nxgt/material/print';
|
|
600
|
+
import { Button } from '@nxgt/material/components';
|
|
601
|
+
import { InvoiceDocument } from './invoice-document';
|
|
602
|
+
import type { Invoice } from './types';
|
|
603
|
+
|
|
604
|
+
export function DownloadInvoice({ invoice }: { invoice: Invoice }) {
|
|
605
|
+
return (
|
|
606
|
+
<Button variant="outlined" onClick={() => downloadPdf(<InvoiceDocument invoice={invoice} />, { fileName: invoice.number })}>
|
|
607
|
+
Download PDF
|
|
608
|
+
</Button>
|
|
609
|
+
);
|
|
610
|
+
}
|
|
611
|
+
```
|
|
612
|
+
|
|
613
|
+
| Function | Returns | Where |
|
|
614
|
+
| --- | --- | --- |
|
|
615
|
+
| `downloadPdf(doc \| blob, options?)` | `Promise<void>`: the file is saved | browser |
|
|
616
|
+
| `openPdf(doc \| blob, options?)` | `Promise<void>`: the file opens in a new tab | browser |
|
|
617
|
+
| `usePdfFile(doc \| null, options?)` | `{ blob, url, loading, error, refresh }` | browser (a React hook) |
|
|
618
|
+
| `pdfResponse(doc, options?)` | `Promise<Response>` with the PDF and its headers | Node 18+, Bun |
|
|
619
|
+
| `renderPdfBuffer(doc, options?)` | `Promise<Uint8Array>` | browser, Node 18+, Bun |
|
|
620
|
+
| `renderPdfBlob(doc, options?)` | `Promise<Blob>` of type `application/pdf` | browser, Node 18+, Bun |
|
|
621
|
+
| `renderPdfStream(doc, options?)` | `Promise<ReadableStream<Uint8Array>>` (a Web stream) | Node 18+, Bun |
|
|
622
|
+
|
|
623
|
+
They render outside your React tree, like `pdf()`: give a `PrintDocument` its
|
|
624
|
+
`language` as a prop (see
|
|
625
|
+
[Translating built-in strings in a PDF](#translating-built-in-strings-in-a-pdf)).
|
|
626
|
+
When one fails, the promise rejects with react-pdf's error; `usePdfFile`
|
|
627
|
+
returns it as `error`.
|
|
628
|
+
|
|
629
|
+
### In the browser: `downloadPdf` and `openPdf`
|
|
630
|
+
|
|
631
|
+
`downloadPdf` renders the document and saves it; `openPdf` opens it in a new
|
|
632
|
+
tab, where the browser's own viewer shows it. Call both from a click handler.
|
|
633
|
+
|
|
634
|
+
```tsx
|
|
635
|
+
import { downloadPdf, openPdf } from '@nxgt/material/print';
|
|
636
|
+
import { Button, ButtonGroup } from '@nxgt/material/components';
|
|
637
|
+
import { InvoiceDocument } from './invoice-document';
|
|
638
|
+
import type { Invoice } from './types';
|
|
639
|
+
|
|
640
|
+
export function InvoiceActions({ invoice }: { invoice: Invoice }) {
|
|
641
|
+
const doc = <InvoiceDocument invoice={invoice} language="fr" />;
|
|
642
|
+
return (
|
|
643
|
+
<ButtonGroup>
|
|
644
|
+
<Button onClick={() => openPdf(doc, { fileName: invoice.number })}>Open</Button>
|
|
645
|
+
<Button onClick={() => downloadPdf(doc, { fileName: invoice.number })}>Download</Button>
|
|
646
|
+
</ButtonGroup>
|
|
647
|
+
);
|
|
648
|
+
}
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
| Option | Type | Default | Effect |
|
|
652
|
+
| --- | --- | --- | --- |
|
|
653
|
+
| `fileName` | `string` | `'document.pdf'` | The saved file's name, and the name the tab offers when saving; `.pdf` is added when missing (`'INV-42'` saves `INV-42.pdf`) |
|
|
654
|
+
| `custom` | `Record<string, renderer>` | — | Renderers for a model's custom nodes; see [Custom nodes](#custom-nodes) |
|
|
655
|
+
|
|
656
|
+
- **A `Blob` is saved as it is**, without rendering again: pass the `blob`
|
|
657
|
+
from `usePdfFile` or `renderPdfBlob`. A `File` keeps its own name when you
|
|
658
|
+
pass no `fileName`.
|
|
659
|
+
- **`openPdf` opens the tab first**, before the rendering starts, while the
|
|
660
|
+
browser still counts the click as the user's; a popup blocker then lets it
|
|
661
|
+
through. When a blocker stops it all the same, **the file is downloaded
|
|
662
|
+
instead**. If the rendering fails, the empty tab is closed and the promise
|
|
663
|
+
rejects.
|
|
664
|
+
- **Nothing leaks.** The object URL behind a download or a tab is revoked 60
|
|
665
|
+
seconds later: long enough for Firefox and Safari, which read it after the
|
|
666
|
+
click returns.
|
|
667
|
+
|
|
668
|
+
```tsx
|
|
669
|
+
// a user action: tell them when it fails
|
|
670
|
+
async function onDownload() {
|
|
671
|
+
try {
|
|
672
|
+
await downloadPdf(<InvoiceDocument invoice={invoice} />, { fileName: invoice.number });
|
|
673
|
+
} catch (error) {
|
|
674
|
+
console.error(error); // or your toast
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
### Showing it before it is saved: `usePdfFile`
|
|
680
|
+
|
|
681
|
+
`usePdfFile` renders the document in the browser and keeps the file current:
|
|
682
|
+
the `Blob`, an object URL for it, and the loading and error states. Build the
|
|
683
|
+
element with `useMemo`: a JSX element is a new value on every render, and the
|
|
684
|
+
hook renders again for every new value.
|
|
685
|
+
|
|
686
|
+
```tsx
|
|
687
|
+
import { useMemo } from 'react';
|
|
688
|
+
import { PdfReader, Spinner } from '@nxgt/material/components';
|
|
689
|
+
import { usePdfFile } from '@nxgt/material/print';
|
|
690
|
+
import { InvoiceDocument } from './invoice-document';
|
|
691
|
+
import type { Invoice } from './types';
|
|
692
|
+
|
|
693
|
+
export function InvoicePreview({ invoice }: { invoice: Invoice }) {
|
|
694
|
+
const doc = useMemo(() => <InvoiceDocument invoice={invoice} />, [invoice]);
|
|
695
|
+
const { blob, loading, error, refresh } = usePdfFile(doc);
|
|
696
|
+
|
|
697
|
+
if (error) return <button onClick={refresh}>Try again</button>;
|
|
698
|
+
if (loading && !blob) return <Spinner />;
|
|
699
|
+
return (
|
|
700
|
+
<div className="h-[600px]">
|
|
701
|
+
<PdfReader file={blob} fileName={`${invoice.number}.pdf`} />
|
|
702
|
+
</div>
|
|
703
|
+
);
|
|
704
|
+
}
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
| Field | Type | What it is |
|
|
708
|
+
| --- | --- | --- |
|
|
709
|
+
| `blob` | `Blob \| null` | The rendered PDF; the previous one stays while a new render runs |
|
|
710
|
+
| `url` | `string \| null` | An object URL of `blob`, for an `<iframe>` or a link; revoked when it is replaced or the component unmounts |
|
|
711
|
+
| `loading` | `boolean` | `true` while a render runs |
|
|
712
|
+
| `error` | `Error \| null` | Why the last render failed; `blob` and `url` are then `null` |
|
|
713
|
+
| `refresh` | `() => void` | Renders the same document again |
|
|
714
|
+
|
|
715
|
+
Pass `null` to render nothing (all fields empty, `loading` false). A render
|
|
716
|
+
that a newer document overtook is dropped, so a slow render of an older
|
|
717
|
+
invoice never replaces a newer one. Without the reader, the browser's viewer
|
|
718
|
+
shows the `url`:
|
|
719
|
+
|
|
720
|
+
```tsx
|
|
721
|
+
const { url } = usePdfFile(doc);
|
|
722
|
+
return url ? <iframe src={url} title="Invoice" className="h-[600px] w-full" /> : null;
|
|
723
|
+
```
|
|
724
|
+
|
|
725
|
+
`PdfReader` opens the `Blob` as it is; see
|
|
726
|
+
[PdfReader](../components/media-and-files.md#pdfreader). react-pdf's own
|
|
727
|
+
`PDFViewer` still takes a `PrintDocument` too, but it cannot render a model.
|
|
728
|
+
|
|
729
|
+
### On a server: `pdfResponse`
|
|
730
|
+
|
|
731
|
+
`pdfResponse` renders the document into a Web `Response`: the bytes, with
|
|
732
|
+
`Content-Type: application/pdf`, a `Content-Length` and a
|
|
733
|
+
`Content-Disposition` carrying the file name. Return it from anything that
|
|
734
|
+
answers with a `Response`.
|
|
735
|
+
|
|
736
|
+
```tsx
|
|
737
|
+
// app/routes/invoices.$id[.pdf].tsx: a React Router resource route (no component)
|
|
738
|
+
import { pdfResponse } from '@nxgt/material/print';
|
|
739
|
+
import { InvoiceDocument } from '../invoice-document';
|
|
740
|
+
import { getInvoice } from '../invoices.server';
|
|
741
|
+
|
|
742
|
+
export async function loader({ params }: { params: { id: string } }) {
|
|
743
|
+
const invoice = await getInvoice(params.id);
|
|
744
|
+
return pdfResponse(<InvoiceDocument invoice={invoice} language="fr" />, { fileName: invoice.number });
|
|
745
|
+
}
|
|
746
|
+
```
|
|
747
|
+
|
|
748
|
+
```tsx
|
|
749
|
+
// app/invoices/[id]/pdf/route.tsx: a Next.js route handler
|
|
750
|
+
import { pdfResponse } from '@nxgt/material/print';
|
|
751
|
+
import { InvoiceDocument } from '../../../invoice-document';
|
|
752
|
+
import { getInvoice } from '../../../invoices.server';
|
|
753
|
+
|
|
754
|
+
export const runtime = 'nodejs'; // not 'edge': see Runtimes below
|
|
755
|
+
|
|
756
|
+
export async function GET(_request: Request, { params }: { params: Promise<{ id: string }> }) {
|
|
757
|
+
const invoice = await getInvoice((await params).id);
|
|
758
|
+
return pdfResponse(<InvoiceDocument invoice={invoice} />, { fileName: invoice.number, disposition: 'inline' });
|
|
759
|
+
}
|
|
760
|
+
```
|
|
761
|
+
|
|
762
|
+
```tsx
|
|
763
|
+
// Hono
|
|
764
|
+
import { Hono } from 'hono';
|
|
765
|
+
import { pdfResponse } from '@nxgt/material/print';
|
|
766
|
+
import { InvoiceDocument } from './invoice-document';
|
|
767
|
+
import { getInvoice } from './invoices.server';
|
|
768
|
+
|
|
769
|
+
const app = new Hono();
|
|
770
|
+
app.get('/invoices/:id/pdf', async (c) => {
|
|
771
|
+
const invoice = await getInvoice(c.req.param('id'));
|
|
772
|
+
return pdfResponse(<InvoiceDocument invoice={invoice} />, { fileName: invoice.number });
|
|
773
|
+
});
|
|
774
|
+
```
|
|
775
|
+
|
|
776
|
+
```tsx
|
|
777
|
+
// Bun.serve
|
|
778
|
+
import { pdfResponse } from '@nxgt/material/print';
|
|
779
|
+
import { InvoiceDocument } from './invoice-document';
|
|
780
|
+
import { getInvoice } from './invoices.server';
|
|
781
|
+
|
|
782
|
+
Bun.serve({
|
|
783
|
+
routes: {
|
|
784
|
+
'/invoices/:id/pdf': async (request) => {
|
|
785
|
+
const invoice = await getInvoice(request.params.id);
|
|
786
|
+
return pdfResponse(<InvoiceDocument invoice={invoice} />, { fileName: invoice.number });
|
|
787
|
+
},
|
|
788
|
+
},
|
|
789
|
+
});
|
|
790
|
+
```
|
|
791
|
+
|
|
792
|
+
| Option | Type | Default | Effect |
|
|
793
|
+
| --- | --- | --- | --- |
|
|
794
|
+
| `fileName` | `string` | `'document.pdf'` | The name in `Content-Disposition`; `.pdf` is added when missing |
|
|
795
|
+
| `disposition` | `'inline' \| 'attachment'` | `'attachment'` | `'inline'` shows the PDF in the browser's viewer (or a `PdfReader` given the URL), `'attachment'` saves it |
|
|
796
|
+
| `headers` | `HeadersInit` | — | More headers, such as `Cache-Control`. `Content-Type`, `Content-Length` and `Content-Disposition` are always the PDF's |
|
|
797
|
+
| `custom` | `Record<string, renderer>` | — | Renderers for a model's [custom nodes](#custom-nodes) |
|
|
798
|
+
|
|
799
|
+
```ts
|
|
800
|
+
const response = await pdfResponse(doc, {
|
|
801
|
+
fileName: 'Facture n°42',
|
|
802
|
+
disposition: 'inline',
|
|
803
|
+
headers: { 'Cache-Control': 'private, no-store' },
|
|
804
|
+
});
|
|
805
|
+
response.headers.get('Content-Disposition');
|
|
806
|
+
// inline; filename="Facture n_42.pdf"; filename*=UTF-8''Facture%20n%C2%B042.pdf
|
|
807
|
+
```
|
|
808
|
+
|
|
809
|
+
The file name is written twice (RFC 6266): as ASCII, which every client reads,
|
|
810
|
+
and encoded as UTF-8, which browsers prefer, so accents survive.
|
|
811
|
+
`contentDisposition(disposition, fileName)` builds that header for a response
|
|
812
|
+
of your own. A `PdfReader` in the browser opens the route by its URL, with
|
|
813
|
+
`httpHeaders` when it needs a token:
|
|
814
|
+
|
|
815
|
+
```tsx
|
|
816
|
+
<PdfReader file={{ url: `/invoices/${id}/pdf`, httpHeaders: { Authorization: `Bearer ${token}` } }} fileName={`${number}.pdf`} />
|
|
817
|
+
```
|
|
818
|
+
|
|
819
|
+
### Bytes and streams: `renderPdfBuffer`, `renderPdfStream`
|
|
820
|
+
|
|
821
|
+
For anything that is not a response (an email attachment, an upload to object
|
|
822
|
+
storage, a file on disk), `renderPdfBuffer` returns the bytes as a
|
|
823
|
+
`Uint8Array`, which `new Response()`, `Blob`, `Bun.write` and Node's
|
|
824
|
+
`fs.writeFile` all take as they are:
|
|
825
|
+
|
|
826
|
+
```tsx
|
|
827
|
+
import { writeFile } from 'node:fs/promises';
|
|
828
|
+
import { renderPdfBuffer } from '@nxgt/material/print';
|
|
829
|
+
|
|
830
|
+
const bytes = await renderPdfBuffer(<InvoiceDocument invoice={invoice} />);
|
|
831
|
+
await writeFile(`invoices/${invoice.number}.pdf`, bytes);
|
|
832
|
+
```
|
|
833
|
+
|
|
834
|
+
`renderPdfStream` returns a Web `ReadableStream`, so a long document starts
|
|
835
|
+
reaching the client before the last page is written. A `Response` takes it
|
|
836
|
+
directly; Node's own streams, such as Express's `res`, take it through
|
|
837
|
+
`Readable.fromWeb`:
|
|
838
|
+
|
|
839
|
+
```tsx
|
|
840
|
+
import { Readable } from 'node:stream';
|
|
841
|
+
import type { ReadableStream as NodeReadableStream } from 'node:stream/web';
|
|
842
|
+
import { contentDisposition, renderPdfStream } from '@nxgt/material/print';
|
|
843
|
+
|
|
844
|
+
app.get('/reports/:id/pdf', async (req, res) => {
|
|
845
|
+
const stream = await renderPdfStream(<ReportDocument id={req.params.id} />);
|
|
846
|
+
res.setHeader('Content-Type', 'application/pdf');
|
|
847
|
+
res.setHeader('Content-Disposition', contentDisposition('attachment', 'report.pdf'));
|
|
848
|
+
Readable.fromWeb(stream as NodeReadableStream).pipe(res);
|
|
849
|
+
});
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
(The cast is only for TypeScript, whose DOM and Node stream types differ;
|
|
853
|
+
with Bun's types in the project, cast through `unknown` first.) A
|
|
854
|
+
streamed response has no `Content-Length`: use `pdfResponse` when the client
|
|
855
|
+
needs one. `renderPdfBlob` returns a `Blob`, for an API that asks for one,
|
|
856
|
+
such as `FormData`.
|
|
857
|
+
|
|
858
|
+
### Runtimes
|
|
859
|
+
|
|
860
|
+
| Runtime | Renders | Notes |
|
|
861
|
+
| --- | --- | --- |
|
|
862
|
+
| Browser | yes | Everything but `renderPdfStream` and `pdfResponse` |
|
|
863
|
+
| Node 18+ | yes | Everything but `downloadPdf`, `openPdf` and `usePdfFile`, which need a page |
|
|
864
|
+
| Bun | yes | As Node |
|
|
865
|
+
| Edge runtimes (Vercel Edge, Cloudflare Workers, Deno Deploy) | **no** | react-pdf needs Node APIs these do not have. Render on a Node or Bun runtime ([troubleshooting](../troubleshooting.md#pdf-rendering-fails-on-an-edge-runtime)) |
|
|
866
|
+
|
|
867
|
+
A server bundle must load react-pdf's Node build: a bundler that picks its
|
|
868
|
+
browser build for a server prints `renderToBuffer is a Node specific API`
|
|
869
|
+
(see [troubleshooting](../troubleshooting.md#rendertobuffer-is-a-node-specific-api)).
|
|
870
|
+
|
|
871
|
+
### The signatures
|
|
872
|
+
|
|
873
|
+
```ts
|
|
874
|
+
type PdfInput = ReactElement<DocumentProps> | PdfDocument; // a <Document> element, or a model
|
|
875
|
+
type PdfRenderInputOptions = { custom?: Record<string, PdfCustomRenderer> };
|
|
876
|
+
type PdfFileNameOptions = { fileName?: string };
|
|
877
|
+
type PdfOutputOptions = PdfFileNameOptions & PdfRenderInputOptions;
|
|
878
|
+
type PdfResponseOptions = {
|
|
879
|
+
fileName?: string;
|
|
880
|
+
disposition?: 'inline' | 'attachment';
|
|
881
|
+
headers?: HeadersInit;
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
function renderPdfBlob(input: PdfInput, options?: PdfRenderInputOptions): Promise<Blob>;
|
|
885
|
+
function renderPdfBuffer(input: PdfInput, options?: PdfRenderInputOptions): Promise<Uint8Array<ArrayBuffer>>;
|
|
886
|
+
function renderPdfStream(input: PdfInput, options?: PdfRenderInputOptions): Promise<ReadableStream<Uint8Array>>;
|
|
887
|
+
function downloadPdf(input: PdfInput | Blob, options?: PdfOutputOptions): Promise<void>;
|
|
888
|
+
function openPdf(input: PdfInput | Blob, options?: PdfOutputOptions): Promise<void>;
|
|
889
|
+
function pdfResponse(input: PdfInput, options?: PdfResponseOptions & PdfRenderInputOptions): Promise<Response>;
|
|
890
|
+
function contentDisposition(disposition: 'inline' | 'attachment', fileName: string): string;
|
|
891
|
+
function usePdfFile(input: PdfInput | null, options?: PdfRenderInputOptions): PdfFileState;
|
|
892
|
+
|
|
893
|
+
type PdfFileState = {
|
|
894
|
+
blob: Blob | null;
|
|
895
|
+
url: string | null;
|
|
896
|
+
loading: boolean;
|
|
897
|
+
error: Error | null;
|
|
898
|
+
refresh: () => void;
|
|
899
|
+
};
|
|
900
|
+
```
|
|
901
|
+
|
|
902
|
+
`PdfInput`, `PdfOutputOptions`, `PdfResponseOptions`, `PdfRenderInputOptions`,
|
|
903
|
+
`PdfFileNameOptions`, `PdfFileState` and `PdfFileSnapshot` (the state without
|
|
904
|
+
`refresh`) are exported as types. So are `PdfCustomRenderer` and
|
|
905
|
+
`PdfRenderContext` (a [custom node](#custom-nodes)'s renderer and its second
|
|
906
|
+
argument), `PdfTheme` with `resolvePdfTheme(overrides?)` and
|
|
907
|
+
`resolvePdfColor(color, theme)` (the theme a document renders with, and a
|
|
908
|
+
colour name resolved against it), and the components' props:
|
|
909
|
+
`PrintDocumentProps`, `PrintPageInfo`, `PrintHeaderProps`,
|
|
910
|
+
`PrintDataTableProps`, `PrintKeyValueProps` and `PrintMetricProps`.
|
|
911
|
+
|
|
912
|
+
### With react-pdf directly
|
|
913
|
+
|
|
914
|
+
`pdf()`, `renderToBuffer()`, `renderToStream()` and `PDFViewer` from
|
|
915
|
+
`@react-pdf/renderer` keep taking a `PrintDocument`, for an option the
|
|
916
|
+
functions above do not have:
|
|
917
|
+
|
|
918
|
+
```tsx
|
|
919
|
+
import { renderToBuffer } from '@react-pdf/renderer';
|
|
920
|
+
|
|
921
|
+
const buffer = await renderToBuffer(<InvoiceDocument invoice={invoice} />); // a Node Buffer
|
|
922
|
+
```
|
|
923
|
+
|
|
924
|
+
## Documents as data
|
|
925
|
+
|
|
926
|
+
A document can also be plain data: a JSON-serialisable object, written with a
|
|
927
|
+
few builder functions, that the functions above render like a
|
|
928
|
+
`PrintDocument`. Build it on a server, send it as JSON, render it in the
|
|
929
|
+
browser; or keep your templates as functions from your data to a document.
|
|
930
|
+
|
|
931
|
+
> **Experimental.** The model, its builders and `version: 1` may still
|
|
932
|
+
> change in a minor release until they are frozen, which happens once
|
|
933
|
+
> another renderer draws the same documents. Pin a minor version if you store
|
|
934
|
+
> documents.
|
|
935
|
+
|
|
936
|
+
```ts
|
|
937
|
+
import { downloadPdf, heading, keyValue, page, pdfDocument, table, text, totals } from '@nxgt/material/print';
|
|
938
|
+
|
|
939
|
+
const doc = pdfDocument({
|
|
940
|
+
meta: { title: 'Invoice INV-42' },
|
|
941
|
+
language: 'fr',
|
|
942
|
+
locale: 'fr-FR',
|
|
943
|
+
pages: [
|
|
944
|
+
page({
|
|
945
|
+
pageNumbers: true,
|
|
946
|
+
body: [
|
|
947
|
+
heading('Facture INV-42'),
|
|
948
|
+
keyValue([
|
|
949
|
+
{ label: 'Client', value: 'ACME SAS' },
|
|
950
|
+
{ label: 'Émise le', value: { date: '2026-03-01' } },
|
|
951
|
+
]),
|
|
952
|
+
table({
|
|
953
|
+
columns: [{ label: 'Article', flex: 3 }, { label: 'Montant', align: 'right' }],
|
|
954
|
+
rows: [['Design', { amount: 800, currency: 'EUR' }]],
|
|
955
|
+
}),
|
|
956
|
+
totals([{ label: 'Total', value: { amount: 800, currency: 'EUR' }, emphasis: true }]),
|
|
957
|
+
text('Payable à 30 jours.', { variant: 'muted' }),
|
|
958
|
+
],
|
|
959
|
+
}),
|
|
960
|
+
],
|
|
961
|
+
});
|
|
962
|
+
|
|
963
|
+
await downloadPdf(doc, { fileName: 'INV-42' }); // "Page 1 sur 1", 800,00 €
|
|
964
|
+
```
|
|
965
|
+
|
|
966
|
+
### The model
|
|
967
|
+
|
|
968
|
+
```ts
|
|
969
|
+
type PdfDocument = {
|
|
970
|
+
version: 1;
|
|
971
|
+
meta?: { title?: string; author?: string; subject?: string; keywords?: string; creator?: string; producer?: string };
|
|
972
|
+
language?: string; // the built-in strings ('en', 'fr') and the PDF's language; 'en' by default
|
|
973
|
+
locale?: string; // how amounts, dates and numbers print; `language` by default
|
|
974
|
+
timeZone?: string;
|
|
975
|
+
theme?: { colors?: Partial<Record<PdfThemeColor, string>>; fonts?: Partial<Record<'sans' | 'serif' | 'mono', string>> };
|
|
976
|
+
pages: PdfPage[];
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
type PdfPage = {
|
|
980
|
+
size?: 'A3' | 'A4' | 'A5' | 'LETTER' | 'LEGAL' | [number, number];
|
|
981
|
+
orientation?: 'portrait' | 'landscape';
|
|
982
|
+
margins?: number | { top?: number; right?: number; bottom?: number; left?: number; x?: number; y?: number };
|
|
983
|
+
footerHeight?: number;
|
|
984
|
+
pageNumbers?: boolean | { align?: 'left' | 'center' | 'right'; format?: 'page-of' | 'page' };
|
|
985
|
+
watermark?: string | { text: string; opacity?: number; angle?: number; color?: string; fontSize?: number };
|
|
986
|
+
header?: PdfNode[]; // repeated at the top of every page
|
|
987
|
+
footer?: PdfNode[]; // repeated at the bottom of every page
|
|
988
|
+
body: PdfNode[];
|
|
989
|
+
};
|
|
990
|
+
```
|
|
991
|
+
|
|
992
|
+
The page options are `PrintDocument`'s props, with the same defaults (see
|
|
993
|
+
[The page shell](#the-page-shell-printdocument)); a document may hold several
|
|
994
|
+
page shells, each starting a new page. The file's creator is
|
|
995
|
+
`@nxgt/material` unless `meta.creator` names another.
|
|
996
|
+
|
|
997
|
+
Each node is an object with a `type`, and each has a builder that returns
|
|
998
|
+
it:
|
|
999
|
+
|
|
1000
|
+
| Node | Builder | Prints |
|
|
1001
|
+
| --- | --- | --- |
|
|
1002
|
+
| `heading` | `heading(text, level?)` | A title, level `1`, `2` or `3` |
|
|
1003
|
+
| `text` | `text(content, { variant?, style? })` | A paragraph: a string, or runs `{ text, bold?, italic?, color?, href? }`; `variant` is `'body'`, `'muted'`, `'caption'` or `'label'` |
|
|
1004
|
+
| `stack` / `row` | `stack(children, { gap?, style? })`, `row(children, { gap?, align?, justify?, style? })` | Children one under the other, or side by side |
|
|
1005
|
+
| `section` | `section(title, children)` | A titled block, as `PrintSection` |
|
|
1006
|
+
| `table` | `table({ columns, rows, footer?, labelTotals?, striped?, repeatHeader?, keepRowsWhole?, emptyText?, hideWhenEmpty? })`, or `dataTable(columns, rows, options?)` from [column definitions](#tables-from-column-definitions-datatable-and-keyvalueof) | A table of `PrintValue`s, as `PrintDataTable`; with `labelTotals`, an empty first cell of a `footer` row reads "Total" in the document's language |
|
|
1007
|
+
| `keyValue` | `keyValue(items, { columns?, keepEmpty? })`, or `keyValueOf(fields, data, options?)` from column definitions | Label and value pairs, as `PrintKeyValue` |
|
|
1008
|
+
| `totals` | `totals(rows)` | Label and value rows; `emphasis` makes one bold |
|
|
1009
|
+
| `metric` | `metric({ label, value, hint?, delta? })` | A figure, as `PrintMetric` |
|
|
1010
|
+
| `badge` | `badge(text, color?)` | A pill |
|
|
1011
|
+
| `header` | `header({ title, subtitle?, reference?, referencePrefix?, logo?, logoText?, qrDataUrl? })` | The title block, as `PrintHeader`; `referencePrefix` is printed before `reference`, `'#'` by default |
|
|
1012
|
+
| `image` | `image(src, { width?, height?, fit? })` | A PNG or JPEG, from a URL or a data URL |
|
|
1013
|
+
| `link` | `link(href, text)` | A link |
|
|
1014
|
+
| `spacer`, `divider`, `pageBreak` | `spacer(points)`, `divider()`, `pageBreak()` | Space, a rule, a new page |
|
|
1015
|
+
| `pageNumber` | `pageNumber({ format?, align? })` | "Page 2 of 5", where you put it (in a `footer`, say) |
|
|
1016
|
+
| `custom` | none: `{ type: 'custom', name, props? }` | Your own renderer; see [Custom nodes](#custom-nodes) |
|
|
1017
|
+
|
|
1018
|
+
A colour is a theme name (`'primary'`, `'muted'`, `'success'`, `'error'`, …)
|
|
1019
|
+
or a CSS colour (`'#0b7a4b'`); `theme.colors` overrides a name, and
|
|
1020
|
+
`defaultPdfTheme` holds the defaults. A `style` takes a JSON-safe subset of
|
|
1021
|
+
react-pdf's (margins, padding, sizes, `fontSize`, `fontWeight`, `color`,
|
|
1022
|
+
borders), in points.
|
|
1023
|
+
|
|
1024
|
+
**Amounts and dates stay data.** A value in a `table`, `keyValue`, `totals` or
|
|
1025
|
+
`metric` is a `PrintValue`: text, a number, `{ amount, currency }`,
|
|
1026
|
+
`{ date }` or `{ number, style: 'percent' }`. It is formatted only when the
|
|
1027
|
+
document is rendered, with the document's `locale` and `timeZone`, so a
|
|
1028
|
+
document built on a server in one locale prints in the reader's without
|
|
1029
|
+
being rebuilt:
|
|
1030
|
+
|
|
1031
|
+
```ts
|
|
1032
|
+
table({
|
|
1033
|
+
columns: [{ label: 'Item' }, { label: 'Due' }, { label: 'Amount', align: 'right' }],
|
|
1034
|
+
rows: [['Design', { date: '2026-04-01' }, { amount: 1234.5, currency: 'EUR' }]],
|
|
1035
|
+
});
|
|
1036
|
+
// locale 'fr-FR': 1 avr. 2026 · 1 234,50 € locale 'en-US': Apr 1, 2026 · €1,234.50
|
|
1037
|
+
```
|
|
1038
|
+
|
|
1039
|
+
### Tables from column definitions: `dataTable` and `keyValueOf`
|
|
1040
|
+
|
|
1041
|
+
`dataTable` builds a `table` node from the same
|
|
1042
|
+
[column definitions](#tables-from-columns-and-rows) `PrintDataTable` takes, and
|
|
1043
|
+
`keyValueOf` builds a `keyValue` node from one object through them, so a
|
|
1044
|
+
`definePrintColumns` list describes a table once for both a component and a
|
|
1045
|
+
model:
|
|
1046
|
+
|
|
1047
|
+
```ts
|
|
1048
|
+
import { dataTable, definePrintColumns, keyValueOf, page, pdfDocument } from '@nxgt/material/print';
|
|
1049
|
+
|
|
1050
|
+
type Line = { item: string; amount: number };
|
|
1051
|
+
|
|
1052
|
+
const columns = definePrintColumns<Line>([
|
|
1053
|
+
{ key: 'item', label: 'Item', flex: 3 },
|
|
1054
|
+
{ key: 'amount', label: 'Amount', format: 'amount', total: 'sum' },
|
|
1055
|
+
]);
|
|
1056
|
+
const lines: Line[] = [
|
|
1057
|
+
{ item: 'Design', amount: 1000 },
|
|
1058
|
+
{ item: 'Build', amount: 234.5 },
|
|
1059
|
+
];
|
|
1060
|
+
|
|
1061
|
+
const doc = pdfDocument({
|
|
1062
|
+
language: 'fr',
|
|
1063
|
+
pages: [
|
|
1064
|
+
page({
|
|
1065
|
+
body: [
|
|
1066
|
+
keyValueOf(columns, lines[0], { currency: 'EUR', columns: 2 }),
|
|
1067
|
+
dataTable(columns, lines, { currency: 'EUR' }),
|
|
1068
|
+
],
|
|
1069
|
+
}),
|
|
1070
|
+
],
|
|
1071
|
+
});
|
|
1072
|
+
// the table ends on a totals row: "Total 1 234,50 €"
|
|
1073
|
+
```
|
|
1074
|
+
|
|
1075
|
+
```ts
|
|
1076
|
+
function dataTable<T>(
|
|
1077
|
+
columns: PrintColumn<T>[],
|
|
1078
|
+
rows: T[],
|
|
1079
|
+
options?: DataTableOptions,
|
|
1080
|
+
): Extract<PdfNode, { type: 'table' }>;
|
|
1081
|
+
function keyValueOf<T>(
|
|
1082
|
+
fields: PrintColumn<T>[],
|
|
1083
|
+
data: T,
|
|
1084
|
+
options?: { currency?: string; columns?: 1 | 2; keepEmpty?: boolean },
|
|
1085
|
+
): Extract<PdfNode, { type: 'keyValue' }>;
|
|
1086
|
+
|
|
1087
|
+
type DataTableOptions = {
|
|
1088
|
+
currency?: string;
|
|
1089
|
+
totalLabel?: string;
|
|
1090
|
+
striped?: boolean;
|
|
1091
|
+
repeatHeader?: boolean;
|
|
1092
|
+
keepRowsWhole?: boolean;
|
|
1093
|
+
emptyText?: string;
|
|
1094
|
+
hideWhenEmpty?: boolean;
|
|
1095
|
+
};
|
|
1096
|
+
```
|
|
1097
|
+
|
|
1098
|
+
| Option | Type | Default | Effect |
|
|
1099
|
+
| --- | --- | --- | --- |
|
|
1100
|
+
| `currency` | `string` | — | ISO 4217 code for `format: 'amount'` columns that name none |
|
|
1101
|
+
| `totalLabel` | `string` | "Total", in the document's language | Text in the first cell of the totals row, when the first column has no `total` of its own |
|
|
1102
|
+
| `striped`, `repeatHeader`, `keepRowsWhole`, `emptyText`, `hideWhenEmpty` | | as the `table` node | Copied onto the node |
|
|
1103
|
+
|
|
1104
|
+
Without `totalLabel`, `dataTable` leaves the first footer cell empty and sets
|
|
1105
|
+
`labelTotals: true` on the node, so the word is chosen when the document is
|
|
1106
|
+
rendered, in its `language` (`material.print.table.total`, see
|
|
1107
|
+
[Translating built-in strings](#translating-built-in-strings-in-a-pdf)); a
|
|
1108
|
+
document built on a server in English still reads "Total" in the reader's
|
|
1109
|
+
language. With `totalLabel`, that text is written into the cell as it is:
|
|
1110
|
+
|
|
1111
|
+
```ts
|
|
1112
|
+
dataTable(columns, lines, { currency: 'EUR', totalLabel: 'Sum' }).footer;
|
|
1113
|
+
// [['Sum', { amount: 1234.5, currency: 'EUR' }]]
|
|
1114
|
+
```
|
|
1115
|
+
|
|
1116
|
+
There is no footer, and no `labelTotals`, when no column has a `total`. The
|
|
1117
|
+
cells are `PrintValue`s, so amounts and dates are still formatted at render
|
|
1118
|
+
time. `keyValueOf`'s `columns` is the node's layout (1 or 2 columns of pairs),
|
|
1119
|
+
not the column definitions. `DataTableOptions` is exported as a type.
|
|
1120
|
+
|
|
1121
|
+
### Templates: `definePdfDocument`
|
|
1122
|
+
|
|
1123
|
+
`definePdfDocument` types a template, a function from your data to a
|
|
1124
|
+
document, and stamps `version` on what it returns. Annotate the data
|
|
1125
|
+
parameter; extra parameters may take defaults (`language = 'en'`). The
|
|
1126
|
+
template's own signature is the type: do not pass it as a generic
|
|
1127
|
+
(`definePdfDocument<Invoice>(…)` does not compile). Left unannotated,
|
|
1128
|
+
the data parameter is `unknown`: reading a property of it fails to compile in
|
|
1129
|
+
the template (`'invoice' is of type 'unknown'`), so annotate it or narrow it
|
|
1130
|
+
first.
|
|
1131
|
+
|
|
1132
|
+
```ts
|
|
1133
|
+
import { definePdfDocument, header, heading, keyValue, page, table, text, totals } from '@nxgt/material/print';
|
|
1134
|
+
|
|
1135
|
+
type Invoice = {
|
|
1136
|
+
number: string;
|
|
1137
|
+
issuedAt: string;
|
|
1138
|
+
customer: string;
|
|
1139
|
+
currency: string;
|
|
1140
|
+
lines: { label: string; amount: number }[];
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
export const invoicePdf = definePdfDocument((invoice: Invoice, language = 'en') => ({
|
|
1144
|
+
meta: { title: `Invoice ${invoice.number}` },
|
|
1145
|
+
language,
|
|
1146
|
+
pages: [
|
|
1147
|
+
page({
|
|
1148
|
+
pageNumbers: { align: 'right' },
|
|
1149
|
+
header: [header({ title: 'Invoice', reference: invoice.number, logoText: 'ACME' })],
|
|
1150
|
+
footer: [text('ACME SAS · 12 Main Street', { variant: 'caption' })],
|
|
1151
|
+
body: [
|
|
1152
|
+
heading(invoice.customer, 2),
|
|
1153
|
+
keyValue([{ label: 'Issued', value: { date: invoice.issuedAt } }]),
|
|
1154
|
+
table({
|
|
1155
|
+
columns: [{ label: 'Item', flex: 3 }, { label: 'Amount', align: 'right' }],
|
|
1156
|
+
rows: invoice.lines.map((line) => [line.label, { amount: line.amount, currency: invoice.currency }]),
|
|
1157
|
+
}),
|
|
1158
|
+
totals([
|
|
1159
|
+
{
|
|
1160
|
+
label: 'Total',
|
|
1161
|
+
value: { amount: invoice.lines.reduce((sum, line) => sum + line.amount, 0), currency: invoice.currency },
|
|
1162
|
+
emphasis: true,
|
|
1163
|
+
},
|
|
1164
|
+
]),
|
|
1165
|
+
],
|
|
1166
|
+
}),
|
|
1167
|
+
],
|
|
1168
|
+
}));
|
|
1169
|
+
```
|
|
1170
|
+
|
|
1171
|
+
The same template feeds every function, and survives a JSON round trip:
|
|
1172
|
+
|
|
1173
|
+
```tsx
|
|
1174
|
+
// a server route
|
|
1175
|
+
return pdfResponse(invoicePdf(invoice, 'fr'), { fileName: invoice.number });
|
|
1176
|
+
|
|
1177
|
+
// or an API that sends the document, and a browser that renders it
|
|
1178
|
+
return Response.json(invoicePdf(invoice, 'fr'));
|
|
1179
|
+
const doc: PdfDocument = await (await fetch(`/api/invoices/${id}/document`)).json();
|
|
1180
|
+
await downloadPdf(doc, { fileName: id });
|
|
1181
|
+
```
|
|
1182
|
+
|
|
1183
|
+
`pdfDocument(options)` does the same for one document, and `page(options)`
|
|
1184
|
+
returns its argument, typed.
|
|
1185
|
+
|
|
1186
|
+
### Custom nodes
|
|
1187
|
+
|
|
1188
|
+
A block the model has no node for is a `custom` node: a name and JSON
|
|
1189
|
+
props, drawn by a renderer you pass as `custom` to whichever function renders
|
|
1190
|
+
the document. The renderer returns react-pdf primitives, and gets the
|
|
1191
|
+
document's formatter and theme:
|
|
1192
|
+
|
|
1193
|
+
```tsx
|
|
1194
|
+
import { Text, View } from '@react-pdf/renderer';
|
|
1195
|
+
import { page, pdfDocument, pdfResponse, type PdfRenderInputOptions } from '@nxgt/material/print';
|
|
1196
|
+
|
|
1197
|
+
const custom: PdfRenderInputOptions['custom'] = {
|
|
1198
|
+
signature: (props, { format, theme }) => (
|
|
1199
|
+
<View style={{ marginTop: 32, borderTopWidth: 1, borderColor: theme.colors.border, width: 180 }}>
|
|
1200
|
+
<Text>{String(props.name)}</Text>
|
|
1201
|
+
<Text style={{ color: theme.colors.muted }}>{format({ date: String(props.date) })}</Text>
|
|
1202
|
+
</View>
|
|
1203
|
+
),
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
const doc = pdfDocument({
|
|
1207
|
+
pages: [page({ body: [{ type: 'custom', name: 'signature', props: { name: 'Jane Doe', date: '2026-03-01' } }] })],
|
|
1208
|
+
});
|
|
1209
|
+
|
|
1210
|
+
return pdfResponse(doc, { custom });
|
|
1211
|
+
```
|
|
1212
|
+
|
|
1213
|
+
The renderer's second argument also holds `language`, `locale`, `timeZone`,
|
|
1214
|
+
`t` (the built-in strings) and `renderNodes(nodes)` for child nodes. Keep the
|
|
1215
|
+
`custom` object stable (a module constant, or `useMemo`) when you pass it to
|
|
1216
|
+
`usePdfFile`, which renders again when it changes.
|
|
1217
|
+
|
|
1218
|
+
### What a model rejects
|
|
1219
|
+
|
|
1220
|
+
Rendering a model throws, before any page is drawn, on:
|
|
1221
|
+
|
|
1222
|
+
| Error | Why |
|
|
1223
|
+
| --- | --- |
|
|
1224
|
+
| ``[pdf] No renderer for the custom node "signature": pass it in `custom` when rendering.`` | A `custom` node whose `name` is not in the `custom` option |
|
|
1225
|
+
| `[pdf] Unknown node type "chart".` | A `type` this version does not know: a typo in hand-written JSON, or a document from a newer version |
|
|
1226
|
+
| `[pdf] Unsupported document version 2: this version renders version 1.` | `version` is not `1` |
|
|
1227
|
+
|
|
1228
|
+
## Why it is a separate entry
|
|
1229
|
+
|
|
1230
|
+
`@react-pdf/renderer` depends on `pdfkit`, and pdfkit loads its fourteen
|
|
1231
|
+
standard fonts at runtime with
|
|
1232
|
+
`createRequire(import.meta.url)('#standard-fonts/<name>')`. That specifier is a
|
|
1233
|
+
package `imports` entry private to pdfkit, and it is a runtime call, so no
|
|
1234
|
+
bundler resolves it. Bundle pdfkit into a server and the literal survives into
|
|
1235
|
+
the artifact, where `createRequire` is rooted at your build directory. The
|
|
1236
|
+
server then throws on **every request**, `/health` included, and a container
|
|
1237
|
+
healthcheck never goes healthy:
|
|
1238
|
+
|
|
1239
|
+
```text
|
|
1240
|
+
error: Cannot find module '#standard-fonts/Helvetica' from '…/build/server/index.js'
|
|
1241
|
+
```
|
|
1242
|
+
|
|
1243
|
+
Up to 1.x, `import '@nxgt/material'` alone pulled pdfkit into every consumer.
|
|
1244
|
+
Since 2.0.0 only `@nxgt/material/print` reaches it, and the package's own build
|
|
1245
|
+
fails if any other entry does. An app that never imports `/print` cannot hit
|
|
1246
|
+
this.
|
|
1247
|
+
|
|
1248
|
+
## Bundling print into an SSR server
|
|
1249
|
+
|
|
1250
|
+
If your server imports `@nxgt/material/print` and you bundle this package into
|
|
1251
|
+
it (`ssr.noExternal`), choose by one fact: does the runtime image keep a
|
|
1252
|
+
`node_modules`?
|
|
1253
|
+
|
|
1254
|
+
| Runtime image | What to do |
|
|
1255
|
+
| --- | --- |
|
|
1256
|
+
| Keeps `node_modules` | Leave the library external: `@nxgt/material` **out** of `ssr.noExternal`, and `--external @nxgt/material` in the bundle step. pdfkit then loads from `node_modules` as designed, and ~12 MB of it stays out of the artifact |
|
|
1257
|
+
| Ships the bundle alone | Add `pdfkitStandardFonts()` from `@nxgt/material/vite`, **first** in `plugins`. It rewrites those calls into static imports, so the font data is inlined and the artifact is self-contained |
|
|
1258
|
+
|
|
1259
|
+
```ts
|
|
1260
|
+
// vite.config.ts
|
|
1261
|
+
import { reactRouter } from '@react-router/dev/vite';
|
|
1262
|
+
import { pdfkitStandardFonts } from '@nxgt/material/vite';
|
|
1263
|
+
import { defineConfig } from 'vite';
|
|
1264
|
+
|
|
1265
|
+
export default defineConfig({
|
|
1266
|
+
plugins: [pdfkitStandardFonts(), reactRouter()],
|
|
1267
|
+
ssr: { noExternal: ['@nxgt/material'] },
|
|
1268
|
+
});
|
|
1269
|
+
```
|
|
1270
|
+
|
|
1271
|
+
```ts
|
|
1272
|
+
function pdfkitStandardFonts(): import('vite').Plugin; // enforce: 'pre'
|
|
1273
|
+
```
|
|
1274
|
+
|
|
1275
|
+
- The plugin only touches modules whose id contains `pdfkit`. It **fails the
|
|
1276
|
+
build** if a `#standard-fonts/` reference survives the rewrite, so a pdfkit
|
|
1277
|
+
release that changes the shape of those calls breaks the build instead of
|
|
1278
|
+
the first request.
|
|
1279
|
+
- `@nxgt/material/vite` has no runtime dependency on `vite` (it only imports a
|
|
1280
|
+
type), so it is safe in any config file.
|
|
1281
|
+
|
|
1282
|
+
Two changes look like fixes and are not:
|
|
1283
|
+
|
|
1284
|
+
- **`resolve.alias`** from `#standard-fonts/` to `pdfkit/standard-fonts/`. An
|
|
1285
|
+
alias rewrites specifiers the resolver is asked about. This one is a string
|
|
1286
|
+
handed to `createRequire` at runtime, which the resolver never sees.
|
|
1287
|
+
- **`--external pdfkit`**. pdfkit is a transitive dependency, so the runtime
|
|
1288
|
+
cannot resolve it from your app's directory:
|
|
1289
|
+
`Cannot find package 'pdfkit'`.
|
|
1290
|
+
|
|
1291
|
+
More on what a server bundle evaluates in [SSR](ssr.md).
|