themelia-react-ui 1.0.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +632 -1
- package/README.md +31 -13
- package/dist/accordion-B6a3vVgA.js +207 -0
- package/dist/accordion-B6a3vVgA.js.map +1 -0
- package/dist/action-menu-TzCoSlwL.js +280 -0
- package/dist/action-menu-TzCoSlwL.js.map +1 -0
- package/dist/{affordance-geometry.generated-CL84ZN9A.js → affordance-geometry.generated-B5iu-Mkr.js} +9 -3
- package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +1 -0
- package/dist/{ai-artifact-DLVdK0Py.js → ai-artifact-BMJdv-6q.js} +389 -391
- package/dist/ai-artifact-BMJdv-6q.js.map +1 -0
- package/dist/{app-shell-C_fKpljx.js → app-shell-ZK5RWdo6.js} +4 -4
- package/dist/{app-shell-C_fKpljx.js.map → app-shell-ZK5RWdo6.js.map} +1 -1
- package/dist/attachment-BtfhGm8i.js +245 -0
- package/dist/attachment-BtfhGm8i.js.map +1 -0
- package/dist/{auth-CAQcasMV.js → auth-CYxKfo69.js} +239 -237
- package/dist/auth-CYxKfo69.js.map +1 -0
- package/dist/{avatar-Bu2HhitA.js → avatar-BBnEJIx8.js} +71 -68
- package/dist/avatar-BBnEJIx8.js.map +1 -0
- package/dist/badge-MrKVNzW9.js +93 -0
- package/dist/badge-MrKVNzW9.js.map +1 -0
- package/dist/base/accordion.js +1 -1
- package/dist/base/action-menu.js +1 -1
- package/dist/base/attachment.js +1 -1
- package/dist/base/avatar.js +1 -1
- package/dist/base/badge.js +1 -1
- package/dist/base/batch-action-bar.js +3 -0
- package/dist/base/buttons.js +2 -3
- package/dist/base/cards.js +2 -2
- package/dist/base/carousel.js +19 -19
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +234 -224
- package/dist/base/cascader.js.map +1 -1
- package/dist/base/chart.js +1 -1
- package/dist/base/choice-inputs.js +3 -3
- package/dist/base/code-block.js +1 -1
- package/dist/base/combobox.js +1 -1
- package/dist/base/command.js +1 -1
- package/dist/base/copyable.js +1 -1
- package/dist/base/date-pickers.js +2 -2
- package/dist/base/display.js +7 -7
- package/dist/base/feedback.js +3 -3
- package/dist/base/forms-numeric.js +1 -1
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +81 -76
- package/dist/base/inline-edit.js.map +1 -1
- package/dist/base/item.js +1 -1
- package/dist/base/media-gallery.js +1 -1
- package/dist/base/metadata-list.js +3 -0
- package/dist/base/navigation.js +7 -7
- package/dist/base/popover-menu.js +1 -1
- package/dist/base/popover.js +1 -1
- package/dist/base/qr-code.js +7 -4
- package/dist/base/qr-code.js.map +1 -1
- package/dist/base/repeaters.js +175 -174
- package/dist/base/repeaters.js.map +1 -1
- package/dist/base/sheet.js +1 -1
- package/dist/base/sidebar.js +1 -1
- package/dist/base/signature-pad.js +148 -138
- package/dist/base/signature-pad.js.map +1 -1
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +1 -1
- package/dist/base/structure.js +1 -1
- package/dist/base/table.js +1 -1
- package/dist/base/text-inputs.js +2 -2
- package/dist/base/toaster.js +4 -4
- package/dist/base/toaster.js.map +1 -1
- package/dist/base/tree.js +1 -1
- package/dist/base/upload-queue.js +1 -1
- package/dist/base/upload.js +3 -3
- package/dist/base/value-inputs.js +2 -2
- package/dist/batch-action-bar-BZGDG-Si.js +104 -0
- package/dist/batch-action-bar-BZGDG-Si.js.map +1 -0
- package/dist/blocks/admin.js +264 -253
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +293 -323
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +596 -587
- package/dist/blocks/analytics.js.map +1 -1
- package/dist/blocks/collaboration.js +1 -1
- package/dist/blocks/commerce/receipt.js +1 -1
- package/dist/blocks/commerce.js +2246 -1693
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +3 -2
- package/dist/blocks/onboarding.js +50 -49
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +82 -91
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +1 -1
- package/dist/breadcrumbs-D5t7I023.js +129 -0
- package/dist/breadcrumbs-D5t7I023.js.map +1 -0
- package/dist/{button-BZyfTvwm.js → button-QYwiyhD2.js} +15 -14
- package/dist/button-QYwiyhD2.js.map +1 -0
- package/dist/buttons-SbIcm1HJ.js +661 -0
- package/dist/buttons-SbIcm1HJ.js.map +1 -0
- package/dist/{cards-qGSErLw_.js → cards-CiiHpKYd.js} +8 -8
- package/dist/cards-CiiHpKYd.js.map +1 -0
- package/dist/{chart-Bsc5BICK.js → chart-QfrARkXl.js} +17 -15
- package/dist/chart-QfrARkXl.js.map +1 -0
- package/dist/checkbox-DhB6K0bK.js +36 -0
- package/dist/checkbox-DhB6K0bK.js.map +1 -0
- package/dist/choice-inputs-t6w3ATNz.js +766 -0
- package/dist/choice-inputs-t6w3ATNz.js.map +1 -0
- package/dist/code-block-Dgbu-CU3.js +185 -0
- package/dist/code-block-Dgbu-CU3.js.map +1 -0
- package/dist/{collapsible-ClvC7Bj3.js → collapsible-D8AEGU1-.js} +4 -4
- package/dist/{collapsible-ClvC7Bj3.js.map → collapsible-D8AEGU1-.js.map} +1 -1
- package/dist/{collection-content-D6S8cv_n.js → collection-content-uK16Grv0.js} +3 -3
- package/dist/{collection-content-D6S8cv_n.js.map → collection-content-uK16Grv0.js.map} +1 -1
- package/dist/{combobox-BFnbJJp3.js → combobox-2Ic8N9bL.js} +103 -98
- package/dist/combobox-2Ic8N9bL.js.map +1 -0
- package/dist/combobox-DLl0bfiq.js +867 -0
- package/dist/combobox-DLl0bfiq.js.map +1 -0
- package/dist/{command-BnmSchli.js → command-kNR20o7x.js} +34 -30
- package/dist/command-kNR20o7x.js.map +1 -0
- package/dist/{comments-u5L0OGip.js → comments-BpDuCUUu.js} +304 -301
- package/dist/comments-BpDuCUUu.js.map +1 -0
- package/dist/components/base/accordion/accordion-variants.d.ts +3 -3
- package/dist/components/base/action-menu/action-menu.d.ts +27 -5
- package/dist/components/base/action-menu/action-menu.recipes.d.ts +21 -0
- package/dist/components/base/action-menu/index.d.ts +1 -0
- package/dist/components/base/avatar/stacked-avatars.d.ts +5 -4
- package/dist/components/base/badge/badge.d.ts +1 -1
- package/dist/components/base/badge/badge.recipes.d.ts +6 -6
- package/dist/components/base/batch-action-bar/batch-action-bar.d.ts +50 -0
- package/dist/components/base/batch-action-bar/batch-action-bar.strings.d.ts +20 -0
- package/dist/components/base/batch-action-bar/index.d.ts +8 -0
- package/dist/components/base/buttons/base-button.d.ts +7 -0
- package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
- package/dist/components/base/buttons/button.recipes.d.ts +2 -2
- package/dist/components/base/buttons/button.variants.d.ts +1 -0
- package/dist/components/base/buttons/loader-button.d.ts +3 -1
- package/dist/components/base/buttons/text-button.d.ts +2 -2
- package/dist/components/base/carousel/carousel.d.ts +3 -1
- package/dist/components/base/chart/chart.d.ts +7 -7
- package/dist/components/base/choice-inputs/checkbox.d.ts +6 -7
- package/dist/components/base/choice-inputs/choice-types.d.ts +24 -3
- package/dist/components/base/choice-inputs/pill-radio-group.d.ts +9 -0
- package/dist/components/base/choice-inputs/select-popup.d.ts +9 -1
- package/dist/components/base/choice-inputs/switch-card.d.ts +1 -1
- package/dist/components/base/date-pickers/date-picker-field.d.ts +23 -0
- package/dist/components/base/date-pickers/datepicker.types.d.ts +13 -3
- package/dist/components/base/display/alert-dialog.d.ts +10 -3
- package/dist/components/base/display/content-block.d.ts +4 -2
- package/dist/components/base/display/date-block.d.ts +1 -1
- package/dist/components/base/display/dialog.d.ts +8 -5
- package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
- package/dist/components/base/display/surface-title.d.ts +6 -1
- package/dist/components/base/feedback/alert.d.ts +1 -1
- package/dist/components/base/feedback/state-display.d.ts +5 -4
- package/dist/components/base/forms/form-sizing.d.ts +43 -8
- package/dist/components/base/forms/workflow.d.ts +2 -0
- package/dist/components/base/forms-numeric/coordinates-input.d.ts +3 -0
- package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +4 -1
- package/dist/components/base/metadata-list/index.d.ts +12 -0
- package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.d.ts +28 -25
- package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-value.d.ts +2 -2
- package/dist/components/base/navigation/dropdown-menu.d.ts +2 -2
- package/dist/components/base/navigation/index.d.ts +1 -1
- package/dist/components/base/navigation/language-switcher.d.ts +4 -1
- package/dist/components/base/navigation/overflow-tab-bar.d.ts +7 -0
- package/dist/components/base/navigation/page-header/index.d.ts +1 -0
- package/dist/components/base/navigation/page-header/page-header-commands.d.ts +73 -0
- package/dist/components/base/navigation/page-header/page-header.d.ts +30 -4
- package/dist/components/base/qr-code/qr-code.d.ts +2 -0
- package/dist/components/base/sheet/index.d.ts +29 -1
- package/dist/components/base/sheet/sheet.d.ts +10 -5
- package/dist/components/base/signature-pad/signature-pad.types.d.ts +5 -1
- package/dist/components/base/signature-pad/signature-pad.utils.d.ts +11 -3
- package/dist/components/base/spinner/spinner.d.ts +3 -2
- package/dist/components/base/structure/structure.types.d.ts +1 -1
- package/dist/components/base/text-inputs/field-clear-button.d.ts +6 -0
- package/dist/components/base/text-inputs/input-group.d.ts +2 -2
- package/dist/components/base/upload/upload.recipes.d.ts +33 -0
- package/dist/components/base/value-inputs/date-time-input.d.ts +4 -2
- package/dist/components/base/value-inputs/index.d.ts +5 -5
- package/dist/components/base/value-inputs/tags-input.d.ts +38 -12
- package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +1 -1
- package/dist/components/blocks/analytics/format-metric-value.d.ts +11 -1
- package/dist/components/blocks/analytics/index.d.ts +1 -1
- package/dist/components/blocks/analytics/use-metric-format-options.d.ts +3 -0
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
- package/dist/components/blocks/commerce/address-card/types.d.ts +4 -1
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +4 -0
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +2 -2
- package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +3 -1
- package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
- package/dist/components/blocks/commerce/cart-summary/types.d.ts +6 -1
- package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +3 -1
- package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
- package/dist/components/blocks/commerce/discount-stack/types.d.ts +16 -4
- package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +5 -0
- package/dist/components/blocks/commerce/fulfillment-group/index.d.ts +2 -0
- package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +43 -0
- package/dist/components/blocks/commerce/index.d.ts +13 -5
- package/dist/components/blocks/commerce/inventory-section/types.d.ts +4 -1
- package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
- package/dist/components/blocks/commerce/invoice-header/types.d.ts +4 -2
- package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +1 -1
- package/dist/components/blocks/commerce/invoice-mini/types.d.ts +2 -1
- package/dist/components/blocks/commerce/loyalty-points/types.d.ts +1 -1
- package/dist/components/blocks/commerce/order-customer/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +5 -0
- package/dist/components/blocks/commerce/order-customer/types.d.ts +48 -0
- package/dist/components/blocks/commerce/order-header/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-header/order-header.d.ts +5 -0
- package/dist/components/blocks/commerce/order-header/types.d.ts +37 -0
- package/dist/components/blocks/commerce/order-line-item/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-line-item/order-line-item.d.ts +5 -0
- package/dist/components/blocks/commerce/order-line-item/types.d.ts +46 -0
- package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
- package/dist/components/blocks/commerce/order-summary/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-summary/order-summary.d.ts +5 -0
- package/dist/components/blocks/commerce/order-summary/types.d.ts +42 -0
- package/dist/components/blocks/commerce/order-transactions/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-transactions/order-transactions.d.ts +5 -0
- package/dist/components/blocks/commerce/order-transactions/types.d.ts +46 -0
- package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
- package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +9 -1
- package/dist/components/blocks/commerce/payment-method/types.d.ts +14 -1
- package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
- package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +3 -1
- package/dist/components/blocks/commerce/refund-status/types.d.ts +6 -3
- package/dist/components/blocks/commerce/seo-listing/seo-listing-card.d.ts +1 -1
- package/dist/components/blocks/commerce/seo-listing/types.d.ts +3 -1
- package/dist/components/blocks/commerce/shared/address-lines.d.ts +21 -0
- package/dist/components/blocks/commerce/shared/line-thumbnail.d.ts +9 -0
- package/dist/components/blocks/commerce/shared/order-status.d.ts +51 -0
- package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
- package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +27 -6
- package/dist/components/blocks/commerce/summary-panel/amount-row.d.ts +2 -0
- package/dist/components/blocks/commerce/summary-panel/index.d.ts +3 -0
- package/dist/components/blocks/commerce/summary-panel/summary-panel.d.ts +2 -0
- package/dist/components/blocks/commerce/summary-panel/types.d.ts +26 -0
- package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
- package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +2 -1
- package/dist/components/blocks/commerce/vendor-profile/types.d.ts +4 -1
- package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +4 -1
- package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +4 -1
- package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
- package/dist/components/features/activities/partials/activity-row.d.ts +6 -2
- package/dist/components/features/activities/partials/tone-tokens.d.ts +0 -6
- package/dist/components/features/global-search/partials/global-search-group-heading.d.ts +15 -0
- package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +1 -1
- package/dist/components/features/global-search/partials/tone-palettes.d.ts +0 -5
- package/dist/components/features/kanban/kanban.d.ts +1 -1
- package/dist/components/features/kanban/kanban.strings.d.ts +1 -1
- package/dist/components/features/kanban/kanban.types.d.ts +2 -2
- package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
- package/dist/components/features/media-library/index.d.ts +1 -1
- package/dist/components/features/media-library/media-library.d.ts +1 -1
- package/dist/components/features/media-library/media-library.strings.d.ts +4 -0
- package/dist/components/features/media-library/media-library.types.d.ts +74 -1
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
- package/dist/components/features/mentions/partials/mention-kind-toggles.d.ts +16 -0
- package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
- package/dist/components/features/overlays/dialog.d.ts +1 -1
- package/dist/components/features/overlays/drawer.d.ts +1 -1
- package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +2 -2
- package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +11 -4
- package/dist/components/features/overlays/index.d.ts +1 -1
- package/dist/components/features/overlays/overlay-tone-icon.d.ts +37 -0
- package/dist/components/features/overlays/overlays.types.d.ts +62 -19
- package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
- package/dist/components/features/products/components/product-details-card.d.ts +5 -0
- package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
- package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
- package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
- package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
- package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
- package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
- package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
- package/dist/components/features/products/components/product-variant-action-menu.d.ts +23 -1
- package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
- package/dist/components/features/products/partials/index.d.ts +1 -1
- package/dist/components/features/products/partials/product-metric-tile.d.ts +6 -0
- package/dist/components/features/products/partials/product-tone.d.ts +11 -1
- package/dist/components/features/products/products.types.d.ts +11 -3
- package/dist/components/features/resource/index.d.ts +1 -1
- package/dist/components/features/resource/resource.d.ts +1 -1
- package/dist/components/features/resource/resource.types.d.ts +34 -6
- package/dist/components/features/rich-text-editor/index.d.ts +2 -1
- package/dist/components/features/rich-text-editor/partials/image-nodes.d.ts +13 -0
- package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +66 -0
- package/dist/components/features/rich-text-editor/partials/inline-reference-node.d.ts +19 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +1 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +14 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +45 -0
- package/dist/components/features/rich-text-editor/use-rich-text-images.d.ts +18 -0
- package/dist/components/features/sync/index.d.ts +26 -3
- package/dist/components/features/table/data-table.d.ts +1 -1
- package/dist/components/features/table/partials/cell-renderers.d.ts +1 -1
- package/dist/components/features/table/table.types.d.ts +32 -7
- package/dist/components/layout/page/index.d.ts +1 -1
- package/dist/components/layout/page/page.types.d.ts +51 -4
- package/dist/components/layout/page/partials/page-actions.d.ts +1 -0
- package/dist/components/layout/page/partials/page-header.d.ts +1 -1
- package/dist/components/layout/settings/settings.d.ts +16 -2
- package/dist/components/layout/workspace/workspace.types.d.ts +21 -4
- package/dist/components/primitives/date.d.ts +16 -3
- package/dist/components/primitives/dimensions.d.ts +6 -0
- package/dist/components/primitives/duration.d.ts +6 -0
- package/dist/components/primitives/file-size.d.ts +6 -0
- package/dist/components/primitives/index.d.ts +1 -1
- package/dist/components/primitives/initials.d.ts +11 -2
- package/dist/components/primitives/link.d.ts +7 -0
- package/dist/components/primitives/money.d.ts +29 -7
- package/dist/components/primitives/number.d.ts +17 -0
- package/dist/components/primitives/value-typography.d.ts +54 -0
- package/dist/components/primitives/value.d.ts +31 -6
- package/dist/components/typography/heading.d.ts +9 -1
- package/dist/components/typography/label.d.ts +3 -0
- package/dist/components/typography/rich-text/index.d.ts +1 -1
- package/dist/components/typography/rich-text/rich-text-tree.d.ts +19 -0
- package/dist/components/typography/rich-text/rich-text.d.ts +16 -0
- package/dist/components/typography/running-text.d.ts +12 -0
- package/dist/components/typography/text-link.d.ts +24 -1
- package/dist/components/typography/text.d.ts +12 -0
- package/dist/components/typography/text.styles.d.ts +35 -13
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/checkbox.d.ts +6 -0
- package/dist/components/ui/overlay.recipes.d.ts +6 -2
- package/dist/components/ui/select.d.ts +3 -1
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/{containers-DqB-bSYE.js → containers-DmWiJa2I.js} +36 -35
- package/dist/containers-DmWiJa2I.js.map +1 -0
- package/dist/{copyable-BTSByfmq.js → copyable-B3Gwgdqc.js} +6 -6
- package/dist/{copyable-BTSByfmq.js.map → copyable-B3Gwgdqc.js.map} +1 -1
- package/dist/data-display-DafIvCl5.js +960 -0
- package/dist/data-display-DafIvCl5.js.map +1 -0
- package/dist/date-BgK3bTdo.js +144 -0
- package/dist/date-BgK3bTdo.js.map +1 -0
- package/dist/date-picker-CF-DtUpF.js +1529 -0
- package/dist/date-picker-CF-DtUpF.js.map +1 -0
- package/dist/date-pickers-BmzxJl5l.js +174 -0
- package/dist/date-pickers-BmzxJl5l.js.map +1 -0
- package/dist/{display-CS6Hbk18.js → display-DsQTVzMz.js} +88 -87
- package/dist/display-DsQTVzMz.js.map +1 -0
- package/dist/{dropdown-menu-D-boNgGO.js → dropdown-menu-E2qmdC7o.js} +23 -16
- package/dist/dropdown-menu-E2qmdC7o.js.map +1 -0
- package/dist/features/activities.js +437 -521
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +174 -172
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/async-preview.js +8 -8
- package/dist/features/async-preview.js.map +1 -1
- package/dist/features/combobox.js +1 -1
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.js +139 -138
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer/engine.js +1 -1
- package/dist/features/email-composer.js +353 -352
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +262 -269
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.js +307 -310
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +95 -97
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +56 -57
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +914 -824
- package/dist/features/media-library.js.map +1 -1
- package/dist/features/mentions.js +1 -1
- package/dist/features/overlays.js +1 -1
- package/dist/features/products.js +1272 -1311
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +204 -194
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +103 -95
- package/dist/features/resource-assignment.js.map +1 -1
- package/dist/features/resource.js +77 -69
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +30 -11
- package/dist/features/rich-text-editor.js.map +1 -1
- package/dist/features/schema-form.js +193 -189
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +3 -3
- package/dist/features/sync.js +7 -7
- package/dist/features/sync.js.map +1 -1
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.js +455 -455
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-qNuMBtRH.js +233 -0
- package/dist/feedback-qNuMBtRH.js.map +1 -0
- package/dist/field-affordance-recipes-qQeIf4lG.js +48 -0
- package/dist/field-affordance-recipes-qQeIf4lG.js.map +1 -0
- package/dist/field-state-recipes-BVA2CWHo.js +12 -0
- package/dist/field-state-recipes-BVA2CWHo.js.map +1 -0
- package/dist/{filters-D6FF8L6s.js → filters-BkHH53uv.js} +414 -412
- package/dist/filters-BkHH53uv.js.map +1 -0
- package/dist/focus-recipes-B653VaLq.js +12 -0
- package/dist/focus-recipes-B653VaLq.js.map +1 -0
- package/dist/{form-field-CZwrkP7m.js → form-field-DUt4UxSV.js} +7 -7
- package/dist/{form-field-CZwrkP7m.js.map → form-field-DUt4UxSV.js.map} +1 -1
- package/dist/form-sizing-By94KzXE.js +130 -0
- package/dist/form-sizing-By94KzXE.js.map +1 -0
- package/dist/{forms-B5NCbkSC.js → forms-Bzha-Y3B.js} +25 -25
- package/dist/forms-Bzha-Y3B.js.map +1 -0
- package/dist/forms-numeric-C0bvjRPZ.js +906 -0
- package/dist/forms-numeric-C0bvjRPZ.js.map +1 -0
- package/dist/{header-kxruN3RM.js → header-BOefOKd1.js} +38 -41
- package/dist/header-BOefOKd1.js.map +1 -0
- package/dist/{hooks-BrlnCwQd.js → hooks-9k_TtmKh.js} +2 -2
- package/dist/{hooks-BrlnCwQd.js.map → hooks-9k_TtmKh.js.map} +1 -1
- package/dist/{http-CdEIHyQf.js → http-D_6rOnzU.js} +2 -2
- package/dist/{http-CdEIHyQf.js.map → http-D_6rOnzU.js.map} +1 -1
- package/dist/icon-badge-CAuKupo9.js +55 -0
- package/dist/icon-badge-CAuKupo9.js.map +1 -0
- package/dist/index.js +7 -7
- package/dist/input-DWhBBBww.js +262 -0
- package/dist/input-DWhBBBww.js.map +1 -0
- package/dist/{input-vxcaNCYC.js → input-Ddi_LSYv.js} +3 -3
- package/dist/{input-vxcaNCYC.js.map → input-Ddi_LSYv.js.map} +1 -1
- package/dist/interaction-recipes-CHr0dJUs.js +24 -0
- package/dist/interaction-recipes-CHr0dJUs.js.map +1 -0
- package/dist/item-DEmDiTlD.js +265 -0
- package/dist/item-DEmDiTlD.js.map +1 -0
- package/dist/layer-recipes-CCpklYME.js +13 -0
- package/dist/layer-recipes-CCpklYME.js.map +1 -0
- package/dist/layout/app-shell.js +1 -1
- package/dist/layout/auth.js +1 -1
- package/dist/layout/containers.js +1 -1
- package/dist/layout/header.js +1 -1
- package/dist/layout/hooks.js +1 -1
- package/dist/layout/navigation.js +1 -1
- package/dist/layout/page.js +1 -1
- package/dist/layout/settings.js +1 -1
- package/dist/layout/sidebar.js +2 -2
- package/dist/layout/workspace.js +1 -1
- package/dist/layout.js +10 -10
- package/dist/lib/affordance-geometry.generated.d.ts +7 -1
- package/dist/lib/field-affordance-recipes.d.ts +41 -1
- package/dist/lib/field-state-recipes.d.ts +9 -6
- package/dist/lib/focus-recipes.d.ts +24 -0
- package/dist/lib/format.d.ts +9 -0
- package/dist/lib/interaction-recipes.d.ts +35 -0
- package/dist/lib/layer-recipes.d.ts +19 -0
- package/dist/lib/money-format.d.ts +30 -0
- package/dist/lib/motion-recipes.d.ts +1 -0
- package/dist/lib/overlay-anatomy-recipes.d.ts +2 -1
- package/dist/lib/safe-image-src.d.ts +10 -0
- package/dist/lib/sanitize-html.d.ts +15 -3
- package/dist/lib/surface-recipes.d.ts +48 -6
- package/dist/lib/token-merge.generated.d.ts +17 -14
- package/dist/lib/tone-recipes.d.ts +79 -0
- package/dist/lib/track-recipes.d.ts +1 -1
- package/dist/lib/ui-provider/hooks.d.ts +2 -1
- package/dist/lib/ui-provider/index.d.ts +2 -2
- package/dist/lib/ui-provider/provider.d.ts +7 -2
- package/dist/lib/ui-provider/store.d.ts +6 -2
- package/dist/lib/ui-provider/types.d.ts +14 -2
- package/dist/lib/utils.js +1 -1
- package/dist/media-gallery-DcTtAaeC.js +203 -0
- package/dist/media-gallery-DcTtAaeC.js.map +1 -0
- package/dist/mentions-D-uyCh01.js +568 -0
- package/dist/mentions-D-uyCh01.js.map +1 -0
- package/dist/{message-SZUNB1eX.js → message-CdHgIWKf.js} +5 -5
- package/dist/{message-SZUNB1eX.js.map → message-CdHgIWKf.js.map} +1 -1
- package/dist/metadata-list-X5rYAKSB.js +394 -0
- package/dist/metadata-list-X5rYAKSB.js.map +1 -0
- package/dist/{motion-recipes-B6jKXEcN.js → motion-recipes-ChBg4HBq.js} +3 -2
- package/dist/{motion-recipes-B6jKXEcN.js.map → motion-recipes-ChBg4HBq.js.map} +1 -1
- package/dist/navigation-D3KwXmaq.js +145 -0
- package/dist/navigation-D3KwXmaq.js.map +1 -0
- package/dist/navigation-HJf5zxlH.js +268 -0
- package/dist/navigation-HJf5zxlH.js.map +1 -0
- package/dist/{navigation-row-recipes-DQEXQcqY.js → navigation-row-recipes-BVowojQw.js} +2 -2
- package/dist/{navigation-row-recipes-DQEXQcqY.js.map → navigation-row-recipes-BVowojQw.js.map} +1 -1
- package/dist/number-DMhe-Vsk.js +352 -0
- package/dist/number-DMhe-Vsk.js.map +1 -0
- package/dist/overflow-tab-bar-sQHXLlwQ.js +280 -0
- package/dist/overflow-tab-bar-sQHXLlwQ.js.map +1 -0
- package/dist/overlay.recipes-8GHqmlb4.js +6 -0
- package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
- package/dist/overlays-I0axtYA6.js +999 -0
- package/dist/overlays-I0axtYA6.js.map +1 -0
- package/dist/{page-hGmT4nWK.js → page-B5dTH9gE.js} +79 -68
- package/dist/page-B5dTH9gE.js.map +1 -0
- package/dist/page-header-commands-DjzFEq3E.js +126 -0
- package/dist/page-header-commands-DjzFEq3E.js.map +1 -0
- package/dist/{pagination-NLGqRirf.js → pagination-3bPA_a6K.js} +19 -19
- package/dist/{pagination-NLGqRirf.js.map → pagination-3bPA_a6K.js.map} +1 -1
- package/dist/{popover-CghIYdQf.js → popover-Di55PyAI.js} +8 -8
- package/dist/popover-Di55PyAI.js.map +1 -0
- package/dist/{popover-menu-B4PoWhRl.js → popover-menu-B71Tn2Qz.js} +6 -6
- package/dist/{popover-menu-B4PoWhRl.js.map → popover-menu-B71Tn2Qz.js.map} +1 -1
- package/dist/{popover.recipes-QlD4JenO.js → popover.recipes-Bdyhj2db.js} +2 -2
- package/dist/{popover.recipes-QlD4JenO.js.map → popover.recipes-Bdyhj2db.js.map} +1 -1
- package/dist/primitives-B-CkiEMU.js +379 -0
- package/dist/primitives-B-CkiEMU.js.map +1 -0
- package/dist/primitives.js +5 -5
- package/dist/{progress-BroqrAyV.js → progress-rnS8-uAW.js} +11 -11
- package/dist/progress-rnS8-uAW.js.map +1 -0
- package/dist/{receipt-BuJynLgf.js → receipt-D0oswZ0p.js} +6 -6
- package/dist/{receipt-BuJynLgf.js.map → receipt-D0oswZ0p.js.map} +1 -1
- package/dist/rich-text-DvGulsNJ.js +78 -0
- package/dist/rich-text-DvGulsNJ.js.map +1 -0
- package/dist/rich-text-editor-sMU_Scqm.js +1204 -0
- package/dist/rich-text-editor-sMU_Scqm.js.map +1 -0
- package/dist/rich-text-editor.recipes-CadiF_Uu.js +88 -0
- package/dist/rich-text-editor.recipes-CadiF_Uu.js.map +1 -0
- package/dist/rich-text-editor.strings-CB59ekH2.js +38 -0
- package/dist/rich-text-editor.strings-CB59ekH2.js.map +1 -0
- package/dist/safe-image-src-C6kQSMBZ.js +17 -0
- package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
- package/dist/sanitize-html-DsQmI48u.js +92 -0
- package/dist/sanitize-html-DsQmI48u.js.map +1 -0
- package/dist/scroll-area-Bt_vXY2b.js +48 -0
- package/dist/scroll-area-Bt_vXY2b.js.map +1 -0
- package/dist/{separator-BNIgG3au.js → separator-C8DlRGwF.js} +4 -4
- package/dist/separator-C8DlRGwF.js.map +1 -0
- package/dist/{separator-BhtFyo4x.js → separator-CYHnjsAb.js} +2 -2
- package/dist/{separator-BhtFyo4x.js.map → separator-CYHnjsAb.js.map} +1 -1
- package/dist/services/actions/action-adapters.d.ts +22 -0
- package/dist/services/actions/index.d.ts +1 -1
- package/dist/services/actions.js +23 -6
- package/dist/services/actions.js.map +1 -1
- package/dist/settings-CQW3b-Cu.js +170 -0
- package/dist/settings-CQW3b-Cu.js.map +1 -0
- package/dist/sheet-4SEvVYzA.js +210 -0
- package/dist/sheet-4SEvVYzA.js.map +1 -0
- package/dist/{sidebar-CyR4XKwR.js → sidebar-C7WWR29L.js} +181 -180
- package/dist/sidebar-C7WWR29L.js.map +1 -0
- package/dist/sidebar-d7Dg80ln.js +511 -0
- package/dist/sidebar-d7Dg80ln.js.map +1 -0
- package/dist/{skeleton-3F0uhYn3.js → skeleton-Cz890JZF.js} +10 -10
- package/dist/skeleton-Cz890JZF.js.map +1 -0
- package/dist/smart-card-lFKxn5Hu.js +595 -0
- package/dist/smart-card-lFKxn5Hu.js.map +1 -0
- package/dist/{spinner-Cpf7oRkF.js → spinner-fa3h1Aif.js} +10 -8
- package/dist/spinner-fa3h1Aif.js.map +1 -0
- package/dist/{structure-CRdqVawd.js → structure-DC2dygdA.js} +3 -3
- package/dist/{structure-CRdqVawd.js.map → structure-DC2dygdA.js.map} +1 -1
- package/dist/{structure.recipes-Bqhf9oIh.js → structure.recipes-EPz60cU8.js} +37 -19
- package/dist/structure.recipes-EPz60cU8.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/surface-recipes-BKRVW8Os.js +43 -0
- package/dist/surface-recipes-BKRVW8Os.js.map +1 -0
- package/dist/table-CIKyLUsy.js +163 -0
- package/dist/table-CIKyLUsy.js.map +1 -0
- package/dist/{table-CcRDZiLP.js → table-CrcLN9Io.js} +544 -530
- package/dist/table-CrcLN9Io.js.map +1 -0
- package/dist/tabs-DwBJfjxX.js +190 -0
- package/dist/tabs-DwBJfjxX.js.map +1 -0
- package/dist/{text-inputs-DsR56TR-.js → text-inputs-aaK9wcDT.js} +151 -155
- package/dist/text-inputs-aaK9wcDT.js.map +1 -0
- package/dist/{text.styles-Q4sGAIgA.js → text.styles-g4He6UIW.js} +17 -14
- package/dist/text.styles-g4He6UIW.js.map +1 -0
- package/dist/theme.css +16 -12
- package/dist/themes/green.css +24 -0
- package/dist/{timelines-D1pkt3se.js → timelines-C_SBwHNP.js} +154 -164
- package/dist/timelines-C_SBwHNP.js.map +1 -0
- package/dist/tone-recipes-CPoExcTE.js +70 -0
- package/dist/tone-recipes-CPoExcTE.js.map +1 -0
- package/dist/tooltip-CsfgrfS7.js +111 -0
- package/dist/tooltip-CsfgrfS7.js.map +1 -0
- package/dist/track-recipes-CDcKmndW.js +10 -0
- package/dist/track-recipes-CDcKmndW.js.map +1 -0
- package/dist/{tree-BtmYyMZV.js → tree-BiKhg8AY.js} +72 -70
- package/dist/tree-BiKhg8AY.js.map +1 -0
- package/dist/typography/rich-text.js +1 -1
- package/dist/typography-DTRkE9zL.js +117 -0
- package/dist/typography-DTRkE9zL.js.map +1 -0
- package/dist/typography.js +2 -2
- package/dist/{ui-provider-DRPn3qNl.js → ui-provider-1D_NSYzO.js} +30 -23
- package/dist/ui-provider-1D_NSYzO.js.map +1 -0
- package/dist/ui-provider.js +3 -3
- package/dist/{upload-CDbYw1WN.js → upload-BO8-CLN6.js} +294 -293
- package/dist/upload-BO8-CLN6.js.map +1 -0
- package/dist/{upload-queue-CNd_hH_a.js → upload-queue-EOC8g1gf.js} +133 -138
- package/dist/upload-queue-EOC8g1gf.js.map +1 -0
- package/dist/upload.recipes-BbxTqrCT.js +61 -0
- package/dist/upload.recipes-BbxTqrCT.js.map +1 -0
- package/dist/{usage-card-VyJLUwRr.js → usage-card-obRaBskq.js} +42 -43
- package/dist/{usage-card-VyJLUwRr.js.map → usage-card-obRaBskq.js.map} +1 -1
- package/dist/{utils-BvH9PSmq.js → utils-l5LpDw2z.js} +264 -62
- package/dist/utils-l5LpDw2z.js.map +1 -0
- package/dist/value-inputs-TAYMX111.js +947 -0
- package/dist/value-inputs-TAYMX111.js.map +1 -0
- package/dist/value-typography-b8wpz1eX.js +116 -0
- package/dist/value-typography-b8wpz1eX.js.map +1 -0
- package/dist/workspace-DH0v0KcB.js +407 -0
- package/dist/workspace-DH0v0KcB.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +62 -50
- package/docs/consumer-skill/examples/app-layout.tsx +3 -5
- package/docs/consumer-skill/examples/composition.tsx +3 -3
- package/docs/consumer-skill/examples/detail.tsx +59 -13
- package/docs/consumer-skill/examples/edit.tsx +2 -2
- package/docs/consumer-skill/examples/layout-blocks.tsx +20 -0
- package/docs/consumer-skill/examples/manifest.json +28 -6
- package/docs/consumer-skill/examples/receipt.tsx +2 -2
- package/docs/consumer-skill/examples/scoped-directory.tsx +3 -3
- package/docs/consumer-skill/examples/website.tsx +1 -1
- package/docs/consumer-skill/references/agents-md.md +33 -0
- package/docs/consumer-skill/references/analytics.md +1 -1
- package/docs/consumer-skill/references/composition.md +139 -24
- package/docs/consumer-skill/references/design-contract.md +12 -3
- package/docs/consumer-skill/references/discovery.md +4 -0
- package/docs/consumer-skill/references/installation.md +33 -1
- package/docs/consumer-skill/references/integration.md +32 -1
- package/docs/consumer-skill/references/public-api.json +1051 -610
- package/docs/consumer-skill/references/review.md +44 -8
- package/docs/consumer-skill/references/theming.md +14 -4
- package/docs/consumer-skill/references/tokens.json +5 -2
- package/docs/consumer-skill/references/workflows.md +30 -9
- package/docs/consumer-skill/scripts/composition-policy.mjs +127 -6
- package/docs/consumer-skill/scripts/discovery.mjs +11 -3
- package/docs/consumer-skill/scripts/pin-button-defaults.mjs +95 -0
- package/docs/consumer-skill/scripts/surface-policy.mjs +139 -5
- package/package.json +13 -3
- package/dist/accordion-BRTcsp8J.js +0 -205
- package/dist/accordion-BRTcsp8J.js.map +0 -1
- package/dist/action-menu-Drxw_vJk.js +0 -265
- package/dist/action-menu-Drxw_vJk.js.map +0 -1
- package/dist/affordance-geometry.generated-CL84ZN9A.js.map +0 -1
- package/dist/ai-artifact-DLVdK0Py.js.map +0 -1
- package/dist/attachment-DbjUWsP0.js +0 -244
- package/dist/attachment-DbjUWsP0.js.map +0 -1
- package/dist/auth-CAQcasMV.js.map +0 -1
- package/dist/avatar-Bu2HhitA.js.map +0 -1
- package/dist/badge-CzId1Wlm.js +0 -92
- package/dist/badge-CzId1Wlm.js.map +0 -1
- package/dist/breadcrumbs-BuYz5SDU.js +0 -128
- package/dist/breadcrumbs-BuYz5SDU.js.map +0 -1
- package/dist/button-BZDasD04.js +0 -651
- package/dist/button-BZDasD04.js.map +0 -1
- package/dist/button-BZyfTvwm.js.map +0 -1
- package/dist/buttons-D_6KJvEE.js +0 -99
- package/dist/buttons-D_6KJvEE.js.map +0 -1
- package/dist/cards-qGSErLw_.js.map +0 -1
- package/dist/chart-Bsc5BICK.js.map +0 -1
- package/dist/checkbox-BQNDjUCh.js +0 -34
- package/dist/checkbox-BQNDjUCh.js.map +0 -1
- package/dist/choice-inputs-Mk3iWbhr.js +0 -725
- package/dist/choice-inputs-Mk3iWbhr.js.map +0 -1
- package/dist/code-block-DzHKRybS.js +0 -183
- package/dist/code-block-DzHKRybS.js.map +0 -1
- package/dist/combobox-BFnbJJp3.js.map +0 -1
- package/dist/combobox-hozNwUcc.js +0 -847
- package/dist/combobox-hozNwUcc.js.map +0 -1
- package/dist/command-BnmSchli.js.map +0 -1
- package/dist/comments-u5L0OGip.js.map +0 -1
- package/dist/containers-DqB-bSYE.js.map +0 -1
- package/dist/data-display-Bihs9Ven.js +0 -1342
- package/dist/data-display-Bihs9Ven.js.map +0 -1
- package/dist/date-DOKhJPu7.js +0 -140
- package/dist/date-DOKhJPu7.js.map +0 -1
- package/dist/date-picker-DzP5HQq7.js +0 -1541
- package/dist/date-picker-DzP5HQq7.js.map +0 -1
- package/dist/date-pickers-BpgGz7S-.js +0 -196
- package/dist/date-pickers-BpgGz7S-.js.map +0 -1
- package/dist/display-CS6Hbk18.js.map +0 -1
- package/dist/dropdown-menu-D-boNgGO.js.map +0 -1
- package/dist/feedback-CJkUAapr.js +0 -233
- package/dist/feedback-CJkUAapr.js.map +0 -1
- package/dist/field-affordance-recipes-uKY4MsZ_.js +0 -25
- package/dist/field-affordance-recipes-uKY4MsZ_.js.map +0 -1
- package/dist/field-state-recipes-DQQpiLWC.js +0 -11
- package/dist/field-state-recipes-DQQpiLWC.js.map +0 -1
- package/dist/filters-D6FF8L6s.js.map +0 -1
- package/dist/form-sizing-QP8aIRaW.js +0 -103
- package/dist/form-sizing-QP8aIRaW.js.map +0 -1
- package/dist/format-iamDSqs2.js +0 -110
- package/dist/format-iamDSqs2.js.map +0 -1
- package/dist/forms-B5NCbkSC.js.map +0 -1
- package/dist/forms-numeric-Crrm80Lm.js +0 -867
- package/dist/forms-numeric-Crrm80Lm.js.map +0 -1
- package/dist/header-kxruN3RM.js.map +0 -1
- package/dist/icon-badge-Btc6pQrp.js +0 -53
- package/dist/icon-badge-Btc6pQrp.js.map +0 -1
- package/dist/input-SX9V0AL3.js +0 -255
- package/dist/input-SX9V0AL3.js.map +0 -1
- package/dist/item-DE4YnuJx.js +0 -258
- package/dist/item-DE4YnuJx.js.map +0 -1
- package/dist/media-gallery-DLp3HAz0.js +0 -201
- package/dist/media-gallery-DLp3HAz0.js.map +0 -1
- package/dist/mentions-Cl0Kt_Pd.js +0 -565
- package/dist/mentions-Cl0Kt_Pd.js.map +0 -1
- package/dist/navigation-DnQSNMT0.js +0 -276
- package/dist/navigation-DnQSNMT0.js.map +0 -1
- package/dist/navigation-DyytsLRB.js +0 -265
- package/dist/navigation-DyytsLRB.js.map +0 -1
- package/dist/number-DasMFWEG.js +0 -269
- package/dist/number-DasMFWEG.js.map +0 -1
- package/dist/overlay.recipes-BxW5FIfK.js +0 -6
- package/dist/overlay.recipes-BxW5FIfK.js.map +0 -1
- package/dist/overlays-DUbs1KEi.js +0 -1011
- package/dist/overlays-DUbs1KEi.js.map +0 -1
- package/dist/page-hGmT4nWK.js.map +0 -1
- package/dist/page-header-D8nERkn5.js +0 -112
- package/dist/page-header-D8nERkn5.js.map +0 -1
- package/dist/popover-CghIYdQf.js.map +0 -1
- package/dist/primitives-C7ff0QaI.js +0 -337
- package/dist/primitives-C7ff0QaI.js.map +0 -1
- package/dist/progress-BroqrAyV.js.map +0 -1
- package/dist/rich-text-DlxDOtf4.js +0 -32
- package/dist/rich-text-DlxDOtf4.js.map +0 -1
- package/dist/rich-text-editor-BKyG7rWz.js +0 -574
- package/dist/rich-text-editor-BKyG7rWz.js.map +0 -1
- package/dist/rich-text-editor.recipes-B72Nfuze.js +0 -81
- package/dist/rich-text-editor.recipes-B72Nfuze.js.map +0 -1
- package/dist/rich-text-editor.strings-BpnIQgMl.js +0 -25
- package/dist/rich-text-editor.strings-BpnIQgMl.js.map +0 -1
- package/dist/sanitize-html-BG9FGe-j.js +0 -64
- package/dist/sanitize-html-BG9FGe-j.js.map +0 -1
- package/dist/scroll-area-D-pIhEKl.js +0 -47
- package/dist/scroll-area-D-pIhEKl.js.map +0 -1
- package/dist/separator-BNIgG3au.js.map +0 -1
- package/dist/settings-DOTOzeZ2.js +0 -161
- package/dist/settings-DOTOzeZ2.js.map +0 -1
- package/dist/sheet-BFhrNehm.js +0 -205
- package/dist/sheet-BFhrNehm.js.map +0 -1
- package/dist/sidebar-CyR4XKwR.js.map +0 -1
- package/dist/sidebar-SvGJ0Zwi.js +0 -506
- package/dist/sidebar-SvGJ0Zwi.js.map +0 -1
- package/dist/skeleton-3F0uhYn3.js.map +0 -1
- package/dist/smart-card-DjGVV2xr.js +0 -584
- package/dist/smart-card-DjGVV2xr.js.map +0 -1
- package/dist/spinner-Cpf7oRkF.js.map +0 -1
- package/dist/structure.recipes-Bqhf9oIh.js.map +0 -1
- package/dist/surface-recipes-Dd__PD-w.js +0 -28
- package/dist/surface-recipes-Dd__PD-w.js.map +0 -1
- package/dist/table-CLtJTxoR.js +0 -147
- package/dist/table-CLtJTxoR.js.map +0 -1
- package/dist/table-CcRDZiLP.js.map +0 -1
- package/dist/tabs-BNgu7g0u.js +0 -188
- package/dist/tabs-BNgu7g0u.js.map +0 -1
- package/dist/text-inputs-DsR56TR-.js.map +0 -1
- package/dist/text.styles-Q4sGAIgA.js.map +0 -1
- package/dist/timelines-D1pkt3se.js.map +0 -1
- package/dist/track-recipes-LLPNVwFg.js +0 -10
- package/dist/track-recipes-LLPNVwFg.js.map +0 -1
- package/dist/tree-BtmYyMZV.js.map +0 -1
- package/dist/typography-BxQgiZyw.js +0 -96
- package/dist/typography-BxQgiZyw.js.map +0 -1
- package/dist/ui-provider-DRPn3qNl.js.map +0 -1
- package/dist/upload-CDbYw1WN.js.map +0 -1
- package/dist/upload-queue-CNd_hH_a.js.map +0 -1
- package/dist/use-file-drop-target-BX7GnhoQ.js +0 -39
- package/dist/use-file-drop-target-BX7GnhoQ.js.map +0 -1
- package/dist/utils-BvH9PSmq.js.map +0 -1
- package/dist/value-inputs-D0KCrfVC.js +0 -840
- package/dist/value-inputs-D0KCrfVC.js.map +0 -1
- package/dist/workspace-CcR8r-Nt.js +0 -395
- package/dist/workspace-CcR8r-Nt.js.map +0 -1
- /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
package/dist/button-BZDasD04.js
DELETED
|
@@ -1,651 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { _ as e, r as t, s as n } from "./ui-provider-DRPn3qNl.js";
|
|
3
|
-
import { r } from "./theme-scope-kStaAer0.js";
|
|
4
|
-
import { useStrings as i } from "./lib/strings.js";
|
|
5
|
-
import { t as a } from "./utils-BvH9PSmq.js";
|
|
6
|
-
import { a as o } from "./typography-BxQgiZyw.js";
|
|
7
|
-
import { t as s } from "./anchored-positioning-DPnKTvNs.js";
|
|
8
|
-
import { t as c } from "./motion-recipes-B6jKXEcN.js";
|
|
9
|
-
import { t as l } from "./slot-CLF9kLrS.js";
|
|
10
|
-
import { t as u } from "./button-BZyfTvwm.js";
|
|
11
|
-
import * as d from "react";
|
|
12
|
-
import { createContext as f, forwardRef as p, useCallback as m, useContext as h, useEffect as g, useId as _, useLayoutEffect as v, useRef as y, useState as b } from "react";
|
|
13
|
-
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
14
|
-
import { Loader2 as w } from "lucide-react";
|
|
15
|
-
import { mergeProps as T } from "@base-ui/react/merge-props";
|
|
16
|
-
import { cva as E } from "class-variance-authority";
|
|
17
|
-
import { Tooltip as D } from "@base-ui/react/tooltip";
|
|
18
|
-
//#region src/components/ui/tooltip.tsx
|
|
19
|
-
function O({ delay: e = 0, delayDuration: t, ...n }) {
|
|
20
|
-
return /* @__PURE__ */ S(D.Provider, {
|
|
21
|
-
"data-slot": "tooltip-provider",
|
|
22
|
-
delay: t ?? e,
|
|
23
|
-
...n
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
function k({ ...e }) {
|
|
27
|
-
return /* @__PURE__ */ S(O, { children: /* @__PURE__ */ S(D.Root, {
|
|
28
|
-
"data-slot": "tooltip",
|
|
29
|
-
...e
|
|
30
|
-
}) });
|
|
31
|
-
}
|
|
32
|
-
function A({ asChild: e = !1, render: t, children: n, ...r }) {
|
|
33
|
-
let i = e ? /* @__PURE__ */ S(l, {}) : void 0, a = typeof t == "function" ? ((e, n) => {
|
|
34
|
-
let { nativeButton: r, ...i } = e;
|
|
35
|
-
return t(i, n);
|
|
36
|
-
}) : t;
|
|
37
|
-
return /* @__PURE__ */ S(D.Trigger, {
|
|
38
|
-
"data-slot": "tooltip-trigger",
|
|
39
|
-
render: i ?? a,
|
|
40
|
-
...r,
|
|
41
|
-
children: n
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
function j({ className: e, container: t, side: n = "top", sideOffset: i = 4, align: o = "center", alignOffset: l = 0, positionMethod: u = s, children: d, ...f }) {
|
|
45
|
-
let p = r(t);
|
|
46
|
-
return /* @__PURE__ */ S(D.Portal, {
|
|
47
|
-
container: p,
|
|
48
|
-
children: /* @__PURE__ */ S(D.Positioner, {
|
|
49
|
-
positionMethod: u,
|
|
50
|
-
align: o,
|
|
51
|
-
alignOffset: l,
|
|
52
|
-
side: n,
|
|
53
|
-
sideOffset: i,
|
|
54
|
-
className: "isolate z-50",
|
|
55
|
-
children: /* @__PURE__ */ C(D.Popup, {
|
|
56
|
-
"data-slot": "tooltip-content",
|
|
57
|
-
className: a(c.popup, "rounded-radius px-space-sm py-space-xs text-xs bg-inverse-background text-inverse-foreground z-50 w-fit max-w-xs origin-(--transform-origin)", e),
|
|
58
|
-
...f,
|
|
59
|
-
children: [d, /* @__PURE__ */ S(D.Arrow, { className: "size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 bg-inverse-background fill-inverse-background z-50 data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })]
|
|
60
|
-
})
|
|
61
|
-
})
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region src/components/base/display/tooltip.tsx
|
|
66
|
-
var M = f(void 0), N = f(!1);
|
|
67
|
-
function P(e) {
|
|
68
|
-
let t = h(N), n = _(), [r, i] = b(n), a = /* @__PURE__ */ S(M.Provider, {
|
|
69
|
-
value: {
|
|
70
|
-
id: r,
|
|
71
|
-
setId: i
|
|
72
|
-
},
|
|
73
|
-
children: /* @__PURE__ */ S(D.Root, {
|
|
74
|
-
"data-slot": "tooltip",
|
|
75
|
-
...e
|
|
76
|
-
})
|
|
77
|
-
});
|
|
78
|
-
return t ? a : /* @__PURE__ */ S(O, { children: a });
|
|
79
|
-
}
|
|
80
|
-
function F(e) {
|
|
81
|
-
return /* @__PURE__ */ S(N.Provider, {
|
|
82
|
-
value: !0,
|
|
83
|
-
children: /* @__PURE__ */ S(O, { ...e })
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
function I({ className: e, ...t }) {
|
|
87
|
-
let n = h(M)?.id;
|
|
88
|
-
return /* @__PURE__ */ S(A, {
|
|
89
|
-
className: a("tooltip-trigger--component active:translate-y-0!", e),
|
|
90
|
-
...t,
|
|
91
|
-
"aria-describedby": [t["aria-describedby"], n].filter(Boolean).join(" ") || void 0
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
function L({ children: e, className: t, ...n }) {
|
|
95
|
-
let r = h(M), i = n.id ?? r?.id;
|
|
96
|
-
v(() => {
|
|
97
|
-
i && r?.setId(i);
|
|
98
|
-
}, [i, r?.setId]);
|
|
99
|
-
let s = typeof e == "string" || typeof e == "number" || typeof e == "bigint" ? /* @__PURE__ */ S(o, {
|
|
100
|
-
tag: "span",
|
|
101
|
-
size: "inherit",
|
|
102
|
-
lineHeight: "snug",
|
|
103
|
-
className: "tooltip-content--text text-inherit",
|
|
104
|
-
children: e
|
|
105
|
-
}) : e;
|
|
106
|
-
return /* @__PURE__ */ S(j, {
|
|
107
|
-
id: i,
|
|
108
|
-
role: "tooltip",
|
|
109
|
-
className: a("tooltip-content--component max-w-xs rounded-radius px-space-sm py-space-xs text-xs leading-snug", t),
|
|
110
|
-
...n,
|
|
111
|
-
children: s
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
P.displayName = "Tooltip", F.displayName = "TooltipProvider", I.displayName = "TooltipTrigger", L.displayName = "TooltipContent";
|
|
115
|
-
//#endregion
|
|
116
|
-
//#region src/components/base/buttons/button.recipes.ts
|
|
117
|
-
var R = {
|
|
118
|
-
solidInteractive: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:brightness-95 [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:brightness-90",
|
|
119
|
-
neutralInteractive: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-accent [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-muted",
|
|
120
|
-
secondaryInteractive: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-secondary [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-accent",
|
|
121
|
-
primaryInteractive: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-primary/10 [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-primary/20",
|
|
122
|
-
destructiveInteractive: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-destructive/10 [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-destructive/20",
|
|
123
|
-
successInteractive: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-success/10 [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-success/20",
|
|
124
|
-
warningInteractive: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-warning/10 [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-warning/20",
|
|
125
|
-
infoInteractive: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-info/10 [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-info/20",
|
|
126
|
-
isLoading: "cursor-wait",
|
|
127
|
-
icon: "base-button-icon pointer-events-none shrink-0",
|
|
128
|
-
spinner: "animate-spin"
|
|
129
|
-
}, z = E("box-border inline-flex shrink-0 items-center justify-center gap-space-sm [&_svg:not([class*=size-])]:size-icon [&_svg]:shrink-0 whitespace-nowrap rounded-inner border font-sans font-medium no-underline outline-none transition-[background-color,border-color,color,filter,box-shadow] focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:cursor-not-allowed aria-disabled:opacity-50", {
|
|
130
|
-
variants: {
|
|
131
|
-
tone: {
|
|
132
|
-
primary: "",
|
|
133
|
-
neutral: "",
|
|
134
|
-
secondary: "",
|
|
135
|
-
destructive: "",
|
|
136
|
-
success: "",
|
|
137
|
-
warning: "",
|
|
138
|
-
info: ""
|
|
139
|
-
},
|
|
140
|
-
buttonStyle: {
|
|
141
|
-
solid: `border-transparent ${R.solidInteractive}`,
|
|
142
|
-
outline: "border-input bg-transparent",
|
|
143
|
-
ghost: "border-transparent bg-transparent"
|
|
144
|
-
},
|
|
145
|
-
size: {
|
|
146
|
-
sm: "h-action-sm px-control-sm text-sm leading-none",
|
|
147
|
-
md: "h-action px-control text-sm leading-none",
|
|
148
|
-
lg: "h-action-lg px-control text-sm leading-none"
|
|
149
|
-
},
|
|
150
|
-
iconOnly: {
|
|
151
|
-
true: "px-0",
|
|
152
|
-
false: ""
|
|
153
|
-
},
|
|
154
|
-
fullWidth: {
|
|
155
|
-
true: "w-full",
|
|
156
|
-
false: ""
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
compoundVariants: [
|
|
160
|
-
{
|
|
161
|
-
tone: "info",
|
|
162
|
-
buttonStyle: ["outline", "ghost"],
|
|
163
|
-
class: R.infoInteractive
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
tone: "warning",
|
|
167
|
-
buttonStyle: ["outline", "ghost"],
|
|
168
|
-
class: R.warningInteractive
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
tone: "success",
|
|
172
|
-
buttonStyle: ["outline", "ghost"],
|
|
173
|
-
class: R.successInteractive
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
tone: "destructive",
|
|
177
|
-
buttonStyle: ["outline", "ghost"],
|
|
178
|
-
class: R.destructiveInteractive
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
tone: "secondary",
|
|
182
|
-
buttonStyle: ["outline", "ghost"],
|
|
183
|
-
class: R.secondaryInteractive
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
tone: "neutral",
|
|
187
|
-
buttonStyle: ["outline", "ghost"],
|
|
188
|
-
class: R.neutralInteractive
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
tone: "primary",
|
|
192
|
-
buttonStyle: ["outline", "ghost"],
|
|
193
|
-
class: R.primaryInteractive
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
tone: "primary",
|
|
197
|
-
buttonStyle: "solid",
|
|
198
|
-
class: "bg-primary text-primary-foreground"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
tone: "primary",
|
|
202
|
-
buttonStyle: "outline",
|
|
203
|
-
class: "border-primary/60 text-primary-accent"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
tone: "primary",
|
|
207
|
-
buttonStyle: "ghost",
|
|
208
|
-
class: "text-primary-accent"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
tone: "neutral",
|
|
212
|
-
buttonStyle: "solid",
|
|
213
|
-
class: "bg-foreground text-background"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
tone: "neutral",
|
|
217
|
-
buttonStyle: "outline",
|
|
218
|
-
class: "border-foreground/15 text-foreground"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
tone: "neutral",
|
|
222
|
-
buttonStyle: "ghost",
|
|
223
|
-
class: "text-foreground"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
tone: "secondary",
|
|
227
|
-
buttonStyle: "solid",
|
|
228
|
-
class: "bg-secondary text-secondary-foreground"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
tone: "secondary",
|
|
232
|
-
buttonStyle: "outline",
|
|
233
|
-
class: "border-border/60 text-secondary-foreground"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
tone: "secondary",
|
|
237
|
-
buttonStyle: "ghost",
|
|
238
|
-
class: "text-secondary-foreground"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
tone: "destructive",
|
|
242
|
-
buttonStyle: "solid",
|
|
243
|
-
class: "bg-destructive text-destructive-foreground"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
tone: "destructive",
|
|
247
|
-
buttonStyle: "outline",
|
|
248
|
-
class: "border-destructive/60 text-destructive"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
tone: "destructive",
|
|
252
|
-
buttonStyle: "ghost",
|
|
253
|
-
class: "text-destructive"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
tone: "success",
|
|
257
|
-
buttonStyle: "solid",
|
|
258
|
-
class: "bg-success text-success-foreground"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
tone: "success",
|
|
262
|
-
buttonStyle: "outline",
|
|
263
|
-
class: "border-success/60 text-success"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
tone: "success",
|
|
267
|
-
buttonStyle: "ghost",
|
|
268
|
-
class: "text-success"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
tone: "warning",
|
|
272
|
-
buttonStyle: "solid",
|
|
273
|
-
class: "bg-warning text-warning-foreground"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
tone: "warning",
|
|
277
|
-
buttonStyle: "outline",
|
|
278
|
-
class: "border-warning/60 text-warning-accent"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
tone: "warning",
|
|
282
|
-
buttonStyle: "ghost",
|
|
283
|
-
class: "text-warning-accent"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
tone: "info",
|
|
287
|
-
buttonStyle: "solid",
|
|
288
|
-
class: "bg-info text-info-foreground"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
tone: "info",
|
|
292
|
-
buttonStyle: "outline",
|
|
293
|
-
class: "border-info/60 text-info"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
tone: "info",
|
|
297
|
-
buttonStyle: "ghost",
|
|
298
|
-
class: "text-info"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
size: "sm",
|
|
302
|
-
iconOnly: !0,
|
|
303
|
-
class: "size-action-sm"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
size: "md",
|
|
307
|
-
iconOnly: !0,
|
|
308
|
-
class: "size-action"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
size: "lg",
|
|
312
|
-
iconOnly: !0,
|
|
313
|
-
class: "size-action-lg"
|
|
314
|
-
}
|
|
315
|
-
],
|
|
316
|
-
defaultVariants: {
|
|
317
|
-
tone: "primary",
|
|
318
|
-
buttonStyle: "solid",
|
|
319
|
-
size: "md",
|
|
320
|
-
iconOnly: !1,
|
|
321
|
-
fullWidth: !1
|
|
322
|
-
}
|
|
323
|
-
});
|
|
324
|
-
//#endregion
|
|
325
|
-
//#region src/components/base/buttons/use-pending-button-focus.ts
|
|
326
|
-
function B(e, t) {
|
|
327
|
-
let n = y(null), r = y(!1), i = y(!1), a = y(!1), o = m((e) => {
|
|
328
|
-
n.current = e;
|
|
329
|
-
let a = () => {
|
|
330
|
-
r.current = !0;
|
|
331
|
-
}, o = () => {
|
|
332
|
-
!i.current && !e?.matches(":disabled") && (r.current = !1);
|
|
333
|
-
};
|
|
334
|
-
e?.addEventListener("focus", a), e?.addEventListener("blur", o);
|
|
335
|
-
let s = typeof t == "function" ? t(e) : void 0;
|
|
336
|
-
return t && typeof t != "function" && (t.current = e), () => {
|
|
337
|
-
e?.removeEventListener("focus", a), e?.removeEventListener("blur", o), n.current === e && (n.current = null), typeof s == "function" ? s() : typeof t == "function" ? t(null) : t && (t.current = null);
|
|
338
|
-
};
|
|
339
|
-
}, [t]);
|
|
340
|
-
return v(() => {
|
|
341
|
-
let t = n.current, o = i.current;
|
|
342
|
-
if (i.current = e, !t) return;
|
|
343
|
-
let s = t.ownerDocument;
|
|
344
|
-
if (!e && !o && (r.current = s.activeElement === t), e && !o && (a.current = r.current || s.activeElement === t), !e && o) {
|
|
345
|
-
let e = a.current;
|
|
346
|
-
a.current = !1, e && t.isConnected && !t.matches(":disabled,[aria-disabled=true]") && (s.activeElement === s.body || s.activeElement === s.documentElement) && t.focus({ preventScroll: !0 });
|
|
347
|
-
}
|
|
348
|
-
if (!e || !a.current) return;
|
|
349
|
-
let c = () => {
|
|
350
|
-
s.removeEventListener("focusin", u, !0), s.removeEventListener("pointerdown", d, !0), s.removeEventListener("keydown", f, !0);
|
|
351
|
-
}, l = () => {
|
|
352
|
-
r.current = !1, a.current = !1, c();
|
|
353
|
-
}, u = (e) => {
|
|
354
|
-
e.target !== t && e.target !== s.body && e.target !== s.documentElement && l();
|
|
355
|
-
}, d = (e) => {
|
|
356
|
-
t.contains(e.target) || l();
|
|
357
|
-
}, f = (e) => {
|
|
358
|
-
e.key === "Tab" && l();
|
|
359
|
-
};
|
|
360
|
-
return s.addEventListener("focusin", u, !0), s.addEventListener("pointerdown", d, !0), s.addEventListener("keydown", f, !0), c;
|
|
361
|
-
}), o;
|
|
362
|
-
}
|
|
363
|
-
//#endregion
|
|
364
|
-
//#region src/components/base/buttons/base-button.tsx
|
|
365
|
-
function V({ tone: r, buttonStyle: i, size: a, iconOnly: o = !1, fullWidth: s = !1 }) {
|
|
366
|
-
let c = t(), { defaultScale: l } = n(), u = {
|
|
367
|
-
tone: r ?? c.defaultTone,
|
|
368
|
-
buttonStyle: i ?? c.defaultButtonStyle,
|
|
369
|
-
size: e(a, l),
|
|
370
|
-
iconOnly: o,
|
|
371
|
-
fullWidth: s
|
|
372
|
-
};
|
|
373
|
-
return {
|
|
374
|
-
...u,
|
|
375
|
-
classes: z(u),
|
|
376
|
-
attributes: {
|
|
377
|
-
"data-slot": "button",
|
|
378
|
-
"data-tone": u.tone,
|
|
379
|
-
"data-style": u.buttonStyle,
|
|
380
|
-
"data-size": u.size,
|
|
381
|
-
"data-icon-only": o || void 0,
|
|
382
|
-
"data-full-width": s || void 0
|
|
383
|
-
}
|
|
384
|
-
};
|
|
385
|
-
}
|
|
386
|
-
function H({ icon: e, iconPosition: t = "left", children: n }) {
|
|
387
|
-
let r = e && /* @__PURE__ */ S(e, {
|
|
388
|
-
className: "size-icon shrink-0",
|
|
389
|
-
"aria-hidden": "true"
|
|
390
|
-
});
|
|
391
|
-
return /* @__PURE__ */ C(x, { children: [
|
|
392
|
-
t === "left" && r,
|
|
393
|
-
n,
|
|
394
|
-
t === "right" && r
|
|
395
|
-
] });
|
|
396
|
-
}
|
|
397
|
-
var U = p(function({ tone: e, buttonStyle: t, size: n, iconOnly: r, fullWidth: i, icon: o, iconPosition: s, className: c, children: l, ...d }, f) {
|
|
398
|
-
let p = V({
|
|
399
|
-
tone: e,
|
|
400
|
-
buttonStyle: t,
|
|
401
|
-
size: n,
|
|
402
|
-
iconOnly: r,
|
|
403
|
-
fullWidth: i,
|
|
404
|
-
children: l
|
|
405
|
-
}), m = B(d["aria-busy"] === !0 || d["aria-busy"] === "true", f);
|
|
406
|
-
return /* @__PURE__ */ S(u, {
|
|
407
|
-
...d,
|
|
408
|
-
...p.attributes,
|
|
409
|
-
ref: m,
|
|
410
|
-
className: (e) => a("base-button--component", p.classes, typeof c == "function" ? c(e) : c),
|
|
411
|
-
children: /* @__PURE__ */ S(H, {
|
|
412
|
-
icon: o,
|
|
413
|
-
iconPosition: s,
|
|
414
|
-
children: l
|
|
415
|
-
})
|
|
416
|
-
});
|
|
417
|
-
}), W = p(function({ tone: e, buttonStyle: t, size: n, iconOnly: r, fullWidth: i, icon: o, iconPosition: s, className: c, children: l, disabled: u = !1, tabIndex: d, onClick: f, rel: p, target: m, ...h }, g) {
|
|
418
|
-
let _ = V({
|
|
419
|
-
tone: e,
|
|
420
|
-
buttonStyle: t,
|
|
421
|
-
size: n,
|
|
422
|
-
iconOnly: r,
|
|
423
|
-
fullWidth: i,
|
|
424
|
-
children: l
|
|
425
|
-
}), v = new Set(p?.split(/\s+/).filter(Boolean));
|
|
426
|
-
return m?.toLowerCase() === "_blank" && (v.size || v.add("noreferrer"), v.add("noopener")), /* @__PURE__ */ S("a", {
|
|
427
|
-
...h,
|
|
428
|
-
..._.attributes,
|
|
429
|
-
ref: g,
|
|
430
|
-
target: m,
|
|
431
|
-
rel: v.size ? [...v].join(" ") : void 0,
|
|
432
|
-
"aria-disabled": u || h["aria-disabled"] || void 0,
|
|
433
|
-
tabIndex: u ? -1 : d,
|
|
434
|
-
className: a("base-button--component", _.classes, c),
|
|
435
|
-
onClick: (e) => {
|
|
436
|
-
if (u) {
|
|
437
|
-
e.preventDefault(), e.stopPropagation();
|
|
438
|
-
return;
|
|
439
|
-
}
|
|
440
|
-
f?.(e);
|
|
441
|
-
},
|
|
442
|
-
children: /* @__PURE__ */ S(H, {
|
|
443
|
-
icon: o,
|
|
444
|
-
iconPosition: s,
|
|
445
|
-
children: l
|
|
446
|
-
})
|
|
447
|
-
});
|
|
448
|
-
}), G = {
|
|
449
|
-
loading: "Loading...",
|
|
450
|
-
completed: "Completed"
|
|
451
|
-
};
|
|
452
|
-
function K({ loading: e = !1, handlesLoading: t, strings: n }) {
|
|
453
|
-
let r = i(G, n), [a, o] = b(e), [, s] = b(!1);
|
|
454
|
-
return g(() => {
|
|
455
|
-
e && o(!0);
|
|
456
|
-
}, [e]), g(() => {
|
|
457
|
-
t && e && o(!0);
|
|
458
|
-
}, [e, t]), g(() => {
|
|
459
|
-
let t;
|
|
460
|
-
return !e && a && (s(!0), t = setTimeout(() => {
|
|
461
|
-
o(!1), s(!1);
|
|
462
|
-
}, 300)), () => {
|
|
463
|
-
t && clearTimeout(t);
|
|
464
|
-
};
|
|
465
|
-
}, [e, a]), {
|
|
466
|
-
isLoading: a,
|
|
467
|
-
strings: r
|
|
468
|
-
};
|
|
469
|
-
}
|
|
470
|
-
function q({ isLoading: e, loadingText: t, icon: n, iconPosition: r = "left", size: i, children: s }) {
|
|
471
|
-
let c = e ? t : s, l = typeof c == "string" || typeof c == "number" || typeof c == "bigint";
|
|
472
|
-
return /* @__PURE__ */ C(x, { children: [
|
|
473
|
-
!!e && /* @__PURE__ */ S(w, {
|
|
474
|
-
className: a(R.icon, R.spinner),
|
|
475
|
-
"aria-hidden": "true"
|
|
476
|
-
}),
|
|
477
|
-
!!n && r === "left" && !e && /* @__PURE__ */ S(n, {
|
|
478
|
-
className: R.icon,
|
|
479
|
-
"aria-hidden": "true"
|
|
480
|
-
}),
|
|
481
|
-
l ? /* @__PURE__ */ S(o, {
|
|
482
|
-
tag: "span",
|
|
483
|
-
size: "inherit",
|
|
484
|
-
weight: "medium",
|
|
485
|
-
lineHeight: "none",
|
|
486
|
-
className: "text-inherit",
|
|
487
|
-
children: c
|
|
488
|
-
}) : c,
|
|
489
|
-
!!n && r === "right" && !e && /* @__PURE__ */ S(n, {
|
|
490
|
-
className: R.icon,
|
|
491
|
-
"aria-hidden": "true"
|
|
492
|
-
})
|
|
493
|
-
] });
|
|
494
|
-
}
|
|
495
|
-
var J = d.forwardRef(({ loading: e = !1, handlesLoading: t, strings: n, icon: r, iconPosition: i = "left", children: o, disabled: s, className: c, ...l }, u) => {
|
|
496
|
-
let { isLoading: d, strings: f } = K({
|
|
497
|
-
loading: e,
|
|
498
|
-
handlesLoading: t,
|
|
499
|
-
strings: n
|
|
500
|
-
});
|
|
501
|
-
return /* @__PURE__ */ S(U, {
|
|
502
|
-
...l,
|
|
503
|
-
ref: u,
|
|
504
|
-
disabled: s || d,
|
|
505
|
-
"aria-busy": d || void 0,
|
|
506
|
-
className: a("loader-button--component", d && R.isLoading, c),
|
|
507
|
-
children: /* @__PURE__ */ S(q, {
|
|
508
|
-
isLoading: d,
|
|
509
|
-
loadingText: f.loading,
|
|
510
|
-
icon: r,
|
|
511
|
-
iconPosition: i,
|
|
512
|
-
size: l.size,
|
|
513
|
-
children: o
|
|
514
|
-
})
|
|
515
|
-
});
|
|
516
|
-
});
|
|
517
|
-
J.displayName = "LoaderButton";
|
|
518
|
-
//#endregion
|
|
519
|
-
//#region src/components/base/buttons/tooltip-button.tsx
|
|
520
|
-
var Y = d.forwardRef(({ withTooltip: e, children: t, ...n }, r) => /* @__PURE__ */ C(P, { children: [/* @__PURE__ */ S(I, { render: (i) => {
|
|
521
|
-
let o = T(n, i);
|
|
522
|
-
return /* @__PURE__ */ S(U, {
|
|
523
|
-
...o,
|
|
524
|
-
"aria-label": n["aria-label"] ?? e,
|
|
525
|
-
ref: r,
|
|
526
|
-
className: a("tooltip-button--component", o.className),
|
|
527
|
-
children: t
|
|
528
|
-
});
|
|
529
|
-
} }), /* @__PURE__ */ S(L, {
|
|
530
|
-
className: "px-space-md py-space-xs text-pxs",
|
|
531
|
-
children: /* @__PURE__ */ S(o, {
|
|
532
|
-
tag: "span",
|
|
533
|
-
size: "inherit",
|
|
534
|
-
className: "text-inherit",
|
|
535
|
-
children: e
|
|
536
|
-
})
|
|
537
|
-
})] }));
|
|
538
|
-
Y.displayName = "TooltipButton";
|
|
539
|
-
//#endregion
|
|
540
|
-
//#region src/components/base/buttons/button.tsx
|
|
541
|
-
function X({ loading: e, handlesLoading: t, strings: n }) {
|
|
542
|
-
return e === !0 || !!t || n !== void 0;
|
|
543
|
-
}
|
|
544
|
-
var Z = d.forwardRef(({ loading: e, handlesLoading: t, strings: n, icon: r, iconPosition: i = "left", children: o, disabled: s, size: c, className: l, ...u }, d) => {
|
|
545
|
-
let f = K({
|
|
546
|
-
loading: e,
|
|
547
|
-
handlesLoading: t,
|
|
548
|
-
strings: n
|
|
549
|
-
});
|
|
550
|
-
return /* @__PURE__ */ S(W, {
|
|
551
|
-
...u,
|
|
552
|
-
ref: d,
|
|
553
|
-
size: c,
|
|
554
|
-
disabled: s || f.isLoading,
|
|
555
|
-
"aria-busy": f.isLoading || void 0,
|
|
556
|
-
className: a("loader-button--component", l),
|
|
557
|
-
children: /* @__PURE__ */ S(q, {
|
|
558
|
-
isLoading: f.isLoading,
|
|
559
|
-
loadingText: f.strings.loading,
|
|
560
|
-
icon: r,
|
|
561
|
-
iconPosition: i,
|
|
562
|
-
size: c,
|
|
563
|
-
children: o
|
|
564
|
-
})
|
|
565
|
-
});
|
|
566
|
-
});
|
|
567
|
-
Z.displayName = "LoadingButtonLink";
|
|
568
|
-
var Q = d.forwardRef(({ withTooltip: e, ...t }, n) => {
|
|
569
|
-
if (X(t)) return /* @__PURE__ */ S(Z, {
|
|
570
|
-
ref: n,
|
|
571
|
-
...t
|
|
572
|
-
});
|
|
573
|
-
let { loading: r, handlesLoading: i, strings: a, ...o } = t;
|
|
574
|
-
return /* @__PURE__ */ S(W, {
|
|
575
|
-
ref: n,
|
|
576
|
-
...o
|
|
577
|
-
});
|
|
578
|
-
});
|
|
579
|
-
Q.displayName = "ButtonLink";
|
|
580
|
-
function ee(e) {
|
|
581
|
-
let { type: t, form: n, formAction: r, formEncType: i, formMethod: a, formNoValidate: o, formTarget: s, name: c, value: l, nativeButton: u, focusableWhenDisabled: d, render: f, ...p } = e;
|
|
582
|
-
return p;
|
|
583
|
-
}
|
|
584
|
-
var $ = d.forwardRef(({ href: e, withTooltip: t, loading: n, handlesLoading: r, strings: i, ...s }, c) => {
|
|
585
|
-
if (e !== void 0) {
|
|
586
|
-
let l = ee(s), u = /* @__PURE__ */ S(Q, {
|
|
587
|
-
...l,
|
|
588
|
-
ref: c,
|
|
589
|
-
href: e,
|
|
590
|
-
loading: n,
|
|
591
|
-
handlesLoading: r,
|
|
592
|
-
strings: i,
|
|
593
|
-
"aria-label": s["aria-label"] ?? t,
|
|
594
|
-
className: a("button--component", l.className)
|
|
595
|
-
});
|
|
596
|
-
return t ? /* @__PURE__ */ C(P, { children: [/* @__PURE__ */ S(I, { render: u }), /* @__PURE__ */ S(L, {
|
|
597
|
-
className: "px-space-md py-space-xs text-pxs",
|
|
598
|
-
children: /* @__PURE__ */ S(o, {
|
|
599
|
-
tag: "span",
|
|
600
|
-
size: "inherit",
|
|
601
|
-
className: "text-inherit",
|
|
602
|
-
children: t
|
|
603
|
-
})
|
|
604
|
-
})] }) : u;
|
|
605
|
-
}
|
|
606
|
-
let { download: l, hrefLang: u, media: d, ping: f, referrerPolicy: p, rel: m, target: h, ...g } = s, _ = {
|
|
607
|
-
...g,
|
|
608
|
-
className: a("button--component", g.className)
|
|
609
|
-
};
|
|
610
|
-
return X({
|
|
611
|
-
loading: n,
|
|
612
|
-
handlesLoading: r,
|
|
613
|
-
strings: i
|
|
614
|
-
}) ? t ? /* @__PURE__ */ C(P, { children: [/* @__PURE__ */ S(I, { render: (e) => /* @__PURE__ */ S(J, {
|
|
615
|
-
..._,
|
|
616
|
-
...e,
|
|
617
|
-
ref: c,
|
|
618
|
-
loading: n,
|
|
619
|
-
handlesLoading: r,
|
|
620
|
-
strings: i,
|
|
621
|
-
"aria-label": g["aria-label"] ?? t,
|
|
622
|
-
className: a(e.className, _.className),
|
|
623
|
-
children: g.children
|
|
624
|
-
}) }), /* @__PURE__ */ S(L, {
|
|
625
|
-
className: "px-space-md py-space-xs text-pxs",
|
|
626
|
-
children: /* @__PURE__ */ S(o, {
|
|
627
|
-
tag: "span",
|
|
628
|
-
size: "inherit",
|
|
629
|
-
className: "text-inherit",
|
|
630
|
-
children: t
|
|
631
|
-
})
|
|
632
|
-
})] }) : /* @__PURE__ */ S(J, {
|
|
633
|
-
..._,
|
|
634
|
-
ref: c,
|
|
635
|
-
loading: n,
|
|
636
|
-
handlesLoading: r,
|
|
637
|
-
strings: i
|
|
638
|
-
}) : t ? /* @__PURE__ */ S(Y, {
|
|
639
|
-
..._,
|
|
640
|
-
ref: c,
|
|
641
|
-
withTooltip: t
|
|
642
|
-
}) : /* @__PURE__ */ S(U, {
|
|
643
|
-
..._,
|
|
644
|
-
ref: c
|
|
645
|
-
});
|
|
646
|
-
});
|
|
647
|
-
$.displayName = "Button";
|
|
648
|
-
//#endregion
|
|
649
|
-
export { P as a, I as c, A as d, z as i, k as l, U as n, L as o, W as r, F as s, $ as t, j as u };
|
|
650
|
-
|
|
651
|
-
//# sourceMappingURL=button-BZDasD04.js.map
|