themelia-react-ui 2.0.0 → 2.0.2
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 +527 -0
- package/README.md +47 -14
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/accordion-Cjb6sx0G.js +208 -0
- package/dist/accordion-Cjb6sx0G.js.map +1 -0
- package/dist/action-menu-CllU52Mm.js +280 -0
- package/dist/action-menu-CllU52Mm.js.map +1 -0
- package/dist/affordance-geometry.generated-tF36bREk.js +140 -0
- package/dist/affordance-geometry.generated-tF36bREk.js.map +1 -0
- package/dist/ai-artifact-DvTwDVyL.js +1148 -0
- package/dist/ai-artifact-DvTwDVyL.js.map +1 -0
- package/dist/{app-shell-BE_j8-AT.js → app-shell-C4FhvCqF.js} +5 -5
- package/dist/{app-shell-BE_j8-AT.js.map → app-shell-C4FhvCqF.js.map} +1 -1
- package/dist/attachment-BxDfL2mw.js +246 -0
- package/dist/attachment-BxDfL2mw.js.map +1 -0
- package/dist/{auth-M3vGMgDR.js → auth-ax2BqjrI.js} +241 -235
- package/dist/auth-ax2BqjrI.js.map +1 -0
- package/dist/{avatar-djdaaQ_s.js → avatar-DAPlDvhJ.js} +67 -66
- package/dist/avatar-DAPlDvhJ.js.map +1 -0
- package/dist/badge-HpFqoqSY.js +93 -0
- package/dist/badge-HpFqoqSY.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 +50 -46
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +69 -81
- 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 +2 -2
- 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 +20 -20
- 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 +216 -220
- 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 +79 -2
- package/dist/base/spinner.js.map +1 -0
- 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 +46 -45
- 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-DnUJ21NQ.js +105 -0
- package/dist/batch-action-bar-DnUJ21NQ.js.map +1 -0
- package/dist/blocks/admin.js +171 -169
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +308 -285
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +626 -589
- 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 +2051 -1329
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +3 -2
- package/dist/blocks/onboarding.js +68 -58
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +27 -26
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +1 -1
- package/dist/breadcrumbs-C-oqs1sQ.js +129 -0
- package/dist/breadcrumbs-C-oqs1sQ.js.map +1 -0
- package/dist/{button-R9CCoH7A.js → button-DVzspB_G.js} +15 -14
- package/dist/button-DVzspB_G.js.map +1 -0
- package/dist/{button-BS3KDg00.js → buttons-DPZekJFu.js} +208 -216
- package/dist/buttons-DPZekJFu.js.map +1 -0
- package/dist/cards-BaBZR-AU.js +68 -0
- package/dist/cards-BaBZR-AU.js.map +1 -0
- package/dist/{chart-DwYRKKc-.js → chart-ZOYyK2xG.js} +58 -55
- package/dist/chart-ZOYyK2xG.js.map +1 -0
- package/dist/checkbox-AWIhNhmo.js +36 -0
- package/dist/checkbox-AWIhNhmo.js.map +1 -0
- package/dist/choice-inputs-CNHvARCJ.js +770 -0
- package/dist/choice-inputs-CNHvARCJ.js.map +1 -0
- package/dist/code-block-DeneBJR_.js +185 -0
- package/dist/code-block-DeneBJR_.js.map +1 -0
- package/dist/{collapsible-oMUGM4tr.js → collapsible-C-_l4hpy.js} +4 -4
- package/dist/{collapsible-oMUGM4tr.js.map → collapsible-C-_l4hpy.js.map} +1 -1
- package/dist/{collection-content-Ys-OZOkY.js → collection-content-By56pLog.js} +3 -3
- package/dist/{collection-content-Ys-OZOkY.js.map → collection-content-By56pLog.js.map} +1 -1
- package/dist/combobox-C0EQW6dr.js +875 -0
- package/dist/combobox-C0EQW6dr.js.map +1 -0
- package/dist/combobox-xCQ2RMNE.js +309 -0
- package/dist/combobox-xCQ2RMNE.js.map +1 -0
- package/dist/{command-kPMPjIxJ.js → command-C25VMRII.js} +7 -7
- package/dist/{command-kPMPjIxJ.js.map → command-C25VMRII.js.map} +1 -1
- package/dist/{comments-You0Bzbr.js → comments-BYYlTA8E.js} +390 -379
- package/dist/comments-BYYlTA8E.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 +5 -5
- 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/buttons/loader-button.d.ts +2 -1
- package/dist/components/base/cards/card.recipes.d.ts +2 -3
- package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +3 -13
- package/dist/components/base/cards/smart-card.types.d.ts +11 -4
- package/dist/components/base/chart/chart.d.ts +2 -5
- 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/combobox/combobox.strings.d.ts +7 -0
- package/dist/components/base/combobox/index.d.ts +30 -4
- 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 +26 -15
- 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/navigation/pagination.d.ts +5 -2
- package/dist/components/base/popover/popover.recipes.d.ts +15 -1
- 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/table/index.d.ts +9 -2
- 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 +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/ai/ai-shimmer/ai-shimmer.d.ts +1 -1
- package/dist/components/blocks/ai/ai-shimmer/types.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 +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 +45 -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/inline-stat/inline-stat.d.ts +16 -8
- package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
- package/dist/components/features/activities/partials/activity-marker.d.ts +6 -3
- 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/appointment-calendar/appointment-calendar.d.ts +5 -0
- package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +220 -0
- package/dist/components/features/appointment-calendar/appointment-calendar.utils.d.ts +41 -0
- package/dist/components/features/appointment-calendar/index.d.ts +3 -0
- package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +32 -0
- package/dist/components/features/appointment-calendar/partials/appointment-month.d.ts +13 -0
- package/dist/components/features/combobox/combobox.strings.d.ts +15 -1
- package/dist/components/features/combobox/types.d.ts +4 -0
- 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 +6 -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 +7 -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 +54 -1
- 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-header.d.ts +1 -1
- package/dist/components/features/table/table.strings.d.ts +55 -1
- package/dist/components/features/table/table.types.d.ts +49 -11
- package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +5 -0
- 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/primitives/number.d.ts +4 -2
- package/dist/components/primitives/value.d.ts +3 -1
- 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 +8 -3
- package/dist/components/ui/checkbox.d.ts +4 -3
- package/dist/components/ui/combobox.d.ts +6 -2
- package/dist/components/ui/item.d.ts +8 -8
- package/dist/components/ui/overlay.recipes.d.ts +0 -9
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/{containers-D_L4mTVb.js → containers-Mu1LMGV1.js} +36 -35
- package/dist/containers-Mu1LMGV1.js.map +1 -0
- package/dist/{copyable-DDjTeW_j.js → copyable-ClBuk_UK.js} +6 -6
- package/dist/{copyable-DDjTeW_j.js.map → copyable-ClBuk_UK.js.map} +1 -1
- package/dist/data-display-DT_khPl_.js +971 -0
- package/dist/data-display-DT_khPl_.js.map +1 -0
- package/dist/{date-uf3z37Nm.js → date-DCrsDTZc.js} +5 -5
- package/dist/{date-uf3z37Nm.js.map → date-DCrsDTZc.js.map} +1 -1
- package/dist/date-picker-ay0Pha_a.js +1530 -0
- package/dist/date-picker-ay0Pha_a.js.map +1 -0
- package/dist/date-pickers-Ccw8DL2b.js +175 -0
- package/dist/date-pickers-Ccw8DL2b.js.map +1 -0
- package/dist/display-hAc1HjpI.js +344 -0
- package/dist/display-hAc1HjpI.js.map +1 -0
- package/dist/dropdown-menu-Cl4X7L5S.js +193 -0
- package/dist/dropdown-menu-Cl4X7L5S.js.map +1 -0
- package/dist/editable-text-recipe-Cn61kEcv.js +10 -0
- package/dist/editable-text-recipe-Cn61kEcv.js.map +1 -0
- package/dist/features/activities.js +478 -542
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +209 -199
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/appointment-calendar.js +683 -0
- package/dist/features/appointment-calendar.js.map +1 -0
- package/dist/features/async-preview.js +109 -107
- 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 +30 -29
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer/engine.js +1 -1
- package/dist/features/email-composer.js +285 -283
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +282 -273
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.js +318 -318
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +146 -147
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +269 -268
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +970 -863
- 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 +1137 -1124
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +206 -194
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +24 -21
- 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 +35 -33
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +3 -3
- package/dist/features/sync.js +11 -5
- package/dist/features/sync.js.map +1 -1
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.js +501 -496
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-BYIhtitP.js +239 -0
- package/dist/feedback-BYIhtitP.js.map +1 -0
- package/dist/field-affordance-recipes-DZhnIL_Y.js +41 -0
- package/dist/field-affordance-recipes-DZhnIL_Y.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-BGfvjP4d.js} +483 -472
- package/dist/filters-BGfvjP4d.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-CwH9y77i.js} +6 -5
- package/dist/form-field-CwH9y77i.js.map +1 -0
- package/dist/{form-sizing-uWP4lzVh.js → form-sizing-BdP_Mf5p.js} +45 -46
- package/dist/form-sizing-BdP_Mf5p.js.map +1 -0
- package/dist/{forms-DDeEnXSY.js → forms-B9G_xwzi.js} +22 -22
- package/dist/{forms-DDeEnXSY.js.map → forms-B9G_xwzi.js.map} +1 -1
- package/dist/forms-numeric-B_jraJaQ.js +906 -0
- package/dist/forms-numeric-B_jraJaQ.js.map +1 -0
- package/dist/{header-2ycNqGOR.js → header-CGXuhcRm.js} +164 -161
- package/dist/header-CGXuhcRm.js.map +1 -0
- package/dist/{hooks-DQ5SPwZw.js → hooks-Dkz0K2WT.js} +2 -2
- package/dist/{hooks-DQ5SPwZw.js.map → hooks-Dkz0K2WT.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-DYKIwvOV.js +55 -0
- package/dist/icon-badge-DYKIwvOV.js.map +1 -0
- package/dist/index.js +7 -7
- package/dist/input-CZw8iU99.js +21 -0
- package/dist/input-CZw8iU99.js.map +1 -0
- package/dist/input-DQdEd0YD.js +263 -0
- package/dist/input-DQdEd0YD.js.map +1 -0
- package/dist/interaction-recipes-XR9ZpVYL.js +25 -0
- package/dist/interaction-recipes-XR9ZpVYL.js.map +1 -0
- package/dist/item-K5_ghvze.js +275 -0
- package/dist/item-K5_ghvze.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 +72 -0
- package/dist/lib/editable-text-recipe.d.ts +4 -4
- package/dist/lib/field-affordance-recipes.d.ts +8 -3
- 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 +40 -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/theme-mode-css.d.ts +7 -0
- package/dist/lib/token-merge.generated.d.ts +9 -6
- package/dist/lib/tone-recipes.d.ts +87 -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 +11 -2
- package/dist/lib/utils.js +1 -1
- package/dist/media-gallery-3zIVLMWH.js +203 -0
- package/dist/media-gallery-3zIVLMWH.js.map +1 -0
- package/dist/mentions-utuUvH1K.js +570 -0
- package/dist/mentions-utuUvH1K.js.map +1 -0
- package/dist/{message-YfFmbXNP.js → message-DZ_ruyUV.js} +7 -6
- package/dist/message-DZ_ruyUV.js.map +1 -0
- package/dist/metadata-list-8N16ZMW_.js +405 -0
- package/dist/metadata-list-8N16ZMW_.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-Bnotn4AQ.js +145 -0
- package/dist/navigation-Bnotn4AQ.js.map +1 -0
- package/dist/navigation-BzhHI3lo.js +269 -0
- package/dist/navigation-BzhHI3lo.js.map +1 -0
- package/dist/{navigation-row-recipes-DlU-4QYO.js → navigation-row-recipes-BFLCk_Aq.js} +2 -2
- package/dist/{navigation-row-recipes-DlU-4QYO.js.map → navigation-row-recipes-BFLCk_Aq.js.map} +1 -1
- package/dist/{number-CKRBYmZK.js → number-DbV1Dija.js} +36 -34
- package/dist/{number-CKRBYmZK.js.map → number-DbV1Dija.js.map} +1 -1
- package/dist/overflow-tab-bar-CWY7Nogn.js +282 -0
- package/dist/overflow-tab-bar-CWY7Nogn.js.map +1 -0
- package/dist/overlay.recipes-8GHqmlb4.js +6 -0
- package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
- package/dist/overlays-DNWmZrJ4.js +1001 -0
- package/dist/overlays-DNWmZrJ4.js.map +1 -0
- package/dist/page-Bgl1F560.js +224 -0
- package/dist/page-Bgl1F560.js.map +1 -0
- package/dist/page-header-commands-DOb6WsfD.js +126 -0
- package/dist/page-header-commands-DOb6WsfD.js.map +1 -0
- package/dist/pagination-BL25hu2s.js +158 -0
- package/dist/pagination-BL25hu2s.js.map +1 -0
- package/dist/{popover-Dcv_9jxr.js → popover-7_m66eYW.js} +11 -10
- package/dist/popover-7_m66eYW.js.map +1 -0
- package/dist/popover-menu-B9WWygpa.js +100 -0
- package/dist/popover-menu-B9WWygpa.js.map +1 -0
- package/dist/{popover.recipes-wmbvL8Ah.js → popover.recipes-D3j8R8Yp.js} +18 -11
- package/dist/popover.recipes-D3j8R8Yp.js.map +1 -0
- package/dist/{primitives-BHrwQXFC.js → primitives-BFK08r9M.js} +45 -44
- package/dist/primitives-BFK08r9M.js.map +1 -0
- package/dist/primitives.js +4 -4
- package/dist/{progress-Br9WTFya.js → progress-B1VnCT0K.js} +9 -9
- package/dist/{progress-Br9WTFya.js.map → progress-B1VnCT0K.js.map} +1 -1
- package/dist/{receipt-CV89q1fs.js → receipt-BVSOH3Xo.js} +9 -6
- package/dist/{receipt-CV89q1fs.js.map → receipt-BVSOH3Xo.js.map} +1 -1
- package/dist/rich-text-GOUyKQ-s.js +78 -0
- package/dist/rich-text-GOUyKQ-s.js.map +1 -0
- package/dist/rich-text-editor-cRLC-eBK.js +1196 -0
- package/dist/rich-text-editor-cRLC-eBK.js.map +1 -0
- package/dist/rich-text-editor-toolbar-DfXg0-VC.js +94 -0
- package/dist/rich-text-editor-toolbar-DfXg0-VC.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-DcI-M1UT.js +48 -0
- package/dist/scroll-area-DcI-M1UT.js.map +1 -0
- package/dist/{separator-Do5GWDYi.js → separator-BDV-Y648.js} +3 -3
- package/dist/{separator-Do5GWDYi.js.map → separator-BDV-Y648.js.map} +1 -1
- package/dist/{separator-BMEvwnSX.js → separator-Bom7NsGO.js} +2 -2
- package/dist/{separator-BMEvwnSX.js.map → separator-Bom7NsGO.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-ybnjVwbd.js +171 -0
- package/dist/settings-ybnjVwbd.js.map +1 -0
- package/dist/sheet-CGpB3omz.js +211 -0
- package/dist/sheet-CGpB3omz.js.map +1 -0
- package/dist/{sidebar-Cb8WzOvE.js → sidebar-A0ElHINE.js} +17 -16
- package/dist/sidebar-A0ElHINE.js.map +1 -0
- package/dist/{sidebar-Crc9M9JV.js → sidebar-CPx_7YBa.js} +205 -203
- package/dist/sidebar-CPx_7YBa.js.map +1 -0
- package/dist/{skeleton-DVMXr15h.js → skeleton-Byjnt7qr.js} +9 -9
- package/dist/{skeleton-DVMXr15h.js.map → skeleton-Byjnt7qr.js.map} +1 -1
- package/dist/smart-card-DiC5aac3.js +604 -0
- package/dist/smart-card-DiC5aac3.js.map +1 -0
- package/dist/{structure-hzCW-XsV.js → structure-BmisBK-3.js} +2 -2
- package/dist/{structure-hzCW-XsV.js.map → structure-BmisBK-3.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-BweFy_P9.js +1530 -0
- package/dist/table-BweFy_P9.js.map +1 -0
- package/dist/table-DsfzoUia.js +175 -0
- package/dist/table-DsfzoUia.js.map +1 -0
- package/dist/tabs-CDocW5D1.js +191 -0
- package/dist/tabs-CDocW5D1.js.map +1 -0
- package/dist/text-inputs-f9Ia-aCi.js +353 -0
- package/dist/text-inputs-f9Ia-aCi.js.map +1 -0
- package/dist/theme-mode-css-BB-_RYab.js +14 -0
- package/dist/theme-mode-css-BB-_RYab.js.map +1 -0
- package/dist/theme-scope-BJ6eE2xt.js +50 -0
- package/dist/theme-scope-BJ6eE2xt.js.map +1 -0
- package/dist/theme.css +285 -228
- package/dist/themes/green.css +16 -12
- package/dist/timelines-CwM_9IhD.js +457 -0
- package/dist/timelines-CwM_9IhD.js.map +1 -0
- package/dist/tone-recipes-BPsRAvhu.js +73 -0
- package/dist/tone-recipes-BPsRAvhu.js.map +1 -0
- package/dist/tooltip-yiRJUFjp.js +111 -0
- package/dist/tooltip-yiRJUFjp.js.map +1 -0
- package/dist/{tree-BotPlyiD.js → tree-WnKQzwbq.js} +69 -67
- package/dist/tree-WnKQzwbq.js.map +1 -0
- package/dist/typography/rich-text.js +1 -1
- package/dist/typography-UTnveOEy.js +117 -0
- package/dist/typography-UTnveOEy.js.map +1 -0
- package/dist/typography.js +2 -2
- package/dist/{ui-provider-D2_TeLqw.js → ui-provider-C_U0Xma4.js} +13 -5
- package/dist/ui-provider-C_U0Xma4.js.map +1 -0
- package/dist/ui-provider.js +3 -3
- package/dist/{upload-B0WHW7ak.js → upload-CXyxmQBP.js} +210 -209
- package/dist/upload-CXyxmQBP.js.map +1 -0
- package/dist/{upload-queue-BHZ_wBfd.js → upload-queue-Boscubn9.js} +111 -111
- package/dist/upload-queue-Boscubn9.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-BhO5eqkX.js} +45 -29
- package/dist/usage-card-BhO5eqkX.js.map +1 -0
- package/dist/{utils-Cospvlj1.js → utils-BRhFDwuU.js} +114 -67
- package/dist/utils-BRhFDwuU.js.map +1 -0
- package/dist/value-inputs-DXPDjvBU.js +963 -0
- package/dist/value-inputs-DXPDjvBU.js.map +1 -0
- package/dist/{value-typography-Deb3yQZg.js → value-typography-BP8OG6h5.js} +2 -2
- package/dist/{value-typography-Deb3yQZg.js.map → value-typography-BP8OG6h5.js.map} +1 -1
- package/dist/workspace-Cdrg7k9f.js +408 -0
- package/dist/workspace-Cdrg7k9f.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +21 -22
- 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 +58 -13
- package/docs/consumer-skill/references/design-contract.md +12 -3
- package/docs/consumer-skill/references/installation.md +11 -1
- package/docs/consumer-skill/references/integration.md +4 -3
- package/docs/consumer-skill/references/public-api.json +956 -453
- package/docs/consumer-skill/references/review.md +32 -5
- package/docs/consumer-skill/references/theming.md +78 -9
- package/docs/consumer-skill/references/tokens.json +1 -1
- package/docs/consumer-skill/references/workflows.md +54 -10
- package/docs/consumer-skill/scripts/composition-policy.mjs +42 -11
- package/docs/consumer-skill/scripts/surface-policy.mjs +150 -5
- package/package.json +17 -5
- package/dist/accordion-CQXVcd7Q.js +0 -205
- 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 +0 -68
- package/dist/affordance-geometry.generated-CCIXb2A1.js.map +0 -1
- package/dist/ai-artifact-2PQ2fItc.js +0 -1112
- 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 +0 -66
- package/dist/cards-QoJ4syG9.js.map +0 -1
- package/dist/chart-DwYRKKc-.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 +0 -272
- package/dist/combobox-6dvVny2q.js.map +0 -1
- package/dist/combobox-CB7039j7.js +0 -865
- 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/date-pickers-CnFCb0n2.js +0 -174
- package/dist/date-pickers-CnFCb0n2.js.map +0 -1
- package/dist/display-DrdvPwF0.js +0 -343
- package/dist/display-DrdvPwF0.js.map +0 -1
- package/dist/dropdown-menu-CURh59jb.js +0 -193
- package/dist/dropdown-menu-CURh59jb.js.map +0 -1
- package/dist/editable-text-recipe-Bkm6wKHp.js +0 -10
- package/dist/editable-text-recipe-Bkm6wKHp.js.map +0 -1
- package/dist/feedback-C7nR0UtT.js +0 -232
- package/dist/feedback-C7nR0UtT.js.map +0 -1
- package/dist/field-affordance-recipes-CkOCdE2y.js +0 -46
- 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-field-VZRULhUK.js.map +0 -1
- package/dist/form-sizing-uWP4lzVh.js.map +0 -1
- package/dist/forms-numeric-D3CO60IF.js +0 -905
- 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-BoLm9Hks.js +0 -20
- package/dist/input-BoLm9Hks.js.map +0 -1
- package/dist/input-DhQdBnV3.js +0 -255
- package/dist/input-DhQdBnV3.js.map +0 -1
- package/dist/item-xzh8Df65.js +0 -264
- 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/message-YfFmbXNP.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/pagination-Cm0jqa3I.js +0 -149
- package/dist/pagination-Cm0jqa3I.js.map +0 -1
- package/dist/popover-Dcv_9jxr.js.map +0 -1
- package/dist/popover-menu-DnRFKnHP.js +0 -99
- package/dist/popover-menu-DnRFKnHP.js.map +0 -1
- package/dist/popover.recipes-wmbvL8Ah.js.map +0 -1
- package/dist/primitives-BHrwQXFC.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/spinner-CmTAbEp0.js +0 -80
- package/dist/spinner-CmTAbEp0.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 +0 -162
- 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 +0 -189
- package/dist/tabs-Dk8E_knt.js.map +0 -1
- package/dist/text-inputs-BFpku0Qd.js +0 -331
- package/dist/text-inputs-BFpku0Qd.js.map +0 -1
- package/dist/theme-scope-kStaAer0.js +0 -39
- package/dist/theme-scope-kStaAer0.js.map +0 -1
- package/dist/timelines-CxuAFIc2.js +0 -439
- 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/usage-card-U0YBLTNT.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,40 +1,43 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useStrings as e } from "./lib/strings.js";
|
|
3
|
-
import { t } from "./utils-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as a } from "./structure-
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
3
|
+
import { t } from "./utils-BRhFDwuU.js";
|
|
4
|
+
import { n } from "./buttons-DPZekJFu.js";
|
|
5
|
+
import { c as r, o as i } from "./typography-UTnveOEy.js";
|
|
6
|
+
import { t as a } from "./structure-BmisBK-3.js";
|
|
7
|
+
import { t as o } from "./tone-recipes-BPsRAvhu.js";
|
|
8
|
+
import "./surface-recipes-BKRVW8Os.js";
|
|
9
|
+
import { i as s } from "./popover.recipes-D3j8R8Yp.js";
|
|
10
|
+
import { a as c, d as l, g as u, i as d, o as f, r as p, s as m, t as h } from "./dropdown-menu-Cl4X7L5S.js";
|
|
11
|
+
import { n as g } from "./action-menu-CllU52Mm.js";
|
|
12
|
+
import { t as _ } from "./initials-format-CDoQEOd_.js";
|
|
13
|
+
import { i as v, n as y, s as b } from "./avatar-DAPlDvhJ.js";
|
|
14
|
+
import { t as x } from "./badge-HpFqoqSY.js";
|
|
15
|
+
import { t as S } from "./separator-BDV-Y648.js";
|
|
16
|
+
import { c as C, o as w, t as T } from "./popover-7_m66eYW.js";
|
|
17
|
+
import { t as E } from "./breadcrumbs-C-oqs1sQ.js";
|
|
18
|
+
import { C as D } from "./sidebar-CPx_7YBa.js";
|
|
19
|
+
import { d as O, t as k } from "./hooks-Dkz0K2WT.js";
|
|
20
|
+
import * as A from "react";
|
|
21
|
+
import { forwardRef as j, useEffect as M, useState as N } from "react";
|
|
22
|
+
import { Fragment as P, jsx as F, jsxs as I } from "react/jsx-runtime";
|
|
23
|
+
import { Bell as L, ChevronsUpDown as R, LogOut as z, Search as B, Settings as V, User as H } from "lucide-react";
|
|
21
24
|
//#region src/components/layout/header/partials/header-breadcrumbs.tsx
|
|
22
|
-
function
|
|
23
|
-
let s =
|
|
25
|
+
function U({ breadcrumbs: e = [], homeBreadcrumb: n = null, showSidebarTrigger: r = !0, triggerSlot: i, renderLink: a, className: o }) {
|
|
26
|
+
let s = O({ renderLink: a }), c = A.useMemo(() => {
|
|
24
27
|
let t = [];
|
|
25
28
|
return n && t.push(n), t.push(...e), t;
|
|
26
29
|
}, [n, e]), l = c.length > 0;
|
|
27
|
-
return /* @__PURE__ */
|
|
30
|
+
return /* @__PURE__ */ I("div", {
|
|
28
31
|
className: t("relative flex min-h-action min-w-0 items-center gap-space-lg", o),
|
|
29
|
-
children: [!!r && /* @__PURE__ */
|
|
32
|
+
children: [!!r && /* @__PURE__ */ F("div", {
|
|
30
33
|
className: "relative flex min-h-action shrink-0 items-center justify-center",
|
|
31
|
-
children: i ?? /* @__PURE__ */
|
|
32
|
-
}), !!l && /* @__PURE__ */ P
|
|
34
|
+
children: i ?? /* @__PURE__ */ F(D, { className: "size-action-xs [&_svg]:size-icon" })
|
|
35
|
+
}), !!l && /* @__PURE__ */ I(P, { children: [!!r && /* @__PURE__ */ F(S, {
|
|
33
36
|
orientation: "vertical",
|
|
34
37
|
className: "h-icon shrink-0"
|
|
35
|
-
}), /* @__PURE__ */
|
|
38
|
+
}), /* @__PURE__ */ F("div", {
|
|
36
39
|
className: "flex min-w-0 flex-1 items-center overflow-hidden",
|
|
37
|
-
children: /* @__PURE__ */
|
|
40
|
+
children: /* @__PURE__ */ F(E, {
|
|
38
41
|
breadcrumbs: c,
|
|
39
42
|
size: "sm",
|
|
40
43
|
renderLink: s,
|
|
@@ -45,26 +48,26 @@ function V({ breadcrumbs: e = [], homeBreadcrumb: n = null, showSidebarTrigger:
|
|
|
45
48
|
}
|
|
46
49
|
//#endregion
|
|
47
50
|
//#region src/components/layout/header/header.tsx
|
|
48
|
-
var
|
|
49
|
-
let g =
|
|
50
|
-
return /* @__PURE__ */
|
|
51
|
+
var W = j(function({ showBreadcrumbs: e = !0, breadcrumbs: n = [], homeBreadcrumb: r = null, showSidebarTrigger: i = !0, slots: o, renderLink: s, className: c, contentClassName: l, leftClassName: u, centerClassName: d, rightClassName: f, breadcrumbsClassName: p, ...m }, h) {
|
|
52
|
+
let g = O({ renderLink: s });
|
|
53
|
+
return /* @__PURE__ */ F("header", {
|
|
51
54
|
...m,
|
|
52
55
|
ref: h,
|
|
53
56
|
className: t("header--component @container/app-header sticky top-0 z-40 flex min-w-0 min-h-shell-header items-center border-b border-border bg-background px-surface py-space-sm transition-[width,height] ease-linear", c),
|
|
54
|
-
children: /* @__PURE__ */
|
|
57
|
+
children: /* @__PURE__ */ I(a, {
|
|
55
58
|
direction: "horizontal",
|
|
56
59
|
gap: "xl",
|
|
57
60
|
align: "center",
|
|
58
61
|
wrap: !0,
|
|
59
62
|
className: t("min-w-0 min-h-action flex-1", l),
|
|
60
63
|
children: [
|
|
61
|
-
!!o?.brand && /* @__PURE__ */
|
|
64
|
+
!!o?.brand && /* @__PURE__ */ F("div", {
|
|
62
65
|
className: "hidden min-w-0 shrink-0 items-center @2xl/app-header:flex",
|
|
63
66
|
children: o.brand
|
|
64
67
|
}),
|
|
65
|
-
!!e && /* @__PURE__ */
|
|
68
|
+
!!e && /* @__PURE__ */ F("div", {
|
|
66
69
|
className: "min-w-0 flex-1 basis-32",
|
|
67
|
-
children: o?.breadcrumbs ?? /* @__PURE__ */
|
|
70
|
+
children: o?.breadcrumbs ?? /* @__PURE__ */ F(U, {
|
|
68
71
|
breadcrumbs: n,
|
|
69
72
|
homeBreadcrumb: r,
|
|
70
73
|
showSidebarTrigger: i,
|
|
@@ -72,15 +75,15 @@ var H = k(function({ showBreadcrumbs: e = !0, breadcrumbs: n = [], homeBreadcrum
|
|
|
72
75
|
className: p
|
|
73
76
|
})
|
|
74
77
|
}),
|
|
75
|
-
!!o?.left && /* @__PURE__ */
|
|
78
|
+
!!o?.left && /* @__PURE__ */ F("div", {
|
|
76
79
|
className: t("flex min-w-0 items-center", u),
|
|
77
80
|
children: o.left
|
|
78
81
|
}),
|
|
79
|
-
!!o?.center && /* @__PURE__ */
|
|
82
|
+
!!o?.center && /* @__PURE__ */ F("div", {
|
|
80
83
|
className: t("hidden min-w-0 flex-1 basis-64 items-center justify-center @3xl/app-header:flex [&>*]:min-w-0 [&>*]:max-w-full", d),
|
|
81
84
|
children: o.center
|
|
82
85
|
}),
|
|
83
|
-
!!o?.right && /* @__PURE__ */
|
|
86
|
+
!!o?.right && /* @__PURE__ */ F("div", {
|
|
84
87
|
className: t("ms-auto flex min-w-0 max-w-full flex-wrap items-center justify-end gap-space-md [&>*]:max-w-full", f),
|
|
85
88
|
children: o.right
|
|
86
89
|
})
|
|
@@ -88,52 +91,47 @@ var H = k(function({ showBreadcrumbs: e = !0, breadcrumbs: n = [], homeBreadcrum
|
|
|
88
91
|
})
|
|
89
92
|
});
|
|
90
93
|
});
|
|
91
|
-
|
|
94
|
+
W.displayName = "Header";
|
|
92
95
|
//#endregion
|
|
93
96
|
//#region src/components/layout/header/header.types.ts
|
|
94
|
-
var
|
|
97
|
+
var G = {
|
|
95
98
|
triggerLabel: "Notifications",
|
|
96
99
|
heading: "Notifications",
|
|
97
100
|
markAllRead: "Mark all as read",
|
|
98
101
|
empty: "No new notifications",
|
|
99
102
|
viewAll: "View all notifications"
|
|
100
|
-
},
|
|
103
|
+
}, K = {
|
|
101
104
|
placeholder: "Search...",
|
|
102
105
|
shortcutMac: "⌘K",
|
|
103
106
|
shortcutPc: "Ctrl+K"
|
|
104
|
-
},
|
|
107
|
+
}, q = {
|
|
105
108
|
profile: "Profile",
|
|
106
109
|
settings: "Settings",
|
|
107
110
|
logout: "Log out"
|
|
108
111
|
};
|
|
109
112
|
//#endregion
|
|
110
113
|
//#region src/components/layout/header/partials/header-search.tsx
|
|
111
|
-
function
|
|
114
|
+
function J() {
|
|
112
115
|
if (typeof navigator > "u") return !1;
|
|
113
116
|
let e = navigator.userAgentData;
|
|
114
117
|
return e?.platform ? e.platform === "macOS" : /Mac|iPhone|iPad/.test(navigator.platform);
|
|
115
118
|
}
|
|
116
|
-
function
|
|
117
|
-
let d = e(
|
|
118
|
-
|
|
119
|
-
a === void 0 && p(
|
|
119
|
+
function Y({ onOpen: i, shortcutModifier: a, enableShortcut: o = !0, strings: s, className: c, iconClassName: l, shortcutSlot: u }) {
|
|
120
|
+
let d = e(K, s), [f, p] = N(!1);
|
|
121
|
+
M(() => {
|
|
122
|
+
a === void 0 && p(J());
|
|
120
123
|
}, [a]);
|
|
121
124
|
let m = (a ?? (f ? "meta" : "control")) === "meta";
|
|
122
|
-
|
|
125
|
+
k({
|
|
123
126
|
key: "k",
|
|
124
127
|
enabled: o,
|
|
125
|
-
onTrigger:
|
|
128
|
+
onTrigger: i
|
|
126
129
|
});
|
|
127
|
-
let h = m ? d.shortcutMac : d.shortcutPc, g = u ?? /* @__PURE__ */
|
|
128
|
-
className: "header-search--shortcut
|
|
129
|
-
children:
|
|
130
|
-
tag: "span",
|
|
131
|
-
size: "xs",
|
|
132
|
-
type: "secondary",
|
|
133
|
-
children: m ? d.shortcutMac : d.shortcutPc
|
|
134
|
-
})
|
|
130
|
+
let h = m ? d.shortcutMac : d.shortcutPc, g = u ?? /* @__PURE__ */ F("kbd", {
|
|
131
|
+
className: t("header-search--shortcut", "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", "hidden lg:inline-flex"),
|
|
132
|
+
children: m ? d.shortcutMac : d.shortcutPc
|
|
135
133
|
});
|
|
136
|
-
return /* @__PURE__ */
|
|
134
|
+
return /* @__PURE__ */ I(n, {
|
|
137
135
|
"data-component": "header-search",
|
|
138
136
|
"data-slot": "header-search-trigger",
|
|
139
137
|
type: "button",
|
|
@@ -141,16 +139,16 @@ function q({ onOpen: n, shortcutModifier: a, enableShortcut: o = !0, strings: s,
|
|
|
141
139
|
tone: "secondary",
|
|
142
140
|
buttonStyle: "outline",
|
|
143
141
|
size: "sm",
|
|
144
|
-
onClick:
|
|
145
|
-
className: t("header-search--component header-search--trigger h-action-sm w-full min-w-0 justify-start gap-space-md rounded-inner
|
|
142
|
+
onClick: i,
|
|
143
|
+
className: t("header-search--component header-search--trigger h-action-sm w-full min-w-0 justify-start gap-space-md rounded-inner px-control-sm text-foreground shadow-none transition-[background-color,border-color,color,box-shadow]", c),
|
|
146
144
|
title: h,
|
|
147
145
|
children: [
|
|
148
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ F(B, {
|
|
149
147
|
"data-slot": "header-search-icon",
|
|
150
148
|
className: t("header-search--icon size-icon shrink-0 text-muted-foreground", l),
|
|
151
149
|
"aria-hidden": "true"
|
|
152
150
|
}),
|
|
153
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ F(r, {
|
|
154
152
|
tag: "span",
|
|
155
153
|
size: "inherit",
|
|
156
154
|
type: "secondary",
|
|
@@ -164,8 +162,8 @@ function q({ onOpen: n, shortcutModifier: a, enableShortcut: o = !0, strings: s,
|
|
|
164
162
|
}
|
|
165
163
|
//#endregion
|
|
166
164
|
//#region src/components/layout/header/partials/header-global-search-trigger.tsx
|
|
167
|
-
function
|
|
168
|
-
return /* @__PURE__ */
|
|
165
|
+
function X({ onOpen: e, onOpenChange: t, ...n }) {
|
|
166
|
+
return /* @__PURE__ */ F(Y, {
|
|
169
167
|
...n,
|
|
170
168
|
onOpen: () => {
|
|
171
169
|
e?.(), t?.(!0);
|
|
@@ -174,7 +172,7 @@ function J({ onOpen: e, onOpenChange: t, ...n }) {
|
|
|
174
172
|
}
|
|
175
173
|
//#endregion
|
|
176
174
|
//#region src/components/layout/header/partials/header-tool-button.tsx
|
|
177
|
-
var
|
|
175
|
+
var Z = A.forwardRef(({ label: e, icon: i, active: a = !1, disabled: o = !1, badge: s, onClick: c, className: l, iconClassName: u }, d) => /* @__PURE__ */ I(n, {
|
|
178
176
|
ref: d,
|
|
179
177
|
"data-component": "header-tool-button",
|
|
180
178
|
"data-slot": "header-tool-button",
|
|
@@ -188,14 +186,14 @@ var Y = O.forwardRef(({ label: e, icon: n, active: a = !1, disabled: o = !1, bad
|
|
|
188
186
|
title: e,
|
|
189
187
|
disabled: o,
|
|
190
188
|
onClick: c,
|
|
191
|
-
className: t("header-tool-button--component header-tool-button--trigger relative size-action-sm rounded-inner text-foreground transition-[background-color,color,box-shadow] hover:bg-accent hover:text-accent-foreground
|
|
189
|
+
className: t("header-tool-button--component header-tool-button--trigger relative size-action-sm rounded-inner text-foreground transition-[background-color,color,box-shadow] hover:bg-accent hover:text-accent-foreground", a && "bg-accent text-accent-foreground", l),
|
|
192
190
|
children: [
|
|
193
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ F(i, {
|
|
194
192
|
"data-slot": "header-tool-icon",
|
|
195
193
|
className: t("header-tool-button--icon size-icon", u),
|
|
196
194
|
"aria-hidden": "true"
|
|
197
195
|
}),
|
|
198
|
-
!!s && /* @__PURE__ */
|
|
196
|
+
!!s && /* @__PURE__ */ F(r, {
|
|
199
197
|
tag: "span",
|
|
200
198
|
size: "xs",
|
|
201
199
|
weight: "medium",
|
|
@@ -204,7 +202,7 @@ var Y = O.forwardRef(({ label: e, icon: n, active: a = !1, disabled: o = !1, bad
|
|
|
204
202
|
className: "header-tool-button--badge absolute right-space-xs top-space-xs flex min-h-space-lg min-w-space-lg items-center justify-center rounded-full bg-destructive px-space-2xs text-destructive-foreground",
|
|
205
203
|
children: s
|
|
206
204
|
}),
|
|
207
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ F(r, {
|
|
208
206
|
tag: "span",
|
|
209
207
|
size: "inherit",
|
|
210
208
|
className: "sr-only",
|
|
@@ -212,112 +210,113 @@ var Y = O.forwardRef(({ label: e, icon: n, active: a = !1, disabled: o = !1, bad
|
|
|
212
210
|
})
|
|
213
211
|
]
|
|
214
212
|
}));
|
|
215
|
-
|
|
213
|
+
Z.displayName = "HeaderToolButton";
|
|
216
214
|
//#endregion
|
|
217
215
|
//#region src/components/layout/header/partials/header-tool-popover.tsx
|
|
218
|
-
function
|
|
219
|
-
return /* @__PURE__ */
|
|
216
|
+
function Q({ label: e, icon: n, open: r, defaultOpen: i, onOpenChange: a, active: o, disabled: c, badge: l, align: u = "end", side: d = "bottom", sideOffset: f = 8, className: p, triggerClassName: m, contentClassName: h, children: g }) {
|
|
217
|
+
return /* @__PURE__ */ I(w, {
|
|
220
218
|
open: r,
|
|
221
219
|
defaultOpen: i,
|
|
222
220
|
onOpenChange: a,
|
|
223
|
-
children: [/* @__PURE__ */
|
|
221
|
+
children: [/* @__PURE__ */ F(C, {
|
|
224
222
|
asChild: !0,
|
|
225
|
-
children: /* @__PURE__ */
|
|
223
|
+
children: /* @__PURE__ */ F(Z, {
|
|
226
224
|
label: e,
|
|
227
225
|
icon: n,
|
|
228
226
|
active: o ?? r,
|
|
229
|
-
disabled:
|
|
230
|
-
badge:
|
|
231
|
-
className:
|
|
227
|
+
disabled: c,
|
|
228
|
+
badge: l,
|
|
229
|
+
className: m
|
|
232
230
|
})
|
|
233
|
-
}), /* @__PURE__ */
|
|
231
|
+
}), /* @__PURE__ */ F(T, {
|
|
234
232
|
"data-component": "header-tool-popover",
|
|
235
233
|
"data-slot": "header-tool-popover-content",
|
|
236
|
-
align:
|
|
237
|
-
side:
|
|
238
|
-
sideOffset:
|
|
239
|
-
className: t("header-tool-popover--component
|
|
240
|
-
children:
|
|
234
|
+
align: u,
|
|
235
|
+
side: d,
|
|
236
|
+
sideOffset: f,
|
|
237
|
+
className: t("header-tool-popover--component", s.lg, p, h),
|
|
238
|
+
children: g
|
|
241
239
|
})]
|
|
242
240
|
});
|
|
243
241
|
}
|
|
244
242
|
//#endregion
|
|
245
243
|
//#region src/components/layout/header/partials/header-user-menu.tsx
|
|
246
|
-
function
|
|
247
|
-
let w = e(
|
|
244
|
+
function $({ user: i, showEmail: a = !0, customContent: o, onProfile: s, onSettings: c, onLogout: l, align: d = "end", side: f = "bottom", strings: m, triggerClassName: x, contentClassName: S, renderTrigger: C }) {
|
|
245
|
+
let w = e(q, m), T = _(i.name, { strategy: "first-words" }), E = [
|
|
248
246
|
...s ? [{
|
|
249
247
|
id: "profile",
|
|
250
248
|
label: w.profile,
|
|
251
|
-
icon:
|
|
249
|
+
icon: H,
|
|
252
250
|
onClick: s
|
|
253
251
|
}] : [],
|
|
254
|
-
...
|
|
252
|
+
...c ? [{
|
|
255
253
|
id: "settings",
|
|
256
254
|
label: w.settings,
|
|
257
|
-
icon:
|
|
258
|
-
onClick:
|
|
255
|
+
icon: V,
|
|
256
|
+
onClick: c
|
|
259
257
|
}] : [],
|
|
260
|
-
...
|
|
258
|
+
...l ? [{
|
|
261
259
|
id: "logout",
|
|
262
260
|
label: w.logout,
|
|
263
|
-
icon:
|
|
264
|
-
onClick:
|
|
265
|
-
...s ||
|
|
261
|
+
icon: z,
|
|
262
|
+
onClick: l,
|
|
263
|
+
...s || c ? { group: !0 } : null
|
|
266
264
|
}] : []
|
|
267
|
-
], D = C?.(
|
|
265
|
+
], D = C?.(i) ?? /* @__PURE__ */ I(n, {
|
|
268
266
|
"data-component": "header-user-menu",
|
|
269
267
|
"data-slot": "header-user-menu-trigger",
|
|
270
268
|
type: "button",
|
|
271
|
-
"aria-label":
|
|
269
|
+
"aria-label": i.name,
|
|
272
270
|
tone: "secondary",
|
|
273
271
|
buttonStyle: "ghost",
|
|
274
272
|
size: "lg",
|
|
275
273
|
className: t("header-user-menu--component header-user-menu--trigger group min-w-0 max-w-56 justify-start gap-space-md text-foreground shadow-none hover:bg-accent hover:text-accent-foreground data-[state=open]:bg-accent max-sm:size-action-lg max-sm:justify-center max-sm:p-0 max-sm:[&_.header-user-menu--identity]:hidden max-sm:[&_.header-user-menu--chevron]:hidden", x),
|
|
276
274
|
children: [
|
|
277
|
-
/* @__PURE__ */
|
|
275
|
+
/* @__PURE__ */ I(y, {
|
|
278
276
|
"data-slot": "header-user-avatar",
|
|
279
277
|
className: "header-user-menu--avatar size-avatar-sm overflow-hidden rounded-full ring-1 ring-border",
|
|
280
|
-
children: [!!
|
|
281
|
-
src:
|
|
282
|
-
alt:
|
|
283
|
-
}), /* @__PURE__ */
|
|
278
|
+
children: [!!i.avatar && /* @__PURE__ */ F(b, {
|
|
279
|
+
src: i.avatar,
|
|
280
|
+
alt: i.name
|
|
281
|
+
}), /* @__PURE__ */ F(v, {
|
|
284
282
|
className: "rounded-full bg-muted text-xs font-semibold text-muted-foreground",
|
|
285
283
|
children: T
|
|
286
284
|
})]
|
|
287
285
|
}),
|
|
288
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ I("div", {
|
|
289
287
|
"data-slot": "header-user-identity",
|
|
290
288
|
className: "header-user-menu--identity grid min-w-0 flex-1 gap-dense text-start leading-none",
|
|
291
|
-
children: [/* @__PURE__ */
|
|
289
|
+
children: [/* @__PURE__ */ F(r, {
|
|
290
|
+
type: "inherit",
|
|
292
291
|
weight: "medium",
|
|
293
292
|
lineHeight: "tight",
|
|
294
293
|
className: "truncate",
|
|
295
|
-
children:
|
|
296
|
-
}), !!a && !!
|
|
294
|
+
children: i.name
|
|
295
|
+
}), !!a && !!i.email && /* @__PURE__ */ F(r, {
|
|
297
296
|
size: "xs",
|
|
298
297
|
type: "secondary",
|
|
299
298
|
lineHeight: "tight",
|
|
300
299
|
className: "truncate",
|
|
301
|
-
children:
|
|
300
|
+
children: i.email
|
|
302
301
|
})]
|
|
303
302
|
}),
|
|
304
|
-
/* @__PURE__ */
|
|
303
|
+
/* @__PURE__ */ F(R, {
|
|
305
304
|
className: "header-user-menu--chevron size-icon-sm shrink-0 text-muted-foreground",
|
|
306
305
|
"aria-hidden": "true"
|
|
307
306
|
})
|
|
308
307
|
]
|
|
309
308
|
}), O = t("header-user-menu--content w-(--anchor-width) min-w-56 rounded-radius", S);
|
|
310
|
-
return o ? /* @__PURE__ */
|
|
309
|
+
return o ? /* @__PURE__ */ I(h, { children: [/* @__PURE__ */ F(u, { render: D }), /* @__PURE__ */ F(p, {
|
|
311
310
|
"data-component": "header-user-menu-content",
|
|
312
311
|
"data-slot": "header-user-menu-content",
|
|
313
312
|
className: O,
|
|
314
|
-
align:
|
|
315
|
-
side:
|
|
313
|
+
align: d,
|
|
314
|
+
side: f,
|
|
316
315
|
children: o
|
|
317
|
-
})] }) : /* @__PURE__ */
|
|
316
|
+
})] }) : /* @__PURE__ */ F(g, {
|
|
318
317
|
actions: E,
|
|
319
|
-
align:
|
|
320
|
-
side:
|
|
318
|
+
align: d,
|
|
319
|
+
side: f,
|
|
321
320
|
contentClassName: O,
|
|
322
321
|
width: "w-auto",
|
|
323
322
|
closeOnSelect: !0,
|
|
@@ -326,132 +325,136 @@ function Z({ user: n, showEmail: a = !0, customContent: o, onProfile: s, onSetti
|
|
|
326
325
|
}
|
|
327
326
|
//#endregion
|
|
328
327
|
//#region src/components/layout/header/partials/header-notifications.tsx
|
|
329
|
-
var
|
|
328
|
+
var ee = {
|
|
330
329
|
info: "bg-info",
|
|
331
330
|
success: "bg-success",
|
|
332
331
|
warning: "bg-warning",
|
|
333
332
|
destructive: "bg-destructive"
|
|
334
333
|
};
|
|
335
|
-
function
|
|
336
|
-
let
|
|
337
|
-
return /* @__PURE__ */
|
|
334
|
+
function te({ notifications: o = [], unreadCount: g = 0, onNotificationClick: _, onMarkAllRead: v, onViewAll: y, viewAllHref: b, renderLink: S, align: C = "end", side: w = "bottom", strings: T, className: E, contentClassName: D, renderNotification: k }) {
|
|
335
|
+
let A = e(G, T), j = O({ renderLink: S }), M = g > 99 ? "99+" : String(g);
|
|
336
|
+
return /* @__PURE__ */ I(h, { children: [/* @__PURE__ */ F(u, { render: /* @__PURE__ */ I(n, {
|
|
338
337
|
"data-component": "header-notifications",
|
|
339
338
|
"data-slot": "header-notifications-trigger",
|
|
340
339
|
tone: "secondary",
|
|
341
340
|
buttonStyle: "ghost",
|
|
342
341
|
size: "sm",
|
|
343
342
|
iconOnly: !0,
|
|
344
|
-
"aria-label":
|
|
345
|
-
className: t("header-notifications--component header-notifications--trigger relative",
|
|
346
|
-
children: [/* @__PURE__ */
|
|
343
|
+
"aria-label": A.triggerLabel,
|
|
344
|
+
className: t("header-notifications--component header-notifications--trigger relative", E),
|
|
345
|
+
children: [/* @__PURE__ */ F(L, {
|
|
347
346
|
className: "size-icon",
|
|
348
347
|
"aria-hidden": "true"
|
|
349
|
-
}),
|
|
348
|
+
}), g > 0 && /* @__PURE__ */ F(x, {
|
|
350
349
|
tone: "destructive",
|
|
351
350
|
className: "absolute -right-1 -top-1 flex h-4.5 min-w-4.5 items-center justify-center px-space-xs py-0",
|
|
352
|
-
children:
|
|
351
|
+
children: M
|
|
353
352
|
})]
|
|
354
|
-
}) }), /* @__PURE__ */
|
|
353
|
+
}) }), /* @__PURE__ */ I(p, {
|
|
355
354
|
"data-component": "header-notifications-content",
|
|
356
355
|
"data-slot": "header-notifications-content",
|
|
357
|
-
className: t("header-notifications--content
|
|
358
|
-
align:
|
|
359
|
-
side:
|
|
360
|
-
children: [/* @__PURE__ */
|
|
361
|
-
/* @__PURE__ */
|
|
356
|
+
className: t("header-notifications--content", s.lg, D),
|
|
357
|
+
align: C,
|
|
358
|
+
side: w,
|
|
359
|
+
children: [/* @__PURE__ */ I(d, { children: [
|
|
360
|
+
/* @__PURE__ */ I(f, {
|
|
362
361
|
"aria-hidden": !1,
|
|
363
|
-
className: "header-notifications--label flex items-center justify-between gap-space-lg",
|
|
364
|
-
children: [/* @__PURE__ */
|
|
362
|
+
className: "header-notifications--label flex items-center justify-between gap-space-lg text-inherit",
|
|
363
|
+
children: [/* @__PURE__ */ F(i, {
|
|
364
|
+
className: "text-inherit",
|
|
365
|
+
children: A.heading
|
|
366
|
+
}), g > 0 && !!v && /* @__PURE__ */ F(n, {
|
|
365
367
|
type: "button",
|
|
366
368
|
tone: "secondary",
|
|
367
369
|
buttonStyle: "ghost",
|
|
368
370
|
size: "sm",
|
|
369
|
-
onClick:
|
|
371
|
+
onClick: v,
|
|
370
372
|
className: "shrink-0",
|
|
371
|
-
children:
|
|
373
|
+
children: A.markAllRead
|
|
372
374
|
})]
|
|
373
375
|
}),
|
|
374
|
-
/* @__PURE__ */
|
|
375
|
-
|
|
376
|
+
/* @__PURE__ */ F(l, {}),
|
|
377
|
+
o.length === 0 ? /* @__PURE__ */ F("div", {
|
|
376
378
|
className: "header-notifications--empty p-surface text-center",
|
|
377
|
-
children: /* @__PURE__ */
|
|
379
|
+
children: /* @__PURE__ */ F(r, {
|
|
378
380
|
type: "secondary",
|
|
379
|
-
children:
|
|
381
|
+
children: A.empty
|
|
380
382
|
})
|
|
381
|
-
}) : /* @__PURE__ */
|
|
383
|
+
}) : /* @__PURE__ */ F(a, {
|
|
382
384
|
gap: "xs",
|
|
383
385
|
className: "header-notifications--list",
|
|
384
|
-
children:
|
|
386
|
+
children: o.map((e) => /* @__PURE__ */ F(ne, {
|
|
385
387
|
notification: e,
|
|
386
|
-
onClick:
|
|
387
|
-
renderLink:
|
|
388
|
-
renderNotification:
|
|
388
|
+
onClick: _,
|
|
389
|
+
renderLink: j,
|
|
390
|
+
renderNotification: k
|
|
389
391
|
}, e.id))
|
|
390
392
|
})
|
|
391
|
-
] }), !!(
|
|
393
|
+
] }), !!(y || b) && /* @__PURE__ */ I(P, { children: [/* @__PURE__ */ F(l, {}), b ? /* @__PURE__ */ F(m, {
|
|
392
394
|
href: b,
|
|
393
|
-
render: (e) =>
|
|
395
|
+
render: (e) => j({
|
|
394
396
|
...e,
|
|
395
397
|
href: b,
|
|
396
398
|
children: e.children
|
|
397
399
|
}),
|
|
398
|
-
children:
|
|
399
|
-
}) : /* @__PURE__ */
|
|
400
|
-
onClick:
|
|
401
|
-
children:
|
|
400
|
+
children: A.viewAll
|
|
401
|
+
}) : /* @__PURE__ */ F(c, {
|
|
402
|
+
onClick: y,
|
|
403
|
+
children: A.viewAll
|
|
402
404
|
})] })]
|
|
403
405
|
})] });
|
|
404
406
|
}
|
|
405
|
-
function
|
|
407
|
+
function ne({ notification: e, onClick: n, renderLink: i, renderNotification: s }) {
|
|
406
408
|
if (s) return s(e);
|
|
407
|
-
let
|
|
409
|
+
let l = /* @__PURE__ */ I(a, {
|
|
408
410
|
direction: "horizontal",
|
|
409
411
|
align: "start",
|
|
410
412
|
wrap: !1,
|
|
411
413
|
gap: "sm",
|
|
412
414
|
className: "header-notifications--item-content",
|
|
413
|
-
children: [!!e.tone && /* @__PURE__ */
|
|
415
|
+
children: [!!e.tone && /* @__PURE__ */ F("span", {
|
|
414
416
|
"aria-hidden": "true",
|
|
415
417
|
"data-tone": e.tone,
|
|
416
|
-
className: t("header-notifications--tone mt-space-sm
|
|
417
|
-
}), /* @__PURE__ */
|
|
418
|
+
className: t("header-notifications--tone mt-space-sm", o.marker, ee[e.tone])
|
|
419
|
+
}), /* @__PURE__ */ I(a, {
|
|
418
420
|
gap: "dense",
|
|
419
421
|
className: "min-w-0",
|
|
420
422
|
children: [
|
|
421
|
-
/* @__PURE__ */
|
|
423
|
+
/* @__PURE__ */ F(r, {
|
|
424
|
+
type: "inherit",
|
|
422
425
|
weight: "medium",
|
|
423
426
|
children: e.title
|
|
424
427
|
}),
|
|
425
|
-
!!e.description && /* @__PURE__ */
|
|
428
|
+
!!e.description && /* @__PURE__ */ F(r, {
|
|
426
429
|
size: "xs",
|
|
427
430
|
type: "secondary",
|
|
428
431
|
children: e.description
|
|
429
432
|
}),
|
|
430
|
-
!!e.time && /* @__PURE__ */
|
|
433
|
+
!!e.time && /* @__PURE__ */ F(r, {
|
|
431
434
|
size: "xs",
|
|
432
435
|
type: "secondary",
|
|
433
436
|
children: e.time
|
|
434
437
|
})
|
|
435
438
|
]
|
|
436
439
|
})]
|
|
437
|
-
}),
|
|
438
|
-
return e.href ? /* @__PURE__ */
|
|
440
|
+
}), u = t("header-notifications--item items-start", !e.read && "bg-muted text-muted-foreground");
|
|
441
|
+
return e.href ? /* @__PURE__ */ F(m, {
|
|
439
442
|
href: e.href,
|
|
440
|
-
className:
|
|
443
|
+
className: u,
|
|
441
444
|
onClick: () => n?.(e),
|
|
442
445
|
render: (t) => i({
|
|
443
446
|
...t,
|
|
444
447
|
href: e.href,
|
|
445
448
|
children: t.children
|
|
446
449
|
}),
|
|
447
|
-
children:
|
|
448
|
-
}) : /* @__PURE__ */
|
|
450
|
+
children: l
|
|
451
|
+
}) : /* @__PURE__ */ F(c, {
|
|
449
452
|
onClick: () => n?.(e),
|
|
450
|
-
className:
|
|
451
|
-
children:
|
|
453
|
+
className: u,
|
|
454
|
+
children: l
|
|
452
455
|
});
|
|
453
456
|
}
|
|
454
457
|
//#endregion
|
|
455
|
-
export {
|
|
458
|
+
export { X as a, K as c, U as d, Z as i, q as l, $ as n, Y as o, Q as r, G as s, te as t, W as u };
|
|
456
459
|
|
|
457
|
-
//# sourceMappingURL=header-
|
|
460
|
+
//# sourceMappingURL=header-CGXuhcRm.js.map
|