@devalok/shilp-sutra 0.1.0 → 0.1.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/dist/composed/avatar-group.d.ts.map +1 -1
- package/dist/composed/command-palette.js +3 -3
- package/dist/composed/content-card.d.ts.map +1 -1
- package/dist/composed/date-picker/time-picker.js +1 -1
- package/dist/composed/date-picker/use-calendar.d.ts.map +1 -1
- package/dist/composed/empty-state.d.ts.map +1 -1
- package/dist/composed/empty-state.js +1 -1
- package/dist/composed/error-boundary.js +1 -1
- package/dist/composed/lib/string-utils.d.ts.map +1 -1
- package/dist/composed/lib/string-utils.js +6 -4
- package/dist/composed/loading-skeleton.d.ts.map +1 -1
- package/dist/composed/loading-skeleton.js +32 -32
- package/dist/composed/page-header.d.ts.map +1 -1
- package/dist/composed/page-skeletons.d.ts.map +1 -1
- package/dist/composed/page-skeletons.js +38 -38
- package/dist/composed/priority-indicator.d.ts.map +1 -1
- package/dist/composed/rich-text-editor.d.ts.map +1 -1
- package/dist/composed/rich-text-editor.js +46 -44
- package/dist/composed/status-badge.d.ts.map +1 -1
- package/dist/composed/status-badge.js +6 -6
- package/dist/hooks/use-color-mode.d.ts.map +1 -1
- package/dist/hooks/use-color-mode.js +8 -8
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hooks/use-toast.js +2 -2
- package/dist/shell/app-command-palette.d.ts +2 -3
- package/dist/shell/app-command-palette.d.ts.map +1 -1
- package/dist/shell/app-command-palette.js +1 -1
- package/dist/shell/bottom-navbar.d.ts.map +1 -1
- package/dist/shell/bottom-navbar.js +39 -37
- package/dist/shell/index.d.ts +3 -2
- package/dist/shell/index.d.ts.map +1 -1
- package/dist/shell/index.js +15 -12
- package/dist/shell/link-context.d.ts +11 -0
- package/dist/shell/link-context.d.ts.map +1 -0
- package/dist/shell/link-context.js +18 -0
- package/dist/shell/notification-center.d.ts.map +1 -1
- package/dist/shell/notification-center.js +20 -19
- package/dist/shell/notification-preferences.d.ts +2 -3
- package/dist/shell/notification-preferences.d.ts.map +1 -1
- package/dist/shell/notification-preferences.js +13 -13
- package/dist/shell/sidebar.d.ts.map +1 -1
- package/dist/shell/sidebar.js +31 -30
- package/dist/shell/top-bar.d.ts.map +1 -1
- package/dist/shell/top-bar.js +34 -30
- package/dist/tailwind/preset.d.ts.map +1 -1
- package/dist/tailwind/preset.js +32 -2
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +1 -1
- package/dist/ui/autocomplete.js +34 -34
- package/dist/ui/avatar.js +12 -12
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +3 -3
- package/dist/ui/banner.d.ts.map +1 -1
- package/dist/ui/button.js +1 -1
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +1 -1
- package/dist/ui/charts/_internal/animation.d.ts.map +1 -1
- package/dist/ui/charts/_internal/axes.d.ts.map +1 -1
- package/dist/ui/charts/_internal/tooltip.d.ts.map +1 -1
- package/dist/ui/charts/bar-chart.js +1 -1
- package/dist/ui/charts/chart-container.js +11 -11
- package/dist/ui/charts/line-chart.js +1 -1
- package/dist/ui/charts/radar-chart.js +20 -20
- package/dist/ui/chip.d.ts.map +1 -1
- package/dist/ui/chip.js +34 -36
- package/dist/ui/code.d.ts.map +1 -1
- package/dist/ui/code.js +13 -13
- package/dist/ui/combobox.js +1 -1
- package/dist/ui/container.d.ts.map +1 -1
- package/dist/ui/context-menu.js +1 -1
- package/dist/ui/data-table.d.ts.map +1 -1
- package/dist/ui/data-table.js +78 -78
- package/dist/ui/dropdown-menu.js +22 -22
- package/dist/ui/file-upload.js +59 -59
- package/dist/ui/icon-button.d.ts.map +1 -1
- package/dist/ui/input-otp.js +1 -1
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/menubar.js +22 -22
- package/dist/ui/navigation-menu.js +6 -6
- package/dist/ui/number-input.js +1 -1
- package/dist/ui/search-input.js +10 -10
- package/dist/ui/segmented-control.d.ts.map +1 -1
- package/dist/ui/segmented-control.js +3 -4
- package/dist/ui/select.js +2 -2
- package/dist/ui/sidebar.js +52 -52
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/stack.d.ts.map +1 -1
- package/dist/ui/stack.js +46 -21
- package/dist/ui/stat-card.d.ts.map +1 -1
- package/dist/ui/stepper.js +25 -25
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +12 -12
- package/dist/ui/text.d.ts.map +1 -1
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +1 -0
- package/dist/ui/toast.js +1 -1
- package/dist/ui/tree-view/tree-item.js +1 -1
- package/dist/ui/visually-hidden.d.ts.map +1 -1
- package/package.json +5 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../src/composed/avatar-group.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../src/composed/avatar-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAejE,QAAA,MAAM,kBAAkB;;8EAcvB,CAAA;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,WAAW,yFAuFhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -173,7 +173,7 @@ const O = r.forwardRef(
|
|
|
173
173
|
o && /* @__PURE__ */ s(
|
|
174
174
|
g,
|
|
175
175
|
{
|
|
176
|
-
className: "h-
|
|
176
|
+
className: "h-ico-sm w-ico-sm shrink-0 text-text-placeholder",
|
|
177
177
|
stroke: 1.5
|
|
178
178
|
}
|
|
179
179
|
)
|
|
@@ -195,11 +195,11 @@ const O = r.forwardRef(
|
|
|
195
195
|
/* @__PURE__ */ s("span", { className: "text-ds-xs text-text-placeholder", children: "Navigate" })
|
|
196
196
|
] }),
|
|
197
197
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-ds-02b", children: [
|
|
198
|
-
/* @__PURE__ */ s("kbd", { className: "inline-flex h-
|
|
198
|
+
/* @__PURE__ */ s("kbd", { className: "inline-flex h-[20px] items-center justify-center rounded-ds-md border border-border bg-layer-02 px-ds-02b", children: /* @__PURE__ */ s(g, { className: "h-ds-03 w-ds-03 text-text-placeholder", stroke: 2 }) }),
|
|
199
199
|
/* @__PURE__ */ s("span", { className: "text-ds-xs text-text-placeholder", children: "Select" })
|
|
200
200
|
] }),
|
|
201
201
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-ds-02b", children: [
|
|
202
|
-
/* @__PURE__ */ s("kbd", { className: "inline-flex h-
|
|
202
|
+
/* @__PURE__ */ s("kbd", { className: "inline-flex h-[20px] items-center justify-center rounded-ds-md border border-border bg-layer-02 px-ds-02b text-ds-xs font-medium text-text-placeholder", children: "Esc" }),
|
|
203
203
|
/* @__PURE__ */ s("span", { className: "text-ds-xs text-text-placeholder", children: "Close" })
|
|
204
204
|
] })
|
|
205
205
|
] })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-card.d.ts","sourceRoot":"","sources":["../../src/composed/content-card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content-card.d.ts","sourceRoot":"","sources":["../../src/composed/content-card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,mBAAmB;;;8EAwBxB,CAAA;AAkBD,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACzB;AAED,QAAA,MAAM,WAAW,yFAqEhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -51,7 +51,7 @@ const F = P.forwardRef(
|
|
|
51
51
|
const t = s.getHours();
|
|
52
52
|
let a;
|
|
53
53
|
e === "AM" ? a = t >= 12 ? t - 12 : t : a = t < 12 ? t + 12 : t, c == null || c(S(new Date(s), a));
|
|
54
|
-
}, b = P.useMemo(() => s ? l === "12h" ? O(s, x ? "h:mm:ss a" : "h:mm a") : O(s, x ? "HH:mm:ss" : "HH:mm") : null, [s, l, x]), R = l === "12h" ? E : o, M = "flex flex-col gap-ds-01 overflow-y-auto max-h-[200px] px-ds-01
|
|
54
|
+
}, b = P.useMemo(() => s ? l === "12h" ? O(s, x ? "h:mm:ss a" : "h:mm a") : O(s, x ? "HH:mm:ss" : "HH:mm") : null, [s, l, x]), R = l === "12h" ? E : o, M = "flex flex-col gap-ds-01 overflow-y-auto max-h-[200px] px-ds-01", h = "flex h-ds-sm w-full items-center justify-center rounded-ds-md text-ds-md transition-colors duration-fast-01 ease-productive-standard cursor-pointer", N = "bg-interactive text-text-on-color", g = "text-text-primary hover:bg-field";
|
|
55
55
|
return /* @__PURE__ */ d(Y, { open: q, onOpenChange: z, children: [
|
|
56
56
|
/* @__PURE__ */ r(Z, { asChild: !0, children: /* @__PURE__ */ d(
|
|
57
57
|
"button",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-calendar.d.ts","sourceRoot":"","sources":["../../../src/composed/date-picker/use-calendar.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-calendar.d.ts","sourceRoot":"","sources":["../../../src/composed/date-picker/use-calendar.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,YAAY,CAAC,EAAE,IAAI;;;;;uBAKnB,MAAM;qBAER,MAAM;EAW/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/composed/empty-state.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/composed/empty-state.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAG7D,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,UAAU,wFA+Df,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../../src/composed/lib/string-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../../src/composed/lib/string-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMhD"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
function r
|
|
2
|
-
const t =
|
|
3
|
-
|
|
1
|
+
function i(r) {
|
|
2
|
+
const t = r.trim();
|
|
3
|
+
if (!t) return "";
|
|
4
|
+
const e = t.split(/\s+/);
|
|
5
|
+
return e.length >= 2 ? (e[0][0] + e[1][0]).toUpperCase() : t.slice(0, 2).toUpperCase();
|
|
4
6
|
}
|
|
5
7
|
export {
|
|
6
|
-
|
|
8
|
+
i as getInitials
|
|
7
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loading-skeleton.d.ts","sourceRoot":"","sources":["../../src/composed/loading-skeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loading-skeleton.d.ts","sourceRoot":"","sources":["../../src/composed/loading-skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,YAAY,0FA0BjB,CAAA;AAID,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,QAAA,MAAM,aAAa,2FAkDlB,CAAA;AAID,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,aAAa,2FA+ClB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,QAAA,MAAM,YAAY,0FA6BjB,CAAA;AAID,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import { cn as i } from "../ui/lib/utils.js";
|
|
4
4
|
import { Skeleton as s } from "../ui/skeleton.js";
|
|
5
|
-
const
|
|
5
|
+
const b = n.forwardRef(
|
|
6
6
|
function({ className: a }, r) {
|
|
7
7
|
return /* @__PURE__ */ d(
|
|
8
8
|
"div",
|
|
@@ -14,25 +14,25 @@ const h = n.forwardRef(
|
|
|
14
14
|
),
|
|
15
15
|
children: [
|
|
16
16
|
/* @__PURE__ */ d("div", { className: "flex items-center justify-between pb-ds-05", children: [
|
|
17
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
17
|
+
/* @__PURE__ */ e(s, { className: "h-[16px] w-[128px] bg-field" }),
|
|
18
18
|
/* @__PURE__ */ e(s, { className: "h-ico-sm w-ico-sm rounded bg-field" })
|
|
19
19
|
] }),
|
|
20
20
|
/* @__PURE__ */ d("div", { className: "space-y-ds-04", children: [
|
|
21
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
22
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
23
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
21
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-full bg-field" }),
|
|
22
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-4/5 bg-field" }),
|
|
23
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-3/5 bg-field" })
|
|
24
24
|
] }),
|
|
25
25
|
/* @__PURE__ */ d("div", { className: "flex items-center gap-ds-03 pt-ds-05", children: [
|
|
26
26
|
/* @__PURE__ */ e(s, { className: "h-ds-xs w-ds-xs rounded-ds-full bg-field" }),
|
|
27
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
27
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-[80px] bg-field" })
|
|
28
28
|
] })
|
|
29
29
|
]
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
32
|
}
|
|
33
33
|
);
|
|
34
|
-
|
|
35
|
-
const
|
|
34
|
+
b.displayName = "CardSkeleton";
|
|
35
|
+
const h = n.forwardRef(
|
|
36
36
|
function({
|
|
37
37
|
rows: a = 5,
|
|
38
38
|
columns: r = 4,
|
|
@@ -51,8 +51,8 @@ const g = n.forwardRef(
|
|
|
51
51
|
s,
|
|
52
52
|
{
|
|
53
53
|
className: i(
|
|
54
|
-
"h-
|
|
55
|
-
l === 0 ? "w-
|
|
54
|
+
"h-[12px] bg-field",
|
|
55
|
+
l === 0 ? "w-[160px]" : "flex-1"
|
|
56
56
|
)
|
|
57
57
|
},
|
|
58
58
|
`head-${l}`
|
|
@@ -64,12 +64,12 @@ const g = n.forwardRef(
|
|
|
64
64
|
"flex items-center gap-ds-05 px-ds-05 py-ds-04",
|
|
65
65
|
l < a - 1 && "border-b border-border"
|
|
66
66
|
),
|
|
67
|
-
children: Array.from({ length: r }).map((
|
|
67
|
+
children: Array.from({ length: r }).map((p, m) => /* @__PURE__ */ e(
|
|
68
68
|
s,
|
|
69
69
|
{
|
|
70
70
|
className: i(
|
|
71
|
-
"h-
|
|
72
|
-
m === 0 ? "w-
|
|
71
|
+
"h-[12px] bg-field",
|
|
72
|
+
m === 0 ? "w-[160px]" : "flex-1"
|
|
73
73
|
)
|
|
74
74
|
},
|
|
75
75
|
`cell-${l}-${m}`
|
|
@@ -82,8 +82,8 @@ const g = n.forwardRef(
|
|
|
82
82
|
);
|
|
83
83
|
}
|
|
84
84
|
);
|
|
85
|
-
|
|
86
|
-
const
|
|
85
|
+
h.displayName = "TableSkeleton";
|
|
86
|
+
const x = n.forwardRef(
|
|
87
87
|
function({
|
|
88
88
|
columns: a = 4,
|
|
89
89
|
cardsPerColumn: r = 3,
|
|
@@ -96,27 +96,27 @@ const N = n.forwardRef(
|
|
|
96
96
|
children: [
|
|
97
97
|
/* @__PURE__ */ d("div", { className: "flex items-center justify-between px-ds-02 py-ds-03", children: [
|
|
98
98
|
/* @__PURE__ */ d("div", { className: "flex items-center gap-ds-03", children: [
|
|
99
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
100
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
101
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
99
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-[12px] rounded bg-field" }),
|
|
100
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-[80px] bg-field" }),
|
|
101
|
+
/* @__PURE__ */ e(s, { className: "h-[16px] w-[20px] rounded-ds-full bg-field" })
|
|
102
102
|
] }),
|
|
103
103
|
/* @__PURE__ */ e(s, { className: "h-ico-sm w-ico-sm rounded bg-field" })
|
|
104
104
|
] }),
|
|
105
|
-
Array.from({ length: r }).map((
|
|
105
|
+
Array.from({ length: r }).map((p, m) => /* @__PURE__ */ d(
|
|
106
106
|
"div",
|
|
107
107
|
{
|
|
108
108
|
className: "rounded-ds-lg border border-border bg-layer-01 p-ds-04",
|
|
109
109
|
children: [
|
|
110
110
|
/* @__PURE__ */ d("div", { className: "space-y-ds-03", children: [
|
|
111
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
112
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
111
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-4/5 bg-field" }),
|
|
112
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-3/5 bg-field" })
|
|
113
113
|
] }),
|
|
114
114
|
/* @__PURE__ */ d("div", { className: "flex items-center justify-between pt-ds-04", children: [
|
|
115
115
|
/* @__PURE__ */ d("div", { className: "flex items-center gap-ds-02b", children: [
|
|
116
116
|
/* @__PURE__ */ e(s, { className: "h-ico-md w-ico-md rounded-ds-full bg-field" }),
|
|
117
|
-
/* @__PURE__ */ e(s, { className: "h-ds-03 w-
|
|
117
|
+
/* @__PURE__ */ e(s, { className: "h-ds-03 w-[64px] bg-field" })
|
|
118
118
|
] }),
|
|
119
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
119
|
+
/* @__PURE__ */ e(s, { className: "h-[16px] w-ds-lg rounded-ds-full bg-field" })
|
|
120
120
|
] })
|
|
121
121
|
]
|
|
122
122
|
},
|
|
@@ -128,8 +128,8 @@ const N = n.forwardRef(
|
|
|
128
128
|
)) });
|
|
129
129
|
}
|
|
130
130
|
);
|
|
131
|
-
|
|
132
|
-
const
|
|
131
|
+
x.displayName = "BoardSkeleton";
|
|
132
|
+
const g = n.forwardRef(
|
|
133
133
|
function({
|
|
134
134
|
rows: a = 6,
|
|
135
135
|
showAvatar: r = !0,
|
|
@@ -145,20 +145,20 @@ const p = n.forwardRef(
|
|
|
145
145
|
children: [
|
|
146
146
|
r && /* @__PURE__ */ e(s, { className: "h-ds-sm w-ds-sm shrink-0 rounded-ds-full bg-field" }),
|
|
147
147
|
/* @__PURE__ */ d("div", { className: "flex flex-1 flex-col gap-ds-02b", children: [
|
|
148
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
148
|
+
/* @__PURE__ */ e(s, { className: "h-[12px] w-2/5 bg-field" }),
|
|
149
149
|
/* @__PURE__ */ e(s, { className: "h-ds-03 w-3/5 bg-field" })
|
|
150
150
|
] }),
|
|
151
|
-
/* @__PURE__ */ e(s, { className: "h-
|
|
151
|
+
/* @__PURE__ */ e(s, { className: "h-[20px] w-[56px] rounded-ds-full bg-field" })
|
|
152
152
|
]
|
|
153
153
|
},
|
|
154
154
|
`list-${l}`
|
|
155
155
|
)) });
|
|
156
156
|
}
|
|
157
157
|
);
|
|
158
|
-
|
|
158
|
+
g.displayName = "ListSkeleton";
|
|
159
159
|
export {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
x as BoardSkeleton,
|
|
161
|
+
b as CardSkeleton,
|
|
162
|
+
g as ListSkeleton,
|
|
163
|
+
h as TableSkeleton
|
|
164
164
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../src/composed/page-header.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../src/composed/page-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,UAAU,wFAwEf,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-skeletons.d.ts","sourceRoot":"","sources":["../../src/composed/page-skeletons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"page-skeletons.d.ts","sourceRoot":"","sources":["../../src/composed/page-skeletons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,QAAA,MAAM,iBAAiB,sEAkDtB,CAAA;AAMD,QAAA,MAAM,mBAAmB,sEA2DxB,CAAA;AAMD,QAAA,MAAM,kBAAkB,sEA8CvB,CAAA;AAID,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
|
|
@@ -2,8 +2,8 @@ import { jsxs as a, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import * as o from "react";
|
|
3
3
|
import { Skeleton as e } from "../ui/skeleton.js";
|
|
4
4
|
import { cn as d } from "../ui/lib/utils.js";
|
|
5
|
-
const l = "bg-field",
|
|
6
|
-
function(
|
|
5
|
+
const l = "bg-field", x = o.forwardRef(
|
|
6
|
+
function(i, m) {
|
|
7
7
|
return /* @__PURE__ */ a("div", { ref: m, className: "flex flex-col gap-ds-06", children: [
|
|
8
8
|
/* @__PURE__ */ s("div", { className: "grid grid-cols-1 gap-ds-05 sm:grid-cols-2 lg:grid-cols-4", children: Array.from({ length: 4 }).map((c, r) => /* @__PURE__ */ a(
|
|
9
9
|
"div",
|
|
@@ -11,25 +11,25 @@ const l = "bg-field", h = o.forwardRef(
|
|
|
11
11
|
className: "flex flex-col gap-ds-04 rounded-ds-xl border border-border bg-layer-01 p-ds-05b",
|
|
12
12
|
children: [
|
|
13
13
|
/* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
|
|
14
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
14
|
+
/* @__PURE__ */ s(e, { className: d("h-[12px] w-[80px]", l) }),
|
|
15
15
|
/* @__PURE__ */ s(e, { className: d("h-ds-sm w-ds-sm rounded-ds-lg", l) })
|
|
16
16
|
] }),
|
|
17
|
-
/* @__PURE__ */ s(e, { className: d("h-ds-xs-plus w-
|
|
18
|
-
/* @__PURE__ */ s(e, { className: d("h-ds-03 w-
|
|
17
|
+
/* @__PURE__ */ s(e, { className: d("h-ds-xs-plus w-[64px]", l) }),
|
|
18
|
+
/* @__PURE__ */ s(e, { className: d("h-ds-03 w-[112px]", l) })
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
`stat-${r}`
|
|
22
22
|
)) }),
|
|
23
23
|
/* @__PURE__ */ a("div", { className: "rounded-ds-xl border border-border bg-layer-01 p-ds-06", children: [
|
|
24
24
|
/* @__PURE__ */ a("div", { className: "mb-ds-06 flex items-center justify-between", children: [
|
|
25
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
25
|
+
/* @__PURE__ */ s(e, { className: d("h-[20px] w-[128px]", l) }),
|
|
26
26
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-ds-03", children: [
|
|
27
27
|
/* @__PURE__ */ s(e, { className: d("h-ds-sm w-ds-sm rounded-ds-lg", l) }),
|
|
28
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
28
|
+
/* @__PURE__ */ s(e, { className: d("h-[16px] w-[112px]", l) }),
|
|
29
29
|
/* @__PURE__ */ s(e, { className: d("h-ds-sm w-ds-sm rounded-ds-lg", l) })
|
|
30
30
|
] })
|
|
31
31
|
] }),
|
|
32
|
-
/* @__PURE__ */ s("div", { className: "mb-ds-03 grid grid-cols-7 gap-ds-03", children: Array.from({ length: 7 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("mx-auto h-
|
|
32
|
+
/* @__PURE__ */ s("div", { className: "mb-ds-03 grid grid-cols-7 gap-ds-03", children: Array.from({ length: 7 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("mx-auto h-[12px] w-[32px]", l) }, `wh-${r}`)) }),
|
|
33
33
|
/* @__PURE__ */ s("div", { className: "grid grid-cols-7 gap-ds-03", children: Array.from({ length: 35 }).map((c, r) => /* @__PURE__ */ s(
|
|
34
34
|
e,
|
|
35
35
|
{
|
|
@@ -41,20 +41,20 @@ const l = "bg-field", h = o.forwardRef(
|
|
|
41
41
|
] });
|
|
42
42
|
}
|
|
43
43
|
);
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
function(
|
|
44
|
+
x.displayName = "DashboardSkeleton";
|
|
45
|
+
const t = o.forwardRef(
|
|
46
|
+
function(i, m) {
|
|
47
47
|
return /* @__PURE__ */ a("div", { ref: m, className: "flex flex-col gap-ds-06", children: [
|
|
48
48
|
/* @__PURE__ */ a("div", { className: "flex flex-col gap-ds-05 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
49
49
|
/* @__PURE__ */ a("div", { className: "flex flex-col gap-ds-03", children: [
|
|
50
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
51
|
-
/* @__PURE__ */ s(e, { className: d("h-ds-04 w-
|
|
50
|
+
/* @__PURE__ */ s(e, { className: d("h-[24px] w-[112px]", l) }),
|
|
51
|
+
/* @__PURE__ */ s(e, { className: d("h-ds-04 w-[160px]", l) })
|
|
52
52
|
] }),
|
|
53
|
-
/* @__PURE__ */ s(e, { className: d("h-ds-sm-plus w-
|
|
53
|
+
/* @__PURE__ */ s(e, { className: d("h-ds-sm-plus w-[128px] rounded-ds-lg", l) })
|
|
54
54
|
] }),
|
|
55
55
|
/* @__PURE__ */ a("div", { className: "flex flex-col gap-ds-04 sm:flex-row sm:items-center", children: [
|
|
56
56
|
/* @__PURE__ */ s(e, { className: d("h-ds-sm-plus flex-1 rounded-ds-lg", l) }),
|
|
57
|
-
/* @__PURE__ */ s("div", { className: "flex gap-ds-02b", children: Array.from({ length: 4 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("h-ds-sm w-
|
|
57
|
+
/* @__PURE__ */ s("div", { className: "flex gap-ds-02b", children: Array.from({ length: 4 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("h-ds-sm w-[64px] rounded-ds-lg", l) }, `f-${r}`)) })
|
|
58
58
|
] }),
|
|
59
59
|
/* @__PURE__ */ s("div", { className: "grid grid-cols-1 gap-ds-05 sm:grid-cols-2 lg:grid-cols-3", children: Array.from({ length: 6 }).map((c, r) => /* @__PURE__ */ a(
|
|
60
60
|
"div",
|
|
@@ -62,21 +62,21 @@ const f = o.forwardRef(
|
|
|
62
62
|
className: "flex flex-col gap-ds-05 rounded-ds-xl border border-border bg-layer-01 p-ds-05b",
|
|
63
63
|
children: [
|
|
64
64
|
/* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
|
|
65
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
66
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
65
|
+
/* @__PURE__ */ s(e, { className: d("h-[20px] w-[64px] rounded-ds-full", l) }),
|
|
66
|
+
/* @__PURE__ */ s(e, { className: d("h-[16px] w-[80px] rounded-ds-md", l) })
|
|
67
67
|
] }),
|
|
68
68
|
/* @__PURE__ */ a("div", { className: "flex flex-col gap-ds-03", children: [
|
|
69
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
70
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
71
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
69
|
+
/* @__PURE__ */ s(e, { className: d("h-[16px] w-3/4", l) }),
|
|
70
|
+
/* @__PURE__ */ s(e, { className: d("h-[12px] w-full", l) }),
|
|
71
|
+
/* @__PURE__ */ s(e, { className: d("h-[12px] w-2/3", l) })
|
|
72
72
|
] }),
|
|
73
73
|
/* @__PURE__ */ a("div", { className: "flex items-center justify-between pt-ds-02", children: [
|
|
74
|
-
/* @__PURE__ */ s("div", { className: "flex -space-x-ds-03", children: Array.from({ length: 3 }).map((
|
|
74
|
+
/* @__PURE__ */ s("div", { className: "flex -space-x-ds-03", children: Array.from({ length: 3 }).map((f, n) => /* @__PURE__ */ s(
|
|
75
75
|
e,
|
|
76
76
|
{
|
|
77
77
|
className: d("h-ds-xs-plus w-ds-xs-plus rounded-ds-full", l)
|
|
78
78
|
},
|
|
79
|
-
`av-${r}-${
|
|
79
|
+
`av-${r}-${n}`
|
|
80
80
|
)) }),
|
|
81
81
|
/* @__PURE__ */ s(e, { className: d("h-ds-04 w-ds-md", l) })
|
|
82
82
|
] })
|
|
@@ -87,12 +87,12 @@ const f = o.forwardRef(
|
|
|
87
87
|
] });
|
|
88
88
|
}
|
|
89
89
|
);
|
|
90
|
-
|
|
91
|
-
const
|
|
92
|
-
function(
|
|
90
|
+
t.displayName = "ProjectListSkeleton";
|
|
91
|
+
const h = o.forwardRef(
|
|
92
|
+
function(i, m) {
|
|
93
93
|
return /* @__PURE__ */ a("div", { ref: m, className: "flex h-full flex-col gap-0 rounded-ds-xl border border-border bg-layer-01", children: [
|
|
94
94
|
/* @__PURE__ */ a("div", { className: "flex items-center justify-between border-b border-border px-ds-05b py-ds-05", children: [
|
|
95
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
95
|
+
/* @__PURE__ */ s(e, { className: d("h-[20px] w-[192px]", l) }),
|
|
96
96
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-ds-03", children: [
|
|
97
97
|
/* @__PURE__ */ s(e, { className: d("h-ds-xs-plus w-ds-xs-plus rounded-ds-lg", l) }),
|
|
98
98
|
/* @__PURE__ */ s(e, { className: d("h-ds-xs-plus w-ds-xs-plus rounded-ds-lg", l) })
|
|
@@ -103,26 +103,26 @@ const p = o.forwardRef(
|
|
|
103
103
|
{
|
|
104
104
|
className: "flex items-center gap-ds-05 py-ds-03",
|
|
105
105
|
children: [
|
|
106
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
107
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
106
|
+
/* @__PURE__ */ s(e, { className: d("h-[12px] w-[96px] shrink-0", l) }),
|
|
107
|
+
/* @__PURE__ */ s(e, { className: d("h-[24px] w-[128px] rounded-ds-md", l) })
|
|
108
108
|
]
|
|
109
109
|
},
|
|
110
110
|
`prop-${r}`
|
|
111
111
|
)) }),
|
|
112
|
-
/* @__PURE__ */ s("div", { className: "border-b border-border px-ds-05b", children: /* @__PURE__ */ s("div", { className: "flex gap-ds-05 py-ds-04", children: Array.from({ length: 3 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("h-
|
|
112
|
+
/* @__PURE__ */ s("div", { className: "border-b border-border px-ds-05b", children: /* @__PURE__ */ s("div", { className: "flex gap-ds-05 py-ds-04", children: Array.from({ length: 3 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("h-[16px] w-[64px]", l) }, `tab-${r}`)) }) }),
|
|
113
113
|
/* @__PURE__ */ a("div", { className: "flex flex-1 flex-col gap-ds-04 px-ds-05b py-ds-05", children: [
|
|
114
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
115
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
116
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
117
|
-
/* @__PURE__ */ s(e, { className: d("mt-ds-03 h-
|
|
118
|
-
/* @__PURE__ */ s(e, { className: d("h-
|
|
114
|
+
/* @__PURE__ */ s(e, { className: d("h-[12px] w-full", l) }),
|
|
115
|
+
/* @__PURE__ */ s(e, { className: d("h-[12px] w-4/5", l) }),
|
|
116
|
+
/* @__PURE__ */ s(e, { className: d("h-[12px] w-3/5", l) }),
|
|
117
|
+
/* @__PURE__ */ s(e, { className: d("mt-ds-03 h-[12px] w-full", l) }),
|
|
118
|
+
/* @__PURE__ */ s(e, { className: d("h-[12px] w-2/3", l) })
|
|
119
119
|
] })
|
|
120
120
|
] });
|
|
121
121
|
}
|
|
122
122
|
);
|
|
123
|
-
|
|
123
|
+
h.displayName = "TaskDetailSkeleton";
|
|
124
124
|
export {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
x as DashboardSkeleton,
|
|
126
|
+
t as ProjectListSkeleton,
|
|
127
|
+
h as TaskDetailSkeleton
|
|
128
128
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priority-indicator.d.ts","sourceRoot":"","sources":["../../src/composed/priority-indicator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"priority-indicator.d.ts","sourceRoot":"","sources":["../../src/composed/priority-indicator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAUjE,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;AAgC3D,QAAA,MAAM,gBAAgB;;8EAarB,CAAA;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAC5D,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAED,QAAA,MAAM,iBAAiB,+FA0CtB,CAAA;AAGD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-editor.d.ts","sourceRoot":"","sources":["../../src/composed/rich-text-editor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAqJ9B,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,QAAA,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"rich-text-editor.d.ts","sourceRoot":"","sources":["../../src/composed/rich-text-editor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAqJ9B,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,QAAA,MAAM,cAAc,4FAiEnB,CAAA;AAID,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,cAAc,4FAoCnB,CAAA;AAID,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAA"}
|