@devalok/shilp-sutra 0.28.0 → 0.30.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/badge-group.js +299 -0
- package/dist/_chunks/framer.js +1915 -1980
- package/dist/_chunks/keybinding.js +4 -5
- package/dist/_chunks/primitives.js +3198 -3272
- package/dist/_chunks/sonner.js +29 -31
- package/dist/_chunks/stat-row.js +110 -131
- package/dist/_chunks/tiptap.js +42 -78
- package/dist/_chunks/tree-view.js +138 -149
- package/dist/_chunks/typing-indicator.js +565 -0
- package/dist/_chunks/use-calendar.js +416 -439
- package/dist/_chunks/vendor-client.js +5 -5
- package/dist/_chunks/vendor-utils.js +5 -5
- package/dist/ai/block-renderer.js +22 -22
- package/dist/ai/blocks/loading.d.ts.map +1 -1
- package/dist/ai/command-bar.d.ts.map +1 -1
- package/dist/ai/command-bar.js +241 -263
- package/dist/ai/conversation.d.ts.map +1 -1
- package/dist/ai/conversation.js +87 -107
- package/dist/composed/activity-feed.d.ts +2 -0
- package/dist/composed/activity-feed.d.ts.map +1 -1
- package/dist/composed/activity-feed.js +118 -90
- package/dist/composed/avatar-group.d.ts +1 -0
- package/dist/composed/avatar-group.d.ts.map +1 -1
- package/dist/composed/avatar-group.js +125 -86
- package/dist/composed/bulk-action-bar.d.ts.map +1 -1
- package/dist/composed/bulk-action-bar.js +29 -28
- package/dist/composed/command-palette.d.ts.map +1 -1
- package/dist/composed/command-palette.js +99 -113
- package/dist/composed/content-card.js +1 -1
- package/dist/composed/date-picker/calendar-grid.d.ts.map +1 -1
- package/dist/composed/date-picker/date-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/date-range-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/date-time-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/time-picker.d.ts.map +1 -1
- package/dist/composed/deadline-indicator.d.ts.map +1 -1
- package/dist/composed/deadline-indicator.js +29 -28
- package/dist/composed/error-boundary.d.ts.map +1 -1
- package/dist/composed/error-boundary.js +30 -27
- package/dist/composed/extensions/file-attachment.d.ts.map +1 -1
- package/dist/composed/file-preview.d.ts.map +1 -1
- package/dist/composed/file-preview.js +261 -271
- package/dist/composed/filter-bar.d.ts.map +1 -1
- package/dist/composed/filter-bar.js +49 -48
- package/dist/composed/form-section.d.ts.map +1 -1
- package/dist/composed/form-section.js +12 -11
- package/dist/composed/global-loading.js +1 -1
- package/dist/composed/index.d.ts +1 -1
- package/dist/composed/index.d.ts.map +1 -1
- package/dist/composed/index.js +63 -63
- package/dist/composed/inline-edit.d.ts.map +1 -1
- package/dist/composed/inline-edit.js +55 -54
- package/dist/composed/markdown-viewer.d.ts.map +1 -1
- package/dist/composed/markdown-viewer.js +44 -43
- package/dist/composed/master-detail.d.ts.map +1 -1
- package/dist/composed/master-detail.js +35 -34
- package/dist/composed/multi-select-popover.d.ts.map +1 -1
- package/dist/composed/multi-select-popover.js +73 -73
- package/dist/composed/page-header.d.ts.map +1 -1
- package/dist/composed/page-header.js +42 -35
- package/dist/composed/priority-indicator.d.ts.map +1 -1
- package/dist/composed/priority-indicator.js +37 -36
- package/dist/composed/rich-text-editor.d.ts +3 -0
- package/dist/composed/rich-text-editor.d.ts.map +1 -1
- package/dist/composed/rich-text-editor.js +295 -311
- package/dist/composed/schedule-view.js +62 -62
- package/dist/composed/status-badge.d.ts +4 -2
- package/dist/composed/status-badge.d.ts.map +1 -1
- package/dist/composed/status-badge.js +58 -45
- package/dist/shell/app-command-palette.d.ts.map +1 -1
- package/dist/shell/app-command-palette.js +93 -93
- package/dist/shell/bottom-navbar.d.ts.map +1 -1
- package/dist/shell/bottom-navbar.js +21 -20
- package/dist/shell/index.js +18 -18
- package/dist/shell/notification-center.d.ts.map +1 -1
- package/dist/shell/notification-center.js +96 -95
- package/dist/shell/notification-preferences.d.ts.map +1 -1
- package/dist/shell/notification-preferences.js +82 -85
- package/dist/shell/sidebar.js +59 -60
- package/dist/shell/top-bar.d.ts.map +1 -1
- package/dist/shell/top-bar.js +103 -103
- package/dist/tailwind/index.cjs +37 -4
- package/dist/tailwind/preset.d.ts.map +1 -1
- package/dist/tailwind/preset.js +38 -5
- package/dist/tokens/primitives.css +20 -0
- package/dist/tokens/semantic.css +74 -7
- package/dist/ui/accordion.d.ts +5 -2
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +44 -39
- package/dist/ui/alert-dialog.js +57 -57
- package/dist/ui/alert.d.ts +1 -1
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +30 -29
- package/dist/ui/aspect-ratio.js +4 -4
- package/dist/ui/autocomplete.js +56 -56
- package/dist/ui/avatar.js +2 -2
- package/dist/ui/badge-group.d.ts +22 -0
- package/dist/ui/badge-group.d.ts.map +1 -0
- package/dist/ui/badge-group.js +8 -0
- package/dist/ui/badge-indicator.d.ts +32 -0
- package/dist/ui/badge-indicator.d.ts.map +1 -0
- package/dist/ui/badge-indicator.js +54 -0
- package/dist/ui/badge.d.ts +27 -24
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +13 -129
- package/dist/ui/banner.d.ts +1 -1
- package/dist/ui/banner.d.ts.map +1 -1
- package/dist/ui/banner.js +27 -26
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +37 -36
- package/dist/ui/button-group.d.ts +12 -6
- package/dist/ui/button-group.d.ts.map +1 -1
- package/dist/ui/button-group.js +18 -18
- package/dist/ui/button-processing.d.ts +16 -0
- package/dist/ui/button-processing.d.ts.map +1 -0
- package/dist/ui/button-processing.js +77 -0
- package/dist/ui/button.d.ts +50 -25
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +243 -127
- package/dist/ui/card.js +20 -21
- package/dist/ui/charts/index.js +499 -508
- package/dist/ui/chat/date-separator.d.ts +12 -0
- package/dist/ui/chat/date-separator.d.ts.map +1 -0
- package/dist/ui/chat/index.d.ts +9 -0
- package/dist/ui/chat/index.d.ts.map +1 -0
- package/dist/ui/chat/index.js +12 -0
- package/dist/ui/chat/message-input.d.ts +16 -0
- package/dist/ui/chat/message-input.d.ts.map +1 -0
- package/dist/ui/chat/message-list.d.ts +24 -0
- package/dist/ui/chat/message-list.d.ts.map +1 -0
- package/dist/ui/chat/message.d.ts +108 -0
- package/dist/ui/chat/message.d.ts.map +1 -0
- package/dist/ui/chat/system-message.d.ts +11 -0
- package/dist/ui/chat/system-message.d.ts.map +1 -0
- package/dist/ui/chat/typing-indicator.d.ts +14 -0
- package/dist/ui/chat/typing-indicator.d.ts.map +1 -0
- package/dist/ui/chat/unread-separator.d.ts +12 -0
- package/dist/ui/chat/unread-separator.d.ts.map +1 -0
- package/dist/ui/checkbox.js +18 -18
- package/dist/ui/chip.d.ts +13 -62
- package/dist/ui/chip.d.ts.map +1 -1
- package/dist/ui/chip.js +10 -109
- package/dist/ui/collapsible.js +4 -4
- package/dist/ui/color-input.js +134 -134
- package/dist/ui/color-swatch.js +11 -11
- package/dist/ui/combobox.d.ts.map +1 -1
- package/dist/ui/combobox.js +74 -80
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +86 -85
- package/dist/ui/data-table-toolbar.d.ts.map +1 -1
- package/dist/ui/data-table-toolbar.js +51 -57
- package/dist/ui/data-table.d.ts.map +1 -1
- package/dist/ui/data-table.js +268 -296
- package/dist/ui/devalok-grain.d.ts +81 -0
- package/dist/ui/devalok-grain.d.ts.map +1 -0
- package/dist/ui/devalok-grain.js +69 -0
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +73 -72
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +93 -92
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +82 -82
- package/dist/ui/hover-card.js +29 -29
- package/dist/ui/icon-button.d.ts +7 -7
- package/dist/ui/icon-button.d.ts.map +1 -1
- package/dist/ui/icon-context.d.ts +15 -0
- package/dist/ui/icon-context.d.ts.map +1 -0
- package/dist/ui/icon-context.js +20 -0
- package/dist/ui/icon-group.d.ts +22 -0
- package/dist/ui/icon-group.d.ts.map +1 -0
- package/dist/ui/icon-group.js +32 -0
- package/dist/ui/icon.d.ts +57 -0
- package/dist/ui/icon.d.ts.map +1 -0
- package/dist/ui/icon.js +122 -0
- package/dist/ui/index.d.ts +8 -1
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +351 -329
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +21 -20
- package/dist/ui/input.d.ts +32 -11
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +149 -44
- package/dist/ui/lib/motion.d.ts +2 -0
- package/dist/ui/lib/motion.d.ts.map +1 -1
- package/dist/ui/lib/motion.js +13 -11
- package/dist/ui/lib/utils.js +4 -4
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +87 -86
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/navigation-menu.js +23 -28
- package/dist/ui/number-input.d.ts.map +1 -1
- package/dist/ui/number-input.js +54 -53
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +45 -44
- package/dist/ui/popover.js +28 -28
- package/dist/ui/progress.d.ts +3 -1
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +43 -39
- package/dist/ui/search-input.d.ts.map +1 -1
- package/dist/ui/search-input.js +47 -60
- package/dist/ui/segmented-control.js +1 -1
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +54 -53
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +46 -45
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +196 -193
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/spinner.js +74 -74
- package/dist/ui/stat-card.d.ts.map +1 -1
- package/dist/ui/stat-card.js +85 -86
- package/dist/ui/switch.d.ts +3 -0
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +41 -27
- package/dist/ui/tabs.js +43 -43
- package/dist/ui/text.js +1 -1
- package/dist/ui/textarea.js +10 -10
- package/dist/ui/toast.d.ts.map +1 -1
- package/dist/ui/toast.js +169 -169
- package/dist/ui/toggle.js +4 -4
- package/dist/ui/tooltip.js +40 -40
- package/dist/ui/tree-view/tree-item.d.ts.map +1 -1
- package/docs/components/_header.md +4 -4
- package/docs/components/composed/activity-feed.md +7 -0
- package/docs/components/composed/avatar-group.md +8 -5
- package/docs/components/composed/rich-text-editor.md +6 -0
- package/docs/components/composed/status-badge.md +14 -1
- package/docs/components/ui/accordion.md +5 -2
- package/docs/components/ui/badge-group.md +38 -0
- package/docs/components/ui/badge-indicator.md +40 -0
- package/docs/components/ui/badge.md +36 -5
- package/docs/components/ui/button-processing.md +15 -0
- package/docs/components/ui/button.md +40 -11
- package/docs/components/ui/chat.md +214 -0
- package/docs/components/ui/data-table.md +3 -0
- package/docs/components/ui/devalok-grain.md +55 -0
- package/docs/components/ui/icon-button.md +12 -5
- package/docs/components/ui/icon-context.md +38 -0
- package/docs/components/ui/icon-group.md +36 -0
- package/docs/components/ui/icon.md +47 -0
- package/docs/components/ui/input.md +32 -6
- package/docs/components/ui/progress.md +5 -0
- package/docs/components/ui/spinner.md +3 -0
- package/docs/components/ui/switch.md +13 -0
- package/llms-full.txt +672 -40
- package/llms.txt +46 -21
- package/package.json +7 -2
|
@@ -1,87 +1,88 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as t, jsxs as
|
|
3
|
-
import * as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { IconChevronRight as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
2
|
+
import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import * as D from "react";
|
|
4
|
+
import { cn as a } from "../ui/lib/utils.js";
|
|
5
|
+
import { IconChevronRight as W } from "@tabler/icons-react";
|
|
6
|
+
import { Icon as j } from "../ui/icon.js";
|
|
7
|
+
import { Avatar as z, AvatarImage as R, AvatarFallback as L } from "../ui/avatar.js";
|
|
8
|
+
import { Button as E } from "../ui/button.js";
|
|
9
|
+
import { Skeleton as N } from "../ui/skeleton.js";
|
|
10
|
+
import { getInitials as B } from "./lib/string-utils.js";
|
|
11
|
+
import { formatRelativeTime as G } from "../ui/lib/date-utils.js";
|
|
12
|
+
import { tweens as T } from "../ui/lib/motion.js";
|
|
13
|
+
import { m as A } from "../_chunks/framer.js";
|
|
14
|
+
const O = {
|
|
14
15
|
default: "bg-surface-fg-subtle",
|
|
15
16
|
success: "bg-success-9",
|
|
16
17
|
warning: "bg-warning-9",
|
|
17
18
|
error: "bg-error-9",
|
|
18
19
|
info: "bg-info-9"
|
|
19
|
-
},
|
|
20
|
+
}, I = {
|
|
20
21
|
today: "Today",
|
|
21
22
|
yesterday: "Yesterday",
|
|
22
23
|
thisWeek: "This Week",
|
|
23
24
|
older: "Older"
|
|
24
25
|
};
|
|
25
|
-
function
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
),
|
|
29
|
-
for (const
|
|
30
|
-
const
|
|
31
|
-
|
|
26
|
+
function Y(e, s) {
|
|
27
|
+
const l = { ...I, ...s }, n = /* @__PURE__ */ new Date(), f = new Date(n.getFullYear(), n.getMonth(), n.getDate()), o = new Date(f.getTime() - 1440 * 60 * 1e3), i = n.getDay(), w = i === 0 ? 6 : i - 1, k = new Date(
|
|
28
|
+
f.getTime() - w * 24 * 60 * 60 * 1e3
|
|
29
|
+
), g = [], m = [], u = [], h = [];
|
|
30
|
+
for (const c of e) {
|
|
31
|
+
const v = (typeof c.timestamp == "string" ? new Date(c.timestamp) : c.timestamp).getTime();
|
|
32
|
+
v >= f.getTime() ? g.push(c) : v >= o.getTime() ? m.push(c) : v >= k.getTime() ? u.push(c) : h.push(c);
|
|
32
33
|
}
|
|
33
|
-
const
|
|
34
|
-
return
|
|
34
|
+
const p = [];
|
|
35
|
+
return g.length > 0 && p.push({ label: l.today, items: g }), m.length > 0 && p.push({ label: l.yesterday, items: m }), u.length > 0 && p.push({ label: l.thisWeek, items: u }), h.length > 0 && p.push({ label: l.older, items: h }), p;
|
|
35
36
|
}
|
|
36
|
-
function
|
|
37
|
-
return /* @__PURE__ */ t("div", { className:
|
|
38
|
-
/* @__PURE__ */ t(
|
|
39
|
-
!e && /* @__PURE__ */ t(
|
|
40
|
-
/* @__PURE__ */ t(
|
|
41
|
-
/* @__PURE__ */ t(
|
|
42
|
-
] },
|
|
37
|
+
function M({ compact: e }) {
|
|
38
|
+
return /* @__PURE__ */ t("div", { className: a("flex flex-col", e ? "gap-1" : "gap-3"), children: [0, 1, 2].map((s) => /* @__PURE__ */ r("div", { className: "flex items-center gap-ds-03", children: [
|
|
39
|
+
/* @__PURE__ */ t(N, { className: "h-2 w-2 shrink-0 rounded-ds-full" }),
|
|
40
|
+
!e && /* @__PURE__ */ t(N, { className: "h-4 w-4 shrink-0 rounded-ds-full" }),
|
|
41
|
+
/* @__PURE__ */ t(N, { className: a("flex-1", e ? "h-3" : "h-4") }),
|
|
42
|
+
/* @__PURE__ */ t(N, { className: "h-3 w-12" })
|
|
43
|
+
] }, s)) });
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function U({
|
|
45
46
|
item: e,
|
|
46
|
-
compact:
|
|
47
|
+
compact: s
|
|
47
48
|
}) {
|
|
48
|
-
const [
|
|
49
|
-
e.detail &&
|
|
49
|
+
const [l, n] = D.useState(!1), f = e.color ?? "default", o = () => {
|
|
50
|
+
e.detail && n((i) => !i);
|
|
50
51
|
};
|
|
51
|
-
return /* @__PURE__ */
|
|
52
|
+
return /* @__PURE__ */ r("div", { className: a("relative flex items-start", s ? "gap-ds-02" : "gap-ds-03"), children: [
|
|
52
53
|
/* @__PURE__ */ t(
|
|
53
54
|
"div",
|
|
54
55
|
{
|
|
55
|
-
className:
|
|
56
|
+
className: a(
|
|
56
57
|
"relative z-10 mt-1.5 h-2 w-2 shrink-0 rounded-ds-full ring-2 ring-surface-base",
|
|
57
|
-
|
|
58
|
+
O[f]
|
|
58
59
|
)
|
|
59
60
|
}
|
|
60
61
|
),
|
|
61
|
-
!
|
|
62
|
-
e.actor.image && /* @__PURE__ */ t(
|
|
63
|
-
/* @__PURE__ */ t(
|
|
62
|
+
!s && e.actor && /* @__PURE__ */ r(z, { className: "h-5 w-5 shrink-0 text-[9px]", children: [
|
|
63
|
+
e.actor.image && /* @__PURE__ */ t(R, { src: e.actor.image, alt: e.actor.name }),
|
|
64
|
+
/* @__PURE__ */ t(L, { className: "text-[9px]", children: B(e.actor.name) })
|
|
64
65
|
] }),
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
e.actor && /* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ r("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
67
|
+
/* @__PURE__ */ r("div", { className: "flex items-center justify-between gap-ds-02", children: [
|
|
68
|
+
/* @__PURE__ */ r("div", { className: a("min-w-0 flex-1 flex items-center gap-ds-01 flex-wrap", s ? "text-ds-xs" : "text-ds-sm"), children: [
|
|
69
|
+
e.actor && /* @__PURE__ */ r("span", { className: "font-medium text-surface-fg", children: [
|
|
69
70
|
e.actor.name,
|
|
70
71
|
" "
|
|
71
72
|
] }),
|
|
72
|
-
e.detail && /* @__PURE__ */ t(
|
|
73
|
+
e.detail && /* @__PURE__ */ t(j, { icon: W, size: "xs", className: a("shrink-0 text-surface-fg-subtle transition-transform duration-fast-02 ease-productive-standard", l && "rotate-90") }),
|
|
73
74
|
/* @__PURE__ */ t(
|
|
74
75
|
"span",
|
|
75
76
|
{
|
|
76
|
-
className:
|
|
77
|
+
className: a(
|
|
77
78
|
"text-surface-fg-muted",
|
|
78
79
|
e.detail && "cursor-pointer hover:underline hover:bg-surface-raised rounded-ds-md"
|
|
79
80
|
),
|
|
80
|
-
onClick:
|
|
81
|
+
onClick: o,
|
|
81
82
|
role: e.detail ? "button" : void 0,
|
|
82
83
|
tabIndex: e.detail ? 0 : void 0,
|
|
83
|
-
onKeyDown: e.detail ? (
|
|
84
|
-
(
|
|
84
|
+
onKeyDown: e.detail ? (i) => {
|
|
85
|
+
(i.key === "Enter" || i.key === " ") && (i.preventDefault(), o());
|
|
85
86
|
} : void 0,
|
|
86
87
|
children: e.action
|
|
87
88
|
}
|
|
@@ -90,32 +91,51 @@ function O({
|
|
|
90
91
|
/* @__PURE__ */ t(
|
|
91
92
|
"time",
|
|
92
93
|
{
|
|
93
|
-
className:
|
|
94
|
+
className: a(
|
|
94
95
|
"shrink-0 whitespace-nowrap text-surface-fg-subtle",
|
|
95
|
-
|
|
96
|
+
s ? "text-ds-xs" : "text-ds-sm"
|
|
96
97
|
),
|
|
97
98
|
dateTime: (typeof e.timestamp == "string" ? new Date(e.timestamp) : e.timestamp).toISOString(),
|
|
98
|
-
children:
|
|
99
|
+
children: G(e.timestamp)
|
|
99
100
|
}
|
|
100
101
|
)
|
|
101
102
|
] }),
|
|
102
|
-
|
|
103
|
+
l && e.detail && /* @__PURE__ */ t("div", { className: "mt-ds-02 animate-in fade-in slide-in-from-top-1 text-ds-sm text-surface-fg-muted", children: e.detail })
|
|
103
104
|
] })
|
|
104
105
|
] });
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
+
function _({
|
|
108
|
+
item: e,
|
|
109
|
+
compact: s,
|
|
110
|
+
children: l
|
|
111
|
+
}) {
|
|
112
|
+
const n = e.color ?? "default";
|
|
113
|
+
return /* @__PURE__ */ r("div", { className: a("relative flex items-start", s ? "gap-ds-02" : "gap-ds-03"), children: [
|
|
114
|
+
/* @__PURE__ */ t(
|
|
115
|
+
"div",
|
|
116
|
+
{
|
|
117
|
+
className: a(
|
|
118
|
+
"relative z-10 mt-1.5 h-2 w-2 shrink-0 rounded-ds-full ring-2 ring-surface-base",
|
|
119
|
+
O[n]
|
|
120
|
+
)
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
/* @__PURE__ */ t("div", { className: "min-w-0 flex-1", children: l })
|
|
124
|
+
] });
|
|
125
|
+
}
|
|
126
|
+
function H({
|
|
107
127
|
label: e,
|
|
108
|
-
isFirst:
|
|
128
|
+
isFirst: s
|
|
109
129
|
}) {
|
|
110
|
-
return /* @__PURE__ */
|
|
111
|
-
|
|
130
|
+
return /* @__PURE__ */ r(
|
|
131
|
+
A.div,
|
|
112
132
|
{
|
|
113
133
|
initial: { opacity: 0 },
|
|
114
134
|
animate: { opacity: 1 },
|
|
115
|
-
transition:
|
|
116
|
-
className:
|
|
135
|
+
transition: T.fade,
|
|
136
|
+
className: a(
|
|
117
137
|
"flex items-center gap-ds-03",
|
|
118
|
-
|
|
138
|
+
s ? "" : "mt-ds-06",
|
|
119
139
|
"mb-ds-03"
|
|
120
140
|
),
|
|
121
141
|
children: [
|
|
@@ -126,43 +146,51 @@ function Y({
|
|
|
126
146
|
}
|
|
127
147
|
);
|
|
128
148
|
}
|
|
129
|
-
const
|
|
149
|
+
const K = D.forwardRef(
|
|
130
150
|
({
|
|
131
151
|
items: e,
|
|
132
|
-
onLoadMore:
|
|
133
|
-
loading:
|
|
134
|
-
hasMore:
|
|
135
|
-
emptyState:
|
|
136
|
-
compact:
|
|
137
|
-
maxInitialItems:
|
|
138
|
-
groupBy:
|
|
139
|
-
groupLabels:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
152
|
+
onLoadMore: s,
|
|
153
|
+
loading: l = !1,
|
|
154
|
+
hasMore: n = !1,
|
|
155
|
+
emptyState: f,
|
|
156
|
+
compact: o = !1,
|
|
157
|
+
maxInitialItems: i,
|
|
158
|
+
groupBy: w = "none",
|
|
159
|
+
groupLabels: k,
|
|
160
|
+
renderItem: g,
|
|
161
|
+
className: m,
|
|
162
|
+
...u
|
|
163
|
+
}, h) => {
|
|
164
|
+
const [p, c] = D.useState(!1);
|
|
165
|
+
if (l)
|
|
166
|
+
return /* @__PURE__ */ t("div", { ref: h, className: a("relative", m), ...u, children: /* @__PURE__ */ t(M, { compact: o }) });
|
|
146
167
|
if (e.length === 0)
|
|
147
|
-
return
|
|
148
|
-
const
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
168
|
+
return f ? /* @__PURE__ */ t("div", { ref: h, className: m, ...u, children: f }) : null;
|
|
169
|
+
const b = i != null && !p && e.length > i, v = b ? e.slice(0, i) : e, F = w === "time", S = (d, x) => {
|
|
170
|
+
if (g) {
|
|
171
|
+
const y = g(d, x);
|
|
172
|
+
if (y !== void 0)
|
|
173
|
+
return /* @__PURE__ */ t(_, { item: d, compact: o, children: y });
|
|
174
|
+
}
|
|
175
|
+
return /* @__PURE__ */ t(U, { item: d, compact: o });
|
|
176
|
+
};
|
|
177
|
+
return /* @__PURE__ */ r("div", { ref: h, className: a("relative", m), ...u, children: [
|
|
178
|
+
F ? /* @__PURE__ */ t("div", { children: Y(v, k).map((d, x) => /* @__PURE__ */ r("div", { children: [
|
|
179
|
+
/* @__PURE__ */ t(H, { label: d.label, isFirst: x === 0 }),
|
|
180
|
+
/* @__PURE__ */ r("div", { className: a("relative flex flex-col", o ? "gap-1" : "gap-3"), children: [
|
|
153
181
|
/* @__PURE__ */ t("div", { className: "absolute bottom-0 left-[3px] top-0 w-px bg-surface-border" }),
|
|
154
|
-
|
|
182
|
+
d.items.map((y, C) => /* @__PURE__ */ t(A.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { ...T.fade, delay: C * 0.03 }, children: S(y, C) }, y.id))
|
|
155
183
|
] })
|
|
156
|
-
] },
|
|
184
|
+
] }, d.label)) }) : /* @__PURE__ */ r("div", { className: a("relative flex flex-col", o ? "gap-1" : "gap-3"), children: [
|
|
157
185
|
/* @__PURE__ */ t("div", { className: "absolute bottom-0 left-[3px] top-0 w-px bg-surface-border" }),
|
|
158
|
-
|
|
186
|
+
v.map((d, x) => /* @__PURE__ */ t(A.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { ...T.fade, delay: x * 0.03 }, children: S(d, x) }, d.id))
|
|
159
187
|
] }),
|
|
160
|
-
|
|
161
|
-
|
|
188
|
+
b && /* @__PURE__ */ t("div", { className: "relative mt-ds-03 flex justify-center", children: /* @__PURE__ */ r(
|
|
189
|
+
E,
|
|
162
190
|
{
|
|
163
191
|
variant: "ghost",
|
|
164
192
|
size: "sm",
|
|
165
|
-
onClick: () =>
|
|
193
|
+
onClick: () => c(!0),
|
|
166
194
|
children: [
|
|
167
195
|
"Show all (",
|
|
168
196
|
e.length,
|
|
@@ -170,12 +198,12 @@ const M = k.forwardRef(
|
|
|
170
198
|
]
|
|
171
199
|
}
|
|
172
200
|
) }),
|
|
173
|
-
|
|
201
|
+
n && s && !b && /* @__PURE__ */ t("div", { className: "relative mt-ds-03 flex justify-center", children: /* @__PURE__ */ t(E, { variant: "ghost", size: "sm", onClick: s, children: "Load more" }) })
|
|
174
202
|
] });
|
|
175
203
|
}
|
|
176
204
|
);
|
|
177
|
-
|
|
205
|
+
K.displayName = "ActivityFeed";
|
|
178
206
|
export {
|
|
179
|
-
|
|
180
|
-
|
|
207
|
+
K as ActivityFeed,
|
|
208
|
+
Y as groupItemsByTime
|
|
181
209
|
};
|
|
@@ -9,6 +9,7 @@ export interface AvatarUser {
|
|
|
9
9
|
name: string;
|
|
10
10
|
image?: string | null;
|
|
11
11
|
ring?: AvatarRing;
|
|
12
|
+
indicator?: 'lead' | 'admin' | React.ReactNode;
|
|
12
13
|
}
|
|
13
14
|
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarSizeVariants> {
|
|
14
15
|
users: AvatarUser[];
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AASjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAgB9C,QAAA,MAAM,kBAAkB;;8EAgBvB,CAAA;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,SAAS,CAAA;CAC/C;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;IACrB,oEAAoE;IACpE,WAAW,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAA;IAC/C,uDAAuD;IACvD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,6CAA6C;IAC7C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;IACnE,0DAA0D;IAC1D,eAAe,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAClC,iEAAiE;IACjE,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAAA;CAC9C;AAED,QAAA,MAAM,WAAW,yFAmOhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import { cn as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
2
|
+
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
3
|
+
import * as y from "react";
|
|
4
|
+
import { a as F } from "../_chunks/vendor-utils.js";
|
|
5
|
+
import { cn as i } from "../ui/lib/utils.js";
|
|
6
|
+
import { springs as G } from "../ui/lib/motion.js";
|
|
7
|
+
import { Avatar as H, AvatarImage as B, AvatarFallback as L } from "../ui/avatar.js";
|
|
8
|
+
import { TooltipProvider as O, Tooltip as w, TooltipTrigger as N, TooltipContent as M } from "../ui/tooltip.js";
|
|
9
|
+
import { getInitials as q } from "./lib/string-utils.js";
|
|
10
|
+
import { A as J, m as K } from "../_chunks/framer.js";
|
|
11
|
+
const S = {
|
|
10
12
|
lead: "ring-2 ring-accent-7 ring-offset-1 ring-offset-surface-raised",
|
|
11
13
|
admin: "ring-2 ring-warning-7 ring-offset-1 ring-offset-surface-raised",
|
|
12
14
|
client: "ring-2 ring-info-7 ring-offset-1 ring-offset-surface-raised"
|
|
13
|
-
},
|
|
15
|
+
}, z = F(
|
|
14
16
|
"shrink-0 overflow-hidden rounded-ds-full border-2",
|
|
15
17
|
{
|
|
16
18
|
variants: {
|
|
@@ -26,151 +28,188 @@ const w = {
|
|
|
26
28
|
size: "md"
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
|
-
),
|
|
31
|
+
), Q = y.forwardRef(
|
|
30
32
|
({
|
|
31
33
|
users: l,
|
|
32
|
-
max:
|
|
33
|
-
size:
|
|
34
|
-
showTooltip:
|
|
35
|
-
borderColor:
|
|
36
|
-
onOverflowClick:
|
|
37
|
-
renderAvatar:
|
|
38
|
-
expandDirection:
|
|
39
|
-
expandAmount:
|
|
40
|
-
className:
|
|
41
|
-
...
|
|
42
|
-
},
|
|
43
|
-
const
|
|
34
|
+
max: f = 4,
|
|
35
|
+
size: a,
|
|
36
|
+
showTooltip: $ = !0,
|
|
37
|
+
borderColor: C = "surface-raised",
|
|
38
|
+
onOverflowClick: h,
|
|
39
|
+
renderAvatar: u,
|
|
40
|
+
expandDirection: I = "right",
|
|
41
|
+
expandAmount: T = "default",
|
|
42
|
+
className: k,
|
|
43
|
+
...A
|
|
44
|
+
}, P) => {
|
|
45
|
+
const n = l.slice(0, f), o = l.length - f, c = {
|
|
44
46
|
xs: "-ml-ds-02",
|
|
45
47
|
sm: "-ml-ds-02b",
|
|
46
48
|
md: "-ml-ds-03",
|
|
47
49
|
lg: "-ml-ds-04",
|
|
48
50
|
xl: "-ml-ds-05"
|
|
49
|
-
}[
|
|
51
|
+
}[a ?? "md"], x = {
|
|
52
|
+
xs: "text-[9px]",
|
|
53
|
+
sm: "text-ds-xs",
|
|
54
|
+
md: "text-ds-sm",
|
|
55
|
+
lg: "text-ds-md",
|
|
56
|
+
xl: "text-ds-lg"
|
|
57
|
+
}[a ?? "md"], j = {
|
|
58
|
+
xs: "h-1 w-1",
|
|
59
|
+
sm: "h-1.5 w-1.5",
|
|
60
|
+
md: "h-2 w-2",
|
|
61
|
+
lg: "h-2.5 w-2.5",
|
|
62
|
+
xl: "h-3 w-3"
|
|
63
|
+
}[a ?? "md"], g = C === "surface-base" ? "border-surface-base" : "border-surface-raised", [D, d] = y.useState(!1), R = {
|
|
50
64
|
xs: 8,
|
|
51
65
|
sm: 10,
|
|
52
66
|
md: 12,
|
|
53
67
|
lg: 16,
|
|
54
68
|
xl: 20
|
|
55
|
-
}[
|
|
56
|
-
function
|
|
57
|
-
if (!
|
|
58
|
-
const
|
|
59
|
-
return
|
|
69
|
+
}[a ?? "md"], V = { compact: 0.5, default: 1, wide: 1.5 }[T], X = n.length + (o > 0 ? 1 : 0);
|
|
70
|
+
function m(e) {
|
|
71
|
+
if (!D) return "translateX(0)";
|
|
72
|
+
const t = R * V;
|
|
73
|
+
return I === "left" ? `translateX(-${(X - 1 - e) * t}px)` : `translateX(${e * t}px)`;
|
|
60
74
|
}
|
|
61
|
-
const
|
|
62
|
-
return /* @__PURE__ */
|
|
75
|
+
const b = "transition-[transform,opacity] duration-300 ease-out hover:z-50 hover:scale-105 group-hover:[&:not(:hover)]:opacity-85";
|
|
76
|
+
return /* @__PURE__ */ r(O, { children: /* @__PURE__ */ s(
|
|
63
77
|
"div",
|
|
64
78
|
{
|
|
65
|
-
ref:
|
|
79
|
+
ref: P,
|
|
66
80
|
role: "group",
|
|
67
81
|
"aria-label": `${l.length} team members`,
|
|
68
82
|
tabIndex: 0,
|
|
69
|
-
className:
|
|
83
|
+
className: i("group flex items-center", k),
|
|
70
84
|
onMouseEnter: () => d(!0),
|
|
71
85
|
onMouseLeave: () => d(!1),
|
|
72
86
|
onFocus: () => d(!0),
|
|
73
87
|
onBlur: (e) => {
|
|
74
88
|
e.currentTarget.contains(e.relatedTarget) || d(!1);
|
|
75
89
|
},
|
|
76
|
-
...
|
|
90
|
+
...A,
|
|
77
91
|
children: [
|
|
78
|
-
|
|
79
|
-
const
|
|
80
|
-
if (
|
|
81
|
-
return /* @__PURE__ */
|
|
92
|
+
n.map((e, t) => {
|
|
93
|
+
const E = q(e.name), p = `${e.name}-${t}`;
|
|
94
|
+
if (u)
|
|
95
|
+
return /* @__PURE__ */ r(
|
|
82
96
|
"div",
|
|
83
97
|
{
|
|
84
|
-
className:
|
|
85
|
-
"shrink-0",
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
e.ring && e.ring !== "none" &&
|
|
98
|
+
className: i(
|
|
99
|
+
"shrink-0 rounded-ds-full",
|
|
100
|
+
t > 0 && c,
|
|
101
|
+
b,
|
|
102
|
+
e.ring && e.ring !== "none" && S[e.ring]
|
|
89
103
|
),
|
|
90
|
-
style: { zIndex:
|
|
91
|
-
children:
|
|
104
|
+
style: { zIndex: n.length - t, transform: m(t) },
|
|
105
|
+
children: u(e, t)
|
|
92
106
|
},
|
|
93
|
-
|
|
107
|
+
p
|
|
94
108
|
);
|
|
95
|
-
const
|
|
96
|
-
|
|
109
|
+
const v = /* @__PURE__ */ s(
|
|
110
|
+
"div",
|
|
97
111
|
{
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
e.ring && e.ring !== "none" && w[e.ring]
|
|
112
|
+
className: i(
|
|
113
|
+
"relative shrink-0 rounded-ds-full",
|
|
114
|
+
t > 0 && c,
|
|
115
|
+
b,
|
|
116
|
+
e.ring && e.ring !== "none" && S[e.ring]
|
|
104
117
|
),
|
|
105
|
-
style: { zIndex:
|
|
118
|
+
style: { zIndex: n.length - t, transform: m(t) },
|
|
106
119
|
children: [
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
120
|
+
/* @__PURE__ */ s(
|
|
121
|
+
H,
|
|
122
|
+
{
|
|
123
|
+
size: a,
|
|
124
|
+
className: g,
|
|
125
|
+
children: [
|
|
126
|
+
e.image && /* @__PURE__ */ r(B, { src: e.image, alt: e.name }),
|
|
127
|
+
/* @__PURE__ */ r(
|
|
128
|
+
L,
|
|
129
|
+
{
|
|
130
|
+
colorSeed: e.name,
|
|
131
|
+
children: E
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
),
|
|
137
|
+
/* @__PURE__ */ r(J, { children: e.indicator && /* @__PURE__ */ r(
|
|
138
|
+
K.span,
|
|
110
139
|
{
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
140
|
+
initial: { scale: 0, opacity: 0 },
|
|
141
|
+
animate: { scale: 1, opacity: 1 },
|
|
142
|
+
exit: { scale: 0, opacity: 0 },
|
|
143
|
+
transition: G.snappy,
|
|
144
|
+
className: i(
|
|
145
|
+
"absolute top-0 right-0 rounded-ds-full ring-1 ring-surface-raised",
|
|
146
|
+
j,
|
|
147
|
+
e.indicator === "lead" ? "bg-warning-9" : e.indicator === "admin" ? "bg-accent-9" : ""
|
|
148
|
+
),
|
|
149
|
+
children: typeof e.indicator != "string" && e.indicator
|
|
114
150
|
}
|
|
115
|
-
)
|
|
151
|
+
) })
|
|
116
152
|
]
|
|
117
153
|
},
|
|
118
|
-
|
|
154
|
+
p
|
|
119
155
|
);
|
|
120
|
-
return
|
|
121
|
-
/* @__PURE__ */
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
|
|
156
|
+
return $ ? /* @__PURE__ */ s(w, { children: [
|
|
157
|
+
/* @__PURE__ */ r(N, { asChild: !0, children: v }),
|
|
158
|
+
/* @__PURE__ */ r(
|
|
159
|
+
M,
|
|
124
160
|
{
|
|
125
161
|
className: "border-surface-border-strong bg-surface-base text-surface-fg",
|
|
126
162
|
sideOffset: 6,
|
|
127
|
-
children: /* @__PURE__ */
|
|
163
|
+
children: /* @__PURE__ */ r("p", { className: "text-ds-sm", children: e.name })
|
|
128
164
|
}
|
|
129
165
|
)
|
|
130
|
-
] },
|
|
166
|
+
] }, p) : v;
|
|
131
167
|
}),
|
|
132
|
-
|
|
133
|
-
/* @__PURE__ */
|
|
168
|
+
o > 0 && /* @__PURE__ */ s(w, { children: [
|
|
169
|
+
/* @__PURE__ */ r(N, { asChild: !0, children: h ? /* @__PURE__ */ s(
|
|
134
170
|
"button",
|
|
135
171
|
{
|
|
136
172
|
type: "button",
|
|
137
|
-
onClick:
|
|
138
|
-
|
|
139
|
-
|
|
173
|
+
onClick: h,
|
|
174
|
+
"aria-label": `${o} more members`,
|
|
175
|
+
className: i(
|
|
176
|
+
z({ size: a }),
|
|
140
177
|
g,
|
|
141
178
|
c,
|
|
142
|
-
|
|
179
|
+
`flex cursor-pointer items-center justify-center bg-accent-2 font-semibold text-accent-11 ${x}`,
|
|
143
180
|
"hover:scale-105 hover:bg-accent-3 transition-[transform,background-color] duration-300 ease-out"
|
|
144
181
|
),
|
|
145
|
-
style: { zIndex: 0, transform:
|
|
182
|
+
style: { zIndex: 0, transform: m(n.length) },
|
|
146
183
|
children: [
|
|
147
184
|
"+",
|
|
148
|
-
|
|
185
|
+
o
|
|
149
186
|
]
|
|
150
187
|
}
|
|
151
188
|
) : /* @__PURE__ */ s(
|
|
152
189
|
"div",
|
|
153
190
|
{
|
|
154
|
-
|
|
155
|
-
|
|
191
|
+
role: "img",
|
|
192
|
+
"aria-label": `${o} more members`,
|
|
193
|
+
className: i(
|
|
194
|
+
z({ size: a }),
|
|
156
195
|
g,
|
|
157
196
|
c,
|
|
158
|
-
|
|
197
|
+
`flex cursor-default items-center justify-center bg-accent-2 font-semibold text-accent-11 ${x}`,
|
|
159
198
|
"transition-[transform,opacity] duration-300 ease-out"
|
|
160
199
|
),
|
|
161
|
-
style: { zIndex: 0, transform:
|
|
200
|
+
style: { zIndex: 0, transform: m(n.length) },
|
|
162
201
|
children: [
|
|
163
202
|
"+",
|
|
164
|
-
|
|
203
|
+
o
|
|
165
204
|
]
|
|
166
205
|
}
|
|
167
206
|
) }),
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
-
|
|
207
|
+
/* @__PURE__ */ r(
|
|
208
|
+
M,
|
|
170
209
|
{
|
|
171
210
|
className: "border-surface-border-strong bg-surface-base text-surface-fg",
|
|
172
211
|
sideOffset: 6,
|
|
173
|
-
children: /* @__PURE__ */
|
|
212
|
+
children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-ds-01", children: l.slice(f).map((e, t) => /* @__PURE__ */ r("p", { className: "text-ds-sm", children: e.name }, t)) })
|
|
174
213
|
}
|
|
175
214
|
)
|
|
176
215
|
] })
|
|
@@ -179,7 +218,7 @@ const w = {
|
|
|
179
218
|
) });
|
|
180
219
|
}
|
|
181
220
|
);
|
|
182
|
-
|
|
221
|
+
Q.displayName = "AvatarGroup";
|
|
183
222
|
export {
|
|
184
|
-
|
|
223
|
+
Q as AvatarGroup
|
|
185
224
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-action-bar.d.ts","sourceRoot":"","sources":["../../src/composed/bulk-action-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"bulk-action-bar.d.ts","sourceRoot":"","sources":["../../src/composed/bulk-action-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAc9B,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAClD,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2DAA2D;IAC3D,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,2DAA2D;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,gBAAgB,EAAE,MAAM,IAAI,CAAA;IAC5B,OAAO,EAAE,mBAAmB,EAAE,CAAA;IAC9B,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAoED,iBAAS,aAAa,CAAC,EACrB,IAAI,EACJ,KAAK,EACL,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,WAAW,EACX,SAAS,GACV,EAAE,kBAAkB,4BAwDpB;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
|