@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,2149 @@
|
|
|
1
|
+
# Troubleshooting
|
|
2
|
+
|
|
3
|
+
Each entry has the message you see (or the symptom, when nothing is printed) as
|
|
4
|
+
its heading, then when it appears, why, and the fix. Search this page for the
|
|
5
|
+
words in your error.
|
|
6
|
+
|
|
7
|
+
## Index
|
|
8
|
+
|
|
9
|
+
**Install**
|
|
10
|
+
|
|
11
|
+
- [`Cannot find package '@react-pdf/renderer'`](#cannot-find-package-react-pdfrenderer)
|
|
12
|
+
- [`Conflicting peer dependency: @react-pdf/renderer` (`ERESOLVE`)](#conflicting-peer-dependency-react-pdfrenderer)
|
|
13
|
+
- [`Cannot find package 'leaflet'`](#cannot-find-package-leaflet)
|
|
14
|
+
- [`Invalid hook call. Hooks can only be called inside of the body of a function component`](#invalid-hook-call-hooks-can-only-be-called-inside-of-the-body-of-a-function-component)
|
|
15
|
+
- [`is missing the following properties from type 'Pick<any, "variant" | "color">'`](#is-missing-the-following-properties-from-type-pickany-variant--color)
|
|
16
|
+
|
|
17
|
+
**Styles & assets**
|
|
18
|
+
|
|
19
|
+
- [Components render unstyled, with no error](#components-render-unstyled-with-no-error)
|
|
20
|
+
- [`<Icon>` renders nothing](#icon-renders-nothing)
|
|
21
|
+
|
|
22
|
+
**SSR & build**
|
|
23
|
+
|
|
24
|
+
- [`ReferenceError: window is not defined`](#referenceerror-window-is-not-defined)
|
|
25
|
+
- [`ReferenceError: DOMMatrix is not defined`](#referenceerror-dommatrix-is-not-defined)
|
|
26
|
+
- [`ReferenceError: document is not defined`](#referenceerror-document-is-not-defined)
|
|
27
|
+
- [`Hydration failed because the server rendered HTML didn't match the client`](#hydration-failed-because-the-server-rendered-html-didnt-match-the-client)
|
|
28
|
+
- [`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties` (a `TimeField`)](#a-tree-hydrated-but-some-attributes-of-the-server-rendered-html-didnt-match-the-client-properties)
|
|
29
|
+
- [`` `useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches. ``](#usemedia-when-server-side-rendering-defaultstate-should-be-defined-to-prevent-a-hydration-mismatches)
|
|
30
|
+
- [`useMatches must be used within a data router`](#usematches-must-be-used-within-a-data-router)
|
|
31
|
+
|
|
32
|
+
**Printing**
|
|
33
|
+
|
|
34
|
+
- [`Cannot find module '#standard-fonts/Helvetica'`](#cannot-find-module-standard-fontshelvetica)
|
|
35
|
+
- [`still references '#standard-fonts/' after the transform`](#still-references-standard-fonts-after-the-transform)
|
|
36
|
+
- [`Module '"@nxgt/material"' has no exported member 'PrintHeader'`](#module-nxgtmaterial-has-no-exported-member-printheader)
|
|
37
|
+
- [`Module '"@nxgt/material"' has no exported member 'formatAmount'`](#module-nxgtmaterial-has-no-exported-member-formatamount)
|
|
38
|
+
- [An amount in yen shows no decimals, or one in dinars shows three](#an-amount-in-yen-shows-no-decimals-or-one-in-dinars-shows-three)
|
|
39
|
+
- [A date shows the day before](#a-date-shows-the-day-before)
|
|
40
|
+
- [`Invalid hook call` in a `PrintDocument` `footer` function](#invalid-hook-call-in-a-printdocument-footer-function)
|
|
41
|
+
- [Body text runs under the footer or the page number](#body-text-runs-under-the-footer-or-the-page-number)
|
|
42
|
+
- [The `LOGO` box in `PrintHeader` is gone after upgrading](#the-logo-box-in-printheader-is-gone-after-upgrading)
|
|
43
|
+
- [French amounts print with a slash, as in `1/234,50`](#french-amounts-print-with-a-slash-as-in-123450)
|
|
44
|
+
- [An amount column prints `—` instead of the amount](#an-amount-column-prints--instead-of-the-amount)
|
|
45
|
+
- [The table header does not repeat on the next page](#the-table-header-does-not-repeat-on-the-next-page)
|
|
46
|
+
- [The PDF tab does not open](#the-pdf-tab-does-not-open)
|
|
47
|
+
- [`renderToBuffer is a Node specific API`](#rendertobuffer-is-a-node-specific-api)
|
|
48
|
+
- [`renderToStream is a Node specific API`](#rendertostream-is-a-node-specific-api)
|
|
49
|
+
- [PDF rendering fails on an edge runtime](#pdf-rendering-fails-on-an-edge-runtime)
|
|
50
|
+
- [`usePdfFile` renders on every render](#usepdffile-renders-on-every-render)
|
|
51
|
+
- [`[pdf] No renderer for the custom node`](#pdf-no-renderer-for-the-custom-node)
|
|
52
|
+
- [`[pdf] Unknown node type`](#pdf-unknown-node-type)
|
|
53
|
+
- [`[pdf] Unsupported document version`](#pdf-unsupported-document-version)
|
|
54
|
+
- [`'invoice' is of type 'unknown'` in a `definePdfDocument` template](#invoice-is-of-type-unknown-in-a-definepdfdocument-template)
|
|
55
|
+
|
|
56
|
+
**Maps**
|
|
57
|
+
|
|
58
|
+
- [The map has no controls, or its tiles are scattered](#the-map-has-no-controls-or-its-tiles-are-scattered)
|
|
59
|
+
- [The browser asks for location permission when a map renders](#the-browser-asks-for-location-permission-when-a-map-renders)
|
|
60
|
+
- [The map shows two zoom controls](#the-map-shows-two-zoom-controls)
|
|
61
|
+
|
|
62
|
+
**i18n**
|
|
63
|
+
|
|
64
|
+
- [`useI18nContext must be used within an I18nProvider`](#usei18ncontext-must-be-used-within-an-i18nprovider)
|
|
65
|
+
- [`[@nxgt/material] i18n resource override for language`](#nxgtmaterial-i18n-resource-override-for-language)
|
|
66
|
+
- [`[@nxgt/material] Unsupported language`](#nxgtmaterial-unsupported-language)
|
|
67
|
+
- [`Hydration failed because the server rendered text didn't match the client`](#hydration-failed-because-the-server-rendered-text-didnt-match-the-client)
|
|
68
|
+
- [A translation key is rendered instead of its text](#a-translation-key-is-rendered-instead-of-its-text)
|
|
69
|
+
- [A label shows `{count}` or another placeholder](#a-label-shows-count-or-another-placeholder)
|
|
70
|
+
- [Zod messages ignore the language, or your `material.zod.*` strings](#zod-messages-ignore-the-language-or-your-materialzod-strings)
|
|
71
|
+
|
|
72
|
+
**Runtime**
|
|
73
|
+
|
|
74
|
+
- [`must be used within` / `must be used inside` (context providers)](#must-be-used-within--must-be-used-inside)
|
|
75
|
+
- [`Clipboard is not available`](#clipboard-is-not-available)
|
|
76
|
+
- [`Upload failed with status 403`](#upload-failed-with-status-403)
|
|
77
|
+
- [`Network error during upload`](#network-error-during-upload)
|
|
78
|
+
- [`Maximum number of presets (20) reached`](#maximum-number-of-presets-20-reached)
|
|
79
|
+
- [`Failed to execute 'exitFullscreen' on 'Document': Document not active`](#failed-to-execute-exitfullscreen-on-document-document-not-active)
|
|
80
|
+
- [A `SwitchFormField` shows no validation message](#a-switchformfield-shows-no-validation-message)
|
|
81
|
+
- [A `TimeFormField` shows its error on a desktop but not on a phone](#a-timeformfield-shows-its-error-on-a-desktop-but-not-on-a-phone)
|
|
82
|
+
- [`touchedFields` stays empty after leaving a field, or `mode: 'onBlur'` never validates](#touchedfields-stays-empty-after-leaving-a-field-or-mode-onblur-never-validates)
|
|
83
|
+
- [`TypeError: values.map is not a function` (a `SliderFormField`)](#typeerror-valuesmap-is-not-a-function)
|
|
84
|
+
- [An end-to-end test no longer finds `aria-expanded` on a `ResponsiveButton`](#an-end-to-end-test-no-longer-finds-aria-expanded-on-a-responsivebutton)
|
|
85
|
+
- [A multi-step form reopens at a later step](#a-multi-step-form-reopens-at-a-later-step)
|
|
86
|
+
- [An end-to-end test no longer finds a `LinkButton` by the `button` role](#an-end-to-end-test-no-longer-finds-a-linkbutton-by-the-button-role)
|
|
87
|
+
- [A test no longer finds a date or time picker by the `button` role, or a slider thumb by the exact name `Minimum`](#a-test-no-longer-finds-a-date-or-time-picker-by-the-button-role-or-a-slider-thumb-by-the-exact-name-minimum)
|
|
88
|
+
- [An end-to-end test no longer finds a required field by a name ending in `*`](#an-end-to-end-test-no-longer-finds-a-required-field-by-a-name-ending-in-)
|
|
89
|
+
- [A test no longer finds a chip's remove button by the exact name `Remove`](#a-test-no-longer-finds-a-chips-remove-button-by-the-exact-name-remove)
|
|
90
|
+
- [A test no longer finds a pagination, breadcrumb or other built-in label by its English name](#a-test-no-longer-finds-a-pagination-breadcrumb-or-other-built-in-label-by-its-english-name)
|
|
91
|
+
- [A test no longer finds an icon badge by role `button`, or an `Icon` named "Icon {name}" inside a button](#a-test-no-longer-finds-an-icon-badge-by-role-button-or-an-icon-named-icon-name-inside-a-button)
|
|
92
|
+
- [`An invalid form control with name='…' is not focusable` (an `UploadField`)](#an-invalid-form-control-with-name-is-not-focusable)
|
|
93
|
+
- [A `DateField` or `DateRangeField` with `disabled` still opens](#a-datefield-or-daterangefield-with-disabled-still-opens)
|
|
94
|
+
- [An `id`, `aria-describedby` or `data-testid` on a `DateField`, `DateRangeField` or `TimeField` is not on the trigger](#an-id-aria-describedby-or-data-testid-on-a-datefield-daterangefield-or-timefield-is-not-on-the-trigger)
|
|
95
|
+
- [A test no longer finds the label or helper text inside a date or time picker's trigger](#a-test-no-longer-finds-the-label-or-helper-text-inside-a-date-or-time-pickers-trigger)
|
|
96
|
+
- [A test no longer finds a `DurationField` input by the field's label, or a `Slider`'s `aria-label` on its root](#a-test-no-longer-finds-a-durationfield-input-by-the-fields-label-or-a-sliders-aria-label-on-its-root)
|
|
97
|
+
- [A test no longer finds `aria-invalid` on an upload field's group or drop zone](#a-test-no-longer-finds-aria-invalid-on-an-upload-fields-group-or-drop-zone)
|
|
98
|
+
- [A test no longer finds `aria-invalid` on a `CheckboxGroup`](#a-test-no-longer-finds-aria-invalid-on-a-checkboxgroup)
|
|
99
|
+
- [A test no longer finds `aria-invalid` on a `Switch` row or an `Autocomplete`'s chips](#a-test-no-longer-finds-aria-invalid-on-a-switch-row-or-an-autocompletes-chips)
|
|
100
|
+
- [A test no longer finds the breadcrumb's home button](#a-test-no-longer-finds-the-breadcrumbs-home-button)
|
|
101
|
+
- [`#<name>` no longer finds a `SwitchFormField` or `CheckboxFormField`](#name-no-longer-finds-a-switchformfield-or-checkboxformfield)
|
|
102
|
+
- [`#<name>` or `#<option value>` no longer finds a radio or checkbox group or one of its options](#name-or-option-value-no-longer-finds-a-radio-or-checkbox-group-or-one-of-its-options)
|
|
103
|
+
- [An empty `UploadField` or `TimeField` is no longer tinted](#an-empty-uploadfield-or-timefield-is-no-longer-tinted)
|
|
104
|
+
- [`ConfirmDialog` buttons stay in English](#confirmdialog-buttons-stay-in-english)
|
|
105
|
+
- [A `ConfirmationDialog` opened with `open` no longer closes](#a-confirmationdialog-opened-with-open-no-longer-closes)
|
|
106
|
+
- [A menu item selected by `[data-variant=destructive]` stops matching](#a-menu-item-selected-by-data-variantdestructive-stops-matching)
|
|
107
|
+
- [Keys typed right after opening a dialog, sheet or drawer land inside it](#keys-typed-right-after-opening-a-dialog-sheet-or-drawer-land-inside-it)
|
|
108
|
+
|
|
109
|
+
**PDF reader**
|
|
110
|
+
|
|
111
|
+
- [`'PdfViewer' is deprecated`](#pdfviewer-is-deprecated)
|
|
112
|
+
- [Download saves the PDF as `document.pdf`](#download-saves-the-pdf-as-documentpdf)
|
|
113
|
+
- [Download does nothing, or opens the PDF instead of saving it](#download-does-nothing-or-opens-the-pdf-instead-of-saving-it)
|
|
114
|
+
- [`SecurityError: Blocked a frame with origin` when printing](#securityerror-blocked-a-frame-with-origin-when-printing)
|
|
115
|
+
- [A password-protected or broken PDF leaves the reader blank](#a-password-protected-or-broken-pdf-leaves-the-reader-blank)
|
|
116
|
+
- [Escape closes the whole dialog around a `PdfReader`](#escape-closes-the-whole-dialog-around-a-pdfreader)
|
|
117
|
+
- [`onPageChange` reports page 0 or a page past the end](#onpagechange-reports-page-0-or-a-page-past-the-end)
|
|
118
|
+
- [Pages are cut off, or too small, in fit width or fit page](#pages-are-cut-off-or-too-small-in-fit-width-or-fit-page)
|
|
119
|
+
- [Search misses matches, or counts 0/0 until you press Enter](#search-misses-matches-or-counts-00-until-you-press-enter)
|
|
120
|
+
- [`initialPage` is ignored, or the page number does not follow scrolling](#initialpage-is-ignored-or-the-page-number-does-not-follow-scrolling)
|
|
121
|
+
- [`Type 'Blob' is not assignable to type 'string | File | null'` on `PdfReader`](#type-blob-is-not-assignable-to-type-string--file--null-on-pdfreader)
|
|
122
|
+
- [`PdfReader cannot open [object …]`](#pdfreader-cannot-open-object-)
|
|
123
|
+
- [`The PDF file is empty, i.e. its size is zero bytes.`](#the-pdf-file-is-empty-ie-its-size-is-zero-bytes)
|
|
124
|
+
- [The PDF reloads, and goes back to its first page, on every render](#the-pdf-reloads-and-goes-back-to-its-first-page-on-every-render)
|
|
125
|
+
- [The PDF goes back to its first page when the access token is refreshed](#the-pdf-goes-back-to-its-first-page-when-the-access-token-is-refreshed)
|
|
126
|
+
- [`An internal link leading to page 3 was clicked, but neither <Document> was provided with onItemClick…`](#an-internal-link-leading-to-page-3-was-clicked-but-neither-document-was-provided-with-onitemclick)
|
|
127
|
+
- [A `DropdownMenu` opened in fullscreen does not show](#a-dropdownmenu-opened-in-fullscreen-does-not-show)
|
|
128
|
+
- [A tooltip does not show in fullscreen](#a-tooltip-does-not-show-in-fullscreen)
|
|
129
|
+
- [A PDF page shows sideways in `PdfReader`](#a-pdf-page-shows-sideways-in-pdfreader)
|
|
130
|
+
- [The zoom changes by itself while a long PDF is open](#the-zoom-changes-by-itself-while-a-long-pdf-is-open)
|
|
131
|
+
- [A link in a PDF replaces the page the reader is on](#a-link-in-a-pdf-replaces-the-page-the-reader-is-on)
|
|
132
|
+
- [`onPageChange` is not called when `initialPage` is past the end, or after a new file](#onpagechange-is-not-called-when-initialpage-is-past-the-end-or-after-a-new-file)
|
|
133
|
+
- [Reporting a bug](#reporting-a-bug)
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Install
|
|
138
|
+
|
|
139
|
+
### `Cannot find package '@react-pdf/renderer'`
|
|
140
|
+
|
|
141
|
+
**When:** at build or at the first import of `@nxgt/material/print`, after
|
|
142
|
+
upgrading to 2.0.0. Bun prints `Cannot find module`, Vite `Failed to resolve
|
|
143
|
+
import`, for the same cause.
|
|
144
|
+
**Why:** since 2.0.0, `@react-pdf/renderer` and `react-pdf-tailwind` are
|
|
145
|
+
optional peers, so an app that does not print never installs them. An app that
|
|
146
|
+
does print has to install them itself.
|
|
147
|
+
**Fix:**
|
|
148
|
+
|
|
149
|
+
```sh
|
|
150
|
+
bun add @react-pdf/renderer@^4.9 react-pdf-tailwind
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### `Conflicting peer dependency: @react-pdf/renderer`
|
|
154
|
+
|
|
155
|
+
**When:** installing or upgrading to `@nxgt/material` 2.2.0 or later in an app
|
|
156
|
+
that already has `@react-pdf/renderer` older than 4.9. npm stops with
|
|
157
|
+
`ERESOLVE could not resolve`; Bun warns
|
|
158
|
+
`incorrect peer dependency "@react-pdf/renderer@4.5.1"`.
|
|
159
|
+
**Why:** 2.2.0 raised the optional peer's floor from `^4.5.1` to `^4.9`, and
|
|
160
|
+
the copy in your lockfile no longer satisfies it.
|
|
161
|
+
**Fix:**
|
|
162
|
+
|
|
163
|
+
```sh
|
|
164
|
+
bun add @react-pdf/renderer@^4.9
|
|
165
|
+
# or: npm i @react-pdf/renderer@^4.9
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
`--legacy-peer-deps` silences the error but keeps a renderer the print
|
|
169
|
+
entry is not tested against.
|
|
170
|
+
|
|
171
|
+
### `Cannot find package 'leaflet'`
|
|
172
|
+
|
|
173
|
+
**When:** at build or at the first import of `@nxgt/material/map`. The missing
|
|
174
|
+
name may also be `react-leaflet`, `@react-leaflet/core`,
|
|
175
|
+
`@adamscybot/react-leaflet-component-marker` or `react-geolocated`.
|
|
176
|
+
**Why:** all five are optional peers, so an app that renders no map never has
|
|
177
|
+
leaflet in its tree. An app that uses `./map` installs them.
|
|
178
|
+
**Fix:**
|
|
179
|
+
|
|
180
|
+
```sh
|
|
181
|
+
bun add leaflet react-leaflet @react-leaflet/core \
|
|
182
|
+
@adamscybot/react-leaflet-component-marker react-geolocated
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### `Invalid hook call. Hooks can only be called inside of the body of a function component`
|
|
186
|
+
|
|
187
|
+
**When:** on the first render of any component from this package, often in an
|
|
188
|
+
app whose own components work fine.
|
|
189
|
+
**Why:** the app and this package resolve **two copies** of `react` (or of
|
|
190
|
+
`react-dom`, `react-redux`, `react-hook-form`). They are peers because they
|
|
191
|
+
must be one instance: a hook from one copy cannot run inside a renderer from
|
|
192
|
+
the other. It also happens with two copies of `@nxgt/material` itself, for
|
|
193
|
+
example when another library you depend on pins an older major.
|
|
194
|
+
**Fix:**
|
|
195
|
+
|
|
196
|
+
```sh
|
|
197
|
+
bun pm ls --all | grep -E ' (react|react-dom|@nxgt/material)@'
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
```ts
|
|
201
|
+
// vite.config.ts — a linked or workspace copy is the usual culprit
|
|
202
|
+
export default defineConfig({
|
|
203
|
+
resolve: { dedupe: ['react', 'react-dom', 'react-redux', 'react-hook-form'] },
|
|
204
|
+
});
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
Every name must appear once in the `ls` output. Install the required peers in
|
|
208
|
+
the app itself (see [Getting started](getting-started.md#install)) so the package resolves the
|
|
209
|
+
app's copy.
|
|
210
|
+
|
|
211
|
+
### `is missing the following properties from type 'Pick<any, "variant" | "color">'`
|
|
212
|
+
|
|
213
|
+
**When:** type-checking against a **locally packed or linked** build (`bun pm
|
|
214
|
+
pack`, `bun link`, a `file:` dependency), typically on `ConfirmationDialog`,
|
|
215
|
+
and props such as `children` or `title` accept anything.
|
|
216
|
+
**Why:** that build's declaration files import
|
|
217
|
+
`'../../../node_modules/react'` instead of `'react'`. The path exists in the
|
|
218
|
+
library's checkout, not in your install, so TypeScript types `ReactNode` and
|
|
219
|
+
`ComponentProps` as `any`, and a `Pick<any, …>` makes every picked key
|
|
220
|
+
required. Until this was fixed, a `build-storybook` in the library's checkout rewrote
|
|
221
|
+
`dist/lib` this way. Versions published to npm were built cleanly and do not
|
|
222
|
+
have it.
|
|
223
|
+
**Fix:** rebuild the library, then pack it again. The build and `bun pm pack`
|
|
224
|
+
now fail if any declaration file imports through `node_modules/`:
|
|
225
|
+
|
|
226
|
+
```sh
|
|
227
|
+
bun run build && bun run verify:dts && bun pm pack
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
## Styles & assets
|
|
231
|
+
|
|
232
|
+
### Components render unstyled, with no error
|
|
233
|
+
|
|
234
|
+
**When:** on the first page load. Components have their structure but no
|
|
235
|
+
spacing, colour or layout, and the console is clean.
|
|
236
|
+
**Why:** Tailwind v4 does not scan `node_modules`. Unless you point it at this
|
|
237
|
+
package, it never sees the utilities the components use, so it does not
|
|
238
|
+
generate them. Nothing warns about it.
|
|
239
|
+
**Fix:**
|
|
240
|
+
|
|
241
|
+
```css
|
|
242
|
+
/* the app's root stylesheet, in this order */
|
|
243
|
+
@import "tailwindcss";
|
|
244
|
+
@import "@nxgt/material/styles.css";
|
|
245
|
+
@source "../node_modules/@nxgt/material/";
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
Point `@source` at `node_modules` relative to that stylesheet. In a Tailwind
|
|
249
|
+
app, do not also import the compiled `dist/material.css`. That file is for apps
|
|
250
|
+
without Tailwind.
|
|
251
|
+
|
|
252
|
+
Before 2.2.0, `PdfReader`'s text and annotation layers (selection, search
|
|
253
|
+
highlights, links, notes) stayed unstyled in a Tailwind app even with this
|
|
254
|
+
setup: their CSS reached only `dist/material.css`. `styles.css` imports it now;
|
|
255
|
+
on an older version, add `@import "react-pdf/dist/Page/TextLayer.css";` and
|
|
256
|
+
`@import "react-pdf/dist/Page/AnnotationLayer.css";` after it.
|
|
257
|
+
|
|
258
|
+
Before 2.2.0 too, `Markdown` maths, `RichTextEditor` code blocks,
|
|
259
|
+
`ImageCropper`, `CodeBlock`, and `ButtonGroup`, `BottomAppBar`,
|
|
260
|
+
`ContactItem`, `OpeningHoursItem`, `AttributeForm` and `AttributeValuesForm`
|
|
261
|
+
were unstyled or unlaid-out in a Tailwind app, for the same reason. For the
|
|
262
|
+
first three, on an older version, add the ones you use after it:
|
|
263
|
+
|
|
264
|
+
```css
|
|
265
|
+
@import "katex/dist/katex.min.css";
|
|
266
|
+
@import "highlight.js/styles/github-dark.css";
|
|
267
|
+
@import "react-easy-crop/react-easy-crop.css";
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
`CodeBlock`'s theme and the other components' CSS have no file you can
|
|
271
|
+
import before 2.2.0: upgrade.
|
|
272
|
+
|
|
273
|
+
### `<Icon>` renders nothing
|
|
274
|
+
|
|
275
|
+
**When:** every `Icon` (and anything that uses one) is blank. The network tab
|
|
276
|
+
shows a `404` for `/assets/icons/sprites/<style>.svg`.
|
|
277
|
+
**Why:** `Icon` references a sprite sheet at a root-relative URL on your own
|
|
278
|
+
origin. This package does not ship the Font Awesome Pro sheets, because the
|
|
279
|
+
licence does not allow redistributing them. A missing sheet renders nothing,
|
|
280
|
+
with no fallback.
|
|
281
|
+
**Fix:**
|
|
282
|
+
|
|
283
|
+
```text
|
|
284
|
+
public/assets/icons/sprites/duotone.svg ← <Icon name="atom" /> (type defaults to duotone)
|
|
285
|
+
public/assets/icons/sprites/solid.svg ← <Icon name="atom" type="solid" />
|
|
286
|
+
public/assets/icons/sprites/sharp-solid.svg ← <Icon name="atom" family="sharp" type="solid" />
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
Serve one sheet per style you use, from your own Font Awesome Pro kit.
|
|
290
|
+
|
|
291
|
+
## SSR & build
|
|
292
|
+
|
|
293
|
+
### `ReferenceError: window is not defined`
|
|
294
|
+
|
|
295
|
+
**When:** in the server log of an SSR app, at boot or on the first request
|
|
296
|
+
that renders a map. The page is blank.
|
|
297
|
+
**Why:** `leaflet` reads `window` while it is being *evaluated*, so importing
|
|
298
|
+
it in node or bun throws before any of this package's code runs.
|
|
299
|
+
`@nxgt/material/map` is the only entry that reaches leaflet. It cannot be
|
|
300
|
+
imported on a server, by design.
|
|
301
|
+
**Fix:**
|
|
302
|
+
|
|
303
|
+
```tsx
|
|
304
|
+
// location-picker.client.tsx
|
|
305
|
+
import '@nxgt/material/map.css';
|
|
306
|
+
import { type ComponentProps, lazy } from 'react';
|
|
307
|
+
import { clientOnly } from '@nxgt/material/lib';
|
|
308
|
+
|
|
309
|
+
const LocationFormField = lazy(() =>
|
|
310
|
+
import('@nxgt/material/map').then((m) => ({ default: m.LocationFormField })),
|
|
311
|
+
);
|
|
312
|
+
|
|
313
|
+
export const LocationPicker = clientOnly(
|
|
314
|
+
(props: ComponentProps<typeof LocationFormField>) => <LocationFormField {...props} />,
|
|
315
|
+
);
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
The dynamic `import()` keeps leaflet out of the server's module graph, and
|
|
319
|
+
`clientOnly` renders nothing until the component has mounted in the browser.
|
|
320
|
+
A `typeof window` guard around the JSX is not enough, because the *import* is
|
|
321
|
+
what throws. An SPA has no server pass and needs none of this.
|
|
322
|
+
|
|
323
|
+
### `ReferenceError: DOMMatrix is not defined`
|
|
324
|
+
|
|
325
|
+
**When:** at server boot in an SSR app, after adding `react-pdf` or
|
|
326
|
+
`pdfjs-dist` yourself.
|
|
327
|
+
**Why:** `pdfjs-dist` runs `new DOMMatrix()` when it is imported, and a server
|
|
328
|
+
has no `DOMMatrix`. This package's own `PdfReader` already loads
|
|
329
|
+
it lazily. You meet this error when your own code imports it statically.
|
|
330
|
+
**Fix:**
|
|
331
|
+
|
|
332
|
+
```tsx
|
|
333
|
+
import { lazy } from 'react';
|
|
334
|
+
import { clientOnly } from '@nxgt/material/lib';
|
|
335
|
+
|
|
336
|
+
const Document = lazy(() => import('react-pdf').then((m) => ({ default: m.Document })));
|
|
337
|
+
|
|
338
|
+
export const Preview = clientOnly(({ file }: { file: string }) => <Document file={file} />);
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
Or render `PdfReader` from `@nxgt/material/components`, which already does this.
|
|
342
|
+
|
|
343
|
+
### `ReferenceError: document is not defined`
|
|
344
|
+
|
|
345
|
+
**When:** at server boot, from any `import '@nxgt/material'`, on versions
|
|
346
|
+
before 1.16.5.
|
|
347
|
+
**Why:** two dependencies of the rich-text editors were bundled with their
|
|
348
|
+
browser builds, which touch `document` and `DOMParser` when they are imported.
|
|
349
|
+
Fixed in 1.16.5, and `bun run build` in this package now fails if any entry
|
|
350
|
+
throws without a DOM.
|
|
351
|
+
**Fix:**
|
|
352
|
+
|
|
353
|
+
```sh
|
|
354
|
+
bun add @nxgt/material@latest
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
If it persists on a current version, the stack names the dependency. Please
|
|
358
|
+
report it (see [Reporting a bug](#reporting-a-bug)).
|
|
359
|
+
|
|
360
|
+
### `Hydration failed because the server rendered HTML didn't match the client`
|
|
361
|
+
|
|
362
|
+
**When:** in the browser console of an SSR app, on every page, with nothing
|
|
363
|
+
visibly broken. React then discards the server HTML and renders the page again
|
|
364
|
+
on the client, so a click that lands before that is lost.
|
|
365
|
+
**Why:** React 19 hoists `<title>` into the document head. An `<svg>` labelled
|
|
366
|
+
with a `<title>` child is emitted as `<title></title>` by the server but
|
|
367
|
+
rendered inline by the client. This package's `Icon`, `Spinner` and
|
|
368
|
+
`CircularProgress` do not do this. Your own SVGs might.
|
|
369
|
+
**Fix:**
|
|
370
|
+
|
|
371
|
+
```tsx
|
|
372
|
+
// not: <svg><title>Logo</title>…</svg>
|
|
373
|
+
<svg role="img" aria-label="Logo" viewBox="0 0 24 24">…</svg>
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
If the diff under the message shows translated text instead, see the
|
|
377
|
+
[i18n entry](#hydration-failed-because-the-server-rendered-text-didnt-match-the-client).
|
|
378
|
+
|
|
379
|
+
### `A tree hydrated but some attributes of the server rendered HTML didn't match the client properties`
|
|
380
|
+
|
|
381
|
+
**When:** in the browser console of an SSR app on a desktop, on a page with a
|
|
382
|
+
`TimeField` or `TimeFormField`, before 2.2.0. The server log also printed:
|
|
383
|
+
`` `useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches. ``
|
|
384
|
+
**Why:** the field opens its picker in a popover on a desktop and in a dialog
|
|
385
|
+
under 768 px, and asked `useMedia` without a default. A server has no screen,
|
|
386
|
+
so it rendered the phone trigger; a desktop's first render was the popover
|
|
387
|
+
trigger, with different attributes (its `id`, `name`, `data-*`). React keeps
|
|
388
|
+
the server's attributes ("This won't be patched up").
|
|
389
|
+
**Fix:** upgrade. The server and the first client render are now both the
|
|
390
|
+
desktop trigger; a phone switches to the dialog once mounted.
|
|
391
|
+
|
|
392
|
+
### `` `useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches. ``
|
|
393
|
+
|
|
394
|
+
**When:** in the server log of an SSR app, before 2.2.0, on a page with an
|
|
395
|
+
`AppHeader`, `AppBreadcrumb`, `DataTable`, `ResponsiveButton`, `ThemeToggle`,
|
|
396
|
+
`CodeBlock`, `CodeDiff`, `JsonViewer`, `CodeEditor`, `Doc` or `Stepper`, or
|
|
397
|
+
with your own `useIsMobile()` / `useTheme()`. The browser console of a phone
|
|
398
|
+
(of a dark-mode desktop, for the code blocks; of a desktop, for `Stepper`)
|
|
399
|
+
then shows
|
|
400
|
+
[`Hydration failed because the server rendered HTML didn't match the client`](#hydration-failed-because-the-server-rendered-html-didnt-match-the-client).
|
|
401
|
+
**Why:** those components asked react-use's `useMedia` whether the screen is
|
|
402
|
+
narrow (or dark) with no answer for the server, which has no screen. The
|
|
403
|
+
server rendered "no", and a client whose answer was "yes" rendered something
|
|
404
|
+
else on its first pass. React then threw the server HTML away.
|
|
405
|
+
**Fix:** upgrade. The server and a hydrating client now render the desktop,
|
|
406
|
+
light answer, and the client switches right after hydrating. A page rendered
|
|
407
|
+
only in the browser reads the real answer from its first render, as before.
|
|
408
|
+
`Stepper` logged this line until 2.2.0, and a desktop hydrating its server
|
|
409
|
+
HTML showed the mismatch (it asks whether the screen is wide); upgrade and
|
|
410
|
+
drop any `clientOnly(Stepper)` you added for it.
|
|
411
|
+
|
|
412
|
+
### `useMatches must be used within a data router`
|
|
413
|
+
|
|
414
|
+
**When:** rendering `ActivityLayout` or `AppBreadcrumb`.
|
|
415
|
+
**Why:** `AppBreadcrumb` reads each route's `handle.breadcrumb` through
|
|
416
|
+
`useMatches()`, which only works under a data router. `<BrowserRouter>` and
|
|
417
|
+
`<MemoryRouter>` are not data routers. The same message appears if the app and
|
|
418
|
+
this package resolve two copies of `react-router`.
|
|
419
|
+
**Fix:**
|
|
420
|
+
|
|
421
|
+
```tsx
|
|
422
|
+
import { createBrowserRouter, RouterProvider } from 'react-router';
|
|
423
|
+
|
|
424
|
+
const router = createBrowserRouter(routes);
|
|
425
|
+
<RouterProvider router={router} />;
|
|
426
|
+
// in tests and stories: createMemoryRouter(routes) + RouterProvider
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
Check `bun pm ls --all | grep ' react-router@'` lists one version.
|
|
430
|
+
|
|
431
|
+
## Printing
|
|
432
|
+
|
|
433
|
+
### `Cannot find module '#standard-fonts/Helvetica'`
|
|
434
|
+
|
|
435
|
+
**When:** a built SSR server answers nothing on every route, `/health`
|
|
436
|
+
included, and a container healthcheck never passes. The server log shows this
|
|
437
|
+
message on each request. Node may print it as `Package import specifier
|
|
438
|
+
"#standard-fonts/Helvetica" is not defined`.
|
|
439
|
+
**Why:** `@nxgt/material/print` reaches `pdfkit`, which loads its standard
|
|
440
|
+
fonts with `createRequire(import.meta.url)('#standard-fonts/<name>')`. That is
|
|
441
|
+
a specifier private to pdfkit and called at runtime, so no bundler resolves it.
|
|
442
|
+
Once pdfkit is bundled into the server, the call is rooted in your build
|
|
443
|
+
directory and fails.
|
|
444
|
+
**Fix:** choose based on whether the runtime image keeps `node_modules`.
|
|
445
|
+
|
|
446
|
+
```ts
|
|
447
|
+
// Image keeps node_modules: leave the library external.
|
|
448
|
+
// vite.config.ts: keep '@nxgt/material' OUT of ssr.noExternal,
|
|
449
|
+
// and pass `--external @nxgt/material` to the bundle step.
|
|
450
|
+
|
|
451
|
+
// Image ships the bundle alone: inline the fonts.
|
|
452
|
+
import { pdfkitStandardFonts } from '@nxgt/material/vite';
|
|
453
|
+
|
|
454
|
+
export default defineConfig({
|
|
455
|
+
plugins: [pdfkitStandardFonts(), reactRouter()], // first in the list
|
|
456
|
+
});
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
Neither `resolve.alias` (the string never reaches the resolver) nor
|
|
460
|
+
`--external pdfkit` (transitive, so it cannot resolve from the app:
|
|
461
|
+
`Cannot find package 'pdfkit'`) fixes it.
|
|
462
|
+
|
|
463
|
+
### `still references '#standard-fonts/' after the transform`
|
|
464
|
+
|
|
465
|
+
**When:** at build, from `pdfkitStandardFonts()`, with the rest of the message
|
|
466
|
+
`pdfkit changed how it loads its standard fonts`.
|
|
467
|
+
**Why:** a `pdfkit` release changed how it loads its fonts, so the plugin can
|
|
468
|
+
no longer rewrite those calls. It fails the build on purpose, so the failure
|
|
469
|
+
doesn't reach your server's first request.
|
|
470
|
+
**Fix:** leave the library external for now (see the entry above), or pin the
|
|
471
|
+
last `pdfkit` that built, and please report it (see
|
|
472
|
+
[Reporting a bug](#reporting-a-bug)) with the `pdfkit` version.
|
|
473
|
+
|
|
474
|
+
```json
|
|
475
|
+
{ "overrides": { "pdfkit": "<last version that built>" } }
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
### `Module '"@nxgt/material"' has no exported member 'PrintHeader'`
|
|
479
|
+
|
|
480
|
+
**When:** type-checking (`TS2305`) or bundling (`"PrintHeader" is not exported
|
|
481
|
+
by …`) after upgrading to 2.0.0. The name may be any print component or `tw`.
|
|
482
|
+
**Why:** 2.0.0 moved the print components out of the barrel into their own
|
|
483
|
+
entry, so that apps that do not print no longer pull `pdfkit`.
|
|
484
|
+
**Fix:**
|
|
485
|
+
|
|
486
|
+
```ts
|
|
487
|
+
import { PrintHeader, PrintTable, tw } from '@nxgt/material/print';
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
Then install the two optional peers (see
|
|
491
|
+
[`Cannot find package '@react-pdf/renderer'`](#cannot-find-package-react-pdfrenderer)).
|
|
492
|
+
|
|
493
|
+
### `Module '"@nxgt/material"' has no exported member 'formatAmount'`
|
|
494
|
+
|
|
495
|
+
**When:** on 2.0.0 and 2.0.1 only, for `formatAmount` or `formatDate` imported
|
|
496
|
+
from the barrel or from `@nxgt/material/lib`.
|
|
497
|
+
**Why:** they moved to `@nxgt/material/print` with the print components in
|
|
498
|
+
2.0.0. They are pure `Intl` helpers, and 2.1.0 puts them back on the barrel and
|
|
499
|
+
`./lib`.
|
|
500
|
+
**Fix:**
|
|
501
|
+
|
|
502
|
+
```sh
|
|
503
|
+
bun add @nxgt/material@^2.1.0
|
|
504
|
+
```
|
|
505
|
+
|
|
506
|
+
```ts
|
|
507
|
+
import { formatAmount, formatDate } from '@nxgt/material/lib';
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
Upgrade rather than importing them from `./print`, which would make a screen
|
|
511
|
+
depend on the PDF peers.
|
|
512
|
+
|
|
513
|
+
### An amount in yen shows no decimals, or one in dinars shows three
|
|
514
|
+
|
|
515
|
+
**When:** from 2.2.0, `formatAmount(1234.5, 'JPY')` gives `¥1,235` where it gave
|
|
516
|
+
`¥1,234.50`, and `formatAmount(1.5, 'KWD')` gives `KWD 1.500`. A snapshot or a
|
|
517
|
+
test that asserted the old string fails. The same goes for what a
|
|
518
|
+
`CurrencyField` / `CurrencyFormField` shows once the amount is committed: a
|
|
519
|
+
`JPY` field shows `1,235`, a `KWD` one `1.500` (the emitted number is not
|
|
520
|
+
rounded).
|
|
521
|
+
**Why:** amounts now use their currency's own decimals (ISO 4217): none for
|
|
522
|
+
JPY and KRW, three for KWD, BHD and OMR, two for EUR, USD, GBP and most others,
|
|
523
|
+
whose output does not change. Two decimals for every currency was a bug on
|
|
524
|
+
invoices.
|
|
525
|
+
**Fix:** update the expectation, or keep two decimals where you need them:
|
|
526
|
+
|
|
527
|
+
```ts
|
|
528
|
+
formatAmount(1234.5, 'JPY', { fractionDigits: 2 }); // '¥1,234.50'
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
```tsx
|
|
532
|
+
<CurrencyField label="Price" currency="JPY" fractionDigits={2} value={price} onChange={setPrice} />
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
### A date shows the day before
|
|
536
|
+
|
|
537
|
+
**When:** before 2.2.0, `formatDate('2026-03-01')` printed `Feb 28, 2026` on a
|
|
538
|
+
machine or server west of UTC (the Americas).
|
|
539
|
+
**Why:** a date-only string was read as midnight UTC, which is still the
|
|
540
|
+
previous evening there.
|
|
541
|
+
**Fix:** upgrade: from 2.2.0 a `YYYY-MM-DD` value keeps its calendar day in
|
|
542
|
+
every time zone. For a value with a time, pass the time zone you mean:
|
|
543
|
+
|
|
544
|
+
```ts
|
|
545
|
+
formatDate('2026-03-01T23:30:00Z', { timeZone: 'Europe/Paris' }); // 'Mar 2, 2026'
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
### `Invalid hook call` in a `PrintDocument` `footer` function
|
|
549
|
+
|
|
550
|
+
**When:** rendering a `PrintDocument` whose `footer` is a function that calls
|
|
551
|
+
a hook (`useMaterialTranslation`, `useFormatters`, your own).
|
|
552
|
+
**Why:** react-pdf calls the function once per page while it lays the pages
|
|
553
|
+
out, outside React, so no hook can run there. It returns text only.
|
|
554
|
+
**Fix:** compute what it needs in the component, and only read it in the
|
|
555
|
+
function; or pass an element instead of a function.
|
|
556
|
+
|
|
557
|
+
```tsx
|
|
558
|
+
import { formatDate, PrintDocument } from '@nxgt/material/print';
|
|
559
|
+
import { translateMaterial } from '@nxgt/material/i18n';
|
|
560
|
+
|
|
561
|
+
function Report({ issuedAt, language }: { issuedAt: string; language: string }) {
|
|
562
|
+
const issued = formatDate(issuedAt, { locale: language }); // here, not in the footer
|
|
563
|
+
return (
|
|
564
|
+
<PrintDocument
|
|
565
|
+
language={language}
|
|
566
|
+
footer={({ pageNumber, totalPages }) =>
|
|
567
|
+
`${issued} · ${translateMaterial(language, 'material.print.page-of', 'Page {page} of {pages}', { page: pageNumber, pages: totalPages })}`
|
|
568
|
+
}
|
|
569
|
+
>
|
|
570
|
+
{/* … */}
|
|
571
|
+
</PrintDocument>
|
|
572
|
+
);
|
|
573
|
+
}
|
|
574
|
+
```
|
|
575
|
+
|
|
576
|
+
`translateMaterial` is not a hook, so it is safe inside the function.
|
|
577
|
+
|
|
578
|
+
### Body text runs under the footer or the page number
|
|
579
|
+
|
|
580
|
+
**When:** a `PrintDocument` with a `footer` of more than one line, or a large
|
|
581
|
+
font, prints its last body lines behind the footer.
|
|
582
|
+
**Why:** the page keeps a band of `footerHeight` points (24 by default) above
|
|
583
|
+
the bottom margin for the footer and page numbers; a taller footer grows up
|
|
584
|
+
out of it, over the body.
|
|
585
|
+
**Fix:** make the band as tall as the footer:
|
|
586
|
+
|
|
587
|
+
```tsx
|
|
588
|
+
<PrintDocument footer={<LegalNotice />} footerHeight={48} pageNumbers>
|
|
589
|
+
{/* … */}
|
|
590
|
+
</PrintDocument>
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
### The `LOGO` box in `PrintHeader` is gone after upgrading
|
|
594
|
+
|
|
595
|
+
**When:** from 2.2.0, a `PrintHeader` with no `logo` and no `logoText` prints
|
|
596
|
+
no grey `LOGO` box on the left, and one with no `qrDataUrl` no empty box on
|
|
597
|
+
the right. A visual snapshot changes.
|
|
598
|
+
**Why:** a document with no logo printed the word `LOGO`. A side you do not
|
|
599
|
+
fill is now left empty, and the title stays centred.
|
|
600
|
+
**Fix:** pass your logo, or keep the old box:
|
|
601
|
+
|
|
602
|
+
```tsx
|
|
603
|
+
<PrintHeader title="Invoice" logo={logoDataUrl} />
|
|
604
|
+
<PrintHeader title="Invoice" logoText="LOGO" />
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
### French amounts print with a slash, as in `1/234,50`
|
|
608
|
+
|
|
609
|
+
**When:** before 2.2.0, `formatAmount(1234.5, 'EUR', { locale: 'fr-FR' })`
|
|
610
|
+
printed `1/234,50 €` in a PDF, while the same string showed `1 234,50 €` on
|
|
611
|
+
screen.
|
|
612
|
+
**Why:** `Intl` separates French thousands with a narrow no-break space
|
|
613
|
+
(U+202F), which the PDF standard fonts do not have.
|
|
614
|
+
**Fix:** upgrade to 2.2.0 or later: `PrintSection`, `PrintInfoRow`,
|
|
615
|
+
`PrintTableCell`, `PrintTotalRow`, `PrintCardField` and `PrintBadge` replace
|
|
616
|
+
that character before printing. Text you put in your own react-pdf `Text` is
|
|
617
|
+
not rewritten:
|
|
618
|
+
|
|
619
|
+
```ts
|
|
620
|
+
formatAmount(1234.5, 'EUR', { locale: 'fr-FR' }).replace(/\u202f/g, '\u00a0');
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
### An amount column prints `—` instead of the amount
|
|
624
|
+
|
|
625
|
+
**When:** a `PrintDataTable` column or a `PrintKeyValue` field with
|
|
626
|
+
`format: 'amount'` (or `'number'`, `'percent'`) prints `—` where a figure
|
|
627
|
+
should be, and a `total: 'sum'` leaves those rows out.
|
|
628
|
+
**Why:** the value is a string, such as `'12.50'` from a JSON API or a
|
|
629
|
+
decimal column. These formats take a finite `number` only; anything else is
|
|
630
|
+
treated as empty, and `'sum'` counts it as zero.
|
|
631
|
+
**Fix:** hand the rows over with numbers:
|
|
632
|
+
|
|
633
|
+
```ts
|
|
634
|
+
const rows = lines.map((line) => ({ ...line, amount: Number(line.amount) }));
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
or read the column through an accessor:
|
|
638
|
+
|
|
639
|
+
```ts
|
|
640
|
+
{ id: 'amount', label: 'Amount', accessor: (line) => Number(line.amount), format: 'amount', total: 'sum' }
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
### The table header does not repeat on the next page
|
|
644
|
+
|
|
645
|
+
**When:** a table runs over two pages and the second page starts with rows
|
|
646
|
+
and no header.
|
|
647
|
+
**Why:** a table built from `PrintTable`, `PrintTableHeader` and
|
|
648
|
+
`PrintTableRow` prints its header once, where you wrote it. A
|
|
649
|
+
`PrintDataTable` repeats its header on every page the table crosses unless
|
|
650
|
+
you passed `repeatHeader={false}`; it does not print a header on a page the
|
|
651
|
+
table does not reach, such as a page holding only what follows the table.
|
|
652
|
+
**Fix:** build the table with `PrintDataTable`, and leave `repeatHeader` on:
|
|
653
|
+
|
|
654
|
+
```tsx
|
|
655
|
+
<PrintDataTable columns={columns} rows={lines} currency="EUR" />
|
|
656
|
+
```
|
|
657
|
+
|
|
658
|
+
See [Tables from columns and rows](guides/printing.md#tables-from-columns-and-rows).
|
|
659
|
+
|
|
660
|
+
### The PDF tab does not open
|
|
661
|
+
|
|
662
|
+
**When:** `openPdf` saves the file instead of opening a tab, or the browser
|
|
663
|
+
shows a "pop-up blocked" icon in the address bar.
|
|
664
|
+
**Why:** a browser opens a new tab only while it still counts a click as the
|
|
665
|
+
user's. `openPdf` opens its tab before rendering for that reason, but when it
|
|
666
|
+
runs after an `await` (a fetch of the data, say), in an effect or from a
|
|
667
|
+
timer, the click no longer counts and the popup blocker stops the tab.
|
|
668
|
+
`openPdf` then downloads the file instead, so the user still gets it.
|
|
669
|
+
**Fix:** call `openPdf` first thing in the click handler. When the data has to
|
|
670
|
+
load first, render the file ahead of the click with `usePdfFile` and pass its
|
|
671
|
+
`blob`:
|
|
672
|
+
|
|
673
|
+
```tsx
|
|
674
|
+
// the tab is opened before anything is awaited
|
|
675
|
+
<Button onClick={() => openPdf(<InvoiceDocument invoice={invoice} />, { fileName: invoice.number })}>Open</Button>
|
|
676
|
+
|
|
677
|
+
// or: the file is already rendered when the user clicks
|
|
678
|
+
const { blob } = usePdfFile(doc);
|
|
679
|
+
<Button disabled={!blob} onClick={() => blob && openPdf(blob, { fileName: invoice.number })}>Open</Button>
|
|
680
|
+
```
|
|
681
|
+
|
|
682
|
+
See [In the browser](guides/printing.md#in-the-browser-downloadpdf-and-openpdf).
|
|
683
|
+
|
|
684
|
+
### `renderToBuffer is a Node specific API`
|
|
685
|
+
|
|
686
|
+
**When:** on a server, from `pdfResponse` or `renderPdfBuffer` (or react-pdf's
|
|
687
|
+
own `renderToBuffer`). The message goes on: `You're either using this method in
|
|
688
|
+
a browser, or your bundler is not loading react-pdf from the appropriate web
|
|
689
|
+
build.`
|
|
690
|
+
**Why:** `@react-pdf/renderer` ships a Node build and a browser build, and the
|
|
691
|
+
browser build throws this for every Node API. A server bundle got the browser
|
|
692
|
+
build: a bundler resolving the `browser` field or condition for the server,
|
|
693
|
+
or a worker or edge target, which has no Node build to pick.
|
|
694
|
+
**Fix:** leave `@react-pdf/renderer` out of the server bundle so the runtime
|
|
695
|
+
loads it from `node_modules`, and render on Node 18+ or Bun:
|
|
696
|
+
|
|
697
|
+
```ts
|
|
698
|
+
// vite.config.ts
|
|
699
|
+
export default defineConfig({ ssr: { external: ['@react-pdf/renderer'] } });
|
|
700
|
+
|
|
701
|
+
// next.config.ts
|
|
702
|
+
export default { serverExternalPackages: ['@react-pdf/renderer'] };
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
In the browser, use `renderPdfBlob`, `downloadPdf` or `openPdf`; they never
|
|
706
|
+
call a Node API. On an edge runtime, see
|
|
707
|
+
[PDF rendering fails on an edge runtime](#pdf-rendering-fails-on-an-edge-runtime).
|
|
708
|
+
|
|
709
|
+
### `renderToStream is a Node specific API`
|
|
710
|
+
|
|
711
|
+
**When:** calling `renderPdfStream`, in a browser or in a server bundle that
|
|
712
|
+
got react-pdf's browser build.
|
|
713
|
+
**Why:** `renderPdfStream` returns a stream that only react-pdf's Node build
|
|
714
|
+
can produce; there is no browser version.
|
|
715
|
+
**Fix:** in the browser, render a `Blob` instead; on a server, the fix is
|
|
716
|
+
[the one above](#rendertobuffer-is-a-node-specific-api).
|
|
717
|
+
|
|
718
|
+
```ts
|
|
719
|
+
const blob = await renderPdfBlob(doc); // browser and server
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
### PDF rendering fails on an edge runtime
|
|
723
|
+
|
|
724
|
+
**When:** a route on Vercel Edge, Cloudflare Workers or Deno Deploy that calls
|
|
725
|
+
`pdfResponse` or another output function fails, often with
|
|
726
|
+
`renderToBuffer is a Node specific API`, a missing `fs`, `stream` or `Buffer`,
|
|
727
|
+
or a bundle over the size limit.
|
|
728
|
+
**Why:** `@react-pdf/renderer` and pdfkit need Node APIs these runtimes do
|
|
729
|
+
not have. They are not supported.
|
|
730
|
+
**Fix:** run that route on a Node 18+ or Bun runtime, or render in the
|
|
731
|
+
browser with `downloadPdf`. In Next.js:
|
|
732
|
+
|
|
733
|
+
```ts
|
|
734
|
+
// app/invoices/[id]/pdf/route.tsx
|
|
735
|
+
export const runtime = 'nodejs';
|
|
736
|
+
```
|
|
737
|
+
|
|
738
|
+
See [Runtimes](guides/printing.md#runtimes).
|
|
739
|
+
|
|
740
|
+
### `usePdfFile` renders on every render
|
|
741
|
+
|
|
742
|
+
**When:** `loading` flips back to `true` each time the component renders, a
|
|
743
|
+
`PdfReader` fed by the hook reloads, or the CPU stays busy.
|
|
744
|
+
**Why:** `usePdfFile` renders again whenever its document is a new value, and
|
|
745
|
+
a JSX element (or a model built inline) is a new value on every render. So is
|
|
746
|
+
a `custom` object written inline.
|
|
747
|
+
**Fix:** build the document with `useMemo`, keyed on its data:
|
|
748
|
+
|
|
749
|
+
```tsx
|
|
750
|
+
const doc = useMemo(() => <InvoiceDocument invoice={invoice} />, [invoice]);
|
|
751
|
+
const { blob, loading } = usePdfFile(doc);
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
### `[pdf] No renderer for the custom node`
|
|
755
|
+
|
|
756
|
+
**When:** rendering a document model, with the rest of the message
|
|
757
|
+
``"signature": pass it in `custom` when rendering.``
|
|
758
|
+
**Why:** the model holds a `{ type: 'custom', name: 'signature' }` node, and
|
|
759
|
+
the function that renders it was given no renderer under that name.
|
|
760
|
+
**Fix:** pass the renderer to whichever function renders the document:
|
|
761
|
+
|
|
762
|
+
```tsx
|
|
763
|
+
await pdfResponse(doc, { custom: { signature: (props) => <Text>{String(props.name)}</Text> } });
|
|
764
|
+
```
|
|
765
|
+
|
|
766
|
+
See [Custom nodes](guides/printing.md#custom-nodes).
|
|
767
|
+
|
|
768
|
+
### `[pdf] Unknown node type`
|
|
769
|
+
|
|
770
|
+
**When:** rendering a document model, as `[pdf] Unknown node type "chart".`
|
|
771
|
+
**Why:** a node's `type` is not one this version renders: a typo in
|
|
772
|
+
hand-written JSON, or a document built by a newer version of the package.
|
|
773
|
+
**Fix:** build nodes with the builders (`heading()`, `table()`, …), which
|
|
774
|
+
TypeScript checks, or upgrade the package that renders the document.
|
|
775
|
+
|
|
776
|
+
### `[pdf] Unsupported document version`
|
|
777
|
+
|
|
778
|
+
**When:** rendering a document model, as `[pdf] Unsupported document version
|
|
779
|
+
2: this version renders version 1.`
|
|
780
|
+
**Why:** the document's `version` is not `1`, the only one this package
|
|
781
|
+
renders.
|
|
782
|
+
**Fix:** build the document with `pdfDocument()` or `definePdfDocument()`,
|
|
783
|
+
which stamp `version: 1`, rather than by hand.
|
|
784
|
+
|
|
785
|
+
### `'invoice' is of type 'unknown'` in a `definePdfDocument` template
|
|
786
|
+
|
|
787
|
+
**When:** compiling a template whose data parameter has no type,
|
|
788
|
+
`definePdfDocument((invoice) => ({ … invoice.number … }))`. Before 2.2.0
|
|
789
|
+
the error was at the call instead: `Argument of type 'Invoice' is not
|
|
790
|
+
assignable to parameter of type 'never'`.
|
|
791
|
+
**Why:** the template's own signature is its type, so an unannotated data
|
|
792
|
+
parameter is `unknown`.
|
|
793
|
+
**Fix:** annotate it (do not pass a generic):
|
|
794
|
+
|
|
795
|
+
```ts
|
|
796
|
+
export const invoicePdf = definePdfDocument((invoice: Invoice, language = 'en') => ({
|
|
797
|
+
language,
|
|
798
|
+
pages: [page({ body: [heading(invoice.number)] })],
|
|
799
|
+
}));
|
|
800
|
+
```
|
|
801
|
+
|
|
802
|
+
## Maps
|
|
803
|
+
|
|
804
|
+
### The map has no controls, or its tiles are scattered
|
|
805
|
+
|
|
806
|
+
**When:** a `Map` renders tiles in the wrong places, or with no zoom buttons or
|
|
807
|
+
attribution, and no error.
|
|
808
|
+
**Why:** leaflet's stylesheet is missing. It ships as
|
|
809
|
+
`@nxgt/material/map.css` and is not part of `styles.css`, because it depends
|
|
810
|
+
on the optional `leaflet` peer.
|
|
811
|
+
**Fix:**
|
|
812
|
+
|
|
813
|
+
```tsx
|
|
814
|
+
import '@nxgt/material/map.css';
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
### The browser asks for location permission when a map renders
|
|
818
|
+
|
|
819
|
+
**When:** as soon as a `Map` mounts, whether or not it has a `center`.
|
|
820
|
+
**Why:** `Map` asks for the visitor's position on mount (through
|
|
821
|
+
`react-geolocated`); `center` only decides where it centres, the position
|
|
822
|
+
being used when `center` is absent. No prop turns the request off today.
|
|
823
|
+
**Fix:** mount the map only once the visitor asks for it, so the prompt comes
|
|
824
|
+
with a reason:
|
|
825
|
+
|
|
826
|
+
```tsx
|
|
827
|
+
import { Button } from '@nxgt/material/components';
|
|
828
|
+
import { Map, Marker } from '@nxgt/material/map';
|
|
829
|
+
import { useState } from 'react';
|
|
830
|
+
|
|
831
|
+
function StoreMap() {
|
|
832
|
+
const [shown, setShown] = useState(false);
|
|
833
|
+
if (!shown) return <Button onClick={() => setShown(true)}>Show the map</Button>;
|
|
834
|
+
return (
|
|
835
|
+
<Map center={[48.8566, 2.3522]} className="size-96">
|
|
836
|
+
<Marker position={[48.8566, 2.3522]} />
|
|
837
|
+
</Map>
|
|
838
|
+
);
|
|
839
|
+
}
|
|
840
|
+
```
|
|
841
|
+
|
|
842
|
+
### The map shows two zoom controls
|
|
843
|
+
|
|
844
|
+
**When:** after passing `zoomControl` to `Map`.
|
|
845
|
+
**Why:** `Map` already renders its own zoom control at `topleft`.
|
|
846
|
+
`zoomControl={true}` adds leaflet's built-in control as well.
|
|
847
|
+
**Fix:**
|
|
848
|
+
|
|
849
|
+
```tsx
|
|
850
|
+
<Map center={center} /> {/* leave zoomControl at its default, false */}
|
|
851
|
+
```
|
|
852
|
+
|
|
853
|
+
## i18n
|
|
854
|
+
|
|
855
|
+
### `useI18nContext must be used within an I18nProvider`
|
|
856
|
+
|
|
857
|
+
**When:** the first render of a component that calls `useI18nContext()` (for
|
|
858
|
+
example your language switcher).
|
|
859
|
+
**Why:** language state lives only in `I18nProvider`, and this hook throws
|
|
860
|
+
when there is none above it. It also throws when the provider and the hook come
|
|
861
|
+
from two copies of `@nxgt/material` (see
|
|
862
|
+
[Invalid hook call](#invalid-hook-call-hooks-can-only-be-called-inside-of-the-body-of-a-function-component)).
|
|
863
|
+
**Fix:**
|
|
864
|
+
|
|
865
|
+
```tsx
|
|
866
|
+
import { I18nProvider } from '@nxgt/material/i18n';
|
|
867
|
+
|
|
868
|
+
<I18nProvider defaultLanguage="en">
|
|
869
|
+
<App />
|
|
870
|
+
</I18nProvider>
|
|
871
|
+
```
|
|
872
|
+
|
|
873
|
+
For a component that must also work without a provider, use
|
|
874
|
+
`useOptionalI18nContext()`, which returns `null` instead of throwing.
|
|
875
|
+
|
|
876
|
+
### `[@nxgt/material] i18n resource override for language`
|
|
877
|
+
|
|
878
|
+
**When:** in the console outside production, when `mergeResources` runs. It is
|
|
879
|
+
followed by the list of keys, e.g. `"en": material.command.title. App resources
|
|
880
|
+
take precedence over the base bundle at these keys.`
|
|
881
|
+
**Why:** your resources define leaves under the `material` namespace, which
|
|
882
|
+
this package reserves for its own strings. The override reaches your app's
|
|
883
|
+
own translator only: the package's components translate from their own
|
|
884
|
+
bundle, so their text does **not** change.
|
|
885
|
+
**Fix:**
|
|
886
|
+
|
|
887
|
+
```ts
|
|
888
|
+
// app resources: keep your strings in your own namespaces
|
|
889
|
+
export const resources = {
|
|
890
|
+
en: { app: { title: 'Orders' } }, // not en.material.*
|
|
891
|
+
fr: { app: { title: 'Commandes' } },
|
|
892
|
+
};
|
|
893
|
+
```
|
|
894
|
+
|
|
895
|
+
To change a component's wording, pass the text through its props (most take a
|
|
896
|
+
`label`, `title` or `placeholder`). The warning does not print in production.
|
|
897
|
+
|
|
898
|
+
### `[@nxgt/material] Unsupported language`
|
|
899
|
+
|
|
900
|
+
**When:** in the console on `changeLanguage(...)`, e.g.
|
|
901
|
+
`Unsupported language: "fr-FR".` The language does not change.
|
|
902
|
+
**Why:** the value is not in the provider's `supportedLanguages`, which
|
|
903
|
+
defaults to the languages of the base bundle (`en`, `fr`). A full locale such
|
|
904
|
+
as `navigator.language` is not a language code.
|
|
905
|
+
**Fix:**
|
|
906
|
+
|
|
907
|
+
```tsx
|
|
908
|
+
import { type Language, useI18nContext } from '@nxgt/material/i18n';
|
|
909
|
+
|
|
910
|
+
const { changeLanguage, supportedLanguages } = useI18nContext();
|
|
911
|
+
const code = navigator.language.slice(0, 2);
|
|
912
|
+
if (supportedLanguages.includes(code as Language)) changeLanguage(code as Language);
|
|
913
|
+
```
|
|
914
|
+
|
|
915
|
+
### `Hydration failed because the server rendered text didn't match the client`
|
|
916
|
+
|
|
917
|
+
**When:** in an SSR app with a stored language other than the default. The
|
|
918
|
+
diff shows the same string in two languages.
|
|
919
|
+
**Why:** without `initialLanguage`, `I18nProvider` reads `localStorage` on the
|
|
920
|
+
client, which the server cannot see. The server renders `defaultLanguage`, the
|
|
921
|
+
client its stored one.
|
|
922
|
+
**Fix:**
|
|
923
|
+
|
|
924
|
+
```tsx
|
|
925
|
+
// resolve the language on the server (cookie, Accept-Language) and pass it
|
|
926
|
+
<I18nProvider
|
|
927
|
+
initialLanguage={languageFromRequest}
|
|
928
|
+
onLanguageChange={(lang) => { document.cookie = `language=${lang}; path=/`; }}
|
|
929
|
+
>
|
|
930
|
+
<App />
|
|
931
|
+
</I18nProvider>
|
|
932
|
+
```
|
|
933
|
+
|
|
934
|
+
When `initialLanguage` is supported, `localStorage` is not read, so both
|
|
935
|
+
renders agree. `onLanguageChange` keeps the cookie in step for the next request.
|
|
936
|
+
|
|
937
|
+
### A translation key is rendered instead of its text
|
|
938
|
+
|
|
939
|
+
**When:** a component shows `app.orders.title` (or a `material.*` key) as its
|
|
940
|
+
text.
|
|
941
|
+
**Why:** `createTranslator` returns a missing key as-is instead of throwing.
|
|
942
|
+
The key is absent from the bundle you passed it, or from the current language.
|
|
943
|
+
If the message has invalid ICU syntax, the raw message is returned and the
|
|
944
|
+
parse error is logged with `console.error`.
|
|
945
|
+
**Fix:**
|
|
946
|
+
|
|
947
|
+
```ts
|
|
948
|
+
// pass the merged bundle, and define the key in every language
|
|
949
|
+
export const resources = mergeResources(materialResources, appResources);
|
|
950
|
+
export const translate = createTranslator<LocaleKey>(resources);
|
|
951
|
+
```
|
|
952
|
+
|
|
953
|
+
Typing the translator with `LocaleKey` (see the [i18n guide](guides/i18n.md#wiring-your-own-strings)) turns a
|
|
954
|
+
misspelt key into a type error.
|
|
955
|
+
|
|
956
|
+
### A label shows `{count}` or another placeholder
|
|
957
|
+
|
|
958
|
+
**When:** a label reads `Step {step}`, `{count}/{max}` or `{count} items`
|
|
959
|
+
instead of `Step 01`, `3/5` or `3 items`.
|
|
960
|
+
**Why:** before 2.2.0, a component rendered with no
|
|
961
|
+
`I18nProvider` returned its English fallback without filling in its values.
|
|
962
|
+
Since then the fallback is formatted with its values, provider or not. If it
|
|
963
|
+
still happens, the message was called without the value it names (or has a
|
|
964
|
+
stray `{`): the raw text is returned, and outside production a
|
|
965
|
+
`[@nxgt/material] Could not format the fallback` warning names it.
|
|
966
|
+
**Fix:** update `@nxgt/material`. In your own components, pass the values
|
|
967
|
+
with the fallback:
|
|
968
|
+
|
|
969
|
+
```ts
|
|
970
|
+
const { t } = useMaterialTranslation();
|
|
971
|
+
t('material.stepper.step', 'Step {step}', { step: 2 }); // not t(key, 'Step {step}')
|
|
972
|
+
```
|
|
973
|
+
|
|
974
|
+
### Zod messages ignore the language, or your `material.zod.*` strings
|
|
975
|
+
|
|
976
|
+
**When:** `zodLocaleError()` writes English although the user chose French,
|
|
977
|
+
or ignores a `material.zod.*` string you merged with `mergeResources`.
|
|
978
|
+
**Why:** by default it reads the language from `localStorage.language` and
|
|
979
|
+
formats from the package's own bundle. An `I18nProvider` with another
|
|
980
|
+
`storageKey` writes elsewhere; your merged bundle reaches only your own
|
|
981
|
+
translator. On a server there is no `localStorage`, so it writes English.
|
|
982
|
+
**Fix:**
|
|
983
|
+
|
|
984
|
+
```ts
|
|
985
|
+
import { z } from 'zod';
|
|
986
|
+
import { zodLocaleError } from '@nxgt/material/lib';
|
|
987
|
+
import { translate } from './i18n'; // createTranslator(mergeResources(...))
|
|
988
|
+
|
|
989
|
+
z.config({ customError: zodLocaleError({ storageKey: 'lang', translate }) });
|
|
990
|
+
// on a server, where you know the request's language:
|
|
991
|
+
z.config({ customError: zodLocaleError({ language: () => requestLanguage() }) });
|
|
992
|
+
```
|
|
993
|
+
|
|
994
|
+
## Runtime
|
|
995
|
+
|
|
996
|
+
### `must be used within` / `must be used inside`
|
|
997
|
+
|
|
998
|
+
**When:** on render, from a sub-component or a context hook used outside the
|
|
999
|
+
component that provides its state. The exact messages:
|
|
1000
|
+
|
|
1001
|
+
| Message | Wrap it in |
|
|
1002
|
+
| --- | --- |
|
|
1003
|
+
| `useCarousel must be used within a <Carousel />` | `Carousel` |
|
|
1004
|
+
| `Gallery components must be used inside <Gallery>` | `Gallery` |
|
|
1005
|
+
| `useFilterContext must be used within a FilterProvider` | `FilterProvider` |
|
|
1006
|
+
| `usePaneLayout must be used within a PaneLayout` | `PaneLayout` |
|
|
1007
|
+
| `useListDetails must be used within a ListDetailsLayout` | `ListDetailsLayout` |
|
|
1008
|
+
| `useStxPlayerContext must be used within StxPlayer` | `StxPlayer` |
|
|
1009
|
+
| `Quiz components must be used inside <Quiz>` | `Quiz` |
|
|
1010
|
+
| `EventCalendar components must be used inside <EventCalendar>` | `EventCalendar` |
|
|
1011
|
+
| `Kanban components must be used inside <Kanban>` | `Kanban` |
|
|
1012
|
+
| `Notification components must be used inside <Notifications>` | `Notifications` |
|
|
1013
|
+
| `Doc components must be used inside <Doc>` | `Doc` |
|
|
1014
|
+
|
|
1015
|
+
**Why:** these widgets share state through React context. Their parts, and the
|
|
1016
|
+
hooks that read that context, only work below the root component. A portal
|
|
1017
|
+
does not break this, but a second copy of `@nxgt/material` does (see
|
|
1018
|
+
[Invalid hook call](#invalid-hook-call-hooks-can-only-be-called-inside-of-the-body-of-a-function-component)).
|
|
1019
|
+
**Fix:**
|
|
1020
|
+
|
|
1021
|
+
```tsx
|
|
1022
|
+
import { FilterProvider, useFilterContext } from '@nxgt/material/components';
|
|
1023
|
+
|
|
1024
|
+
function ActiveCount() {
|
|
1025
|
+
const { state } = useFilterContext(); // fine: rendered below FilterProvider
|
|
1026
|
+
return <span>{Object.keys(state.values).length}</span>;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
<FilterProvider schema={schema}>
|
|
1030
|
+
<ActiveCount />
|
|
1031
|
+
</FilterProvider>;
|
|
1032
|
+
```
|
|
1033
|
+
|
|
1034
|
+
### `Clipboard is not available`
|
|
1035
|
+
|
|
1036
|
+
**When:** calling `copyToClipboard(value)` on a page served over plain `http`
|
|
1037
|
+
from a host other than `localhost`, in a browser that blocks clipboard access,
|
|
1038
|
+
or on the server.
|
|
1039
|
+
**Why:** it uses `navigator.clipboard.writeText`, which browsers expose only in
|
|
1040
|
+
secure contexts.
|
|
1041
|
+
**Fix:**
|
|
1042
|
+
|
|
1043
|
+
```ts
|
|
1044
|
+
import { copyToClipboard } from '@nxgt/material/components';
|
|
1045
|
+
|
|
1046
|
+
try {
|
|
1047
|
+
await copyToClipboard(value);
|
|
1048
|
+
} catch {
|
|
1049
|
+
// show the value for manual copy instead
|
|
1050
|
+
}
|
|
1051
|
+
```
|
|
1052
|
+
|
|
1053
|
+
Serve the app over `https` (or `localhost`) in any environment where copying
|
|
1054
|
+
must work. `CopyButton` does not throw. It uses a different clipboard fallback.
|
|
1055
|
+
|
|
1056
|
+
### `Upload failed with status 403`
|
|
1057
|
+
|
|
1058
|
+
**When:** an `S3UploadField` upload fails. The error reaches `onError(file,
|
|
1059
|
+
error)`. The status may be any non-2xx.
|
|
1060
|
+
**Why:** the storage rejected the `PUT` to the presigned URL. For `403` the
|
|
1061
|
+
usual causes are an expired URL, or a `Content-Type` that differs from the
|
|
1062
|
+
one the URL was signed with.
|
|
1063
|
+
**Fix:**
|
|
1064
|
+
|
|
1065
|
+
```ts
|
|
1066
|
+
const getPresignedUrl = async (file: File) => {
|
|
1067
|
+
const { uploadUrl, publicUrl } = await api.presign({ name: file.name, contentType: file.type });
|
|
1068
|
+
// send exactly the headers the URL was signed with
|
|
1069
|
+
return { uploadUrl, publicUrl, headers: { 'Content-Type': file.type } };
|
|
1070
|
+
};
|
|
1071
|
+
```
|
|
1072
|
+
|
|
1073
|
+
### `Network error during upload`
|
|
1074
|
+
|
|
1075
|
+
**When:** an `S3UploadField` upload fails immediately. The browser console
|
|
1076
|
+
shows a CORS error for the storage host.
|
|
1077
|
+
**Why:** the browser blocked the cross-origin `PUT`. The bucket's CORS rules
|
|
1078
|
+
do not allow your origin, the `PUT` method, or the headers you send.
|
|
1079
|
+
**Fix:**
|
|
1080
|
+
|
|
1081
|
+
```json
|
|
1082
|
+
[{ "AllowedOrigins": ["https://app.example.com"], "AllowedMethods": ["PUT"], "AllowedHeaders": ["*"] }]
|
|
1083
|
+
```
|
|
1084
|
+
|
|
1085
|
+
Apply it on the bucket, with your own origin.
|
|
1086
|
+
|
|
1087
|
+
### `Maximum number of presets (20) reached`
|
|
1088
|
+
|
|
1089
|
+
**When:** in the console when saving a filter preset. The preset is not saved.
|
|
1090
|
+
**Why:** `presetConfig.maxPresets` caps saved presets, and defaults to `20`.
|
|
1091
|
+
**Fix:**
|
|
1092
|
+
|
|
1093
|
+
```tsx
|
|
1094
|
+
<FilterProvider schema={schema} presetConfig={{ enabled: true, maxPresets: 50 }}>
|
|
1095
|
+
```
|
|
1096
|
+
|
|
1097
|
+
### `Failed to execute 'exitFullscreen' on 'Document': Document not active`
|
|
1098
|
+
|
|
1099
|
+
**When:** as an unhandled promise rejection in the console (or a failing test
|
|
1100
|
+
run) when a `StxPlayer` that was fullscreen or in picture-in-picture unmounts,
|
|
1101
|
+
typically as a page, frame or test tears down. Versions before 2.2.0 only.
|
|
1102
|
+
**Why:** the player's cleanup exited fullscreen without catching the promise;
|
|
1103
|
+
once the document is inactive the browser rejects it.
|
|
1104
|
+
**Fix:** upgrade to 2.2.0, where refused fullscreen and picture-in-picture
|
|
1105
|
+
changes are caught. On an older version, ignore that rejection in tests:
|
|
1106
|
+
|
|
1107
|
+
```ts
|
|
1108
|
+
// vitest setup
|
|
1109
|
+
window.addEventListener('unhandledrejection', (event) => {
|
|
1110
|
+
if (String(event.reason).includes('Document not active')) event.preventDefault();
|
|
1111
|
+
});
|
|
1112
|
+
```
|
|
1113
|
+
|
|
1114
|
+
### A `SwitchFormField` shows no validation message
|
|
1115
|
+
|
|
1116
|
+
**When:** a `Switch` or `SwitchFormField` without a `placeholder`: the field is
|
|
1117
|
+
invalid (red border when it has a `label`) but no message appears, and your own
|
|
1118
|
+
`helperText` is not shown either. Versions before 2.2.0 only.
|
|
1119
|
+
**Why:** the switch only rendered its helper line when it had a `placeholder`.
|
|
1120
|
+
A form wrapper passes the validation message as `helperText`, so it vanished.
|
|
1121
|
+
**Fix:** upgrade to 2.2.0, where `helperText` shows under the row or under the
|
|
1122
|
+
bare switch. On an older version, give the switch a `placeholder`:
|
|
1123
|
+
|
|
1124
|
+
```tsx
|
|
1125
|
+
<SwitchFormField control={control} name="terms" label="Terms" placeholder="I accept the terms" />
|
|
1126
|
+
```
|
|
1127
|
+
|
|
1128
|
+
### A `TimeFormField` shows its error on a desktop but not on a phone
|
|
1129
|
+
|
|
1130
|
+
**When:** a form with `mode: 'onBlur'` or `'onTouched'` (or code reading
|
|
1131
|
+
`touchedFields`), on a screen under 768 px: leaving the time picker neither
|
|
1132
|
+
validates the field nor marks it touched, so its error waits for the submit.
|
|
1133
|
+
Versions before 2.2.0 only.
|
|
1134
|
+
**Why:** under 768 px the picker opens in a dialog, and that branch did not
|
|
1135
|
+
pass `onBlur` to the picker, as the desktop popover does. React Hook Form never
|
|
1136
|
+
heard the field lose focus.
|
|
1137
|
+
**Fix:** upgrade to 2.2.0. On an older version, validate on change as well,
|
|
1138
|
+
which does not depend on the blur:
|
|
1139
|
+
|
|
1140
|
+
```tsx
|
|
1141
|
+
const form = useForm<Values>({ mode: 'all' }); // change and blur
|
|
1142
|
+
```
|
|
1143
|
+
|
|
1144
|
+
From 2.2.0 the field is touched when focus leaves the trigger and the picker,
|
|
1145
|
+
on a desktop and on a phone alike: closing the picker with OK hands focus back
|
|
1146
|
+
to the trigger, and the next Tab or click elsewhere touches it. See the next
|
|
1147
|
+
entry.
|
|
1148
|
+
|
|
1149
|
+
### `touchedFields` stays empty after leaving a field, or `mode: 'onBlur'` never validates
|
|
1150
|
+
|
|
1151
|
+
**When:** a `*FormField` keeps `formState.touchedFields` (and
|
|
1152
|
+
`getFieldState(name).isTouched`) empty after the user tabs or clicks out of
|
|
1153
|
+
it, so an "errors once touched" pattern never shows anything, and a form with
|
|
1154
|
+
`mode: 'onBlur'` or `'onTouched'` shows no message until submit. In 2.1.0 and
|
|
1155
|
+
earlier, about twenty wrappers never called React Hook Form's `field.onBlur`
|
|
1156
|
+
(`SelectFormField`, `ComboboxFormField`, `ColorFormField`, `RatingFormField`,
|
|
1157
|
+
`OtpFormField`, `CheckboxFormField`, the dialog editors, the uploads, the
|
|
1158
|
+
config-driven `FormField` for most types, …), and others called it too early,
|
|
1159
|
+
when focus moved to their own button or popover.
|
|
1160
|
+
**Why:** a wrapper calls `field.onBlur` when focus **leaves the field and
|
|
1161
|
+
anything it opened**. Focus that moves into its popover, its listbox or its
|
|
1162
|
+
dialog is still in the field, so opening a picker is not leaving it; the
|
|
1163
|
+
field is left when focus then reaches another element of the page, or
|
|
1164
|
+
nothing. On 2.2.0 or later, `touchedFields` still empty after that means one
|
|
1165
|
+
of:
|
|
1166
|
+
|
|
1167
|
+
- your form's `mode` is `'onSubmit'` (the default): the field is touched, but
|
|
1168
|
+
nothing validates until the first submit — that is React Hook Form's rule,
|
|
1169
|
+
and the wrappers do not change it;
|
|
1170
|
+
- your own field in a `Controller` does not pass `field.onBlur` to its
|
|
1171
|
+
control;
|
|
1172
|
+
- focus went from the field straight into an overlay that appeared while the
|
|
1173
|
+
field had focus, that the field does not name as its popup and that no
|
|
1174
|
+
other control names either, such as a new toast's button: it counts as the
|
|
1175
|
+
field's own until focus comes back to the page. (Another field's freshly
|
|
1176
|
+
opened list, which its trigger names, is leaving: see
|
|
1177
|
+
[forms](guides/forms.md#touched-on-blur).)
|
|
1178
|
+
- your app portals overlays somewhere other than straight under `<body>`: the
|
|
1179
|
+
field's own popover then looks like the page, and opening it touches the
|
|
1180
|
+
field early;
|
|
1181
|
+
- the field is a `FilterFormField`, touched when it is applied, not on blur;
|
|
1182
|
+
- the user clicked a button-only field (`SelectCardFormField`,
|
|
1183
|
+
`SelectChipFormField`, the stars of a `RatingFormField`, the add button of a
|
|
1184
|
+
dialog editor) in Safari, or in Firefox on macOS: those browsers do not
|
|
1185
|
+
focus a button on click, so focus never entered the field and there is
|
|
1186
|
+
nothing to leave — as for a native `<button onBlur>`. Keyboard users, and
|
|
1187
|
+
other browsers, are not affected.
|
|
1188
|
+
|
|
1189
|
+
**Fix:** upgrade to 2.2.0, and pick the `mode` that validates when you want:
|
|
1190
|
+
|
|
1191
|
+
```tsx
|
|
1192
|
+
const form = useForm<Values>({
|
|
1193
|
+
mode: 'onTouched', // first blur, then every change
|
|
1194
|
+
resolver: zodResolver(schema),
|
|
1195
|
+
});
|
|
1196
|
+
```
|
|
1197
|
+
|
|
1198
|
+
For a field of your own, pass `field.onBlur` to the control that loses focus:
|
|
1199
|
+
|
|
1200
|
+
```tsx
|
|
1201
|
+
<Controller
|
|
1202
|
+
control={form.control}
|
|
1203
|
+
name="nickname"
|
|
1204
|
+
render={({ field }) => (
|
|
1205
|
+
<input value={field.value} onChange={field.onChange} onBlur={field.onBlur} />
|
|
1206
|
+
)}
|
|
1207
|
+
/>
|
|
1208
|
+
```
|
|
1209
|
+
|
|
1210
|
+
What counts as leaving, per kind of field:
|
|
1211
|
+
[forms](guides/forms.md#touched-on-blur).
|
|
1212
|
+
|
|
1213
|
+
### `TypeError: values.map is not a function`
|
|
1214
|
+
|
|
1215
|
+
**When:** a `SliderFormField` with one thumb crashes (in `SliderReadout`) as
|
|
1216
|
+
soon as its form holds a number for it: after the first change, or with a
|
|
1217
|
+
numeric default value such as `defaultValues: { volume: 40 }`. 2.1.0 and
|
|
1218
|
+
earlier.
|
|
1219
|
+
**Why:** the wrapper stores one thumb's value as a number, as documented in
|
|
1220
|
+
[What each field emits](guides/forms.md#what-each-field-emits), but passed
|
|
1221
|
+
that number back to the slider, which expects an array of thumb values.
|
|
1222
|
+
**Fix:** upgrade to 2.2.0, which wraps the number in an array for the slider.
|
|
1223
|
+
On an older version, give the field an array default and keep an array:
|
|
1224
|
+
|
|
1225
|
+
```tsx
|
|
1226
|
+
useForm({ defaultValues: { volume: [40] } }); // an array stays an array
|
|
1227
|
+
```
|
|
1228
|
+
|
|
1229
|
+
### A multi-step form reopens at a later step
|
|
1230
|
+
|
|
1231
|
+
**When:** a wizard built on `createStepFormSlice` opens at the step (and with
|
|
1232
|
+
the values) a user left it at, after a reload or on a later visit. From 2.2.0.
|
|
1233
|
+
**Why:** `updateStep` stores the state under the slice `name`, and from 2.2.0
|
|
1234
|
+
the slice resumes from it; earlier versions stored it and never read it back.
|
|
1235
|
+
**Fix:** call `reset()` when the wizard is finished or abandoned (it clears the
|
|
1236
|
+
entry), and give each wizard its own `name`:
|
|
1237
|
+
|
|
1238
|
+
```tsx
|
|
1239
|
+
onNext={(v) => {
|
|
1240
|
+
onDone({ ...values, ...v } as Signup);
|
|
1241
|
+
reset(); // clears localStorage['signup-wizard']
|
|
1242
|
+
}}
|
|
1243
|
+
```
|
|
1244
|
+
|
|
1245
|
+
In an SSR app the server renders step 0. A wizard rendered with
|
|
1246
|
+
`useSliceReducer` resumes once it has hydrated, so hydration matches without
|
|
1247
|
+
wrapping it in `clientOnly`; a slice kept in a Redux store needs the recipe in
|
|
1248
|
+
[forms](guides/forms.md#a-multi-step-form).
|
|
1249
|
+
|
|
1250
|
+
### An end-to-end test no longer finds a `LinkButton` by the `button` role
|
|
1251
|
+
|
|
1252
|
+
**When:** after upgrading to 2.2.0, a spec such as
|
|
1253
|
+
`getByRole('button', { name: 'Open order' })` times out on a `LinkButton`,
|
|
1254
|
+
`IconLinkButton` or `ResponsiveLinkButton`.
|
|
1255
|
+
**Why:** they used to render a `<button>` inside the router's `<a>`: two
|
|
1256
|
+
interactive elements, two tab stops. From 2.2.0 they render the `<a>` alone,
|
|
1257
|
+
styled as the button, so its role is `link`.
|
|
1258
|
+
**Fix:**
|
|
1259
|
+
|
|
1260
|
+
```ts
|
|
1261
|
+
await page.getByRole('link', { name: 'Open order' }).click();
|
|
1262
|
+
```
|
|
1263
|
+
|
|
1264
|
+
Collapsed `ResponsiveButton`s (the `Filter` trigger on a phone, for one) now
|
|
1265
|
+
keep their label as screen-reader text, so `getByRole('button', { name })`
|
|
1266
|
+
finds them too.
|
|
1267
|
+
|
|
1268
|
+
### A test no longer finds a date or time picker by the `button` role, or a slider thumb by the exact name `Minimum`
|
|
1269
|
+
|
|
1270
|
+
**When:** after upgrading to 2.2.0, a spec such as
|
|
1271
|
+
`getByRole('button', { name: /Delivery date/ })` finds nothing for a
|
|
1272
|
+
`DateField`, `DateRangeField` or `TimeField` (or their `*FormField`), or
|
|
1273
|
+
`getByRole('slider', { name: 'Minimum' })` finds nothing for a range
|
|
1274
|
+
`Slider` (in Testing Library, or in Playwright with `exact: true`: Playwright
|
|
1275
|
+
matches a string name as a substring by default, so it still finds it).
|
|
1276
|
+
**Why:** a required field now says so on the element a screen reader lands
|
|
1277
|
+
on, and a `button` may not carry `aria-required`. The picker trigger is a
|
|
1278
|
+
`combobox` (it opens a dialog to pick the value), named by an `aria-label` you
|
|
1279
|
+
pass (which on a `DateField` or `DateRangeField` used to name the calendar),
|
|
1280
|
+
else by the field's label, else by its `placeholder`, instead of by all of its text. A slider's
|
|
1281
|
+
thumbs are now named by the field's label too, so a
|
|
1282
|
+
range's are "Price Minimum" and "Price Maximum", and a labelled
|
|
1283
|
+
`TransferList`'s panes are "Team Available" and "Team Selected". (The
|
|
1284
|
+
`RatingField` stars are also a `radiogroup` now, named by the label.)
|
|
1285
|
+
**Fix:** find the control by its role and its full name:
|
|
1286
|
+
|
|
1287
|
+
```ts
|
|
1288
|
+
const date = page.getByRole('combobox', { name: 'Delivery date' });
|
|
1289
|
+
await date.click();
|
|
1290
|
+
await expect(date).toHaveAttribute('aria-required', 'true'); // when required
|
|
1291
|
+
await page.getByRole('slider', { name: 'Price Minimum' }).press('ArrowRight');
|
|
1292
|
+
```
|
|
1293
|
+
|
|
1294
|
+
### An end-to-end test no longer finds a required field by a name ending in `*`
|
|
1295
|
+
|
|
1296
|
+
**When:** after upgrading to 2.2.0, `getByRole('textbox', { name: 'Email*' })`
|
|
1297
|
+
(or any role query whose name ends in `*`) finds nothing for a field whose
|
|
1298
|
+
`Label` has `withAsterisk` (a `required` field). Queries on the label's text,
|
|
1299
|
+
`getByLabelText` and Playwright's `getByLabel`, still see the `*`: match it
|
|
1300
|
+
loosely in `getByLabelText` (`getByLabelText(/^Email/)`); Playwright's
|
|
1301
|
+
`getByLabel('Email')` already matches a substring.
|
|
1302
|
+
**Why:** screen readers used to read the asterisk ("Email star" or "Email*"),
|
|
1303
|
+
so it is now `aria-hidden`. The field's own `required` / `aria-required` says
|
|
1304
|
+
it is required, and every field of this library now sets it on the element a
|
|
1305
|
+
screen reader lands on (the input, the picker's combobox, the slider thumbs, the rating's
|
|
1306
|
+
radiogroup, the editor's textbox, the list's listbox, or, for a file picker,
|
|
1307
|
+
a group described as "This field is required.").
|
|
1308
|
+
**Fix:** find the field by its label alone, and check that it is required
|
|
1309
|
+
separately:
|
|
1310
|
+
|
|
1311
|
+
```ts
|
|
1312
|
+
// Testing Library + jest-dom: toBeRequired() accepts `required`, and
|
|
1313
|
+
// `aria-required` on a textbox, combobox, listbox or radiogroup
|
|
1314
|
+
expect(screen.getByRole('textbox', { name: 'Email' })).toBeRequired();
|
|
1315
|
+
// a slider thumb: toHaveAttribute('aria-required', 'true'); a file picker's
|
|
1316
|
+
// group: toHaveAccessibleDescription('This field is required.')
|
|
1317
|
+
|
|
1318
|
+
// Playwright: a native input carries `required`, the other controls `aria-required`
|
|
1319
|
+
await expect(page.getByRole('textbox', { name: 'Email' })).toHaveAttribute('required');
|
|
1320
|
+
await expect(page.getByRole('combobox', { name: 'Delivery date' })).toHaveAttribute('aria-required', 'true');
|
|
1321
|
+
```
|
|
1322
|
+
|
|
1323
|
+
### An end-to-end test no longer finds `aria-expanded` on a `ResponsiveButton`
|
|
1324
|
+
|
|
1325
|
+
**When:** after upgrading to 2.2.0, a spec that selects
|
|
1326
|
+
`[aria-expanded="true"]` / `[aria-expanded="false"]` on a `ResponsiveButton`,
|
|
1327
|
+
a `ResponsiveLinkButton`, a `LoadMoreButton` or an `EntityHeader` action, or
|
|
1328
|
+
asserts `toHaveAttribute('aria-expanded', …)` on one, finds nothing.
|
|
1329
|
+
**Why:** the attribute said whether the label was showing. `aria-expanded`
|
|
1330
|
+
tells a screen reader the button opens something, so each of them was
|
|
1331
|
+
announced as "collapsed" or "expanded" while controlling nothing. From 2.2.0
|
|
1332
|
+
it is gone. A `ResponsiveButton` used as a popover, drawer or menu trigger
|
|
1333
|
+
(the `Filter` trigger, the data table's view options) still carries the
|
|
1334
|
+
trigger's own `aria-expanded`, which follows the overlay.
|
|
1335
|
+
**Fix:** find the button by its name, which it keeps collapsed or not, and
|
|
1336
|
+
check whether its label is showing instead:
|
|
1337
|
+
|
|
1338
|
+
```ts
|
|
1339
|
+
const button = page.getByRole('button', { name: 'New order' });
|
|
1340
|
+
await expect(button.getByText('New order')).toBeVisible(); // expanded
|
|
1341
|
+
await expect(button.getByText('New order')).toHaveClass(/sr-only/); // collapsed
|
|
1342
|
+
```
|
|
1343
|
+
|
|
1344
|
+
### A test no longer finds a chip's remove button by the exact name `Remove`
|
|
1345
|
+
|
|
1346
|
+
**When:** after upgrading to 2.2.0, `getByRole('button', { name: 'Remove' })`
|
|
1347
|
+
(Testing Library, or Playwright with `exact: true`) finds nothing next to a
|
|
1348
|
+
dismissible `Chip` whose `label` shows text, or a `ComboboxChip` whose children
|
|
1349
|
+
are text; or `{ name: 'Icon chevron-down' }` / `{ name: 'Icon trash' }` finds
|
|
1350
|
+
nothing on the data table's row expander or a `ContactItem` /
|
|
1351
|
+
`OpeningHoursItem` delete button.
|
|
1352
|
+
**Why:** a row of chips was a row of buttons all called "Remove", and a screen
|
|
1353
|
+
reader could not tell them apart. The button is now named after its chip,
|
|
1354
|
+
"Remove Paris" ("Retirer Paris" in French, from `material.chip.dismiss-label`).
|
|
1355
|
+
The tooltip still reads "Remove". The row expander and the delete buttons
|
|
1356
|
+
were named after their icon; they are now "Toggle row details" (with
|
|
1357
|
+
`aria-expanded`), "Remove Contact" and "Remove". The same release names
|
|
1358
|
+
buttons that had no name at all, so a spec may now find them by role: the
|
|
1359
|
+
`Sidebar` toggle ("Toggle sidebar"), the `LocationPreview` trigger ("Preview
|
|
1360
|
+
location", or "Preview {name}"), and each `Autocomplete` chip's remove button
|
|
1361
|
+
(a real button now, where it used to be a `div`). All of them follow
|
|
1362
|
+
`I18nProvider`, so a spec running in French finds the French name.
|
|
1363
|
+
**Fix:** find the button by the chip's label:
|
|
1364
|
+
|
|
1365
|
+
```ts
|
|
1366
|
+
await page.getByRole('button', { name: 'Remove Paris' }).click();
|
|
1367
|
+
// any chip's: Playwright matches a string as a substring by default
|
|
1368
|
+
await page.getByRole('button', { name: 'Remove' }).first().click();
|
|
1369
|
+
```
|
|
1370
|
+
|
|
1371
|
+
### A test no longer finds a pagination, breadcrumb or other built-in label by its English name
|
|
1372
|
+
|
|
1373
|
+
**When:** after upgrading to 2.2.0, under a French `I18nProvider`, a selector
|
|
1374
|
+
such as `getByRole('navigation', { name: 'pagination' })`,
|
|
1375
|
+
`getByLabel('Replace report.pdf')`, `getByText('No filters available')` or
|
|
1376
|
+
`getByRole('img', { name: 'Progress: 40%' })` finds nothing.
|
|
1377
|
+
**Why:** these labels were English in every language; they now follow
|
|
1378
|
+
`I18nProvider`, with the same keys and French as `@nxgt/material-vue`:
|
|
1379
|
+
|
|
1380
|
+
| English | French | Key (`material.…`) |
|
|
1381
|
+
| --- | --- | --- |
|
|
1382
|
+
| `breadcrumb` / `pagination` (the `nav`'s name) | `Fil d'Ariane` / `Pagination` | `breadcrumb.label`, `pagination.label` |
|
|
1383
|
+
| `More` (breadcrumb ellipsis) | `Plus` | `breadcrumb.more` |
|
|
1384
|
+
| `Breadcrumb` (`DocHeader`) | `Fil d'Ariane` | `doc.breadcrumb` |
|
|
1385
|
+
| `No filters available`, `+2 more` | `Aucun filtre disponible`, `+2 de plus` | `filter.empty`, `filter.more` |
|
|
1386
|
+
| `Yes` / `No`, `From 5`, `Until …`, `Up to 9` (filter chips) | `Oui` / `Non`, `À partir de 5`, `Jusqu'au …`, `Jusqu'à 9` | `filter.value.*` |
|
|
1387
|
+
| `Unread` (`MessageCard`) | `Non lu` | `cards.unread` |
|
|
1388
|
+
| `Replace {name}`, `Upload failed` | `Remplacer {name}`, `Échec de l'envoi` | `upload.replace-named`, `upload.failed` |
|
|
1389
|
+
| `File type not accepted`, `File exceeds maximum size of …`, `Maximum of 3 files reached` | `Type de fichier non accepté`, `Le fichier dépasse la taille maximale de …`, `Maximum de 3 fichiers atteint` | `upload.invalid-type`, `upload.too-large`, `upload.max-files` |
|
|
1390
|
+
| `Write something …`, `Insert {name} emoji` (editor) | `Écrire quelque chose…`, `Insérer l'emoji {name}` | `rich-text-editor.placeholder`, `rich-text-editor.insert-emoji` |
|
|
1391
|
+
| `Progress: 40%` | `Progression : 40 %` | `circular-progress.label` |
|
|
1392
|
+
| `Media player` (`StxPlayer`, track without a title) | `Lecteur multimédia` | `stx-player.label` |
|
|
1393
|
+
| `Side Panel` (`PaneLayoutPane` on a phone) | `Panneau latéral` | `pane-layout.sheet-title` |
|
|
1394
|
+
| `Empty JSON` (`JsonViewer`) | `JSON vide` | `json-viewer.empty` |
|
|
1395
|
+
| `AM` / `PM` (`TimePicker`) | `a.m.` / `p.m.` | `time-picker.am`, `time-picker.pm` |
|
|
1396
|
+
|
|
1397
|
+
In English only one text changed: the upload count error for a single file
|
|
1398
|
+
now reads "Maximum of 1 file reached".
|
|
1399
|
+
**Fix:** select by the name in the language the test runs in, by a pattern
|
|
1400
|
+
that accepts both, or pass your own label, which always wins:
|
|
1401
|
+
|
|
1402
|
+
```ts
|
|
1403
|
+
await expect(page.getByRole('navigation', { name: /^(pagination|Pagination)$/ })).toBeVisible();
|
|
1404
|
+
```
|
|
1405
|
+
|
|
1406
|
+
```tsx
|
|
1407
|
+
<Pagination aria-label="Results pages">…</Pagination>
|
|
1408
|
+
```
|
|
1409
|
+
|
|
1410
|
+
### A test no longer finds an icon badge by role `button`, or an `Icon` named "Icon {name}" inside a button
|
|
1411
|
+
|
|
1412
|
+
**When:** after upgrading to 2.2.0, one of these finds nothing:
|
|
1413
|
+
|
|
1414
|
+
- `getByRole('button')` on the icon badge of a `Contacts`, `OpeningHours`,
|
|
1415
|
+
`PostalAddress`, `AttributesList` or `FileListField` row, the
|
|
1416
|
+
`NetworkUploadField` file preview, the `EntityHeader`, `ConfirmationDialog`
|
|
1417
|
+
or `AppSidebar` icon, the `Stepper` info icon, the `AccordionCard` chevron or
|
|
1418
|
+
a map marker's default pin — or a count of buttons comes out lower;
|
|
1419
|
+
- `getByRole('img', { name: 'Icon trash' })` on an `Icon` inside a named
|
|
1420
|
+
`IconButton`, `InputGroupButton` or `IconLinkButton`, or inside one of the
|
|
1421
|
+
badges above (`Icon atom` in the `AppSidebar` brand, `Icon file` in a
|
|
1422
|
+
`FileListField` row or the `NetworkUploadField` preview).
|
|
1423
|
+
|
|
1424
|
+
**Why:** each badge was a `<button>` that did nothing when pressed, with no
|
|
1425
|
+
name: a useless tab stop (except the disabled `NetworkUploadField` preview) that a screen reader announced as "button". It is
|
|
1426
|
+
now a `<span>` with `aria-hidden="true"` and the same look. A `Contacts` badge
|
|
1427
|
+
is `role="img"`, named by the contact type ("Phone"), since the row's title
|
|
1428
|
+
hides the type once it has a label. The `AccordionCard` header, which was a
|
|
1429
|
+
`<div>` only reachable through that chevron, is now itself the `<button>`,
|
|
1430
|
+
with `aria-expanded`. An `Icon` inside a named button repeated the button's
|
|
1431
|
+
name ("Delete, Icon trash"); it is now `aria-hidden`, unless you gave it an
|
|
1432
|
+
`aria-label` of your own. Outside a named button, an `Icon` is still named
|
|
1433
|
+
"Icon {name}" by default.
|
|
1434
|
+
**Fix:** select the badge by what it shows, not by role, and the control by
|
|
1435
|
+
its own name:
|
|
1436
|
+
|
|
1437
|
+
```ts
|
|
1438
|
+
// a Contacts badge
|
|
1439
|
+
await expect(page.getByRole('img', { name: 'Phone' })).toBeVisible();
|
|
1440
|
+
// an AccordionCard header
|
|
1441
|
+
await page.getByRole('button', { name: 'Shipping' }).click();
|
|
1442
|
+
// the button, not the icon inside it
|
|
1443
|
+
await page.getByRole('button', { name: 'Delete' }).click();
|
|
1444
|
+
```
|
|
1445
|
+
|
|
1446
|
+
If you passed an `IconButton` as `ConfirmationDialog`'s `icon`, pass the glyph
|
|
1447
|
+
alone and style the badge with `iconProps={{ variant, color }}`: the dialog
|
|
1448
|
+
already wraps it in a badge, and yours is now a button inside a `<span>`.
|
|
1449
|
+
|
|
1450
|
+
### `An invalid form control with name='…' is not focusable`
|
|
1451
|
+
|
|
1452
|
+
**When:** submitting a form with an empty `required` `UploadField`, before
|
|
1453
|
+
2.2.0: nothing happens and this is the only trace, in the console.
|
|
1454
|
+
**Why:** the field's `<input type="file">` was `hidden`. The browser refuses the
|
|
1455
|
+
submit because the required input is empty, but cannot focus a hidden control
|
|
1456
|
+
to show why.
|
|
1457
|
+
**Fix:** upgrade. The input is now visually hidden but focusable, so the submit
|
|
1458
|
+
stops on it with the browser's own "select a file" message. If you validate
|
|
1459
|
+
with React Hook Form (`UploadFormField`) and do not want the browser's check,
|
|
1460
|
+
put `noValidate` on the `<form>`.
|
|
1461
|
+
|
|
1462
|
+
### A `DateField` or `DateRangeField` with `disabled` still opens
|
|
1463
|
+
|
|
1464
|
+
**When:** before 2.2.0, `disabled` (or `DateFormField` in a disabled React
|
|
1465
|
+
Hook Form field) left the trigger clickable; the calendar opened with every day
|
|
1466
|
+
greyed out.
|
|
1467
|
+
**Why:** the props were spread onto the `Calendar`, where `disabled` is
|
|
1468
|
+
react-day-picker's day rule, so `true` meant "every day".
|
|
1469
|
+
**Fix:** upgrade: `disabled` now disables the trigger. A day rule goes in
|
|
1470
|
+
`disabledDays` (a non-boolean `disabled` still works, for now):
|
|
1471
|
+
|
|
1472
|
+
```tsx
|
|
1473
|
+
<DateField label="Delivery" disabledDays={{ dayOfWeek: [0] }} />
|
|
1474
|
+
```
|
|
1475
|
+
|
|
1476
|
+
The same release moves `id`, `aria-describedby` and `data-*` to the trigger:
|
|
1477
|
+
see the next entry.
|
|
1478
|
+
|
|
1479
|
+
### An `id`, `aria-describedby` or `data-testid` on a `DateField`, `DateRangeField` or `TimeField` is not on the trigger
|
|
1480
|
+
|
|
1481
|
+
**When:** before 2.2.0: `getByTestId` finds the calendar (and only while the
|
|
1482
|
+
popover is open) rather than the field, and a hint in `aria-describedby` is
|
|
1483
|
+
not read as the field's description. On a `TimeField` the attributes landed
|
|
1484
|
+
on the inner box on a desktop and nowhere on a phone. No error is printed.
|
|
1485
|
+
**Why:** the field's root is a popover (or, for a `TimeField` on a phone, a
|
|
1486
|
+
dialog), which renders no element of its own, so the props went on to the
|
|
1487
|
+
calendar or the picker inside it.
|
|
1488
|
+
**Fix:** upgrade: `id`, `aria-describedby` and every `data-*` attribute now go
|
|
1489
|
+
on the trigger, the `combobox` that has focus. A test that relied on the old
|
|
1490
|
+
place finds the calendar by its role instead:
|
|
1491
|
+
|
|
1492
|
+
```tsx
|
|
1493
|
+
<DateRangeField label="Stay" data-testid="stay" aria-describedby="stay-hint" />
|
|
1494
|
+
|
|
1495
|
+
screen.getByTestId('stay'); // the trigger, open or closed
|
|
1496
|
+
screen.getByRole('grid'); // the calendar, once open
|
|
1497
|
+
```
|
|
1498
|
+
|
|
1499
|
+
The `DateRangeField` trigger also carries `data-slot="date-range-field-trigger"`
|
|
1500
|
+
where it had `popover-trigger`, as `DateField`'s carries `date-field-trigger`:
|
|
1501
|
+
a selector on the old value now matches nothing.
|
|
1502
|
+
|
|
1503
|
+
### A test no longer finds the label or helper text inside a date or time picker's trigger
|
|
1504
|
+
|
|
1505
|
+
**When:** after upgrading to 2.2.0, `within(trigger).getByText('Delivery date')`
|
|
1506
|
+
or a selector such as `[data-slot="date-field-trigger"] label` finds nothing
|
|
1507
|
+
for a `DateField`, `DateRangeField` or `TimeField` (or their `*FormField`); a
|
|
1508
|
+
`className` meant for the trigger button now sizes the whole field; or a
|
|
1509
|
+
`DateFieldTrigger`, `DateRangeFieldTrigger` or `TimeFieldTrigger` rendered on
|
|
1510
|
+
its own shows no label and no helper text. No error is printed.
|
|
1511
|
+
**Why:** the `Label` and the helper text were inside the trigger `<button>`. A
|
|
1512
|
+
`<label>` is interactive content, which a button may not hold, and a screen
|
|
1513
|
+
reader read the helper text as part of the value. They now sit beside the
|
|
1514
|
+
button, in the field's root `div` (`data-slot="date-field"`,
|
|
1515
|
+
`date-range-field` or `time-field`), which also takes `className`. The trigger
|
|
1516
|
+
(`data-slot="…-trigger"`, still carrying your `id`, `aria-describedby` and
|
|
1517
|
+
`data-*`) points at them: `aria-labelledby` the Label, `aria-describedby` the
|
|
1518
|
+
helper text, then your ids. The Label is `for` the trigger, so a click on it
|
|
1519
|
+
still opens the picker. The `*Trigger` components now render only what the
|
|
1520
|
+
button shows; their `label`, `helperText` and `labelId` are ignored. A disabled field
|
|
1521
|
+
dims its trigger only, no longer its label and helper text. On a
|
|
1522
|
+
`TimeField` the default `data-pw` (the `name`, or `time-field`) is on the root
|
|
1523
|
+
`div` too, as it was on the box inside the button; on a `DateField` or
|
|
1524
|
+
`DateRangeField` it stays on the trigger.
|
|
1525
|
+
**Fix:** find the trigger by its name and description, and the whole field by
|
|
1526
|
+
its root:
|
|
1527
|
+
|
|
1528
|
+
```ts
|
|
1529
|
+
const date = page.getByRole('combobox', { name: 'Delivery date' });
|
|
1530
|
+
await expect(date).toHaveAccessibleDescription('We deliver Monday to Saturday.');
|
|
1531
|
+
const field = page.locator('[data-slot="date-field"]'); // label, trigger, helper
|
|
1532
|
+
```
|
|
1533
|
+
|
|
1534
|
+
### A test no longer finds a `DurationField` input by the field's label, or a `Slider`'s `aria-label` on its root
|
|
1535
|
+
|
|
1536
|
+
**When:** after upgrading to 2.2.0, `getByRole('textbox', { name: 'Duration' })`
|
|
1537
|
+
finds nothing for a `DurationField`, or `aria-label` / `aria-invalid` is no
|
|
1538
|
+
longer on a `Slider`'s root `span` (`data-slot="slider"`).
|
|
1539
|
+
**Why:** the Label was `for` the hours input only, so the minutes input had no
|
|
1540
|
+
name. The field is now a `group` named by its Label and described by its
|
|
1541
|
+
helper text, and each input is named by its part, "Hours" and "Minutes"
|
|
1542
|
+
(`material.duration-field.hours-label` / `minutes-label`). A `Slider`'s root is
|
|
1543
|
+
a plain `span`, where a name or `aria-invalid` is neither allowed nor read: an
|
|
1544
|
+
`aria-label` or `aria-labelledby` you pass now names every thumb (through
|
|
1545
|
+
`aria-labelledby`), and `aria-invalid` (or `error`) goes on every thumb, and a vertical `Slider`'s `label`, which it does not
|
|
1546
|
+
show, still names them.
|
|
1547
|
+
**Fix:** find the part inside the group, and the thumb by its name:
|
|
1548
|
+
|
|
1549
|
+
```ts
|
|
1550
|
+
const duration = page.getByRole('group', { name: 'Duration' });
|
|
1551
|
+
await duration.getByRole('textbox', { name: 'Minutes' }).fill('30');
|
|
1552
|
+
const volume = page.getByRole('slider', { name: 'Volume' });
|
|
1553
|
+
await expect(volume).toHaveAttribute('aria-invalid', 'true');
|
|
1554
|
+
```
|
|
1555
|
+
|
|
1556
|
+
### A test no longer finds `aria-invalid` on an upload field's group or drop zone
|
|
1557
|
+
|
|
1558
|
+
**When:** after upgrading to 2.2.0, `[aria-invalid]` or `toHaveAttribute('aria-invalid')`
|
|
1559
|
+
finds nothing on the `ImageField` frame, the `FileListField` or
|
|
1560
|
+
`NetworkUploadField` / `S3UploadField` drop zone, or the `UploadField` box.
|
|
1561
|
+
**Why:** ARIA 1.2 does not allow `aria-invalid` on a `group` or a `button`
|
|
1562
|
+
(or a plain `div`). The error is now a description, and the red outline comes
|
|
1563
|
+
from `data-invalid`. It describes one element per field, so a screen reader
|
|
1564
|
+
reads it once: the drop zone for `NetworkUploadField` / `S3UploadField` (the field's `group`
|
|
1565
|
+
once a file hides the drop zone or it is disabled), the `group` named by the label for
|
|
1566
|
+
`UploadField`, `ImageField` and `FileListField`. An `error` without `helperText` is described by a visually
|
|
1567
|
+
hidden "This value is not valid." (`material.zod.default`); for `UploadField`
|
|
1568
|
+
only with `trailing`, since otherwise its file input carries `aria-invalid`.
|
|
1569
|
+
**Fix:** assert the description on that element, or the data attribute:
|
|
1570
|
+
|
|
1571
|
+
```ts
|
|
1572
|
+
const zone = page.getByRole('button', { name: /drag & drop/i });
|
|
1573
|
+
await expect(zone).toHaveAccessibleDescription('Add a file.');
|
|
1574
|
+
await expect(zone).toHaveAttribute('data-invalid', 'true');
|
|
1575
|
+
|
|
1576
|
+
// FileListField, ImageField, UploadField, and NetworkUploadField /
|
|
1577
|
+
// S3UploadField once the drop zone is hidden or disabled: the group
|
|
1578
|
+
const files = page.getByRole('group', { name: 'Attachments' });
|
|
1579
|
+
await expect(files).toHaveAccessibleDescription('Add at least one file.');
|
|
1580
|
+
```
|
|
1581
|
+
|
|
1582
|
+
### A test no longer finds `aria-invalid` on a `CheckboxGroup`
|
|
1583
|
+
|
|
1584
|
+
**When:** after upgrading, `[aria-invalid]` or `toHaveAttribute('aria-invalid')`
|
|
1585
|
+
finds nothing on a `CheckboxGroup` or `CheckboxGroupFormField` in error.
|
|
1586
|
+
**Why:** `CheckboxGroupFormField` passed `aria-invalid` to `CheckboxGroup`,
|
|
1587
|
+
which put it on its wrapper `div`, where ARIA does not allow it. The wrapper
|
|
1588
|
+
is now a `role="group"` named by its `label`, and the error is its
|
|
1589
|
+
description: the helper text (the error message, in a form wrapper), or a
|
|
1590
|
+
visually hidden "This value is not valid." (`material.zod.default`) when there
|
|
1591
|
+
is none. A `CheckboxGroupFormField` in error with no message that shows your
|
|
1592
|
+
`helperText` is described by both: "<helperText> This value is not valid.".
|
|
1593
|
+
`RadioGroup` keeps `aria-invalid` on its `radiogroup`, where it is allowed.
|
|
1594
|
+
**Fix:** find the group by its question and assert its description:
|
|
1595
|
+
|
|
1596
|
+
```ts
|
|
1597
|
+
const channels = page.getByRole('group', { name: 'Contact channels' });
|
|
1598
|
+
await expect(channels).toHaveAccessibleDescription('Pick at least one.');
|
|
1599
|
+
```
|
|
1600
|
+
|
|
1601
|
+
### A test no longer finds `aria-invalid` on a `Switch` row or an `Autocomplete`'s chips
|
|
1602
|
+
|
|
1603
|
+
**When:** after upgrading to 2.2.0, `[aria-invalid]` on the bordered row of a
|
|
1604
|
+
`Switch` with a `label`, or on the `div` around an `Autocomplete`'s chips,
|
|
1605
|
+
finds nothing although the field is in error.
|
|
1606
|
+
**Why:** ARIA does not allow `aria-invalid` on a plain `div`. It is now on the
|
|
1607
|
+
control alone: the `switch` button, and the `Autocomplete`'s `combobox` input.
|
|
1608
|
+
The row and the chips box show the error with a red border.
|
|
1609
|
+
**Fix:** assert it on the control:
|
|
1610
|
+
|
|
1611
|
+
```ts
|
|
1612
|
+
await expect(page.getByRole('switch', { name: 'Notifications' })).toHaveAttribute('aria-invalid', 'true');
|
|
1613
|
+
await expect(page.getByRole('combobox', { name: 'Country' })).toHaveAttribute('aria-invalid', 'true');
|
|
1614
|
+
```
|
|
1615
|
+
|
|
1616
|
+
### A test no longer finds the breadcrumb's home button
|
|
1617
|
+
|
|
1618
|
+
**When:** after upgrading, `getByRole('button', { name: 'Home' })` finds
|
|
1619
|
+
nothing in an `AppBreadcrumb` (or the `ActivityLayout` around it), or a
|
|
1620
|
+
selector such as `nav a li` or `nav a button` stops matching.
|
|
1621
|
+
**Why:** the home crumb was a `<button>` inside the link, and every crumb's
|
|
1622
|
+
`<li>` sat inside its `<a>`: two nested controls, and an `<ol>` holding
|
|
1623
|
+
something other than `<li>`s. Each crumb is now `<li><a>…</a></li>`, and the
|
|
1624
|
+
home icon is the link itself, named "Home" (`material.app-shell.home`,
|
|
1625
|
+
translated). Pressing it still goes to the router's root: its `basename`, or `/`.
|
|
1626
|
+
**Fix:** find it as a link:
|
|
1627
|
+
|
|
1628
|
+
```ts
|
|
1629
|
+
await page.getByRole('navigation', { name: 'breadcrumb' })
|
|
1630
|
+
.getByRole('link', { name: 'Home' })
|
|
1631
|
+
.click();
|
|
1632
|
+
```
|
|
1633
|
+
|
|
1634
|
+
### `#<name>` no longer finds a `SwitchFormField` or `CheckboxFormField`
|
|
1635
|
+
|
|
1636
|
+
**When:** after upgrading, a selector such as `#notifications`, or a
|
|
1637
|
+
`<label htmlFor="notifications">` of your own, no longer reaches the control of
|
|
1638
|
+
`<SwitchFormField name="notifications">` or `<CheckboxFormField name="notifications">`.
|
|
1639
|
+
**Why:** the wrappers gave the control the field's `name` as its `id`, so two
|
|
1640
|
+
forms on one page with the same field (a sign-in and a sign-up form both with
|
|
1641
|
+
`remember`) had two elements with one `id`, and a label in one form toggled the
|
|
1642
|
+
other form's control. Without an `id` of yours, the control now gets a
|
|
1643
|
+
generated one, as the bare `Switch` and `Checkbox` always did.
|
|
1644
|
+
`RadioGroupFormField` and `CheckboxGroupFormField` had the same problem, and
|
|
1645
|
+
their options too: see
|
|
1646
|
+
[the next entry](#name-or-option-value-no-longer-finds-a-radio-or-checkbox-group-or-one-of-its-options).
|
|
1647
|
+
**Fix:** select by role and name, by `name`, or pass the `id` you rely on:
|
|
1648
|
+
|
|
1649
|
+
```tsx
|
|
1650
|
+
await page.getByRole('switch', { name: 'Notifications' }).click();
|
|
1651
|
+
await page.locator('[name="notifications"]').click();
|
|
1652
|
+
// or keep a fixed id
|
|
1653
|
+
<SwitchFormField control={control} name="notifications" id="notifications" label="Notifications" />
|
|
1654
|
+
```
|
|
1655
|
+
|
|
1656
|
+
### `#<name>` or `#<option value>` no longer finds a radio or checkbox group or one of its options
|
|
1657
|
+
|
|
1658
|
+
**When:** after upgrading, a selector such as `#married` no longer reaches
|
|
1659
|
+
`<RadioGroupFormField name="married">` or `<CheckboxGroupFormField name="married">`,
|
|
1660
|
+
or `#yes` (or a `<label htmlFor="yes">` of your own) no longer reaches the
|
|
1661
|
+
option whose `value` is `yes` in a `RadioGroup` or `CheckboxGroup`.
|
|
1662
|
+
**Why:** the wrappers gave the group the field's `name` as its `id`, and every
|
|
1663
|
+
group gave each option its `value` as `id`. Two yes/no questions in one form
|
|
1664
|
+
therefore had two inputs with `id="yes"`: both "Yes" labels pointed at the
|
|
1665
|
+
first one, and clicking the second question's label answered the first. The
|
|
1666
|
+
group now takes your `id`, or a generated one, and option *i* is
|
|
1667
|
+
`` `${id}-${i}` ``.
|
|
1668
|
+
**Fix:** pass the group the `id` you rely on, then find an option by its role
|
|
1669
|
+
and name inside it, or by its index:
|
|
1670
|
+
|
|
1671
|
+
```tsx
|
|
1672
|
+
<RadioGroupFormField control={control} name="married" id="married" options={yesNo} />
|
|
1673
|
+
|
|
1674
|
+
await page.locator('#married').getByRole('radio', { name: 'Yes' }).check();
|
|
1675
|
+
await page.locator('#married-0').check(); // the first option
|
|
1676
|
+
```
|
|
1677
|
+
|
|
1678
|
+
### An empty `UploadField` or `TimeField` is no longer tinted
|
|
1679
|
+
|
|
1680
|
+
**When:** after upgrading, an `UploadField` showing its `placeholder`, or a
|
|
1681
|
+
`TimeField` with no value, has the light background of an empty field instead
|
|
1682
|
+
of the primary tint.
|
|
1683
|
+
**Why:** `inputDefaultClassNames` tints an `<input>` while it is not showing its
|
|
1684
|
+
placeholder (`not-placeholder-shown:`). Those two fields, and the `Switch` row,
|
|
1685
|
+
are `div`s styled with those classes, and a `div` never shows a placeholder,
|
|
1686
|
+
so they were tinted all the time. They are now tinted when they hold a value
|
|
1687
|
+
(the `Switch` row: while it is on), like an `<input>`.
|
|
1688
|
+
**Fix:** nothing to do for these fields. If you style a `div` of your own with
|
|
1689
|
+
`inputDefaultClassNames`, it has the same problem: on such a `div` the tint is
|
|
1690
|
+
always on, so turn it off while there is no value (with `cn`, whose
|
|
1691
|
+
tailwind-merge drops the earlier tint).
|
|
1692
|
+
|
|
1693
|
+
```tsx
|
|
1694
|
+
import { cn, inputDefaultClassNames } from '@nxgt/material';
|
|
1695
|
+
|
|
1696
|
+
<div className={cn(inputDefaultClassNames, !hasValue && 'not-placeholder-shown:bg-muted/5')}>
|
|
1697
|
+
```
|
|
1698
|
+
|
|
1699
|
+
### `ConfirmDialog` buttons stay in English
|
|
1700
|
+
|
|
1701
|
+
**When:** a `ConfirmDialog` or `ConfirmationDialog` without
|
|
1702
|
+
`confirmLabel` / `cancelLabel` (`confirmText` / `cancelText`) shows "Confirm"
|
|
1703
|
+
and "Cancel" whatever the language. Versions before 2.2.0 only.
|
|
1704
|
+
**Why:** the defaults were hard-coded English strings.
|
|
1705
|
+
**Fix:** upgrade to 2.2.0, where they come from
|
|
1706
|
+
`material.confirm-dialog.confirm` / `.cancel` (English and French), which an
|
|
1707
|
+
app may override like any `material.*` string. On an older version, pass the
|
|
1708
|
+
labels yourself:
|
|
1709
|
+
|
|
1710
|
+
```tsx
|
|
1711
|
+
<ConfirmDialog confirmLabel={t('app.confirm')} cancelLabel={t('app.cancel')} {...props} />
|
|
1712
|
+
```
|
|
1713
|
+
|
|
1714
|
+
### A `ConfirmationDialog` opened with `open` no longer closes
|
|
1715
|
+
|
|
1716
|
+
**When:** after upgrading to 2.2.0, a `ConfirmationDialog` given `open` (to
|
|
1717
|
+
show it straight away) but no `onOpenChange` stays open: Cancel, Confirm,
|
|
1718
|
+
Escape and the close button do nothing.
|
|
1719
|
+
**Why:** before 2.2.0, `open` only seeded the dialog's own state, and the
|
|
1720
|
+
dialog then opened and closed itself. Since 2.2.0, `open` makes it controlled,
|
|
1721
|
+
as with every Radix dialog: it shows what `open` says, and closing is a call to
|
|
1722
|
+
`onOpenChange` that your state has to follow.
|
|
1723
|
+
**Fix:** to open it initially and let it manage itself, pass `defaultOpen`; to
|
|
1724
|
+
control it, pass `onOpenChange` with `open`:
|
|
1725
|
+
|
|
1726
|
+
```tsx
|
|
1727
|
+
<ConfirmationDialog defaultOpen title="Archive order" onConfirm={archive} />
|
|
1728
|
+
|
|
1729
|
+
// or, controlled
|
|
1730
|
+
const [open, setOpen] = useState(true);
|
|
1731
|
+
<ConfirmationDialog open={open} onOpenChange={setOpen} title="Archive order" onConfirm={archive} />
|
|
1732
|
+
```
|
|
1733
|
+
|
|
1734
|
+
### A menu item selected by `[data-variant=destructive]` stops matching
|
|
1735
|
+
|
|
1736
|
+
**When:** your CSS, or a test, targets `[data-variant=destructive]` on a
|
|
1737
|
+
`MenubarItem`, and stops matching after upgrading to 2.2.0.
|
|
1738
|
+
**Why:** `MenubarItem` takes `variant="error"`, as `DropdownMenuItem` and
|
|
1739
|
+
`ContextMenuItem` do, and keeps `"destructive"` as a deprecated alias. Both
|
|
1740
|
+
render `data-variant="error"`, and both use the `error` colour.
|
|
1741
|
+
**Fix:** select `[data-variant=error]`, and write `variant="error"`:
|
|
1742
|
+
|
|
1743
|
+
```tsx
|
|
1744
|
+
<MenubarItem variant="error" onSelect={remove}>Delete</MenubarItem>
|
|
1745
|
+
```
|
|
1746
|
+
|
|
1747
|
+
```css
|
|
1748
|
+
[data-slot='menubar-item'][data-variant='error'] { font-weight: 600; }
|
|
1749
|
+
```
|
|
1750
|
+
|
|
1751
|
+
### Keys typed right after opening a dialog, sheet or drawer land inside it
|
|
1752
|
+
|
|
1753
|
+
**When:** after upgrading, a test (or code of yours) that opens a `Dialog`,
|
|
1754
|
+
`AlertDialog`, `Sheet` or `Drawer` and then types or presses a key without
|
|
1755
|
+
first clicking or focusing something types into the overlay's first field, or
|
|
1756
|
+
presses its first button, instead of the element that had focus. A check such
|
|
1757
|
+
as `expect(opener).toHaveFocus()` right after opening fails; an alert dialog
|
|
1758
|
+
now has its Cancel focused, so Enter cancels rather than confirming.
|
|
1759
|
+
**Why:** before 2.2.0, `DialogContent`, `AlertDialogContent`,
|
|
1760
|
+
`SheetContent` and `DrawerContent` cancelled Radix's (and Vaul's) open
|
|
1761
|
+
auto-focus, so a modal opened with focus left behind it, on a page a keyboard
|
|
1762
|
+
or screen-reader user could no longer reach. That fails WCAG 2.4.3 (focus
|
|
1763
|
+
order). A modal now moves focus into itself when it opens, as the WAI-ARIA
|
|
1764
|
+
dialog pattern asks: to its first control, to its content when it has none,
|
|
1765
|
+
and to `AlertDialogCancel` in an alert dialog (to its first control when it
|
|
1766
|
+
has no Cancel). Closing still hands focus back to the element that opened it.
|
|
1767
|
+
**Fix:** in a test, act on the element you mean rather than on whatever has
|
|
1768
|
+
focus, which is what a user does:
|
|
1769
|
+
|
|
1770
|
+
```ts
|
|
1771
|
+
await page.getByRole('button', { name: 'Rename' }).click();
|
|
1772
|
+
const dialog = page.getByRole('dialog');
|
|
1773
|
+
await dialog.getByRole('textbox', { name: 'Name' }).fill('report.pdf');
|
|
1774
|
+
await dialog.getByRole('button', { name: 'Save' }).click();
|
|
1775
|
+
```
|
|
1776
|
+
|
|
1777
|
+
To put focus on something else when an overlay opens, prevent the default in
|
|
1778
|
+
`onOpenAutoFocus` and focus it yourself; to keep focus where it was (a
|
|
1779
|
+
non-modal panel the user keeps typing behind), only prevent the default:
|
|
1780
|
+
|
|
1781
|
+
```tsx
|
|
1782
|
+
const saveButtonRef = useRef<HTMLButtonElement>(null);
|
|
1783
|
+
|
|
1784
|
+
<DialogContent
|
|
1785
|
+
onOpenAutoFocus={(event) => {
|
|
1786
|
+
event.preventDefault();
|
|
1787
|
+
saveButtonRef.current?.focus();
|
|
1788
|
+
}}
|
|
1789
|
+
>
|
|
1790
|
+
{/* … */}
|
|
1791
|
+
<Button ref={saveButtonRef}>Save</Button>
|
|
1792
|
+
</DialogContent>
|
|
1793
|
+
```
|
|
1794
|
+
|
|
1795
|
+
A `Drawer` also takes Vaul's `autoFocus={false}`, which does the same as
|
|
1796
|
+
preventing the default.
|
|
1797
|
+
|
|
1798
|
+
---
|
|
1799
|
+
|
|
1800
|
+
## PDF reader
|
|
1801
|
+
|
|
1802
|
+
### `'PdfViewer' is deprecated`
|
|
1803
|
+
|
|
1804
|
+
**When:** after upgrading to 2.2.0, your editor strikes through `PdfViewer`,
|
|
1805
|
+
or a lint rule such as `@typescript-eslint/no-deprecated` reports it.
|
|
1806
|
+
**Why:** before 2.2.0 the `@deprecated` tag meant for the old alias
|
|
1807
|
+
`PdfViewer` sat one comment too high and struck through `PdfReader` instead.
|
|
1808
|
+
**Fix:** import `PdfReader`. It is the same component with the same props:
|
|
1809
|
+
|
|
1810
|
+
```tsx
|
|
1811
|
+
import { PdfReader } from '@nxgt/material/components';
|
|
1812
|
+
|
|
1813
|
+
<PdfReader file="/documents/contract.pdf" />
|
|
1814
|
+
```
|
|
1815
|
+
|
|
1816
|
+
### Download saves the PDF as `document.pdf`
|
|
1817
|
+
|
|
1818
|
+
**When:** the toolbar's Download button saves every URL document as
|
|
1819
|
+
`document.pdf`. Seen with versions before 2.2.0.
|
|
1820
|
+
**Why:** those versions hard-coded the name for a URL, and had no way to pass
|
|
1821
|
+
one. Since 2.2.0 the name is the `fileName` prop, then a `File`'s own name,
|
|
1822
|
+
then the last segment of the URL's path, and `document.pdf` only when there is
|
|
1823
|
+
none; `.pdf` is added when missing.
|
|
1824
|
+
**Fix:** update `@nxgt/material`, and pass `fileName` when the URL ends in an
|
|
1825
|
+
id or in `pdf` rather than a useful name:
|
|
1826
|
+
|
|
1827
|
+
```tsx
|
|
1828
|
+
<PdfReader file="/api/invoices/1042/pdf" fileName="INV-1042" />
|
|
1829
|
+
```
|
|
1830
|
+
|
|
1831
|
+
### Download does nothing, or opens the PDF instead of saving it
|
|
1832
|
+
|
|
1833
|
+
**When:** clicking Download saves nothing in Firefox or Safari, or the
|
|
1834
|
+
downloads list shows the file as failed; or, for a document on another origin,
|
|
1835
|
+
the browser navigates to it instead of saving it. Seen with versions before
|
|
1836
|
+
2.2.0.
|
|
1837
|
+
**Why:** the object URL was revoked right after `click()`, before those
|
|
1838
|
+
browsers read it, and the link was never attached to the page. For a URL on
|
|
1839
|
+
another origin, browsers ignore the `download` attribute and follow the link.
|
|
1840
|
+
Since 2.2.0 the link is attached and the URL lives for a minute. A URL
|
|
1841
|
+
document is saved from the bytes the reader already loaded, so it is not
|
|
1842
|
+
downloaded again; the URL is fetched when those bytes are gone, and opened in
|
|
1843
|
+
a new tab only when that fails too (no CORS headers, or an error status); a
|
|
1844
|
+
popup blocker may stop that tab. A `{ url, httpHeaders }` source is fetched
|
|
1845
|
+
with its headers and never opened in a tab, which would load it without them:
|
|
1846
|
+
when that fetch fails (a refused CORS preflight, a 401), Download and Print do
|
|
1847
|
+
nothing.
|
|
1848
|
+
**Fix:** update `@nxgt/material`. For a cross-origin URL, serve it with CORS
|
|
1849
|
+
headers, as the reader needs them to render it anyway; with `httpHeaders`,
|
|
1850
|
+
list them in `Access-Control-Allow-Headers`. To handle a failure yourself,
|
|
1851
|
+
pass `onDownload` / `onPrint`.
|
|
1852
|
+
|
|
1853
|
+
### `SecurityError: Blocked a frame with origin` when printing
|
|
1854
|
+
|
|
1855
|
+
**When:** clicking Print on a document served from another origin throws an
|
|
1856
|
+
uncaught `SecurityError` in the console and nothing prints. Seen with versions
|
|
1857
|
+
before 2.2.0.
|
|
1858
|
+
**Why:** the reader printed the URL itself in a hidden frame, and a page may
|
|
1859
|
+
not call `print()` on a frame from another origin. Since 2.2.0 it prints a
|
|
1860
|
+
same-origin copy of the loaded bytes, and opens the document in a new tab when
|
|
1861
|
+
the browser still refuses (a popup blocker may stop that tab).
|
|
1862
|
+
**Fix:** update `@nxgt/material`. To print differently, pass your own
|
|
1863
|
+
`onPrint`.
|
|
1864
|
+
|
|
1865
|
+
### A password-protected or broken PDF leaves the reader blank
|
|
1866
|
+
|
|
1867
|
+
**When:** a `PdfReader` shows only its toolbar: no password field for a
|
|
1868
|
+
protected PDF, no message for a URL that fails, and no spinner while a
|
|
1869
|
+
document loads. Seen with versions before 2.2.0.
|
|
1870
|
+
**Why:** react-pdf renders its children only once the document has loaded, and
|
|
1871
|
+
the loading, error and password overlays were children, so none of them ever
|
|
1872
|
+
showed. Since 2.2.0 they render beside the document until it loads. The
|
|
1873
|
+
password form also says "Incorrect password. Try again."
|
|
1874
|
+
(`material.pdf-reader.password-incorrect`) after a wrong one, marks the field
|
|
1875
|
+
`aria-invalid`, announces the message and focuses the field again; once the
|
|
1876
|
+
right password opens the document, the pages show.
|
|
1877
|
+
**Fix:** update `@nxgt/material`. On an older version, `onLoadError` lets you
|
|
1878
|
+
show your own message for a URL that fails; a protected PDF raises no error,
|
|
1879
|
+
so it stays blank there.
|
|
1880
|
+
|
|
1881
|
+
### Escape closes the whole dialog around a `PdfReader`
|
|
1882
|
+
|
|
1883
|
+
**When:** a `PdfReader` inside this package's `Dialog`, `Sheet` or `Drawer`
|
|
1884
|
+
(Radix): with the reader's search bar open, Escape closes the whole dialog
|
|
1885
|
+
instead of the search bar. With a dialog of your own that listens for Escape
|
|
1886
|
+
in the bubble phase, Escape never closed it at all. Seen with versions before
|
|
1887
|
+
2.2.0.
|
|
1888
|
+
**Why:** Radix dismisses its layers from a capture-phase listener on
|
|
1889
|
+
`document`, which runs before the reader's own key handler. The reader then
|
|
1890
|
+
called `preventDefault()` on every Escape, too late for Radix and wrongly for
|
|
1891
|
+
everyone else. Since 2.2.0 the reader closes its open search bar from a
|
|
1892
|
+
capture listener on `window`, which runs first, and leaves every other Escape
|
|
1893
|
+
alone: the first Escape closes the search bar, the next one the dialog.
|
|
1894
|
+
**Fix:** update `@nxgt/material`.
|
|
1895
|
+
|
|
1896
|
+
### `onPageChange` reports page 0 or a page past the end
|
|
1897
|
+
|
|
1898
|
+
**When:** the page callback receives `0`, or `numPages + 1`, from the Previous
|
|
1899
|
+
and Next keys or a number typed in the page field; or it fires again for the
|
|
1900
|
+
page already shown. Seen with versions before 2.2.0.
|
|
1901
|
+
**Why:** the reader clamped the page it showed but reported the page it was
|
|
1902
|
+
asked for. Since 2.2.0 it reports the clamped page, and only when the page
|
|
1903
|
+
changes.
|
|
1904
|
+
**Fix:** update `@nxgt/material`. A clamp you added in the callback can go.
|
|
1905
|
+
|
|
1906
|
+
### Pages are cut off, or too small, in fit width or fit page
|
|
1907
|
+
|
|
1908
|
+
**When:** a `PdfReader` with `defaultFitMode` `'width'` or `'page'` shows an
|
|
1909
|
+
A4 or landscape page wider than the reader, cut at the bottom, or smaller than
|
|
1910
|
+
the room it has; pages not drawn yet keep a Letter-sized gap. Seen with
|
|
1911
|
+
versions before 2.2.0.
|
|
1912
|
+
**Why:** the fit assumed every page was US Letter (612 × 792 points) and
|
|
1913
|
+
ignored each page's own size. It also measured the reader before the page area
|
|
1914
|
+
existed, so it fitted an 800 × 600 box whatever the reader's size. Since 2.2.0
|
|
1915
|
+
the reader reads every page's size, 25 pages at a time. It fits the widest
|
|
1916
|
+
and the tallest of the first 25 pages with one zoom for the whole document
|
|
1917
|
+
rather than one per page, and sizes each placeholder and
|
|
1918
|
+
thumbnail from its own page.
|
|
1919
|
+
**Fix:** update `@nxgt/material`. On an older version,
|
|
1920
|
+
`defaultFitMode="custom"` with an `initialScale` of your own avoids the wrong
|
|
1921
|
+
fit.
|
|
1922
|
+
|
|
1923
|
+
### Search misses matches, or counts 0/0 until you press Enter
|
|
1924
|
+
|
|
1925
|
+
**When:** the `PdfReader` search bar counts `0/0` while you type, finds only
|
|
1926
|
+
the first match in each line, misses a word split across two runs of text,
|
|
1927
|
+
misses `Café` when you type `cafe`, and never counts pages you have not
|
|
1928
|
+
scrolled to. Seen with versions before 2.2.0.
|
|
1929
|
+
**Why:** the search only counted the highlights already drawn, and highlighted
|
|
1930
|
+
the first case-insensitive match in each text run. Since 2.2.0 it reads the
|
|
1931
|
+
text of every page, drawn or not, as you type. Every match counts, including
|
|
1932
|
+
one split across runs, and case, accents, ligatures and the width of white
|
|
1933
|
+
space are ignored. The counter reads `0/N` until you move to a match, and
|
|
1934
|
+
Enter, F3 or the up and down buttons beside the counter show the match's page
|
|
1935
|
+
and mark it.
|
|
1936
|
+
**Fix:** update `@nxgt/material`.
|
|
1937
|
+
|
|
1938
|
+
### `initialPage` is ignored, or the page number does not follow scrolling
|
|
1939
|
+
|
|
1940
|
+
**When:** a `PdfReader` with `initialPage` opens on page 1 while its page
|
|
1941
|
+
field says the page you asked for; scrolling through the document leaves the
|
|
1942
|
+
page field, `onPageChange` and the highlighted thumbnail on the page you
|
|
1943
|
+
started from. Seen with versions before 2.2.0.
|
|
1944
|
+
**Why:** the reader scrolled to a page only when the page number changed, so
|
|
1945
|
+
the page it opened on was never scrolled to, and nothing watched the scroll.
|
|
1946
|
+
Since 2.2.0 it opens on `initialPage` once the page area is measured and the
|
|
1947
|
+
pages above it have their size (or after 2 seconds), and keeps it in place
|
|
1948
|
+
while the zoom settles, until you scroll or click in the page area; a number
|
|
1949
|
+
past the end opens the last page, a new `file` opens on `initialPage` again,
|
|
1950
|
+
and the page most on screen becomes the current page as you scroll. A page you
|
|
1951
|
+
ask for (keys, page field, thumbnail, outline, search) is scrolled to and
|
|
1952
|
+
reported once, not each page passed on the way. Only the reader's page area
|
|
1953
|
+
scrolls: the page around it no longer jumps to line the reader up.
|
|
1954
|
+
**Fix:** update `@nxgt/material`.
|
|
1955
|
+
|
|
1956
|
+
### `Type 'Blob' is not assignable to type 'string | File | null'` on `PdfReader`
|
|
1957
|
+
|
|
1958
|
+
**When:** before 2.2.0, passing a `Blob`, an `ArrayBuffer` or a `Uint8Array` to
|
|
1959
|
+
`file` (a `Uint8Array` shows as `Uint8Array<ArrayBufferLike>`). An inline
|
|
1960
|
+
`{ url, httpHeaders }` fails with `Object literal may only specify known
|
|
1961
|
+
properties, and 'url' does not exist in type 'File'` instead.
|
|
1962
|
+
**Why:** `file` took only a URL or a `File` then.
|
|
1963
|
+
**Fix:** upgrade; from 2.2.0 `file` takes all of them:
|
|
1964
|
+
|
|
1965
|
+
```sh
|
|
1966
|
+
bun add @nxgt/material@^2.2.0
|
|
1967
|
+
```
|
|
1968
|
+
|
|
1969
|
+
On an older version, wrap a Blob in a `File`
|
|
1970
|
+
(`new File([blob], 'invoice.pdf')`), or pass an object URL.
|
|
1971
|
+
|
|
1972
|
+
### `PdfReader cannot open [object …]`
|
|
1973
|
+
|
|
1974
|
+
The full message is `PdfReader cannot open [object Object]: pass a URL, a Blob,
|
|
1975
|
+
an ArrayBuffer, a Uint8Array or { url, httpHeaders }.`
|
|
1976
|
+
|
|
1977
|
+
**When:** rendering `PdfReader` throws this `TypeError`.
|
|
1978
|
+
**Why:** `file` is none of the sources the reader opens: an object without
|
|
1979
|
+
`url` (such as `{ path }` or `{ href }`), a number, or a response not read
|
|
1980
|
+
yet.
|
|
1981
|
+
**Fix:** pass the URL, or read the response into a Blob first:
|
|
1982
|
+
|
|
1983
|
+
```ts
|
|
1984
|
+
const file = await (await fetch('/api/report')).blob();
|
|
1985
|
+
```
|
|
1986
|
+
|
|
1987
|
+
### `The PDF file is empty, i.e. its size is zero bytes.`
|
|
1988
|
+
|
|
1989
|
+
**When:** `PdfReader` shows "Failed to load document" with this message, for
|
|
1990
|
+
an `ArrayBuffer` or a `Uint8Array`.
|
|
1991
|
+
**Why:** the buffer has no bytes: it was detached, transferred to a worker by
|
|
1992
|
+
pdf.js (another viewer, your own `getDocument` call) or by `postMessage`,
|
|
1993
|
+
before the reader got it. From 2.2.0 the reader copies the bytes it is given,
|
|
1994
|
+
so it never detaches your buffer itself.
|
|
1995
|
+
**Fix:** in a layout of your own, give react-pdf's `Document` the source from
|
|
1996
|
+
`usePdfSource(file)` (exported beside `usePdfReader` since 2.2.0), which copies
|
|
1997
|
+
bytes. Otherwise pass a copy to whatever transfers it, or keep the bytes as a
|
|
1998
|
+
`Blob`:
|
|
1999
|
+
|
|
2000
|
+
```ts
|
|
2001
|
+
pdfjs.getDocument({ data: bytes.slice(0) }); // your own pdf.js call gets a copy
|
|
2002
|
+
const blob = new Blob([bytes], { type: 'application/pdf' }); // or keep a Blob
|
|
2003
|
+
```
|
|
2004
|
+
|
|
2005
|
+
### The PDF reloads, and goes back to its first page, on every render
|
|
2006
|
+
|
|
2007
|
+
**When:** `file` is a `Blob`, an `ArrayBuffer` or a `Uint8Array` built during
|
|
2008
|
+
render.
|
|
2009
|
+
**Why:** a Blob or a buffer is compared by identity: a new object is a new
|
|
2010
|
+
document. A URL, even an inline `{ url, httpHeaders }` object, is compared by
|
|
2011
|
+
its URL and headers, so it does not reload.
|
|
2012
|
+
**Fix:** keep the same object between renders:
|
|
2013
|
+
|
|
2014
|
+
```tsx
|
|
2015
|
+
const file = useMemo(() => new Blob([bytes], { type: 'application/pdf' }), [bytes]);
|
|
2016
|
+
<PdfReader file={file} fileName="report.pdf" />
|
|
2017
|
+
```
|
|
2018
|
+
|
|
2019
|
+
### The PDF goes back to its first page when the access token is refreshed
|
|
2020
|
+
|
|
2021
|
+
**When:** `file` is `{ url, httpHeaders }` and the app renews its token, so
|
|
2022
|
+
`httpHeaders.Authorization` changes while the same document is open.
|
|
2023
|
+
**Why:** the headers are part of what identifies the document, as a
|
|
2024
|
+
different token may be a different user: new headers load the document
|
|
2025
|
+
again, and the reader starts again from `initialPage`.
|
|
2026
|
+
**Fix:** keep the headers the same while the document is open (a token
|
|
2027
|
+
that lives as long as the page does), or fetch the file once yourself and
|
|
2028
|
+
pass the Blob:
|
|
2029
|
+
|
|
2030
|
+
```tsx
|
|
2031
|
+
function Contract({ id, token }: { id: string; token: string }) {
|
|
2032
|
+
const [file, setFile] = useState<Blob | null>(null);
|
|
2033
|
+
// Only a new document fetches again; a new token does not.
|
|
2034
|
+
useEffect(() => {
|
|
2035
|
+
let cancelled = false;
|
|
2036
|
+
fetch(`/api/documents/${id}`, { headers: { Authorization: `Bearer ${token}` } })
|
|
2037
|
+
.then((response) => response.blob())
|
|
2038
|
+
.then((blob) => {
|
|
2039
|
+
if (!cancelled) setFile(blob);
|
|
2040
|
+
});
|
|
2041
|
+
return () => {
|
|
2042
|
+
cancelled = true;
|
|
2043
|
+
};
|
|
2044
|
+
}, [id]);
|
|
2045
|
+
return <PdfReader file={file} />;
|
|
2046
|
+
}
|
|
2047
|
+
```
|
|
2048
|
+
|
|
2049
|
+
### `An internal link leading to page 3 was clicked, but neither <Document> was provided with onItemClick…`
|
|
2050
|
+
|
|
2051
|
+
**When:** clicking a link inside the PDF (a table of contents, "see page 3")
|
|
2052
|
+
does nothing, and the console logs this react-pdf warning. Versions before
|
|
2053
|
+
2.2.0, when the target page was not drawn yet.
|
|
2054
|
+
**Why:** react-pdf scrolled to the page only if it was already on screen or
|
|
2055
|
+
close to it.
|
|
2056
|
+
**Fix:** update `@nxgt/material`: from 2.2.0 an internal link goes through the
|
|
2057
|
+
reader, like the page field, and the page number follows. In a layout of your
|
|
2058
|
+
own on react-pdf, pass `onItemClick={({ pageNumber }) => goToPage(pageNumber)}` to
|
|
2059
|
+
`Document`.
|
|
2060
|
+
|
|
2061
|
+
### A `DropdownMenu` opened in fullscreen does not show
|
|
2062
|
+
|
|
2063
|
+
**When:** an element of yours is in fullscreen (`requestFullscreen()`), and
|
|
2064
|
+
a `DropdownMenu` opened inside it stays invisible, though its button says it
|
|
2065
|
+
is open.
|
|
2066
|
+
**Why:** the menu is placed at the end of `body`, and in fullscreen the
|
|
2067
|
+
browser shows only the fullscreen element.
|
|
2068
|
+
**Fix:** place it in the fullscreen element with `DropdownMenuContent`'s
|
|
2069
|
+
`container` (from 2.2.0); `PdfReader`'s zoom menu does this itself:
|
|
2070
|
+
|
|
2071
|
+
```tsx
|
|
2072
|
+
import { useState } from 'react';
|
|
2073
|
+
import {
|
|
2074
|
+
DropdownMenu,
|
|
2075
|
+
DropdownMenuContent,
|
|
2076
|
+
DropdownMenuTrigger,
|
|
2077
|
+
} from '@nxgt/material/components';
|
|
2078
|
+
|
|
2079
|
+
const [container, setContainer] = useState<Element | null>(null); // in your component
|
|
2080
|
+
|
|
2081
|
+
<DropdownMenu onOpenChange={(open) => open && setContainer(document.fullscreenElement)}>
|
|
2082
|
+
<DropdownMenuTrigger>Actions</DropdownMenuTrigger>
|
|
2083
|
+
<DropdownMenuContent container={container}>…</DropdownMenuContent>
|
|
2084
|
+
</DropdownMenu>
|
|
2085
|
+
```
|
|
2086
|
+
|
|
2087
|
+
### A tooltip does not show in fullscreen
|
|
2088
|
+
|
|
2089
|
+
**When:** an element is in fullscreen (a `PdfReader` after its Fullscreen
|
|
2090
|
+
button, or your own `requestFullscreen()`), and hovering a button with a tooltip
|
|
2091
|
+
shows nothing. Seen with versions before 2.2.0.
|
|
2092
|
+
**Why:** the tooltip was placed at the end of `body`, and in fullscreen the
|
|
2093
|
+
browser shows only the fullscreen element.
|
|
2094
|
+
**Fix:** update `@nxgt/material`: a tooltip opens inside the element in
|
|
2095
|
+
fullscreen. To place it elsewhere, pass `container` to `Tooltip` or
|
|
2096
|
+
`TooltipContent`.
|
|
2097
|
+
|
|
2098
|
+
### A PDF page shows sideways in `PdfReader`
|
|
2099
|
+
|
|
2100
|
+
**When:** a page that other viewers show landscape (a scanned page, a wide
|
|
2101
|
+
table) is drawn portrait, its content turned a quarter, and the fit zoom and
|
|
2102
|
+
the gap it takes are those of a portrait page. Seen with versions before 2.2.0.
|
|
2103
|
+
**Why:** the page asks to be shown turned (`/Rotate` in the PDF), and the
|
|
2104
|
+
reader drew every page at its own rotation only, 0 until you pressed Rotate.
|
|
2105
|
+
Since 2.2.0 it adds the page's `/Rotate` to its own, for the page, its
|
|
2106
|
+
thumbnail, its placeholder and the fit.
|
|
2107
|
+
**Fix:** update `@nxgt/material`.
|
|
2108
|
+
|
|
2109
|
+
### The zoom changes by itself while a long PDF is open
|
|
2110
|
+
|
|
2111
|
+
**When:** in fit width or fit page, a `PdfReader` on a long document mixing
|
|
2112
|
+
page sizes shrinks its zoom a moment after it opened, sometimes while you are
|
|
2113
|
+
reading. Seen with versions before 2.2.0.
|
|
2114
|
+
**Why:** the fit took the largest of the page sizes read so far, and the sizes
|
|
2115
|
+
arrive 25 pages at a time: a larger page read later moved the zoom. Since
|
|
2116
|
+
2.2.0 the fit uses the first 25 pages, read together when the document
|
|
2117
|
+
opens, and never moves after that; a wider page further on scrolls sideways in
|
|
2118
|
+
fit width. The fit also stops at 500%, where a tiny page used to fit to any
|
|
2119
|
+
zoom.
|
|
2120
|
+
**Fix:** update `@nxgt/material`. To keep one zoom from the start, use
|
|
2121
|
+
`defaultFitMode="custom"` with an `initialScale`.
|
|
2122
|
+
|
|
2123
|
+
### A link in a PDF replaces the page the reader is on
|
|
2124
|
+
|
|
2125
|
+
**When:** clicking a web address inside a document shown by `PdfReader`
|
|
2126
|
+
navigates the tab away from your app. Seen with versions before 2.2.0.
|
|
2127
|
+
**Why:** the link opened as the PDF asked, which is the same tab unless the link
|
|
2128
|
+
says a new window. Since 2.2.0 it opens in a new tab.
|
|
2129
|
+
**Fix:** update `@nxgt/material`. `externalLinkTarget` picks another target,
|
|
2130
|
+
such as `'_self'` for the previous behaviour.
|
|
2131
|
+
|
|
2132
|
+
### `onPageChange` is not called when `initialPage` is past the end, or after a new file
|
|
2133
|
+
|
|
2134
|
+
**When:** `initialPage` is larger than the document, and the reader opens on the
|
|
2135
|
+
last page without reporting it; or `file` changes and the reader goes back to
|
|
2136
|
+
`initialPage` while your page state keeps the old number. Seen with versions
|
|
2137
|
+
before 2.2.0.
|
|
2138
|
+
**Why:** only pages you moved to were reported, not the pages the reader moved
|
|
2139
|
+
to itself. Since 2.2.0 both are reported, once.
|
|
2140
|
+
**Fix:** update `@nxgt/material`. A page you kept in sync by hand can go.
|
|
2141
|
+
|
|
2142
|
+
---
|
|
2143
|
+
|
|
2144
|
+
## Reporting a bug
|
|
2145
|
+
|
|
2146
|
+
If an error comes from inside this package and none of the entries above
|
|
2147
|
+
applies, report it to the maintainers at <stevegires@gmail.com> with the
|
|
2148
|
+
`@nxgt/material` version, the full message, whether the app is SSR or SPA, and
|
|
2149
|
+
the bundler and its version.
|