@devalok/shilp-sutra 0.22.2 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/tree-view.js +26 -26
- package/dist/_chunks/use-calendar.js +106 -106
- package/dist/composed/activity-feed.js +10 -10
- package/dist/composed/avatar-group.js +74 -75
- package/dist/composed/command-palette.js +8 -8
- package/dist/composed/content-card.js +10 -10
- package/dist/composed/empty-state.js +6 -6
- package/dist/composed/error-boundary.js +2 -2
- package/dist/composed/loading-skeleton.js +83 -83
- package/dist/composed/member-picker.js +6 -6
- package/dist/composed/page-skeletons.js +5 -5
- package/dist/composed/rich-text-editor.js +63 -63
- package/dist/composed/schedule-view.js +26 -26
- package/dist/composed/status-badge.js +8 -8
- package/dist/shell/bottom-navbar.js +4 -4
- package/dist/shell/notification-center.js +29 -29
- package/dist/shell/notification-preferences.js +2 -2
- package/dist/shell/sidebar.js +6 -6
- package/dist/shell/top-bar.js +71 -71
- package/dist/tailwind/index.cjs +33 -11
- package/dist/tailwind/preset.d.ts.map +1 -1
- package/dist/tailwind/preset.js +33 -11
- package/dist/tokens/primitives.css +2 -0
- package/dist/tokens/semantic.css +83 -14
- package/dist/tokens/typography.css +1 -1
- package/dist/ui/accordion.js +1 -1
- package/dist/ui/alert-dialog.js +32 -32
- package/dist/ui/alert.js +12 -12
- package/dist/ui/autocomplete.js +16 -16
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +81 -74
- package/dist/ui/badge.js +2 -2
- package/dist/ui/banner.js +1 -1
- package/dist/ui/button.js +8 -8
- package/dist/ui/card.d.ts +1 -1
- package/dist/ui/card.js +10 -10
- package/dist/ui/charts/index.js +312 -312
- package/dist/ui/checkbox.js +3 -3
- package/dist/ui/chip.js +4 -4
- package/dist/ui/code.js +2 -2
- package/dist/ui/color-input.js +1 -1
- package/dist/ui/combobox.js +37 -37
- package/dist/ui/context-menu.js +6 -6
- package/dist/ui/data-table-toolbar.js +18 -18
- package/dist/ui/data-table.js +132 -132
- package/dist/ui/dialog.js +12 -12
- package/dist/ui/dropdown-menu.js +67 -67
- package/dist/ui/file-upload.js +3 -3
- package/dist/ui/hover-card.js +13 -13
- package/dist/ui/input-otp.js +9 -9
- package/dist/ui/input.js +10 -10
- package/dist/ui/menubar.js +33 -33
- package/dist/ui/navigation-menu.js +52 -52
- package/dist/ui/number-input.js +14 -14
- package/dist/ui/pagination.js +25 -25
- package/dist/ui/popover.js +17 -17
- package/dist/ui/progress.js +1 -1
- package/dist/ui/radio.js +2 -2
- package/dist/ui/search-input.js +3 -3
- package/dist/ui/segmented-control.d.ts +1 -1
- package/dist/ui/segmented-control.js +16 -16
- package/dist/ui/select.js +17 -17
- package/dist/ui/sheet.js +21 -21
- package/dist/ui/sidebar.js +13 -13
- package/dist/ui/slider.js +2 -2
- package/dist/ui/stat-card.js +52 -52
- package/dist/ui/stepper.js +1 -1
- package/dist/ui/switch.js +11 -11
- package/dist/ui/table.js +19 -19
- package/dist/ui/tabs.js +2 -2
- package/dist/ui/textarea.js +6 -6
- package/dist/ui/toast.js +3 -3
- package/dist/ui/toggle.js +7 -7
- package/dist/ui/tooltip.js +17 -17
- package/docs/components/composed/avatar-group.md +5 -0
- package/docs/components/ui/avatar.md +4 -0
- package/llms-full.txt +10 -1
- package/llms.txt +66 -5
- package/package.json +1 -1
package/dist/ui/avatar.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import { F as
|
|
2
|
+
import { jsx as a, jsxs as R } from "react/jsx-runtime";
|
|
3
|
+
import * as l from "react";
|
|
4
|
+
import { F as v, J as N, K as C } from "../_chunks/primitives.js";
|
|
5
5
|
import { ag as F } from "../_chunks/vendor-utils.js";
|
|
6
|
-
import { springs as
|
|
7
|
-
import { cn as
|
|
6
|
+
import { springs as k } from "./lib/motion.js";
|
|
7
|
+
import { cn as n } from "./lib/utils.js";
|
|
8
8
|
import { m as f } from "../_chunks/framer.js";
|
|
9
|
-
const A =
|
|
9
|
+
const A = l.createContext("circle"), M = l.createContext("md"), p = F(
|
|
10
10
|
"relative flex shrink-0 overflow-hidden",
|
|
11
11
|
{
|
|
12
12
|
variants: {
|
|
@@ -25,17 +25,17 @@ const A = i.createContext("circle"), x = F(
|
|
|
25
25
|
},
|
|
26
26
|
defaultVariants: { size: "md", shape: "circle" }
|
|
27
27
|
}
|
|
28
|
-
),
|
|
28
|
+
), h = {
|
|
29
29
|
online: "bg-success-9",
|
|
30
|
-
offline: "bg-surface-
|
|
30
|
+
offline: "bg-surface-raised-hover",
|
|
31
31
|
busy: "bg-error-9",
|
|
32
32
|
away: "bg-warning-9"
|
|
33
|
-
},
|
|
33
|
+
}, b = {
|
|
34
34
|
online: "Online",
|
|
35
35
|
offline: "Offline",
|
|
36
36
|
busy: "Busy",
|
|
37
37
|
away: "Away"
|
|
38
|
-
},
|
|
38
|
+
}, y = {
|
|
39
39
|
xs: "h-ds-02b w-ds-02b",
|
|
40
40
|
sm: "h-[8px] w-[8px]",
|
|
41
41
|
md: "h-ds-03 w-ds-03",
|
|
@@ -45,123 +45,130 @@ const A = i.createContext("circle"), x = F(
|
|
|
45
45
|
lead: "ring-accent-7",
|
|
46
46
|
admin: "ring-warning-7",
|
|
47
47
|
client: "ring-info-7"
|
|
48
|
-
},
|
|
48
|
+
}, j = {
|
|
49
49
|
circle: "rounded-ds-full",
|
|
50
50
|
square: "rounded-ds-none",
|
|
51
51
|
rounded: "rounded-ds-md"
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
{ bg: "bg-
|
|
60
|
-
{ bg: "bg-
|
|
52
|
+
}, q = {
|
|
53
|
+
xs: "text-[9px]",
|
|
54
|
+
sm: "text-ds-xs",
|
|
55
|
+
md: "text-ds-sm",
|
|
56
|
+
lg: "text-ds-md",
|
|
57
|
+
xl: "text-ds-lg"
|
|
58
|
+
}, w = [
|
|
59
|
+
{ bg: "bg-accent-3", text: "text-accent-11" },
|
|
60
|
+
{ bg: "bg-success-3", text: "text-success-11" },
|
|
61
|
+
{ bg: "bg-warning-3", text: "text-warning-11" },
|
|
62
|
+
{ bg: "bg-error-3", text: "text-error-11" },
|
|
63
|
+
{ bg: "bg-info-3", text: "text-info-11" },
|
|
64
|
+
{ bg: "bg-category-teal-3", text: "text-category-teal-11" },
|
|
65
|
+
{ bg: "bg-category-indigo-3", text: "text-category-indigo-11" },
|
|
66
|
+
{ bg: "bg-category-cyan-3", text: "text-category-cyan-11" }
|
|
61
67
|
];
|
|
62
|
-
function
|
|
63
|
-
let
|
|
64
|
-
for (let
|
|
65
|
-
|
|
66
|
-
const
|
|
67
|
-
return
|
|
68
|
+
function I(o) {
|
|
69
|
+
let e = 5381;
|
|
70
|
+
for (let t = 0; t < o.length; t++)
|
|
71
|
+
e = (e << 5) + e + o.charCodeAt(t) | 0;
|
|
72
|
+
const r = Math.abs(e) % w.length;
|
|
73
|
+
return w[r];
|
|
68
74
|
}
|
|
69
|
-
const
|
|
70
|
-
const m =
|
|
71
|
-
if (
|
|
72
|
-
return /* @__PURE__ */
|
|
75
|
+
const L = l.forwardRef(({ className: o, size: e, shape: r, status: t, ring: i, badge: s, loading: x, children: d, ...c }, g) => {
|
|
76
|
+
const m = r ?? "circle", u = i && i !== "none" ? n("ring-2 ring-offset-2 ring-offset-surface-raised", O[i], j[m]) : void 0;
|
|
77
|
+
if (x)
|
|
78
|
+
return /* @__PURE__ */ a("span", { ref: g, className: n("relative inline-flex shrink-0", u), children: /* @__PURE__ */ a(
|
|
73
79
|
"span",
|
|
74
80
|
{
|
|
75
|
-
className:
|
|
81
|
+
className: n(p({ size: e, shape: r }), "animate-pulse bg-surface-raised-hover"),
|
|
76
82
|
"data-slot": "avatar-skeleton"
|
|
77
83
|
}
|
|
78
84
|
) });
|
|
79
|
-
const
|
|
80
|
-
return /* @__PURE__ */
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
-
|
|
85
|
+
const S = s !== void 0 && s !== 0;
|
|
86
|
+
return /* @__PURE__ */ a(A.Provider, { value: m, children: /* @__PURE__ */ a(M.Provider, { value: e ?? "md", children: /* @__PURE__ */ R("span", { className: n("relative inline-flex shrink-0", u), children: [
|
|
87
|
+
/* @__PURE__ */ a(
|
|
88
|
+
v,
|
|
83
89
|
{
|
|
84
|
-
ref:
|
|
85
|
-
className:
|
|
90
|
+
ref: g,
|
|
91
|
+
className: n(p({ size: e, shape: r }), o),
|
|
86
92
|
...c,
|
|
87
93
|
children: d
|
|
88
94
|
}
|
|
89
95
|
),
|
|
90
|
-
|
|
96
|
+
t && (t === "online" ? /* @__PURE__ */ a(
|
|
91
97
|
f.span,
|
|
92
98
|
{
|
|
93
|
-
className:
|
|
99
|
+
className: n("absolute bottom-0 right-0 rounded-ds-full ring-2 ring-surface-raised", h[t], y[e ?? "md"]),
|
|
94
100
|
animate: { opacity: [1, 0.75, 1] },
|
|
95
101
|
transition: { duration: 2.5, repeat: 1 / 0, ease: "easeInOut" },
|
|
96
102
|
role: "img",
|
|
97
|
-
"aria-label":
|
|
103
|
+
"aria-label": b[t]
|
|
98
104
|
}
|
|
99
|
-
) : /* @__PURE__ */
|
|
100
|
-
|
|
105
|
+
) : /* @__PURE__ */ a("span", { className: n("absolute bottom-0 right-0 rounded-ds-full ring-2 ring-surface-raised", h[t], y[e ?? "md"]), role: "img", "aria-label": b[t] })),
|
|
106
|
+
S && (s === "dot" ? /* @__PURE__ */ a(
|
|
101
107
|
"span",
|
|
102
108
|
{
|
|
103
|
-
className: "absolute -right-0.5 -top-0.5 h-[8px] w-[8px] rounded-ds-full bg-error-9 ring-2 ring-surface-
|
|
109
|
+
className: "absolute -right-0.5 -top-0.5 h-[8px] w-[8px] rounded-ds-full bg-error-9 ring-2 ring-surface-raised",
|
|
104
110
|
"data-slot": "avatar-badge-dot",
|
|
105
111
|
"aria-hidden": "true"
|
|
106
112
|
}
|
|
107
|
-
) : typeof
|
|
113
|
+
) : typeof s == "number" ? /* @__PURE__ */ a(
|
|
108
114
|
f.span,
|
|
109
115
|
{
|
|
110
116
|
initial: { scale: 0 },
|
|
111
117
|
animate: { scale: 1 },
|
|
112
|
-
transition:
|
|
113
|
-
className: "absolute -right-1 -top-1 flex min-w-[16px] items-center justify-center rounded-ds-full bg-error-9 px-1 text-[10px] font-bold leading-[16px] text-error-fg ring-2 ring-surface-
|
|
118
|
+
transition: k.bouncy,
|
|
119
|
+
className: "absolute -right-1 -top-1 flex min-w-[16px] items-center justify-center rounded-ds-full bg-error-9 px-1 text-[10px] font-bold leading-[16px] text-error-fg ring-2 ring-surface-raised",
|
|
114
120
|
"data-slot": "avatar-badge",
|
|
115
121
|
role: "status",
|
|
116
|
-
"aria-label": `${
|
|
117
|
-
children:
|
|
122
|
+
"aria-label": `${s > 99 ? "99+" : s} notifications`,
|
|
123
|
+
children: s > 99 ? "99+" : s
|
|
118
124
|
}
|
|
119
|
-
) : /* @__PURE__ */
|
|
120
|
-
] }) });
|
|
125
|
+
) : /* @__PURE__ */ a("span", { className: "absolute -right-1 -top-1", "data-slot": "avatar-badge-custom", children: s }))
|
|
126
|
+
] }) }) });
|
|
121
127
|
});
|
|
122
|
-
|
|
123
|
-
const
|
|
128
|
+
L.displayName = v.displayName;
|
|
129
|
+
const B = l.forwardRef(({ className: o, ...e }, r) => /* @__PURE__ */ a(
|
|
124
130
|
f.span,
|
|
125
131
|
{
|
|
126
132
|
initial: { opacity: 0, scale: 0.96 },
|
|
127
133
|
animate: { opacity: 1, scale: 1 },
|
|
128
|
-
transition:
|
|
134
|
+
transition: k.smooth,
|
|
129
135
|
className: "absolute inset-0 h-full w-full",
|
|
130
|
-
children: /* @__PURE__ */
|
|
136
|
+
children: /* @__PURE__ */ a(
|
|
131
137
|
N,
|
|
132
138
|
{
|
|
133
|
-
ref:
|
|
134
|
-
className:
|
|
135
|
-
...
|
|
139
|
+
ref: r,
|
|
140
|
+
className: n("aspect-square h-full w-full", o),
|
|
141
|
+
...e
|
|
136
142
|
}
|
|
137
143
|
)
|
|
138
144
|
}
|
|
139
145
|
));
|
|
140
|
-
|
|
141
|
-
const
|
|
142
|
-
const
|
|
143
|
-
return /* @__PURE__ */
|
|
144
|
-
|
|
146
|
+
B.displayName = N.displayName;
|
|
147
|
+
const z = l.forwardRef(({ className: o, colorSeed: e, children: r, ...t }, i) => {
|
|
148
|
+
const s = typeof r == "string" ? r : "", d = I(e ?? s), c = l.useContext(A), g = l.useContext(M), m = c === "square" ? "rounded-ds-none" : c === "rounded" ? "rounded-ds-md" : "rounded-ds-full", u = s.length === 1 ? "tracking-wide" : "tracking-normal";
|
|
149
|
+
return /* @__PURE__ */ a(
|
|
150
|
+
C,
|
|
145
151
|
{
|
|
146
|
-
ref:
|
|
152
|
+
ref: i,
|
|
147
153
|
"data-slot": "avatar-fallback",
|
|
148
|
-
className:
|
|
149
|
-
"flex h-full w-full items-center justify-center",
|
|
150
|
-
|
|
154
|
+
className: n(
|
|
155
|
+
"flex h-full w-full items-center justify-center font-semibold",
|
|
156
|
+
m,
|
|
157
|
+
q[g],
|
|
151
158
|
d.bg,
|
|
152
159
|
d.text,
|
|
153
|
-
|
|
160
|
+
u,
|
|
154
161
|
o
|
|
155
162
|
),
|
|
156
|
-
...
|
|
157
|
-
children:
|
|
163
|
+
...t,
|
|
164
|
+
children: r
|
|
158
165
|
}
|
|
159
166
|
);
|
|
160
167
|
});
|
|
161
|
-
|
|
168
|
+
z.displayName = C.displayName;
|
|
162
169
|
export {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
170
|
+
L as Avatar,
|
|
171
|
+
z as AvatarFallback,
|
|
172
|
+
B as AvatarImage,
|
|
173
|
+
p as avatarVariants
|
|
167
174
|
};
|
package/dist/ui/badge.js
CHANGED
|
@@ -43,9 +43,9 @@ const x = m(
|
|
|
43
43
|
},
|
|
44
44
|
compoundVariants: [
|
|
45
45
|
// subtle (surface bg)
|
|
46
|
-
{ variant: "subtle", color: "default", className: "bg-surface-
|
|
46
|
+
{ variant: "subtle", color: "default", className: "bg-surface-raised-hover text-surface-fg-muted border-surface-border-strong" },
|
|
47
47
|
// "secondary" alias → same as subtle + default
|
|
48
|
-
{ variant: "secondary", color: "default", className: "bg-surface-
|
|
48
|
+
{ variant: "secondary", color: "default", className: "bg-surface-raised-hover text-surface-fg-muted border-surface-border-strong" },
|
|
49
49
|
// "destructive" alias → solid + error
|
|
50
50
|
{ variant: "destructive", color: "default", className: "bg-error-9 text-accent-fg border-transparent" },
|
|
51
51
|
{ variant: "destructive", color: "error", className: "bg-error-9 text-accent-fg border-transparent" },
|
package/dist/ui/banner.js
CHANGED
|
@@ -15,7 +15,7 @@ const _ = N(
|
|
|
15
15
|
success: "bg-success-3 border-success-7 text-success-11",
|
|
16
16
|
warning: "bg-warning-3 border-warning-7 text-warning-11",
|
|
17
17
|
error: "bg-error-3 border-error-7 text-error-11",
|
|
18
|
-
neutral: "bg-surface-
|
|
18
|
+
neutral: "bg-surface-raised border-surface-border-strong text-surface-fg [&>svg]:text-surface-fg-muted"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
defaultVariants: { color: "info" }
|
package/dist/ui/button.js
CHANGED
|
@@ -40,21 +40,21 @@ const R = K(
|
|
|
40
40
|
},
|
|
41
41
|
compoundVariants: [
|
|
42
42
|
// solid + default (primary)
|
|
43
|
-
{ variant: "solid", color: "default", className: "bg-accent-9 text-accent-fg hover:bg-accent-10 active:bg-accent-10 shadow-
|
|
43
|
+
{ variant: "solid", color: "default", className: "bg-accent-9 text-accent-fg hover:bg-accent-10 active:bg-accent-10 shadow-raised hover:shadow-brand" },
|
|
44
44
|
// "default" alias → same as solid + default
|
|
45
|
-
{ variant: "default", color: "default", className: "bg-accent-9 text-accent-fg hover:bg-accent-10 active:bg-accent-10 shadow-
|
|
46
|
-
{ variant: "default", color: "error", className: "bg-error-9 text-accent-fg hover:bg-error-9 active:bg-error-9 shadow-
|
|
45
|
+
{ variant: "default", color: "default", className: "bg-accent-9 text-accent-fg hover:bg-accent-10 active:bg-accent-10 shadow-raised hover:shadow-brand" },
|
|
46
|
+
{ variant: "default", color: "error", className: "bg-error-9 text-accent-fg hover:bg-error-9 active:bg-error-9 shadow-raised" },
|
|
47
47
|
// "destructive" alias → solid + error
|
|
48
|
-
{ variant: "destructive", color: "default", className: "bg-error-9 text-accent-fg hover:bg-error-9 active:bg-error-9 shadow-
|
|
49
|
-
{ variant: "destructive", color: "error", className: "bg-error-9 text-accent-fg hover:bg-error-9 active:bg-error-9 shadow-
|
|
48
|
+
{ variant: "destructive", color: "default", className: "bg-error-9 text-accent-fg hover:bg-error-9 active:bg-error-9 shadow-raised" },
|
|
49
|
+
{ variant: "destructive", color: "error", className: "bg-error-9 text-accent-fg hover:bg-error-9 active:bg-error-9 shadow-raised" },
|
|
50
50
|
// solid + error
|
|
51
|
-
{ variant: "solid", color: "error", className: "bg-error-9 text-accent-fg hover:bg-error-9 active:bg-error-9 shadow-
|
|
51
|
+
{ variant: "solid", color: "error", className: "bg-error-9 text-accent-fg hover:bg-error-9 active:bg-error-9 shadow-raised" },
|
|
52
52
|
// outline + default (secondary)
|
|
53
|
-
{ variant: "outline", color: "default", className: "bg-transparent text-accent-11 border-accent-7 hover:bg-accent-2 active:bg-surface-
|
|
53
|
+
{ variant: "outline", color: "default", className: "bg-transparent text-accent-11 border-accent-7 hover:bg-accent-2 active:bg-surface-raised-active" },
|
|
54
54
|
// outline + error (error-ghost)
|
|
55
55
|
{ variant: "outline", color: "error", className: "bg-transparent text-error-11 border border-error-7 hover:bg-error-3 active:bg-error-3" },
|
|
56
56
|
// ghost + default
|
|
57
|
-
{ variant: "ghost", color: "default", className: "bg-transparent text-surface-fg-muted hover:bg-surface-
|
|
57
|
+
{ variant: "ghost", color: "default", className: "bg-transparent text-surface-fg-muted hover:bg-surface-raised hover:text-surface-fg active:bg-surface-raised-active" },
|
|
58
58
|
// ghost + error
|
|
59
59
|
{ variant: "ghost", color: "error", className: "bg-transparent text-error-11 hover:bg-error-3 hover:text-error-11 active:bg-error-3" }
|
|
60
60
|
],
|
package/dist/ui/card.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const cardVariants: (props?: ({
|
|
|
8
8
|
* Props for Card — a general-purpose content container with 4 elevation/style variants and
|
|
9
9
|
* an optional interactive hover state.
|
|
10
10
|
*
|
|
11
|
-
* **Variants:** `default` (subtle border + shadow-
|
|
11
|
+
* **Variants:** `default` (subtle border + shadow-raised) | `elevated` (stronger shadow-raised-hover) |
|
|
12
12
|
* `outline` (2px solid border, no shadow) | `flat` (filled background, no shadow)
|
|
13
13
|
*
|
|
14
14
|
* **Composition:** Use sub-components `<CardHeader>`, `<CardTitle>`, `<CardDescription>`,
|
package/dist/ui/card.js
CHANGED
|
@@ -10,10 +10,10 @@ const p = f(
|
|
|
10
10
|
{
|
|
11
11
|
variants: {
|
|
12
12
|
variant: {
|
|
13
|
-
default: "bg-surface-
|
|
14
|
-
elevated: "bg-surface-
|
|
13
|
+
default: "bg-surface-raised border border-surface-border shadow-raised",
|
|
14
|
+
elevated: "bg-surface-raised border border-surface-border shadow-raised-hover",
|
|
15
15
|
outline: "bg-transparent border border-surface-border-strong shadow-none",
|
|
16
|
-
flat: "bg-surface-
|
|
16
|
+
flat: "bg-surface-raised border-none shadow-none"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
defaultVariants: { variant: "default" }
|
|
@@ -22,7 +22,7 @@ const p = f(
|
|
|
22
22
|
({ className: a, variant: e, interactive: r, ...t }, n) => {
|
|
23
23
|
const i = d(
|
|
24
24
|
p({ variant: e }),
|
|
25
|
-
r && "hover:shadow-
|
|
25
|
+
r && "hover:shadow-raised-hover hover:border-surface-border-strong cursor-pointer transition-shadow duration-fast-02 ease-productive-standard",
|
|
26
26
|
a
|
|
27
27
|
);
|
|
28
28
|
return r ? /* @__PURE__ */ s(
|
|
@@ -57,7 +57,7 @@ const v = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s(
|
|
|
57
57
|
}
|
|
58
58
|
));
|
|
59
59
|
v.displayName = "CardTitle";
|
|
60
|
-
const
|
|
60
|
+
const w = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s(
|
|
61
61
|
"div",
|
|
62
62
|
{
|
|
63
63
|
ref: r,
|
|
@@ -65,9 +65,9 @@ const g = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s(
|
|
|
65
65
|
...e
|
|
66
66
|
}
|
|
67
67
|
));
|
|
68
|
-
|
|
69
|
-
const
|
|
70
|
-
|
|
68
|
+
w.displayName = "CardDescription";
|
|
69
|
+
const g = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s("div", { ref: r, className: d("p-ds-06 pt-0", a), ...e }));
|
|
70
|
+
g.displayName = "CardContent";
|
|
71
71
|
const C = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s(
|
|
72
72
|
"div",
|
|
73
73
|
{
|
|
@@ -79,8 +79,8 @@ const C = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s(
|
|
|
79
79
|
C.displayName = "CardFooter";
|
|
80
80
|
export {
|
|
81
81
|
u as Card,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
g as CardContent,
|
|
83
|
+
w as CardDescription,
|
|
84
84
|
C as CardFooter,
|
|
85
85
|
b as CardHeader,
|
|
86
86
|
v as CardTitle,
|