themelia-react-ui 1.0.0 → 1.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 +53 -1
- package/README.md +39 -6
- package/dist/{accordion-BRWh3BM1.js → accordion-B-5Focs8.js} +2 -2
- package/dist/{accordion-BRWh3BM1.js.map → accordion-B-5Focs8.js.map} +1 -1
- package/dist/{affordance-geometry.generated-DXl-Zb3Z.js → affordance-geometry.generated-D8Jcfb0G.js} +10 -1
- package/dist/affordance-geometry.generated-D8Jcfb0G.js.map +1 -0
- package/dist/{ai-artifact-DkOArd3-.js → ai-artifact-B5tPpXnS.js} +5 -5
- package/dist/{ai-artifact-DkOArd3-.js.map → ai-artifact-B5tPpXnS.js.map} +1 -1
- package/dist/{app-shell-BH_bGcE2.js → app-shell-at8Kt4l_.js} +3 -3
- package/dist/{app-shell-BH_bGcE2.js.map → app-shell-at8Kt4l_.js.map} +1 -1
- package/dist/{attachment-DsLgNHXt.js → attachment-BO2R47wn.js} +2 -2
- package/dist/{attachment-DsLgNHXt.js.map → attachment-BO2R47wn.js.map} +1 -1
- package/dist/{auth-BDB1V_2q.js → auth-OFwWSAap.js} +4 -4
- package/dist/{auth-BDB1V_2q.js.map → auth-OFwWSAap.js.map} +1 -1
- package/dist/{avatar-CsnWaYmt.js → avatar-Bpzty83c.js} +73 -68
- package/dist/avatar-Bpzty83c.js.map +1 -0
- package/dist/base/accordion.js +1 -1
- package/dist/base/attachment.js +1 -1
- package/dist/base/avatar.js +1 -1
- package/dist/base/cards.js +2 -2
- package/dist/base/cascader.js +6 -6
- package/dist/base/choice-inputs.js +3 -2
- 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/date-pickers.js +2 -2
- package/dist/base/display.js +1 -1
- package/dist/base/feedback.js +4 -3
- package/dist/base/forms-numeric.js +1 -1
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +236 -0
- package/dist/base/inline-edit.js.map +1 -0
- package/dist/base/media-gallery.js +1 -1
- package/dist/base/navigation.js +3 -3
- package/dist/base/popover-menu.js +1 -1
- package/dist/base/popover.js +1 -1
- package/dist/base/repeaters.js +4 -4
- package/dist/base/sheet.js +1 -1
- package/dist/base/sidebar.js +1 -1
- package/dist/base/signature-pad.js +3 -3
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +1 -1
- package/dist/base/structure.js +1 -1
- package/dist/base/text-inputs.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 +1 -1
- package/dist/blocks/admin.js +6 -6
- package/dist/blocks/ai.js +6 -6
- package/dist/blocks/analytics/usage-card.js +3 -0
- package/dist/blocks/analytics.js +361 -360
- 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 +15 -15
- package/dist/blocks/data-display.js +1 -1
- package/dist/blocks/onboarding.js +3 -3
- package/dist/blocks/planning.js +311 -0
- package/dist/blocks/planning.js.map +1 -0
- package/dist/blocks/timelines.js +1 -1
- package/dist/{cards-BMB0laLG.js → cards-Cum56XOF.js} +3 -3
- package/dist/{cards-BMB0laLG.js.map → cards-Cum56XOF.js.map} +1 -1
- package/dist/checkbox-BavDRjF7.js +34 -0
- package/dist/checkbox-BavDRjF7.js.map +1 -0
- package/dist/{choice-inputs-CavA-SGV.js → choice-inputs-CC7XqPQO.js} +166 -191
- package/dist/choice-inputs-CC7XqPQO.js.map +1 -0
- package/dist/{code-block-DIlqzoiD.js → code-block-xHKbAJDj.js} +2 -2
- package/dist/{code-block-DIlqzoiD.js.map → code-block-xHKbAJDj.js.map} +1 -1
- package/dist/{combobox-HDftpzxt.js → combobox-DEbdr-3u.js} +2 -2
- package/dist/{combobox-HDftpzxt.js.map → combobox-DEbdr-3u.js.map} +1 -1
- package/dist/{combobox-CHD750do.js → combobox-xv3yJbzl.js} +7 -7
- package/dist/{combobox-CHD750do.js.map → combobox-xv3yJbzl.js.map} +1 -1
- package/dist/{command-D0kWBZfd.js → command-C0xe7u9B.js} +2 -2
- package/dist/{command-D0kWBZfd.js.map → command-C0xe7u9B.js.map} +1 -1
- package/dist/{comments-CvYeglMS.js → comments-DviPLnwy.js} +8 -8
- package/dist/{comments-CvYeglMS.js.map → comments-DviPLnwy.js.map} +1 -1
- package/dist/components/base/cards/smart-card.types.d.ts +2 -0
- package/dist/components/base/inline-edit/index.d.ts +2 -0
- package/dist/components/base/inline-edit/inline-edit.d.ts +81 -0
- package/dist/components/base/inline-edit/inline-edit.recipes.d.ts +6 -0
- package/dist/components/base/structure/structure.recipes.d.ts +6 -0
- package/dist/components/blocks/analytics/index.d.ts +1 -0
- package/dist/components/blocks/analytics/usage-card/index.d.ts +3 -0
- package/dist/components/blocks/analytics/usage-card/types.d.ts +52 -0
- package/dist/components/blocks/analytics/usage-card/usage-card.d.ts +6 -0
- package/dist/components/blocks/analytics/usage-card/usage-card.data.d.ts +19 -0
- package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +22 -0
- package/dist/components/blocks/planning/index.d.ts +3 -0
- package/dist/components/blocks/planning/task-card.d.ts +3 -0
- package/dist/components/blocks/planning/task-card.strings.d.ts +15 -0
- package/dist/components/blocks/planning/task-card.types.d.ts +66 -0
- package/dist/{containers-CPNyNo1_.js → containers-6s-ucRQQ.js} +3 -2
- package/dist/containers-6s-ucRQQ.js.map +1 -0
- package/dist/{data-display-b3d1TfL4.js → data-display-cWIRdeaf.js} +8 -8
- package/dist/{data-display-b3d1TfL4.js.map → data-display-cWIRdeaf.js.map} +1 -1
- package/dist/{date-picker-DI6kPNof.js → date-picker-CA6ogMQB.js} +5 -5
- package/dist/{date-picker-DI6kPNof.js.map → date-picker-CA6ogMQB.js.map} +1 -1
- package/dist/{date-pickers-ByP6Cv2z.js → date-pickers-BPIKLdsD.js} +4 -4
- package/dist/{date-pickers-ByP6Cv2z.js.map → date-pickers-BPIKLdsD.js.map} +1 -1
- package/dist/{display-ByI5tkqy.js → display-CFM5myut.js} +3 -3
- package/dist/{display-ByI5tkqy.js.map → display-CFM5myut.js.map} +1 -1
- package/dist/features/activities.js +4 -4
- package/dist/features/ai-chat.js +4 -4
- package/dist/features/async-preview.js +4 -4
- package/dist/features/combobox.js +1 -1
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.js +5 -5
- package/dist/features/email-composer.js +11 -11
- package/dist/features/event-calendar.js +2 -2
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.js +6 -6
- package/dist/features/map.js +3 -3
- package/dist/features/media-library.js +8 -8
- package/dist/features/mentions.js +1 -1
- package/dist/features/overlays.js +1 -1
- package/dist/features/products.js +43 -42
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +107 -106
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +5 -5
- package/dist/features/resource.js +7 -7
- package/dist/features/rich-text-editor.js +1 -1
- package/dist/features/schema-form.js +11 -11
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +2 -2
- package/dist/features/sync.js +2 -2
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.js +11 -11
- package/dist/feedback-DWUkgEjR.js +233 -0
- package/dist/feedback-DWUkgEjR.js.map +1 -0
- package/dist/{field-affordance-recipes-CHdUtn2Z.js → field-affordance-recipes-IjzPrCTw.js} +2 -2
- package/dist/{field-affordance-recipes-CHdUtn2Z.js.map → field-affordance-recipes-IjzPrCTw.js.map} +1 -1
- package/dist/{filters-qtrcv1hf.js → filters-BhsUtsxW.js} +9 -9
- package/dist/{filters-qtrcv1hf.js.map → filters-BhsUtsxW.js.map} +1 -1
- package/dist/{form-field-C6W-y2hR.js → form-field-Bn7ZH1rA.js} +2 -2
- package/dist/{form-field-C6W-y2hR.js.map → form-field-Bn7ZH1rA.js.map} +1 -1
- package/dist/{form-sizing-39NohSqn.js → form-sizing-BWs70_a2.js} +4 -3
- package/dist/{form-sizing-39NohSqn.js.map → form-sizing-BWs70_a2.js.map} +1 -1
- package/dist/{forms-BF-HSbff.js → forms-B7pzS25o.js} +5 -5
- package/dist/{forms-BF-HSbff.js.map → forms-B7pzS25o.js.map} +1 -1
- package/dist/{forms-numeric-Y15Bg5Nr.js → forms-numeric-BUBxELBv.js} +18 -18
- package/dist/{forms-numeric-Y15Bg5Nr.js.map → forms-numeric-BUBxELBv.js.map} +1 -1
- package/dist/{header-B8ex54cY.js → header-C59QZyxV.js} +6 -6
- package/dist/{header-B8ex54cY.js.map → header-C59QZyxV.js.map} +1 -1
- package/dist/{hooks-D6UBVzf2.js → hooks-CM1Vp9Pe.js} +2 -2
- package/dist/{hooks-D6UBVzf2.js.map → hooks-CM1Vp9Pe.js.map} +1 -1
- package/dist/{input-DMorJiTI.js → input-WwYQZJzG.js} +3 -3
- package/dist/{input-DMorJiTI.js.map → input-WwYQZJzG.js.map} +1 -1
- 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 +9 -0
- package/dist/{media-gallery-Ca4YmvBi.js → media-gallery-DhDRgnVZ.js} +2 -2
- package/dist/{media-gallery-Ca4YmvBi.js.map → media-gallery-DhDRgnVZ.js.map} +1 -1
- package/dist/{mentions-CRio8mTm.js → mentions-B8Ko-fhS.js} +4 -4
- package/dist/{mentions-CRio8mTm.js.map → mentions-B8Ko-fhS.js.map} +1 -1
- package/dist/{message-B5-6LeYl.js → message-COsdEvXT.js} +2 -2
- package/dist/{message-B5-6LeYl.js.map → message-COsdEvXT.js.map} +1 -1
- package/dist/{navigation-DqEITuD2.js → navigation-BUIn2Qxx.js} +2 -2
- package/dist/{navigation-DqEITuD2.js.map → navigation-BUIn2Qxx.js.map} +1 -1
- package/dist/{navigation-BTrEb5u4.js → navigation-DBEu4POU.js} +3 -3
- package/dist/{navigation-BTrEb5u4.js.map → navigation-DBEu4POU.js.map} +1 -1
- package/dist/{navigation-row-recipes-BFpvGPGE.js → navigation-row-recipes-GVh11KiT.js} +2 -2
- package/dist/{navigation-row-recipes-BFpvGPGE.js.map → navigation-row-recipes-GVh11KiT.js.map} +1 -1
- package/dist/{overlays-DBqV0J_V.js → overlays-B11wZka6.js} +4 -4
- package/dist/{overlays-DBqV0J_V.js.map → overlays-B11wZka6.js.map} +1 -1
- package/dist/{page-BMBGjJY8.js → page-BV6ioQg3.js} +5 -5
- package/dist/{page-BMBGjJY8.js.map → page-BV6ioQg3.js.map} +1 -1
- package/dist/{page-header-BH41wCyY.js → page-header-DQRa0jug.js} +2 -2
- package/dist/{page-header-BH41wCyY.js.map → page-header-DQRa0jug.js.map} +1 -1
- package/dist/{popover-TInGXsjg.js → popover-CoLDEg19.js} +2 -2
- package/dist/{popover-TInGXsjg.js.map → popover-CoLDEg19.js.map} +1 -1
- package/dist/{popover-menu-BzqXqE72.js → popover-menu-GLIQTJTx.js} +4 -4
- package/dist/{popover-menu-BzqXqE72.js.map → popover-menu-GLIQTJTx.js.map} +1 -1
- package/dist/progress-BOe8l_FZ.js +168 -0
- package/dist/progress-BOe8l_FZ.js.map +1 -0
- package/dist/{receipt-DYWTQGEc.js → receipt-BM8xsGFy.js} +3 -3
- package/dist/{receipt-DYWTQGEc.js.map → receipt-BM8xsGFy.js.map} +1 -1
- package/dist/{rich-text-editor-BZSJchAF.js → rich-text-editor-CoVrTiSv.js} +2 -2
- package/dist/{rich-text-editor-BZSJchAF.js.map → rich-text-editor-CoVrTiSv.js.map} +1 -1
- package/dist/services/actions.js +1 -1
- package/dist/{settings-D9f_wdIC.js → settings-BnCyyPOJ.js} +3 -3
- package/dist/{settings-D9f_wdIC.js.map → settings-BnCyyPOJ.js.map} +1 -1
- package/dist/{sheet-vOUloJ4O.js → sheet-B-q914Ad.js} +2 -2
- package/dist/{sheet-vOUloJ4O.js.map → sheet-B-q914Ad.js.map} +1 -1
- package/dist/{sidebar-C3UKkbC5.js → sidebar-C_2p3Tfj.js} +6 -6
- package/dist/{sidebar-C3UKkbC5.js.map → sidebar-C_2p3Tfj.js.map} +1 -1
- package/dist/{sidebar-CNBKFDRW.js → sidebar-DPR7fmqN.js} +4 -4
- package/dist/{sidebar-CNBKFDRW.js.map → sidebar-DPR7fmqN.js.map} +1 -1
- package/dist/{skeleton-BvRhK8y-.js → skeleton-CmT1ppqb.js} +2 -2
- package/dist/{skeleton-BvRhK8y-.js.map → skeleton-CmT1ppqb.js.map} +1 -1
- package/dist/{smart-card-B5FcKODh.js → smart-card-CYLn46e6.js} +119 -118
- package/dist/smart-card-CYLn46e6.js.map +1 -0
- package/dist/{spinner-JtlFJ7Nc.js → spinner-BY9HbUEh.js} +2 -2
- package/dist/{spinner-JtlFJ7Nc.js.map → spinner-BY9HbUEh.js.map} +1 -1
- package/dist/{structure-BvW4vG4H.js → structure-MvKVq-oL.js} +13 -13
- package/dist/{structure-BvW4vG4H.js.map → structure-MvKVq-oL.js.map} +1 -1
- package/dist/{structure.recipes-DjqnBpwz.js → structure.recipes-Bqhf9oIh.js} +2 -2
- package/dist/structure.recipes-Bqhf9oIh.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/{table-ghtAQ-JJ.js → table-BS39xnlq.js} +6 -6
- package/dist/{table-ghtAQ-JJ.js.map → table-BS39xnlq.js.map} +1 -1
- package/dist/{tabs-DY09eoZg.js → tabs-B5cNMWiP.js} +2 -2
- package/dist/{tabs-DY09eoZg.js.map → tabs-B5cNMWiP.js.map} +1 -1
- package/dist/{text-inputs-BhOcedTo.js → text-inputs-Dh9XGyiS.js} +4 -4
- package/dist/{text-inputs-BhOcedTo.js.map → text-inputs-Dh9XGyiS.js.map} +1 -1
- package/dist/{timelines-CnZ2S_Gr.js → timelines-B9ICkQcV.js} +2 -2
- package/dist/{timelines-CnZ2S_Gr.js.map → timelines-B9ICkQcV.js.map} +1 -1
- package/dist/{tree-COD9BGdU.js → tree-BdWSaoFT.js} +2 -2
- package/dist/{tree-COD9BGdU.js.map → tree-BdWSaoFT.js.map} +1 -1
- package/dist/{upload-DIzw1dx1.js → upload-D8Za5x_c.js} +4 -4
- package/dist/{upload-DIzw1dx1.js.map → upload-D8Za5x_c.js.map} +1 -1
- package/dist/{upload-queue-xRJ3qDmd.js → upload-queue-hIIYBLS7.js} +3 -3
- package/dist/{upload-queue-xRJ3qDmd.js.map → upload-queue-hIIYBLS7.js.map} +1 -1
- package/dist/usage-card-DnmnJ58D.js +458 -0
- package/dist/usage-card-DnmnJ58D.js.map +1 -0
- package/dist/{value-inputs-Co1fu-xv.js → value-inputs-DX2dbxjj.js} +7 -7
- package/dist/{value-inputs-Co1fu-xv.js.map → value-inputs-DX2dbxjj.js.map} +1 -1
- package/dist/{workspace-Cbqz4FzN.js → workspace-C1PZmk8L.js} +4 -4
- package/dist/{workspace-Cbqz4FzN.js.map → workspace-C1PZmk8L.js.map} +1 -1
- package/docs/consumer-skill/SKILL.md +120 -17
- package/docs/consumer-skill/examples/detail.tsx +7 -8
- package/docs/consumer-skill/examples/manifest.json +14 -0
- package/docs/consumer-skill/examples/planning-usage-edit.tsx +29 -0
- package/docs/consumer-skill/examples/scoped-directory.tsx +77 -0
- package/docs/consumer-skill/references/composition.md +103 -0
- package/docs/consumer-skill/references/design-contract.md +4 -3
- package/docs/consumer-skill/references/discovery.md +17 -0
- package/docs/consumer-skill/references/installation.md +20 -3
- package/docs/consumer-skill/references/integration.md +12 -0
- package/docs/consumer-skill/references/public-api.json +452 -229
- package/docs/consumer-skill/references/review.md +74 -0
- package/docs/consumer-skill/references/tokens.json +1 -1
- package/docs/consumer-skill/references/workflows.md +97 -1
- package/docs/consumer-skill/scripts/check-composition.mjs +31 -0
- package/docs/consumer-skill/scripts/composition-policy.mjs +155 -0
- package/docs/consumer-skill/scripts/discovery.mjs +6 -1
- package/docs/consumer-skill/scripts/surface-policy.mjs +22 -0
- package/package.json +24 -3
- package/dist/affordance-geometry.generated-DXl-Zb3Z.js.map +0 -1
- package/dist/avatar-CsnWaYmt.js.map +0 -1
- package/dist/choice-inputs-CavA-SGV.js.map +0 -1
- package/dist/containers-CPNyNo1_.js.map +0 -1
- package/dist/feedback-a9j9J-9A.js +0 -391
- package/dist/feedback-a9j9J-9A.js.map +0 -1
- package/dist/smart-card-B5FcKODh.js.map +0 -1
- package/dist/structure.recipes-DjqnBpwz.js.map +0 -1
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { _ as e, s as t } from "./ui-provider-CftIB6TY.js";
|
|
3
3
|
import { t as n } from "./utils-C2EKeIw3.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
4
|
+
import { t as r } from "./affordance-geometry.generated-D8Jcfb0G.js";
|
|
5
|
+
import { a as i } from "./typography-Cv8MT-82.js";
|
|
6
|
+
import { t as a } from "./initials-format-CDoQEOd_.js";
|
|
7
|
+
import * as o from "react";
|
|
8
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
|
+
import { Avatar as l } from "@base-ui/react/avatar";
|
|
9
10
|
//#region src/components/ui/avatar.tsx
|
|
10
|
-
function
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
function u({ className: e, size: t = "default", ...r }) {
|
|
12
|
+
return /* @__PURE__ */ s(l.Root, {
|
|
12
13
|
"data-slot": "avatar",
|
|
13
14
|
"data-size": t,
|
|
14
15
|
className: n("size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten", e),
|
|
15
16
|
...r
|
|
16
17
|
});
|
|
17
18
|
}
|
|
18
|
-
function
|
|
19
|
-
return /* @__PURE__ */
|
|
19
|
+
function d({ className: e, ...t }) {
|
|
20
|
+
return /* @__PURE__ */ s(l.Image, {
|
|
20
21
|
"data-slot": "avatar-image",
|
|
21
22
|
className: n("rounded-full aspect-square size-full object-cover", e),
|
|
22
23
|
...t
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
|
-
function
|
|
26
|
-
return /* @__PURE__ */
|
|
26
|
+
function f({ className: e, ...t }) {
|
|
27
|
+
return /* @__PURE__ */ s(l.Fallback, {
|
|
27
28
|
"data-slot": "avatar-fallback",
|
|
28
29
|
className: n("bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs", e),
|
|
29
30
|
...t
|
|
30
31
|
});
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
-
return /* @__PURE__ */
|
|
33
|
+
function p({ className: e, ...t }) {
|
|
34
|
+
return /* @__PURE__ */ s("span", {
|
|
34
35
|
"data-slot": "avatar-badge",
|
|
35
36
|
className: n("bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none", "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", e),
|
|
36
37
|
...t
|
|
37
38
|
});
|
|
38
39
|
}
|
|
39
|
-
function
|
|
40
|
-
return /* @__PURE__ */
|
|
40
|
+
function m({ className: e, ...t }) {
|
|
41
|
+
return /* @__PURE__ */ s("div", {
|
|
41
42
|
"data-slot": "avatar-group",
|
|
42
43
|
className: n("*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2", e),
|
|
43
44
|
...t
|
|
44
45
|
});
|
|
45
46
|
}
|
|
46
|
-
function
|
|
47
|
-
return /* @__PURE__ */
|
|
47
|
+
function h({ className: e, ...t }) {
|
|
48
|
+
return /* @__PURE__ */ s("div", {
|
|
48
49
|
"data-slot": "avatar-group-count",
|
|
49
50
|
className: n("bg-muted text-muted-foreground size-8 rounded-full text-sm group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", e),
|
|
50
51
|
...t
|
|
@@ -52,36 +53,36 @@ function m({ className: e, ...t }) {
|
|
|
52
53
|
}
|
|
53
54
|
//#endregion
|
|
54
55
|
//#region src/components/base/avatar/avatar.tsx
|
|
55
|
-
var
|
|
56
|
-
sm: "size-avatar-sm",
|
|
56
|
+
var g = {
|
|
57
|
+
sm: "size-avatar-sm data-[size=sm]:size-avatar-sm",
|
|
57
58
|
md: "size-avatar",
|
|
58
|
-
lg: "size-avatar-lg"
|
|
59
|
+
lg: "size-avatar-lg data-[size=lg]:size-avatar-lg"
|
|
59
60
|
};
|
|
60
|
-
function
|
|
61
|
+
function _(e) {
|
|
61
62
|
return e === "sm" ? "sm" : e === "lg" ? "lg" : "default";
|
|
62
63
|
}
|
|
63
|
-
var
|
|
64
|
-
let { defaultScale: c } = t(),
|
|
65
|
-
return /* @__PURE__ */
|
|
66
|
-
ref:
|
|
67
|
-
size:
|
|
68
|
-
"data-scale":
|
|
69
|
-
className: n("avatar--component",
|
|
64
|
+
var v = o.forwardRef(({ size: r, className: i, ...a }, o) => {
|
|
65
|
+
let { defaultScale: c } = t(), l = e(r, c);
|
|
66
|
+
return /* @__PURE__ */ s(u, {
|
|
67
|
+
ref: o,
|
|
68
|
+
size: _(l),
|
|
69
|
+
"data-scale": l,
|
|
70
|
+
className: n("avatar--component", g[l], i),
|
|
70
71
|
...a
|
|
71
72
|
});
|
|
72
73
|
});
|
|
73
|
-
|
|
74
|
-
var
|
|
74
|
+
v.displayName = "Avatar";
|
|
75
|
+
var y = o.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s(d, {
|
|
75
76
|
ref: r,
|
|
76
77
|
className: n("avatar--image", e),
|
|
77
78
|
...t
|
|
78
79
|
}));
|
|
79
|
-
|
|
80
|
-
var
|
|
80
|
+
y.displayName = "AvatarImage";
|
|
81
|
+
var b = o.forwardRef(({ className: e, children: t, ...r }, a) => /* @__PURE__ */ s(f, {
|
|
81
82
|
ref: a,
|
|
82
83
|
className: n("avatar--fallback text-xs font-medium leading-none", e),
|
|
83
|
-
...
|
|
84
|
-
children: typeof t == "string" || typeof t == "number" || typeof t == "bigint" ? /* @__PURE__ */
|
|
84
|
+
...r,
|
|
85
|
+
children: typeof t == "string" || typeof t == "number" || typeof t == "bigint" ? /* @__PURE__ */ s(i, {
|
|
85
86
|
tag: "span",
|
|
86
87
|
size: "inherit",
|
|
87
88
|
weight: "medium",
|
|
@@ -90,24 +91,24 @@ var y = a.forwardRef(({ className: e, children: t, ...i }, a) => /* @__PURE__ */
|
|
|
90
91
|
children: t
|
|
91
92
|
}) : t
|
|
92
93
|
}));
|
|
93
|
-
|
|
94
|
-
var
|
|
94
|
+
b.displayName = "AvatarFallback";
|
|
95
|
+
var x = o.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s(p, {
|
|
95
96
|
ref: r,
|
|
96
97
|
className: n("avatar--badge", e),
|
|
97
98
|
...t
|
|
98
99
|
}));
|
|
99
|
-
|
|
100
|
-
var
|
|
101
|
-
ref:
|
|
102
|
-
className: n("avatar-group--component", e),
|
|
100
|
+
x.displayName = "AvatarBadge";
|
|
101
|
+
var S = o.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ s(m, {
|
|
102
|
+
ref: i,
|
|
103
|
+
className: n("avatar-group--component isolate items-center", r.avatarOverlap.md, r.avatarOverlap.sm, r.avatarOverlap.lg, e),
|
|
103
104
|
...t
|
|
104
105
|
}));
|
|
105
|
-
|
|
106
|
-
var
|
|
106
|
+
S.displayName = "AvatarGroup";
|
|
107
|
+
var C = o.forwardRef(({ className: e, children: t, ...r }, a) => /* @__PURE__ */ s(h, {
|
|
107
108
|
ref: a,
|
|
108
|
-
className: n("avatar-group-count--component size-avatar text-xs", "group-has-data-[size=sm]/avatar-group:size-avatar-sm", e),
|
|
109
|
-
...
|
|
110
|
-
children: typeof t == "string" || typeof t == "number" || typeof t == "bigint" ? /* @__PURE__ */
|
|
109
|
+
className: n("avatar-group-count--component size-avatar text-xs", "group-has-data-[size=sm]/avatar-group:size-avatar-sm", "group-has-data-[size=lg]/avatar-group:size-avatar-lg", e),
|
|
110
|
+
...r,
|
|
111
|
+
children: typeof t == "string" || typeof t == "number" || typeof t == "bigint" ? /* @__PURE__ */ s(i, {
|
|
111
112
|
tag: "span",
|
|
112
113
|
size: "inherit",
|
|
113
114
|
weight: "medium",
|
|
@@ -116,16 +117,16 @@ var S = a.forwardRef(({ className: e, children: t, ...i }, a) => /* @__PURE__ */
|
|
|
116
117
|
children: t
|
|
117
118
|
}) : t
|
|
118
119
|
}));
|
|
119
|
-
|
|
120
|
+
C.displayName = "AvatarGroupCount";
|
|
120
121
|
//#endregion
|
|
121
122
|
//#region src/components/base/avatar/stacked-avatars.tsx
|
|
122
|
-
var
|
|
123
|
+
var w = [
|
|
123
124
|
"neutral",
|
|
124
125
|
"primary",
|
|
125
126
|
"secondary",
|
|
126
127
|
"info",
|
|
127
128
|
"success"
|
|
128
|
-
],
|
|
129
|
+
], T = {
|
|
129
130
|
neutral: "bg-muted text-muted-foreground",
|
|
130
131
|
primary: "bg-primary/10 text-primary-accent",
|
|
131
132
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -134,40 +135,44 @@ var C = [
|
|
|
134
135
|
warning: "bg-warning/15 text-warning",
|
|
135
136
|
destructive: "bg-destructive/10 text-destructive"
|
|
136
137
|
};
|
|
137
|
-
function
|
|
138
|
-
return typeof t == "string" ? t : typeof t == "number" ?
|
|
138
|
+
function E(e, t) {
|
|
139
|
+
return typeof t == "string" ? t : typeof t == "number" ? w[Math.abs(t) % w.length] : w[(typeof e == "number" ? e : Array.from(e).reduce((e, t) => e + t.charCodeAt(0), 0)) % w.length];
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
-
let { defaultScale: m } = t(), h = e(l, m), g =
|
|
142
|
-
return /* @__PURE__ */
|
|
141
|
+
function D({ users: r, max: o = 4, size: l, className: u, showOverflow: d = !0, overflowFormatter: f, avatarClassName: p }) {
|
|
142
|
+
let { defaultScale: m } = t(), h = e(l, m), g = r.slice(0, o), _ = Math.max(0, r.length - o), x = f ? f(_) : `+${_}`;
|
|
143
|
+
return /* @__PURE__ */ c(S, {
|
|
143
144
|
className: n("stacked-avatars--component", u),
|
|
144
145
|
children: [g.map((e, t) => {
|
|
145
|
-
let r =
|
|
146
|
+
let r = a(e.name, {
|
|
146
147
|
maxCharacters: h === "sm" ? 1 : 2,
|
|
147
148
|
fallback: "?"
|
|
148
|
-
}),
|
|
149
|
-
return /* @__PURE__ */
|
|
149
|
+
}), i = E(e.id ?? e.name ?? t, e.tone);
|
|
150
|
+
return /* @__PURE__ */ c(v, {
|
|
150
151
|
size: h,
|
|
151
152
|
className: n("ring-background", p),
|
|
152
153
|
title: e.name,
|
|
153
|
-
children: [e.imageUrl ? /* @__PURE__ */
|
|
154
|
+
children: [e.imageUrl ? /* @__PURE__ */ s(y, {
|
|
154
155
|
src: e.imageUrl,
|
|
155
156
|
alt: e.name
|
|
156
|
-
}) : null, /* @__PURE__ */
|
|
157
|
-
className: n("font-semibold",
|
|
157
|
+
}) : null, /* @__PURE__ */ s(b, {
|
|
158
|
+
className: n("font-semibold", T[i]),
|
|
158
159
|
children: r
|
|
159
160
|
})]
|
|
160
161
|
}, e.id ?? `${e.name}-${t}`);
|
|
161
|
-
}), !!d &&
|
|
162
|
-
|
|
163
|
-
size: "
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
}), !!d && _ > 0 && /* @__PURE__ */ s(C, {
|
|
163
|
+
"data-scale": h,
|
|
164
|
+
"data-size": h === "md" ? "default" : h,
|
|
165
|
+
children: typeof x == "string" || typeof x == "number" || typeof x == "bigint" ? /* @__PURE__ */ s(i, {
|
|
166
|
+
tag: "span",
|
|
167
|
+
size: "xs",
|
|
168
|
+
weight: "semibold",
|
|
169
|
+
children: x
|
|
170
|
+
}) : x
|
|
171
|
+
})]
|
|
167
172
|
});
|
|
168
173
|
}
|
|
169
|
-
|
|
174
|
+
D.displayName = "StackedAvatars";
|
|
170
175
|
//#endregion
|
|
171
|
-
export {
|
|
176
|
+
export { S as a, b as i, v as n, C as o, x as r, y as s, D as t };
|
|
172
177
|
|
|
173
|
-
//# sourceMappingURL=avatar-
|
|
178
|
+
//# sourceMappingURL=avatar-Bpzty83c.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar-Bpzty83c.js","names":["Avatar","AvatarPrimitive","AvatarImage","AvatarFallback","AvatarBadge","AvatarGroup","AvatarGroupCount","Avatar","React","PrimitiveAvatar","PrimitiveAvatarImage","PrimitiveAvatarFallback","PrimitiveAvatarBadge","PrimitiveAvatarGroup","PrimitiveAvatarGroupCount","Avatar","resolveComponentScale","useDensityConfig","cn","affordanceGeometry","Text","formatInitials","React$1","Avatar$2","props","Avatar","size","className","AvatarImage$1","AvatarFallback$1","AvatarBadge$1","AvatarGroup$1","AvatarGroupCount$1","AVATAR_SIZE_CLASSNAMES","getPrimitiveSize","Avatar$1","sizeProp","defaultScale","AvatarImage","AvatarFallback","children","AvatarBadge","AvatarGroup","AvatarGroupCount","FALLBACK_TONES","FALLBACK_TONE_CLASSNAMES","pickFallbackTone","override","seed","s","c","StackedAvatars","visible","users","max","overflow","overflowContent","overflowFormatter","initials","user","fallbackTone","index","avatarClassName","showOverflow"],"sources":["../src/components/ui/avatar.tsx","../src/components/base/avatar/avatar.tsx","../src/components/base/avatar/stacked-avatars.tsx"],"sourcesContent":["import { Avatar as AvatarPrimitive } from \"@base-ui/react/avatar\"\nimport * as React from \"react\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Avatar({\n className,\n size = \"default\",\n ...props\n}: AvatarPrimitive.Root.Props & {\n size?: \"default\" | \"sm\" | \"lg\"\n}) {\n return (\n <AvatarPrimitive.Root\n data-slot=\"avatar\"\n data-size={size}\n className={cn(\n \"size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AvatarImage({ className, ...props }: AvatarPrimitive.Image.Props) {\n return (\n <AvatarPrimitive.Image\n data-slot=\"avatar-image\"\n className={cn(\n \"rounded-full aspect-square size-full object-cover\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AvatarFallback({\n className,\n ...props\n}: AvatarPrimitive.Fallback.Props) {\n return (\n <AvatarPrimitive.Fallback\n data-slot=\"avatar-fallback\"\n className={cn(\n \"bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AvatarBadge({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"avatar-badge\"\n className={cn(\n \"bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none\",\n \"group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden\",\n \"group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2\",\n \"group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AvatarGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"avatar-group\"\n className={cn(\n \"*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AvatarGroupCount({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"avatar-group-count\"\n className={cn(\"bg-muted text-muted-foreground size-8 rounded-full text-sm group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2\", className)}\n {...props}\n />\n )\n}\n\nexport {\n Avatar,\n AvatarImage,\n AvatarFallback,\n AvatarGroup,\n AvatarGroupCount,\n AvatarBadge,\n}\n","/**\n * Avatar — tokenized base wrapper around the shadcn/Base UI avatar primitive.\n * Public sizing uses the shared component scale.\n */\nimport * as React from 'react';\n\nimport {\n\tAvatar as PrimitiveAvatar,\n\tAvatarBadge as PrimitiveAvatarBadge,\n\tAvatarFallback as PrimitiveAvatarFallback,\n\tAvatarGroup as PrimitiveAvatarGroup,\n\tAvatarGroupCount as PrimitiveAvatarGroupCount,\n\tAvatarImage as PrimitiveAvatarImage,\n} from '../../ui/avatar';\nimport { useDensityConfig, type ComponentScale } from '../../../lib/ui-provider';\nimport { resolveComponentScale } from '../../../lib/ui-provider/scale';\nimport { Text } from '../../typography';\nimport { cn } from '../../../lib/utils';\nimport { affordanceGeometry } from '../../../lib/affordance-geometry.generated';\n\nexport type AvatarSize = ComponentScale;\n\nexport interface AvatarProps\n\textends Omit<React.ComponentPropsWithoutRef<typeof PrimitiveAvatar>, 'size'> {\n\t/** Size preset. */\n\tsize?: AvatarSize;\n}\n\nexport type AvatarImageProps = React.ComponentPropsWithoutRef<typeof PrimitiveAvatarImage>;\nexport type AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof PrimitiveAvatarFallback>;\nexport type AvatarBadgeProps = React.ComponentPropsWithoutRef<typeof PrimitiveAvatarBadge>;\nexport type AvatarGroupProps = React.ComponentPropsWithoutRef<typeof PrimitiveAvatarGroup>;\nexport type AvatarGroupCountProps = React.ComponentPropsWithoutRef<typeof PrimitiveAvatarGroupCount>;\n\nconst AVATAR_SIZE_CLASSNAMES: Record<AvatarSize, string> = {\n\tsm: 'size-avatar-sm data-[size=sm]:size-avatar-sm',\n\tmd: 'size-avatar',\n\tlg: 'size-avatar-lg data-[size=lg]:size-avatar-lg',\n};\n\nfunction getPrimitiveSize(size: AvatarSize): NonNullable<React.ComponentPropsWithoutRef<typeof PrimitiveAvatar>['size']> {\n\tif (size === 'sm') return 'sm';\n\tif (size === 'lg') return 'lg';\n\treturn 'default';\n}\n\nconst Avatar = React.forwardRef<React.ElementRef<typeof PrimitiveAvatar>, AvatarProps>(\n\t({ size: sizeProp, className, ...props }, ref) => {\n\t\tconst { defaultScale } = useDensityConfig();\n\t\tconst size = resolveComponentScale(sizeProp, defaultScale);\n\t\treturn (\n\t\t\t<PrimitiveAvatar\n\t\t\t\tref={ref}\n\t\t\t\tsize={getPrimitiveSize(size)}\n\t\t\t\tdata-scale={size}\n\t\t\t\tclassName={cn('avatar--component', AVATAR_SIZE_CLASSNAMES[size], className)}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t},\n);\nAvatar.displayName = 'Avatar';\n\nconst AvatarImage = React.forwardRef<React.ElementRef<typeof PrimitiveAvatarImage>, AvatarImageProps>(\n\t({ className, ...props }, ref) => (\n\t\t<PrimitiveAvatarImage\n\t\t\tref={ref}\n\t\t\tclassName={cn('avatar--image', className)}\n\t\t\t{...props}\n\t\t/>\n\t),\n);\nAvatarImage.displayName = 'AvatarImage';\n\nconst AvatarFallback = React.forwardRef<React.ElementRef<typeof PrimitiveAvatarFallback>, AvatarFallbackProps>(\n\t({ className, children, ...props }, ref) => (\n\t\t<PrimitiveAvatarFallback\n\t\t\tref={ref}\n\t\t\tclassName={cn('avatar--fallback text-xs font-medium leading-none', className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{typeof children === 'string' || typeof children === 'number' || typeof children === 'bigint' ? (\n\t\t\t\t<Text tag=\"span\" size=\"inherit\" weight=\"medium\" lineHeight=\"none\" className=\"text-inherit\">\n\t\t\t\t\t{children}\n\t\t\t\t</Text>\n\t\t\t) : children}\n\t\t</PrimitiveAvatarFallback>\n\t),\n);\nAvatarFallback.displayName = 'AvatarFallback';\n\nconst AvatarBadge = React.forwardRef<React.ElementRef<typeof PrimitiveAvatarBadge>, AvatarBadgeProps>(\n\t({ className, ...props }, ref) => (\n\t\t<PrimitiveAvatarBadge\n\t\t\tref={ref}\n\t\t\tclassName={cn('avatar--badge', className)}\n\t\t\t{...props}\n\t\t/>\n\t),\n);\nAvatarBadge.displayName = 'AvatarBadge';\n\nconst AvatarGroup = React.forwardRef<React.ElementRef<typeof PrimitiveAvatarGroup>, AvatarGroupProps>(\n\t({ className, ...props }, ref) => (\n\t\t<PrimitiveAvatarGroup\n\t\t\tref={ref}\n\t\t\tclassName={cn('avatar-group--component isolate items-center', affordanceGeometry.avatarOverlap.md, affordanceGeometry.avatarOverlap.sm, affordanceGeometry.avatarOverlap.lg, className)}\n\t\t\t{...props}\n\t\t/>\n\t),\n);\nAvatarGroup.displayName = 'AvatarGroup';\n\nconst AvatarGroupCount = React.forwardRef<React.ElementRef<typeof PrimitiveAvatarGroupCount>, AvatarGroupCountProps>(\n\t({ className, children, ...props }, ref) => (\n\t\t<PrimitiveAvatarGroupCount\n\t\t\tref={ref}\n\t\t\tclassName={cn(\n\t\t\t\t'avatar-group-count--component size-avatar text-xs',\n\t\t\t\t'group-has-data-[size=sm]/avatar-group:size-avatar-sm',\n\t\t\t\t'group-has-data-[size=lg]/avatar-group:size-avatar-lg',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{typeof children === 'string' || typeof children === 'number' || typeof children === 'bigint' ? (\n\t\t\t\t<Text tag=\"span\" size=\"inherit\" weight=\"medium\" lineHeight=\"none\" className=\"text-inherit\">\n\t\t\t\t\t{children}\n\t\t\t\t</Text>\n\t\t\t) : children}\n\t\t</PrimitiveAvatarGroupCount>\n\t),\n);\nAvatarGroupCount.displayName = 'AvatarGroupCount';\n\nexport {\n\tAvatar,\n\tAvatarImage,\n\tAvatarFallback,\n\tAvatarGroup,\n\tAvatarGroupCount,\n\tAvatarBadge,\n};\n","/**\n * StackedAvatars — overlapping avatar group with optional `+N` overflow chip,\n * configurable size, and an optional semantic `tone` for fallbacks (initials)\n * when the consumer hasn't passed `imageUrl`.\n *\n * Wraps the shadcn AvatarGroup primitive with library-default sizes and a\n * deterministic tone picker so fallbacks stay stable without raw hue utilities.\n */\nimport * as React from 'react';\nimport {\n\tAvatar,\n\tAvatarFallback,\n\tAvatarGroup,\n\tAvatarGroupCount,\n\tAvatarImage,\n} from './avatar';\nimport { formatInitials } from '../../primitives/initials-format';\nimport { Text } from '../../typography';\nimport { useDensityConfig, type ComponentScale } from '../../../lib/ui-provider';\nimport { resolveComponentScale } from '../../../lib/ui-provider/scale';\nimport { cn } from '../../../lib/utils';\nimport type { SemanticTone } from '../../../lib/component-vocabulary';\n\nexport type StackedAvatarsSize = ComponentScale;\nexport type StackedAvatarTone = SemanticTone;\n\nexport interface StackedAvatarUser {\n\t/** Stable identity for this entry. */\n\tid?: string;\n\t/** Form field name, forwarded for native submits. */\n\tname: string;\n\timageUrl?: string;\n\t/** Optional semantic tone override for this user's fallback. Numeric values map to the token set. */\n\ttone?: StackedAvatarTone | number;\n}\n\nexport interface StackedAvatarsProps {\n\tusers: StackedAvatarUser[];\n\tmax?: number;\n\t/** Size preset. */\n\tsize?: StackedAvatarsSize;\n\tclassName?: string;\n\t/** Whether to render a `+N` count when `users.length > max`. Default `true`. */\n\tshowOverflow?: boolean;\n\t/** Provide custom overflow text (e.g. \"+12 more\"). Default `+N`. */\n\toverflowFormatter?: (overflow: number) => React.ReactNode;\n\t/** Extra class names applied to each avatar root. */\n\tavatarClassName?: string;\n}\n\nconst FALLBACK_TONES: StackedAvatarTone[] = [\n\t'neutral',\n\t'primary',\n\t'secondary',\n\t'info',\n\t'success',\n];\n\nconst FALLBACK_TONE_CLASSNAMES: Record<StackedAvatarTone, string> = {\n\tneutral: 'bg-muted text-muted-foreground',\n\tprimary: 'bg-primary/10 text-primary-accent',\n\tsecondary: 'bg-secondary text-secondary-foreground',\n\tinfo: 'bg-info/10 text-info',\n\tsuccess: 'bg-success/10 text-success',\n\twarning: 'bg-warning/15 text-warning',\n\tdestructive: 'bg-destructive/10 text-destructive',\n};\n\nfunction pickFallbackTone(seed: string | number, override?: StackedAvatarTone | number) {\n\tif (typeof override === 'string') {\n\t\treturn override;\n\t}\n\tif (typeof override === 'number') {\n\t\treturn FALLBACK_TONES[Math.abs(override) % FALLBACK_TONES.length];\n\t}\n\tconst key = typeof seed === 'number' ? seed : Array.from(seed).reduce((s, c) => s + c.charCodeAt(0), 0);\n\treturn FALLBACK_TONES[key % FALLBACK_TONES.length];\n}\n\nexport function StackedAvatars({\n\tusers,\n\tmax = 4,\n\tsize: sizeProp,\n\tclassName,\n\tshowOverflow = true,\n\toverflowFormatter,\n\tavatarClassName,\n}: StackedAvatarsProps) {\n\tconst { defaultScale } = useDensityConfig();\n\tconst size = resolveComponentScale(sizeProp, defaultScale);\n\tconst visible = users.slice(0, max);\n\tconst overflow = Math.max(0, users.length - max);\n\tconst overflowContent = overflowFormatter ? overflowFormatter(overflow) : `+${overflow}`;\n\n\treturn (\n\t\t<AvatarGroup className={cn('stacked-avatars--component', className)}>\n\t\t\t{visible.map((user, index) => {\n\t\t\t\tconst initials = formatInitials(user.name, {\n\t\t\t\t\tmaxCharacters: size === 'sm' ? 1 : 2,\n\t\t\t\t\tfallback: '?',\n\t\t\t\t});\n\t\t\t\tconst fallbackTone = pickFallbackTone(user.id ?? user.name ?? index, user.tone);\n\t\t\t\treturn (\n\t\t\t\t\t<Avatar\n\t\t\t\t\t\tkey={user.id ?? `${user.name}-${index}`}\n\t\t\t\t\t\tsize={size}\n\t\t\t\t\t\tclassName={cn('ring-background', avatarClassName)}\n\t\t\t\t\t\ttitle={user.name}\n\t\t\t\t\t>\n\t\t\t\t\t\t{user.imageUrl ? (\n\t\t\t\t\t\t\t<AvatarImage src={user.imageUrl} alt={user.name} />\n\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t<AvatarFallback\n\t\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\t'font-semibold',\n\t\t\t\t\t\t\t\tFALLBACK_TONE_CLASSNAMES[fallbackTone],\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{initials}\n\t\t\t\t\t\t</AvatarFallback>\n\t\t\t\t\t</Avatar>\n\t\t\t\t);\n\t\t\t})}\n\t\t\t{!!showOverflow && overflow > 0 && (\n\t\t\t\t<AvatarGroupCount data-scale={size} data-size={size === 'md' ? 'default' : size}>\n\t\t\t\t\t{typeof overflowContent === 'string' || typeof overflowContent === 'number' || typeof overflowContent === 'bigint' ? (\n\t\t\t\t\t\t<Text tag=\"span\" size=\"xs\" weight=\"semibold\">\n\t\t\t\t\t\t\t{overflowContent}\n\t\t\t\t\t\t</Text>\n\t\t\t\t\t) : overflowContent}\n\t\t\t\t</AvatarGroupCount>\n\t\t\t)}\n\t\t</AvatarGroup>\n\t);\n}\n\nStackedAvatars.displayName = 'StackedAvatars';\n"],"mappings":"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"}
|
package/dist/base/accordion.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as e, l as t, n, s as r, t as i, u as a } from "../accordion-
|
|
2
|
+
import { c as e, l as t, n, s as r, t as i, u as a } from "../accordion-B-5Focs8.js";
|
|
3
3
|
export { r as Accordion, e as AccordionContent, t as AccordionItem, a as AccordionTrigger, i as SmartAccordion, n as defaultSmartAccordionStrings };
|
package/dist/base/attachment.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../attachment-
|
|
2
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../attachment-BO2R47wn.js";
|
|
3
3
|
export { c as Attachment, i as AttachmentActions, o as AttachmentContent, n as AttachmentDescription, e as AttachmentFileIcon, a as AttachmentMedia, s as AttachmentProgress, t as AttachmentTitle, l as defaultAttachmentStrings, r as getAttachmentKind };
|
package/dist/base/avatar.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 "../avatar-
|
|
2
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../avatar-Bpzty83c.js";
|
|
3
3
|
export { n as Avatar, i as AvatarBadge, t as AvatarFallback, e as AvatarGroup, r as AvatarGroupCount, a as AvatarImage, o as StackedAvatars };
|
package/dist/base/cards.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../smart-card-
|
|
3
|
-
import { n as u, r as d, t as f } from "../cards-
|
|
2
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../smart-card-CYLn46e6.js";
|
|
3
|
+
import { n as u, r as d, t as f } from "../cards-Cum56XOF.js";
|
|
4
4
|
export { c as Card, f as CardActionStrip, n as CardContent, e as CardDescription, a as CardFooter, s as CardHeader, u as CardPrimaryAction, t as CardShell, d as CardSkeleton, d as SmartCardSkeleton, r as CardTitle, i as SmartCard, o as defaultCardStrings, o as defaultSmartCardStrings, l as hasRenderableContent };
|
package/dist/base/cascader.js
CHANGED
|
@@ -3,16 +3,16 @@ import { s as e } from "../ui-provider-CftIB6TY.js";
|
|
|
3
3
|
import { t } from "../utils-C2EKeIw3.js";
|
|
4
4
|
import { n } from "../buttons-Co6GavvM.js";
|
|
5
5
|
import { a as r } from "../typography-Cv8MT-82.js";
|
|
6
|
-
import { t as i } from "../structure-
|
|
6
|
+
import { t as i } from "../structure-MvKVq-oL.js";
|
|
7
7
|
import { n as a } from "../surface-recipes-CQfRr-VL.js";
|
|
8
8
|
import { i as ee } from "../popover.recipes-zgBhMlUu.js";
|
|
9
9
|
import { t as te } from "../collection-content-C4fthJV_.js";
|
|
10
|
-
import { a as ne, o as re, t as ie } from "../command-
|
|
11
|
-
import { d as ae, o as oe, p as se } from "../form-sizing-
|
|
12
|
-
import { t as ce } from "../input-
|
|
13
|
-
import { a as le, c as ue, i as de, n as fe, o as pe, t as me } from "../popover-
|
|
10
|
+
import { a as ne, o as re, t as ie } from "../command-C0xe7u9B.js";
|
|
11
|
+
import { d as ae, o as oe, p as se } from "../form-sizing-BWs70_a2.js";
|
|
12
|
+
import { t as ce } from "../input-WwYQZJzG.js";
|
|
13
|
+
import { a as le, c as ue, i as de, n as fe, o as pe, t as me } from "../popover-CoLDEg19.js";
|
|
14
14
|
import { t as he } from "../scroll-area-BheMQ270.js";
|
|
15
|
-
import { n as ge, r as o, t as _e } from "../tree-
|
|
15
|
+
import { n as ge, r as o, t as _e } from "../tree-BdWSaoFT.js";
|
|
16
16
|
import { useEffect as s, useMemo as ve, useRef as c, useState as l } from "react";
|
|
17
17
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
18
18
|
import { ChevronDown as ye, ChevronLeft as be, ChevronRight as xe } from "lucide-react";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, c as t, d as n, f as r,
|
|
3
|
-
|
|
2
|
+
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "../choice-inputs-CC7XqPQO.js";
|
|
3
|
+
import { t as m } from "../checkbox-BavDRjF7.js";
|
|
4
|
+
export { i as CardCheckboxGroup, u as CardRadioGroup, m as Checkbox, s as ListRadioGroup, f as PillRadioGroup, t as Select, p as SelectPopupContent, n as SelectPopupGroup, r as SelectPopupItem, l as SelectPopupLabel, o as SelectPopupSeparator, d as Switch, c as SwitchCard, e as ToggleField, a as defaultSelectStrings };
|
package/dist/base/code-block.js
CHANGED
package/dist/base/combobox.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as e, S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, w as x, x as S, y as C } from "../combobox-
|
|
2
|
+
import { C as e, S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, w as x, x as S, y as C } from "../combobox-DEbdr-3u.js";
|
|
3
3
|
export { _ as ComboboxArrow, a as ComboboxBackdrop, d as ComboboxChip, y as ComboboxChips, o as ComboboxChipsInput, s as ComboboxClear, h as ComboboxCollection, f as ComboboxEmpty, l as ComboboxGroup, c as ComboboxGroupLabel, v as ComboboxInput, n as ComboboxInputTrigger, p as ComboboxItem, b as ComboboxItemIndicator, C as ComboboxList, g as ComboboxPopup, i as ComboboxPortal, S as ComboboxPositioner, m as ComboboxRoot, u as ComboboxSeparator, t as ComboboxStatus, r as ComboboxTrigger, e as ComboboxValue, x as useComboboxFilter };
|
package/dist/base/command.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../command-
|
|
2
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../command-C0xe7u9B.js";
|
|
3
3
|
export { s as Command, r as CommandEmpty, a as CommandGroup, n as CommandInput, e as CommandItem, i as CommandList, o as CommandSeparator, t as CommandShortcut };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as e, n as t, o as n, r, s as i, t as a } from "../date-picker-
|
|
3
|
-
import { t as o } from "../date-pickers-
|
|
2
|
+
import { i as e, n as t, o as n, r, s as i, t as a } from "../date-picker-CA6ogMQB.js";
|
|
3
|
+
import { t as o } from "../date-pickers-BPIKLdsD.js";
|
|
4
4
|
export { a as DatePicker, i as DatePickerFooter, n as DatePickerHeader, o as MonthYearPicker, t as TimePicker, e as defaultDatePickerStrings, r as defaultTimePickerStrings };
|
package/dist/base/display.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as e, l as t, o as n, s as r } from "../buttons-Co6GavvM.js";
|
|
3
3
|
import { t as i } from "../icon-badge-Dv0RYQwj.js";
|
|
4
4
|
import { t as a } from "../separator-Gk_WXH-l.js";
|
|
5
|
-
import { a as o, i as s, n as c, o as l, r as u, s as d, t as f } from "../display-
|
|
5
|
+
import { a as o, i as s, n as c, o as l, r as u, s as d, t as f } from "../display-CFM5myut.js";
|
|
6
6
|
import { n as p, r as m, t as h } from "../collapsible-DsnktFNv.js";
|
|
7
7
|
import { n as g, t as _ } from "../scroll-area-BheMQ270.js";
|
|
8
8
|
export { f as BooleanIndicator, h as Collapsible, p as CollapsibleContent, m as CollapsibleTrigger, c as ContentBlock, s as DateBlock, i as IconBadge, d as PlaceholderPattern, _ as ScrollArea, g as ScrollBar, a as Separator, n as Tooltip, r as TooltipContent, e as TooltipProvider, t as TooltipTrigger, l as VisuallyHidden, u as defaultContentBlockStrings, o as defaultDateBlockStrings };
|
package/dist/base/feedback.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _ as e, f as t, g as n, h as r, m as i, p as a } from "../smart-card-
|
|
3
|
-
import { a as o, c as s,
|
|
4
|
-
|
|
2
|
+
import { _ as e, f as t, g as n, h as r, m as i, p as a } from "../smart-card-CYLn46e6.js";
|
|
3
|
+
import { a as o, c as s, i as c, n as l, o as u, r as d, s as f, t as p } from "../feedback-DWUkgEjR.js";
|
|
4
|
+
import { a as m, i as h, n as g, o as _, r as v, t as y } from "../progress-BOe8l_FZ.js";
|
|
5
|
+
export { t as Alert, a as AlertAction, i as AlertDescription, r as AlertMetadata, n as AlertMetadataItem, e as AlertTitle, d as Empty, c as EmptyContent, o as EmptyDescription, u as EmptyHeader, f as EmptyMedia, s as EmptyTitle, p as ErrorState, l as LoadingState, y as Progress, g as ProgressIndicator, v as ProgressLabel, h as ProgressTrack, m as ProgressValue, _ as defaultProgressStrings };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../forms-numeric-
|
|
2
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../forms-numeric-BUBxELBv.js";
|
|
3
3
|
export { l as CoordinatesInput, t as CurrencyInput, n as DecimalInput, r as DimensionsInput, o as MoneyInput, u as PercentageInput, e as RoundingModeSelect, a as WeightInput, i as defaultCurrencyInputStrings, c as defaultMoneyInputStrings, s as defaultWeightInputStrings };
|
package/dist/base/forms.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "../form-field-
|
|
3
|
-
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "../forms-
|
|
2
|
+
import { t as e } from "../form-field-Bn7ZH1rA.js";
|
|
3
|
+
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "../forms-B7pzS25o.js";
|
|
4
4
|
export { s as ControlledFormField, i as DirtyStateBanner, o as ErrorSummary, r as FormActionsBar, e as FormField, t as FormSection, c as OperationPasswordForm, a as SubmitStateButton, n as defaultControlledFormFieldStrings };
|