themelia-react-ui 2.0.0 → 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 +351 -0
- package/README.md +26 -13
- package/dist/{accordion-CQXVcd7Q.js → accordion-B6a3vVgA.js} +84 -82
- 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-CCIXb2A1.js → affordance-geometry.generated-B5iu-Mkr.js} +3 -2
- package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +1 -0
- package/dist/{ai-artifact-2PQ2fItc.js → ai-artifact-BMJdv-6q.js} +379 -376
- package/dist/ai-artifact-BMJdv-6q.js.map +1 -0
- package/dist/{app-shell-BE_j8-AT.js → app-shell-ZK5RWdo6.js} +4 -4
- package/dist/{app-shell-BE_j8-AT.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-M3vGMgDR.js → auth-CYxKfo69.js} +237 -235
- package/dist/auth-CYxKfo69.js.map +1 -0
- package/dist/{avatar-djdaaQ_s.js → avatar-BBnEJIx8.js} +66 -65
- 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 +13 -13
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +103 -115
- 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 +17 -17
- 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 +1 -1
- package/dist/base/repeaters.js +171 -170
- 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 +147 -137
- 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 +2 -2
- 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 +173 -171
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +266 -263
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +440 -438
- 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 +1945 -1266
- 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 +25 -25
- 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-R9CCoH7A.js → button-QYwiyhD2.js} +15 -14
- package/dist/button-QYwiyhD2.js.map +1 -0
- package/dist/{button-BS3KDg00.js → buttons-SbIcm1HJ.js} +200 -213
- package/dist/buttons-SbIcm1HJ.js.map +1 -0
- package/dist/{cards-QoJ4syG9.js → cards-CiiHpKYd.js} +8 -8
- package/dist/cards-CiiHpKYd.js.map +1 -0
- package/dist/{chart-DwYRKKc-.js → chart-QfrARkXl.js} +5 -5
- package/dist/{chart-DwYRKKc-.js.map → chart-QfrARkXl.js.map} +1 -1
- 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-oMUGM4tr.js → collapsible-D8AEGU1-.js} +4 -4
- package/dist/{collapsible-oMUGM4tr.js.map → collapsible-D8AEGU1-.js.map} +1 -1
- package/dist/{collection-content-Ys-OZOkY.js → collection-content-uK16Grv0.js} +3 -3
- package/dist/{collection-content-Ys-OZOkY.js.map → collection-content-uK16Grv0.js.map} +1 -1
- package/dist/{combobox-6dvVny2q.js → combobox-2Ic8N9bL.js} +74 -68
- package/dist/combobox-2Ic8N9bL.js.map +1 -0
- package/dist/{combobox-CB7039j7.js → combobox-DLl0bfiq.js} +307 -305
- package/dist/combobox-DLl0bfiq.js.map +1 -0
- package/dist/{command-kPMPjIxJ.js → command-kNR20o7x.js} +7 -7
- package/dist/{command-kPMPjIxJ.js.map → command-kNR20o7x.js.map} +1 -1
- package/dist/{comments-You0Bzbr.js → comments-BpDuCUUu.js} +341 -339
- package/dist/comments-BpDuCUUu.js.map +1 -0
- package/dist/components/base/action-menu/action-menu.d.ts +21 -4
- 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/badge/badge.recipes.d.ts +4 -4
- 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/button-group.recipes.d.ts +1 -1
- package/dist/components/base/buttons/button.recipes.d.ts +2 -2
- package/dist/components/base/choice-inputs/checkbox.d.ts +2 -2
- package/dist/components/base/choice-inputs/choice-types.d.ts +18 -6
- package/dist/components/base/display/alert-dialog.d.ts +6 -5
- package/dist/components/base/display/dialog.d.ts +4 -8
- package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
- package/dist/components/base/forms/form-sizing.d.ts +15 -12
- 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/index.d.ts +1 -1
- 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 +26 -3
- package/dist/components/base/sheet/sheet.d.ts +4 -8
- 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/text-inputs/field-clear-button.d.ts +6 -0
- package/dist/components/base/upload/upload.recipes.d.ts +25 -3
- package/dist/components/base/value-inputs/index.d.ts +5 -5
- package/dist/components/base/value-inputs/tags-input.d.ts +36 -12
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
- package/dist/components/blocks/commerce/address-card/types.d.ts +2 -1
- 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/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/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-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 +12 -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/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/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/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/index.d.ts +1 -1
- package/dist/components/features/overlays/overlay-tone-icon.d.ts +3 -3
- package/dist/components/features/overlays/overlays.types.d.ts +20 -0
- 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/products.types.d.ts +9 -2
- 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/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 +33 -36
- 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/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/text-link.d.ts +4 -3
- package/dist/components/ui/checkbox.d.ts +4 -3
- package/dist/components/ui/overlay.recipes.d.ts +0 -9
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/{containers-D_L4mTVb.js → containers-DmWiJa2I.js} +36 -35
- package/dist/containers-DmWiJa2I.js.map +1 -0
- package/dist/{copyable-DDjTeW_j.js → copyable-B3Gwgdqc.js} +6 -6
- package/dist/{copyable-DDjTeW_j.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-uf3z37Nm.js → date-BgK3bTdo.js} +5 -5
- package/dist/{date-uf3z37Nm.js.map → date-BgK3bTdo.js.map} +1 -1
- package/dist/date-picker-CF-DtUpF.js +1529 -0
- package/dist/date-picker-CF-DtUpF.js.map +1 -0
- package/dist/{date-pickers-CnFCb0n2.js → date-pickers-BmzxJl5l.js} +19 -19
- package/dist/{date-pickers-CnFCb0n2.js.map → date-pickers-BmzxJl5l.js.map} +1 -1
- package/dist/{display-DrdvPwF0.js → display-DsQTVzMz.js} +88 -87
- package/dist/display-DsQTVzMz.js.map +1 -0
- package/dist/{dropdown-menu-CURh59jb.js → dropdown-menu-E2qmdC7o.js} +7 -7
- package/dist/{dropdown-menu-CURh59jb.js.map → dropdown-menu-E2qmdC7o.js.map} +1 -1
- package/dist/features/activities.js +414 -501
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +170 -169
- 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 +73 -71
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +278 -275
- 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 +918 -825
- 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 +1115 -1122
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +202 -194
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +25 -25
- 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 +33 -33
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +3 -3
- package/dist/features/sync.js +3 -3
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.js +397 -396
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/{feedback-C7nR0UtT.js → feedback-qNuMBtRH.js} +84 -83
- package/dist/feedback-qNuMBtRH.js.map +1 -0
- package/dist/{field-affordance-recipes-CkOCdE2y.js → field-affordance-recipes-qQeIf4lG.js} +8 -6
- 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-Da-gNPsE.js → filters-BkHH53uv.js} +565 -563
- 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-VZRULhUK.js → form-field-DUt4UxSV.js} +4 -4
- package/dist/{form-field-VZRULhUK.js.map → form-field-DUt4UxSV.js.map} +1 -1
- package/dist/{form-sizing-uWP4lzVh.js → form-sizing-By94KzXE.js} +19 -15
- package/dist/form-sizing-By94KzXE.js.map +1 -0
- package/dist/{forms-DDeEnXSY.js → forms-Bzha-Y3B.js} +22 -22
- package/dist/{forms-DDeEnXSY.js.map → forms-Bzha-Y3B.js.map} +1 -1
- package/dist/{forms-numeric-D3CO60IF.js → forms-numeric-C0bvjRPZ.js} +265 -264
- package/dist/forms-numeric-C0bvjRPZ.js.map +1 -0
- package/dist/{header-2ycNqGOR.js → header-BOefOKd1.js} +47 -51
- package/dist/header-BOefOKd1.js.map +1 -0
- package/dist/{hooks-DQ5SPwZw.js → hooks-9k_TtmKh.js} +2 -2
- package/dist/{hooks-DQ5SPwZw.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-BoLm9Hks.js → input-Ddi_LSYv.js} +3 -3
- package/dist/{input-BoLm9Hks.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-xzh8Df65.js → item-DEmDiTlD.js} +98 -97
- 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 +1 -0
- package/dist/lib/field-affordance-recipes.d.ts +6 -1
- package/dist/lib/field-state-recipes.d.ts +9 -8
- package/dist/lib/focus-recipes.d.ts +24 -0
- package/dist/lib/interaction-recipes.d.ts +35 -0
- package/dist/lib/layer-recipes.d.ts +19 -0
- package/dist/lib/motion-recipes.d.ts +1 -0
- package/dist/lib/overlay-anatomy-recipes.d.ts +1 -0
- 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 +47 -7
- package/dist/lib/token-merge.generated.d.ts +9 -6
- package/dist/lib/tone-recipes.d.ts +79 -0
- 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/types.d.ts +9 -0
- 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-YfFmbXNP.js → message-CdHgIWKf.js} +5 -5
- package/dist/{message-YfFmbXNP.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-DlU-4QYO.js → navigation-row-recipes-BVowojQw.js} +2 -2
- package/dist/{navigation-row-recipes-DlU-4QYO.js.map → navigation-row-recipes-BVowojQw.js.map} +1 -1
- package/dist/{number-CKRBYmZK.js → number-DMhe-Vsk.js} +5 -5
- package/dist/{number-CKRBYmZK.js.map → number-DMhe-Vsk.js.map} +1 -1
- 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-B5dTH9gE.js +224 -0
- 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-Cm0jqa3I.js → pagination-3bPA_a6K.js} +15 -15
- package/dist/{pagination-Cm0jqa3I.js.map → pagination-3bPA_a6K.js.map} +1 -1
- package/dist/{popover-Dcv_9jxr.js → popover-Di55PyAI.js} +8 -8
- package/dist/popover-Di55PyAI.js.map +1 -0
- package/dist/{popover-menu-DnRFKnHP.js → popover-menu-B71Tn2Qz.js} +6 -6
- package/dist/{popover-menu-DnRFKnHP.js.map → popover-menu-B71Tn2Qz.js.map} +1 -1
- package/dist/{popover.recipes-wmbvL8Ah.js → popover.recipes-Bdyhj2db.js} +2 -2
- package/dist/{popover.recipes-wmbvL8Ah.js.map → popover.recipes-Bdyhj2db.js.map} +1 -1
- package/dist/{primitives-BHrwQXFC.js → primitives-B-CkiEMU.js} +5 -5
- package/dist/{primitives-BHrwQXFC.js.map → primitives-B-CkiEMU.js.map} +1 -1
- package/dist/primitives.js +4 -4
- package/dist/{progress-Br9WTFya.js → progress-rnS8-uAW.js} +9 -9
- package/dist/{progress-Br9WTFya.js.map → progress-rnS8-uAW.js.map} +1 -1
- package/dist/{receipt-CV89q1fs.js → receipt-D0oswZ0p.js} +6 -6
- package/dist/{receipt-CV89q1fs.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-Do5GWDYi.js → separator-C8DlRGwF.js} +3 -3
- package/dist/{separator-Do5GWDYi.js.map → separator-C8DlRGwF.js.map} +1 -1
- package/dist/{separator-BMEvwnSX.js → separator-CYHnjsAb.js} +2 -2
- package/dist/{separator-BMEvwnSX.js.map → separator-CYHnjsAb.js.map} +1 -1
- package/dist/services/actions/action-adapters.d.ts +18 -0
- package/dist/services/actions/index.d.ts +1 -1
- package/dist/services/actions.js +16 -4
- 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-Crc9M9JV.js → sidebar-C7WWR29L.js} +180 -179
- package/dist/sidebar-C7WWR29L.js.map +1 -0
- package/dist/{sidebar-Cb8WzOvE.js → sidebar-d7Dg80ln.js} +16 -16
- package/dist/sidebar-d7Dg80ln.js.map +1 -0
- package/dist/{skeleton-DVMXr15h.js → skeleton-Cz890JZF.js} +9 -9
- package/dist/{skeleton-DVMXr15h.js.map → skeleton-Cz890JZF.js.map} +1 -1
- package/dist/smart-card-lFKxn5Hu.js +595 -0
- package/dist/smart-card-lFKxn5Hu.js.map +1 -0
- package/dist/{spinner-CmTAbEp0.js → spinner-fa3h1Aif.js} +7 -7
- package/dist/{spinner-CmTAbEp0.js.map → spinner-fa3h1Aif.js.map} +1 -1
- package/dist/{structure-hzCW-XsV.js → structure-DC2dygdA.js} +2 -2
- package/dist/{structure-hzCW-XsV.js.map → structure-DC2dygdA.js.map} +1 -1
- 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-D6zKeYQX.js → table-CIKyLUsy.js} +59 -58
- package/dist/table-CIKyLUsy.js.map +1 -0
- package/dist/table-CrcLN9Io.js +1458 -0
- package/dist/table-CrcLN9Io.js.map +1 -0
- package/dist/{tabs-Dk8E_knt.js → tabs-DwBJfjxX.js} +58 -57
- package/dist/tabs-DwBJfjxX.js.map +1 -0
- package/dist/{text-inputs-BFpku0Qd.js → text-inputs-aaK9wcDT.js} +74 -79
- package/dist/text-inputs-aaK9wcDT.js.map +1 -0
- package/dist/theme.css +3 -3
- package/dist/{timelines-CxuAFIc2.js → timelines-C_SBwHNP.js} +153 -150
- 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/{tree-BotPlyiD.js → tree-BiKhg8AY.js} +68 -66
- 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 +1 -1
- package/dist/{ui-provider-D2_TeLqw.js → ui-provider-1D_NSYzO.js} +11 -3
- package/dist/ui-provider-1D_NSYzO.js.map +1 -0
- package/dist/ui-provider.js +3 -3
- package/dist/{upload-B0WHW7ak.js → upload-BO8-CLN6.js} +209 -209
- package/dist/upload-BO8-CLN6.js.map +1 -0
- package/dist/{upload-queue-BHZ_wBfd.js → upload-queue-EOC8g1gf.js} +109 -111
- 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-U0YBLTNT.js → usage-card-obRaBskq.js} +46 -46
- package/dist/{usage-card-U0YBLTNT.js.map → usage-card-obRaBskq.js.map} +1 -1
- package/dist/{utils-Cospvlj1.js → utils-l5LpDw2z.js} +56 -24
- 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-Deb3yQZg.js → value-typography-b8wpz1eX.js} +2 -2
- package/dist/{value-typography-Deb3yQZg.js.map → value-typography-b8wpz1eX.js.map} +1 -1
- package/dist/workspace-DH0v0KcB.js +407 -0
- package/dist/workspace-DH0v0KcB.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +19 -20
- package/docs/consumer-skill/examples/app-layout.tsx +1 -1
- package/docs/consumer-skill/examples/composition.tsx +3 -3
- package/docs/consumer-skill/examples/detail.tsx +59 -12
- package/docs/consumer-skill/examples/edit.tsx +1 -1
- package/docs/consumer-skill/examples/receipt.tsx +2 -2
- package/docs/consumer-skill/examples/scoped-directory.tsx +1 -1
- 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 +51 -8
- package/docs/consumer-skill/references/design-contract.md +12 -3
- package/docs/consumer-skill/references/installation.md +11 -1
- package/docs/consumer-skill/references/public-api.json +847 -447
- package/docs/consumer-skill/references/review.md +25 -5
- package/docs/consumer-skill/references/theming.md +8 -4
- package/docs/consumer-skill/references/tokens.json +1 -1
- package/docs/consumer-skill/references/workflows.md +29 -10
- package/docs/consumer-skill/scripts/composition-policy.mjs +41 -11
- package/docs/consumer-skill/scripts/surface-policy.mjs +139 -5
- package/package.json +10 -2
- package/dist/accordion-CQXVcd7Q.js.map +0 -1
- package/dist/action-menu-BTpyPWJ2.js +0 -264
- package/dist/action-menu-BTpyPWJ2.js.map +0 -1
- package/dist/affordance-geometry.generated-CCIXb2A1.js.map +0 -1
- package/dist/ai-artifact-2PQ2fItc.js.map +0 -1
- package/dist/attachment-q69dlt5Y.js +0 -244
- package/dist/attachment-q69dlt5Y.js.map +0 -1
- package/dist/auth-M3vGMgDR.js.map +0 -1
- package/dist/avatar-djdaaQ_s.js.map +0 -1
- package/dist/badge-0tATj-tW.js +0 -92
- package/dist/badge-0tATj-tW.js.map +0 -1
- package/dist/breadcrumbs-BG_FfMK4.js +0 -128
- package/dist/breadcrumbs-BG_FfMK4.js.map +0 -1
- package/dist/button-BS3KDg00.js.map +0 -1
- package/dist/button-R9CCoH7A.js.map +0 -1
- package/dist/buttons-DS0ZIwJ_.js +0 -99
- package/dist/buttons-DS0ZIwJ_.js.map +0 -1
- package/dist/cards-QoJ4syG9.js.map +0 -1
- package/dist/checkbox-B7ygNTYp.js +0 -35
- package/dist/checkbox-B7ygNTYp.js.map +0 -1
- package/dist/choice-inputs-DrJ17tpL.js +0 -752
- package/dist/choice-inputs-DrJ17tpL.js.map +0 -1
- package/dist/code-block-CD0B7M93.js +0 -183
- package/dist/code-block-CD0B7M93.js.map +0 -1
- package/dist/combobox-6dvVny2q.js.map +0 -1
- package/dist/combobox-CB7039j7.js.map +0 -1
- package/dist/comments-You0Bzbr.js.map +0 -1
- package/dist/components/layout/page/partials/page-header-commands.d.ts +0 -13
- package/dist/containers-D_L4mTVb.js.map +0 -1
- package/dist/data-display-3xWQUnMA.js +0 -1335
- package/dist/data-display-3xWQUnMA.js.map +0 -1
- package/dist/date-picker-DrDFj8Lo.js +0 -1527
- package/dist/date-picker-DrDFj8Lo.js.map +0 -1
- package/dist/display-DrdvPwF0.js.map +0 -1
- package/dist/feedback-C7nR0UtT.js.map +0 -1
- package/dist/field-affordance-recipes-CkOCdE2y.js.map +0 -1
- package/dist/field-state-recipes-C-MFBX_8.js +0 -11
- package/dist/field-state-recipes-C-MFBX_8.js.map +0 -1
- package/dist/filters-Da-gNPsE.js.map +0 -1
- package/dist/form-sizing-uWP4lzVh.js.map +0 -1
- package/dist/forms-numeric-D3CO60IF.js.map +0 -1
- package/dist/header-2ycNqGOR.js.map +0 -1
- package/dist/icon-badge-DKlaKXoo.js +0 -53
- package/dist/icon-badge-DKlaKXoo.js.map +0 -1
- package/dist/input-DhQdBnV3.js +0 -255
- package/dist/input-DhQdBnV3.js.map +0 -1
- package/dist/item-xzh8Df65.js.map +0 -1
- package/dist/media-gallery-DQUQ0m3O.js +0 -201
- package/dist/media-gallery-DQUQ0m3O.js.map +0 -1
- package/dist/mentions-DwnO1hh4.js +0 -564
- package/dist/mentions-DwnO1hh4.js.map +0 -1
- package/dist/navigation-Cbp5V8gG.js +0 -264
- package/dist/navigation-Cbp5V8gG.js.map +0 -1
- package/dist/navigation-Cs1npsPm.js +0 -300
- package/dist/navigation-Cs1npsPm.js.map +0 -1
- package/dist/overlay.recipes-CNO2S9V6.js +0 -34
- package/dist/overlay.recipes-CNO2S9V6.js.map +0 -1
- package/dist/overlays-DhZO7N-I.js +0 -994
- package/dist/overlays-DhZO7N-I.js.map +0 -1
- package/dist/page-C6R_8jFt.js +0 -325
- package/dist/page-C6R_8jFt.js.map +0 -1
- package/dist/page-header-hUTzcRZX.js +0 -112
- package/dist/page-header-hUTzcRZX.js.map +0 -1
- package/dist/popover-Dcv_9jxr.js.map +0 -1
- package/dist/rich-text-editor-CF8QYt5p.js +0 -574
- package/dist/rich-text-editor-CF8QYt5p.js.map +0 -1
- package/dist/rich-text-editor.recipes-CnrbmTS1.js +0 -81
- package/dist/rich-text-editor.recipes-CnrbmTS1.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/rich-text-j-FGAeZW.js +0 -32
- package/dist/rich-text-j-FGAeZW.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-DRdr16Pt.js +0 -47
- package/dist/scroll-area-DRdr16Pt.js.map +0 -1
- package/dist/settings-DHk0L2MF.js +0 -161
- package/dist/settings-DHk0L2MF.js.map +0 -1
- package/dist/sheet-DRFNY1_D.js +0 -207
- package/dist/sheet-DRFNY1_D.js.map +0 -1
- package/dist/sidebar-Cb8WzOvE.js.map +0 -1
- package/dist/sidebar-Crc9M9JV.js.map +0 -1
- package/dist/smart-card-Bek-TwUp.js +0 -599
- package/dist/smart-card-Bek-TwUp.js.map +0 -1
- package/dist/surface-recipes-DOdoBXGm.js +0 -28
- package/dist/surface-recipes-DOdoBXGm.js.map +0 -1
- package/dist/table-D6zKeYQX.js.map +0 -1
- package/dist/table-Dn4XSrSB.js +0 -1444
- package/dist/table-Dn4XSrSB.js.map +0 -1
- package/dist/tabs-Dk8E_knt.js.map +0 -1
- package/dist/text-inputs-BFpku0Qd.js.map +0 -1
- package/dist/timelines-CxuAFIc2.js.map +0 -1
- package/dist/tree-BotPlyiD.js.map +0 -1
- package/dist/typography-CAr3dQhX.js +0 -116
- package/dist/typography-CAr3dQhX.js.map +0 -1
- package/dist/ui-provider-D2_TeLqw.js.map +0 -1
- package/dist/upload-B0WHW7ak.js.map +0 -1
- package/dist/upload-queue-BHZ_wBfd.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-Cospvlj1.js.map +0 -1
- package/dist/value-inputs-CjfzGMsN.js +0 -854
- package/dist/value-inputs-CjfzGMsN.js.map +0 -1
- package/dist/workspace-YoFjXi6i.js +0 -394
- package/dist/workspace-YoFjXi6i.js.map +0 -1
- /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../navigation-
|
|
2
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../navigation-HJf5zxlH.js";
|
|
3
3
|
export { r as BreadcrumbProgress, e as CategoryNav, i as SectionNav, o as SideNav, a as defaultBreadcrumbProgressStrings, t as defaultSectionNavStrings, n as defaultSideNavStrings };
|
package/dist/layout/page.js
CHANGED
package/dist/layout/settings.js
CHANGED
package/dist/layout/sidebar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, i as t, l as n, o as r, r as i, s as a, u as o } from "../hooks-
|
|
3
|
-
import { a as s, c, d as l, f as u, i as d, l as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y } from "../sidebar-
|
|
2
|
+
import { a as e, i as t, l as n, o as r, r as i, s as a, u as o } from "../hooks-9k_TtmKh.js";
|
|
3
|
+
import { a as s, c, d as l, f as u, i as d, l as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y } from "../sidebar-d7Dg80ln.js";
|
|
4
4
|
export { d as AppSidebar, h as LayoutSidebar, l as LayoutSidebarProvider, t as NavBadge, c as SidebarGroupedNavigation, i as SidebarIcon, _ as SidebarLogo, g as SidebarNavigation, m as SidebarNavigationFooter, v as SidebarNavigationUser, s as SidebarWorkspaceDropdown, f as defaultSidebarNavigationStrings, p as defaultSidebarNavigationUserStrings, y as defaultSidebarWorkspaceDropdownStrings, e as getNavKey, r as getNavLabel, a as isPathMatch, n as resolveNavBadge, o as toPath, u as useLayoutSidebar };
|
package/dist/layout/workspace.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../workspace-
|
|
2
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../workspace-DH0v0KcB.js";
|
|
3
3
|
export { o as WorkspaceLayout, n as WorkspaceLocaleStrip, i as WorkspaceNav, t as WorkspaceRecordHeader, e as defaultWorkspaceLocaleStripStrings, r as defaultWorkspaceNavStrings, a as defaultWorkspaceRecordHeaderStrings };
|
package/dist/layout.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as e, t } from "./layout.types-Cn7aUzJp.js";
|
|
3
|
-
import { a as n, d as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./hooks-
|
|
4
|
-
import { i as f, n as p, r as m, t as h } from "./containers-
|
|
5
|
-
import { i as g, n as _, r as v, t as y } from "./app-shell-
|
|
6
|
-
import { i as b, n as x, r as S, t as C } from "./page-
|
|
7
|
-
import { n as w, r as T, t as E } from "./settings-
|
|
8
|
-
import { a as D, c as O, d as k, i as A, l as j, n as M, o as N, r as P, s as F, t as I, u as L } from "./header-
|
|
9
|
-
import { a as R, i as z, n as B, o as V, r as H, s as U, t as W } from "./navigation-
|
|
10
|
-
import { a as G, c as K, d as q, f as J, i as Y, l as X, n as Z, o as Q, p as $, r as ee, s as te, t as ne, u as re } from "./sidebar-
|
|
11
|
-
import { _ as ie, a as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, r as _e, s as ve, t as ye, u as be } from "./auth-
|
|
12
|
-
import { a as xe, i as Se, n as Ce, o as we, r as Te, s as Ee, t as De } from "./workspace-
|
|
3
|
+
import { a as n, d as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./hooks-9k_TtmKh.js";
|
|
4
|
+
import { i as f, n as p, r as m, t as h } from "./containers-DmWiJa2I.js";
|
|
5
|
+
import { i as g, n as _, r as v, t as y } from "./app-shell-ZK5RWdo6.js";
|
|
6
|
+
import { i as b, n as x, r as S, t as C } from "./page-B5dTH9gE.js";
|
|
7
|
+
import { n as w, r as T, t as E } from "./settings-CQW3b-Cu.js";
|
|
8
|
+
import { a as D, c as O, d as k, i as A, l as j, n as M, o as N, r as P, s as F, t as I, u as L } from "./header-BOefOKd1.js";
|
|
9
|
+
import { a as R, i as z, n as B, o as V, r as H, s as U, t as W } from "./navigation-HJf5zxlH.js";
|
|
10
|
+
import { a as G, c as K, d as q, f as J, i as Y, l as X, n as Z, o as Q, p as $, r as ee, s as te, t as ne, u as re } from "./sidebar-d7Dg80ln.js";
|
|
11
|
+
import { _ as ie, a as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, r as _e, s as ve, t as ye, u as be } from "./auth-CYxKfo69.js";
|
|
12
|
+
import { a as xe, i as Se, n as Ce, o as we, r as Te, s as Ee, t as De } from "./workspace-DH0v0KcB.js";
|
|
13
13
|
export { y as AppLayout, Y as AppSidebar, E as AsideNavShell, ie as AuthCard, fe as AuthFooterLinks, _e as AuthForm, de as AuthFormRow, ye as AuthMethodSwitch, ae as AuthShell, ve as AuthSocialProviderButton, oe as AuthSocialProviders, he as AuthSplitPanel, V as BreadcrumbProgress, R as CategoryNav, f as Container, L as Header, k as HeaderBreadcrumbs, D as HeaderGlobalSearchTrigger, I as HeaderNotifications, N as HeaderSearch, A as HeaderToolButton, P as HeaderToolPopover, M as HeaderUserMenu, $ as LayoutSidebar, q as LayoutSidebarProvider, i as NavBadge, S as Page, C as PageActions, b as PageHeader, m as PageViewport, p as Section, H as SectionNav, w as SettingsShell, W as SideNav, K as SidebarGroupedNavigation, c as SidebarIcon, v as SidebarInsetLayout, te as SidebarLogo, ee as SidebarNavigation, Q as SidebarNavigationFooter, ne as SidebarNavigationUser, G as SidebarWorkspaceDropdown, _ as StackedLayout, g as TopbarSidebarLayout, h as TwoColumnLayout, De as WorkspaceLayout, Ce as WorkspaceLocaleStrip, Te as WorkspaceNav, Se as WorkspaceRecordHeader, T as defaultAsideNavShellStrings, be as defaultAuthFooterLinksStrings, se as defaultAuthMethodSwitchStrings, ce as defaultAuthShellStrings, ge as defaultAuthSocialProvidersStrings, U as defaultBreadcrumbProgressStrings, F as defaultHeaderNotificationsStrings, O as defaultHeaderSearchStrings, j as defaultHeaderUserMenuStrings, x as defaultPageActionsStrings, t as defaultRenderLink, z as defaultSectionNavStrings, B as defaultSideNavStrings, X as defaultSidebarNavigationStrings, Z as defaultSidebarNavigationUserStrings, re as defaultSidebarWorkspaceDropdownStrings, xe as defaultWorkspaceLocaleStripStrings, we as defaultWorkspaceNavStrings, Ee as defaultWorkspaceRecordHeaderStrings, n as getNavKey, s as getNavLabel, pe as isAuthBrandConfig, l as isPathMatch, e as resolveLayoutLinkRenderer, a as resolveNavBadge, d as toPath, o as useActivePath, ue as useAuthLinks, me as useAuthMethodSwitch, le as useAuthShell, u as useCommandShortcut, r as useLayoutLinkRenderer, J as useLayoutSidebar };
|
|
@@ -60,4 +60,5 @@ export declare const affordanceGeometry: {
|
|
|
60
60
|
};
|
|
61
61
|
readonly overlayClose: "absolute top-[calc(var(--surface-y)*var(--space-scale)+(var(--text-base)*var(--leading-snug)-var(--height-action)*8/9*var(--density-scale))/2)] end-[calc(var(--surface-x)*var(--space-scale))]";
|
|
62
62
|
readonly overlayHeader: "[[data-slot$=-content]:has(>[data-overlay-close])>&]:pe-[calc(var(--surface-x)*var(--space-scale)+var(--height-action)*8/9*var(--density-scale)+0.5rem*var(--space-scale))]";
|
|
63
|
+
readonly overlayHeaderCentered: "[[data-slot$=-content]:has(>[data-overlay-close])>&]:ps-[calc(var(--surface-x)*var(--space-scale)+var(--height-action)*8/9*var(--density-scale)+0.5rem*var(--space-scale))]";
|
|
63
64
|
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one clear glyph: a plain X drawn at `fieldAffordanceRecipes.icon`, never a
|
|
3
|
+
* circled X, so Input, Textarea, Cascader and Combobox clear actions match.
|
|
4
|
+
*/
|
|
5
|
+
export declare const FieldClearGlyph: import("lucide-react").LucideIcon;
|
|
1
6
|
/** Field affordances have one target/clearance owner. Primitives own behavior. */
|
|
2
7
|
export declare const fieldAffordanceRecipes: {
|
|
3
8
|
/** Content-sized targets for a chip/reaction that already owns its chrome. */
|
|
4
9
|
readonly inline: "box-border m-0 inline-flex shrink-0 items-center justify-center rounded-inner border-0 bg-transparent p-0 font-sans outline-none transition-[color,box-shadow]";
|
|
5
10
|
readonly target: "box-border border-0 bg-transparent font-sans inline-flex size-control-clear shrink-0 items-center justify-center rounded-inner p-0 outline-none transition-[color,box-shadow]";
|
|
6
|
-
readonly focus: "focus-visible:z-10 focus-visible:
|
|
11
|
+
readonly focus: "focus-visible:z-10 focus-visible:inset-ring focus-visible:inset-ring-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50";
|
|
7
12
|
readonly clear: "text-muted-foreground hover:text-foreground";
|
|
8
13
|
readonly toggle: "text-muted-foreground hover:bg-accent hover:text-accent-foreground";
|
|
9
14
|
readonly icon: "size-control-clear-icon shrink-0 max-h-full max-w-full";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/** Native fields and field-shaped triggers share one frame-state contract.
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* Focus is the shared frame recipe: the 1px frame takes --ring inside a soft
|
|
3
|
+
* halo. Validation marks the frame with the destructive border; a focused
|
|
4
|
+
* invalid field keeps that border and shows the halo in the destructive color.
|
|
5
|
+
* Editable values retain the semantic foreground. Compound fields apply the same
|
|
6
|
+
* state to their outer frame, never each child.
|
|
6
7
|
*/
|
|
7
8
|
export declare const fieldStateRecipes: {
|
|
8
|
-
readonly focus: "focus-visible:border-
|
|
9
|
-
readonly invalid: "aria-invalid:
|
|
10
|
-
readonly groupFocus: "has-[[data-slot=input-group-control]:focus-visible]:border-
|
|
11
|
-
readonly groupInvalid: "has-[[data-slot][aria-invalid=true]]:
|
|
9
|
+
readonly focus: "focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50";
|
|
10
|
+
readonly invalid: "aria-invalid:border-destructive aria-invalid:focus-visible:border-destructive aria-invalid:focus-visible:ring-destructive/30 dark:aria-invalid:focus-visible:ring-destructive/50";
|
|
11
|
+
readonly groupFocus: "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50";
|
|
12
|
+
readonly groupInvalid: "has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:has-[[data-slot=input-group-control]:focus-visible]:border-destructive has-[[data-slot][aria-invalid=true]]:has-[[data-slot=input-group-control]:focus-visible]:ring-destructive/30 dark:has-[[data-slot][aria-invalid=true]]:has-[[data-slot=input-group-control]:focus-visible]:ring-destructive/50";
|
|
12
13
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one focus indicator for every interactive element: a crisp 1px edge in
|
|
3
|
+
* --ring inside a soft 3px halo of --ring at 50%. The edge carries the tested
|
|
4
|
+
* 3:1 contrast; the halo makes focus stand out without reading as a heavier
|
|
5
|
+
* border. Each recipe draws the same indicator for a different element shape.
|
|
6
|
+
*
|
|
7
|
+
* Other spellings of the same state (a `has-[…:focus-visible]` frame, a
|
|
8
|
+
* `group-focus-visible` child, a `data-[focused=true]` day) use this vocabulary:
|
|
9
|
+
* `ring-3`, `ring-ring/50` and a full-strength `border-ring`, `inset-ring-ring` or
|
|
10
|
+
* `outline-ring` edge. Design lint rejects any other focus ring width, offset or
|
|
11
|
+
* halo strength.
|
|
12
|
+
*/
|
|
13
|
+
export declare const focusRecipes: {
|
|
14
|
+
/** Bordered controls (buttons, fields, triggers, checkboxes, switches, tabs): the 1px border becomes the edge. */
|
|
15
|
+
readonly frame: "focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50";
|
|
16
|
+
/** Borderless rows, links, tiles and regions: an inset 1px edge stands in for the border. */
|
|
17
|
+
readonly edge: "focus-visible:inset-ring focus-visible:inset-ring-ring focus-visible:ring-3 focus-visible:ring-ring/50";
|
|
18
|
+
/** Inline text (links, text buttons) has no padding: the edge is an outline just outside the glyphs. */
|
|
19
|
+
readonly text: "focus-visible:outline-solid focus-visible:outline-1 focus-visible:outline-offset-0 focus-visible:outline-ring focus-visible:ring-3 focus-visible:ring-ring/50";
|
|
20
|
+
/** Inside a clipped group or scroll viewport: the edge and the halo are both drawn inside. */
|
|
21
|
+
readonly inset: "focus-visible:inset-ring focus-visible:inset-ring-ring focus-visible:ring-3 focus-visible:ring-inset focus-visible:ring-ring/50";
|
|
22
|
+
/** Sidebar rows draw the edge with the sidebar's own focus role. */
|
|
23
|
+
readonly sidebar: "focus-visible:inset-ring focus-visible:inset-ring-sidebar-ring focus-visible:ring-3 focus-visible:ring-sidebar-ring/50";
|
|
24
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interaction fills, one recipe per element shape. The theme documents --accent as
|
|
3
|
+
* the hover and selected-row fill and --muted as a passive region, so every
|
|
4
|
+
* clickable row, toggle, table and segmented track agrees on what hover, selection
|
|
5
|
+
* and the current location look like. Design lint rejects other interaction fills.
|
|
6
|
+
*/
|
|
7
|
+
export declare const interactionRecipes: {
|
|
8
|
+
/** Clickable rows (navigation, lists, trees, results, disclosure triggers) and ghost actions. */
|
|
9
|
+
readonly rowHover: "hover:bg-accent hover:text-accent-foreground";
|
|
10
|
+
/** A selected or keyboard-highlighted row: the hover fill held. */
|
|
11
|
+
readonly rowSelected: "bg-accent text-accent-foreground";
|
|
12
|
+
/** The current location: the selected fill plus medium weight, so a hover never reads as current. */
|
|
13
|
+
readonly rowCurrent: "bg-accent text-accent-foreground font-medium";
|
|
14
|
+
/** Toggles show their pressed state by fill alone, so hover is the lighter muted fill. */
|
|
15
|
+
readonly toggleHover: "hover:bg-muted hover:text-foreground";
|
|
16
|
+
readonly togglePressed: "bg-accent text-accent-foreground";
|
|
17
|
+
/** The toggle hover on a Button, whose complete hover selector would otherwise show the pressed fill. */
|
|
18
|
+
readonly toggleHoverButton: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-muted [&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:text-foreground";
|
|
19
|
+
/** Wide tabular rows stay quieter: stripe, hover and selection step up one tint at a time. */
|
|
20
|
+
readonly tableHead: "bg-muted/50";
|
|
21
|
+
readonly tableStripe: "bg-muted/30";
|
|
22
|
+
readonly tableRowHover: "hover:bg-muted/50";
|
|
23
|
+
readonly tableRowSelected: "data-[state=selected]:bg-muted";
|
|
24
|
+
/** Media and choice tiles: hover strengthens the resting edge to the control boundary; selection draws primary. */
|
|
25
|
+
readonly tileHover: "hover:border-input";
|
|
26
|
+
/** Segments on a muted track: the active one is lifted, the others change colour only. */
|
|
27
|
+
readonly segmentActive: "bg-card text-foreground shadow-sm";
|
|
28
|
+
readonly segmentInactive: "text-muted-foreground hover:text-foreground";
|
|
29
|
+
/** The same inactive segment rendered by a ghost Button: its complete hover and press selectors are cleared too. */
|
|
30
|
+
readonly segmentInactiveButton: "text-muted-foreground hover:text-foreground [&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-transparent [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-transparent";
|
|
31
|
+
/** The active segment rendered by a ghost Button stays lifted under hover and press instead of taking the Button's fill. */
|
|
32
|
+
readonly segmentActiveButton: "bg-card text-foreground shadow-sm hover:text-foreground [&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-card [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-card";
|
|
33
|
+
/** A solid Button marking the current location holds its fill: no hover or press filter. */
|
|
34
|
+
readonly currentButtonHold: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:brightness-100 [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:brightness-100";
|
|
35
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One stacking scale. Local overlap inside a component is raised; sticky regions
|
|
3
|
+
* stack under the app chrome; popups and modal layers sit above the page. Local
|
|
4
|
+
* ordering may also use z-0, z-[1] and z-[-1]. Design lint rejects other layers.
|
|
5
|
+
*/
|
|
6
|
+
export declare const layerRecipes: {
|
|
7
|
+
/** Overlap inside one component: a badge on a tile, an action over media. */
|
|
8
|
+
readonly raised: "z-10";
|
|
9
|
+
/** Sticky headers and toolbars inside a scroll region. */
|
|
10
|
+
readonly sticky: "z-20";
|
|
11
|
+
/** Sticky parts that must stay above other sticky ones: a sticky corner cell or footer. */
|
|
12
|
+
readonly stickyOver: "z-30";
|
|
13
|
+
/** Application chrome: the shell header and floating panels. */
|
|
14
|
+
readonly chrome: "z-40";
|
|
15
|
+
/** Popups, menus, tooltips and modal layers. */
|
|
16
|
+
readonly overlay: "z-50";
|
|
17
|
+
/** A popup portaled into a consumer container clears the modal layer it opened from. */
|
|
18
|
+
readonly nestedOverlay: "z-[100]";
|
|
19
|
+
};
|
|
@@ -5,4 +5,5 @@ export declare const motionRecipes: {
|
|
|
5
5
|
readonly popup: `transition-[opacity,scale,translate] duration-150 ease-out data-ending-style:duration-100 data-starting-style:opacity-0 data-ending-style:opacity-0 data-starting-style:scale-95 data-ending-style:scale-95 ${string} motion-reduce:transition-none motion-reduce:duration-0 motion-reduce:data-ending-style:duration-0`;
|
|
6
6
|
readonly disclosure: "overflow-hidden transition-[height,padding-block] duration-200 ease-out data-starting-style:h-0 data-ending-style:h-0 data-starting-style:py-0! data-ending-style:py-0! motion-reduce:transition-none motion-reduce:duration-0 motion-reduce:data-ending-style:duration-0";
|
|
7
7
|
readonly chevron: "transition-transform duration-200 ease-out motion-reduce:transition-none motion-reduce:duration-0 motion-reduce:data-ending-style:duration-0";
|
|
8
|
+
readonly dock: "transition-[opacity,translate] duration-150 ease-out starting:opacity-0 starting:translate-y-space-lg motion-reduce:transition-none motion-reduce:duration-0 motion-reduce:data-ending-style:duration-0";
|
|
8
9
|
};
|
|
@@ -5,4 +5,5 @@
|
|
|
5
5
|
export declare const overlayAnatomyRecipes: {
|
|
6
6
|
readonly close: "absolute top-[calc(var(--surface-y)*var(--space-scale)+(var(--text-base)*var(--leading-snug)-var(--height-action)*8/9*var(--density-scale))/2)] end-[calc(var(--surface-x)*var(--space-scale))]";
|
|
7
7
|
readonly header: "[[data-slot$=-content]:has(>[data-overlay-close])>&]:pe-[calc(var(--surface-x)*var(--space-scale)+var(--height-action)*8/9*var(--density-scale)+0.5rem*var(--space-scale))]";
|
|
8
|
+
readonly headerCentered: "[[data-slot$=-content]:has(>[data-overlay-close])>&]:ps-[calc(var(--surface-x)*var(--space-scale)+var(--height-action)*8/9*var(--density-scale)+0.5rem*var(--space-scale))]";
|
|
8
9
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Schemes an image `src` may use: web URLs and same-document `blob:` previews. */
|
|
2
|
+
export declare const SAFE_IMAGE_SCHEMES: readonly ["http", "https", "blob"];
|
|
3
|
+
/**
|
|
4
|
+
* The one image-source policy shared by the editor and read-only rich text.
|
|
5
|
+
* Returns the source when it is a web URL, a `blob:` preview or a relative
|
|
6
|
+
* path, and `undefined` otherwise: script, `data:` and other schemes and
|
|
7
|
+
* protocol-relative (`//host`) URLs are refused. Control characters and
|
|
8
|
+
* whitespace inside a scheme are ignored, so `java\tscript:` is still refused.
|
|
9
|
+
*/
|
|
10
|
+
export declare function safeImageSrc(value: unknown): string | undefined;
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
+
import type { Root } from 'hast';
|
|
2
|
+
export interface SanitizeHtmlOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Keeps `<img>` with `src`, `alt`, `title`, `width` and `height` when its
|
|
5
|
+
* source passes `safeImageSrc`; an image without a safe source is removed.
|
|
6
|
+
* Default: `false`, which removes every image.
|
|
7
|
+
*/
|
|
8
|
+
images?: boolean;
|
|
9
|
+
}
|
|
1
10
|
/**
|
|
2
11
|
* Sanitize package-rendered rich text with an intentionally small HTML
|
|
3
12
|
* vocabulary. Styling, event handlers, embedded media, and protocol-relative
|
|
4
|
-
* URLs are excluded
|
|
5
|
-
*
|
|
13
|
+
* URLs are excluded; images only with `options.images` and a safe source.
|
|
14
|
+
* Mention identity attributes remain available so the Mentions feature can
|
|
15
|
+
* replace serialized references with React components.
|
|
6
16
|
*/
|
|
7
|
-
export declare function sanitizeHtml(input: string): string;
|
|
17
|
+
export declare function sanitizeHtml(input: string, options?: SanitizeHtmlOptions): string;
|
|
18
|
+
/** The sanitized tree behind `sanitizeHtml`, for renderers that substitute elements. */
|
|
19
|
+
export declare function sanitizeHtmlTree(input: string, options?: SanitizeHtmlOptions): Root;
|
|
8
20
|
export default sanitizeHtml;
|
|
@@ -6,6 +6,7 @@ export declare const surfaceDividerRecipes: {
|
|
|
6
6
|
readonly shell: "border border-border";
|
|
7
7
|
readonly header: "border-b border-border";
|
|
8
8
|
readonly footer: "border-t border-border";
|
|
9
|
+
readonly ring: "ring-4 ring-border/30";
|
|
9
10
|
};
|
|
10
11
|
readonly anchored: {
|
|
11
12
|
readonly shell: "border border-border";
|
|
@@ -16,17 +17,56 @@ export declare const surfaceDividerRecipes: {
|
|
|
16
17
|
readonly modal: {
|
|
17
18
|
readonly shell: "border border-border/70";
|
|
18
19
|
readonly edge: "border-border/70 data-[side=left]:border-r data-[side=right]:border-l data-[side=top]:border-b data-[side=bottom]:border-t";
|
|
19
|
-
readonly
|
|
20
|
+
readonly region: "border-border/60 [[data-modal-region]:not(.sr-only)~&]:border-t";
|
|
20
21
|
};
|
|
21
22
|
readonly sidebar: {
|
|
22
23
|
readonly footer: "border-t border-sidebar-border";
|
|
23
24
|
};
|
|
24
25
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
26
|
+
/** Each region owns its full inset once and the shell adds none, so the rules
|
|
27
|
+
* between regions span the surface edge to edge (header, body and footer read as
|
|
28
|
+
* three bands). The body scrolls between the pinned header and footer; scrolling
|
|
29
|
+
* and alignment remain with the family. */
|
|
28
30
|
export declare const modalRegionRecipes: {
|
|
29
|
-
readonly header: "shrink-0
|
|
30
|
-
readonly body: "min-h-0 flex-1 overflow-y-auto
|
|
31
|
-
readonly footer: "shrink-0 flex-wrap gap-space-sm
|
|
31
|
+
readonly header: "shrink-0 p-surface text-start border-border/60 [[data-modal-region]:not(.sr-only)~&]:border-t";
|
|
32
|
+
readonly body: "min-h-0 flex-1 overflow-y-auto p-surface border-border/60 [[data-modal-region]:not(.sr-only)~&]:border-t";
|
|
33
|
+
readonly footer: "shrink-0 flex-wrap gap-space-sm p-surface border-border/60 [[data-modal-region]:not(.sr-only)~&]:border-t";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Neutral fills, one strength per role, so quiet regions, strips, tracks, chips and
|
|
37
|
+
* neutral markers read alike in every family. Design lint rejects other strengths.
|
|
38
|
+
* - `wash`: a quiet region inside a surface: wells, empty states, stripes, media placeholders.
|
|
39
|
+
* - `band`: a header, toolbar or footer strip, and a soft icon tile.
|
|
40
|
+
* - `track`: the solid track behind segments, meters and progress.
|
|
41
|
+
* - `chip`: a neutral chip or icon tile that reads on any surface, tinted or not.
|
|
42
|
+
* - `chipOnInverse`: the same chip on an inverse surface.
|
|
43
|
+
* - `marker`: a neutral dot or filled meter segment; `markerIdle`: an inactive indicator.
|
|
44
|
+
* Floating chips and lifted panels use an opaque surface instead of a translucent one.
|
|
45
|
+
*/
|
|
46
|
+
export declare const neutralFillRecipes: {
|
|
47
|
+
readonly wash: "bg-muted/30";
|
|
48
|
+
readonly band: "bg-muted/50";
|
|
49
|
+
readonly track: "bg-muted";
|
|
50
|
+
readonly chip: "bg-foreground/8";
|
|
51
|
+
readonly chipOnInverse: "bg-background/10";
|
|
52
|
+
readonly marker: "bg-muted-foreground";
|
|
53
|
+
readonly markerIdle: "bg-muted-foreground/40";
|
|
54
|
+
};
|
|
55
|
+
/** A key cap for shortcut hints: a solid track-coloured chip with the compact secondary text role. */
|
|
56
|
+
export declare const kbdRecipe = "pointer-events-none inline-flex h-5 w-fit min-w-5 shrink-0 select-none items-center justify-center gap-space-2xs rounded-radius-xs bg-muted px-space-xs font-sans text-xs font-medium leading-none text-muted-foreground";
|
|
57
|
+
/**
|
|
58
|
+
* Elevation, one theme shadow per role; the theme owns the shadow ladder itself.
|
|
59
|
+
* - `resting`: tiles, rows and table frames that sit on a surface.
|
|
60
|
+
* - `card`: cards, lifted segments, thumbs and small controls floating over media.
|
|
61
|
+
* - `raised`: raised cards, hover lifts, anchored popups and controls over media.
|
|
62
|
+
* - `lifted`: dragged items, toasts and drawers.
|
|
63
|
+
* - `modal`: dialogs and command palettes.
|
|
64
|
+
* `shadow-none` clears elevation. Box-shadow divider lines draw var(--border) instead.
|
|
65
|
+
*/
|
|
66
|
+
export declare const elevationRecipes: {
|
|
67
|
+
readonly resting: "shadow-xs";
|
|
68
|
+
readonly card: "shadow-sm";
|
|
69
|
+
readonly raised: "shadow-md";
|
|
70
|
+
readonly lifted: "shadow-lg";
|
|
71
|
+
readonly modal: "shadow-xl";
|
|
32
72
|
};
|
|
@@ -44,9 +44,6 @@ export declare const tokenClassGroups: {
|
|
|
44
44
|
mt: {
|
|
45
45
|
mt: string[];
|
|
46
46
|
}[];
|
|
47
|
-
my: {
|
|
48
|
-
my: string[];
|
|
49
|
-
}[];
|
|
50
47
|
"space-x": {
|
|
51
48
|
"space-x": string[];
|
|
52
49
|
}[];
|
|
@@ -62,6 +59,12 @@ export declare const tokenClassGroups: {
|
|
|
62
59
|
py: {
|
|
63
60
|
py: string[];
|
|
64
61
|
}[];
|
|
62
|
+
inset: {
|
|
63
|
+
inset: string[];
|
|
64
|
+
}[];
|
|
65
|
+
my: {
|
|
66
|
+
my: string[];
|
|
67
|
+
}[];
|
|
65
68
|
bottom: {
|
|
66
69
|
bottom: string[];
|
|
67
70
|
}[];
|
|
@@ -98,9 +101,6 @@ export declare const tokenClassGroups: {
|
|
|
98
101
|
me: {
|
|
99
102
|
me: string[];
|
|
100
103
|
}[];
|
|
101
|
-
inset: {
|
|
102
|
-
inset: string[];
|
|
103
|
-
}[];
|
|
104
104
|
"inset-x": {
|
|
105
105
|
"inset-x": string[];
|
|
106
106
|
}[];
|
|
@@ -140,5 +140,8 @@ export declare const tokenClassGroups: {
|
|
|
140
140
|
start: {
|
|
141
141
|
start: string[];
|
|
142
142
|
}[];
|
|
143
|
+
"translate-y": {
|
|
144
|
+
"translate-y": string[];
|
|
145
|
+
}[];
|
|
143
146
|
};
|
|
144
147
|
export declare const tokenCandidates: string[][];
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One tint scale for every status tone. The contrast contract tests each tone's ink
|
|
3
|
+
* on its own tint (20%, destructive 10%), so strengths live here, not in each
|
|
4
|
+
* component:
|
|
5
|
+
* - `wash` tints a large surface (alerts, callouts, highlighted rows) and stays
|
|
6
|
+
* subtle; the saturated hues (info, destructive, primary) wash at 5%.
|
|
7
|
+
* - `tint` fills chips, badges and icon tiles that carry the tone's ink.
|
|
8
|
+
* - `edge`, `halo` and `line` draw a toned border, ring and connector.
|
|
9
|
+
* - `solid` fills dots, bars and markers.
|
|
10
|
+
* Design lint rejects status tints spelled anywhere else.
|
|
11
|
+
*/
|
|
12
|
+
export declare const toneRecipes: {
|
|
13
|
+
readonly info: {
|
|
14
|
+
readonly wash: "bg-info/5";
|
|
15
|
+
readonly tint: "bg-info/20";
|
|
16
|
+
readonly edge: "border-info/30";
|
|
17
|
+
readonly halo: "ring-info/30";
|
|
18
|
+
readonly line: "bg-info/30";
|
|
19
|
+
readonly ink: "text-info";
|
|
20
|
+
readonly solid: "bg-info";
|
|
21
|
+
};
|
|
22
|
+
readonly success: {
|
|
23
|
+
readonly wash: "bg-success/10";
|
|
24
|
+
readonly tint: "bg-success/20";
|
|
25
|
+
readonly edge: "border-success/30";
|
|
26
|
+
readonly halo: "ring-success/30";
|
|
27
|
+
readonly line: "bg-success/30";
|
|
28
|
+
readonly ink: "text-success";
|
|
29
|
+
readonly solid: "bg-success";
|
|
30
|
+
};
|
|
31
|
+
readonly warning: {
|
|
32
|
+
readonly wash: "bg-warning/10";
|
|
33
|
+
readonly tint: "bg-warning/20";
|
|
34
|
+
readonly edge: "border-warning/40";
|
|
35
|
+
readonly halo: "ring-warning/40";
|
|
36
|
+
readonly line: "bg-warning/40";
|
|
37
|
+
readonly ink: "text-warning-accent";
|
|
38
|
+
readonly solid: "bg-warning";
|
|
39
|
+
};
|
|
40
|
+
readonly destructive: {
|
|
41
|
+
readonly wash: "bg-destructive/5";
|
|
42
|
+
readonly tint: "bg-destructive/10";
|
|
43
|
+
readonly edge: "border-destructive/30";
|
|
44
|
+
readonly halo: "ring-destructive/30";
|
|
45
|
+
readonly line: "bg-destructive/30";
|
|
46
|
+
readonly ink: "text-destructive";
|
|
47
|
+
readonly solid: "bg-destructive";
|
|
48
|
+
};
|
|
49
|
+
readonly primary: {
|
|
50
|
+
readonly wash: "bg-primary/5";
|
|
51
|
+
readonly tint: "bg-primary/20";
|
|
52
|
+
readonly edge: "border-primary/30";
|
|
53
|
+
readonly halo: "ring-primary/30";
|
|
54
|
+
readonly line: "bg-primary/30";
|
|
55
|
+
readonly ink: "text-primary-accent";
|
|
56
|
+
readonly solid: "bg-primary";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export type ToneRecipeName = keyof typeof toneRecipes;
|
|
60
|
+
/**
|
|
61
|
+
* Inline marks inside running text: a search match, and an edit's removed and
|
|
62
|
+
* added values. Each is a tone tint behind the run, never a box around it. A
|
|
63
|
+
* match often sits inside a word, so it adds no inline padding that would split it.
|
|
64
|
+
*/
|
|
65
|
+
export declare const markRecipes: {
|
|
66
|
+
readonly match: "rounded-radius-xs text-foreground bg-warning/20";
|
|
67
|
+
readonly removed: "rounded-radius-sm px-space-2xs line-through bg-destructive/10 text-destructive";
|
|
68
|
+
readonly added: "rounded-radius-sm px-space-2xs bg-success/20 text-success";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Sequential data ramps: an empty step, then rising strengths of one hue. They
|
|
72
|
+
* encode quantity, not status, so they live apart from the tint scale above.
|
|
73
|
+
*/
|
|
74
|
+
export declare const rampRecipes: {
|
|
75
|
+
/** Activity heatmap cells (SVG fills): empty and four levels. */
|
|
76
|
+
readonly activity: readonly ["fill-muted", "fill-success/20", "fill-success/40", "fill-success/65", "fill-success"];
|
|
77
|
+
/** Distribution ruler segments: empty, low, medium and high. */
|
|
78
|
+
readonly density: readonly ["bg-muted", "bg-primary/25", "bg-primary/55", "bg-primary"];
|
|
79
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonConfigSlice, BadgeConfigSlice, CardConfigSlice, CommentsDefaultsConfig, DatesConfig, DensityConfigSlice, FormattingConfigSlice, ItemConfigSlice, MoneyConfig, SpinnerConfigSlice, ToastConfig, TypographyConfigSlice } from './types';
|
|
1
|
+
import type { ButtonConfigSlice, BadgeConfigSlice, CardConfigSlice, CommentsDefaultsConfig, DatesConfig, DensityConfigSlice, FormattingConfigSlice, ItemConfigSlice, MoneyConfig, OverlayConfigSlice, SpinnerConfigSlice, ToastConfig, TypographyConfigSlice } from './types';
|
|
2
2
|
export declare const useDensityConfig: () => DensityConfigSlice;
|
|
3
3
|
export declare const useFormattingConfig: () => FormattingConfigSlice;
|
|
4
4
|
export declare const useMoneyConfig: () => MoneyConfig;
|
|
@@ -9,5 +9,6 @@ export declare const useItemConfig: () => ItemConfigSlice;
|
|
|
9
9
|
export declare const useButtonConfig: () => ButtonConfigSlice;
|
|
10
10
|
export declare const useBadgeConfig: () => BadgeConfigSlice;
|
|
11
11
|
export declare const useCardConfig: () => CardConfigSlice;
|
|
12
|
+
export declare const useOverlayConfig: () => OverlayConfigSlice;
|
|
12
13
|
export declare const useToastConfig: () => ToastConfig;
|
|
13
14
|
export declare const useSpinnerConfig: () => SpinnerConfigSlice;
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
* arrays, registries used by one specific surface) stay as direct props.
|
|
20
20
|
*/
|
|
21
21
|
export { UIProvider, type UIProviderProps } from './provider';
|
|
22
|
-
export { useDensityConfig, useFormattingConfig, useMoneyConfig, useDatesConfig, useCommentsConfig, useTypographyConfig, useItemConfig, useButtonConfig, useBadgeConfig, useCardConfig, useToastConfig, useSpinnerConfig, } from './hooks';
|
|
22
|
+
export { useDensityConfig, useFormattingConfig, useMoneyConfig, useDatesConfig, useCommentsConfig, useTypographyConfig, useItemConfig, useButtonConfig, useBadgeConfig, useCardConfig, useOverlayConfig, useToastConfig, useSpinnerConfig, } from './hooks';
|
|
23
23
|
export { DEFAULT_UI_CONFIG } from './defaults';
|
|
24
24
|
export { isComponentScale, resolveComponentScale } from './scale';
|
|
25
|
-
export type { UIConfig, ResolvedUIConfig, DensityConfigSlice, FormattingConfigSlice, MoneyConfig, DatesConfig, CommentsDefaultsConfig, TypographyConfigSlice, ItemConfigSlice, ButtonConfigSlice, BadgeConfigSlice, CardConfigSlice, ToastConfig, SpinnerConfigSlice, WeekDay, ComponentScale, TableSize, TextSize, CardSurface, BadgeSize, BadgeTone, ItemSize, ItemVariant, FormControlSize, FormLabelSize, ButtonStyle, ButtonTone, ButtonSize, CardTitleSize, ToastPosition, ToastTheme, MoneyFormatMode, MoneyDisplayMode, MoneyDualLayout, CurrencyCode, } from './types';
|
|
25
|
+
export type { UIConfig, ResolvedUIConfig, DensityConfigSlice, FormattingConfigSlice, MoneyConfig, DatesConfig, CommentsDefaultsConfig, TypographyConfigSlice, ItemConfigSlice, ButtonConfigSlice, BadgeConfigSlice, CardConfigSlice, OverlayConfigSlice, OverlayAlign, ToastConfig, SpinnerConfigSlice, WeekDay, ComponentScale, TableSize, TextSize, CardSurface, BadgeSize, BadgeTone, ItemSize, ItemVariant, FormControlSize, FormLabelSize, ButtonStyle, ButtonTone, ButtonSize, CardTitleSize, ToastPosition, ToastTheme, MoneyFormatMode, MoneyDisplayMode, MoneyDualLayout, CurrencyCode, } from './types';
|
|
26
26
|
export { ThemeScope, type ThemeScopeProps } from '../theme-scope';
|
|
27
27
|
/** Base UI keyboard/positioning direction; pair with the DOM's dir attribute. */
|
|
28
28
|
export { DirectionProvider, type DirectionProviderProps } from '@base-ui/react/direction-provider';
|
|
@@ -41,6 +41,8 @@ export type ButtonSize = ComponentScale;
|
|
|
41
41
|
export type CardTitleSize = ComponentScale;
|
|
42
42
|
export type ToastPosition = 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center';
|
|
43
43
|
export type ToastTheme = 'light' | 'dark' | 'system';
|
|
44
|
+
/** Alignment of an overlay's heading (icon, title, description) and its actions. */
|
|
45
|
+
export type OverlayAlign = 'start' | 'center';
|
|
44
46
|
/** ------------------------------------------------------------------ */
|
|
45
47
|
/** ------------------------------------------------------------------ */
|
|
46
48
|
/** ISO 4217 currency code. The library never enumerates currency codes —
|
|
@@ -119,6 +121,12 @@ export interface CardConfigSlice {
|
|
|
119
121
|
/** Whether Card footers render a top divider by default. Explicit false still wins. */
|
|
120
122
|
defaultFooterDivider?: boolean;
|
|
121
123
|
}
|
|
124
|
+
export interface OverlayConfigSlice {
|
|
125
|
+
/** Default `ConfirmDialog` alignment. Per-dialog `align` still wins. Default: `'center'`. */
|
|
126
|
+
defaultConfirmAlign?: OverlayAlign;
|
|
127
|
+
/** Default `ActionDialog` alignment. Per-dialog `align` still wins. Default: `'start'`. */
|
|
128
|
+
defaultDialogAlign?: OverlayAlign;
|
|
129
|
+
}
|
|
122
130
|
export interface ToastConfig {
|
|
123
131
|
/** Default toast lifetime in ms. */
|
|
124
132
|
duration?: number;
|
|
@@ -149,6 +157,7 @@ export interface UIConfig {
|
|
|
149
157
|
button?: ButtonConfigSlice;
|
|
150
158
|
badge?: BadgeConfigSlice;
|
|
151
159
|
card?: CardConfigSlice;
|
|
160
|
+
overlay?: OverlayConfigSlice;
|
|
152
161
|
toast?: ToastConfig;
|
|
153
162
|
spinner?: SpinnerConfigSlice;
|
|
154
163
|
}
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../utils-
|
|
1
|
+
import { t as e } from "../utils-l5LpDw2z.js";
|
|
2
2
|
export { e as cn };
|