@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,11 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { Calendar } from '../../calendar/calendar.js';
|
|
3
|
+
import { useRangePreview } from '../use-range-preview.js';
|
|
4
|
+
type CalendarProps = ComponentProps<typeof Calendar>;
|
|
5
|
+
/**
|
|
6
|
+
* The calendar props that draw the hover preview: its modifiers merged with
|
|
7
|
+
* the consumer's, and the day handlers, the consumer's running after the
|
|
8
|
+
* preview's.
|
|
9
|
+
*/
|
|
10
|
+
export declare function previewCalendarProps(calendarProps: Pick<CalendarProps, 'modifiers' | 'modifiersClassNames' | 'onDayMouseEnter' | 'onDayFocus'>, preview: ReturnType<typeof useRangePreview>): Pick<CalendarProps, 'modifiers' | 'modifiersClassNames' | 'onDayMouseEnter' | 'onDayFocus'>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DateRange } from '../../calendar/calendar.js';
|
|
2
|
+
/**
|
|
3
|
+
* Cancel: what the picker opened with is put back (nothing changed: no
|
|
4
|
+
* change to announce), then the picker closes.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useCancelRange(value: DateRange | undefined, onValueChange: ((value?: DateRange) => void) | undefined, onClose: () => void): () => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TypedBounds } from '../picker-trigger/typed-day.js';
|
|
2
|
+
/** `a` is a day earlier than `b`. */
|
|
3
|
+
export declare const dayBefore: (a: Date, b: Date) => boolean;
|
|
4
|
+
/**
|
|
5
|
+
* The end's segments, read when the start commits: an end refused while it
|
|
6
|
+
* was before the old start is the range's end once the new start is before
|
|
7
|
+
* it. `values` is kept current by the caller after each commit.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useEndOn(bounds: TypedBounds): {
|
|
10
|
+
values: import('react').RefObject<Partial<Record<import('../../primitives/segmented-input/segment-defs.js').SegmentKey, number>>>;
|
|
11
|
+
endOn: (start?: Date) => Date | undefined;
|
|
12
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DayPickerProps } from 'react-day-picker';
|
|
2
|
-
import { SegmentValues } from '../../primitives/segmented-input/segment-defs.js';
|
|
3
2
|
import { DateRange } from '../calendar/calendar.js';
|
|
4
3
|
import { TypedBounds } from '../picker-trigger/typed-day.js';
|
|
5
4
|
/**
|
|
@@ -25,7 +24,7 @@ export declare function useTypedRange({ value, onValueChange, locale, bounds, }:
|
|
|
25
24
|
segments: import('../../primitives/segmented-input/segment-defs.js').SegmentDef[];
|
|
26
25
|
start: {
|
|
27
26
|
values: Partial<Record<import('../../primitives/segmented-input/segment-defs.js').SegmentKey, number>>;
|
|
28
|
-
onValuesChange: (next: SegmentValues) => void;
|
|
27
|
+
onValuesChange: (next: import('../../primitives/segmented-input/segment-defs.js').SegmentValues) => void;
|
|
29
28
|
onLeave: () => void;
|
|
30
29
|
settled: () => Date | undefined;
|
|
31
30
|
forget: () => void;
|
|
@@ -33,7 +32,7 @@ export declare function useTypedRange({ value, onValueChange, locale, bounds, }:
|
|
|
33
32
|
};
|
|
34
33
|
end: {
|
|
35
34
|
values: Partial<Record<import('../../primitives/segmented-input/segment-defs.js').SegmentKey, number>>;
|
|
36
|
-
onValuesChange: (next: SegmentValues) => void;
|
|
35
|
+
onValuesChange: (next: import('../../primitives/segmented-input/segment-defs.js').SegmentValues) => void;
|
|
37
36
|
onLeave: () => void;
|
|
38
37
|
settled: () => Date | undefined;
|
|
39
38
|
forget: () => void;
|
|
@@ -12,6 +12,14 @@ export type MiniMonthDayState = {
|
|
|
12
12
|
tabStop: boolean;
|
|
13
13
|
markers: readonly string[];
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* Whether `week[column]` is in the highlighted range, and whether the band
|
|
17
|
+
* starts or ends there (a week's edge, or a neighbour outside the range).
|
|
18
|
+
*/
|
|
19
|
+
export declare function bandOf(week: readonly Date[], column: number, highlight?: {
|
|
20
|
+
from: Date;
|
|
21
|
+
to: Date;
|
|
22
|
+
} | null): MiniMonthDayState['band'];
|
|
15
23
|
export declare function MiniMonthDay({ day, state, locale, compact, disabled, onSelect, onKeyDown, }: {
|
|
16
24
|
day: Date;
|
|
17
25
|
state: MiniMonthDayState;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Locale } from 'date-fns';
|
|
2
|
+
import { WeekStart } from '../mini-month.utils.js';
|
|
3
|
+
/** The classes of a header cell, the weekday names' and the week numbers'. */
|
|
4
|
+
export declare const headClass: (compact: boolean) => string;
|
|
5
|
+
/** The weekday names row, with an empty cell above the week numbers. */
|
|
6
|
+
export declare function MiniMonthHead({ weeks, locale, showWeekNumbers, className, }: {
|
|
7
|
+
weeks: readonly (readonly Date[])[];
|
|
8
|
+
locale: Locale;
|
|
9
|
+
showWeekNumbers: boolean;
|
|
10
|
+
className: string;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
/** A row's week number, the row header when the weeks are numbered. */
|
|
13
|
+
export declare function MiniMonthWeekNumber({ first, weekStartsOn, locale, className, }: {
|
|
14
|
+
first: Date;
|
|
15
|
+
weekStartsOn: WeekStart;
|
|
16
|
+
locale: Locale;
|
|
17
|
+
className: string;
|
|
18
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { KeyboardEvent } from 'react';
|
|
2
|
+
import { WeekStart } from '../mini-month.utils.js';
|
|
3
|
+
import { MiniMonthModel } from '../use-mini-month.js';
|
|
4
|
+
/**
|
|
5
|
+
* The grid's focus: after a move that asks for it, the roving day's button
|
|
6
|
+
* takes the focus, and the arrow, Home, End and Page keys move the day.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useGridFocus(model: MiniMonthModel, weekStartsOn: WeekStart): {
|
|
9
|
+
ref: import('react').RefObject<HTMLTableElement | null>;
|
|
10
|
+
onKeyDown: (event: KeyboardEvent<HTMLButtonElement>, day: Date) => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
/** Text after the segments ("4 nights"). */
|
|
3
|
+
export declare function TypedBoxSuffix({ children }: {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}): import("react").JSX.Element;
|
|
6
|
+
/** The ✕ that empties the field; focus then moves to `first`. */
|
|
7
|
+
export declare function TypedBoxClear({ label, describedBy, onClear, first, }: {
|
|
8
|
+
label: string;
|
|
9
|
+
describedBy?: string;
|
|
10
|
+
onClear: () => void;
|
|
11
|
+
first: RefObject<HTMLInputElement | null>;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { PickerTriggerAttrs } from '../../picker-trigger/picker-trigger-attrs.js';
|
|
3
|
-
import { FieldNaming } from '../../picker-trigger/use-typed-naming.js';
|
|
4
3
|
/** The ids, names and invalid flag a `TimeField` wires between its parts. */
|
|
5
|
-
export declare function useTimeFieldModel({
|
|
6
|
-
|
|
4
|
+
export declare function useTimeFieldModel({ label, placeholder, ariaLabel, ariaLabelledBy, }: {
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
ariaLabelledBy?: string;
|
|
9
|
+
}, { helperText, triggerAttrs, error, ariaInvalid, }: {
|
|
7
10
|
helperText?: ReactNode;
|
|
8
11
|
triggerAttrs: PickerTriggerAttrs;
|
|
9
|
-
|
|
12
|
+
error?: boolean;
|
|
13
|
+
ariaInvalid?: boolean | 'true' | 'false' | 'grammar' | 'spelling';
|
|
10
14
|
}): {
|
|
11
|
-
naming:
|
|
15
|
+
naming: {
|
|
16
|
+
label: ReactNode;
|
|
17
|
+
placeholder: string | undefined;
|
|
18
|
+
'aria-label': string | undefined;
|
|
19
|
+
'aria-labelledby': string | undefined;
|
|
20
|
+
};
|
|
12
21
|
model: {
|
|
13
22
|
frameIds: {
|
|
14
23
|
labelId: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type Option<T> = {
|
|
2
|
+
value: T;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function TimeColumn<T extends number | string>({ label, options, value, onPick, short, }: {
|
|
6
|
+
label: string;
|
|
7
|
+
options: Option<T>[];
|
|
8
|
+
value?: T;
|
|
9
|
+
onPick: (value: T) => void;
|
|
10
|
+
/** A column of two (AM / PM): the user never scrolls it; the chosen option, or the pair, is centred. */
|
|
11
|
+
short?: boolean;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function ReceiptDemo(): import("react").JSX.Element;
|
|
2
|
+
export declare function ReviewDemo(): import("react").JSX.Element;
|
|
3
|
+
export declare function OfferDemo(): import("react").JSX.Element;
|
|
4
|
+
export declare function PlaceDemo(): import("react").JSX.Element;
|
|
5
|
+
export declare function FileDemo(): import("react").JSX.Element;
|
|
6
|
+
export declare function StatusDemo(): import("react").JSX.Element;
|
|
7
|
+
export declare function ScoreDemo(): import("react").JSX.Element;
|
|
8
|
+
export declare function ShortcutDemo(): import("react").JSX.Element;
|
|
9
|
+
export declare function ChecklistDemo(): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function TimelineDemo(): import("react").JSX.Element;
|
|
2
|
+
export declare function MessageDemo(): import("react").JSX.Element;
|
|
3
|
+
export declare function EventDemo(): import("react").JSX.Element;
|
|
4
|
+
export declare function StackDemo(): import("react").JSX.Element;
|
|
5
|
+
export declare function LinkDemo(): import("react").JSX.Element;
|
|
6
|
+
export declare function AlbumDemo(): import("react").JSX.Element;
|
|
7
|
+
export declare function TagDemo(): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function FeatureDemo(): import("react").JSX.Element;
|
|
2
|
+
export declare function MediaDemo(): import("react").JSX.Element;
|
|
3
|
+
export declare function PricingDemo(): import("react").JSX.Element;
|
|
4
|
+
export declare function ProfileDemo(): import("react").JSX.Element;
|
|
5
|
+
export declare function QuoteDemo(): import("react").JSX.Element;
|
|
6
|
+
export declare function OverlayDemo(): import("react").JSX.Element;
|
|
7
|
+
export declare function SpotlightDemo(): import("react").JSX.Element;
|
|
8
|
+
export declare function CrewDemo(): import("react").JSX.Element;
|
|
9
|
+
export declare function SplitDemo(): import("react").JSX.Element;
|
|
10
|
+
export declare function TicketDemo(): import("react").JSX.Element;
|
|
11
|
+
export declare function NoticeDemo(): import("react").JSX.Element;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { Card } from '../../primitives/card/card.js';
|
|
3
|
+
import { StatusTone } from '../status-indicator/status-indicator.js';
|
|
4
|
+
export type ReceiptItem = {
|
|
5
|
+
label: ReactNode;
|
|
6
|
+
value: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export type ReceiptCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
9
|
+
title: ReactNode;
|
|
10
|
+
meta?: ReactNode;
|
|
11
|
+
items: ReceiptItem[];
|
|
12
|
+
total?: ReactNode;
|
|
13
|
+
};
|
|
14
|
+
export type ReviewCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
15
|
+
quote: ReactNode;
|
|
16
|
+
author: ReactNode;
|
|
17
|
+
subtitle?: ReactNode;
|
|
18
|
+
avatar?: ReactNode;
|
|
19
|
+
rating: number;
|
|
20
|
+
max?: number;
|
|
21
|
+
};
|
|
22
|
+
export type OfferCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
23
|
+
eyebrow?: ReactNode;
|
|
24
|
+
title: ReactNode;
|
|
25
|
+
code: string;
|
|
26
|
+
description?: ReactNode;
|
|
27
|
+
};
|
|
28
|
+
export type PlaceCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
29
|
+
title: ReactNode;
|
|
30
|
+
address: ReactNode;
|
|
31
|
+
meta?: ReactNode;
|
|
32
|
+
icon?: ReactNode;
|
|
33
|
+
};
|
|
34
|
+
export type FileCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
35
|
+
name: ReactNode;
|
|
36
|
+
bytes?: number;
|
|
37
|
+
size?: ReactNode;
|
|
38
|
+
meta?: ReactNode;
|
|
39
|
+
icon?: ReactNode;
|
|
40
|
+
};
|
|
41
|
+
export type StatusCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
42
|
+
title: ReactNode;
|
|
43
|
+
description?: ReactNode;
|
|
44
|
+
status?: ReactNode;
|
|
45
|
+
tone?: StatusTone;
|
|
46
|
+
pulse?: boolean;
|
|
47
|
+
};
|
|
48
|
+
export type ScoreSide = {
|
|
49
|
+
name: ReactNode;
|
|
50
|
+
score: ReactNode;
|
|
51
|
+
kicker?: ReactNode;
|
|
52
|
+
};
|
|
53
|
+
export type ScoreCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
54
|
+
title?: ReactNode;
|
|
55
|
+
meta?: ReactNode;
|
|
56
|
+
home: ScoreSide;
|
|
57
|
+
away: ScoreSide;
|
|
58
|
+
};
|
|
59
|
+
export type ShortcutItem = {
|
|
60
|
+
action: ReactNode;
|
|
61
|
+
keys: string[];
|
|
62
|
+
};
|
|
63
|
+
export type ShortcutCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
64
|
+
title: ReactNode;
|
|
65
|
+
items: ShortcutItem[];
|
|
66
|
+
};
|
|
67
|
+
export type ChecklistItem = {
|
|
68
|
+
label: ReactNode;
|
|
69
|
+
done?: boolean;
|
|
70
|
+
};
|
|
71
|
+
export type ChecklistCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
72
|
+
title: ReactNode;
|
|
73
|
+
items: ChecklistItem[];
|
|
74
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { Card } from '../../primitives/card/card.js';
|
|
3
|
+
export type TimelineCardItem = {
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
meta?: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export type TimelineCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
8
|
+
title?: ReactNode;
|
|
9
|
+
items: TimelineCardItem[];
|
|
10
|
+
};
|
|
11
|
+
export type MessageCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
12
|
+
name: ReactNode;
|
|
13
|
+
snippet?: ReactNode;
|
|
14
|
+
meta?: ReactNode;
|
|
15
|
+
avatar?: ReactNode;
|
|
16
|
+
unread?: boolean;
|
|
17
|
+
};
|
|
18
|
+
export type EventCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
19
|
+
day: ReactNode;
|
|
20
|
+
month: ReactNode;
|
|
21
|
+
title: ReactNode;
|
|
22
|
+
location?: ReactNode;
|
|
23
|
+
actions?: ReactNode;
|
|
24
|
+
};
|
|
25
|
+
export type LinkCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
26
|
+
title: ReactNode;
|
|
27
|
+
href: string;
|
|
28
|
+
host?: ReactNode;
|
|
29
|
+
description?: ReactNode;
|
|
30
|
+
media?: ReactNode;
|
|
31
|
+
};
|
|
32
|
+
export type AlbumCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
33
|
+
title: ReactNode;
|
|
34
|
+
description?: ReactNode;
|
|
35
|
+
photos: ReactNode[];
|
|
36
|
+
};
|
|
37
|
+
export type TagCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
38
|
+
title: ReactNode;
|
|
39
|
+
description?: ReactNode;
|
|
40
|
+
tags: ReactNode[];
|
|
41
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { Card } from '../../primitives/card/card.js';
|
|
3
|
+
export type FeatureCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
4
|
+
eyebrow?: ReactNode;
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
description?: ReactNode;
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
actions?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export type MediaCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
11
|
+
title: ReactNode;
|
|
12
|
+
description?: ReactNode;
|
|
13
|
+
media?: ReactNode;
|
|
14
|
+
footer?: ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export type PricingCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
17
|
+
name: ReactNode;
|
|
18
|
+
price: ReactNode;
|
|
19
|
+
period?: ReactNode;
|
|
20
|
+
description?: ReactNode;
|
|
21
|
+
features?: ReactNode[];
|
|
22
|
+
actions?: ReactNode;
|
|
23
|
+
highlighted?: boolean;
|
|
24
|
+
};
|
|
25
|
+
export type ProfileCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
26
|
+
name: ReactNode;
|
|
27
|
+
subtitle?: ReactNode;
|
|
28
|
+
meta?: ReactNode;
|
|
29
|
+
avatar?: ReactNode;
|
|
30
|
+
actions?: ReactNode;
|
|
31
|
+
};
|
|
32
|
+
export type QuoteCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
33
|
+
quote: ReactNode;
|
|
34
|
+
author: ReactNode;
|
|
35
|
+
subtitle?: ReactNode;
|
|
36
|
+
avatar?: ReactNode;
|
|
37
|
+
};
|
|
38
|
+
export type OverlayCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
39
|
+
title: ReactNode;
|
|
40
|
+
description?: ReactNode;
|
|
41
|
+
media?: ReactNode;
|
|
42
|
+
eyebrow?: ReactNode;
|
|
43
|
+
actions?: ReactNode;
|
|
44
|
+
};
|
|
45
|
+
export type SpotlightCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
46
|
+
eyebrow?: ReactNode;
|
|
47
|
+
title: ReactNode;
|
|
48
|
+
description?: ReactNode;
|
|
49
|
+
icon?: ReactNode;
|
|
50
|
+
};
|
|
51
|
+
export type CrewCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
52
|
+
title: ReactNode;
|
|
53
|
+
description?: ReactNode;
|
|
54
|
+
people?: ReactNode;
|
|
55
|
+
actions?: ReactNode;
|
|
56
|
+
};
|
|
57
|
+
export type SplitCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
58
|
+
kicker?: ReactNode;
|
|
59
|
+
icon?: ReactNode;
|
|
60
|
+
title: ReactNode;
|
|
61
|
+
description?: ReactNode;
|
|
62
|
+
actions?: ReactNode;
|
|
63
|
+
};
|
|
64
|
+
export type TicketCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
65
|
+
title: ReactNode;
|
|
66
|
+
description?: ReactNode;
|
|
67
|
+
stub?: ReactNode;
|
|
68
|
+
meta?: ReactNode;
|
|
69
|
+
actions?: ReactNode;
|
|
70
|
+
};
|
|
71
|
+
export type NoticeCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
72
|
+
eyebrow?: ReactNode;
|
|
73
|
+
title: ReactNode;
|
|
74
|
+
description?: ReactNode;
|
|
75
|
+
actions?: ReactNode;
|
|
76
|
+
};
|
|
@@ -1,187 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type FeatureCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
5
|
-
eyebrow?: ReactNode;
|
|
6
|
-
title: ReactNode;
|
|
7
|
-
description?: ReactNode;
|
|
8
|
-
icon?: ReactNode;
|
|
9
|
-
actions?: ReactNode;
|
|
10
|
-
};
|
|
11
|
-
export type MediaCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
12
|
-
title: ReactNode;
|
|
13
|
-
description?: ReactNode;
|
|
14
|
-
media?: ReactNode;
|
|
15
|
-
footer?: ReactNode;
|
|
16
|
-
};
|
|
17
|
-
export type PricingCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
18
|
-
name: ReactNode;
|
|
19
|
-
price: ReactNode;
|
|
20
|
-
period?: ReactNode;
|
|
21
|
-
description?: ReactNode;
|
|
22
|
-
features?: ReactNode[];
|
|
23
|
-
actions?: ReactNode;
|
|
24
|
-
highlighted?: boolean;
|
|
25
|
-
};
|
|
26
|
-
export type ProfileCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
27
|
-
name: ReactNode;
|
|
28
|
-
subtitle?: ReactNode;
|
|
29
|
-
meta?: ReactNode;
|
|
30
|
-
avatar?: ReactNode;
|
|
31
|
-
actions?: ReactNode;
|
|
32
|
-
};
|
|
33
|
-
export type QuoteCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
34
|
-
quote: ReactNode;
|
|
35
|
-
author: ReactNode;
|
|
36
|
-
subtitle?: ReactNode;
|
|
37
|
-
avatar?: ReactNode;
|
|
38
|
-
};
|
|
39
|
-
export type OverlayCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
40
|
-
title: ReactNode;
|
|
41
|
-
description?: ReactNode;
|
|
42
|
-
media?: ReactNode;
|
|
43
|
-
eyebrow?: ReactNode;
|
|
44
|
-
actions?: ReactNode;
|
|
45
|
-
};
|
|
46
|
-
export type SpotlightCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
47
|
-
eyebrow?: ReactNode;
|
|
48
|
-
title: ReactNode;
|
|
49
|
-
description?: ReactNode;
|
|
50
|
-
icon?: ReactNode;
|
|
51
|
-
};
|
|
52
|
-
export type CrewCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
53
|
-
title: ReactNode;
|
|
54
|
-
description?: ReactNode;
|
|
55
|
-
people?: ReactNode;
|
|
56
|
-
actions?: ReactNode;
|
|
57
|
-
};
|
|
58
|
-
export type SplitCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
59
|
-
kicker?: ReactNode;
|
|
60
|
-
icon?: ReactNode;
|
|
61
|
-
title: ReactNode;
|
|
62
|
-
description?: ReactNode;
|
|
63
|
-
actions?: ReactNode;
|
|
64
|
-
};
|
|
65
|
-
export type TicketCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
66
|
-
title: ReactNode;
|
|
67
|
-
description?: ReactNode;
|
|
68
|
-
stub?: ReactNode;
|
|
69
|
-
meta?: ReactNode;
|
|
70
|
-
actions?: ReactNode;
|
|
71
|
-
};
|
|
72
|
-
export type NoticeCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
73
|
-
eyebrow?: ReactNode;
|
|
74
|
-
title: ReactNode;
|
|
75
|
-
description?: ReactNode;
|
|
76
|
-
actions?: ReactNode;
|
|
77
|
-
};
|
|
78
|
-
export type TimelineCardItem = {
|
|
79
|
-
title: ReactNode;
|
|
80
|
-
meta?: ReactNode;
|
|
81
|
-
};
|
|
82
|
-
export type TimelineCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
83
|
-
title?: ReactNode;
|
|
84
|
-
items: TimelineCardItem[];
|
|
85
|
-
};
|
|
86
|
-
export type MessageCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
87
|
-
name: ReactNode;
|
|
88
|
-
snippet?: ReactNode;
|
|
89
|
-
meta?: ReactNode;
|
|
90
|
-
avatar?: ReactNode;
|
|
91
|
-
unread?: boolean;
|
|
92
|
-
};
|
|
93
|
-
export type EventCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
94
|
-
day: ReactNode;
|
|
95
|
-
month: ReactNode;
|
|
96
|
-
title: ReactNode;
|
|
97
|
-
location?: ReactNode;
|
|
98
|
-
actions?: ReactNode;
|
|
99
|
-
};
|
|
100
|
-
export type LinkCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
101
|
-
title: ReactNode;
|
|
102
|
-
href: string;
|
|
103
|
-
host?: ReactNode;
|
|
104
|
-
description?: ReactNode;
|
|
105
|
-
media?: ReactNode;
|
|
106
|
-
};
|
|
107
|
-
export type AlbumCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
108
|
-
title: ReactNode;
|
|
109
|
-
description?: ReactNode;
|
|
110
|
-
photos: ReactNode[];
|
|
111
|
-
};
|
|
112
|
-
export type TagCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
113
|
-
title: ReactNode;
|
|
114
|
-
description?: ReactNode;
|
|
115
|
-
tags: ReactNode[];
|
|
116
|
-
};
|
|
117
|
-
export type ReceiptItem = {
|
|
118
|
-
label: ReactNode;
|
|
119
|
-
value: ReactNode;
|
|
120
|
-
};
|
|
121
|
-
export type ReceiptCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
122
|
-
title: ReactNode;
|
|
123
|
-
meta?: ReactNode;
|
|
124
|
-
items: ReceiptItem[];
|
|
125
|
-
total?: ReactNode;
|
|
126
|
-
};
|
|
127
|
-
export type ReviewCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
128
|
-
quote: ReactNode;
|
|
129
|
-
author: ReactNode;
|
|
130
|
-
subtitle?: ReactNode;
|
|
131
|
-
avatar?: ReactNode;
|
|
132
|
-
rating: number;
|
|
133
|
-
max?: number;
|
|
134
|
-
};
|
|
135
|
-
export type OfferCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
136
|
-
eyebrow?: ReactNode;
|
|
137
|
-
title: ReactNode;
|
|
138
|
-
code: string;
|
|
139
|
-
description?: ReactNode;
|
|
140
|
-
};
|
|
141
|
-
export type PlaceCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
142
|
-
title: ReactNode;
|
|
143
|
-
address: ReactNode;
|
|
144
|
-
meta?: ReactNode;
|
|
145
|
-
icon?: ReactNode;
|
|
146
|
-
};
|
|
147
|
-
export type FileCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
148
|
-
name: ReactNode;
|
|
149
|
-
bytes?: number;
|
|
150
|
-
size?: ReactNode;
|
|
151
|
-
meta?: ReactNode;
|
|
152
|
-
icon?: ReactNode;
|
|
153
|
-
};
|
|
154
|
-
export type StatusCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
155
|
-
title: ReactNode;
|
|
156
|
-
description?: ReactNode;
|
|
157
|
-
status?: ReactNode;
|
|
158
|
-
tone?: StatusTone;
|
|
159
|
-
pulse?: boolean;
|
|
160
|
-
};
|
|
161
|
-
export type ScoreSide = {
|
|
162
|
-
name: ReactNode;
|
|
163
|
-
score: ReactNode;
|
|
164
|
-
kicker?: ReactNode;
|
|
165
|
-
};
|
|
166
|
-
export type ScoreCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
167
|
-
title?: ReactNode;
|
|
168
|
-
meta?: ReactNode;
|
|
169
|
-
home: ScoreSide;
|
|
170
|
-
away: ScoreSide;
|
|
171
|
-
};
|
|
172
|
-
export type ShortcutItem = {
|
|
173
|
-
action: ReactNode;
|
|
174
|
-
keys: string[];
|
|
175
|
-
};
|
|
176
|
-
export type ShortcutCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
177
|
-
title: ReactNode;
|
|
178
|
-
items: ShortcutItem[];
|
|
179
|
-
};
|
|
180
|
-
export type ChecklistItem = {
|
|
181
|
-
label: ReactNode;
|
|
182
|
-
done?: boolean;
|
|
183
|
-
};
|
|
184
|
-
export type ChecklistCardProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
185
|
-
title: ReactNode;
|
|
186
|
-
items: ChecklistItem[];
|
|
187
|
-
};
|
|
1
|
+
export * from './types-detail.js';
|
|
2
|
+
export * from './types-feed.js';
|
|
3
|
+
export * from './types-intro.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** The bar over the code: the file name, the language and the copy button. */
|
|
3
|
+
export declare function CodeBlockHeader({ filename, label, code, }: {
|
|
4
|
+
filename: ReactNode;
|
|
5
|
+
label: string;
|
|
6
|
+
code: string;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
|
+
/** The scrollable code: the line numbers beside the highlighted lines. */
|
|
9
|
+
export declare function CodeBlockBody({ lines, marked, maxHeight, showLineNumbers, }: {
|
|
10
|
+
/** The highlighted HTML of each line. */
|
|
11
|
+
lines: string[];
|
|
12
|
+
/** The 1-based numbers of the lines to mark. */
|
|
13
|
+
marked: Set<number>;
|
|
14
|
+
maxHeight: number | string | undefined;
|
|
15
|
+
showLineNumbers: boolean;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { EnrolmentSecretLabels } from './use-enrolment-secret-labels.js';
|
|
3
|
+
/** The column beside the QR code: the app link, the manual line and the copyable secret. */
|
|
4
|
+
export declare function EnrolmentSecretManual({ uri, secret, copyIcon, labels, }: {
|
|
5
|
+
uri: string;
|
|
6
|
+
secret: string;
|
|
7
|
+
copyIcon: ReactNode;
|
|
8
|
+
labels: EnrolmentSecretLabels;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IconButtonProps } from '../../../actions/icon-button/icon-button.js';
|
|
3
|
+
import { EntityHeaderBody } from './entity-header-body.js';
|
|
4
|
+
/** The band's start: the leading control or the icon badge, then the title and the facts. */
|
|
5
|
+
export declare function EntityHeaderStart({ row, leading, hasLeading, icon, variant, color, body, }: {
|
|
6
|
+
row: boolean;
|
|
7
|
+
leading: ReactNode;
|
|
8
|
+
hasLeading: boolean;
|
|
9
|
+
icon: ReactNode;
|
|
10
|
+
body: Parameters<typeof EntityHeaderBody>[0] | undefined;
|
|
11
|
+
} & Pick<IconButtonProps, 'variant' | 'color'>): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** What a chip says: the title and its time, on one line when `compact`. */
|
|
2
|
+
export declare function EventChipContent({ title, time, when, allDay, compact, tight, solid, }: {
|
|
3
|
+
title: string;
|
|
4
|
+
/** The start time alone, shown before the title when compact. */
|
|
5
|
+
time: string | undefined;
|
|
6
|
+
/** The time range, shown under the title. */
|
|
7
|
+
when: string | undefined;
|
|
8
|
+
allDay: boolean;
|
|
9
|
+
compact: boolean;
|
|
10
|
+
tight: boolean;
|
|
11
|
+
solid: boolean;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ParamTableRow } from './param-table.js';
|
|
2
|
+
/** The column heads and the `required` tag, translated. */
|
|
3
|
+
export type ParamTableLabels = {
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
fallbackDefault: string;
|
|
7
|
+
description: string;
|
|
8
|
+
required: string;
|
|
9
|
+
};
|
|
10
|
+
/** The table from `sm` up: one row per parameter. */
|
|
11
|
+
export declare function ParamTableWide({ params, labels, }: {
|
|
12
|
+
params: ParamTableRow[];
|
|
13
|
+
labels: ParamTableLabels;
|
|
14
|
+
}): import("react").JSX.Element;
|
|
15
|
+
/** The cards under `sm`: one per parameter, only the facts it has. */
|
|
16
|
+
export declare function ParamTableCards({ params, labels, }: {
|
|
17
|
+
params: ParamTableRow[];
|
|
18
|
+
labels: ParamTableLabels;
|
|
19
|
+
}): import("react").JSX.Element;
|