@nxgt/material 3.56.0 → 3.58.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/CHANGELOG.md +22 -0
- package/README.md +2 -1
- package/dist/{async-slice-CORlM_wu.js → async-slice-C_Juki7i.js} +2 -2
- package/dist/{background-BtSZsTvY.js → background-qdnet2A5.js} +124 -83
- package/dist/backgrounds.js +1 -1
- package/dist/{button-CdpVEza0.js → button-CCHGtPIN.js} +97 -74
- package/dist/{callout-view-C6voDS00.js → callout-view-C7UznnDW.js} +1 -1
- package/dist/charts.js +1531 -1489
- package/dist/{chip-C0yNYz9m.js → chip-1XnyX4bd.js} +2 -2
- package/dist/{code-editor-Bwzp2038.js → code-editor-1Y7ykpam.js} +307 -277
- package/dist/code-editor.js +14 -14
- package/dist/{code-language-items-nP-pF7yH.js → code-language-items-Clbln9C6.js} +2 -2
- package/dist/{components-Dl2hVfzt.js → components-Cj3lJ_uK.js} +28593 -25906
- package/dist/components.js +26 -26
- package/dist/{convert-XAkWyO8-.js → convert-7g-F5cNf.js} +1 -1
- package/dist/{dialog-BVgsN9Ch.js → dialog-Cx_xWUVR.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/draw-animate.js +1 -1
- package/dist/{dropdown-menu-C8PBmMIa.js → dropdown-menu-Jp6pHNgP.js} +1 -1
- package/dist/editor-viewer.js +1 -1
- package/dist/editor.js +715 -607
- package/dist/empty-state-D61RimJr.js +139 -0
- package/dist/{escape-owner-CYnfySUl.js → escape-owner-Ch_-kDLw.js} +1 -1
- package/dist/{field-blur-Nid7-bt_.js → field-blur-BJjUHsgJ.js} +1 -1
- package/dist/{field-blur-context-DxdIuHAY.js → field-blur-context-CmOF0FIN.js} +1 -1
- package/dist/{headless-extensions-CvmdhANJ.js → headless-extensions-B1NAgmkE.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-C_9jiwp1.js → hover-card-CVmY0Z44.js} +2 -2
- package/dist/{i18n-provider-CLVZK6tQ.js → i18n-provider-C0uLEv0G.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-Dcjg_SKJ.js → icon-badge-bAQQK3ls.js} +3 -3
- package/dist/{icon-button-Bo-VuZ2n.js → icon-button-Csvj2R8S.js} +59 -59
- package/dist/{illustration-B4_W-OUS.js → illustration-DjZXUFbz.js} +11 -11
- package/dist/illustrations.js +1 -1
- package/dist/lib/backgrounds/background/background.d.ts +1 -1
- package/dist/lib/backgrounds/background/partials/use-background-scenes.d.ts +22 -0
- package/dist/lib/backgrounds/background/partials/use-themed-background.d.ts +304 -0
- package/dist/lib/components/ui/actions/action-card/action-card-semantics-branches.d.ts +63 -0
- package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +0 -4
- package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +3 -1
- package/dist/lib/components/ui/actions/action-card/use-action-card.d.ts +80 -0
- package/dist/lib/components/ui/actions/button/button-busy.d.ts +8 -0
- package/dist/lib/components/ui/actions/button/button.classes.d.ts +7 -0
- package/dist/lib/components/ui/actions/toolbar/use-toolbar-state.d.ts +22 -0
- package/dist/lib/components/ui/collections/data-grid/columns/column-check.d.ts +15 -0
- package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +1 -12
- package/dist/lib/components/ui/collections/data-grid/editors/editor-props.d.ts +20 -0
- package/dist/lib/components/ui/collections/data-grid/editors/editor-route-key.d.ts +11 -0
- package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-access.d.ts +26 -0
- package/dist/lib/components/ui/collections/data-grid/partials/grid-header-name.d.ts +15 -0
- package/dist/lib/components/ui/collections/data-grid/partials/header-menu-button.d.ts +17 -0
- package/dist/lib/components/ui/collections/data-grid/partials/open-header-menu.d.ts +14 -0
- package/dist/lib/components/ui/collections/data-grid/partials/width-field.d.ts +18 -0
- package/dist/lib/components/ui/collections/data-grid/phone/phone-item.d.ts +2 -2
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-card-list.d.ts +17 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/list-bar-clear.d.ts +10 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/list-bar-in-row.d.ts +18 -0
- package/dist/lib/components/ui/collections/data-table/partials/page-button.d.ts +12 -0
- package/dist/lib/components/ui/collections/data-table/partials/page-icon-control.d.ts +21 -0
- package/dist/lib/components/ui/collections/data-table/partials/pager-buttons.d.ts +7 -0
- package/dist/lib/components/ui/collections/data-table/use-data-table-setup.d.ts +36 -0
- package/dist/lib/components/ui/collections/facet-group/partials/facet-group-header.d.ts +11 -0
- package/dist/lib/components/ui/collections/filter/filter-field-config-base.utils.d.ts +13 -0
- package/dist/lib/components/ui/collections/filter/filter-field-config-choice.utils.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/filter-field-config-value.utils.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/filter-field-config.utils.d.ts +6 -0
- package/dist/lib/components/ui/collections/filter/filter-legacy.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/filter-persistence-url-value.utils.d.ts +9 -0
- package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +1 -5
- package/dist/lib/components/ui/collections/filter/filter-validation-presets.utils.d.ts +24 -0
- package/dist/lib/components/ui/collections/filter/filter-validation-rules.utils.d.ts +11 -0
- package/dist/lib/components/ui/collections/filter/filter-validation.utils.d.ts +1 -23
- package/dist/lib/components/ui/collections/filter/partials/filter-field-special.d.ts +8 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-form-field-variant.d.ts +10 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-group-fields.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-legacy-variant.d.ts +3 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-preset-fields.d.ts +9 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-presets-menu-items.d.ts +13 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-presets-menu.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-presets-save-dialog.d.ts +7 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-presets-save-trigger.d.ts +7 -0
- package/dist/lib/components/ui/collections/filter/query/types.d.ts +3 -39
- package/dist/lib/components/ui/collections/filter/query/use-filter-query-options.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/query/use-filter-query-value.d.ts +2 -2
- package/dist/lib/components/ui/collections/filter/query/view-types.d.ts +40 -0
- package/dist/lib/components/ui/collections/filter/sections/use-filter-search.d.ts +14 -0
- package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +7483 -0
- package/dist/lib/components/ui/collections/list-pane/partials/list-pane-body.d.ts +12 -0
- package/dist/lib/components/ui/collections/list-pane/partials/list-pane-item-content.d.ts +15 -0
- package/dist/lib/components/ui/collections/list-pane/partials/list-pane-search.d.ts +8 -0
- package/dist/lib/components/ui/collections/pagination/pagination-bar-pages.d.ts +8 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-action-button.d.ts +26 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-buttons.d.ts +13 -11
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-entries.d.ts +11 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +1 -28
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-keys.d.ts +37 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-grid-paging.d.ts +8 -0
- package/dist/lib/components/ui/collections/server-table/types-filter.d.ts +70 -0
- package/dist/lib/components/ui/collections/server-table/types-states.d.ts +42 -0
- package/dist/lib/components/ui/collections/server-table/types.d.ts +4 -110
- package/dist/lib/components/ui/collections/tree/tree-expand-button.d.ts +6 -0
- package/dist/lib/components/ui/collections/tree/use-tree-keys.d.ts +14 -0
- package/dist/lib/components/ui/collections/tree/use-tree-select.d.ts +14 -0
- package/dist/lib/components/ui/collections/tree/use-tree.d.ts +5 -4
- package/dist/lib/components/ui/dates/calendar/calendar-year-button.d.ts +10 -0
- package/dist/lib/components/ui/dates/calendar/calendar-year-nav.d.ts +9 -0
- package/dist/lib/components/ui/dates/date-field/date-field-parts.d.ts +78 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-body-scroll.d.ts +15 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/preview-calendar-props.d.ts +11 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/use-cancel-range.d.ts +6 -0
- package/dist/lib/components/ui/dates/date-range-field/use-end-on.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-range-field/use-typed-range.d.ts +2 -3
- package/dist/lib/components/ui/dates/mini-month/partials/mini-month-day.d.ts +8 -0
- package/dist/lib/components/ui/dates/mini-month/partials/mini-month-head.d.ts +18 -0
- package/dist/lib/components/ui/dates/mini-month/partials/mini-month-markers.d.ts +5 -0
- package/dist/lib/components/ui/dates/mini-month/partials/use-grid-focus.d.ts +11 -0
- package/dist/lib/components/ui/dates/picker-trigger/typed-box-parts.d.ts +12 -0
- package/dist/lib/components/ui/dates/time-field/partials/use-time-field-model.d.ts +14 -5
- package/dist/lib/components/ui/dates/time-picker/partials/time-column.d.ts +13 -0
- package/dist/lib/components/ui/display/cards/cards.stories.data.detail.d.ts +9 -0
- package/dist/lib/components/ui/display/cards/cards.stories.data.feed.d.ts +7 -0
- package/dist/lib/components/ui/display/cards/cards.stories.data.intro.d.ts +11 -0
- package/dist/lib/components/ui/display/cards/types-detail.d.ts +74 -0
- package/dist/lib/components/ui/display/cards/types-feed.d.ts +41 -0
- package/dist/lib/components/ui/display/cards/types-intro.d.ts +76 -0
- package/dist/lib/components/ui/display/cards/types.d.ts +3 -187
- package/dist/lib/components/ui/display/code/code-block-parts.d.ts +16 -0
- package/dist/lib/components/ui/display/enrolment-secret/enrolment-secret-manual.d.ts +9 -0
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-start.d.ts +11 -0
- package/dist/lib/components/ui/display/event-chip/event-chip-content.d.ts +12 -0
- package/dist/lib/components/ui/display/param-table/param-table-views.d.ts +19 -0
- package/dist/lib/components/ui/display/recovery-codes/partials/use-recovery-codes-actions.d.ts +22 -0
- package/dist/lib/components/ui/display/recovery-codes-status/partials/recovery-codes-status-plain.d.ts +13 -0
- package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog-actions.d.ts +6 -0
- package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog.d.ts +1 -3
- package/dist/lib/components/ui/feedback/confirm-dialog/use-confirm-action.d.ts +16 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/use-confirmation-form.d.ts +18 -0
- package/dist/lib/components/ui/feedback/countdown-timer/countdown-ring.d.ts +7 -0
- package/dist/lib/components/ui/feedback/countdown-timer/countdown-timer.d.ts +9 -1
- package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-body.d.ts +10 -0
- package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-dot.d.ts +2 -0
- package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-open.d.ts +5 -0
- package/dist/lib/components/ui/feedback/notifications/notifications-model.d.ts +59 -0
- package/dist/lib/components/ui/feedback/notifications/use-notifications-chrome.d.ts +17 -0
- package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +4 -38
- package/dist/lib/components/ui/feedback/spinner/spinner-variants.d.ts +5 -0
- package/dist/lib/components/ui/feedback/spinner/spinner.d.ts +1 -5
- package/dist/lib/components/ui/feedback/state-frame/state-frame-text.d.ts +10 -0
- package/dist/lib/components/ui/feedback/state-frame/use-state-media.d.ts +14 -0
- package/dist/lib/components/ui/feedback/step-dots/step-dot.d.ts +13 -0
- package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +2 -1
- package/dist/lib/components/ui/feedback/step-up-dialog/describe-by.d.ts +4 -0
- package/dist/lib/components/ui/feedback/step-up-dialog/use-step-up-view.d.ts +34 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/attribute-options-form-fields.d.ts +7 -0
- package/dist/lib/components/ui/fields/attributes/attributes-list/attribute-tile.d.ts +11 -0
- package/dist/lib/components/ui/fields/attributes/partials/editor-rows.d.ts +15 -0
- package/dist/lib/components/ui/fields/contacts/partials/contact-groups.d.ts +20 -0
- package/dist/lib/components/ui/fields/contacts/partials/contact-tile.d.ts +13 -0
- package/dist/lib/components/ui/fields/contacts/partials/dialog-actions.d.ts +14 -0
- package/dist/lib/components/ui/fields/contacts/partials/dialog-fields.d.ts +14 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +2 -0
- package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +2 -0
- package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +2 -0
- package/dist/lib/components/ui/fields/currency-field/use-currency-amount.d.ts +17 -0
- package/dist/lib/components/ui/fields/field/render-choice-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/inline-edit/inline-edit-display.d.ts +12 -0
- package/dist/lib/components/ui/fields/inline-edit/inline-edit-editor.d.ts +14 -0
- package/dist/lib/components/ui/fields/inline-edit/use-inline-edit.d.ts +19 -0
- package/dist/lib/components/ui/fields/opening-hours/logic/missing-days.d.ts +3 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/day-switch.d.ts +14 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/dialog-actions.d.ts +13 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/dialog-fields.d.ts +14 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/hours-actions.d.ts +9 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/hours-tile.d.ts +11 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/week-rows.d.ts +14 -0
- package/dist/lib/components/ui/fields/opening-hours/use-hours-editor.d.ts +1 -0
- package/dist/lib/components/ui/fields/phone-field/phone-country-list.d.ts +10 -0
- package/dist/lib/components/ui/fields/phone-field/phone-dial-button.d.ts +10 -0
- package/dist/lib/components/ui/fields/phone-field/phone-number-input.d.ts +19 -0
- package/dist/lib/components/ui/fields/phone-field/use-phone-value.d.ts +17 -0
- package/dist/lib/components/ui/fields/postal-address/postal-address-dialog-actions.d.ts +14 -0
- package/dist/lib/components/ui/fields/postal-address/postal-address-dialog-fields.d.ts +10 -0
- package/dist/lib/components/ui/fields/rating-field/rating-color.d.ts +4 -0
- package/dist/lib/components/ui/fields/rating-field/rating-field.d.ts +1 -4
- package/dist/lib/components/ui/fields/rating-field/rating-star.d.ts +22 -0
- package/dist/lib/components/ui/fields/rating-field/use-rating.d.ts +16 -0
- package/dist/lib/components/ui/fields/search-field/search-box.d.ts +11 -0
- package/dist/lib/components/ui/fields/search-field/use-search-value.d.ts +21 -0
- package/dist/lib/components/ui/fields/slider/slider-control-row.d.ts +10 -0
- package/dist/lib/components/ui/fields/slider/slider-group-props.d.ts +16 -0
- package/dist/lib/components/ui/fields/slider/slider-group.d.ts +14 -0
- package/dist/lib/components/ui/fields/slider/slider-horizontal.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/slider-vertical.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/slider.d.ts +1 -1
- package/dist/lib/components/ui/fields/slider/use-slider-value.d.ts +10 -0
- package/dist/lib/components/ui/fields/textarea-field/textarea-footer.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/activity-chrome.d.ts +17 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content-header.d.ts +15 -0
- package/dist/lib/components/ui/layout/app-shell/app-header-menu.d.ts +5 -0
- package/dist/lib/components/ui/layout/app-shell/band-boxes.d.ts +3 -0
- package/dist/lib/components/ui/layout/app-shell/collect-content.d.ts +24 -0
- package/dist/lib/components/ui/layout/app-shell/keep-inside-checker.d.ts +10 -0
- package/dist/lib/components/ui/layout/app-shell/page-title-focus.d.ts +32 -0
- package/dist/lib/components/ui/layout/app-shell/page-title-scope.d.ts +53 -0
- package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +2 -82
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +3 -13
- package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +2 -18
- package/dist/lib/components/ui/layout/auth-card/auth-card-parts.d.ts +25 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-header-parts.d.ts +18 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +2 -4
- package/dist/lib/components/ui/layout/doc/partials/doc-nav-parts.d.ts +11 -0
- package/dist/lib/components/ui/layout/doc/use-doc-effects.d.ts +23 -0
- package/dist/lib/components/ui/layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item-content.d.ts +7 -0
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -47
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.types.d.ts +54 -0
- package/dist/lib/components/ui/layout/sticky-action-bar/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/sticky-action-bar/keyboard-inset.d.ts +17 -0
- package/dist/lib/components/ui/layout/sticky-action-bar/sticky-action-bar.d.ts +17 -0
- package/dist/lib/components/ui/layout/sticky-action-bar/use-keyboard-inset.d.ts +8 -0
- package/dist/lib/components/ui/layout/toc/toc-list.d.ts +16 -0
- package/dist/lib/components/ui/media/compare-slider/partials/compare-slider-handle.d.ts +9 -0
- package/dist/lib/components/ui/media/compare-slider/use-compare-slider.d.ts +22 -0
- package/dist/lib/components/ui/media/file-list/file-list-field.d.ts +1 -1
- package/dist/lib/components/ui/media/file-list/partials/file-list-dropzone.d.ts +13 -0
- package/dist/lib/components/ui/media/file-list/partials/file-list-input.d.ts +11 -0
- package/dist/lib/components/ui/media/file-list/partials/file-list-items.d.ts +14 -0
- package/dist/lib/components/ui/media/file-list/partials/file-list-row-actions.d.ts +12 -0
- package/dist/lib/components/ui/media/file-list/use-file-list-field.d.ts +33 -0
- package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +2 -6
- package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-zoom.d.ts +2 -0
- package/dist/lib/components/ui/media/galleries/partials/gallery-featured-arrows.d.ts +2 -0
- package/dist/lib/components/ui/media/galleries/partials/gallery-tile-media.d.ts +17 -0
- package/dist/lib/components/ui/media/galleries/partials/gallery-viewer-button.d.ts +6 -0
- package/dist/lib/components/ui/media/galleries/use-gallery-navigation.d.ts +18 -0
- package/dist/lib/components/ui/media/galleries/use-gallery-sync.d.ts +15 -0
- package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-actions.d.ts +12 -0
- package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-controls.d.ts +8 -0
- package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-stage.d.ts +12 -0
- package/dist/lib/components/ui/media/image-cropper/use-image-cropper.d.ts +34 -0
- package/dist/lib/components/ui/media/image-editor/image-editor.slice.d.ts +43 -43
- package/dist/lib/components/ui/media/image-editor/image-editor.stage-gestures.d.ts +29 -0
- package/dist/lib/components/ui/media/image-editor/image-editor.stage-paint.d.ts +17 -0
- package/dist/lib/components/ui/media/image-editor/partials/crop-aspect-picker.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/crop-orientation.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/editor-export-options.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/editor-file-info.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/editor-history-buttons.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/markup-brush-section.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/markup-tool-picker.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/types-edits.d.ts +106 -0
- package/dist/lib/components/ui/media/image-editor/types-session.d.ts +58 -0
- package/dist/lib/components/ui/media/image-editor/types.d.ts +4 -163
- package/dist/lib/components/ui/media/image-editor/use-crop-frame.d.ts +26 -0
- package/dist/lib/components/ui/media/image-editor/use-image-editor-keys.d.ts +4 -0
- package/dist/lib/components/ui/media/image-editor/use-image-editor.d.ts +10 -10
- package/dist/lib/components/ui/media/image-editor/use-markup-text.d.ts +10 -0
- package/dist/lib/components/ui/media/image-editor/use-stage-layer-key.d.ts +6 -0
- package/dist/lib/components/ui/media/image-editor/use-stage-pointer.d.ts +2 -3
- package/dist/lib/components/ui/media/media-player/partials/panels/transcript-follow.d.ts +7 -0
- package/dist/lib/components/ui/media/media-player/partials/panels/transcript-notice.d.ts +7 -0
- package/dist/lib/components/ui/media/media-player/partials/panels/use-search-announcement.d.ts +6 -0
- package/dist/lib/components/ui/media/media-player/partials/playlist-item.d.ts +13 -0
- package/dist/lib/components/ui/media/pdf-reader/partials/search-nav-buttons.d.ts +4 -0
- package/dist/lib/components/ui/media/pdf-reader/use-reader-chrome-state.d.ts +35 -0
- package/dist/lib/components/ui/media/pdf-reader/use-reader-chrome-value.d.ts +14 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-dropzone-body.d.ts +8 -0
- package/dist/lib/components/ui/primitives/segmented-input/segmented-input-cells.d.ts +20 -0
- package/dist/lib/components/ui/primitives/segmented-input/use-segment-paste.d.ts +17 -0
- package/dist/lib/components/ui/primitives/segmented-input/use-segmented-keys.d.ts +17 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete-equality.d.ts +7 -0
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +2 -19
- package/dist/lib/components/ui/selection/autocomplete/types.d.ts +19 -1
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-handlers.d.ts +5 -6
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-leave.d.ts +14 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-picks.d.ts +17 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-typing.d.ts +14 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete.d.ts +3 -3
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -23
- package/dist/lib/components/ui/selection/checkbox-group/partials/checkbox-group-options.d.ts +10 -0
- package/dist/lib/components/ui/selection/checkbox-group/types.d.ts +23 -0
- package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +2 -1
- package/dist/lib/components/ui/selection/color-swatches/color-swatches.utils.d.ts +3 -0
- package/dist/lib/components/ui/selection/color-swatches/partials/color-swatch-button.d.ts +13 -0
- package/dist/lib/components/ui/selection/color-swatches/partials/color-swatch-styles.d.ts +3 -0
- package/dist/lib/components/ui/selection/color-swatches/partials/custom-color-swatch.d.ts +11 -0
- package/dist/lib/components/ui/selection/color-swatches/types.d.ts +1 -0
- package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +3 -48
- package/dist/lib/components/ui/selection/combobox-field/partials/combobox-field-input.d.ts +4 -0
- package/dist/lib/components/ui/selection/combobox-field/types.d.ts +47 -0
- package/dist/lib/components/ui/selection/combobox-field/use-combobox-field-aria.d.ts +15 -0
- package/dist/lib/components/ui/selection/combobox-field/use-combobox-field-items.d.ts +1 -1
- package/dist/lib/components/ui/selection/combobox-field/use-typed-query.d.ts +8 -0
- package/dist/lib/components/ui/selection/option-tile/use-status-text.d.ts +3 -0
- package/dist/lib/components/ui/selection/radio-group/partials/radio-group-options.d.ts +7 -0
- package/dist/lib/components/ui/selection/radio-group/partials/radio-group-parts.d.ts +4 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +3 -24
- package/dist/lib/components/ui/selection/radio-group/types.d.ts +22 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-footer.d.ts +4 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-frame.d.ts +20 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-parts.d.ts +20 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-props.d.ts +298 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-chrome.d.ts +20 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-data.d.ts +20 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-grab.d.ts +15 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-moves.d.ts +18 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +7 -8
- package/dist/lib/components/ui/selection/switcher/partials/switcher-recent.d.ts +11 -0
- package/dist/lib/components/ui/selection/switcher/partials/switcher-row-body.d.ts +8 -0
- package/dist/lib/components/ui/selection/switcher/switcher-list-keys.d.ts +17 -0
- package/dist/lib/components/ui/selection/switcher/switcher.d.ts +1 -1
- package/dist/lib/components/ui/selection/switcher/use-switcher-clip.d.ts +9 -0
- package/dist/lib/components/ui/selection/switcher/use-switcher-list-focus.d.ts +14 -0
- package/dist/lib/components/ui/selection/switcher/use-switcher-open.d.ts +9 -0
- package/dist/lib/components/ui/selection/switcher/use-switcher-panel.d.ts +24 -0
- package/dist/lib/components/ui/selection/switcher/use-switcher.d.ts +326 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-frame.d.ts +19 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-item-row.d.ts +2 -3
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-listbox.d.ts +5 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-row-parts.d.ts +16 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-row-props.d.ts +283 -0
- package/dist/lib/components/ui/selection/transfer-list/transfer-list.keyboard.d.ts +3 -2
- package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-actions.d.ts +3 -2
- package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-checks.d.ts +18 -0
- package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-derived.d.ts +14 -0
- package/dist/lib/components/ui/selection/transfer-list/use-transfer-list.d.ts +1 -1
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-chips.d.ts +9 -0
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-trigger-button.d.ts +15 -0
- package/dist/lib/components/ui/widgets/chat/chat-message.d.ts +1 -1
- package/dist/lib/components/ui/widgets/chat/chat-message.view.d.ts +32 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-notices.d.ts +8 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-surface.d.ts +11 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-skeleton.d.ts +4 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-text.d.ts +10 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-inbox-list.d.ts +8 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-inbox-thread.d.ts +11 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-message-action-menus.d.ts +17 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-message-body.d.ts +6 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-scroll-to-latest.d.ts +7 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-typing-row.d.ts +9 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-inbox-pane.d.ts +13 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-widget-open.d.ts +19 -0
- package/dist/lib/components/ui/widgets/code-editor/toolbar/code-view-tools.d.ts +10 -0
- package/dist/lib/components/ui/widgets/code-editor/use-monaco-options.d.ts +9 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/accordion/accordion-item-actions.d.ts +7 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/action-card/action-card-tile.d.ts +10 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/select-card/select-card-tile.d.ts +11 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/select-card/toggle-selection.d.ts +3 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/use-node-list.d.ts +11 -0
- package/dist/lib/components/ui/widgets/editor/extensions/emoji/use-emoji-groups.d.ts +13 -0
- package/dist/lib/components/ui/widgets/editor/presets/compact-editor-parts.d.ts +10 -0
- package/dist/lib/components/ui/widgets/editor/presets/document-editor-frame-parts.d.ts +19 -0
- package/dist/lib/components/ui/widgets/editor/presets/document-editor-layout.d.ts +5 -0
- package/dist/lib/components/ui/widgets/editor/presets/document-editor-overlays.d.ts +6 -0
- package/dist/lib/components/ui/widgets/editor/presets/document-editor-page-parts.d.ts +25 -0
- package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/composer-class.d.ts +8 -0
- package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/composer-toolbar.d.ts +6 -0
- package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/format-buttons.d.ts +8 -0
- package/dist/lib/components/ui/widgets/editor/presets/use-document-features.d.ts +15 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-body.d.ts +5 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-content.d.ts +3 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-extras.d.ts +10 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-outcome.d.ts +7 -0
- package/dist/lib/components/ui/widgets/education/questions/question-options.keyboard.d.ts +17 -0
- package/dist/lib/components/ui/widgets/education/questions/question.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/types.d.ts +3 -2
- package/dist/lib/components/ui/widgets/education/quizzes/partials/quiz-shortcuts.d.ts +6 -0
- package/dist/lib/components/ui/widgets/education/quizzes/partials/results-actions.d.ts +7 -0
- package/dist/lib/components/ui/widgets/education/quizzes/partials/results-ring.d.ts +5 -0
- package/dist/lib/components/ui/widgets/education/quizzes/quiz.flow.d.ts +29 -0
- package/dist/lib/components/ui/widgets/education/quizzes/quiz.slice.d.ts +3 -0
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-actions.d.ts +20 -0
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-flow.d.ts +29 -0
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-lifecycle.d.ts +12 -0
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +2 -1
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-step-buttons.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-cell-class.d.ts +9 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-parts.d.ts +12 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-month-day.d.ts +26 -0
- package/dist/lib/components/ui/widgets/kanban/kanban.drag.d.ts +15 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-card-tile.d.ts +7 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-column-cards.d.ts +8 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-drag-preview.d.ts +8 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-group-header.d.ts +8 -0
- package/dist/lib/components/ui/widgets/kanban/use-kanban-item-actions.d.ts +20 -0
- package/dist/lib/components/ui/widgets/native-charts/core/base-props-types.d.ts +64 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference-geometry.d.ts +62 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference-types.d.ts +35 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +1 -56
- package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +2 -96
- package/dist/lib/components/ui/widgets/native-charts/hooks/use-model-parts.d.ts +20 -0
- package/dist/lib/components/ui/widgets/native-charts/hooks/use-model-shown.d.ts +23 -0
- package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/line-strokes.d.ts +10 -0
- package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/use-line-reveal.d.ts +9 -0
- package/dist/lib/i18n/resources/en/en.d.ts +5 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +6 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +5 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +6 -1
- package/dist/lib/i18n/resources/resources.d.ts +10 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/map/components/partials/default-location.d.ts +2 -0
- package/dist/lib/map/components/partials/location-dialog.d.ts +17 -0
- package/dist/lib/print/components/print-document/print-document.d.ts +2 -37
- package/dist/lib/print/components/print-document/print-document.types.d.ts +37 -0
- package/dist/lib/print/components/print-document/use-print-context.d.ts +11 -0
- package/dist/lib.js +55 -48
- package/dist/main.js +43 -43
- package/dist/map.js +91 -74
- package/dist/material.css +1 -1
- package/dist/{nxgt-theme-ivgNca3z.js → nxgt-theme-DA1IQe0O.js} +5 -5
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +121 -107
- package/dist/{public-BtKAthSs.js → public-B42vT7ee.js} +362 -332
- package/dist/{render-json-BOhvPnSv.js → render-json-COvAkihK.js} +3 -3
- package/dist/{rich-code-block-BZYZ6ewr.js → rich-code-block-DIJ1X1AF.js} +5 -5
- package/dist/{rich-text-viewer-W15XIwah.js → rich-text-viewer-CXJp584B.js} +3 -3
- package/dist/{sortable-provider-hUCwt69K.js → sortable-provider-Csby6WpB.js} +2 -2
- package/dist/{spinner-BmUXTzvJ.js → spinner-DC35lhqx.js} +3 -1
- package/dist/{stored-language-_OGPBCn0.js → stored-language-BIxd7uiP.js} +8 -2
- package/dist/theme-picker.js +3 -3
- package/dist/{theme-toggle-DdvEafno.js → theme-toggle-BWdNFLvB.js} +1 -1
- package/dist/themes.js +1 -1
- package/dist/{toolbar-items-DKfY_6AG.js → toolbar-items-oqmVfnfO.js} +578 -567
- package/dist/{translate-material-DzBMPErh.js → translate-material-Bgtjuh85.js} +2 -2
- package/dist/{translator-BIVSiq4X.js → translator-BrZv1U54.js} +1 -1
- package/dist/{use-chat-composer-DCQW2EJ8.js → use-chat-composer-Dj0TP_B1.js} +8456 -8177
- package/dist/{use-heading-spy-Cr2C_Px8.js → use-heading-spy-1Dqxj_JQ.js} +1 -1
- package/dist/{use-material-translation-C_bAxfvp.js → use-material-translation-DLdQKdfw.js} +2 -2
- package/dist/use-shape-morph-BKA_R5P5.js +35 -0
- package/dist/{youtube-node-OWSNlYCc.js → youtube-node-A3NPAPgK.js} +27 -27
- package/docs/components/feedback-and-status.md +8 -2
- package/docs/components/navigation-and-layout.md +47 -0
- package/docs/components/rich-widgets.md +3 -3
- package/docs/guides/data-grid.md +11 -1
- package/docs/previews/navigation-layout-stickyactionbar.webp +0 -0
- package/docs/roadmap.md +9 -1
- package/package.json +1 -1
- package/dist/empty-state-C5wfbbW9.js +0 -117
- package/dist/use-shape-morph-DXdy2X5g.js +0 -35
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
+
import { t } from "./use-material-translation-DLdQKdfw.js";
|
|
3
|
+
import { i as n } from "./escape-owner-Ch_-kDLw.js";
|
|
4
|
+
import { a as r, c as i, i as a, n as o, o as s, r as c, t as l, u } from "./state-scenes-BX03WmSu.js";
|
|
5
|
+
import { Suspense as d } from "react";
|
|
6
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
7
|
+
import { AlertCircle as m, Construction as h, FileQuestion as g, PackageOpen as _, Search as v, ShieldAlert as y, WifiOff as b } from "lucide-react";
|
|
8
|
+
import { STATE_ACCENT as x, STATE_ICON as S, stateCopy as C } from "@nxgt/material-core/states";
|
|
9
|
+
//#region lib/components/ui/feedback/state-frame/state-frame-text.tsx
|
|
10
|
+
function w({ title: t, description: r, headingLevel: i, inline: a, compact: o }) {
|
|
11
|
+
return t == null && r == null ? null : /* @__PURE__ */ p("div", {
|
|
12
|
+
className: e("flex flex-col", a ? "min-w-0 flex-1 gap-0.5" : "max-w-sm gap-2"),
|
|
13
|
+
children: [t != null && /* @__PURE__ */ f(n, {
|
|
14
|
+
as: i ? `h${i}` : void 0,
|
|
15
|
+
variant: a ? "normal" : o ? "title-medium" : "headline-small",
|
|
16
|
+
className: e("tracking-tight text-balance", a && "font-medium"),
|
|
17
|
+
children: t
|
|
18
|
+
}), r != null && /* @__PURE__ */ f(n, {
|
|
19
|
+
variant: a ? "body-small" : "body-medium",
|
|
20
|
+
className: "text-pretty",
|
|
21
|
+
children: r
|
|
22
|
+
})]
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region lib/components/ui/feedback/state-frame/state-icon.tsx
|
|
27
|
+
var T = {
|
|
28
|
+
"package-open": _,
|
|
29
|
+
search: v,
|
|
30
|
+
"file-question": g,
|
|
31
|
+
"shield-alert": y,
|
|
32
|
+
"alert-circle": m,
|
|
33
|
+
"wifi-off": b,
|
|
34
|
+
construction: h
|
|
35
|
+
};
|
|
36
|
+
function E({ kind: e }) {
|
|
37
|
+
let t = T[S[e]];
|
|
38
|
+
return /* @__PURE__ */ f(t, { "aria-hidden": "true" });
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region lib/components/ui/feedback/state-frame/state-scene-illustration.tsx
|
|
42
|
+
function D({ scene: e, size: t }) {
|
|
43
|
+
return /* @__PURE__ */ f("div", {
|
|
44
|
+
"data-slot": "illustration",
|
|
45
|
+
"data-scene": e,
|
|
46
|
+
"data-size": t,
|
|
47
|
+
"data-fallback": "",
|
|
48
|
+
"aria-hidden": "true",
|
|
49
|
+
children: /* @__PURE__ */ f(r, {
|
|
50
|
+
kind: l[e] ?? "empty",
|
|
51
|
+
className: "h-full w-full"
|
|
52
|
+
})
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
var O = a("illustration", async () => {
|
|
56
|
+
let { Illustration: e } = await import("./illustration-DjZXUFbz.js").then((e) => e.n);
|
|
57
|
+
return ({ scene: t, size: n }) => /* @__PURE__ */ f(e, {
|
|
58
|
+
scene: t,
|
|
59
|
+
size: n
|
|
60
|
+
});
|
|
61
|
+
}, D);
|
|
62
|
+
function k({ scene: e, size: t }) {
|
|
63
|
+
return /* @__PURE__ */ f(d, {
|
|
64
|
+
fallback: /* @__PURE__ */ f("div", {
|
|
65
|
+
"data-slot": "illustration",
|
|
66
|
+
"data-size": t,
|
|
67
|
+
"aria-hidden": "true"
|
|
68
|
+
}),
|
|
69
|
+
children: /* @__PURE__ */ f(O, {
|
|
70
|
+
scene: e,
|
|
71
|
+
size: t
|
|
72
|
+
})
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region lib/components/ui/feedback/state-frame/use-state-media.tsx
|
|
77
|
+
function A({ kind: t, size: n, illustration: a, icon: l }) {
|
|
78
|
+
let d = n === "inline", p = n === "compact" || d, m = e("flex shrink-0 items-center justify-center rounded", s[x[t]], d ? "size-8 rounded-full [&_svg]:size-4" : p ? "size-10 [&_svg]:size-5" : "size-16 [&_svg]:size-7"), h = u(), g = a === !0 || c(a, h?.sets) ? c(a, h?.sets) ? a : o[t] : null, _ = a == null && l == null && n === "default" ? i(h, o[t]) : void 0, v = d ? null : g ?? (_ ? o[t] : null), y = null;
|
|
79
|
+
return y = a === !1 ? null : v ? /* @__PURE__ */ f(k, {
|
|
80
|
+
scene: v,
|
|
81
|
+
size: p ? "sm" : "md"
|
|
82
|
+
}) : a != null && a !== !0 && !c(a, h?.sets) ? a : l == null ? p ? /* @__PURE__ */ f("div", {
|
|
83
|
+
className: m,
|
|
84
|
+
children: /* @__PURE__ */ f(E, { kind: t })
|
|
85
|
+
}) : /* @__PURE__ */ f(r, { kind: t }) : /* @__PURE__ */ f("div", {
|
|
86
|
+
className: m,
|
|
87
|
+
children: l
|
|
88
|
+
}), y;
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region lib/components/ui/feedback/state-frame/state-frame.tsx
|
|
92
|
+
function j({ kind: t, size: n = "default", illustration: r, icon: i, title: a, headingLevel: o, description: s, actions: c, className: l, children: u, ...d }) {
|
|
93
|
+
let m = n === "inline", h = n === "compact" || m, g = A({
|
|
94
|
+
kind: t,
|
|
95
|
+
size: n,
|
|
96
|
+
illustration: r,
|
|
97
|
+
icon: i
|
|
98
|
+
});
|
|
99
|
+
return /* @__PURE__ */ p("div", {
|
|
100
|
+
"data-kind": t,
|
|
101
|
+
"data-size": n,
|
|
102
|
+
className: e("flex text-foreground", m ? "flex-row items-center gap-3 px-3 py-2.5 text-start" : "flex-col items-center justify-center text-center", !m && (h ? "gap-3 px-4 py-6" : "min-h-[22rem] gap-5 p-8"), l),
|
|
103
|
+
...d,
|
|
104
|
+
children: [
|
|
105
|
+
g,
|
|
106
|
+
/* @__PURE__ */ f(w, {
|
|
107
|
+
title: a,
|
|
108
|
+
description: s,
|
|
109
|
+
headingLevel: o,
|
|
110
|
+
inline: m,
|
|
111
|
+
compact: h
|
|
112
|
+
}),
|
|
113
|
+
u,
|
|
114
|
+
c != null && /* @__PURE__ */ f("div", {
|
|
115
|
+
className: e("flex flex-wrap items-center gap-2", m ? "shrink-0" : "mt-1 justify-center"),
|
|
116
|
+
children: c
|
|
117
|
+
})
|
|
118
|
+
]
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region lib/components/ui/feedback/empty-state/empty-state.tsx
|
|
123
|
+
function M({ kind: e = "empty", size: n = "default", illustration: r, icon: i, title: a, description: o, action: s, ...c }) {
|
|
124
|
+
let l = C(e, "empty-state"), { t: u } = t(), d = o ?? (a == null ? u(l.descriptionKey, l.description) : void 0);
|
|
125
|
+
return /* @__PURE__ */ f(j, {
|
|
126
|
+
"data-slot": "empty-state",
|
|
127
|
+
"data-variant": e,
|
|
128
|
+
kind: e,
|
|
129
|
+
size: n,
|
|
130
|
+
illustration: r,
|
|
131
|
+
icon: i,
|
|
132
|
+
title: a ?? u(l.titleKey, l.title),
|
|
133
|
+
description: d,
|
|
134
|
+
actions: s,
|
|
135
|
+
...c
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
//#endregion
|
|
139
|
+
export { j as n, M as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { t } from "./dist-DVRQkaTK.js";
|
|
3
|
-
import { n } from "./spinner-
|
|
3
|
+
import { n } from "./spinner-DC35lhqx.js";
|
|
4
4
|
import { t as r } from "./button-group-context-CaP0X5p_.js";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
6
|
//#region lib/components/ui/actions/button-group/button-group-reset.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./field-blur-context-
|
|
1
|
+
import { t as e } from "./field-blur-context-CmOF0FIN.js";
|
|
2
2
|
import { t } from "./useEvent-2fKq-6w8.js";
|
|
3
3
|
import n, { useCallback as r, useEffect as i, useRef as a } from "react";
|
|
4
4
|
import { jsx as o } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { l as t } from "./dist-lmHmz_bu.js";
|
|
3
|
-
import { i as n } from "./escape-owner-
|
|
3
|
+
import { i as n } from "./escape-owner-Ch_-kDLw.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { createContext as i, use as a, useMemo as o } from "react";
|
|
6
6
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { R as e, a as t, et as n } from "./dist-moutbfbd.js";
|
|
2
|
-
import { B as r, C as i, E as a, F as o, I as s, O as c, Q as l, S as u, T as d, U as f,
|
|
2
|
+
import { B as r, C as i, E as a, F as o, I as s, O as c, Q as l, S as u, T as d, U as f, W as p, a as ee, b as te, c as m, d as h, i as g, m as _, n as v, o as y, r as b, t as x, v as S, w as C, x as w, y as T } from "./youtube-node-A3NPAPgK.js";
|
|
3
3
|
import { n as E } from "./dist-CT0WVy-f.js";
|
|
4
4
|
import { t as D } from "./code-block-spec-CGLKRhwD.js";
|
|
5
5
|
//#region lib/components/ui/widgets/editor/extensions/comments/comment-id.ts
|
package/dist/hooks.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
1
|
+
import { r as e } from "./i18n-provider-C0uLEv0G.js";
|
|
2
2
|
import { a as t, i as n, o as r, r as i, s as a } from "./theme-store-BdPp43cV.js";
|
|
3
3
|
import { n as o, t as s } from "./use-theme-BCLireTd.js";
|
|
4
4
|
import { t as c } from "./number.utils-BG_eEt5g.js";
|
|
5
|
-
import { a as l, i as u, n as d, o as f, r as p, s as m, t as h } from "./use-heading-spy-
|
|
5
|
+
import { a as l, i as u, n as d, o as f, r as p, s as m, t as h } from "./use-heading-spy-1Dqxj_JQ.js";
|
|
6
6
|
import { r as g } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
7
7
|
import { t as _ } from "./use-mobile-BDro060N.js";
|
|
8
8
|
import { t as v } from "./use-scroll-away-PQRFZkT2.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { a as n, c as r, i, l as a, s as o } from "./dist-lmHmz_bu.js";
|
|
4
|
-
import { C as s, S as c, f as l, m as u, p as d, u as f } from "./spinner-
|
|
4
|
+
import { C as s, S as c, f as l, m as u, p as d, u as f } from "./spinner-DC35lhqx.js";
|
|
5
5
|
import { t as p } from "./in-dialog-Vwkyp-M5.js";
|
|
6
|
-
import { o as m } from "./escape-owner-
|
|
6
|
+
import { o as m } from "./escape-owner-Ch_-kDLw.js";
|
|
7
7
|
import * as h from "react";
|
|
8
8
|
import { Activity as g } from "react";
|
|
9
9
|
import { jsx as _ } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, r as t, t as n } from "./stored-language-
|
|
1
|
+
import { i as e, r as t, t as n } from "./stored-language-BIxd7uiP.js";
|
|
2
2
|
import { createContext as r, useCallback as i, useContext as a, useEffect as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
3
3
|
import { jsx as u } from "react/jsx-runtime";
|
|
4
4
|
//#region lib/i18n/material-resources-registry.ts
|
package/dist/i18n.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./is-production-GLw59WU8.js";
|
|
2
|
-
import { a as t, i as n, n as r, r as i } from "./stored-language-
|
|
3
|
-
import { n as a, r as o, t as s } from "./i18n-provider-
|
|
4
|
-
import { i as c, n as l, o as u, r as d, t as f } from "./translator-
|
|
2
|
+
import { a as t, i as n, n as r, r as i } from "./stored-language-BIxd7uiP.js";
|
|
3
|
+
import { n as a, r as o, t as s } from "./i18n-provider-C0uLEv0G.js";
|
|
4
|
+
import { i as c, n as l, o as u, r as d, t as f } from "./translator-BrZv1U54.js";
|
|
5
5
|
import { o as p, t as m } from "./merge-BCZE6HGq.js";
|
|
6
|
-
import { t as h } from "./translate-material-
|
|
7
|
-
import { t as g } from "./use-material-translation-
|
|
6
|
+
import { t as h } from "./translate-material-Bgtjuh85.js";
|
|
7
|
+
import { t as g } from "./use-material-translation-DLdQKdfw.js";
|
|
8
8
|
import { useCallback as _ } from "react";
|
|
9
9
|
//#region lib/i18n/merge-resources.ts
|
|
10
10
|
function v(e, t, n = "") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
-
import { f as t } from "./dialog-
|
|
3
|
-
import { a as n, i as r, n as i } from "./field-blur-context-
|
|
4
|
-
import { t as a } from "./icon-button-
|
|
2
|
+
import { f as t } from "./dialog-Cx_xWUVR.js";
|
|
3
|
+
import { a as n, i as r, n as i } from "./field-blur-context-CmOF0FIN.js";
|
|
4
|
+
import { t as a } from "./icon-button-Csvj2R8S.js";
|
|
5
5
|
import { isValidElement as o, useId as s } from "react";
|
|
6
6
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
7
7
|
import { describedBy as u } from "@nxgt/material-core/described-by";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { n } from "./
|
|
4
|
-
import { n as r, t as
|
|
5
|
-
import { n as
|
|
6
|
-
import {
|
|
2
|
+
import { n as t } from "./use-shape-morph-BKA_R5P5.js";
|
|
3
|
+
import { n, t as r } from "./dist-DVRQkaTK.js";
|
|
4
|
+
import { n as i, r as a, t as o } from "./spinner-DC35lhqx.js";
|
|
5
|
+
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./use-click-lock-BZYtTmVt.js";
|
|
6
|
+
import { t as m } from "./is-production-GLw59WU8.js";
|
|
7
7
|
import { t as h } from "./button-group-context-CaP0X5p_.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { shapeOutline as g, toSvgPath as _ } from "@nxgt/material-core/shapes";
|
|
9
|
+
import { useContext as v, useEffect as y, useRef as b } from "react";
|
|
10
10
|
import { jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
11
11
|
//#region lib/components/ui/display/count-badge/format-count.ts
|
|
12
12
|
function C(e, t = 99) {
|
|
@@ -54,37 +54,37 @@ var w = [
|
|
|
54
54
|
{
|
|
55
55
|
variant: "tonal",
|
|
56
56
|
color: "primary",
|
|
57
|
-
class: `${
|
|
57
|
+
class: `${c.primary} ${l.primary} ${d.primary} bg-primary/15 hover:bg-primary/10 active:bg-primary/5 focus:bg-primary/10`
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
variant: "tonal",
|
|
61
61
|
color: "secondary",
|
|
62
|
-
class: `${
|
|
62
|
+
class: `${c.secondary} ${l.secondary} ${d.secondary} bg-secondary/15 hover:bg-secondary/10 active:bg-secondary/5 focus:bg-secondary/10`
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
variant: "tonal",
|
|
66
66
|
color: "success",
|
|
67
|
-
class: `${
|
|
67
|
+
class: `${c.success} ${l.success} ${d.success} bg-success/15 hover:bg-success/10 active:bg-success/5 focus:bg-success/10`
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
variant: "tonal",
|
|
71
71
|
color: "info",
|
|
72
|
-
class: `${
|
|
72
|
+
class: `${c.info} ${l.info} ${d.info} bg-info/15 hover:bg-info/10 active:bg-info/5 focus:bg-info/10`
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
variant: "tonal",
|
|
76
76
|
color: "warning",
|
|
77
|
-
class: `${
|
|
77
|
+
class: `${c.warning} ${l.warning} ${d.warning} bg-warning/15 hover:bg-warning/10 active:bg-warning/5 focus:bg-warning/10`
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
variant: "tonal",
|
|
81
81
|
color: "error",
|
|
82
|
-
class: `${
|
|
82
|
+
class: `${c.error} ${l.error} ${d.error} bg-error/15 hover:bg-error/10 active:bg-error/5 focus:bg-error/10`
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
variant: "tonal",
|
|
86
86
|
color: "default",
|
|
87
|
-
class: `${
|
|
87
|
+
class: `${c.default} ${l.default} ${d.default} bg-foreground/15 hover:bg-foreground/10 active:bg-muted focus:bg-muted`
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
variant: "ghost",
|
|
@@ -99,99 +99,99 @@ var w = [
|
|
|
99
99
|
{
|
|
100
100
|
variant: "ghost",
|
|
101
101
|
color: "secondary",
|
|
102
|
-
class: `${
|
|
102
|
+
class: `${c.secondary} ${l.secondary} ${d.secondary} hover:bg-secondary/10 active:bg-secondary/5 focus:bg-secondary/10`
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
variant: "ghost",
|
|
106
106
|
color: "success",
|
|
107
|
-
class: `${
|
|
107
|
+
class: `${c.success} ${l.success} ${d.success} hover:bg-success/10 active:bg-success/5 focus:bg-success/10`
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
variant: "ghost",
|
|
111
111
|
color: "info",
|
|
112
|
-
class: `${
|
|
112
|
+
class: `${c.info} ${l.info} ${d.info} hover:bg-info/10 active:bg-info/5 focus:bg-info/10`
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
variant: "ghost",
|
|
116
116
|
color: "warning",
|
|
117
|
-
class: `${
|
|
117
|
+
class: `${c.warning} ${l.warning} ${d.warning} hover:bg-warning/10 active:bg-warning/5 focus:bg-warning/10`
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
variant: "ghost",
|
|
121
121
|
color: "error",
|
|
122
|
-
class: `${
|
|
122
|
+
class: `${c.error} ${l.error} ${d.error} hover:bg-error/10 active:bg-error/5 focus:bg-error/10`
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
variant: "outlined",
|
|
126
126
|
color: "primary",
|
|
127
|
-
class: `${
|
|
127
|
+
class: `${c.primary} ${l.primary} ${d.primary} focus:bg-primary/10 hover:bg-primary/10`
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
variant: "outlined",
|
|
131
131
|
color: "secondary",
|
|
132
|
-
class: `${
|
|
132
|
+
class: `${c.secondary} ${l.secondary} ${d.secondary} focus:bg-secondary/10 hover:bg-secondary/10`
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
variant: "outlined",
|
|
136
136
|
color: "success",
|
|
137
|
-
class: `${
|
|
137
|
+
class: `${c.success} ${l.success} ${d.success} focus:bg-success/10 hover:bg-success/10`
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
variant: "outlined",
|
|
141
141
|
color: "info",
|
|
142
|
-
class: `${
|
|
142
|
+
class: `${c.info} ${l.info} ${d.info} focus:bg-info/10 hover:bg-info/10`
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
variant: "outlined",
|
|
146
146
|
color: "warning",
|
|
147
|
-
class: `${
|
|
147
|
+
class: `${c.warning} ${l.warning} ${d.warning} focus:bg-warning/10 hover:bg-warning/10`
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
variant: "outlined",
|
|
151
151
|
color: "error",
|
|
152
|
-
class: `${
|
|
152
|
+
class: `${c.error} ${l.error} ${d.error} focus:bg-error/10 hover:bg-error/10`
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
variant: "outlined",
|
|
156
156
|
color: "default",
|
|
157
|
-
class: `${
|
|
157
|
+
class: `${c.default} ${l.default} ${d.default} focus:bg-foreground/10 hover:bg-foreground/10`
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
variant: "link",
|
|
161
161
|
color: "primary",
|
|
162
|
-
class: `${
|
|
162
|
+
class: `${c.primary} ${l.primary} ${d.primary} underline-offset-4 hover:underline hover:bg-primary/10 active:bg-primary/5 focus:bg-primary/10`
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
variant: "link",
|
|
166
166
|
color: "secondary",
|
|
167
|
-
class: `${
|
|
167
|
+
class: `${c.secondary} ${l.secondary} ${d.secondary} underline-offset-4 hover:underline hover:bg-secondary/10 active:bg-secondary/5 focus:bg-secondary/10`
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
variant: "link",
|
|
171
171
|
color: "success",
|
|
172
|
-
class: `${
|
|
172
|
+
class: `${c.success} ${l.success} ${d.success} underline-offset-4 hover:underline hover:bg-success/10 active:bg-success/5 focus:bg-success/10`
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
variant: "link",
|
|
176
176
|
color: "info",
|
|
177
|
-
class: `${
|
|
177
|
+
class: `${c.info} ${l.info} ${d.info} underline-offset-4 hover:underline hover:bg-info/10 active:bg-info/5 focus:bg-info/10`
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
variant: "link",
|
|
181
181
|
color: "warning",
|
|
182
|
-
class: `${
|
|
182
|
+
class: `${c.warning} ${l.warning} ${d.warning} underline-offset-4 hover:underline hover:bg-warning/10 active:bg-warning/5 focus:bg-warning/10`
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
variant: "link",
|
|
186
186
|
color: "error",
|
|
187
|
-
class: `${
|
|
187
|
+
class: `${c.error} ${l.error} ${d.error} underline-offset-4 hover:underline hover:bg-error/10 active:bg-error/5 focus:bg-error/10`
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
variant: "link",
|
|
191
191
|
color: "default",
|
|
192
|
-
class: `${
|
|
192
|
+
class: `${c.default} ${l.default} ${d.default} underline-offset-4 hover:underline hover:bg-foreground/10 active:bg-muted focus:bg-foreground/10`
|
|
193
193
|
}
|
|
194
|
-
], T =
|
|
194
|
+
], T = i("inline-flex center gap-2 cursor-pointer whitespace-nowrap text-sm font-medium disabled:pointer-events-none [&_svg]:bg-transparent [&_svg]:text-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-(--btn-ic,1rem) shrink-0 [&_svg]:shrink-0", {
|
|
195
195
|
variants: {
|
|
196
196
|
look: {
|
|
197
197
|
btn: "nxgt-btn nxgt-morph-fill aria-invalid:[--btn-focus:var(--color-error)] aria-invalid:[--btn-line:var(--color-error)]",
|
|
@@ -217,7 +217,7 @@ var w = [
|
|
|
217
217
|
outlined: "shadow-[inset_0_0_0_1.5px_color-mix(in_oklab,var(--btn-line,currentColor)_55%,transparent)] text-primary-text [&_svg]:data-[slot=icon]:text-primary-text [&_svg]:stroke-primary-text focus:bg-primary/10 hover:bg-primary/10",
|
|
218
218
|
link: "nxgt-btn-bare text-primary-text [&_svg]:data-[slot=icon]:text-primary-text [&_svg]:stroke-primary-text underline-offset-4 hover:underline hover:bg-primary/10 active:bg-primary/5 focus:bg-primary/10 focus:underline"
|
|
219
219
|
},
|
|
220
|
-
color:
|
|
220
|
+
color: s
|
|
221
221
|
},
|
|
222
222
|
defaultVariants: {
|
|
223
223
|
variant: "filled",
|
|
@@ -245,18 +245,18 @@ var D = E("btn"), O = E("shaped");
|
|
|
245
245
|
//#endregion
|
|
246
246
|
//#region lib/components/ui/actions/icon-button/icon-button-busy.tsx
|
|
247
247
|
function k(e, t) {
|
|
248
|
-
let n =
|
|
248
|
+
let n = p(!1, e);
|
|
249
249
|
return {
|
|
250
250
|
busyClassName: e ? "relative [&_[data-slot=icon]]:invisible" : void 0,
|
|
251
251
|
hostProps: {
|
|
252
252
|
"aria-disabled": e || t["aria-disabled"],
|
|
253
253
|
"aria-busy": e || t["aria-busy"],
|
|
254
|
-
onClickCapture:
|
|
254
|
+
onClickCapture: u(e, n, t.onClickCapture)
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
}
|
|
258
258
|
function A({ variant: e, color: t }) {
|
|
259
|
-
return /* @__PURE__ */ x(
|
|
259
|
+
return /* @__PURE__ */ x(o, {
|
|
260
260
|
variant: "2",
|
|
261
261
|
color: e === "filled" ? "light" : t ?? (e === "ghost" ? "default" : "primary"),
|
|
262
262
|
className: "absolute inset-0 m-auto size-(--btn-ic,1rem)"
|
|
@@ -311,9 +311,9 @@ var j = {
|
|
|
311
311
|
default: "fill-transparent group-hover/icon-button:fill-accent dark:group-hover/icon-button:fill-accent/50"
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
|
-
function M({ shape:
|
|
315
|
-
let a =
|
|
316
|
-
return
|
|
314
|
+
function M({ shape: n, variant: r, color: i }) {
|
|
315
|
+
let a = g(n), o = b(null);
|
|
316
|
+
return t(o, a, !0), /* @__PURE__ */ x("svg", {
|
|
317
317
|
"data-slot": "icon-button-shape",
|
|
318
318
|
viewBox: "0 0 100 100",
|
|
319
319
|
"aria-hidden": "true",
|
|
@@ -321,35 +321,35 @@ function M({ shape: t, variant: r, color: i }) {
|
|
|
321
321
|
className: e("-z-10 pointer-events-none absolute inset-0 size-full overflow-visible transition-[filter]", r === "filled" && "group-hover/icon-button:brightness-90 group-active/icon-button:brightness-80"),
|
|
322
322
|
children: /* @__PURE__ */ x("path", {
|
|
323
323
|
ref: o,
|
|
324
|
-
d:
|
|
324
|
+
d: _(a),
|
|
325
325
|
vectorEffect: "non-scaling-stroke",
|
|
326
326
|
paintOrder: "stroke",
|
|
327
327
|
className: e("stroke-transparent stroke-1 transition-[fill]", j[r][i], "group-focus-visible/icon-button:stroke-ring/50 group-focus-visible/icon-button:stroke-[6px]", "forced-colors:fill-none forced-colors:stroke-[ButtonText] forced-colors:group-focus-visible/icon-button:stroke-[Highlight]")
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
function N(e,
|
|
332
|
-
let
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}, [
|
|
331
|
+
function N(e, t) {
|
|
332
|
+
let n = !!e && t != null && t !== "default";
|
|
333
|
+
y(() => {
|
|
334
|
+
n && !m() && console.warn("IconButton: `width` is ignored with `shape`; a shaped button is as wide as it is high.");
|
|
335
|
+
}, [n]);
|
|
336
336
|
}
|
|
337
337
|
//#endregion
|
|
338
338
|
//#region lib/components/ui/actions/icon-button/icon-button.tsx
|
|
339
339
|
function P(e) {
|
|
340
340
|
return e === void 0 || !Number.isFinite(e) || e < .5 ? null : C(e);
|
|
341
341
|
}
|
|
342
|
-
function F({ variant: t, color:
|
|
343
|
-
let b = c ?
|
|
342
|
+
function F({ variant: t, color: i, size: a, width: o, className: s, asChild: c, type: l = "button", shape: u, morph: d = "pill", badge: p, badgeTone: m = "primary", loading: g = !1, children: _, ...y }) {
|
|
343
|
+
let b = c ? r : "button", C = v(h), w = a ?? C, T = !!(y["aria-label"] || y["aria-labelledby"]);
|
|
344
344
|
N(u, o);
|
|
345
|
-
let E = !u && d !== "none" && y["aria-pressed"] != null, j = P(
|
|
346
|
-
return /* @__PURE__ */ x(
|
|
345
|
+
let E = !u && d !== "none" && y["aria-pressed"] != null, j = P(p), F = String(y["aria-pressed"]) === "true", I = k(g, y);
|
|
346
|
+
return /* @__PURE__ */ x(f, {
|
|
347
347
|
value: T,
|
|
348
348
|
children: /* @__PURE__ */ S(b, {
|
|
349
349
|
"data-slot": "icon-button",
|
|
350
350
|
"data-icon-button": "",
|
|
351
351
|
"data-variant": t ?? "filled",
|
|
352
|
-
"data-color":
|
|
352
|
+
"data-color": i,
|
|
353
353
|
type: c ? void 0 : l,
|
|
354
354
|
"data-size": w,
|
|
355
355
|
"data-shape": u,
|
|
@@ -357,11 +357,11 @@ function F({ variant: t, color: n, size: a, width: o, className: s, asChild: c,
|
|
|
357
357
|
"data-selected": E && F ? "true" : void 0,
|
|
358
358
|
className: e(u ? O({
|
|
359
359
|
variant: t,
|
|
360
|
-
color:
|
|
360
|
+
color: i,
|
|
361
361
|
size: w
|
|
362
362
|
}) : D({
|
|
363
363
|
variant: t,
|
|
364
|
-
color:
|
|
364
|
+
color: i,
|
|
365
365
|
size: w,
|
|
366
366
|
width: o
|
|
367
367
|
}), u && "group/icon-button nxgt-touch-target relative isolate bg-transparent! border-0! shadow-none! ring-0! focus-visible:ring-0! aria-invalid:ring-0! forced-colors:[&_svg]:stroke-[ButtonText] forced-colors:[&_svg]:text-[ButtonText]", I.busyClassName, s),
|
|
@@ -371,12 +371,12 @@ function F({ variant: t, color: n, size: a, width: o, className: s, asChild: c,
|
|
|
371
371
|
u ? /* @__PURE__ */ x(M, {
|
|
372
372
|
shape: u,
|
|
373
373
|
variant: t ?? "filled",
|
|
374
|
-
color:
|
|
374
|
+
color: i ?? (t === "ghost" ? "default" : "primary")
|
|
375
375
|
}) : null,
|
|
376
|
-
/* @__PURE__ */ x(
|
|
377
|
-
|
|
376
|
+
/* @__PURE__ */ x(n, { children: _ }),
|
|
377
|
+
g && /* @__PURE__ */ x(A, {
|
|
378
378
|
variant: t ?? "filled",
|
|
379
|
-
color:
|
|
379
|
+
color: i
|
|
380
380
|
}),
|
|
381
381
|
j === null ? null : /* @__PURE__ */ x("span", {
|
|
382
382
|
"data-slot": "icon-button-badge",
|
|
@@ -391,7 +391,7 @@ function F({ variant: t, color: n, size: a, width: o, className: s, asChild: c,
|
|
|
391
391
|
}
|
|
392
392
|
function I({ tooltip: e, "aria-label": t, ...n }) {
|
|
393
393
|
let r = t ?? (typeof e == "string" ? e : void 0);
|
|
394
|
-
return e ? /* @__PURE__ */ x(
|
|
394
|
+
return e ? /* @__PURE__ */ x(a, {
|
|
395
395
|
content: e,
|
|
396
396
|
children: /* @__PURE__ */ x(F, {
|
|
397
397
|
"aria-label": r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
2
|
+
import { a as t, r as n } from "./icon-sprites-CaYXzOL4.js";
|
|
3
|
+
import { t as r } from "./is-production-GLw59WU8.js";
|
|
4
4
|
import { a as i, c as a, i as o, l as s, t as c, u as l } from "./state-scenes-BX03WmSu.js";
|
|
5
5
|
import { t as u } from "./scene-svg-DJKa5vsg.js";
|
|
6
6
|
import { Suspense as d, useId as f, useMemo as p } from "react";
|
|
@@ -9,20 +9,20 @@ import { IconRefError as h } from "@nxgt/material-core/icons";
|
|
|
9
9
|
import { freeIcon as g } from "@nxgt/material-core/icons/free";
|
|
10
10
|
import { ILLUSTRATION_SCENES as _, buildIllustration as v, illustrationScene as y } from "@nxgt/material-core/illustrations";
|
|
11
11
|
//#region lib/illustrations/use-illustration.ts
|
|
12
|
-
function b(e,
|
|
13
|
-
let o = l(), c = i ?? (C(e) ? void 0 : s(o, e)), u =
|
|
12
|
+
function b(e, r, i) {
|
|
13
|
+
let o = l(), c = i ?? (C(e) ? void 0 : s(o, e)), u = t(), d = n(), m = `ill${f().replace(/[^\w-]/g, "-")}`;
|
|
14
14
|
return {
|
|
15
15
|
built: p(() => {
|
|
16
|
-
let
|
|
16
|
+
let t = Object.fromEntries(Object.entries(r).filter(([, e]) => e !== void 0));
|
|
17
17
|
try {
|
|
18
|
-
let
|
|
18
|
+
let n = y(e, {
|
|
19
19
|
...o?.iconStyle === void 0 ? {} : { iconStyle: o.iconStyle },
|
|
20
20
|
...a(o, e),
|
|
21
|
-
...
|
|
21
|
+
...t
|
|
22
22
|
}, c);
|
|
23
23
|
return {
|
|
24
|
-
spec:
|
|
25
|
-
flat: v(
|
|
24
|
+
spec: n,
|
|
25
|
+
flat: v(n, {
|
|
26
26
|
idPrefix: m,
|
|
27
27
|
spriteBase: u,
|
|
28
28
|
...d === "free" ? { mapIcon: g } : {}
|
|
@@ -36,7 +36,7 @@ function b(e, t, i) {
|
|
|
36
36
|
e,
|
|
37
37
|
c,
|
|
38
38
|
JSON.stringify([
|
|
39
|
-
|
|
39
|
+
r,
|
|
40
40
|
a(o, e),
|
|
41
41
|
o?.iconStyle
|
|
42
42
|
]),
|
|
@@ -51,7 +51,7 @@ function b(e, t, i) {
|
|
|
51
51
|
}
|
|
52
52
|
var x = /* @__PURE__ */ new Set();
|
|
53
53
|
function S(e) {
|
|
54
|
-
|
|
54
|
+
r() || x.has(e) || (x.add(e), console.warn(e));
|
|
55
55
|
}
|
|
56
56
|
var C = (e) => _.includes(e), w = /* @__PURE__ */ e({ Illustration: () => D });
|
|
57
57
|
function T({ kind: e }) {
|
package/dist/illustrations.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { s as e } from "./state-scenes-BX03WmSu.js";
|
|
2
|
-
import { t } from "./illustration-
|
|
2
|
+
import { t } from "./illustration-DjZXUFbz.js";
|
|
3
3
|
import { ILLUSTRATION_SCENES as n, SUGGESTED_ICONS as r } from "@nxgt/material-core/illustrations";
|
|
4
4
|
export { n as ILLUSTRATION_SCENES, t as Illustration, e as IllustrationDefaults, r as SUGGESTED_ICONS };
|
|
@@ -19,4 +19,4 @@ export type { BackgroundProps } from './types.js';
|
|
|
19
19
|
* does not unhook the CSS. `preset="grain"` is the gradient plus the grain:
|
|
20
20
|
* `data-preset` says so, `data-background` stays `gradient`.
|
|
21
21
|
*/
|
|
22
|
-
export declare function Background({ children, ref,
|
|
22
|
+
export declare function Background({ children, ref, fill, ...rest }: BackgroundProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BackgroundPreset, MoonOptions, MotifOptions } from '@nxgt/material-core/backgrounds';
|
|
2
|
+
/**
|
|
3
|
+
* The scenes of a background: the preset's (none under an icons mix), the grain overlay, and the keys they were built from.
|
|
4
|
+
* `motif` is read through its fields (and `shapes` through a sorted,
|
|
5
|
+
* de-duplicated key): a new object with the same values is the same scene.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useBackgroundScenes({ preset, hasIcons, grain, idPrefix, seed, motif, moon, }: {
|
|
8
|
+
preset: BackgroundPreset;
|
|
9
|
+
hasIcons: boolean;
|
|
10
|
+
grain: boolean;
|
|
11
|
+
idPrefix: string;
|
|
12
|
+
seed: number;
|
|
13
|
+
motif: MotifOptions | undefined;
|
|
14
|
+
moon: MoonOptions | undefined;
|
|
15
|
+
}): {
|
|
16
|
+
scene: import('@nxgt/material-core/backgrounds').SceneNode | null;
|
|
17
|
+
grainScene: import('@nxgt/material-core/backgrounds').SceneNode | null;
|
|
18
|
+
withGrain: boolean;
|
|
19
|
+
shapesKey: string | undefined;
|
|
20
|
+
scalarsKey: string;
|
|
21
|
+
moonKey: string;
|
|
22
|
+
};
|