themelia-ui 2.0.1 → 3.0.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/.agents/skills/themelia-ui/SKILL.md +50 -50
- package/.agents/skills/themelia-ui/references/api-compatibility.md +7 -7
- package/.agents/skills/themelia-ui/references/composition-ladder.md +6 -6
- package/.agents/skills/themelia-ui/references/composition.md +28 -27
- package/.agents/skills/themelia-ui/references/forms.md +6 -2
- package/.agents/skills/themelia-ui/references/framework-wiring.md +28 -13
- package/.agents/skills/themelia-ui/references/i18n.md +4 -4
- package/.agents/skills/themelia-ui/references/imports.md +11 -12
- package/.agents/skills/themelia-ui/references/installation.md +47 -31
- package/.agents/skills/themelia-ui/references/migration.md +92 -43
- package/.agents/skills/themelia-ui/references/provider-and-scoping.md +19 -7
- package/.agents/skills/themelia-ui/references/theming.md +127 -101
- package/.agents/skills/themelia-ui/references/troubleshooting.md +55 -29
- package/.agents/skills/themelia-ui/references/verification.md +7 -7
- package/CHANGELOG.md +610 -1003
- package/README.md +208 -400
- package/SECURITY.md +47 -50
- package/dist/{accordion-B4zNzH7s.js → accordion-6YPJ9XRO.js} +1 -2
- package/dist/{action-menu-BrMchcyt.js → action-menu-BNLURfMK.js} +3 -4
- package/dist/admin/patterns/access.js +7 -9
- package/dist/admin/patterns/commerce.js +17 -19
- package/dist/{alert-dialog-ZHkE0QEz.js → alert-dialog-BMVo6Z-8.js} +1 -1
- package/dist/{avatar-C30TNJoy.js → avatar-CS7zow2q.js} +1 -2
- package/dist/{badge-D34FkKLD.js → badge-CxOuTfVr.js} +2 -3
- package/dist/base/accordion.js +1 -2
- package/dist/base/action-menu.js +1 -2
- package/dist/base/alert-dialog.js +1 -2
- package/dist/base/aspect-ratio.js +0 -2
- package/dist/base/avatar.js +1 -2
- package/dist/base/badge.js +1 -2
- package/dist/base/batch-action-bar.js +1 -2
- package/dist/base/buttons.js +1 -2
- package/dist/base/cards.js +1 -2
- package/dist/base/carousel.js +1 -3
- package/dist/base/chart.js +0 -1
- package/dist/base/choice-inputs.js +1 -2
- package/dist/base/combobox.js +1 -2
- package/dist/base/command.js +1 -2
- package/dist/base/context-menu.js +2 -3
- package/dist/base/copyable.js +1 -2
- package/dist/base/date-pickers.js +1 -2
- package/dist/base/dialog.js +1 -2
- package/dist/base/display.js +1 -2
- package/dist/base/dropdown-menu.js +1 -2
- package/dist/base/feedback.js +1 -2
- package/dist/base/forms-numeric.js +1 -2
- package/dist/base/forms.js +1 -2
- package/dist/base/hover-card.js +1 -3
- package/dist/base/input-group.js +1 -2
- package/dist/base/item.js +1 -2
- package/dist/base/label.js +0 -1
- package/dist/base/menubar.js +0 -2
- package/dist/base/navigation-menu.js +1 -3
- package/dist/base/navigation.js +1 -2
- package/dist/base/otp-input.js +2 -4
- package/dist/base/overlay.js +1 -2
- package/dist/base/popover-menu.js +1 -2
- package/dist/base/popover.js +1 -2
- package/dist/base/qr-code.js +1 -3
- package/dist/base/repeaters.js +1 -2
- package/dist/base/resizable.js +0 -2
- package/dist/base/sheet.js +1 -2
- package/dist/base/sidebar.js +1 -2
- package/dist/base/skeleton.js +1 -2
- package/dist/base/spinner.js +1 -2
- package/dist/base/structure.js +0 -1
- package/dist/base/table.js +1 -2
- package/dist/base/text-inputs.js +1 -2
- package/dist/base/timeline.js +1 -2
- package/dist/base/toaster.js +1 -2
- package/dist/base/toggle.js +0 -2
- package/dist/base/toolbar.js +1 -2
- package/dist/base/tooltip.js +1 -2
- package/dist/base/typography.js +0 -1
- package/dist/base/upload.js +1 -2
- package/dist/base/value-inputs.js +1 -2
- package/dist/{batch-action-bar-CAIjntVw.js → batch-action-bar-BZYNKXdV.js} +1 -2
- package/dist/{buttons-riLAPVQV.js → buttons-CqXKWty3.js} +2 -3
- package/dist/{cards-CcwLsQQS.js → cards-C6Ulbkw7.js} +6 -7
- package/dist/chart-nomhJ87z.js +0 -1
- package/dist/{choice-inputs-BjZYCdzk.js → choice-inputs-OUDn0kQw.js} +3 -4
- package/dist/{combobox-exdUS4qj.js → combobox-C8oP92bT.js} +1 -2
- package/dist/{command-Dv84KSRv.js → command-Bp3B6pUu.js} +3 -4
- package/dist/{comments-CqdhAH1O.js → comments-CAnDlyXO.js} +18 -19
- package/dist/components/admin/patterns/access/credential-list.d.ts +2 -1
- package/dist/components/admin/patterns/access/role-permissions.d.ts +1 -0
- package/dist/components/admin/patterns/access/sensitive-action.d.ts +4 -1
- package/dist/components/admin/patterns/commerce/account.d.ts +2 -1
- package/dist/components/admin/patterns/commerce/booking.d.ts +4 -0
- package/dist/components/admin/patterns/commerce/cart.d.ts +18 -15
- package/dist/components/admin/patterns/commerce/commerce.types.d.ts +2 -2
- package/dist/components/admin/patterns/commerce/inventory-section.d.ts +13 -1
- package/dist/components/admin/patterns/commerce/loyalty.d.ts +5 -1
- package/dist/components/admin/patterns/commerce/order-detail.d.ts +31 -9
- package/dist/components/admin/patterns/commerce/order-line-item.d.ts +4 -1
- package/dist/components/admin/patterns/commerce/order-transactions.d.ts +4 -0
- package/dist/components/admin/patterns/commerce/order.d.ts +8 -2
- package/dist/components/admin/patterns/commerce/seo-listing.d.ts +8 -2
- package/dist/components/admin/patterns/commerce/seo-score.d.ts +4 -0
- package/dist/components/admin/patterns/commerce/summary-panel.d.ts +16 -1
- package/dist/components/admin/patterns/commerce/vendor-profile.d.ts +10 -1
- package/dist/components/base/accordion/accordion.d.ts +11 -3
- package/dist/components/base/action-menu/action-menu.d.ts +56 -14
- package/dist/components/base/action-menu/action-menu.types.d.ts +27 -15
- package/dist/components/base/action-menu/index.d.ts +2 -1
- package/dist/components/base/alert-dialog/alert-dialog.d.ts +10 -0
- package/dist/components/base/aspect-ratio/aspect-ratio.d.ts +3 -2
- package/dist/components/base/avatar/avatar.d.ts +14 -1
- package/dist/components/base/avatar/stacked-avatars.d.ts +8 -3
- package/dist/components/base/badge/badge.d.ts +10 -6
- package/dist/components/base/batch-action-bar/batch-action-bar.d.ts +2 -1
- package/dist/components/base/buttons/button-group.d.ts +11 -2
- package/dist/components/base/buttons/button.d.ts +16 -6
- package/dist/components/base/buttons/loader-button.d.ts +11 -3
- package/dist/components/base/buttons/text-button.d.ts +14 -1
- package/dist/components/base/buttons/tooltip-button.d.ts +8 -2
- package/dist/components/base/cards/card-actions.d.ts +25 -8
- package/dist/components/base/cards/card-skeleton.d.ts +8 -0
- package/dist/components/base/cards/card.d.ts +44 -9
- package/dist/components/base/cards/index.d.ts +1 -0
- package/dist/components/base/carousel/carousel-context.d.ts +4 -0
- package/dist/components/base/carousel/carousel.d.ts +35 -3
- package/dist/components/base/chart/chart.d.ts +39 -3
- package/dist/components/base/chart/sparkline.d.ts +5 -0
- package/dist/components/base/choice-inputs/card-checkbox-group.d.ts +8 -0
- package/dist/components/base/choice-inputs/card-radio-group.d.ts +15 -1
- package/dist/components/base/choice-inputs/checkbox.d.ts +12 -2
- package/dist/components/base/choice-inputs/list-radio-group.d.ts +10 -0
- package/dist/components/base/choice-inputs/pill-radio-group.d.ts +14 -2
- package/dist/components/base/choice-inputs/radio.d.ts +14 -2
- package/dist/components/base/choice-inputs/select-popup.d.ts +19 -1
- package/dist/components/base/choice-inputs/select.d.ts +52 -11
- package/dist/components/base/choice-inputs/switch-card.d.ts +5 -0
- package/dist/components/base/choice-inputs/switch.d.ts +8 -1
- package/dist/components/base/choice-inputs/toggle-field.d.ts +15 -2
- package/dist/components/base/combobox/combobox-filter.d.ts +4 -0
- package/dist/components/base/combobox/combobox.d.ts +50 -13
- package/dist/components/base/command/command.d.ts +23 -4
- package/dist/components/base/context-menu/context-menu.d.ts +33 -0
- package/dist/components/base/copyable/copyable.d.ts +26 -8
- package/dist/components/base/copyable/use-copy-to-clipboard.d.ts +7 -5
- package/dist/components/base/date-pickers/calendar.d.ts +21 -4
- package/dist/components/base/date-pickers/date-picker-bands.d.ts +9 -0
- package/dist/components/base/date-pickers/date-picker.d.ts +28 -5
- package/dist/components/base/date-pickers/month-year-picker.d.ts +4 -0
- package/dist/components/base/date-pickers/presets-pickers.d.ts +7 -0
- package/dist/components/base/date-pickers/time-picker.d.ts +9 -2
- package/dist/components/base/dialog/dialog.d.ts +8 -0
- package/dist/components/base/direction/direction.d.ts +10 -0
- package/dist/components/base/display/boolean-indicator.d.ts +6 -1
- package/dist/components/base/display/collapsible.d.ts +9 -0
- package/dist/components/base/display/content-block.d.ts +13 -2
- package/dist/components/base/display/date-block.d.ts +26 -6
- package/dist/components/base/display/icon-badge.d.ts +10 -1
- package/dist/components/base/display/inline-stat.d.ts +10 -3
- package/dist/components/base/display/kbd.d.ts +10 -1
- package/dist/components/base/display/metadata-list.d.ts +41 -5
- package/dist/components/base/display/placeholder-pattern.d.ts +5 -0
- package/dist/components/base/display/scroll-area.d.ts +4 -0
- package/dist/components/base/display/separator.d.ts +14 -2
- package/dist/components/base/display/visually-hidden.d.ts +4 -0
- package/dist/components/base/dropdown-menu/dropdown-menu.d.ts +50 -4
- package/dist/components/base/feedback/alert-metadata.d.ts +2 -0
- package/dist/components/base/feedback/alert.d.ts +16 -2
- package/dist/components/base/feedback/empty-illustrations.d.ts +24 -5
- package/dist/components/base/feedback/empty.d.ts +30 -3
- package/dist/components/base/feedback/progress-circle.d.ts +17 -2
- package/dist/components/base/feedback/progress.d.ts +9 -0
- package/dist/components/base/feedback/states.d.ts +12 -2
- package/dist/components/base/forms/field-group.d.ts +7 -0
- package/dist/components/base/forms/form-field.d.ts +19 -5
- package/dist/components/base/forms/workflow.d.ts +27 -4
- package/dist/components/base/forms-numeric/currency-input.d.ts +19 -2
- package/dist/components/base/forms-numeric/currency-symbols.d.ts +5 -1
- package/dist/components/base/forms-numeric/decimal-input.d.ts +17 -6
- package/dist/components/base/forms-numeric/decimal.format.d.ts +8 -1
- package/dist/components/base/forms-numeric/money-input.d.ts +5 -0
- package/dist/components/base/forms-numeric/percentage-input.d.ts +6 -0
- package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +4 -0
- package/dist/components/base/forms-numeric/unit-inputs.d.ts +56 -6
- package/dist/components/base/hover-card/hover-card.d.ts +13 -2
- package/dist/components/base/input-group/input-group.d.ts +39 -16
- package/dist/components/base/item/item.d.ts +38 -17
- package/dist/components/base/label/label.d.ts +12 -1
- package/dist/components/base/menubar/menubar.d.ts +13 -1
- package/dist/components/base/navigation/breadcrumbs.d.ts +16 -1
- package/dist/components/base/navigation/index.d.ts +1 -0
- package/dist/components/base/navigation/language-switcher.d.ts +12 -1
- package/dist/components/base/navigation/navigation-tabs.d.ts +8 -2
- package/dist/components/base/navigation/navigation-tabs.strings.d.ts +4 -0
- package/dist/components/base/navigation/overflow-tab-bar.d.ts +14 -0
- package/dist/components/base/navigation/page-heading.d.ts +5 -2
- package/dist/components/base/navigation/pagination.d.ts +32 -18
- package/dist/components/base/navigation/pagination.range.d.ts +4 -1
- package/dist/components/base/navigation/tabs.d.ts +23 -4
- package/dist/components/base/navigation-menu/navigation-menu.d.ts +20 -5
- package/dist/components/base/otp-input/otp-input.d.ts +18 -2
- package/dist/components/base/overlay/overlay.d.ts +22 -4
- package/dist/components/base/overlay/overlay.types.d.ts +54 -6
- package/dist/components/base/overlay/partials/overlay-body.d.ts +4 -1
- package/dist/components/base/overlay/partials/overlay-description.d.ts +4 -1
- package/dist/components/base/overlay/partials/overlay-footer.d.ts +4 -1
- package/dist/components/base/overlay/partials/overlay-header.d.ts +5 -1
- package/dist/components/base/overlay/partials/overlay-title.d.ts +4 -1
- package/dist/components/base/popover/popover.d.ts +50 -6
- package/dist/components/base/popover-menu/popover-menu.d.ts +81 -23
- package/dist/components/base/popover-menu/popover-menu.strings.d.ts +6 -1
- package/dist/components/base/popover-menu/popover-menu.types.d.ts +4 -0
- package/dist/components/base/qr-code/qr-code.d.ts +20 -4
- package/dist/components/base/repeaters/key-value-editor.d.ts +9 -1
- package/dist/components/base/repeaters/localized-fields.d.ts +11 -1
- package/dist/components/base/repeaters/localized-string-repeater.d.ts +6 -0
- package/dist/components/base/repeaters/object-repeater.d.ts +12 -1
- package/dist/components/base/repeaters/repeater.d.ts +27 -4
- package/dist/components/base/repeaters/string-repeater.d.ts +2 -0
- package/dist/components/base/resizable/resizable.d.ts +15 -2
- package/dist/components/base/sheet/sheet.d.ts +14 -1
- package/dist/components/base/sidebar/sidebar-context.d.ts +17 -3
- package/dist/components/base/sidebar/sidebar-store.d.ts +4 -2
- package/dist/components/base/sidebar/sidebar.d.ts +81 -14
- package/dist/components/base/skeleton/composed-skeletons.d.ts +17 -3
- package/dist/components/base/skeleton/skeleton.d.ts +1 -0
- package/dist/components/base/slot/slot.d.ts +5 -4
- package/dist/components/base/spinner/spinner.d.ts +12 -1
- package/dist/components/base/structure/bleed.d.ts +9 -2
- package/dist/components/base/structure/split.d.ts +15 -6
- package/dist/components/base/structure/stack.d.ts +25 -4
- package/dist/components/base/table/table.d.ts +30 -3
- package/dist/components/base/text-inputs/field-shell.d.ts +5 -0
- package/dist/components/base/text-inputs/input.d.ts +27 -8
- package/dist/components/base/text-inputs/native-select.d.ts +4 -0
- package/dist/components/base/text-inputs/password-input.d.ts +9 -1
- package/dist/components/base/text-inputs/search-input.d.ts +18 -1
- package/dist/components/base/text-inputs/slug-field.d.ts +13 -3
- package/dist/components/base/text-inputs/slugify.d.ts +1 -0
- package/dist/components/base/text-inputs/textarea.d.ts +16 -4
- package/dist/components/base/text-inputs/use-field-value.d.ts +3 -2
- package/dist/components/base/timeline/stepper.d.ts +24 -4
- package/dist/components/base/timeline/timeline.d.ts +21 -2
- package/dist/components/base/toaster/toast-store.d.ts +24 -4
- package/dist/components/base/toaster/toaster.d.ts +25 -5
- package/dist/components/base/toggle/toggle.d.ts +20 -6
- package/dist/components/base/toolbar/toolbar.d.ts +14 -5
- package/dist/components/base/tooltip/tooltip.d.ts +12 -2
- package/dist/components/base/typography/rich-text/rich-text.d.ts +5 -0
- package/dist/components/base/typography/text/text.d.ts +16 -8
- package/dist/components/base/upload/dropzone.d.ts +6 -0
- package/dist/components/base/upload/file-picker-input.d.ts +5 -0
- package/dist/components/base/upload/file-upload.d.ts +25 -6
- package/dist/components/base/upload/media-gallery.d.ts +4 -0
- package/dist/components/base/upload/media-upload.d.ts +15 -2
- package/dist/components/base/upload/preview-image.d.ts +4 -0
- package/dist/components/base/upload/upload-queue.d.ts +22 -5
- package/dist/components/base/upload/upload.types.d.ts +6 -1
- package/dist/components/base/upload/use-file-drop-target.d.ts +3 -2
- package/dist/components/base/upload/validate-files.d.ts +4 -1
- package/dist/components/base/value-inputs/color-input.d.ts +23 -4
- package/dist/components/base/value-inputs/date-time-input.d.ts +4 -0
- package/dist/components/base/value-inputs/phone-input.d.ts +25 -6
- package/dist/components/base/value-inputs/slider.d.ts +32 -4
- package/dist/components/base/value-inputs/tags-input.d.ts +19 -5
- package/dist/components/features/actions/action-adapters.d.ts +15 -0
- package/dist/components/features/actions/action-overlay-outlet.d.ts +4 -0
- package/dist/components/features/actions/action-provider.d.ts +1 -0
- package/dist/components/features/actions/action-scope.d.ts +4 -0
- package/dist/components/features/actions/action-store.d.ts +4 -0
- package/dist/components/features/actions/actions.types.d.ts +10 -0
- package/dist/components/features/actions/hooks.d.ts +22 -0
- package/dist/components/features/activities/activities-feed.d.ts +1 -0
- package/dist/components/features/activities/activities.types.d.ts +70 -9
- package/dist/components/features/activities/activity-headline.d.ts +5 -0
- package/dist/components/features/activities/activity-log.d.ts +4 -0
- package/dist/components/features/activities/activity-parts.d.ts +25 -1
- package/dist/components/features/activities/activity-row.d.ts +5 -0
- package/dist/components/features/activities/use-activity-resources.d.ts +5 -0
- package/dist/components/features/ai-chat/ai-chat-parts.d.ts +19 -0
- package/dist/components/features/ai-chat/ai-chat.d.ts +34 -2
- package/dist/components/features/ai-chat/ai-chat.types.d.ts +13 -3
- package/dist/components/features/ai-chat/ai-content-surfaces.d.ts +11 -0
- package/dist/components/features/ai-chat/ai-message-surfaces.d.ts +8 -0
- package/dist/components/features/ai-chat/ai-work-surfaces.d.ts +14 -0
- package/dist/components/features/ai-chat/use-ai-chat-scroll.d.ts +6 -0
- package/dist/components/features/async-preview/async-preview-bundles.d.ts +4 -1
- package/dist/components/features/async-preview/async-preview-context.d.ts +4 -0
- package/dist/components/features/async-preview/async-preview.d.ts +24 -1
- package/dist/components/features/async-preview/async-preview.types.d.ts +38 -6
- package/dist/components/features/async-preview/preview-trigger-cell.d.ts +8 -1
- package/dist/components/features/async-preview/use-async-preview.d.ts +4 -0
- package/dist/components/features/combobox/async-combobox.d.ts +10 -0
- package/dist/components/features/combobox/combobox-dropdown.d.ts +5 -0
- package/dist/components/features/combobox/combobox.types.d.ts +30 -2
- package/dist/components/features/combobox/highlighted-text.d.ts +4 -0
- package/dist/components/features/combobox/resource-combobox.d.ts +20 -2
- package/dist/components/features/combobox/suggestions-combobox.d.ts +8 -0
- package/dist/components/features/combobox/use-combobox-core.d.ts +5 -0
- package/dist/components/features/combobox/use-suggestions.d.ts +10 -0
- package/dist/components/features/comments/comment-attachment-chip.d.ts +5 -0
- package/dist/components/features/comments/comment-content.d.ts +6 -1
- package/dist/components/features/comments/comment-item.d.ts +6 -0
- package/dist/components/features/comments/comments.d.ts +5 -0
- package/dist/components/features/comments/comments.types.d.ts +60 -9
- package/dist/components/features/comments/use-attachment-upload.d.ts +5 -0
- package/dist/components/features/comments/use-comments.d.ts +5 -0
- package/dist/components/features/data-view/data-view.d.ts +25 -1
- package/dist/components/features/data-view/data-view.types.d.ts +37 -2
- package/dist/components/features/data-view/use-data-view.d.ts +6 -0
- package/dist/components/features/event-calendar/event-calendar-day-cell.d.ts +5 -0
- package/dist/components/features/event-calendar/event-calendar-event-badge.d.ts +4 -0
- package/dist/components/features/event-calendar/event-calendar-event-card.d.ts +5 -0
- package/dist/components/features/event-calendar/event-calendar-header.d.ts +4 -0
- package/dist/components/features/event-calendar/event-calendar-legend.d.ts +4 -0
- package/dist/components/features/event-calendar/event-calendar.d.ts +4 -0
- package/dist/components/features/event-calendar/event-calendar.types.d.ts +39 -6
- package/dist/components/features/event-calendar/use-event-calendar.d.ts +5 -0
- package/dist/components/features/filters/filter-cache.d.ts +14 -8
- package/dist/components/features/filters/filter-context.d.ts +15 -1
- package/dist/components/features/filters/filter-editors.d.ts +25 -1
- package/dist/components/features/filters/filter-error-boundary.d.ts +5 -0
- package/dist/components/features/filters/filter-layout.d.ts +10 -1
- package/dist/components/features/filters/filter-operator-select.d.ts +5 -0
- package/dist/components/features/filters/filter-pill.d.ts +5 -0
- package/dist/components/features/filters/filter-query.d.ts +10 -0
- package/dist/components/features/filters/filter-tabs.d.ts +9 -0
- package/dist/components/features/filters/filter-value-display.d.ts +5 -0
- package/dist/components/features/filters/filters-button.d.ts +5 -0
- package/dist/components/features/filters/filters.types.d.ts +26 -2
- package/dist/components/features/filters/search-filters.d.ts +6 -0
- package/dist/components/features/filters/use-async-options.d.ts +5 -0
- package/dist/components/features/filters/use-filter-groups.d.ts +6 -0
- package/dist/components/features/global-search/global-search-dialog.d.ts +4 -0
- package/dist/components/features/global-search/global-search-empty-state.d.ts +1 -0
- package/dist/components/features/global-search/global-search-footer.d.ts +4 -0
- package/dist/components/features/global-search/global-search-idle-state.d.ts +4 -0
- package/dist/components/features/global-search/global-search-input.d.ts +4 -0
- package/dist/components/features/global-search/global-search-result-row.d.ts +4 -0
- package/dist/components/features/global-search/global-search-tabs.d.ts +4 -0
- package/dist/components/features/global-search/global-search.d.ts +5 -0
- package/dist/components/features/global-search/global-search.types.d.ts +36 -6
- package/dist/components/features/global-search/use-global-search.d.ts +5 -0
- package/dist/components/features/kanban/kanban-context.d.ts +2 -0
- package/dist/components/features/kanban/kanban.d.ts +22 -0
- package/dist/components/features/kanban/kanban.types.d.ts +24 -3
- package/dist/components/features/kanban/use-kanban.d.ts +5 -0
- package/dist/components/features/map/map-runtime.d.ts +8 -1
- package/dist/components/features/map/map.d.ts +132 -10
- package/dist/components/features/map/place-autocomplete.d.ts +4 -0
- package/dist/components/features/map/place-search.d.ts +5 -1
- package/dist/components/features/media-library/media-library-detail.d.ts +4 -0
- package/dist/components/features/media-library/media-library-parts.d.ts +22 -3
- package/dist/components/features/media-library/media-library-table.d.ts +4 -1
- package/dist/components/features/media-library/media-library-views.d.ts +8 -0
- package/dist/components/features/media-library/media-library.d.ts +4 -0
- package/dist/components/features/media-library/media-library.types.d.ts +50 -4
- package/dist/components/features/media-library/media-preview.d.ts +4 -2
- package/dist/components/features/media-library/media-resource-gallery.d.ts +5 -0
- package/dist/components/features/media-library/use-media-library.d.ts +6 -1
- package/dist/components/features/mentions/mention-content.d.ts +8 -2
- package/dist/components/features/mentions/mention-html.d.ts +4 -3
- package/dist/components/features/mentions/mention-inline-suggestions.d.ts +8 -1
- package/dist/components/features/mentions/mention-picker.d.ts +5 -0
- package/dist/components/features/mentions/mention-suggestion-list.d.ts +8 -0
- package/dist/components/features/mentions/mentions.types.d.ts +4 -1
- package/dist/components/features/mentions/use-mentions-search.d.ts +23 -2
- package/dist/components/features/mentions/use-mentions.d.ts +14 -2
- package/dist/components/features/overlays/action-dialog.d.ts +5 -0
- package/dist/components/features/overlays/action-sheet.d.ts +4 -0
- package/dist/components/features/overlays/overlays.types.d.ts +53 -11
- package/dist/components/features/overlays/use-overlay-actions.d.ts +5 -0
- package/dist/components/features/overlays/use-overlay-visibility.d.ts +10 -1
- package/dist/components/features/products/product-cards.d.ts +16 -0
- package/dist/components/features/products/product-options-matrix.d.ts +5 -0
- package/dist/components/features/products/product-parts.d.ts +40 -4
- package/dist/components/features/products/product-variant-details.d.ts +5 -0
- package/dist/components/features/products/product-variant-editor.d.ts +4 -0
- package/dist/components/features/products/product-variants.d.ts +4 -0
- package/dist/components/features/products/products.types.d.ts +91 -9
- package/dist/components/features/resource/resource.d.ts +14 -0
- package/dist/components/features/resource/resource.types.d.ts +36 -8
- package/dist/components/features/resource-assignment/resource-assignment.d.ts +13 -3
- package/dist/components/features/resource-assignment/resource-assignment.types.d.ts +49 -8
- package/dist/components/features/resource-assignment/use-shared-resource-card.d.ts +4 -0
- package/dist/components/features/rich-text-editor/rich-text-editor-toolbar.d.ts +7 -2
- package/dist/components/features/rich-text-editor/rich-text-editor.d.ts +9 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +52 -13
- package/dist/components/features/schema-form/schema-form-actions.d.ts +5 -0
- package/dist/components/features/schema-form/schema-form-field.d.ts +5 -0
- package/dist/components/features/schema-form/schema-form.d.ts +4 -0
- package/dist/components/features/schema-form/schema-form.types.d.ts +53 -5
- package/dist/components/features/schema-form/use-schema-form.d.ts +5 -0
- package/dist/components/features/sync/sync-range-form.d.ts +4 -0
- package/dist/components/features/sync/sync.types.d.ts +9 -2
- package/dist/components/features/table/cell-renderers.d.ts +26 -1
- package/dist/components/features/table/cell-value.d.ts +5 -0
- package/dist/components/features/table/column-visibility-toggle.d.ts +1 -0
- package/dist/components/features/table/data-table-actions.d.ts +4 -0
- package/dist/components/features/table/data-table-body.d.ts +1 -0
- package/dist/components/features/table/data-table-header.d.ts +4 -0
- package/dist/components/features/table/data-table-size.d.ts +1 -0
- package/dist/components/features/table/data-table-toolbar.d.ts +5 -0
- package/dist/components/features/table/fullscreen-toggle.d.ts +4 -0
- package/dist/components/features/table/index.d.ts +2 -1
- package/dist/components/features/table/resource-cell.d.ts +3 -8
- package/dist/components/features/table/table.types.d.ts +54 -6
- package/dist/components/features/table/use-fullscreen-modality.d.ts +5 -0
- package/dist/components/features/table/use-table-scroll.d.ts +5 -0
- package/dist/components/features/theme-tweaker/theme-scope.d.ts +5 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.d.ts +6 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +8 -1
- package/dist/components/features/theme-tweaker/ui-config-settings.d.ts +5 -0
- package/dist/components/features/theme-tweaker/use-applied-theme.d.ts +12 -0
- package/dist/components/layout/app-shell/app-shell.d.ts +33 -5
- package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +25 -2
- package/dist/components/layout/auth/auth-card.d.ts +9 -1
- package/dist/components/layout/auth/auth.d.ts +25 -5
- package/dist/components/layout/auth/auth.types.d.ts +1 -0
- package/dist/components/layout/auth/index.d.ts +1 -0
- package/dist/components/layout/containers/containers.d.ts +6 -5
- package/dist/components/layout/header/header.d.ts +7 -2
- package/dist/components/layout/header/index.d.ts +1 -0
- package/dist/components/layout/header/partials/header-breadcrumbs.d.ts +6 -0
- package/dist/components/layout/header/partials/header-notifications.d.ts +5 -0
- package/dist/components/layout/header/partials/header-search.d.ts +8 -2
- package/dist/components/layout/header/partials/header-tool.d.ts +9 -1
- package/dist/components/layout/header/partials/header-user-menu.d.ts +5 -0
- package/dist/components/layout/index.d.ts +2 -1
- package/dist/components/layout/layout.types.d.ts +3 -6
- package/dist/components/layout/navigation/breadcrumb-progress.d.ts +5 -0
- package/dist/components/layout/navigation/category-nav.d.ts +5 -0
- package/dist/components/layout/navigation/index.d.ts +1 -0
- package/dist/components/layout/navigation/section-nav.d.ts +1 -0
- package/dist/components/layout/navigation/side-nav.d.ts +11 -12
- package/dist/components/layout/page/index.d.ts +1 -0
- package/dist/components/layout/page/page-actions.d.ts +5 -1
- package/dist/components/layout/page/page-header.d.ts +18 -3
- package/dist/components/layout/page/page.d.ts +2 -0
- package/dist/components/layout/settings/index.d.ts +1 -0
- package/dist/components/layout/settings/settings.d.ts +16 -4
- package/dist/components/layout/sidebar/app-sidebar.d.ts +12 -4
- package/dist/components/layout/sidebar/index.d.ts +1 -1
- package/dist/components/layout/sidebar/nav.types.d.ts +3 -2
- package/dist/components/layout/sidebar/partials/sidebar-logo.d.ts +5 -0
- package/dist/components/layout/sidebar/partials/sidebar-user.d.ts +5 -0
- package/dist/components/layout/sidebar/partials/sidebar-workspace.d.ts +4 -0
- package/dist/components/layout/workspace/index.d.ts +1 -0
- package/dist/components/layout/workspace/workspace-layout.d.ts +5 -0
- package/dist/components/layout/workspace/workspace-locale-strip.d.ts +5 -0
- package/dist/components/layout/workspace/workspace-nav.d.ts +5 -0
- package/dist/components/layout/workspace/workspace.d.ts +7 -1
- package/dist/components/patterns/analytics/analytics.types.d.ts +9 -0
- package/dist/components/patterns/analytics/metric-gradient.d.ts +6 -0
- package/dist/components/patterns/analytics/metric-grid.d.ts +1 -0
- package/dist/components/patterns/analytics/metric-micro-grid.d.ts +6 -0
- package/dist/components/patterns/analytics/metric-skeleton.d.ts +5 -0
- package/dist/components/patterns/analytics/metric-trend-chip.d.ts +6 -0
- package/dist/components/patterns/analytics/metric.d.ts +18 -2
- package/dist/components/patterns/onboarding/checklist.d.ts +7 -2
- package/dist/components/patterns/timelines/changelog-timeline.d.ts +4 -0
- package/dist/components/patterns/timelines/milestones-timeline.d.ts +4 -0
- package/dist/components/patterns/timelines/steps.d.ts +4 -0
- package/dist/components/primitives/address.d.ts +8 -3
- package/dist/components/primitives/address.format.d.ts +3 -2
- package/dist/components/primitives/coordinates.d.ts +18 -4
- package/dist/components/primitives/date.d.ts +44 -3
- package/dist/components/primitives/date.format.d.ts +6 -3
- package/dist/components/primitives/dimensions.d.ts +5 -0
- package/dist/components/primitives/dimensions.format.d.ts +1 -0
- package/dist/components/primitives/duration.d.ts +6 -1
- package/dist/components/primitives/file-size.d.ts +18 -1
- package/dist/components/primitives/file-size.format.d.ts +1 -0
- package/dist/components/primitives/initials-format.d.ts +2 -1
- package/dist/components/primitives/initials.d.ts +8 -1
- package/dist/components/primitives/inline-list.d.ts +9 -3
- package/dist/components/primitives/link.d.ts +17 -3
- package/dist/components/primitives/money.d.ts +31 -7
- package/dist/components/primitives/name.d.ts +9 -0
- package/dist/components/primitives/name.format.d.ts +1 -0
- package/dist/components/primitives/number.d.ts +8 -1
- package/dist/components/primitives/quantity.d.ts +10 -2
- package/dist/components/primitives/range.d.ts +14 -2
- package/dist/components/primitives/ratio.d.ts +4 -0
- package/dist/components/primitives/value.d.ts +13 -3
- package/dist/containers-B8d8U9GS.js +0 -1
- package/dist/{copyable-uzkCHMzl.js → copyable-H1TUEY-H.js} +2 -3
- package/dist/{date-pickers-1_Ah7qWO.js → date-pickers-DOwIT-Nk.js} +5 -6
- package/dist/{dialog-CXugTX8t.js → dialog-CtFCuTUF.js} +1 -1
- package/dist/{display-Dehpw83R.js → display-B3Q17h5z.js} +11 -11
- package/dist/{dropdown-menu-BdgB__AC.js → dropdown-menu-TyNLCLML.js} +1 -2
- package/dist/features/actions.js +1 -2
- package/dist/features/activities.js +8 -10
- package/dist/features/ai-chat.js +8 -10
- package/dist/features/async-preview.js +6 -8
- package/dist/features/combobox.js +5 -7
- package/dist/features/comments.js +1 -2
- package/dist/features/data-view.js +5 -7
- package/dist/features/event-calendar.js +9 -11
- package/dist/features/filters.js +1 -2
- package/dist/features/global-search.js +9 -11
- package/dist/features/kanban.js +2 -4
- package/dist/features/map.js +7 -9
- package/dist/features/media-library.js +14 -16
- package/dist/features/mentions.js +1 -2
- package/dist/features/overlays.js +1 -2
- package/dist/features/products.js +16 -18
- package/dist/features/resource-assignment.js +5 -7
- package/dist/features/resource.js +5 -7
- package/dist/features/rich-text-editor.js +1 -2
- package/dist/features/schema-form.js +9 -11
- package/dist/features/sync.js +1 -3
- package/dist/features/table.js +1 -2
- package/dist/features/theme-tweaker.js +16 -18
- package/dist/{feedback-C8QtkdHc.js → feedback-DRerHGuV.js} +5 -6
- package/dist/{filters-BMKZHnBA.js → filters-DOLKRSmb.js} +18 -19
- package/dist/{forms-C-d0-GML.js → forms-CPrGGif_.js} +3 -4
- package/dist/{forms-numeric-MKOgf5BF.js → forms-numeric-CPVsL7Vf.js} +2 -3
- package/dist/index.css +3 -3
- package/dist/index.js +2 -3
- package/dist/{input-group-xFaO6qrB.js → input-group-BYe0rhoB.js} +2 -3
- package/dist/{item-C7Wfarcx.js → item-B3yQ26as.js} +2 -3
- package/dist/label-DumoMDm6.js +0 -1
- package/dist/layout/app-shell.js +1 -3
- package/dist/layout/auth.js +4 -6
- package/dist/layout/containers.js +0 -1
- package/dist/layout/header.js +29 -31
- package/dist/layout/navigation.js +1 -2
- package/dist/layout/page.js +17 -22
- package/dist/layout/settings.js +2 -3
- package/dist/layout/sidebar.js +87 -90
- package/dist/layout/workspace.js +8 -10
- package/dist/lib/action-presentation.d.ts +1 -1
- package/dist/lib/forms/field-binding.d.ts +20 -6
- package/dist/lib/forms-rhf/index.d.ts +3 -2
- package/dist/lib/navigation.d.ts +21 -8
- package/dist/lib/ui-provider/context.d.ts +12 -1
- package/dist/lib/ui-provider/csp-provider.d.ts +5 -0
- package/dist/lib/ui-provider/hooks.d.ts +34 -8
- package/dist/lib/ui-provider/index.d.ts +1 -1
- package/dist/lib/ui-provider/portal-host.d.ts +13 -9
- package/dist/lib/ui-provider/root.d.ts +19 -3
- package/dist/lib/ui-provider/scope.d.ts +15 -14
- package/dist/lib/ui-provider/types.d.ts +89 -16
- package/dist/lib/ui-provider/ui-scope.d.ts +11 -5
- package/dist/{mentions-D_b-yVXN.js → mentions-BbsEHlcH.js} +5 -6
- package/dist/navigation-B4eUU9E8.js +35 -0
- package/dist/{navigation-COnv0B1H.js → navigation-CsqTA16F.js} +181 -181
- package/dist/{navigation-DwNUlszz.js → navigation-DzxzPuwg.js} +71 -71
- package/dist/{overlay-A5bE-8n5.js → overlay-WQOsLd69.js} +1 -2
- package/dist/{overlays-DX9ux-XL.js → overlays-DvVoS3td.js} +7 -8
- package/dist/patterns/analytics.js +8 -10
- package/dist/patterns/onboarding.js +3 -5
- package/dist/patterns/timelines.js +1 -2
- package/dist/{popover-CM1nxkAM.js → popover-DriLnIFc.js} +1 -2
- package/dist/{popover-menu-BCs5CLkw.js → popover-menu-C2UCMAe7.js} +4 -5
- package/dist/{primitives-BnXNg-Kr.js → primitives-D0bdDozz.js} +6 -7
- package/dist/primitives.css +3 -3
- package/dist/primitives.js +1 -2
- package/dist/profiles/admin.json +2 -2
- package/dist/profiles/general.json +2 -2
- package/dist/{repeaters-B4oohPvd.js → repeaters-DuP1N0nw.js} +5 -6
- package/dist/{rich-text-editor-CgsfAGMo.js → rich-text-editor-BQXFe9oN.js} +3 -4
- package/dist/{sheet-3sbsGFus.js → sheet-CKcmRbJ9.js} +2 -2
- package/dist/{sidebar-BMgoyRxy.js → sidebar-D0N6ckJL.js} +43 -44
- package/dist/{skeleton-Bxqw8kwa.js → skeleton-DGR9df28.js} +1 -2
- package/dist/{spinner-Bv-2R-7S.js → spinner-CUAVFecI.js} +1 -2
- package/dist/structure-D0WGQAP3.js +0 -1
- package/dist/styles/FACTORS.md +2 -6
- package/dist/styles/SCOPES.md +1 -2
- package/dist/styles/TOKENS.md +7 -11
- package/dist/styles/themes/default.css +1 -1
- package/dist/styles/theming/colors.css +1 -2
- package/dist/styles/theming/sizing.css +1 -1
- package/dist/styles/tokens/primitives.css +1 -1
- package/dist/{table-BXL7IP5P.js → table-BC4qqsUb.js} +3 -4
- package/dist/{table-DszexXEh.js → table-BHDpjajL.js} +190 -194
- package/dist/{text-inputs-BBpgIQEI.js → text-inputs-DF_lD7pA.js} +1 -2
- package/dist/{timeline-ptWoY2GY.js → timeline-BdaGRyj-.js} +1 -2
- package/dist/{timelines-BquC31uF.js → timelines-BB7550mz.js} +4 -5
- package/dist/{toaster-DOBJDiXt.js → toaster-bBMgXm8z.js} +1 -2
- package/dist/tokens.json +1 -2
- package/dist/{toolbar-3GLSD7Fi.js → toolbar-DWRywF0R.js} +1 -2
- package/dist/{tooltip-DksScngC.js → tooltip-t1VQQ2tZ.js} +1 -2
- package/dist/typography-BkxEiwQ1.js +0 -1
- package/dist/{ui-provider-gNDv-ZRY.js → ui-provider-Cmoq6i_D.js} +83 -74
- package/dist/ui-provider.js +1 -1
- package/dist/{upload-wTBh4QQx.js → upload-B38YZeFJ.js} +5 -6
- package/dist/{value-inputs-DnQKmVqW.js → value-inputs-Q4ymjXlV.js} +4 -5
- package/docs/README.md +14 -19
- package/docs/build/recipes.md +12773 -2076
- package/docs/generated/component-index.json +1796 -1616
- package/docs/generated/components/INDEX.md +100 -100
- package/docs/generated/components/admin--patterns--access.md +66 -12
- package/docs/generated/components/admin--patterns--commerce.md +797 -110
- package/docs/generated/components/base--accordion.md +70 -9
- package/docs/generated/components/base--action-menu.md +256 -73
- package/docs/generated/components/base--alert-dialog.md +49 -18
- package/docs/generated/components/base--aspect-ratio.md +25 -5
- package/docs/generated/components/base--avatar.md +65 -11
- package/docs/generated/components/base--badge.md +40 -9
- package/docs/generated/components/base--batch-action-bar.md +70 -10
- package/docs/generated/components/base--buttons.md +229 -40
- package/docs/generated/components/base--cards.md +294 -71
- package/docs/generated/components/base--carousel.md +82 -22
- package/docs/generated/components/base--chart.md +132 -28
- package/docs/generated/components/base--choice-inputs.md +321 -73
- package/docs/generated/components/base--combobox.md +273 -29
- package/docs/generated/components/base--command.md +100 -12
- package/docs/generated/components/base--context-menu.md +61 -9
- package/docs/generated/components/base--copyable.md +83 -22
- package/docs/generated/components/base--date-pickers.md +174 -37
- package/docs/generated/components/base--dialog.md +93 -16
- package/docs/generated/components/base--direction.md +35 -11
- package/docs/generated/components/base--display.md +553 -100
- package/docs/generated/components/base--dropdown-menu.md +134 -12
- package/docs/generated/components/base--feedback.md +289 -55
- package/docs/generated/components/base--forms-numeric.md +180 -60
- package/docs/generated/components/base--forms.md +238 -55
- package/docs/generated/components/base--hover-card.md +42 -10
- package/docs/generated/components/base--input-group.md +127 -22
- package/docs/generated/components/base--item.md +122 -23
- package/docs/generated/components/base--label.md +25 -4
- package/docs/generated/components/base--menubar.md +50 -11
- package/docs/generated/components/base--navigation-menu.md +60 -22
- package/docs/generated/components/base--navigation.md +349 -89
- package/docs/generated/components/base--otp-input.md +27 -6
- package/docs/generated/components/base--overlay.md +579 -114
- package/docs/generated/components/base--popover-menu.md +170 -57
- package/docs/generated/components/base--popover.md +137 -22
- package/docs/generated/components/base--qr-code.md +44 -7
- package/docs/generated/components/base--repeaters.md +188 -42
- package/docs/generated/components/base--resizable.md +42 -8
- package/docs/generated/components/base--sheet.md +173 -31
- package/docs/generated/components/base--sidebar.md +134 -91
- package/docs/generated/components/base--skeleton.md +59 -14
- package/docs/generated/components/base--slot.md +30 -10
- package/docs/generated/components/base--spinner.md +50 -11
- package/docs/generated/components/base--structure.md +387 -28
- package/docs/generated/components/base--table.md +143 -54
- package/docs/generated/components/base--text-inputs.md +234 -38
- package/docs/generated/components/base--timeline.md +158 -45
- package/docs/generated/components/base--toaster.md +132 -28
- package/docs/generated/components/base--toggle.md +85 -17
- package/docs/generated/components/base--toolbar.md +83 -33
- package/docs/generated/components/base--tooltip.md +40 -9
- package/docs/generated/components/base--typography.md +371 -18
- package/docs/generated/components/base--upload.md +191 -53
- package/docs/generated/components/base--value-inputs.md +243 -51
- package/docs/generated/components/features--actions.md +146 -14
- package/docs/generated/components/features--activities.md +225 -41
- package/docs/generated/components/features--ai-chat.md +390 -56
- package/docs/generated/components/features--async-preview.md +314 -25
- package/docs/generated/components/features--combobox.md +287 -61
- package/docs/generated/components/features--comments.md +335 -51
- package/docs/generated/components/features--data-view.md +156 -47
- package/docs/generated/components/features--event-calendar.md +130 -31
- package/docs/generated/components/features--filters.md +240 -31
- package/docs/generated/components/features--global-search.md +136 -29
- package/docs/generated/components/features--kanban.md +148 -29
- package/docs/generated/components/features--map.md +215 -52
- package/docs/generated/components/features--media-library.md +324 -75
- package/docs/generated/components/features--mentions.md +267 -34
- package/docs/generated/components/features--overlays.md +211 -42
- package/docs/generated/components/features--products.md +459 -104
- package/docs/generated/components/features--resource-assignment.md +191 -36
- package/docs/generated/components/features--resource.md +229 -47
- package/docs/generated/components/features--rich-text-editor--tiptap.md +3 -3
- package/docs/generated/components/features--rich-text-editor.md +112 -31
- package/docs/generated/components/features--schema-form.md +265 -29
- package/docs/generated/components/features--sync.md +47 -17
- package/docs/generated/components/features--table.md +289 -61
- package/docs/generated/components/features--theme-tweaker.md +40 -6
- package/docs/generated/components/forms-rhf.md +6 -5
- package/docs/generated/components/forms.md +75 -21
- package/docs/generated/components/layout--app-shell.md +256 -26
- package/docs/generated/components/layout--auth.md +241 -45
- package/docs/generated/components/layout--containers.md +44 -17
- package/docs/generated/components/layout--header.md +125 -20
- package/docs/generated/components/layout--navigation.md +129 -19
- package/docs/generated/components/layout--page.md +122 -37
- package/docs/generated/components/layout--settings.md +72 -11
- package/docs/generated/components/layout--sidebar.md +200 -12
- package/docs/generated/components/layout--workspace.md +131 -17
- package/docs/generated/components/patterns--analytics.md +176 -33
- package/docs/generated/components/patterns--onboarding.md +37 -10
- package/docs/generated/components/patterns--timelines.md +78 -16
- package/docs/generated/components/primitives.md +812 -215
- package/docs/generated/components/theming.md +2 -2
- package/docs/generated/components/ui-provider.md +441 -147
- package/docs/generated/composition-ladder.md +6 -6
- package/docs/generated/imports.md +11 -12
- package/docs/generated/migration-broad-imports.json +29 -4
- package/docs/generated/migration-broad-imports.md +9 -8
- package/docs/generated/migration-codemod.json +2 -1
- package/docs/generated/migration.md +101 -19
- package/docs/generated/profiles.md +111 -112
- package/docs/generated/public-api.md +1070 -1070
- package/docs/generated/recipes.json +2571 -1737
- package/docs/learn/api-compatibility.md +7 -7
- package/docs/learn/composition.md +28 -27
- package/docs/learn/forms.md +6 -2
- package/docs/learn/framework-wiring.md +28 -13
- package/docs/learn/i18n.md +4 -4
- package/docs/learn/installation.md +47 -31
- package/docs/learn/migration.md +92 -43
- package/docs/learn/provider-and-scoping.md +19 -7
- package/docs/learn/theming.md +127 -101
- package/docs/learn/troubleshooting.md +55 -29
- package/docs/learn/verification.md +7 -7
- package/package.json +205 -809
- package/scripts/consumer/codemod.mjs +1 -1
- package/scripts/consumer/find-component.mjs +79 -52
- package/src/styles/FACTORS.md +2 -6
- package/src/styles/SCOPES.md +1 -2
- package/src/styles/TOKENS.md +7 -11
- package/.agents/skills/themelia-ui/references/components/INDEX.json +0 -17939
- package/.agents/skills/themelia-ui/references/components/INDEX.md +0 -106
- package/.agents/skills/themelia-ui/references/components/admin--patterns--access.md +0 -196
- package/.agents/skills/themelia-ui/references/components/admin--patterns--commerce.md +0 -2040
- package/.agents/skills/themelia-ui/references/components/base--accordion.md +0 -148
- package/.agents/skills/themelia-ui/references/components/base--action-menu.md +0 -315
- package/.agents/skills/themelia-ui/references/components/base--alert-dialog.md +0 -90
- package/.agents/skills/themelia-ui/references/components/base--aspect-ratio.md +0 -59
- package/.agents/skills/themelia-ui/references/components/base--avatar.md +0 -166
- package/.agents/skills/themelia-ui/references/components/base--badge.md +0 -95
- package/.agents/skills/themelia-ui/references/components/base--batch-action-bar.md +0 -97
- package/.agents/skills/themelia-ui/references/components/base--buttons.md +0 -265
- package/.agents/skills/themelia-ui/references/components/base--cards.md +0 -296
- package/.agents/skills/themelia-ui/references/components/base--carousel.md +0 -187
- package/.agents/skills/themelia-ui/references/components/base--chart.md +0 -204
- package/.agents/skills/themelia-ui/references/components/base--choice-inputs.md +0 -544
- package/.agents/skills/themelia-ui/references/components/base--combobox.md +0 -304
- package/.agents/skills/themelia-ui/references/components/base--command.md +0 -151
- package/.agents/skills/themelia-ui/references/components/base--context-menu.md +0 -175
- package/.agents/skills/themelia-ui/references/components/base--copyable.md +0 -128
- package/.agents/skills/themelia-ui/references/components/base--date-pickers.md +0 -441
- package/.agents/skills/themelia-ui/references/components/base--dialog.md +0 -67
- package/.agents/skills/themelia-ui/references/components/base--direction.md +0 -62
- package/.agents/skills/themelia-ui/references/components/base--display.md +0 -736
- package/.agents/skills/themelia-ui/references/components/base--dropdown-menu.md +0 -173
- package/.agents/skills/themelia-ui/references/components/base--feedback.md +0 -458
- package/.agents/skills/themelia-ui/references/components/base--forms-numeric.md +0 -476
- package/.agents/skills/themelia-ui/references/components/base--forms.md +0 -365
- package/.agents/skills/themelia-ui/references/components/base--hover-card.md +0 -97
- package/.agents/skills/themelia-ui/references/components/base--input-group.md +0 -154
- package/.agents/skills/themelia-ui/references/components/base--item.md +0 -167
- package/.agents/skills/themelia-ui/references/components/base--label.md +0 -47
- package/.agents/skills/themelia-ui/references/components/base--menubar.md +0 -75
- package/.agents/skills/themelia-ui/references/components/base--navigation-menu.md +0 -139
- package/.agents/skills/themelia-ui/references/components/base--navigation.md +0 -517
- package/.agents/skills/themelia-ui/references/components/base--otp-input.md +0 -76
- package/.agents/skills/themelia-ui/references/components/base--overlay.md +0 -385
- package/.agents/skills/themelia-ui/references/components/base--popover-menu.md +0 -180
- package/.agents/skills/themelia-ui/references/components/base--popover.md +0 -138
- package/.agents/skills/themelia-ui/references/components/base--qr-code.md +0 -94
- package/.agents/skills/themelia-ui/references/components/base--repeaters.md +0 -413
- package/.agents/skills/themelia-ui/references/components/base--resizable.md +0 -92
- package/.agents/skills/themelia-ui/references/components/base--sheet.md +0 -101
- package/.agents/skills/themelia-ui/references/components/base--sidebar.md +0 -477
- package/.agents/skills/themelia-ui/references/components/base--skeleton.md +0 -161
- package/.agents/skills/themelia-ui/references/components/base--slot.md +0 -53
- package/.agents/skills/themelia-ui/references/components/base--spinner.md +0 -74
- package/.agents/skills/themelia-ui/references/components/base--structure.md +0 -315
- package/.agents/skills/themelia-ui/references/components/base--table.md +0 -247
- package/.agents/skills/themelia-ui/references/components/base--text-inputs.md +0 -364
- package/.agents/skills/themelia-ui/references/components/base--timeline.md +0 -210
- package/.agents/skills/themelia-ui/references/components/base--toaster.md +0 -200
- package/.agents/skills/themelia-ui/references/components/base--toggle.md +0 -91
- package/.agents/skills/themelia-ui/references/components/base--toolbar.md +0 -168
- package/.agents/skills/themelia-ui/references/components/base--tooltip.md +0 -75
- package/.agents/skills/themelia-ui/references/components/base--typography.md +0 -251
- package/.agents/skills/themelia-ui/references/components/base--upload.md +0 -573
- package/.agents/skills/themelia-ui/references/components/base--value-inputs.md +0 -402
- package/.agents/skills/themelia-ui/references/components/features--actions.md +0 -886
- package/.agents/skills/themelia-ui/references/components/features--activities.md +0 -928
- package/.agents/skills/themelia-ui/references/components/features--ai-chat.md +0 -1187
- package/.agents/skills/themelia-ui/references/components/features--async-preview.md +0 -436
- package/.agents/skills/themelia-ui/references/components/features--combobox.md +0 -523
- package/.agents/skills/themelia-ui/references/components/features--comments.md +0 -687
- package/.agents/skills/themelia-ui/references/components/features--data-view.md +0 -386
- package/.agents/skills/themelia-ui/references/components/features--event-calendar.md +0 -482
- package/.agents/skills/themelia-ui/references/components/features--filters.md +0 -924
- package/.agents/skills/themelia-ui/references/components/features--global-search.md +0 -393
- package/.agents/skills/themelia-ui/references/components/features--kanban.md +0 -357
- package/.agents/skills/themelia-ui/references/components/features--map.md +0 -696
- package/.agents/skills/themelia-ui/references/components/features--media-library.md +0 -987
- package/.agents/skills/themelia-ui/references/components/features--mentions.md +0 -496
- package/.agents/skills/themelia-ui/references/components/features--overlays.md +0 -391
- package/.agents/skills/themelia-ui/references/components/features--products.md +0 -1492
- package/.agents/skills/themelia-ui/references/components/features--resource-assignment.md +0 -266
- package/.agents/skills/themelia-ui/references/components/features--resource.md +0 -300
- package/.agents/skills/themelia-ui/references/components/features--rich-text-editor--tiptap.md +0 -58
- package/.agents/skills/themelia-ui/references/components/features--rich-text-editor.md +0 -356
- package/.agents/skills/themelia-ui/references/components/features--schema-form.md +0 -600
- package/.agents/skills/themelia-ui/references/components/features--sync.md +0 -125
- package/.agents/skills/themelia-ui/references/components/features--table.md +0 -817
- package/.agents/skills/themelia-ui/references/components/features--theme-tweaker.md +0 -587
- package/.agents/skills/themelia-ui/references/components/forms-rhf.md +0 -51
- package/.agents/skills/themelia-ui/references/components/forms.md +0 -122
- package/.agents/skills/themelia-ui/references/components/layout--app-shell.md +0 -178
- package/.agents/skills/themelia-ui/references/components/layout--auth.md +0 -281
- package/.agents/skills/themelia-ui/references/components/layout--containers.md +0 -146
- package/.agents/skills/themelia-ui/references/components/layout--header.md +0 -362
- package/.agents/skills/themelia-ui/references/components/layout--navigation.md +0 -249
- package/.agents/skills/themelia-ui/references/components/layout--page.md +0 -221
- package/.agents/skills/themelia-ui/references/components/layout--settings.md +0 -90
- package/.agents/skills/themelia-ui/references/components/layout--sidebar.md +0 -273
- package/.agents/skills/themelia-ui/references/components/layout--workspace.md +0 -288
- package/.agents/skills/themelia-ui/references/components/patterns--analytics.md +0 -614
- package/.agents/skills/themelia-ui/references/components/patterns--onboarding.md +0 -110
- package/.agents/skills/themelia-ui/references/components/patterns--timelines.md +0 -256
- package/.agents/skills/themelia-ui/references/components/primitives.md +0 -1358
- package/.agents/skills/themelia-ui/references/components/theming.md +0 -154
- package/.agents/skills/themelia-ui/references/components/ui-provider.md +0 -726
- package/dist/accordion-VazE3cHZ.cjs +0 -1
- package/dist/action-menu-CO6DZ2xa.cjs +0 -1
- package/dist/admin/patterns/access.cjs +0 -1
- package/dist/admin/patterns/commerce.cjs +0 -1
- package/dist/alert-dialog-ByJw3YGj.cjs +0 -1
- package/dist/avatar-b2IaEzda.cjs +0 -1
- package/dist/badge-BRX7GXRH.cjs +0 -1
- package/dist/base/accordion.cjs +0 -1
- package/dist/base/action-menu.cjs +0 -1
- package/dist/base/alert-dialog.cjs +0 -1
- package/dist/base/aspect-ratio.cjs +0 -1
- package/dist/base/avatar.cjs +0 -1
- package/dist/base/badge.cjs +0 -1
- package/dist/base/batch-action-bar.cjs +0 -1
- package/dist/base/buttons.cjs +0 -1
- package/dist/base/cards.cjs +0 -1
- package/dist/base/carousel.cjs +0 -1
- package/dist/base/chart.cjs +0 -1
- package/dist/base/choice-inputs.cjs +0 -1
- package/dist/base/combobox.cjs +0 -1
- package/dist/base/command.cjs +0 -1
- package/dist/base/context-menu.cjs +0 -1
- package/dist/base/copyable.cjs +0 -1
- package/dist/base/date-pickers.cjs +0 -1
- package/dist/base/dialog.cjs +0 -1
- package/dist/base/direction.cjs +0 -1
- package/dist/base/display.cjs +0 -1
- package/dist/base/dropdown-menu.cjs +0 -1
- package/dist/base/feedback.cjs +0 -1
- package/dist/base/forms-numeric.cjs +0 -1
- package/dist/base/forms.cjs +0 -1
- package/dist/base/hover-card.cjs +0 -1
- package/dist/base/input-group.cjs +0 -1
- package/dist/base/item.cjs +0 -1
- package/dist/base/label.cjs +0 -1
- package/dist/base/menubar.cjs +0 -1
- package/dist/base/navigation-menu.cjs +0 -1
- package/dist/base/navigation.cjs +0 -1
- package/dist/base/otp-input.cjs +0 -1
- package/dist/base/overlay.cjs +0 -1
- package/dist/base/popover-menu.cjs +0 -1
- package/dist/base/popover.cjs +0 -1
- package/dist/base/qr-code.cjs +0 -1
- package/dist/base/repeaters.cjs +0 -1
- package/dist/base/resizable.cjs +0 -1
- package/dist/base/sheet.cjs +0 -1
- package/dist/base/sidebar.cjs +0 -1
- package/dist/base/skeleton.cjs +0 -1
- package/dist/base/slot.cjs +0 -1
- package/dist/base/spinner.cjs +0 -1
- package/dist/base/structure.cjs +0 -1
- package/dist/base/table.cjs +0 -1
- package/dist/base/text-inputs.cjs +0 -1
- package/dist/base/timeline.cjs +0 -1
- package/dist/base/toaster.cjs +0 -1
- package/dist/base/toggle.cjs +0 -1
- package/dist/base/toolbar.cjs +0 -1
- package/dist/base/tooltip.cjs +0 -1
- package/dist/base/typography.cjs +0 -1
- package/dist/base/upload.cjs +0 -1
- package/dist/base/value-inputs.cjs +0 -1
- package/dist/batch-action-bar-BMIiHBU8.cjs +0 -1
- package/dist/buttons-Dwl42fIr.cjs +0 -1
- package/dist/cards-DQPevRTY.cjs +0 -1
- package/dist/chart-BYGLuXR9.cjs +0 -1
- package/dist/choice-inputs-C8LMAkh8.cjs +0 -1
- package/dist/combobox-bDQg27j0.cjs +0 -1
- package/dist/command-Geb5eIzu.cjs +0 -1
- package/dist/comments-CV9tvSAi.cjs +0 -1
- package/dist/components/admin/patterns/access/admin.strings.d.cts +0 -18
- package/dist/components/admin/patterns/access/credential-list.d.cts +0 -30
- package/dist/components/admin/patterns/access/index.d.cts +0 -8
- package/dist/components/admin/patterns/access/role-permissions.d.cts +0 -22
- package/dist/components/admin/patterns/access/sensitive-action.d.cts +0 -10
- package/dist/components/admin/patterns/commerce/account.d.cts +0 -70
- package/dist/components/admin/patterns/commerce/address-lines.d.cts +0 -8
- package/dist/components/admin/patterns/commerce/booking.d.cts +0 -36
- package/dist/components/admin/patterns/commerce/cart.d.cts +0 -91
- package/dist/components/admin/patterns/commerce/commerce.strings.d.cts +0 -233
- package/dist/components/admin/patterns/commerce/commerce.types.d.cts +0 -45
- package/dist/components/admin/patterns/commerce/format-amount.d.cts +0 -10
- package/dist/components/admin/patterns/commerce/index.d.cts +0 -23
- package/dist/components/admin/patterns/commerce/inventory-section.d.cts +0 -37
- package/dist/components/admin/patterns/commerce/invoice.d.cts +0 -50
- package/dist/components/admin/patterns/commerce/loyalty.d.cts +0 -25
- package/dist/components/admin/patterns/commerce/order-customer.d.cts +0 -20
- package/dist/components/admin/patterns/commerce/order-detail.d.cts +0 -63
- package/dist/components/admin/patterns/commerce/order-line-item.d.cts +0 -29
- package/dist/components/admin/patterns/commerce/order-transactions.d.cts +0 -23
- package/dist/components/admin/patterns/commerce/order.d.cts +0 -87
- package/dist/components/admin/patterns/commerce/seo-listing.d.cts +0 -13
- package/dist/components/admin/patterns/commerce/seo-score.d.cts +0 -56
- package/dist/components/admin/patterns/commerce/summary-panel.d.cts +0 -18
- package/dist/components/admin/patterns/commerce/vendor-profile.d.cts +0 -38
- package/dist/components/admin/patterns/index.d.cts +0 -2
- package/dist/components/base/accordion/accordion.d.cts +0 -20
- package/dist/components/base/accordion/accordion.types.d.cts +0 -33
- package/dist/components/base/accordion/index.d.cts +0 -3
- package/dist/components/base/action-menu/action-menu.d.cts +0 -58
- package/dist/components/base/action-menu/action-menu.strings.d.cts +0 -7
- package/dist/components/base/action-menu/action-menu.types.d.cts +0 -93
- package/dist/components/base/action-menu/context-actions.d.cts +0 -19
- package/dist/components/base/action-menu/index.d.cts +0 -5
- package/dist/components/base/alert-dialog/alert-dialog.d.cts +0 -19
- package/dist/components/base/alert-dialog/index.d.cts +0 -1
- package/dist/components/base/aspect-ratio/aspect-ratio.d.cts +0 -12
- package/dist/components/base/aspect-ratio/index.d.cts +0 -1
- package/dist/components/base/avatar/avatar.d.cts +0 -14
- package/dist/components/base/avatar/avatar.strings.d.cts +0 -11
- package/dist/components/base/avatar/index.d.cts +0 -3
- package/dist/components/base/avatar/stacked-avatars.d.cts +0 -22
- package/dist/components/base/badge/badge.d.cts +0 -25
- package/dist/components/base/badge/badge.variants.d.cts +0 -6
- package/dist/components/base/badge/index.d.cts +0 -2
- package/dist/components/base/batch-action-bar/batch-action-bar.d.cts +0 -19
- package/dist/components/base/batch-action-bar/batch-action-bar.strings.d.cts +0 -9
- package/dist/components/base/batch-action-bar/index.d.cts +0 -2
- package/dist/components/base/buttons/button-group.d.cts +0 -15
- package/dist/components/base/buttons/button.d.cts +0 -34
- package/dist/components/base/buttons/button.strings.d.cts +0 -5
- package/dist/components/base/buttons/button.types.d.cts +0 -13
- package/dist/components/base/buttons/index.d.cts +0 -7
- package/dist/components/base/buttons/loader-button.d.cts +0 -21
- package/dist/components/base/buttons/text-button.d.cts +0 -8
- package/dist/components/base/buttons/tooltip-button.d.cts +0 -17
- package/dist/components/base/cards/card-actions.d.cts +0 -22
- package/dist/components/base/cards/card-skeleton.d.cts +0 -14
- package/dist/components/base/cards/card.d.cts +0 -61
- package/dist/components/base/cards/card.strings.d.cts +0 -10
- package/dist/components/base/cards/card.types.d.cts +0 -14
- package/dist/components/base/cards/index.d.cts +0 -6
- package/dist/components/base/cards/partials/card-header.d.cts +0 -19
- package/dist/components/base/cards/partials/card-regions.d.cts +0 -7
- package/dist/components/base/cards/partials/index.d.cts +0 -2
- package/dist/components/base/carousel/carousel-context.d.cts +0 -17
- package/dist/components/base/carousel/carousel.d.cts +0 -33
- package/dist/components/base/carousel/carousel.strings.d.cts +0 -13
- package/dist/components/base/carousel/index.d.cts +0 -3
- package/dist/components/base/chart/chart.d.cts +0 -62
- package/dist/components/base/chart/index.d.cts +0 -3
- package/dist/components/base/chart/sparkline.d.cts +0 -12
- package/dist/components/base/choice-inputs/card-checkbox-group.d.cts +0 -11
- package/dist/components/base/choice-inputs/card-group-columns.d.cts +0 -6
- package/dist/components/base/choice-inputs/card-radio-group.d.cts +0 -12
- package/dist/components/base/choice-inputs/checkbox.d.cts +0 -7
- package/dist/components/base/choice-inputs/choice.types.d.cts +0 -39
- package/dist/components/base/choice-inputs/index.d.cts +0 -13
- package/dist/components/base/choice-inputs/list-radio-group.d.cts +0 -10
- package/dist/components/base/choice-inputs/partials/choice-icon.d.cts +0 -6
- package/dist/components/base/choice-inputs/partials/choice-parts.d.cts +0 -25
- package/dist/components/base/choice-inputs/partials/index.d.cts +0 -2
- package/dist/components/base/choice-inputs/partials/radio-option-group.d.cts +0 -14
- package/dist/components/base/choice-inputs/pill-radio-group.d.cts +0 -13
- package/dist/components/base/choice-inputs/radio.d.cts +0 -11
- package/dist/components/base/choice-inputs/select-popup.d.cts +0 -19
- package/dist/components/base/choice-inputs/select.d.cts +0 -67
- package/dist/components/base/choice-inputs/select.strings.d.cts +0 -7
- package/dist/components/base/choice-inputs/switch-card.d.cts +0 -6
- package/dist/components/base/choice-inputs/switch.d.cts +0 -9
- package/dist/components/base/choice-inputs/toggle-field.d.cts +0 -35
- package/dist/components/base/combobox/combobox-filter.d.cts +0 -2
- package/dist/components/base/combobox/combobox.d.cts +0 -65
- package/dist/components/base/combobox/combobox.strings.d.cts +0 -9
- package/dist/components/base/combobox/index.d.cts +0 -3
- package/dist/components/base/command/command.d.cts +0 -27
- package/dist/components/base/command/command.strings.d.cts +0 -7
- package/dist/components/base/command/index.d.cts +0 -3
- package/dist/components/base/context-menu/context-menu.d.cts +0 -31
- package/dist/components/base/context-menu/index.d.cts +0 -1
- package/dist/components/base/copyable/copyable.d.cts +0 -26
- package/dist/components/base/copyable/copyable.strings.d.cts +0 -11
- package/dist/components/base/copyable/index.d.cts +0 -3
- package/dist/components/base/copyable/use-copy-to-clipboard.d.cts +0 -23
- package/dist/components/base/date-pickers/calendar.d.cts +0 -19
- package/dist/components/base/date-pickers/calendar.types.d.cts +0 -18
- package/dist/components/base/date-pickers/date-picker-bands.d.cts +0 -16
- package/dist/components/base/date-pickers/date-picker.d.cts +0 -39
- package/dist/components/base/date-pickers/date-pickers.strings.d.cts +0 -32
- package/dist/components/base/date-pickers/index.d.cts +0 -11
- package/dist/components/base/date-pickers/month-year-picker.d.cts +0 -18
- package/dist/components/base/date-pickers/presets-pickers.d.cts +0 -19
- package/dist/components/base/date-pickers/presets.d.cts +0 -18
- package/dist/components/base/date-pickers/time-picker.d.cts +0 -30
- package/dist/components/base/date-pickers/time-picker.strings.d.cts +0 -9
- package/dist/components/base/dialog/dialog.d.cts +0 -8
- package/dist/components/base/dialog/index.d.cts +0 -1
- package/dist/components/base/direction/direction.d.cts +0 -6
- package/dist/components/base/direction/index.d.cts +0 -1
- package/dist/components/base/display/boolean-indicator.d.cts +0 -9
- package/dist/components/base/display/boolean-indicator.strings.d.cts +0 -7
- package/dist/components/base/display/collapsible.d.cts +0 -10
- package/dist/components/base/display/content-block.d.cts +0 -24
- package/dist/components/base/display/date-block.d.cts +0 -26
- package/dist/components/base/display/icon-badge.d.cts +0 -17
- package/dist/components/base/display/index.d.cts +0 -15
- package/dist/components/base/display/inline-stat.d.cts +0 -16
- package/dist/components/base/display/kbd.d.cts +0 -4
- package/dist/components/base/display/metadata-list.d.cts +0 -59
- package/dist/components/base/display/metadata-list.strings.d.cts +0 -7
- package/dist/components/base/display/metadata-value.d.cts +0 -88
- package/dist/components/base/display/placeholder-pattern.d.cts +0 -3
- package/dist/components/base/display/scroll-area.d.cts +0 -6
- package/dist/components/base/display/separator.d.cts +0 -15
- package/dist/components/base/display/visually-hidden.d.cts +0 -12
- package/dist/components/base/dropdown-menu/dropdown-menu.d.cts +0 -58
- package/dist/components/base/dropdown-menu/index.d.cts +0 -1
- package/dist/components/base/feedback/alert-metadata.d.cts +0 -9
- package/dist/components/base/feedback/alert.d.cts +0 -22
- package/dist/components/base/feedback/empty-illustrations.d.cts +0 -13
- package/dist/components/base/feedback/empty.d.cts +0 -47
- package/dist/components/base/feedback/empty.strings.d.cts +0 -8
- package/dist/components/base/feedback/index.d.cts +0 -9
- package/dist/components/base/feedback/progress-circle.d.cts +0 -19
- package/dist/components/base/feedback/progress-range.d.cts +0 -6
- package/dist/components/base/feedback/progress.d.cts +0 -16
- package/dist/components/base/feedback/states.d.cts +0 -19
- package/dist/components/base/feedback/states.strings.d.cts +0 -10
- package/dist/components/base/forms/field-group.d.cts +0 -10
- package/dist/components/base/forms/form-field.d.cts +0 -42
- package/dist/components/base/forms/index.d.cts +0 -4
- package/dist/components/base/forms/workflow.d.cts +0 -71
- package/dist/components/base/forms/workflow.strings.d.cts +0 -16
- package/dist/components/base/forms-numeric/currency-input.d.cts +0 -21
- package/dist/components/base/forms-numeric/currency-symbols.d.cts +0 -2
- package/dist/components/base/forms-numeric/decimal-input.d.cts +0 -30
- package/dist/components/base/forms-numeric/decimal.format.d.cts +0 -13
- package/dist/components/base/forms-numeric/forms-numeric.strings.d.cts +0 -29
- package/dist/components/base/forms-numeric/index.d.cts +0 -10
- package/dist/components/base/forms-numeric/money-input.d.cts +0 -12
- package/dist/components/base/forms-numeric/percentage-input.d.cts +0 -10
- package/dist/components/base/forms-numeric/rounding-mode-select.d.cts +0 -12
- package/dist/components/base/forms-numeric/rounding-mode-select.strings.d.cts +0 -4
- package/dist/components/base/forms-numeric/unit-inputs.d.cts +0 -95
- package/dist/components/base/hover-card/hover-card.d.cts +0 -23
- package/dist/components/base/hover-card/index.d.cts +0 -1
- package/dist/components/base/index.d.cts +0 -54
- package/dist/components/base/input-group/index.d.cts +0 -2
- package/dist/components/base/input-group/input-group.d.cts +0 -29
- package/dist/components/base/item/index.d.cts +0 -1
- package/dist/components/base/item/item.d.cts +0 -37
- package/dist/components/base/label/index.d.cts +0 -1
- package/dist/components/base/label/label.d.cts +0 -3
- package/dist/components/base/menubar/index.d.cts +0 -1
- package/dist/components/base/menubar/menubar.d.cts +0 -7
- package/dist/components/base/navigation/breadcrumbs.d.cts +0 -24
- package/dist/components/base/navigation/index.d.cts +0 -10
- package/dist/components/base/navigation/language-switcher.d.cts +0 -20
- package/dist/components/base/navigation/navigation-tabs.d.cts +0 -23
- package/dist/components/base/navigation/navigation-tabs.strings.d.cts +0 -9
- package/dist/components/base/navigation/navigation.strings.d.cts +0 -27
- package/dist/components/base/navigation/overflow-tab-bar.d.cts +0 -23
- package/dist/components/base/navigation/page-heading.d.cts +0 -47
- package/dist/components/base/navigation/pagination.d.cts +0 -37
- package/dist/components/base/navigation/pagination.range.d.cts +0 -2
- package/dist/components/base/navigation/tabs.d.cts +0 -34
- package/dist/components/base/navigation-menu/index.d.cts +0 -1
- package/dist/components/base/navigation-menu/navigation-menu.d.cts +0 -35
- package/dist/components/base/otp-input/index.d.cts +0 -2
- package/dist/components/base/otp-input/otp-input.d.cts +0 -12
- package/dist/components/base/otp-input/otp-input.strings.d.cts +0 -13
- package/dist/components/base/overlay/index.d.cts +0 -3
- package/dist/components/base/overlay/overlay-context.d.cts +0 -19
- package/dist/components/base/overlay/overlay.d.cts +0 -24
- package/dist/components/base/overlay/overlay.strings.d.cts +0 -5
- package/dist/components/base/overlay/overlay.types.d.cts +0 -53
- package/dist/components/base/overlay/partials/index.d.cts +0 -5
- package/dist/components/base/overlay/partials/overlay-body.d.cts +0 -3
- package/dist/components/base/overlay/partials/overlay-description.d.cts +0 -3
- package/dist/components/base/overlay/partials/overlay-footer.d.cts +0 -3
- package/dist/components/base/overlay/partials/overlay-header.d.cts +0 -3
- package/dist/components/base/overlay/partials/overlay-title.d.cts +0 -3
- package/dist/components/base/popover/index.d.cts +0 -2
- package/dist/components/base/popover/popover.d.cts +0 -32
- package/dist/components/base/popover-menu/index.d.cts +0 -3
- package/dist/components/base/popover-menu/popover-menu.d.cts +0 -112
- package/dist/components/base/popover-menu/popover-menu.strings.d.cts +0 -15
- package/dist/components/base/popover-menu/popover-menu.types.d.cts +0 -16
- package/dist/components/base/qr-code/index.d.cts +0 -2
- package/dist/components/base/qr-code/qr-code.d.cts +0 -26
- package/dist/components/base/qr-code/qr-code.strings.d.cts +0 -10
- package/dist/components/base/repeaters/index.d.cts +0 -8
- package/dist/components/base/repeaters/key-value-editor.d.cts +0 -20
- package/dist/components/base/repeaters/localized-fields.d.cts +0 -49
- package/dist/components/base/repeaters/localized-string-repeater.d.cts +0 -20
- package/dist/components/base/repeaters/object-repeater.d.cts +0 -42
- package/dist/components/base/repeaters/repeater.d.cts +0 -29
- package/dist/components/base/repeaters/repeaters.strings.d.cts +0 -32
- package/dist/components/base/repeaters/string-repeater.d.cts +0 -16
- package/dist/components/base/resizable/index.d.cts +0 -1
- package/dist/components/base/resizable/resizable.d.cts +0 -16
- package/dist/components/base/sheet/index.d.cts +0 -1
- package/dist/components/base/sheet/sheet.d.cts +0 -14
- package/dist/components/base/sheet/sheet.types.d.cts +0 -17
- package/dist/components/base/sidebar/index.d.cts +0 -6
- package/dist/components/base/sidebar/sidebar-context.d.cts +0 -19
- package/dist/components/base/sidebar/sidebar-store.d.cts +0 -19
- package/dist/components/base/sidebar/sidebar.d.cts +0 -105
- package/dist/components/base/sidebar/sidebar.strings.d.cts +0 -8
- package/dist/components/base/skeleton/composed-skeletons.d.cts +0 -42
- package/dist/components/base/skeleton/index.d.cts +0 -3
- package/dist/components/base/skeleton/skeleton.d.cts +0 -3
- package/dist/components/base/skeleton/skeleton.strings.d.cts +0 -10
- package/dist/components/base/slot/index.d.cts +0 -1
- package/dist/components/base/slot/slot.d.cts +0 -13
- package/dist/components/base/spinner/index.d.cts +0 -1
- package/dist/components/base/spinner/spinner.d.cts +0 -13
- package/dist/components/base/structure/adaptive-grid.d.cts +0 -13
- package/dist/components/base/structure/bleed.d.cts +0 -13
- package/dist/components/base/structure/grid.d.cts +0 -22
- package/dist/components/base/structure/index.d.cts +0 -6
- package/dist/components/base/structure/split.d.cts +0 -24
- package/dist/components/base/structure/stack.d.cts +0 -19
- package/dist/components/base/structure/structure.maps.d.cts +0 -10
- package/dist/components/base/structure/structure.types.d.cts +0 -19
- package/dist/components/base/table/index.d.cts +0 -3
- package/dist/components/base/table/table.d.cts +0 -44
- package/dist/components/base/table/table.strings.d.cts +0 -10
- package/dist/components/base/text-inputs/field-shell.d.cts +0 -22
- package/dist/components/base/text-inputs/index.d.cts +0 -11
- package/dist/components/base/text-inputs/input.d.cts +0 -31
- package/dist/components/base/text-inputs/input.strings.d.cts +0 -9
- package/dist/components/base/text-inputs/native-select.d.cts +0 -6
- package/dist/components/base/text-inputs/password-input.d.cts +0 -12
- package/dist/components/base/text-inputs/password-input.strings.d.cts +0 -8
- package/dist/components/base/text-inputs/search-input.d.cts +0 -7
- package/dist/components/base/text-inputs/slug-field.d.cts +0 -16
- package/dist/components/base/text-inputs/slugify.d.cts +0 -12
- package/dist/components/base/text-inputs/textarea.d.cts +0 -26
- package/dist/components/base/text-inputs/use-field-value.d.cts +0 -29
- package/dist/components/base/timeline/index.d.cts +0 -3
- package/dist/components/base/timeline/stepper.d.cts +0 -39
- package/dist/components/base/timeline/stepper.strings.d.cts +0 -10
- package/dist/components/base/timeline/timeline.d.cts +0 -28
- package/dist/components/base/toaster/index.d.cts +0 -4
- package/dist/components/base/toaster/toast-store.d.cts +0 -72
- package/dist/components/base/toaster/toaster.d.cts +0 -29
- package/dist/components/base/toaster/toaster.strings.d.cts +0 -7
- package/dist/components/base/toaster/toaster.types.d.cts +0 -12
- package/dist/components/base/toggle/index.d.cts +0 -1
- package/dist/components/base/toggle/toggle.d.cts +0 -16
- package/dist/components/base/toolbar/index.d.cts +0 -1
- package/dist/components/base/toolbar/toolbar.d.cts +0 -28
- package/dist/components/base/tooltip/index.d.cts +0 -1
- package/dist/components/base/tooltip/tooltip.d.cts +0 -12
- package/dist/components/base/typography/display-label/display-label.d.cts +0 -6
- package/dist/components/base/typography/display-label/index.d.cts +0 -1
- package/dist/components/base/typography/heading/heading.d.cts +0 -20
- package/dist/components/base/typography/heading/index.d.cts +0 -1
- package/dist/components/base/typography/index.d.cts +0 -8
- package/dist/components/base/typography/rich-text/rich-text.d.cts +0 -16
- package/dist/components/base/typography/text/index.d.cts +0 -2
- package/dist/components/base/typography/text/text.d.cts +0 -50
- package/dist/components/base/typography/text-link/index.d.cts +0 -1
- package/dist/components/base/typography/text-link/text-link.d.cts +0 -16
- package/dist/components/base/upload/dropzone.d.cts +0 -25
- package/dist/components/base/upload/file-picker-input.d.cts +0 -17
- package/dist/components/base/upload/file-upload.d.cts +0 -41
- package/dist/components/base/upload/file-upload.strings.d.cts +0 -20
- package/dist/components/base/upload/index.d.cts +0 -16
- package/dist/components/base/upload/media-gallery.d.cts +0 -20
- package/dist/components/base/upload/media-upload.d.cts +0 -29
- package/dist/components/base/upload/preview-image.d.cts +0 -9
- package/dist/components/base/upload/upload-queue.d.cts +0 -48
- package/dist/components/base/upload/upload.strings.d.cts +0 -58
- package/dist/components/base/upload/upload.types.d.cts +0 -27
- package/dist/components/base/upload/use-file-drop-target.d.cts +0 -23
- package/dist/components/base/upload/validate-files.d.cts +0 -15
- package/dist/components/base/value-inputs/color-input.d.cts +0 -19
- package/dist/components/base/value-inputs/country-prefixes.d.cts +0 -16
- package/dist/components/base/value-inputs/date-time-input.d.cts +0 -21
- package/dist/components/base/value-inputs/index.d.cts +0 -7
- package/dist/components/base/value-inputs/phone-input.d.cts +0 -22
- package/dist/components/base/value-inputs/slider.d.cts +0 -50
- package/dist/components/base/value-inputs/tags-input.d.cts +0 -44
- package/dist/components/base/value-inputs/value-inputs.strings.d.cts +0 -37
- package/dist/components/features/actions/action-adapters.d.cts +0 -77
- package/dist/components/features/actions/action-overlay-outlet.d.cts +0 -2
- package/dist/components/features/actions/action-provider.d.cts +0 -3
- package/dist/components/features/actions/action-scope.d.cts +0 -3
- package/dist/components/features/actions/action-store.d.cts +0 -58
- package/dist/components/features/actions/actions.strings.d.cts +0 -2
- package/dist/components/features/actions/actions.types.d.cts +0 -322
- package/dist/components/features/actions/hooks.d.cts +0 -8
- package/dist/components/features/actions/index.d.cts +0 -9
- package/dist/components/features/activities/activities-feed.d.cts +0 -2
- package/dist/components/features/activities/activities.config.d.cts +0 -5
- package/dist/components/features/activities/activities.strings.d.cts +0 -32
- package/dist/components/features/activities/activities.types.d.cts +0 -347
- package/dist/components/features/activities/activity-event-adapter.d.cts +0 -35
- package/dist/components/features/activities/activity-headline.d.cts +0 -11
- package/dist/components/features/activities/activity-log.d.cts +0 -3
- package/dist/components/features/activities/activity-parts.d.cts +0 -54
- package/dist/components/features/activities/activity-row.d.cts +0 -43
- package/dist/components/features/activities/index.d.cts +0 -11
- package/dist/components/features/activities/use-activity-feed.d.cts +0 -33
- package/dist/components/features/activities/use-activity-resources.d.cts +0 -18
- package/dist/components/features/ai-chat/ai-chat-parts.d.cts +0 -87
- package/dist/components/features/ai-chat/ai-chat.d.cts +0 -32
- package/dist/components/features/ai-chat/ai-chat.strings.d.cts +0 -128
- package/dist/components/features/ai-chat/ai-chat.types.d.cts +0 -330
- package/dist/components/features/ai-chat/ai-content-surfaces.d.cts +0 -5
- package/dist/components/features/ai-chat/ai-message-surfaces.d.cts +0 -5
- package/dist/components/features/ai-chat/ai-work-surfaces.d.cts +0 -5
- package/dist/components/features/ai-chat/index.d.cts +0 -8
- package/dist/components/features/ai-chat/use-ai-chat-scroll.d.cts +0 -17
- package/dist/components/features/async-preview/async-preview-bundles.d.cts +0 -22
- package/dist/components/features/async-preview/async-preview-context.d.cts +0 -10
- package/dist/components/features/async-preview/async-preview.d.cts +0 -11
- package/dist/components/features/async-preview/async-preview.strings.d.cts +0 -9
- package/dist/components/features/async-preview/async-preview.types.d.cts +0 -112
- package/dist/components/features/async-preview/index.d.cts +0 -9
- package/dist/components/features/async-preview/preview-trigger-cell.d.cts +0 -29
- package/dist/components/features/async-preview/use-async-preview.d.cts +0 -9
- package/dist/components/features/combobox/async-combobox.d.cts +0 -3
- package/dist/components/features/combobox/combobox-dropdown.d.cts +0 -32
- package/dist/components/features/combobox/combobox.strings.d.cts +0 -40
- package/dist/components/features/combobox/combobox.types.d.cts +0 -96
- package/dist/components/features/combobox/fetching-combobox.d.cts +0 -33
- package/dist/components/features/combobox/highlighted-text.d.cts +0 -4
- package/dist/components/features/combobox/index.d.cts +0 -9
- package/dist/components/features/combobox/resource-combobox.d.cts +0 -54
- package/dist/components/features/combobox/suggestions-combobox.d.cts +0 -32
- package/dist/components/features/combobox/use-combobox-core.d.cts +0 -34
- package/dist/components/features/combobox/use-suggestions.d.cts +0 -50
- package/dist/components/features/comments/comment-attachment-chip.d.cts +0 -13
- package/dist/components/features/comments/comment-composer.d.cts +0 -10
- package/dist/components/features/comments/comment-content.d.cts +0 -14
- package/dist/components/features/comments/comment-item.d.cts +0 -2
- package/dist/components/features/comments/comment-thread-context.d.cts +0 -17
- package/dist/components/features/comments/comment-timeline.d.cts +0 -2
- package/dist/components/features/comments/comments.d.cts +0 -2
- package/dist/components/features/comments/comments.strings.d.cts +0 -67
- package/dist/components/features/comments/comments.types.d.cts +0 -290
- package/dist/components/features/comments/index.d.cts +0 -10
- package/dist/components/features/comments/use-attachment-upload.d.cts +0 -19
- package/dist/components/features/comments/use-comments.d.cts +0 -36
- package/dist/components/features/data-view/data-view-filtering.d.cts +0 -4
- package/dist/components/features/data-view/data-view.d.cts +0 -9
- package/dist/components/features/data-view/data-view.strings.d.cts +0 -13
- package/dist/components/features/data-view/data-view.types.d.cts +0 -114
- package/dist/components/features/data-view/index.d.cts +0 -5
- package/dist/components/features/data-view/use-data-view.d.cts +0 -2
- package/dist/components/features/event-calendar/event-calendar-day-cell.d.cts +0 -2
- package/dist/components/features/event-calendar/event-calendar-event-badge.d.cts +0 -2
- package/dist/components/features/event-calendar/event-calendar-event-card.d.cts +0 -7
- package/dist/components/features/event-calendar/event-calendar-header.d.cts +0 -2
- package/dist/components/features/event-calendar/event-calendar-legend.d.cts +0 -2
- package/dist/components/features/event-calendar/event-calendar.d.cts +0 -2
- package/dist/components/features/event-calendar/event-calendar.strings.d.cts +0 -30
- package/dist/components/features/event-calendar/event-calendar.types.d.cts +0 -170
- package/dist/components/features/event-calendar/index.d.cts +0 -11
- package/dist/components/features/event-calendar/use-event-calendar-data.d.cts +0 -7
- package/dist/components/features/event-calendar/use-event-calendar.d.cts +0 -12
- package/dist/components/features/filters/filter-cache.d.cts +0 -31
- package/dist/components/features/filters/filter-context.d.cts +0 -21
- package/dist/components/features/filters/filter-editors.d.cts +0 -17
- package/dist/components/features/filters/filter-error-boundary.d.cts +0 -10
- package/dist/components/features/filters/filter-layout.d.cts +0 -14
- package/dist/components/features/filters/filter-operator-select.d.cts +0 -7
- package/dist/components/features/filters/filter-operators.d.cts +0 -10
- package/dist/components/features/filters/filter-pill.d.cts +0 -14
- package/dist/components/features/filters/filter-query.d.cts +0 -20
- package/dist/components/features/filters/filter-sheet.d.cts +0 -7
- package/dist/components/features/filters/filter-store.d.cts +0 -8
- package/dist/components/features/filters/filter-tabs.d.cts +0 -10
- package/dist/components/features/filters/filter-utils.d.cts +0 -6
- package/dist/components/features/filters/filter-validators.d.cts +0 -15
- package/dist/components/features/filters/filter-value-display.d.cts +0 -7
- package/dist/components/features/filters/filters-button.d.cts +0 -9
- package/dist/components/features/filters/filters.strings.d.cts +0 -67
- package/dist/components/features/filters/filters.types.d.cts +0 -177
- package/dist/components/features/filters/index.d.cts +0 -21
- package/dist/components/features/filters/search-filters.d.cts +0 -11
- package/dist/components/features/filters/use-async-options.d.cts +0 -16
- package/dist/components/features/filters/use-filter-groups.d.cts +0 -18
- package/dist/components/features/global-search/global-search-dialog.d.cts +0 -9
- package/dist/components/features/global-search/global-search-empty-state.d.cts +0 -8
- package/dist/components/features/global-search/global-search-footer.d.cts +0 -12
- package/dist/components/features/global-search/global-search-idle-state.d.cts +0 -12
- package/dist/components/features/global-search/global-search-input.d.cts +0 -13
- package/dist/components/features/global-search/global-search-result-row.d.cts +0 -13
- package/dist/components/features/global-search/global-search-tabs.d.cts +0 -10
- package/dist/components/features/global-search/global-search.d.cts +0 -2
- package/dist/components/features/global-search/global-search.strings.d.cts +0 -19
- package/dist/components/features/global-search/global-search.types.d.cts +0 -97
- package/dist/components/features/global-search/index.d.cts +0 -11
- package/dist/components/features/global-search/use-global-search.d.cts +0 -28
- package/dist/components/features/index.d.cts +0 -29
- package/dist/components/features/kanban/index.d.cts +0 -5
- package/dist/components/features/kanban/kanban-context.d.cts +0 -18
- package/dist/components/features/kanban/kanban.d.cts +0 -12
- package/dist/components/features/kanban/kanban.strings.d.cts +0 -11
- package/dist/components/features/kanban/kanban.types.d.cts +0 -96
- package/dist/components/features/kanban/use-kanban.d.cts +0 -21
- package/dist/components/features/map/index.d.cts +0 -5
- package/dist/components/features/map/map-draw-globals.d.cts +0 -47
- package/dist/components/features/map/map-runtime.d.cts +0 -36
- package/dist/components/features/map/map.d.cts +0 -138
- package/dist/components/features/map/map.strings.d.cts +0 -42
- package/dist/components/features/map/place-autocomplete.d.cts +0 -69
- package/dist/components/features/map/place-search.d.cts +0 -10
- package/dist/components/features/map/resolve-tile-layer.d.cts +0 -18
- package/dist/components/features/media-library/index.d.cts +0 -8
- package/dist/components/features/media-library/media-icons.d.cts +0 -3
- package/dist/components/features/media-library/media-library-detail.d.cts +0 -13
- package/dist/components/features/media-library/media-library-parts.d.cts +0 -112
- package/dist/components/features/media-library/media-library-table.d.cts +0 -8
- package/dist/components/features/media-library/media-library-views.d.cts +0 -23
- package/dist/components/features/media-library/media-library.d.cts +0 -4
- package/dist/components/features/media-library/media-library.strings.d.cts +0 -240
- package/dist/components/features/media-library/media-library.types.d.cts +0 -304
- package/dist/components/features/media-library/media-preview.d.cts +0 -10
- package/dist/components/features/media-library/media-resource-gallery.d.cts +0 -2
- package/dist/components/features/media-library/use-media-library.d.cts +0 -8
- package/dist/components/features/mentions/index.d.cts +0 -10
- package/dist/components/features/mentions/mention-chip.d.cts +0 -13
- package/dist/components/features/mentions/mention-content.d.cts +0 -14
- package/dist/components/features/mentions/mention-html.d.cts +0 -29
- package/dist/components/features/mentions/mention-inline-suggestions.d.cts +0 -24
- package/dist/components/features/mentions/mention-picker.d.cts +0 -18
- package/dist/components/features/mentions/mention-suggestion-list.d.cts +0 -32
- package/dist/components/features/mentions/mentions.strings.d.cts +0 -16
- package/dist/components/features/mentions/mentions.types.d.cts +0 -69
- package/dist/components/features/mentions/use-mentions-search.d.cts +0 -42
- package/dist/components/features/mentions/use-mentions.d.cts +0 -28
- package/dist/components/features/overlays/action-dialog.d.cts +0 -2
- package/dist/components/features/overlays/action-overlay-frame.d.cts +0 -34
- package/dist/components/features/overlays/action-sheet.d.cts +0 -2
- package/dist/components/features/overlays/confirm-dialog.d.cts +0 -2
- package/dist/components/features/overlays/index.d.cts +0 -7
- package/dist/components/features/overlays/overlay-parts.d.cts +0 -44
- package/dist/components/features/overlays/overlays.strings.d.cts +0 -7
- package/dist/components/features/overlays/overlays.types.d.cts +0 -104
- package/dist/components/features/overlays/use-overlay-actions.d.cts +0 -23
- package/dist/components/features/overlays/use-overlay-visibility.d.cts +0 -37
- package/dist/components/features/products/index.d.cts +0 -10
- package/dist/components/features/products/product-cards.d.cts +0 -10
- package/dist/components/features/products/product-options-matrix.d.cts +0 -2
- package/dist/components/features/products/product-parts.d.cts +0 -69
- package/dist/components/features/products/product-percent.d.cts +0 -2
- package/dist/components/features/products/product-tone.d.cts +0 -4
- package/dist/components/features/products/product-variant-details.d.cts +0 -2
- package/dist/components/features/products/product-variant-editor.d.cts +0 -2
- package/dist/components/features/products/product-variants.d.cts +0 -10
- package/dist/components/features/products/products.strings.d.cts +0 -237
- package/dist/components/features/products/products.types.d.cts +0 -467
- package/dist/components/features/resource/index.d.cts +0 -3
- package/dist/components/features/resource/resource.d.cts +0 -8
- package/dist/components/features/resource/resource.strings.d.cts +0 -12
- package/dist/components/features/resource/resource.types.d.cts +0 -129
- package/dist/components/features/resource-assignment/index.d.cts +0 -4
- package/dist/components/features/resource-assignment/resource-assignment.d.cts +0 -14
- package/dist/components/features/resource-assignment/resource-assignment.strings.d.cts +0 -9
- package/dist/components/features/resource-assignment/resource-assignment.types.d.cts +0 -113
- package/dist/components/features/resource-assignment/use-shared-resource-card.d.cts +0 -18
- package/dist/components/features/rich-text-editor/editor-dom.d.cts +0 -27
- package/dist/components/features/rich-text-editor/exec-command-engine.d.cts +0 -2
- package/dist/components/features/rich-text-editor/index.d.cts +0 -7
- package/dist/components/features/rich-text-editor/rich-text-editor-toolbar.d.cts +0 -27
- package/dist/components/features/rich-text-editor/rich-text-editor.d.cts +0 -5
- package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.cts +0 -27
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.cts +0 -87
- package/dist/components/features/rich-text-editor/rich-text-engine.contract.d.cts +0 -7
- package/dist/components/features/rich-text-editor/rich-text-engine.types.d.cts +0 -36
- package/dist/components/features/rich-text-editor/tiptap/index.d.cts +0 -1
- package/dist/components/features/rich-text-editor/tiptap/mention-node.d.cts +0 -3
- package/dist/components/features/rich-text-editor/tiptap/tiptap-engine.d.cts +0 -10
- package/dist/components/features/rich-text-editor/use-editor-document.d.cts +0 -21
- package/dist/components/features/schema-form/index.d.cts +0 -7
- package/dist/components/features/schema-form/schema-form-actions.d.cts +0 -13
- package/dist/components/features/schema-form/schema-form-field.d.cts +0 -7
- package/dist/components/features/schema-form/schema-form.d.cts +0 -2
- package/dist/components/features/schema-form/schema-form.strings.d.cts +0 -15
- package/dist/components/features/schema-form/schema-form.types.d.cts +0 -215
- package/dist/components/features/schema-form/schema-form.utils.d.cts +0 -29
- package/dist/components/features/schema-form/use-schema-form.d.cts +0 -19
- package/dist/components/features/sync/index.d.cts +0 -3
- package/dist/components/features/sync/sync-range-form.d.cts +0 -2
- package/dist/components/features/sync/sync.strings.d.cts +0 -9
- package/dist/components/features/sync/sync.types.d.cts +0 -35
- package/dist/components/features/table/cell-renderers.d.cts +0 -64
- package/dist/components/features/table/cell-value.d.cts +0 -49
- package/dist/components/features/table/column-visibility-toggle.d.cts +0 -3
- package/dist/components/features/table/data-table-actions.d.cts +0 -3
- package/dist/components/features/table/data-table-body.d.cts +0 -3
- package/dist/components/features/table/data-table-header.d.cts +0 -3
- package/dist/components/features/table/data-table-size.d.cts +0 -3
- package/dist/components/features/table/data-table-toolbar.d.cts +0 -3
- package/dist/components/features/table/data-table.d.cts +0 -5
- package/dist/components/features/table/fullscreen-toggle.d.cts +0 -14
- package/dist/components/features/table/index.d.cts +0 -16
- package/dist/components/features/table/resource-cell.d.cts +0 -35
- package/dist/components/features/table/table-helpers.d.cts +0 -12
- package/dist/components/features/table/table.strings.d.cts +0 -58
- package/dist/components/features/table/table.types.d.cts +0 -198
- package/dist/components/features/table/use-fullscreen-modality.d.cts +0 -2
- package/dist/components/features/table/use-table-scroll.d.cts +0 -17
- package/dist/components/features/theme-tweaker/index.d.cts +0 -9
- package/dist/components/features/theme-tweaker/theme-scope.d.cts +0 -2
- package/dist/components/features/theme-tweaker/theme-tweaker.d.cts +0 -2
- package/dist/components/features/theme-tweaker/theme-tweaker.fields.d.cts +0 -2
- package/dist/components/features/theme-tweaker/theme-tweaker.strings.d.cts +0 -67
- package/dist/components/features/theme-tweaker/theme-tweaker.types.d.cts +0 -123
- package/dist/components/features/theme-tweaker/theme-tweaker.utils.d.cts +0 -28
- package/dist/components/features/theme-tweaker/ui-config-settings.d.cts +0 -9
- package/dist/components/features/theme-tweaker/ui-config-settings.strings.d.cts +0 -34
- package/dist/components/features/theme-tweaker/use-applied-theme.d.cts +0 -11
- package/dist/components/layout/app-shell/app-shell.d.cts +0 -49
- package/dist/components/layout/app-shell/index.d.cts +0 -6
- package/dist/components/layout/app-shell/topbar-sidebar-layout.d.cts +0 -54
- package/dist/components/layout/auth/auth-card.d.cts +0 -17
- package/dist/components/layout/auth/auth-footer-links.d.cts +0 -2
- package/dist/components/layout/auth/auth.d.cts +0 -70
- package/dist/components/layout/auth/auth.strings.d.cts +0 -7
- package/dist/components/layout/auth/auth.types.d.cts +0 -36
- package/dist/components/layout/auth/index.d.cts +0 -5
- package/dist/components/layout/containers/containers.d.cts +0 -58
- package/dist/components/layout/containers/index.d.cts +0 -1
- package/dist/components/layout/header/header.d.cts +0 -35
- package/dist/components/layout/header/header.strings.d.cts +0 -35
- package/dist/components/layout/header/header.types.d.cts +0 -113
- package/dist/components/layout/header/index.d.cts +0 -8
- package/dist/components/layout/header/partials/header-breadcrumbs.d.cts +0 -2
- package/dist/components/layout/header/partials/header-notifications.d.cts +0 -2
- package/dist/components/layout/header/partials/header-search.d.cts +0 -7
- package/dist/components/layout/header/partials/header-tool.d.cts +0 -4
- package/dist/components/layout/header/partials/header-user-menu.d.cts +0 -2
- package/dist/components/layout/hooks/use-active-path.d.cts +0 -2
- package/dist/components/layout/index.d.cts +0 -14
- package/dist/components/layout/layout.types.d.cts +0 -42
- package/dist/components/layout/navigation/breadcrumb-progress.d.cts +0 -20
- package/dist/components/layout/navigation/category-nav.d.cts +0 -21
- package/dist/components/layout/navigation/index.d.cts +0 -5
- package/dist/components/layout/navigation/navigation.strings.d.cts +0 -19
- package/dist/components/layout/navigation/section-nav.d.cts +0 -25
- package/dist/components/layout/navigation/side-nav.d.cts +0 -49
- package/dist/components/layout/page/index.d.cts +0 -5
- package/dist/components/layout/page/page-actions.d.cts +0 -27
- package/dist/components/layout/page/page-actions.strings.d.cts +0 -4
- package/dist/components/layout/page/page-header.d.cts +0 -36
- package/dist/components/layout/page/page-header.strings.d.cts +0 -7
- package/dist/components/layout/page/page.d.cts +0 -16
- package/dist/components/layout/settings/index.d.cts +0 -2
- package/dist/components/layout/settings/settings.d.cts +0 -23
- package/dist/components/layout/sidebar/app-sidebar.d.cts +0 -61
- package/dist/components/layout/sidebar/index.d.cts +0 -7
- package/dist/components/layout/sidebar/nav.types.d.cts +0 -28
- package/dist/components/layout/sidebar/partials/sidebar-logo.d.cts +0 -9
- package/dist/components/layout/sidebar/partials/sidebar-user.d.cts +0 -15
- package/dist/components/layout/sidebar/partials/sidebar-workspace.d.cts +0 -19
- package/dist/components/layout/sidebar/sidebar.strings.d.cts +0 -15
- package/dist/components/layout/workspace/index.d.cts +0 -5
- package/dist/components/layout/workspace/workspace-layout.d.cts +0 -28
- package/dist/components/layout/workspace/workspace-locale-strip.d.cts +0 -21
- package/dist/components/layout/workspace/workspace-nav.d.cts +0 -42
- package/dist/components/layout/workspace/workspace.d.cts +0 -32
- package/dist/components/layout/workspace/workspace.strings.d.cts +0 -21
- package/dist/components/patterns/analytics/activity-heatmap.d.cts +0 -14
- package/dist/components/patterns/analytics/analytics.strings.d.cts +0 -64
- package/dist/components/patterns/analytics/analytics.types.d.cts +0 -71
- package/dist/components/patterns/analytics/chart-card.d.cts +0 -11
- package/dist/components/patterns/analytics/format-metric-value.d.cts +0 -7
- package/dist/components/patterns/analytics/index.d.cts +0 -18
- package/dist/components/patterns/analytics/metric-bar.d.cts +0 -13
- package/dist/components/patterns/analytics/metric-comparison.d.cts +0 -12
- package/dist/components/patterns/analytics/metric-gradient.d.cts +0 -14
- package/dist/components/patterns/analytics/metric-grid.d.cts +0 -16
- package/dist/components/patterns/analytics/metric-micro-grid.d.cts +0 -15
- package/dist/components/patterns/analytics/metric-skeleton.d.cts +0 -6
- package/dist/components/patterns/analytics/metric-trend-chip.d.cts +0 -9
- package/dist/components/patterns/analytics/metric.d.cts +0 -19
- package/dist/components/patterns/analytics/time-ruler.d.cts +0 -10
- package/dist/components/patterns/index.d.cts +0 -3
- package/dist/components/patterns/onboarding/checklist.d.cts +0 -28
- package/dist/components/patterns/onboarding/index.d.cts +0 -5
- package/dist/components/patterns/onboarding/onboarding.strings.d.cts +0 -10
- package/dist/components/patterns/timelines/changelog-timeline.d.cts +0 -19
- package/dist/components/patterns/timelines/index.d.cts +0 -5
- package/dist/components/patterns/timelines/milestones-timeline.d.cts +0 -18
- package/dist/components/patterns/timelines/steps.d.cts +0 -27
- package/dist/components/patterns/timelines/timelines.strings.d.cts +0 -33
- package/dist/components/primitives/address.d.cts +0 -24
- package/dist/components/primitives/address.format.d.cts +0 -48
- package/dist/components/primitives/coordinates.d.cts +0 -25
- package/dist/components/primitives/date.d.cts +0 -52
- package/dist/components/primitives/date.format.d.cts +0 -15
- package/dist/components/primitives/dimensions.d.cts +0 -19
- package/dist/components/primitives/dimensions.format.d.cts +0 -9
- package/dist/components/primitives/duration.d.cts +0 -21
- package/dist/components/primitives/file-size.d.cts +0 -17
- package/dist/components/primitives/file-size.format.d.cts +0 -10
- package/dist/components/primitives/index.d.cts +0 -32
- package/dist/components/primitives/initials-format.d.cts +0 -21
- package/dist/components/primitives/initials.d.cts +0 -15
- package/dist/components/primitives/inline-list.d.cts +0 -30
- package/dist/components/primitives/link.d.cts +0 -36
- package/dist/components/primitives/money.d.cts +0 -36
- package/dist/components/primitives/name.d.cts +0 -8
- package/dist/components/primitives/name.format.d.cts +0 -5
- package/dist/components/primitives/number.d.cts +0 -21
- package/dist/components/primitives/primitives.strings.d.cts +0 -30
- package/dist/components/primitives/quantity.d.cts +0 -48
- package/dist/components/primitives/range.d.cts +0 -19
- package/dist/components/primitives/ratio.d.cts +0 -37
- package/dist/components/primitives/value-children.d.cts +0 -2
- package/dist/components/primitives/value.d.cts +0 -38
- package/dist/containers-C8npPEqC.cjs +0 -1
- package/dist/copyable-CMhsv_91.cjs +0 -1
- package/dist/cvm-CHrYqf6y.cjs +0 -1
- package/dist/date-pickers-DejXe5oe.cjs +0 -1
- package/dist/dialog-DZ9_m_qc.cjs +0 -1
- package/dist/display-CFj87iEn.cjs +0 -1
- package/dist/dropdown-menu-DCf_EqVG.cjs +0 -1
- package/dist/features/actions.cjs +0 -1
- package/dist/features/activities.cjs +0 -1
- package/dist/features/ai-chat.cjs +0 -3
- package/dist/features/async-preview.cjs +0 -1
- package/dist/features/combobox.cjs +0 -1
- package/dist/features/comments.cjs +0 -1
- package/dist/features/data-view.cjs +0 -1
- package/dist/features/event-calendar.cjs +0 -1
- package/dist/features/filters.cjs +0 -1
- package/dist/features/global-search.cjs +0 -1
- package/dist/features/kanban.cjs +0 -1
- package/dist/features/map.cjs +0 -1
- package/dist/features/media-library.cjs +0 -1
- package/dist/features/mentions.cjs +0 -1
- package/dist/features/overlays.cjs +0 -1
- package/dist/features/products.cjs +0 -1
- package/dist/features/resource-assignment.cjs +0 -1
- package/dist/features/resource.cjs +0 -1
- package/dist/features/rich-text-editor/tiptap.cjs +0 -1
- package/dist/features/rich-text-editor.cjs +0 -1
- package/dist/features/schema-form.cjs +0 -1
- package/dist/features/sync.cjs +0 -1
- package/dist/features/table.cjs +0 -1
- package/dist/features/theme-tweaker.cjs +0 -12
- package/dist/feedback-IpUFKqgv.cjs +0 -1
- package/dist/filters-Ct07D74Q.cjs +0 -1
- package/dist/forms-mJ0fjWEl.cjs +0 -1
- package/dist/forms-numeric-B7TRpwvH.cjs +0 -1
- package/dist/forms-rhf.cjs +0 -1
- package/dist/forms.cjs +0 -1
- package/dist/hooks/index.d.cts +0 -8
- package/dist/hooks/use-command-shortcut.d.cts +0 -12
- package/dist/hooks/use-controllable-state.d.cts +0 -14
- package/dist/hooks/use-debounce.d.cts +0 -4
- package/dist/hooks/use-debounced-callback.d.cts +0 -14
- package/dist/hooks/use-files.d.cts +0 -54
- package/dist/hooks/use-form-errors.d.cts +0 -16
- package/dist/hooks/use-hydrated.d.cts +0 -5
- package/dist/hooks/use-latest.d.cts +0 -6
- package/dist/hooks/use-mobile.d.cts +0 -2
- package/dist/hooks/use-native-dialog.d.cts +0 -33
- package/dist/hooks/use-object-urls.d.cts +0 -9
- package/dist/hooks/use-synced-state.d.cts +0 -7
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +0 -2
- package/dist/input-group-HplgNyti.cjs +0 -1
- package/dist/item-BxPJsxh2.cjs +0 -1
- package/dist/label-B8WTGCTZ.cjs +0 -1
- package/dist/layout/app-shell.cjs +0 -1
- package/dist/layout/auth.cjs +0 -1
- package/dist/layout/containers.cjs +0 -1
- package/dist/layout/header.cjs +0 -1
- package/dist/layout/navigation.cjs +0 -1
- package/dist/layout/page.cjs +0 -1
- package/dist/layout/settings.cjs +0 -1
- package/dist/layout/sidebar.cjs +0 -1
- package/dist/layout/workspace.cjs +0 -1
- package/dist/layout.types-CMzK1wjV.cjs +0 -1
- package/dist/layout.types-CTDrZCGP.js +0 -17
- package/dist/lib/action-presentation.d.cts +0 -18
- package/dist/lib/component-vocabulary.d.cts +0 -12
- package/dist/lib/cvm.d.cts +0 -27
- package/dist/lib/cx.d.cts +0 -2
- package/dist/lib/format.d.cts +0 -43
- package/dist/lib/forms/field-binding.d.cts +0 -39
- package/dist/lib/forms/index.d.cts +0 -1
- package/dist/lib/forms-rhf/index.d.cts +0 -7
- package/dist/lib/navigation.d.cts +0 -37
- package/dist/lib/observers.d.cts +0 -13
- package/dist/lib/render-with-children.d.cts +0 -2
- package/dist/lib/responsive.d.cts +0 -18
- package/dist/lib/sanitize-html.d.cts +0 -1
- package/dist/lib/scroll-edges.d.cts +0 -17
- package/dist/lib/strings.d.cts +0 -28
- package/dist/lib/theming/contrast.d.cts +0 -20
- package/dist/lib/theming/index.d.cts +0 -4
- package/dist/lib/theming/recipes.d.cts +0 -23
- package/dist/lib/theming/types.d.cts +0 -8
- package/dist/lib/ui-provider/context.d.cts +0 -19
- package/dist/lib/ui-provider/csp-provider.d.cts +0 -10
- package/dist/lib/ui-provider/defaults.d.cts +0 -6
- package/dist/lib/ui-provider/hooks.d.cts +0 -33
- package/dist/lib/ui-provider/index.d.cts +0 -11
- package/dist/lib/ui-provider/portal-host.d.cts +0 -22
- package/dist/lib/ui-provider/provider.d.cts +0 -20
- package/dist/lib/ui-provider/root.d.cts +0 -20
- package/dist/lib/ui-provider/scope.d.cts +0 -20
- package/dist/lib/ui-provider/tokens.d.cts +0 -14
- package/dist/lib/ui-provider/tokens.generated.d.cts +0 -4
- package/dist/lib/ui-provider/types.d.cts +0 -156
- package/dist/lib/ui-provider/ui-scope.d.cts +0 -17
- package/dist/lib/ui-provider/use-iphone-input-zoom.d.cts +0 -2
- package/dist/mentions-Ckm9Ct-r.cjs +0 -1
- package/dist/navigation-CnYYy8iw.cjs +0 -1
- package/dist/navigation-D_hEWZYv.cjs +0 -1
- package/dist/navigation-Db1UQSIU.js +0 -24
- package/dist/navigation-UfUJU2LC.cjs +0 -1
- package/dist/observers-jagR5BK7.cjs +0 -1
- package/dist/overlay-BtQz_AN3.cjs +0 -1
- package/dist/overlays-MmLNLV9f.cjs +0 -1
- package/dist/patterns/analytics.cjs +0 -1
- package/dist/patterns/onboarding.cjs +0 -1
- package/dist/patterns/timelines.cjs +0 -1
- package/dist/popover-menu-DcDdf9H2.cjs +0 -1
- package/dist/popover-rLMSEj5V.cjs +0 -1
- package/dist/primitives-kywiHMJE.cjs +0 -1
- package/dist/primitives.cjs +0 -1
- package/dist/render-with-children-BZwzInAH.cjs +0 -1
- package/dist/repeaters-B4dnWxUE.cjs +0 -1
- package/dist/responsive-BwbJtEmd.cjs +0 -1
- package/dist/rich-text-editor-7GYD-4Qq.cjs +0 -1
- package/dist/rolldown-runtime-BocRIvOZ.cjs +0 -1
- package/dist/scroll-edges-CrUcSo-b.cjs +0 -1
- package/dist/sheet-B4_LNS7m.cjs +0 -1
- package/dist/sidebar--uZUOGHE.cjs +0 -1
- package/dist/skeleton-DeuQS4AK.cjs +0 -1
- package/dist/slot-B-qWS3Ng.cjs +0 -1
- package/dist/spinner-ChYwza6q.cjs +0 -1
- package/dist/strings-BiKL6k6b.cjs +0 -1
- package/dist/structure-CXTLV2t8.cjs +0 -1
- package/dist/styles.cjs +0 -0
- package/dist/styles.d.cts +0 -0
- package/dist/styles.d.ts +0 -0
- package/dist/styles.js +0 -1
- package/dist/table-3abrkeib.cjs +0 -1
- package/dist/table-CXRnlkV5.cjs +0 -1
- package/dist/text-inputs-D4w3Z2-F.cjs +0 -1
- package/dist/theming-8U04chn7.cjs +0 -1
- package/dist/theming.cjs +0 -1
- package/dist/timeline-CzAIDLzd.cjs +0 -1
- package/dist/timelines-DLsQhK72.cjs +0 -1
- package/dist/tiptap-engine-Chjm-1px.cjs +0 -1
- package/dist/toaster-BVTOrAb5.cjs +0 -1
- package/dist/toolbar-aZKjtFDt.cjs +0 -1
- package/dist/tooltip-CEcUVmor.cjs +0 -1
- package/dist/types/index.d.cts +0 -7
- package/dist/types/locale.types.d.cts +0 -13
- package/dist/types/navigation.types.d.cts +0 -13
- package/dist/types/pagination.types.d.cts +0 -27
- package/dist/typography-Cf5zEv4y.cjs +0 -1
- package/dist/ui-provider-DI1VxMDT.cjs +0 -1
- package/dist/ui-provider.cjs +0 -1
- package/dist/upload-Bg8tyH5a.cjs +0 -1
- package/dist/use-controllable-state-BdbrdEWI.cjs +0 -1
- package/dist/use-debounce-CKfx87CG.cjs +0 -1
- package/dist/use-debounced-callback-BiZB-QB2.cjs +0 -1
- package/dist/use-hydrated-DwqJ02th.cjs +0 -1
- package/dist/use-latest-BT2X4Opg.cjs +0 -1
- package/dist/use-mobile-COk5j6jT.cjs +0 -1
- package/dist/use-synced-state-CoPfjLRG.cjs +0 -1
- package/dist/value-inputs-B6ZURTUl.cjs +0 -1
|
@@ -20,7 +20,7 @@ import "themelia-ui/primitives.css"
|
|
|
20
20
|
|
|
21
21
|
## Composition
|
|
22
22
|
|
|
23
|
-
This
|
|
23
|
+
This module composes `base/typography`.
|
|
24
24
|
|
|
25
25
|
Application policy—routing, fetching, persistence, permissions, and translation—stays
|
|
26
26
|
outside the package and arrives through the public props, callbacks, slots, or accessors below.
|
|
@@ -75,9 +75,9 @@ Extends: `Omit<ComponentPropsWithoutRef<"address">, "children" | "color">`.
|
|
|
75
75
|
|
|
76
76
|
| member | required | type | description / documented default |
|
|
77
77
|
| --- | :-: | --- | --- |
|
|
78
|
-
| `value` | no | `AddressParts \| null` | The address, as fields. Anything
|
|
79
|
-
| `format` | no | `"block" \| "inline"` | `block` is the envelope form
|
|
80
|
-
| `countryCode` | no | `string \| null` | An ISO country code deciding the line order (`US`, `GB`, `DE`). Read from<br>`value.country` when that is a code; never inferred from the reader's locale. |
|
|
78
|
+
| `value` | no | `AddressParts \| null` | The address, as fields — line1, line2, city, region, postalCode, country. Anything<br>empty simply drops out. |
|
|
79
|
+
| `format` | no | `"block" \| "inline"` | `block` is the envelope form: an `<address>` element with a line per row. `inline` is<br>one line, in a span, for a cell or a summary. |
|
|
80
|
+
| `countryCode` | no | `string \| null` | An ISO country code deciding the line order (`US`, `GB`, `DE`). Read from<br>`value.country` when that is a code; never inferred from the reader's locale — the<br>locale is a language and the address is a place. |
|
|
81
81
|
| `order` | no | `AddressOrder` | Overrides the ordering outright, for a country the kit does not know. |
|
|
82
82
|
| `emptyLabel` | no | `ReactNode` | |
|
|
83
83
|
| `size` | no | `ValueProps["size"]` | |
|
|
@@ -101,13 +101,13 @@ Extends: `SpanProps`.
|
|
|
101
101
|
|
|
102
102
|
| member | required | type | description / documented default |
|
|
103
103
|
| --- | :-: | --- | --- |
|
|
104
|
-
| `latitude` | no | `number \| null` |
|
|
105
|
-
| `longitude` | no | `number \| null` |
|
|
106
|
-
| `format` | no | `"decimal" \| "dms"` | `decimal` is
|
|
107
|
-
| `precision` | no | `number` | Decimal places in `decimal` form. Five is about a metre. |
|
|
108
|
-
| `showHemisphere` | no | `boolean` | Adds hemisphere letters to the decimal form: "48.85837°N, 2.29448°E". Off by
|
|
104
|
+
| `latitude` | no | `number \| null` | Signed decimal degrees. Either one missing renders the empty label — half a coordinate<br>locates nothing. |
|
|
105
|
+
| `longitude` | no | `number \| null` | Signed decimal degrees. Either one missing renders the empty label — half a coordinate<br>locates nothing. |
|
|
106
|
+
| `format` | no | `"decimal" \| "dms"` | `decimal` is `48.85837, 2.29448`: what an API round-trips and what a reader pastes into<br>a map. `dms` is `48°51'30.1"N 2°17'40.1"E`, still what marine, aviation and survey<br>users read. |
|
|
107
|
+
| `precision` | no | `number` | Decimal places in `decimal` form. Five is about a metre, three about a building. |
|
|
108
|
+
| `showHemisphere` | no | `boolean` | Adds hemisphere letters (N/S/E/W) to the decimal form: "48.85837°N, 2.29448°E". Off by<br>default because a signed pair is the portable form, the one that pastes into a map.<br>`dms` always shows them — an unsigned DMS value is ambiguous. |
|
|
109
109
|
| `locale` | no | `string` | |
|
|
110
|
-
| `strings` | no | `Partial<CoordinatesStrings>` |
|
|
110
|
+
| `strings` | no | `Partial<CoordinatesStrings>` | The four hemisphere letters. |
|
|
111
111
|
| `emptyLabel` | no | `ReactNode` | |
|
|
112
112
|
| `size` | no | `ValueProps["size"]` | |
|
|
113
113
|
| `align` | no | `ValueProps["align"]` | |
|
|
@@ -130,6 +130,10 @@ Kind: interface.
|
|
|
130
130
|
|
|
131
131
|
Kind: callable.
|
|
132
132
|
|
|
133
|
+
A date in the scope's pattern. Also exported as `Date`, its natural name: `DatePrimitive`
|
|
134
|
+
exists because `Date` collides with the global in a file that also constructs one, so
|
|
135
|
+
import whichever reads better at the call site.
|
|
136
|
+
|
|
133
137
|
```text
|
|
134
138
|
({ value, pattern, ...props }: DateBaseProps) => import("react").JSX.Element
|
|
135
139
|
```
|
|
@@ -144,8 +148,8 @@ Extends: `SpanProps`.
|
|
|
144
148
|
|
|
145
149
|
| member | required | type | description / documented default |
|
|
146
150
|
| --- | :-: | --- | --- |
|
|
147
|
-
| `value` | no | `DateInput` |
|
|
148
|
-
| `pattern` | no | `string` | date-fns pattern.
|
|
151
|
+
| `value` | no | `DateInput` | The moment to show: whatever the API returned — a Date, an ISO string or an epoch<br>number. Parsed once, here. |
|
|
152
|
+
| `pattern` | no | `string` | A date-fns pattern, when the default is not what this column needs. `DatePrimitive`<br>falls back to the scope's `dates.format`, `Time` to its `dates.timeFormat`, and<br>`DateTime` to the two joined. |
|
|
149
153
|
| `emptyLabel` | no | `ReactNode` | |
|
|
150
154
|
| `size` | no | `ValueProps["size"]` | |
|
|
151
155
|
| `align` | no | `ValueProps["align"]` | |
|
|
@@ -165,6 +169,10 @@ Date | string | number | null | undefined
|
|
|
165
169
|
|
|
166
170
|
Kind: callable.
|
|
167
171
|
|
|
172
|
+
A date in the scope's pattern. Also exported as `Date`, its natural name: `DatePrimitive`
|
|
173
|
+
exists because `Date` collides with the global in a file that also constructs one, so
|
|
174
|
+
import whichever reads better at the call site.
|
|
175
|
+
|
|
168
176
|
```text
|
|
169
177
|
({ value, pattern, ...props }: DateBaseProps) => import("react").JSX.Element
|
|
170
178
|
```
|
|
@@ -185,14 +193,18 @@ Extends: `Omit<DateBaseProps, "value">`.
|
|
|
185
193
|
|
|
186
194
|
| member | required | type | description / documented default |
|
|
187
195
|
| --- | :-: | --- | --- |
|
|
188
|
-
| `start` | no | `DateInput` |
|
|
189
|
-
| `end` | no | `DateInput` |
|
|
190
|
-
| `
|
|
196
|
+
| `start` | no | `DateInput` | Where the range begins. Either end may be absent — an open range is a real state, not<br>an error. |
|
|
197
|
+
| `end` | no | `DateInput` | Where the range ends. Either end may be absent — an open range is a real state, not an<br>error. |
|
|
198
|
+
| `pattern` | no | `string` | A date-fns pattern for both ends, when the collapsing is not wanted: only the default<br>drops a repeated month. @default "d MMM yyyy" |
|
|
199
|
+
| `separator` | no | `string` | Between the two ends. An en dash by default. |
|
|
191
200
|
|
|
192
201
|
### `DateTime`
|
|
193
202
|
|
|
194
203
|
Kind: callable.
|
|
195
204
|
|
|
205
|
+
The same value as a date and a time. Three components rather than a granularity prop,
|
|
206
|
+
because a column shows one of them and never switches.
|
|
207
|
+
|
|
196
208
|
```text
|
|
197
209
|
({ value, pattern, ...props }: DateBaseProps) => import("react").JSX.Element
|
|
198
210
|
```
|
|
@@ -261,11 +273,11 @@ Extends: `SpanProps`.
|
|
|
261
273
|
|
|
262
274
|
| member | required | type | description / documented default |
|
|
263
275
|
| --- | :-: | --- | --- |
|
|
264
|
-
| `width` | no | `DimensionPart` |
|
|
265
|
-
| `height` | no | `DimensionPart` |
|
|
266
|
-
| `depth` | no | `DimensionPart` |
|
|
267
|
-
| `unit` | no | `ReactNode` |
|
|
268
|
-
| `separator` | no | `ReactNode` |
|
|
276
|
+
| `width` | no | `DimensionPart` | The first part. The parts stay separate numbers until the render joins them. |
|
|
277
|
+
| `height` | no | `DimensionPart` | The second part. |
|
|
278
|
+
| `depth` | no | `DimensionPart` | The third part, optional — two values render as a plane. |
|
|
279
|
+
| `unit` | no | `ReactNode` | Appended once, not per part. |
|
|
280
|
+
| `separator` | no | `ReactNode` | Between the parts. A multiplication sign, not the letter x. |
|
|
269
281
|
| `locale` | no | `string` | |
|
|
270
282
|
| `options` | no | `Intl.NumberFormatOptions` | |
|
|
271
283
|
| `emptyLabel` | no | `ReactNode` | |
|
|
@@ -291,11 +303,11 @@ Extends: `SpanProps`.
|
|
|
291
303
|
|
|
292
304
|
| member | required | type | description / documented default |
|
|
293
305
|
| --- | :-: | --- | --- |
|
|
294
|
-
| `value` | no | `number \| null` |
|
|
306
|
+
| `value` | no | `number \| null` | The length. Seconds unless `from` says otherwise. |
|
|
295
307
|
| `from` | no | `DurationUnit` | The unit the incoming value is in. |
|
|
296
308
|
| `locale` | no | `string` | |
|
|
297
|
-
| `maxParts` | no | `number` | How many units to show before truncating. |
|
|
298
|
-
| `unitDisplay` | no | `DurationUnitDisplay` |
|
|
309
|
+
| `maxParts` | no | `number` | How many units to show before truncating. "2 hours 14 minutes 3 seconds" is rarely<br>useful — the reader wants the magnitude, and the tail is noise. |
|
|
310
|
+
| `unitDisplay` | no | `DurationUnitDisplay` | How each unit is written. |
|
|
299
311
|
| `minimumFractionDigits` | no | `number` | |
|
|
300
312
|
| `maximumFractionDigits` | no | `number` | |
|
|
301
313
|
| `emptyLabel` | no | `ReactNode` | |
|
|
@@ -339,10 +351,10 @@ Extends: `Omit<LinkProps, "href" | "children" | "ref">`.
|
|
|
339
351
|
|
|
340
352
|
| member | required | type | description / documented default |
|
|
341
353
|
| --- | :-: | --- | --- |
|
|
342
|
-
| `value` | no | `string \| null` |
|
|
343
|
-
| `display` | no | `ReactNode` | Shown instead of the address — a person's name, for instance. |
|
|
344
|
-
| `subject` | no | `string` |
|
|
345
|
-
| `body` | no | `string` |
|
|
354
|
+
| `value` | no | `string \| null` | The address. Becomes both the text and the `mailto:` href. |
|
|
355
|
+
| `display` | no | `ReactNode` | Shown instead of the address — a person's name, for instance. The href is still the<br>address. |
|
|
356
|
+
| `subject` | no | `string` | Prefills the message's subject. Encoded into the `mailto:`, not concatenated into it. |
|
|
357
|
+
| `body` | no | `string` | Prefills the message's body. Encoded into the `mailto:`, not concatenated into it. |
|
|
346
358
|
| `ref` | no | `Ref<HTMLAnchorElement>` | |
|
|
347
359
|
|
|
348
360
|
### `EmptyValue`
|
|
@@ -399,13 +411,13 @@ Extends: `SpanProps`.
|
|
|
399
411
|
|
|
400
412
|
| member | required | type | description / documented default |
|
|
401
413
|
| --- | :-: | --- | --- |
|
|
402
|
-
| `value` | no | `number \| null` |
|
|
403
|
-
| `from` | no | `FileSizeUnit` |
|
|
404
|
-
| `base` | no | `FileSizeBase` | `binary`
|
|
414
|
+
| `value` | no | `number \| null` | The size. Bytes unless `from` says otherwise. |
|
|
415
|
+
| `from` | no | `FileSizeUnit` | The unit `value` is given in. Converted with the same base, so `from="megabytes"` means<br>2^20 under `binary` and 10^6 under `decimal`. |
|
|
416
|
+
| `base` | no | `FileSizeBase` | Which base and which labels. `binary` divides by 1024 and labels it MB — the pairing<br>Windows and most file managers show, chosen so a size agrees with the machine it<br>describes rather than with SI. `decimal` is SI-correct and what Apple platforms and<br>storage vendors use. `iec` is strictly correct. The default does not move, so nothing<br>already shipped changes. @default "binary" |
|
|
405
417
|
| `locale` | no | `string` | |
|
|
406
418
|
| `emptyLabel` | no | `ReactNode` | |
|
|
407
419
|
| `size` | no | `ValueProps["size"]` | |
|
|
408
|
-
| `align` | no | `ValueProps["align"]` |
|
|
420
|
+
| `align` | no | `ValueProps["align"]` | For a size given a box of its own. A COLUMN of sizes is aligned by the column —<br>`<TableCell align="end">` — because the primitive is a span, and blockifying it to<br>align would break the text runs it also sits in. |
|
|
409
421
|
| `weight` | no | `ValueProps["weight"]` | |
|
|
410
422
|
| `type` | no | `ValueProps["type"]` | |
|
|
411
423
|
| `ref` | no | `Ref<HTMLSpanElement>` | |
|
|
@@ -432,8 +444,9 @@ The same address on one line, for a cell or a summary row.
|
|
|
432
444
|
|
|
433
445
|
Kind: callable.
|
|
434
446
|
|
|
435
|
-
|
|
436
|
-
left with nothing drops with them, so a missing `line2` never leaves
|
|
447
|
+
The same ordering outside React: the address as lines, each already joined. Empty fields
|
|
448
|
+
drop out, and a line left with nothing drops with them, so a missing `line2` never leaves
|
|
449
|
+
a blank row.
|
|
437
450
|
|
|
438
451
|
```text
|
|
439
452
|
(parts: AddressParts, { countryCode, order, separator, locale }?: FormatAddressOptions) => string[]
|
|
@@ -454,8 +467,8 @@ Kind: interface.
|
|
|
454
467
|
|
|
455
468
|
Kind: callable.
|
|
456
469
|
|
|
457
|
-
|
|
458
|
-
month drops the repeated month from the start date.
|
|
470
|
+
The same collapsing outside React: a range reduced to its distinct parts. The same day
|
|
471
|
+
renders once, and a range within one month drops the repeated month from the start date.
|
|
459
472
|
|
|
460
473
|
```text
|
|
461
474
|
(start: DateInput, end: DateInput, { pattern, separator, locale }?: FormatDateRangeOptions) => string | undefined
|
|
@@ -475,6 +488,8 @@ Kind: interface.
|
|
|
475
488
|
|
|
476
489
|
Kind: callable.
|
|
477
490
|
|
|
491
|
+
The same joining outside React.
|
|
492
|
+
|
|
478
493
|
```text
|
|
479
494
|
(width: DimensionPart, height: DimensionPart, { depth, unit, separator, locale, options }?: FormatDimensionsOptions) => string | undefined
|
|
480
495
|
```
|
|
@@ -508,6 +523,8 @@ Kind: interface.
|
|
|
508
523
|
|
|
509
524
|
Kind: callable.
|
|
510
525
|
|
|
526
|
+
The same formatting outside React.
|
|
527
|
+
|
|
511
528
|
```text
|
|
512
529
|
(value: number, { from, base, locale }?: FileSizeFormatOptions) => string
|
|
513
530
|
```
|
|
@@ -516,7 +533,8 @@ Kind: callable.
|
|
|
516
533
|
|
|
517
534
|
Kind: callable.
|
|
518
535
|
|
|
519
|
-
|
|
536
|
+
The same derivation outside React: short, Unicode-aware initials from a person or
|
|
537
|
+
resource name.
|
|
520
538
|
|
|
521
539
|
`first-last` is the identity default (`Mary Jane Smith` → `MS`). Use
|
|
522
540
|
`first-words` for admin surfaces that intentionally use the first
|
|
@@ -531,6 +549,8 @@ the first N letters (`OpenAI` → `OP`).
|
|
|
531
549
|
|
|
532
550
|
Kind: callable.
|
|
533
551
|
|
|
552
|
+
The same normalisation outside React — for a sort key, an export, a document title.
|
|
553
|
+
|
|
534
554
|
```text
|
|
535
555
|
(value: string, { force }?: NameFormatOptions) => string
|
|
536
556
|
```
|
|
@@ -571,8 +591,8 @@ Extends: `Omit<ValueProps, "children">`.
|
|
|
571
591
|
| member | required | type | description / documented default |
|
|
572
592
|
| --- | :-: | --- | --- |
|
|
573
593
|
| `value` | no | `string \| null` | Person, organisation, or resource name to derive initials from. |
|
|
574
|
-
| `strategy` | no | `InitialsStrategy` | First + last word by default; `first-words` keeps the leading N words instead. |
|
|
575
|
-
| `maxCharacters` | no | `InitialsMaxCharacters` |
|
|
594
|
+
| `strategy` | no | `InitialsStrategy` | First + last word by default; `first-words` keeps the leading N words instead. @default "first-last" |
|
|
595
|
+
| `maxCharacters` | no | `InitialsMaxCharacters` | How many characters are kept. @default 2 |
|
|
576
596
|
| `locale` | no | `string` | |
|
|
577
597
|
| `fallback` | no | `string` | Returned when no usable letter or number exists. |
|
|
578
598
|
| `ref` | no | `Ref<HTMLSpanElement>` | |
|
|
@@ -601,12 +621,12 @@ Extends: `SpanProps`.
|
|
|
601
621
|
|
|
602
622
|
| member | required | type | description / documented default |
|
|
603
623
|
| --- | :-: | --- | --- |
|
|
604
|
-
| `items` | no | `readonly string[] \| null` |
|
|
605
|
-
| `join` | no | `"and" \| "or" \| "none"` | `and` is "A, B and C"; `or` is "A, B or C"; `none` is "A, B, C", for lists that are<br>not prose.
|
|
606
|
-
| `joinStyle` | no | `"long" \| "short" \| "narrow"` | `long` is "and", `short` is "&" where the locale has one, `narrow` drops it
|
|
624
|
+
| `items` | no | `readonly string[] \| null` | Strings, not nodes: `Intl.ListFormat` formats text, and falling back to a hand join for<br>nodes would quietly lose the locale rules. A row of badges is a `Stack` with a gap. |
|
|
625
|
+
| `join` | no | `"and" \| "or" \| "none"` | `and` is "A, B and C"; `or` is "A, B or C"; `none` is "A, B, C", for lists that are<br>not prose, where a trailing "and" reads as a claim the data is not making. Not called<br>`type`: every other primitive spends that word on the text tone. |
|
|
626
|
+
| `joinStyle` | no | `"long" \| "short" \| "narrow"` | `long` is "and", `short` is "&" where the locale has one, `narrow` drops it. Not called<br>`style`, which is the DOM attribute and would have shadowed it. |
|
|
607
627
|
| `max` | no | `number` | Shows at most this many, then a count of the rest inside the list, so the<br>conjunction still lands correctly: "Alice, Bob and 3 more". |
|
|
608
628
|
| `locale` | no | `string` | |
|
|
609
|
-
| `strings` | no | `Partial<InlineListStrings>` |
|
|
629
|
+
| `strings` | no | `Partial<InlineListStrings>` | Overrides the list's own copy: `more(count)`, which names the truncated remainder. |
|
|
610
630
|
| `emptyLabel` | no | `ReactNode` | |
|
|
611
631
|
| `size` | no | `ValueProps["size"]` | |
|
|
612
632
|
| `align` | no | `ValueProps["align"]` | |
|
|
@@ -626,6 +646,9 @@ Kind: interface.
|
|
|
626
646
|
|
|
627
647
|
Kind: callable.
|
|
628
648
|
|
|
649
|
+
The plain anchor the three contact primitives are built on: the kit's `TextLink`, or the
|
|
650
|
+
empty mark when there is nothing to link.
|
|
651
|
+
|
|
629
652
|
```text
|
|
630
653
|
({ children, emptyLabel, className, ref, ...props }: LinkProps) => import("react").JSX.Element
|
|
631
654
|
```
|
|
@@ -658,7 +681,7 @@ Extends: `SharedProps`.
|
|
|
658
681
|
|
|
659
682
|
| member | required | type | description / documented default |
|
|
660
683
|
| --- | :-: | --- | --- |
|
|
661
|
-
| `value` | no | `number \| null` |
|
|
684
|
+
| `value` | no | `number \| null` | The amount. |
|
|
662
685
|
| `unit` | no | `string` | A CSS-style unit identifier — `kilogram`, `meter`, `liter`, `celsius`, `byte`.<br><br>Passed to `Intl.NumberFormat`, which owns both the abbreviation and where it goes:<br>English writes "2.5 kg" and French writes "2,5 kg", and neither is a string this<br>component should be assembling. |
|
|
663
686
|
| `unitDisplay` | no | `"short" \| "narrow" \| "long"` | `short` is "2.5 kg", `narrow` is "2.5kg", `long` is "2.5 kilograms". |
|
|
664
687
|
| `maximumFractionDigits` | no | `number` | Caps the decimals. The value is not rounded before formatting. |
|
|
@@ -679,17 +702,17 @@ Extends: `SpanProps`, `MoneyValue`.
|
|
|
679
702
|
|
|
680
703
|
| member | required | type | description / documented default |
|
|
681
704
|
| --- | :-: | --- | --- |
|
|
682
|
-
| `locale` | no | `string` |
|
|
705
|
+
| `locale` | no | `string` | Overrides the scope's locale for this value. |
|
|
683
706
|
| `emptyLabel` | no | `ReactNode` | |
|
|
684
707
|
| `size` | no | `ValueProps["size"]` | |
|
|
685
708
|
| `align` | no | `ValueProps["align"]` | |
|
|
686
709
|
| `weight` | no | `ValueProps["weight"]` | |
|
|
687
710
|
| `type` | no | `ValueProps["type"]` | |
|
|
688
|
-
| `secondary` | no | `MoneyValue \| null` | A converted value shown beside the primary one.
|
|
689
|
-
| `displayMode` | no | `MoneyDisplayMode` |
|
|
690
|
-
| `layout` | no | `MoneyLayout` |
|
|
691
|
-
| `secondaryEmphasis` | no | `MoneySecondaryEmphasis` |
|
|
692
|
-
| `separator` | no | `ReactNode` | Between the two, inline. A middle dot; pass an arrow for a conversion. |
|
|
711
|
+
| `secondary` | no | `MoneyValue \| null` | A converted value shown beside the primary one. Passing it is the request for the pair:<br>the scope's policy can narrow that (`displayMode="primary-only"`) but never widen it,<br>and never invents a value. |
|
|
712
|
+
| `displayMode` | no | `MoneyDisplayMode` | Whether the pair shows. `dynamic` shows it only when the two codes actually differ. |
|
|
713
|
+
| `layout` | no | `MoneyLayout` | Beside, or under. Falls back to the scope's `money.layout`. |
|
|
714
|
+
| `secondaryEmphasis` | no | `MoneySecondaryEmphasis` | How loud the second value is against the first. |
|
|
715
|
+
| `separator` | no | `ReactNode` | Between the two, inline. A middle dot; pass an arrow for a conversion. It is<br>`aria-hidden`: read aloud, the mark between two amounts is punctuation for the eye. |
|
|
693
716
|
| `ref` | no | `Ref<HTMLSpanElement>` | |
|
|
694
717
|
|
|
695
718
|
### `MoneyUnit`
|
|
@@ -708,17 +731,18 @@ Kind: interface.
|
|
|
708
731
|
|
|
709
732
|
| member | required | type | description / documented default |
|
|
710
733
|
| --- | :-: | --- | --- |
|
|
711
|
-
| `amount` | no | `number \| string \| null` | A number or decimal string
|
|
712
|
-
| `currency` | no | `string` |
|
|
713
|
-
| `unit` | no | `MoneyUnit` |
|
|
714
|
-
| `minorUnitScale` | no | `number` | Minor units per major unit
|
|
715
|
-
| `formatMode` | no | `MoneyFormatMode` | How this amount is written
|
|
734
|
+
| `amount` | no | `number \| string \| null` | The amount, in a channel separate from its currency. A number or a decimal string: a<br>single dot is decimal, and a grouped US or EU string is parsed by POSITION — whichever<br>of , or . appears last is the decimal point — so a value that came back through a<br>European locale does not parse a thousand times too large. |
|
|
735
|
+
| `currency` | no | `string` | The amount's ISO currency code, kept apart from the amount all the way to the render. |
|
|
736
|
+
| `unit` | no | `MoneyUnit` | The unit the amount ARRIVES in. Use `minor` for APIs that store integer minor units. @default "major" |
|
|
737
|
+
| `minorUnitScale` | no | `number` | Minor units per major unit, for a currency whose exponent is not two. @default 100 |
|
|
738
|
+
| `formatMode` | no | `MoneyFormatMode` | How this amount is written. Falls back to the scope's `money.formatMode`, so<br>`UIProvider` defaults can change it. @default "with-symbol" |
|
|
716
739
|
|
|
717
740
|
### `MonoValue`
|
|
718
741
|
|
|
719
742
|
Kind: callable.
|
|
720
743
|
|
|
721
|
-
|
|
744
|
+
Tabular figures and a mono face, for identifiers, hashes and SKUs — codes compared by eye,
|
|
745
|
+
down a column.
|
|
722
746
|
|
|
723
747
|
```text
|
|
724
748
|
({ className, ...props }: ValueProps) => import("react").JSX.Element
|
|
@@ -728,7 +752,8 @@ Identifiers, hashes, SKUs — fixed width so they compare down a column.
|
|
|
728
752
|
|
|
729
753
|
Kind: callable.
|
|
730
754
|
|
|
731
|
-
|
|
755
|
+
The same value two steps quieter, for incidental copy — present, but not something the
|
|
756
|
+
reader is meant to act on.
|
|
732
757
|
|
|
733
758
|
```text
|
|
734
759
|
({ type, size, ...props }: ValueProps) => import("react").JSX.Element
|
|
@@ -758,9 +783,9 @@ Extends: `Omit<ValueProps, "children">`.
|
|
|
758
783
|
|
|
759
784
|
| member | required | type | description / documented default |
|
|
760
785
|
| --- | :-: | --- | --- |
|
|
761
|
-
| `value` | no | `string \| null` |
|
|
786
|
+
| `value` | no | `string \| null` | The whole name, however it was stored. |
|
|
762
787
|
| `children` | no | `ReactNode` | |
|
|
763
|
-
| `force` | no | `boolean` |
|
|
788
|
+
| `force` | no | `boolean` | Title-cases a name that already looks INTENTIONALLY cased. A name arriving all-shouting<br>or all-lowercase is re-cased without it — those two carry no intent to preserve. Off by<br>default, because a name is the one field where the stored casing is usually deliberate:<br>`force` is what overrides that judgement. Hyphens and apostrophes each take a capital<br>(jean-luc → Jean-Luc, o'brien → O'Brien); an intercap does not, so mcdonald becomes<br>Mcdonald — Mc, Mac and van der have no rule that is right for every name carrying them. |
|
|
764
789
|
|
|
765
790
|
### `Number`
|
|
766
791
|
|
|
@@ -778,8 +803,8 @@ Extends: `SpanProps`.
|
|
|
778
803
|
|
|
779
804
|
| member | required | type | description / documented default |
|
|
780
805
|
| --- | :-: | --- | --- |
|
|
781
|
-
| `value` | no | `number \| string \| null` |
|
|
782
|
-
| `locale` | no | `string` |
|
|
806
|
+
| `value` | no | `number \| string \| null` | The number, drawn with locale grouping and tabular figures. |
|
|
807
|
+
| `locale` | no | `string` | Overrides the scope's locale for this value. |
|
|
783
808
|
| `options` | no | `Intl.NumberFormatOptions` | |
|
|
784
809
|
| `emptyLabel` | no | `ReactNode` | |
|
|
785
810
|
| `size` | no | `ValueProps["size"]` | |
|
|
@@ -792,7 +817,8 @@ Extends: `SpanProps`.
|
|
|
792
817
|
|
|
793
818
|
Kind: callable.
|
|
794
819
|
|
|
795
|
-
|
|
820
|
+
The single parse every date primitive goes through. Returns undefined rather than an
|
|
821
|
+
Invalid Date, so the empty state renders instead.
|
|
796
822
|
|
|
797
823
|
```text
|
|
798
824
|
(value: DateInput) => Date | undefined
|
|
@@ -814,7 +840,8 @@ Extends: `Omit<NumberProps, "options">`.
|
|
|
814
840
|
|
|
815
841
|
| member | required | type | description / documented default |
|
|
816
842
|
| --- | :-: | --- | --- |
|
|
817
|
-
| `
|
|
843
|
+
| `value` | no | `number \| string \| null` | A fraction, not a percentage — 0.214 renders as 21.4%. |
|
|
844
|
+
| `scaled` | no | `boolean` | The value is already on 0–100 rather than 0–1. Needed because both conventions are in<br>the wild and neither is guessable from the number. |
|
|
818
845
|
| `options` | no | `Intl.NumberFormatOptions` | |
|
|
819
846
|
|
|
820
847
|
### `Phone`
|
|
@@ -833,8 +860,8 @@ Extends: `Omit<LinkProps, "href" | "children" | "ref">`.
|
|
|
833
860
|
|
|
834
861
|
| member | required | type | description / documented default |
|
|
835
862
|
| --- | :-: | --- | --- |
|
|
836
|
-
| `value` | no | `string \| null` |
|
|
837
|
-
| `display` | no | `ReactNode` |
|
|
863
|
+
| `value` | no | `string \| null` | The number as stored. Displayed with its grouping; dialled without it. |
|
|
864
|
+
| `display` | no | `ReactNode` | Shown instead of the number. |
|
|
838
865
|
| `ref` | no | `Ref<HTMLAnchorElement>` | |
|
|
839
866
|
|
|
840
867
|
### `PluralForms`
|
|
@@ -869,9 +896,9 @@ Extends: `SharedProps`.
|
|
|
869
896
|
|
|
870
897
|
| member | required | type | description / documented default |
|
|
871
898
|
| --- | :-: | --- | --- |
|
|
872
|
-
| `value` | no | `number \| null` |
|
|
873
|
-
| `unit` | no | `PluralForms \| string` | The noun, in the forms the locale may need. A bare string is used for every form. |
|
|
874
|
-
| `zeroLabel` | no | `ReactNode` |
|
|
899
|
+
| `value` | no | `number \| null` | The count. |
|
|
900
|
+
| `unit` | no | `PluralForms \| string` | The noun, in the forms the locale may need — one, other, and the zero, two, few and<br>many some languages select. A bare string is used for every form. |
|
|
901
|
+
| `zeroLabel` | no | `ReactNode` | Replaces the whole thing at zero — "no items" rather than "0 items". Off by default: in<br>a column the zero is the value being reported. |
|
|
875
902
|
|
|
876
903
|
### `Range`
|
|
877
904
|
|
|
@@ -889,11 +916,11 @@ Extends: `SpanProps`.
|
|
|
889
916
|
|
|
890
917
|
| member | required | type | description / documented default |
|
|
891
918
|
| --- | :-: | --- | --- |
|
|
892
|
-
| `from` | no | `number \| null` |
|
|
893
|
-
| `to` | no | `number \| null` |
|
|
894
|
-
| `currency` | no | `string` | An ISO currency code. Renders the range as money. |
|
|
895
|
-
| `unit` | no | `string` | A CSS-style unit identifier — `kilogram`, `day`. Renders the range with its unit. |
|
|
896
|
-
| `maximumFractionDigits` | no | `number` |
|
|
919
|
+
| `from` | no | `number \| null` | The low end. One end alone still renders — "from £10", with the caller's copy around<br>the value. |
|
|
920
|
+
| `to` | no | `number \| null` | The high end. One end alone still renders, with the caller's copy around the value. |
|
|
921
|
+
| `currency` | no | `string` | An ISO currency code. Renders the range as money: Intl repeats the symbol on both ends,<br>which is its considered answer to the ambiguity a single symbol creates. |
|
|
922
|
+
| `unit` | no | `string` | A CSS-style unit identifier — `kilogram`, `day`. Renders the range with its unit.<br>Ignored when `currency` is set. |
|
|
923
|
+
| `maximumFractionDigits` | no | `number` | Caps the decimals on both ends. |
|
|
897
924
|
| `locale` | no | `string` | |
|
|
898
925
|
| `emptyLabel` | no | `ReactNode` | |
|
|
899
926
|
| `size` | no | `ValueProps["size"]` | |
|
|
@@ -918,10 +945,10 @@ Extends: `SharedProps`.
|
|
|
918
945
|
|
|
919
946
|
| member | required | type | description / documented default |
|
|
920
947
|
| --- | :-: | --- | --- |
|
|
921
|
-
| `value` | no | `number \| null` |
|
|
948
|
+
| `value` | no | `number \| null` | The score. Shown to at most one decimal, so 4 stays 4. |
|
|
922
949
|
| `max` | no | `number` | The top of the scale. Five unless said otherwise, which is the common instrument. |
|
|
923
950
|
| `hideMax` | no | `boolean` | Hides the scale, leaving the score alone.<br><br>For a surface that states the scale elsewhere — a column headed "Rating / 5", or a<br>row of stars that already shows it. Not the default, because "4.5" on its own is a<br>number a reader has to guess the meaning of. |
|
|
924
|
-
| `strings` | no | `Partial<RatingStrings>` |
|
|
951
|
+
| `strings` | no | `Partial<RatingStrings>` | The connector — "out of". |
|
|
925
952
|
|
|
926
953
|
### `RatingStrings`
|
|
927
954
|
|
|
@@ -947,10 +974,10 @@ Extends: `SharedProps`.
|
|
|
947
974
|
|
|
948
975
|
| member | required | type | description / documented default |
|
|
949
976
|
| --- | :-: | --- | --- |
|
|
950
|
-
| `value` | no | `number \| null` |
|
|
977
|
+
| `value` | no | `number \| null` | The count. |
|
|
951
978
|
| `total` | no | `number \| null` | What the value is counted against. Without it the component renders the value alone. |
|
|
952
979
|
| `format` | no | `"words" \| "fraction"` | `words` reads "3 of 10" (prose); `fraction` reads "3/10" (tables). |
|
|
953
|
-
| `strings` | no | `Partial<RatioStrings>` |
|
|
980
|
+
| `strings` | no | `Partial<RatioStrings>` | The connectors — "of", and the fraction separator. |
|
|
954
981
|
|
|
955
982
|
### `RatioStrings`
|
|
956
983
|
|
|
@@ -982,14 +1009,15 @@ Extends: `Omit<DateBaseProps, "pattern">`.
|
|
|
982
1009
|
| --- | :-: | --- | --- |
|
|
983
1010
|
| `now` | no | `DateInput` | The moment to measure against. Defaults to the clock.<br><br>Supply it wherever the render has to be reproducible — a server render whose<br>markup must match the client's, a test asserting the string, a visual snapshot.<br>Reading the clock inside the component makes all three of those flaky, and it<br>does not buy a live value in exchange: nothing re-renders it as time passes. |
|
|
984
1011
|
| `addSuffix` | no | `boolean` | "7 days ago" rather than "7 days". On by default, because a bare duration beside a<br>row of dates reads as a length rather than a moment. |
|
|
985
|
-
| `includeSeconds` | no | `boolean` | Distinguishes "less than a minute" from "30 seconds". |
|
|
986
|
-
| `formatRelativeTime` | no | `(date: Date, now: Date) => string` | Replaces the wording for this one value. Falls back to the scope's<br>`dates.formatRelativeTime`, and then to date-fns. |
|
|
1012
|
+
| `includeSeconds` | no | `boolean` | Distinguishes "less than a minute" from "30 seconds". Only worth it for a feed measured<br>in seconds. |
|
|
1013
|
+
| `formatRelativeTime` | no | `(date: Date, now: Date) => string` | Replaces the wording for this one value. Falls back to the scope's<br>`dates.formatRelativeTime`, and then to date-fns, whose built-in wording the scope's<br>`dates.locale` translates: a date-fns locale OBJECT, since the locales are modules and<br>cannot be looked up from a BCP-47 tag without putting every language in every bundle. |
|
|
987
1014
|
|
|
988
1015
|
### `SecondaryValue`
|
|
989
1016
|
|
|
990
1017
|
Kind: callable.
|
|
991
1018
|
|
|
992
|
-
|
|
1019
|
+
The same value one step quieter, for one that supports the primary value — a subtitle, a
|
|
1020
|
+
unit, a qualifier.
|
|
993
1021
|
|
|
994
1022
|
```text
|
|
995
1023
|
({ type, ...props }: ValueProps) => import("react").JSX.Element
|
|
@@ -1007,6 +1035,9 @@ Omit<ComponentPropsWithoutRef<"span">, "children" | "color">
|
|
|
1007
1035
|
|
|
1008
1036
|
Kind: callable.
|
|
1009
1037
|
|
|
1038
|
+
The same value as a time of day. Three components rather than a granularity prop, because
|
|
1039
|
+
a column shows one of them and never switches.
|
|
1040
|
+
|
|
1010
1041
|
```text
|
|
1011
1042
|
({ value, pattern, ...props }: DateBaseProps) => import("react").JSX.Element
|
|
1012
1043
|
```
|
|
@@ -1027,9 +1058,9 @@ Extends: `Omit<LinkProps, "href" | "children" | "ref">`.
|
|
|
1027
1058
|
|
|
1028
1059
|
| member | required | type | description / documented default |
|
|
1029
1060
|
| --- | :-: | --- | --- |
|
|
1030
|
-
| `value` | no | `string \| null` |
|
|
1031
|
-
| `display` | no | `ReactNode` |
|
|
1032
|
-
| `external` | no | `boolean` | Opens in a new tab
|
|
1061
|
+
| `value` | no | `string \| null` | The address. The host is shown; the whole thing stays in the href. |
|
|
1062
|
+
| `display` | no | `ReactNode` | Shown instead of the host. |
|
|
1063
|
+
| `external` | no | `boolean` | Opens in a new tab WITH `rel="noopener noreferrer"` — the two are not separable — and<br>with the announcement a new tab requires too. See `strings.opensInNewTab`. |
|
|
1033
1064
|
| `strings` | no | `Partial<UrlStrings>` | Overrides the new-tab announcement. |
|
|
1034
1065
|
| `ref` | no | `Ref<HTMLAnchorElement>` | |
|
|
1035
1066
|
|
|
@@ -1049,7 +1080,7 @@ Extends: `SpanProps`.
|
|
|
1049
1080
|
|
|
1050
1081
|
| member | required | type | description / documented default |
|
|
1051
1082
|
| --- | :-: | --- | --- |
|
|
1052
|
-
| `children` | no | `ReactNode` |
|
|
1083
|
+
| `children` | no | `ReactNode` | The value. `null`, `undefined` or an empty string renders the empty mark. |
|
|
1053
1084
|
| `emptyLabel` | no | `ReactNode` | Rendered when the value is absent. |
|
|
1054
1085
|
| `size` | no | `TextSize` | |
|
|
1055
1086
|
| `align` | no | `TextProps["align"]` | |
|
|
@@ -1071,288 +1102,854 @@ Extract<TextProps["type"], "inherit" | "main" | "secondary">
|
|
|
1071
1102
|
|
|
1072
1103
|
## Preview recipes
|
|
1073
1104
|
|
|
1074
|
-
Preview route:
|
|
1105
|
+
Preview route: Form field — `/form-field`
|
|
1106
|
+
|
|
1107
|
+
### Scale
|
|
1108
|
+
|
|
1109
|
+
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1110
|
+
import { Stack } from "themelia-ui/base/structure"
|
|
1111
|
+
import { Input, NativeSelect } from "themelia-ui/base/text-inputs"
|
|
1112
|
+
import { MonoValue } from "themelia-ui/primitives"
|
|
1113
|
+
import { Scope } from "themelia-ui/ui-provider"
|
|
1114
|
+
|
|
1115
|
+
export default function FormsScale() {
|
|
1116
|
+
return (
|
|
1117
|
+
<Stack gap="lg" style={{ width: "100%" }}>
|
|
1118
|
+
{[1, 0.875, 1.125].map((scale) => (
|
|
1119
|
+
<Scope key={scale} vars={{ "--density-scale": scale }}>
|
|
1120
|
+
<Stack direction="horizontal" gap="md" align="center" justify="start">
|
|
1121
|
+
{/* Widths on the wrappers: Input's style lands on the inner control, not its frame. */}
|
|
1122
|
+
<MonoValue size="xs" style={{ width: "3.5rem", flexShrink: 0, fontSize: "0.75rem" }}>
|
|
1123
|
+
{scale}
|
|
1124
|
+
</MonoValue>
|
|
1125
|
+
{/* Named even in a geometry demo: a placeholder is not a label. */}
|
|
1126
|
+
<div style={{ width: "12rem", flexShrink: 0 }}>
|
|
1127
|
+
<Input placeholder="Field" aria-label={`Example field at density ${scale}`} />
|
|
1128
|
+
</div>
|
|
1129
|
+
<div style={{ width: "9rem", flexShrink: 0 }}>
|
|
1130
|
+
<NativeSelect defaultValue="a" aria-label={`Example select at density ${scale}`}>
|
|
1131
|
+
<option value="a">Option</option>
|
|
1132
|
+
</NativeSelect>
|
|
1133
|
+
</div>
|
|
1134
|
+
</Stack>
|
|
1135
|
+
</Scope>
|
|
1136
|
+
))}
|
|
1137
|
+
</Stack>
|
|
1138
|
+
)
|
|
1139
|
+
}
|
|
1140
|
+
```
|
|
1075
1141
|
|
|
1076
1142
|
### Ordered by country
|
|
1077
1143
|
|
|
1078
1144
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1079
|
-
|
|
1145
|
+
import { Grid, Stack } from "themelia-ui/base/structure"
|
|
1146
|
+
import { Text } from "themelia-ui/base/typography"
|
|
1147
|
+
import { Address } from "themelia-ui/primitives"
|
|
1148
|
+
|
|
1149
|
+
import { DE, UK, US } from "./data"
|
|
1150
|
+
|
|
1151
|
+
export default function AddressExample() {
|
|
1152
|
+
return (
|
|
1153
|
+
// Captioned with the country code you pass; the name is the address's last line.
|
|
1154
|
+
<Grid columns={{ base: 1, md: 3 }} gap="xl">
|
|
1155
|
+
{[["GB", UK], ["US", US], ["DE", DE]].map(([label, value]) => (
|
|
1156
|
+
<Stack key={label as string} gap="2xs">
|
|
1157
|
+
<Text size="xs" type="secondary">country: "{label as string}"</Text>
|
|
1158
|
+
<Address value={value as typeof UK} />
|
|
1159
|
+
</Stack>
|
|
1160
|
+
))}
|
|
1161
|
+
</Grid>
|
|
1162
|
+
)
|
|
1163
|
+
}
|
|
1080
1164
|
```
|
|
1081
1165
|
|
|
1082
1166
|
### Inline, for a cell
|
|
1083
1167
|
|
|
1084
1168
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1085
|
-
|
|
1169
|
+
import { Stack } from "themelia-ui/base/structure"
|
|
1170
|
+
import { Address } from "themelia-ui/primitives"
|
|
1171
|
+
|
|
1172
|
+
import { DE, UK, US } from "./data"
|
|
1173
|
+
|
|
1174
|
+
export default function AddressInline() {
|
|
1175
|
+
return (
|
|
1176
|
+
<Stack gap="xs">
|
|
1177
|
+
<Address value={UK} format="inline" />
|
|
1178
|
+
<Address value={US} format="inline" />
|
|
1179
|
+
<Address value={DE} format="inline" />
|
|
1180
|
+
</Stack>
|
|
1181
|
+
)
|
|
1182
|
+
}
|
|
1086
1183
|
```
|
|
1087
1184
|
|
|
1088
1185
|
### Missing fields
|
|
1089
1186
|
|
|
1090
1187
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1091
|
-
|
|
1188
|
+
import { Grid } from "themelia-ui/base/structure"
|
|
1189
|
+
import { Address } from "themelia-ui/primitives"
|
|
1190
|
+
|
|
1191
|
+
export default function AddressPartial() {
|
|
1192
|
+
return (
|
|
1193
|
+
<Grid columns={{ base: 1, md: 3 }} gap="xl">
|
|
1194
|
+
<Address value={{ line1: "221B Baker Street", city: "London" }} />
|
|
1195
|
+
<Address value={{ city: "London", postalCode: "NW1 6XE" }} />
|
|
1196
|
+
<Address value={null} />
|
|
1197
|
+
</Grid>
|
|
1198
|
+
)
|
|
1199
|
+
}
|
|
1092
1200
|
```
|
|
1093
1201
|
|
|
1094
1202
|
### Coordinates
|
|
1095
1203
|
|
|
1096
1204
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1097
|
-
|
|
1098
|
-
|
|
1205
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1206
|
+
import { Coordinates } from "themelia-ui/primitives"
|
|
1207
|
+
|
|
1208
|
+
export default function CoordinatesExample() {
|
|
1209
|
+
return (
|
|
1210
|
+
<MetadataList
|
|
1211
|
+
layout="rows"
|
|
1212
|
+
items={[
|
|
1213
|
+
{ label: "Default", value: <Coordinates latitude={48.85837} longitude={2.29448} /> },
|
|
1214
|
+
{ label: "With hemispheres", value: <Coordinates latitude={48.85837} longitude={2.29448} showHemisphere /> },
|
|
1215
|
+
{ label: "Degrees, minutes, seconds", value: <Coordinates latitude={48.85837} longitude={2.29448} format="dms" /> },
|
|
1216
|
+
{ label: "Southern hemisphere", value: <Coordinates latitude={-33.8688} longitude={151.2093} format="dms" /> },
|
|
1217
|
+
{ label: "Three decimals", value: <Coordinates latitude={48.85837} longitude={2.29448} precision={3} /> },
|
|
1218
|
+
{ label: "No decimals", value: <Coordinates latitude={48.85837} longitude={2.29448} precision={0} /> },
|
|
1219
|
+
{ label: "No coordinates", value: <Coordinates latitude={null} longitude={null} /> },
|
|
1220
|
+
]}
|
|
1221
|
+
/>
|
|
1222
|
+
)
|
|
1223
|
+
}
|
|
1099
1224
|
```
|
|
1100
1225
|
|
|
1101
1226
|
### Email
|
|
1102
1227
|
|
|
1103
1228
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1229
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1230
|
+
import { Email } from "themelia-ui/primitives"
|
|
1231
|
+
|
|
1232
|
+
export default function EmailExample() {
|
|
1233
|
+
return (
|
|
1234
|
+
<MetadataList
|
|
1235
|
+
layout="rows"
|
|
1236
|
+
items={[
|
|
1237
|
+
{ label: "Default", value: <Email value="jane@northwind.example" /> },
|
|
1238
|
+
{ label: "Display name", value: <Email value="raj@northwind.example" display="Raj Patel" /> },
|
|
1239
|
+
{ label: "No address", value: <Email value={null} /> },
|
|
1240
|
+
]}
|
|
1241
|
+
/>
|
|
1242
|
+
)
|
|
1243
|
+
}
|
|
1107
1244
|
```
|
|
1108
1245
|
|
|
1109
1246
|
### Phone
|
|
1110
1247
|
|
|
1111
1248
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1249
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1250
|
+
import { Phone } from "themelia-ui/primitives"
|
|
1251
|
+
|
|
1252
|
+
export default function PhoneExample() {
|
|
1253
|
+
return (
|
|
1254
|
+
<MetadataList
|
|
1255
|
+
layout="rows"
|
|
1256
|
+
items={[
|
|
1257
|
+
{ label: "Grouped with spaces", value: <Phone value="+31 6 1234 5678" /> },
|
|
1258
|
+
{ label: "Brackets and dashes", value: <Phone value="+1 (555) 010-4417" /> },
|
|
1259
|
+
{ label: "No number", value: <Phone value={null} /> },
|
|
1260
|
+
]}
|
|
1261
|
+
/>
|
|
1262
|
+
)
|
|
1263
|
+
}
|
|
1115
1264
|
```
|
|
1116
1265
|
|
|
1117
1266
|
### URL
|
|
1118
1267
|
|
|
1119
1268
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1269
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1270
|
+
import { Url } from "themelia-ui/primitives"
|
|
1271
|
+
|
|
1272
|
+
export default function UrlExample() {
|
|
1273
|
+
return (
|
|
1274
|
+
<MetadataList
|
|
1275
|
+
layout="rows"
|
|
1276
|
+
items={[
|
|
1277
|
+
{ label: "Default", value: <Url value="https://northwind.example/invoices/4417" /> },
|
|
1278
|
+
{ label: "Opens in a new tab", value: <Url value="https://northwind.example/invoices/4417" external /> },
|
|
1279
|
+
{ label: "Display text", value: <Url value="https://northwind.example" display="Northwind" /> },
|
|
1280
|
+
{ label: "No address", value: <Url value={null} /> },
|
|
1281
|
+
]}
|
|
1282
|
+
/>
|
|
1283
|
+
)
|
|
1284
|
+
}
|
|
1124
1285
|
```
|
|
1125
1286
|
|
|
1126
1287
|
### Dates and times
|
|
1127
1288
|
|
|
1128
1289
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1290
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1291
|
+
import { DatePrimitive, DateTime, Time } from "themelia-ui/primitives"
|
|
1292
|
+
|
|
1293
|
+
import { WHEN } from "./data"
|
|
1294
|
+
|
|
1295
|
+
export default function DateExample() {
|
|
1296
|
+
return (
|
|
1297
|
+
<MetadataList
|
|
1298
|
+
layout="rows"
|
|
1299
|
+
items={[
|
|
1300
|
+
{ label: "Date", value: <DatePrimitive value={WHEN} /> },
|
|
1301
|
+
{ label: "Time", value: <Time value={WHEN} /> },
|
|
1302
|
+
{ label: "Date and time", value: <DateTime value={WHEN} /> },
|
|
1303
|
+
{ label: "Custom pattern", value: <DatePrimitive value={WHEN} pattern="EEEE d MMMM yyyy" /> },
|
|
1304
|
+
{ label: "No date", value: <DatePrimitive value={null} /> },
|
|
1305
|
+
]}
|
|
1306
|
+
/>
|
|
1307
|
+
)
|
|
1308
|
+
}
|
|
1134
1309
|
```
|
|
1135
1310
|
|
|
1136
1311
|
### Localised names
|
|
1137
1312
|
|
|
1138
1313
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1139
|
-
import { de } from "date-fns/locale"
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1314
|
+
import { de, ja } from "date-fns/locale"
|
|
1315
|
+
|
|
1316
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1317
|
+
import { DatePrimitive } from "themelia-ui/primitives"
|
|
1318
|
+
import { UIProvider } from "themelia-ui/ui-provider"
|
|
1319
|
+
|
|
1320
|
+
import { WHEN } from "./data"
|
|
1321
|
+
|
|
1322
|
+
export default function DateLocale() {
|
|
1323
|
+
return (
|
|
1324
|
+
<MetadataList
|
|
1325
|
+
layout="rows"
|
|
1326
|
+
items={[
|
|
1327
|
+
{ label: "Default", value: <DatePrimitive value={WHEN} pattern="EEEE d MMMM yyyy" /> },
|
|
1328
|
+
{
|
|
1329
|
+
label: "German names",
|
|
1330
|
+
value: (
|
|
1331
|
+
<UIProvider config={{ dates: { locale: de } }}>
|
|
1332
|
+
<DatePrimitive value={WHEN} pattern="EEEE d MMMM yyyy" />
|
|
1333
|
+
</UIProvider>
|
|
1334
|
+
),
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
label: "Japanese names",
|
|
1338
|
+
value: (
|
|
1339
|
+
<UIProvider config={{ dates: { locale: ja } }}>
|
|
1340
|
+
<DatePrimitive value={WHEN} pattern="EEEE d MMMM yyyy" />
|
|
1341
|
+
</UIProvider>
|
|
1342
|
+
),
|
|
1343
|
+
},
|
|
1344
|
+
]}
|
|
1345
|
+
/>
|
|
1346
|
+
)
|
|
1347
|
+
}
|
|
1348
|
+
```
|
|
1349
|
+
|
|
1350
|
+
### DateRange
|
|
1147
1351
|
|
|
1148
1352
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1353
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1354
|
+
import { DateRange } from "themelia-ui/primitives"
|
|
1355
|
+
|
|
1356
|
+
import { APRIL_2, MARCH_3, MARCH_7, NEXT_JAN } from "./data"
|
|
1357
|
+
|
|
1358
|
+
export default function DateRangeExample() {
|
|
1359
|
+
return (
|
|
1360
|
+
<MetadataList
|
|
1361
|
+
layout="rows"
|
|
1362
|
+
items={[
|
|
1363
|
+
{ label: "Same month", value: <DateRange start={MARCH_3} end={MARCH_7} /> },
|
|
1364
|
+
{ label: "Same year", value: <DateRange start={MARCH_3} end={APRIL_2} /> },
|
|
1365
|
+
{ label: "Across years", value: <DateRange start={MARCH_3} end={NEXT_JAN} /> },
|
|
1366
|
+
{ label: "Custom separator", value: <DateRange start={MARCH_3} end={APRIL_2} separator=" to " /> },
|
|
1367
|
+
{ label: "No end date", value: <DateRange start={MARCH_3} end={null} /> },
|
|
1368
|
+
]}
|
|
1369
|
+
/>
|
|
1370
|
+
)
|
|
1371
|
+
}
|
|
1154
1372
|
```
|
|
1155
1373
|
|
|
1156
1374
|
### RelativeTime
|
|
1157
1375
|
|
|
1158
1376
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1377
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1378
|
+
import { RelativeTime } from "themelia-ui/primitives"
|
|
1379
|
+
|
|
1380
|
+
import { DAYS_AGO, HOURS_AGO, MONTHS_AGO, NOW } from "./data"
|
|
1381
|
+
|
|
1382
|
+
export default function RelativeTimeExample() {
|
|
1383
|
+
return (
|
|
1384
|
+
<MetadataList
|
|
1385
|
+
layout="rows"
|
|
1386
|
+
items={[
|
|
1387
|
+
{ label: "Hours ago", value: <RelativeTime value={HOURS_AGO} now={NOW} /> },
|
|
1388
|
+
{ label: "Days ago", value: <RelativeTime value={DAYS_AGO} now={NOW} /> },
|
|
1389
|
+
{ label: "Months ago", value: <RelativeTime value={MONTHS_AGO} now={NOW} /> },
|
|
1390
|
+
{ label: "No date", value: <RelativeTime value={null} /> },
|
|
1391
|
+
]}
|
|
1392
|
+
/>
|
|
1393
|
+
)
|
|
1394
|
+
}
|
|
1163
1395
|
```
|
|
1164
1396
|
|
|
1165
1397
|
### Suffix and precision
|
|
1166
1398
|
|
|
1167
1399
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1168
|
-
|
|
1169
|
-
|
|
1400
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1401
|
+
import { RelativeTime } from "themelia-ui/primitives"
|
|
1402
|
+
|
|
1403
|
+
import { DAYS_AGO, NOW, SECONDS_AGO } from "./data"
|
|
1404
|
+
|
|
1405
|
+
export default function RelativeTimeShape() {
|
|
1406
|
+
return (
|
|
1407
|
+
<MetadataList
|
|
1408
|
+
layout="rows"
|
|
1409
|
+
items={[
|
|
1410
|
+
{ label: "With suffix", value: <RelativeTime value={DAYS_AGO} now={NOW} /> },
|
|
1411
|
+
{ label: "No suffix", value: <RelativeTime value={DAYS_AGO} now={NOW} addSuffix={false} /> },
|
|
1412
|
+
{ label: "With seconds", value: <RelativeTime value={SECONDS_AGO} now={NOW} includeSeconds /> },
|
|
1413
|
+
{ label: "Without seconds", value: <RelativeTime value={SECONDS_AGO} now={NOW} /> },
|
|
1414
|
+
]}
|
|
1415
|
+
/>
|
|
1416
|
+
)
|
|
1417
|
+
}
|
|
1170
1418
|
```
|
|
1171
1419
|
|
|
1172
|
-
###
|
|
1420
|
+
### In another language
|
|
1173
1421
|
|
|
1174
1422
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1423
|
+
import { de } from "date-fns/locale"
|
|
1424
|
+
|
|
1425
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1426
|
+
import { RelativeTime } from "themelia-ui/primitives"
|
|
1427
|
+
import { UIProvider } from "themelia-ui/ui-provider"
|
|
1428
|
+
|
|
1429
|
+
import { DAYS_AGO, NOW } from "./data"
|
|
1430
|
+
|
|
1431
|
+
export default function RelativeTimeLocale() {
|
|
1432
|
+
return (
|
|
1433
|
+
<MetadataList
|
|
1434
|
+
layout="rows"
|
|
1435
|
+
items={[
|
|
1436
|
+
{ label: "Default", value: <RelativeTime value={DAYS_AGO} now={NOW} /> },
|
|
1437
|
+
{
|
|
1438
|
+
label: "German wording",
|
|
1439
|
+
value: (
|
|
1440
|
+
<UIProvider config={{ dates: { locale: de } }}>
|
|
1441
|
+
<RelativeTime value={DAYS_AGO} now={NOW} />
|
|
1442
|
+
</UIProvider>
|
|
1443
|
+
),
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
label: "Custom wording",
|
|
1447
|
+
value: (
|
|
1448
|
+
<UIProvider
|
|
1449
|
+
config={{
|
|
1450
|
+
dates: {
|
|
1451
|
+
formatRelativeTime: (date, now) =>
|
|
1452
|
+
`${Math.round((now.getTime() - date.getTime()) / 86_400_000)}d`,
|
|
1453
|
+
},
|
|
1454
|
+
}}
|
|
1455
|
+
>
|
|
1456
|
+
<RelativeTime value={DAYS_AGO} now={NOW} />
|
|
1457
|
+
</UIProvider>
|
|
1458
|
+
),
|
|
1459
|
+
},
|
|
1460
|
+
]}
|
|
1461
|
+
/>
|
|
1462
|
+
)
|
|
1463
|
+
}
|
|
1464
|
+
```
|
|
1465
|
+
|
|
1466
|
+
### Duration
|
|
1467
|
+
|
|
1468
|
+
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1469
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1470
|
+
import { Duration } from "themelia-ui/primitives"
|
|
1471
|
+
|
|
1472
|
+
export default function DurationExample() {
|
|
1473
|
+
return (
|
|
1474
|
+
<MetadataList
|
|
1475
|
+
layout="rows"
|
|
1476
|
+
items={[
|
|
1477
|
+
{ label: "Seconds", value: <Duration value={45} /> },
|
|
1478
|
+
{ label: "Hours, minutes, seconds", value: <Duration value={4520} /> },
|
|
1479
|
+
{ label: "Given in minutes", value: <Duration value={90} from="minutes" /> },
|
|
1480
|
+
{ label: "Largest unit only", value: <Duration value={4520} maxParts={1} /> },
|
|
1481
|
+
{ label: "Short units", value: <Duration value={4520} unitDisplay="short" /> },
|
|
1482
|
+
{ label: "No duration", value: <Duration value={null} /> },
|
|
1483
|
+
]}
|
|
1484
|
+
/>
|
|
1485
|
+
)
|
|
1486
|
+
}
|
|
1181
1487
|
```
|
|
1182
1488
|
|
|
1183
1489
|
### Money
|
|
1184
1490
|
|
|
1185
1491
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1492
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1493
|
+
import { Money } from "themelia-ui/primitives"
|
|
1494
|
+
|
|
1495
|
+
export default function MoneyExample() {
|
|
1496
|
+
return (
|
|
1497
|
+
<MetadataList
|
|
1498
|
+
layout="rows"
|
|
1499
|
+
items={[
|
|
1500
|
+
{ label: "Euros", value: <Money amount={1299.5} currency="EUR" /> },
|
|
1501
|
+
{ label: "US dollars", value: <Money amount={1299.5} currency="USD" /> },
|
|
1502
|
+
{ label: "Negative pounds", value: <Money amount={-42} currency="GBP" /> },
|
|
1503
|
+
{ label: "Yen, no decimals", value: <Money amount={0} currency="JPY" /> },
|
|
1504
|
+
{ label: "No amount", value: <Money amount={null} currency="EUR" /> },
|
|
1505
|
+
]}
|
|
1506
|
+
/>
|
|
1507
|
+
)
|
|
1508
|
+
}
|
|
1191
1509
|
```
|
|
1192
1510
|
|
|
1193
1511
|
### Minor units
|
|
1194
1512
|
|
|
1195
1513
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1514
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1515
|
+
import { Money } from "themelia-ui/primitives"
|
|
1516
|
+
|
|
1517
|
+
export default function MoneyUnitExample() {
|
|
1518
|
+
return (
|
|
1519
|
+
<MetadataList
|
|
1520
|
+
layout="rows"
|
|
1521
|
+
items={[
|
|
1522
|
+
{ label: "Euros from cents", value: <Money amount={129950} currency="EUR" unit="minor" /> },
|
|
1523
|
+
{ label: "Yen, no minor unit", value: <Money amount={1299} currency="JPY" unit="minor" minorUnitScale={1} /> },
|
|
1524
|
+
{ label: "Dinars from fils", value: <Money amount={129950} currency="KWD" unit="minor" minorUnitScale={1000} /> },
|
|
1525
|
+
]}
|
|
1526
|
+
/>
|
|
1527
|
+
)
|
|
1528
|
+
}
|
|
1199
1529
|
```
|
|
1200
1530
|
|
|
1201
1531
|
### How the amount is written
|
|
1202
1532
|
|
|
1203
1533
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1534
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1535
|
+
import { Money } from "themelia-ui/primitives"
|
|
1536
|
+
|
|
1537
|
+
export default function MoneyFormat() {
|
|
1538
|
+
return (
|
|
1539
|
+
<MetadataList
|
|
1540
|
+
layout="rows"
|
|
1541
|
+
items={[
|
|
1542
|
+
{ label: "With symbol", value: <Money amount={1299.5} currency="EUR" formatMode="with-symbol" /> },
|
|
1543
|
+
{ label: "With code", value: <Money amount={1299.5} currency="EUR" formatMode="with-code" /> },
|
|
1544
|
+
{ label: "Number only", value: <Money amount={1299.5} currency="EUR" formatMode="decimal" /> },
|
|
1545
|
+
]}
|
|
1546
|
+
/>
|
|
1547
|
+
)
|
|
1548
|
+
}
|
|
1207
1549
|
```
|
|
1208
1550
|
|
|
1209
1551
|
### Two currencies
|
|
1210
1552
|
|
|
1211
1553
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1554
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1555
|
+
import { Money } from "themelia-ui/primitives"
|
|
1556
|
+
|
|
1557
|
+
export default function MoneyDual() {
|
|
1558
|
+
return (
|
|
1559
|
+
<MetadataList
|
|
1560
|
+
layout="rows"
|
|
1561
|
+
items={[
|
|
1562
|
+
{
|
|
1563
|
+
label: "Discrete",
|
|
1564
|
+
value: <Money amount={1299.5} currency="EUR" secondary={{ amount: 1416.2, currency: "USD" }} />,
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
label: "Muted",
|
|
1568
|
+
value: <Money amount={1299.5} currency="EUR" secondary={{ amount: 1416.2, currency: "USD" }} secondaryEmphasis="muted" />,
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
label: "Matching",
|
|
1572
|
+
value: <Money amount={1299.5} currency="EUR" secondary={{ amount: 1416.2, currency: "USD" }} secondaryEmphasis="match" />,
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
label: "Arrow separator",
|
|
1576
|
+
value: <Money amount={1299.5} currency="EUR" secondary={{ amount: 1416.2, currency: "USD" }} separator="→" />,
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
label: "Stacked",
|
|
1580
|
+
value: <Money amount={1299.5} currency="EUR" secondary={{ amount: 1416.2, currency: "USD" }} layout="stacked" />,
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
label: "Hidden",
|
|
1584
|
+
value: <Money amount={1299.5} currency="EUR" secondary={{ amount: 1416.2, currency: "USD" }} secondaryEmphasis="hidden" />,
|
|
1585
|
+
},
|
|
1586
|
+
]}
|
|
1587
|
+
/>
|
|
1588
|
+
)
|
|
1589
|
+
}
|
|
1217
1590
|
```
|
|
1218
1591
|
|
|
1219
1592
|
### Decided once, not per amount
|
|
1220
1593
|
|
|
1221
1594
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1595
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1596
|
+
import { Stack } from "themelia-ui/base/structure"
|
|
1597
|
+
import { Text } from "themelia-ui/base/typography"
|
|
1598
|
+
import { Money } from "themelia-ui/primitives"
|
|
1599
|
+
import { UIProvider } from "themelia-ui/ui-provider"
|
|
1600
|
+
|
|
1601
|
+
export default function MoneyProviderExample() {
|
|
1602
|
+
return (
|
|
1603
|
+
<Stack gap="lg">
|
|
1604
|
+
<UIProvider
|
|
1605
|
+
config={{
|
|
1606
|
+
formatting: { locale: "de-DE" },
|
|
1607
|
+
money: {
|
|
1608
|
+
defaultCurrency: "EUR",
|
|
1609
|
+
displayCurrency: "USD",
|
|
1610
|
+
dualPricingEnabled: true,
|
|
1611
|
+
displayMode: "dynamic",
|
|
1612
|
+
layout: "stacked",
|
|
1613
|
+
},
|
|
1614
|
+
}}
|
|
1615
|
+
>
|
|
1616
|
+
<MetadataList
|
|
1617
|
+
layout="rows"
|
|
1618
|
+
items={[
|
|
1619
|
+
{ label: "With a conversion", value: <Money amount={1299.5} secondary={{ amount: 1416.2 }} /> },
|
|
1620
|
+
{ label: "No conversion", value: <Money amount={1299.5} /> },
|
|
1621
|
+
{ label: "Same currency", value: <Money amount={1299.5} secondary={{ amount: 1299.5, currency: "EUR" }} /> },
|
|
1622
|
+
]}
|
|
1623
|
+
/>
|
|
1624
|
+
</UIProvider>
|
|
1625
|
+
<Text size="xs" type="secondary">
|
|
1626
|
+
German locale, so the group separator is a dot and the symbol trails the number.
|
|
1627
|
+
The third row is <code>dynamic</code> at work: both codes are EUR, so the pair
|
|
1628
|
+
would say the same thing twice and only one value renders.
|
|
1629
|
+
</Text>
|
|
1630
|
+
</Stack>
|
|
1631
|
+
)
|
|
1632
|
+
}
|
|
1236
1633
|
```
|
|
1237
1634
|
|
|
1238
1635
|
### Name
|
|
1239
1636
|
|
|
1240
1637
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1638
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1639
|
+
import { Name } from "themelia-ui/primitives"
|
|
1640
|
+
|
|
1641
|
+
export default function NameExample() {
|
|
1642
|
+
return (
|
|
1643
|
+
<MetadataList
|
|
1644
|
+
layout="rows"
|
|
1645
|
+
items={[
|
|
1646
|
+
{ label: "Deliberate casing", value: <Name value="Jane McDonald" /> },
|
|
1647
|
+
{ label: "Lower case, extra spaces", value: <Name value=" jane mcdonald " /> },
|
|
1648
|
+
{ label: "All capitals, forced", value: <Name value="JANE MCDONALD" force /> },
|
|
1649
|
+
{ label: "No name", value: <Name value={null} /> },
|
|
1650
|
+
]}
|
|
1651
|
+
/>
|
|
1652
|
+
)
|
|
1653
|
+
}
|
|
1245
1654
|
```
|
|
1246
1655
|
|
|
1247
1656
|
### Initials
|
|
1248
1657
|
|
|
1249
1658
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
<
|
|
1256
|
-
|
|
1659
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1660
|
+
import { Initials } from "themelia-ui/primitives"
|
|
1661
|
+
|
|
1662
|
+
export default function InitialsExample() {
|
|
1663
|
+
return (
|
|
1664
|
+
<MetadataList
|
|
1665
|
+
layout="rows"
|
|
1666
|
+
items={[
|
|
1667
|
+
{ label: "First and last", value: <Initials value="Jane McDonald" /> },
|
|
1668
|
+
{ label: "Short name", value: <Initials value="Mei Chen" /> },
|
|
1669
|
+
{ label: "One character", value: <Initials value="Jane McDonald" maxCharacters={1} /> },
|
|
1670
|
+
{ label: "First two words", value: <Initials value="Ana Sofia Reyes" strategy="first-words" /> },
|
|
1671
|
+
{ label: "Three characters", value: <Initials value="Ana Sofia Reyes" maxCharacters={3} /> },
|
|
1672
|
+
{ label: "No letters, with fallback", value: <Initials value="—" fallback="?" /> },
|
|
1673
|
+
{ label: "No name", value: <Initials value={null} /> },
|
|
1674
|
+
]}
|
|
1675
|
+
/>
|
|
1676
|
+
)
|
|
1677
|
+
}
|
|
1257
1678
|
```
|
|
1258
1679
|
|
|
1259
1680
|
### Number and percent
|
|
1260
1681
|
|
|
1261
1682
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
<
|
|
1683
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1684
|
+
import { Number, Percent } from "themelia-ui/primitives"
|
|
1685
|
+
|
|
1686
|
+
export default function NumberExample() {
|
|
1687
|
+
return (
|
|
1688
|
+
<MetadataList
|
|
1689
|
+
layout="rows"
|
|
1690
|
+
items={[
|
|
1691
|
+
{ label: "Grouped digits", value: <Number value={1234567.891} /> },
|
|
1692
|
+
{ label: "Negative", value: <Number value={-42} /> },
|
|
1693
|
+
{ label: "Fraction as percent", value: <Percent value={0.214} /> },
|
|
1694
|
+
{ label: "One as percent", value: <Percent value={1} /> },
|
|
1695
|
+
{ label: "Already scaled", value: <Percent value={21.4} scaled /> },
|
|
1696
|
+
{ label: "No number", value: <Number value={null} /> },
|
|
1697
|
+
]}
|
|
1698
|
+
/>
|
|
1699
|
+
)
|
|
1700
|
+
}
|
|
1268
1701
|
```
|
|
1269
1702
|
|
|
1270
1703
|
### Range
|
|
1271
1704
|
|
|
1272
1705
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1706
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1707
|
+
import { Range } from "themelia-ui/primitives"
|
|
1708
|
+
|
|
1709
|
+
export default function RangeExample() {
|
|
1710
|
+
return (
|
|
1711
|
+
<MetadataList
|
|
1712
|
+
layout="rows"
|
|
1713
|
+
items={[
|
|
1714
|
+
{ label: "Plain numbers", value: <Range from={10} to={50} /> },
|
|
1715
|
+
{ label: "Pounds", value: <Range from={10} to={50} currency="GBP" /> },
|
|
1716
|
+
{ label: "Euros", value: <Range from={10} to={50} currency="EUR" /> },
|
|
1717
|
+
{ label: "Days", value: <Range from={2} to={5} unit="day" /> },
|
|
1718
|
+
{ label: "Equal ends", value: <Range from={10} to={10} currency="GBP" /> },
|
|
1719
|
+
{ label: "One end only", value: <Range from={10} currency="GBP" /> },
|
|
1720
|
+
{ label: "Neither end", value: <Range from={null} to={null} /> },
|
|
1721
|
+
]}
|
|
1722
|
+
/>
|
|
1723
|
+
)
|
|
1724
|
+
}
|
|
1276
1725
|
```
|
|
1277
1726
|
|
|
1278
1727
|
### Ratio
|
|
1279
1728
|
|
|
1280
1729
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1730
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1731
|
+
import { Ratio } from "themelia-ui/primitives"
|
|
1732
|
+
|
|
1733
|
+
export default function RatioExample() {
|
|
1734
|
+
return (
|
|
1735
|
+
<MetadataList
|
|
1736
|
+
layout="rows"
|
|
1737
|
+
items={[
|
|
1738
|
+
{ label: "In words", value: <Ratio value={3} total={10} /> },
|
|
1739
|
+
{ label: "Complete", value: <Ratio value={7} total={7} /> },
|
|
1740
|
+
{ label: "Fraction", value: <Ratio value={3} total={10} format="fraction" /> },
|
|
1741
|
+
{ label: "Large numbers", value: <Ratio value={1240} total={10000} /> },
|
|
1742
|
+
{ label: "No total", value: <Ratio value={3} /> },
|
|
1743
|
+
{ label: "No count", value: <Ratio value={null} /> },
|
|
1744
|
+
]}
|
|
1745
|
+
/>
|
|
1746
|
+
)
|
|
1747
|
+
}
|
|
1284
1748
|
```
|
|
1285
1749
|
|
|
1286
1750
|
### Rating
|
|
1287
1751
|
|
|
1288
1752
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1289
|
-
|
|
1290
|
-
|
|
1753
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1754
|
+
import { Rating } from "themelia-ui/primitives"
|
|
1755
|
+
|
|
1756
|
+
export default function RatingExample() {
|
|
1757
|
+
return (
|
|
1758
|
+
<MetadataList
|
|
1759
|
+
layout="rows"
|
|
1760
|
+
items={[
|
|
1761
|
+
{ label: "Decimal score", value: <Rating value={4.5} /> },
|
|
1762
|
+
{ label: "Whole score", value: <Rating value={4} /> },
|
|
1763
|
+
{ label: "Out of ten", value: <Rating value={8.5} max={10} /> },
|
|
1764
|
+
{ label: "Scale hidden", value: <Rating value={4.5} hideMax /> },
|
|
1765
|
+
{ label: "No rating", value: <Rating value={null} /> },
|
|
1766
|
+
]}
|
|
1767
|
+
/>
|
|
1768
|
+
)
|
|
1769
|
+
}
|
|
1291
1770
|
```
|
|
1292
1771
|
|
|
1293
1772
|
### Quantity
|
|
1294
1773
|
|
|
1295
1774
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1296
|
-
|
|
1297
|
-
|
|
1775
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1776
|
+
import { Quantity } from "themelia-ui/primitives"
|
|
1777
|
+
|
|
1778
|
+
import { ITEM, PERSON } from "./data"
|
|
1779
|
+
|
|
1780
|
+
export default function QuantityExample() {
|
|
1781
|
+
return (
|
|
1782
|
+
<MetadataList
|
|
1783
|
+
layout="rows"
|
|
1784
|
+
items={[
|
|
1785
|
+
{ label: "One", value: <Quantity value={1} unit={ITEM} /> },
|
|
1786
|
+
{ label: "Several", value: <Quantity value={3} unit={ITEM} /> },
|
|
1787
|
+
{ label: "Fraction", value: <Quantity value={1.5} unit={ITEM} /> },
|
|
1788
|
+
{ label: "One person", value: <Quantity value={1} unit={PERSON} /> },
|
|
1789
|
+
{ label: "Several people", value: <Quantity value={4} unit={PERSON} /> },
|
|
1790
|
+
{ label: "Zero in words", value: <Quantity value={0} unit={ITEM} zeroLabel="no items" /> },
|
|
1791
|
+
{ label: "No count", value: <Quantity value={null} unit={ITEM} /> },
|
|
1792
|
+
]}
|
|
1793
|
+
/>
|
|
1794
|
+
)
|
|
1795
|
+
}
|
|
1298
1796
|
```
|
|
1299
1797
|
|
|
1300
1798
|
### Measure
|
|
1301
1799
|
|
|
1302
1800
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1303
|
-
|
|
1304
|
-
|
|
1801
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1802
|
+
import { Measure } from "themelia-ui/primitives"
|
|
1803
|
+
|
|
1804
|
+
export default function MeasureExample() {
|
|
1805
|
+
return (
|
|
1806
|
+
<MetadataList
|
|
1807
|
+
layout="rows"
|
|
1808
|
+
items={[
|
|
1809
|
+
{ label: "Kilograms", value: <Measure value={2.5} unit="kilogram" /> },
|
|
1810
|
+
{ label: "Narrow", value: <Measure value={2.5} unit="kilogram" unitDisplay="narrow" /> },
|
|
1811
|
+
{ label: "Long", value: <Measure value={2.5} unit="kilogram" unitDisplay="long" /> },
|
|
1812
|
+
{ label: "Metres", value: <Measure value={180} unit="meter" /> },
|
|
1813
|
+
{ label: "Celsius", value: <Measure value={21.5} unit="celsius" /> },
|
|
1814
|
+
{ label: "Days", value: <Measure value={14} unit="day" /> },
|
|
1815
|
+
{ label: "Unknown unit", value: <Measure value={2.5} unit="bananas" /> },
|
|
1816
|
+
]}
|
|
1817
|
+
/>
|
|
1818
|
+
)
|
|
1819
|
+
}
|
|
1305
1820
|
```
|
|
1306
1821
|
|
|
1307
1822
|
### Dimensions
|
|
1308
1823
|
|
|
1309
1824
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1825
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1826
|
+
import { Dimensions } from "themelia-ui/primitives"
|
|
1827
|
+
|
|
1828
|
+
export default function DimensionsExample() {
|
|
1829
|
+
return (
|
|
1830
|
+
<MetadataList
|
|
1831
|
+
layout="rows"
|
|
1832
|
+
items={[
|
|
1833
|
+
{ label: "Width and height", value: <Dimensions width={30} height={20} unit="cm" /> },
|
|
1834
|
+
{ label: "With depth", value: <Dimensions width={30} height={20} depth={12} unit="cm" /> },
|
|
1835
|
+
{ label: "Pixels", value: <Dimensions width={1920} height={1080} unit="px" /> },
|
|
1836
|
+
{ label: "No dimensions", value: <Dimensions width={null} height={null} /> },
|
|
1837
|
+
]}
|
|
1838
|
+
/>
|
|
1839
|
+
)
|
|
1840
|
+
}
|
|
1314
1841
|
```
|
|
1315
1842
|
|
|
1316
1843
|
### File size
|
|
1317
1844
|
|
|
1318
1845
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1846
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1847
|
+
import { FileSize } from "themelia-ui/primitives"
|
|
1848
|
+
|
|
1849
|
+
export default function FileSizeExample() {
|
|
1850
|
+
return (
|
|
1851
|
+
<MetadataList
|
|
1852
|
+
layout="rows"
|
|
1853
|
+
items={[
|
|
1854
|
+
{ label: "Bytes", value: <FileSize value={512} /> },
|
|
1855
|
+
{ label: "About a megabyte", value: <FileSize value={1_100_000} /> },
|
|
1856
|
+
{ label: "Tens of megabytes", value: <FileSize value={85_800_000} /> },
|
|
1857
|
+
{ label: "Gigabytes", value: <FileSize value={4_100_000_000} /> },
|
|
1858
|
+
{ label: "No size", value: <FileSize value={null} /> },
|
|
1859
|
+
]}
|
|
1860
|
+
/>
|
|
1861
|
+
)
|
|
1862
|
+
}
|
|
1324
1863
|
```
|
|
1325
1864
|
|
|
1326
1865
|
### Which megabyte
|
|
1327
1866
|
|
|
1328
1867
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1868
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1869
|
+
import { FileSize } from "themelia-ui/primitives"
|
|
1870
|
+
|
|
1871
|
+
export default function FileSizeBaseExample() {
|
|
1872
|
+
return (
|
|
1873
|
+
<MetadataList
|
|
1874
|
+
layout="rows"
|
|
1875
|
+
items={[
|
|
1876
|
+
{ label: "Binary", value: <FileSize value={85_800_000} /> },
|
|
1877
|
+
{ label: "Decimal", value: <FileSize value={85_800_000} base="decimal" /> },
|
|
1878
|
+
{ label: "IEC", value: <FileSize value={85_800_000} base="iec" /> },
|
|
1879
|
+
]}
|
|
1880
|
+
/>
|
|
1881
|
+
)
|
|
1882
|
+
}
|
|
1332
1883
|
```
|
|
1333
1884
|
|
|
1334
1885
|
### Value
|
|
1335
1886
|
|
|
1336
1887
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1888
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1889
|
+
import { EmptyValue, MonoValue, MutedValue, SecondaryValue, Value } from "themelia-ui/primitives"
|
|
1890
|
+
|
|
1891
|
+
export default function ValueExample() {
|
|
1892
|
+
return (
|
|
1893
|
+
<MetadataList
|
|
1894
|
+
layout="rows"
|
|
1895
|
+
items={[
|
|
1896
|
+
{ label: "Default", value: <Value>Northwind Traders</Value> },
|
|
1897
|
+
{ label: "Secondary", value: <SecondaryValue>Supporting detail</SecondaryValue> },
|
|
1898
|
+
{ label: "Muted", value: <MutedValue>Quieter still</MutedValue> },
|
|
1899
|
+
{ label: "Monospaced", value: <MonoValue>req_8f21c440</MonoValue> },
|
|
1900
|
+
{ label: "Empty", value: <EmptyValue /> },
|
|
1901
|
+
]}
|
|
1902
|
+
/>
|
|
1903
|
+
)
|
|
1904
|
+
}
|
|
1905
|
+
```
|
|
1906
|
+
|
|
1907
|
+
### Inline list
|
|
1345
1908
|
|
|
1346
1909
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1910
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1911
|
+
import { InlineList } from "themelia-ui/primitives"
|
|
1912
|
+
|
|
1913
|
+
import { THREE } from "./data"
|
|
1914
|
+
|
|
1915
|
+
export default function InlineListExample() {
|
|
1916
|
+
return (
|
|
1917
|
+
<MetadataList
|
|
1918
|
+
layout="rows"
|
|
1919
|
+
items={[
|
|
1920
|
+
{ label: "Default", value: <InlineList items={THREE} /> },
|
|
1921
|
+
{ label: "Alternatives", value: <InlineList items={["red", "green", "blue"]} join="or" /> },
|
|
1922
|
+
{ label: "No conjunction", value: <InlineList items={THREE} join="none" /> },
|
|
1923
|
+
{ label: "At most two", value: <InlineList items={["a", "b", "c", "d"]} max={2} /> },
|
|
1924
|
+
{ label: "Two items", value: <InlineList items={["Alice", "Bob"]} /> },
|
|
1925
|
+
{ label: "One item", value: <InlineList items={["Alice"]} /> },
|
|
1926
|
+
{ label: "No items", value: <InlineList items={[]} /> },
|
|
1927
|
+
]}
|
|
1928
|
+
/>
|
|
1929
|
+
)
|
|
1930
|
+
}
|
|
1350
1931
|
```
|
|
1351
1932
|
|
|
1352
1933
|
### The same list, three locales
|
|
1353
1934
|
|
|
1354
1935
|
```tsx fragment — excerpt from the live preview; surrounding values are supplied by the application
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1936
|
+
import { MetadataList } from "themelia-ui/base/display"
|
|
1937
|
+
import { InlineList } from "themelia-ui/primitives"
|
|
1938
|
+
|
|
1939
|
+
import { THREE } from "./data"
|
|
1940
|
+
|
|
1941
|
+
export default function InlineListLocale() {
|
|
1942
|
+
return (
|
|
1943
|
+
<MetadataList
|
|
1944
|
+
layout="rows"
|
|
1945
|
+
items={[
|
|
1946
|
+
{ label: "British English", value: <InlineList items={THREE} locale="en-GB" /> },
|
|
1947
|
+
{ label: "American English", value: <InlineList items={THREE} locale="en-US" /> },
|
|
1948
|
+
{ label: "Spanish", value: <InlineList items={THREE} locale="es-ES" /> },
|
|
1949
|
+
{ label: "German", value: <InlineList items={THREE} locale="de-DE" /> },
|
|
1950
|
+
{ label: "Japanese", value: <InlineList items={THREE} locale="ja-JP" /> },
|
|
1951
|
+
]}
|
|
1952
|
+
/>
|
|
1953
|
+
)
|
|
1954
|
+
}
|
|
1358
1955
|
```
|