@devalok/shilp-sutra 0.28.0 → 0.29.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 +91 -67
- 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.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 +31 -37
- 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.map +1 -1
- package/dist/composed/rich-text-editor.js +287 -306
- 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 +10 -0
- package/dist/tokens/semantic.css +70 -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 +15 -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 +1 -1
- 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/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 +666 -40
- package/llms.txt +37 -18
- package/package.json +7 -2
|
@@ -1,69 +1,63 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { IconChevronRight as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const f =
|
|
9
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import { cn as c } from "../ui/lib/utils.js";
|
|
4
|
+
import { IconChevronRight as x } from "@tabler/icons-react";
|
|
5
|
+
import { Icon as p } from "../ui/icon.js";
|
|
6
|
+
const u = o.forwardRef(
|
|
7
|
+
({ title: n, subtitle: a, actions: r, breadcrumbs: s, titleClassName: d, className: m, ...g }, h) => {
|
|
8
|
+
const f = n ?? s?.[s.length - 1]?.label ?? "";
|
|
9
|
+
return /* @__PURE__ */ l(
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
|
-
ref:
|
|
13
|
-
className:
|
|
12
|
+
ref: h,
|
|
13
|
+
className: c(
|
|
14
14
|
"flex flex-col gap-ds-05 border-b border-surface-border-strong pb-ds-06",
|
|
15
|
-
|
|
15
|
+
m
|
|
16
16
|
),
|
|
17
|
-
...
|
|
17
|
+
...g,
|
|
18
18
|
children: [
|
|
19
|
-
|
|
20
|
-
i > 0 && /* @__PURE__ */
|
|
21
|
-
|
|
22
|
-
{
|
|
23
|
-
className: "h-ico-sm w-ico-sm text-surface-fg-subtle",
|
|
24
|
-
stroke: 1.5
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
l.href ? /* @__PURE__ */ s(
|
|
19
|
+
s && s.length > 0 && /* @__PURE__ */ e("nav", { "aria-label": "Breadcrumb", className: "flex items-center gap-ds-02b", children: s.map((t, i) => /* @__PURE__ */ l(o.Fragment, { children: [
|
|
20
|
+
i > 0 && /* @__PURE__ */ e(p, { icon: x, size: "sm", stroke: "light", className: "text-surface-fg-subtle" }),
|
|
21
|
+
t.href ? /* @__PURE__ */ e(
|
|
28
22
|
"a",
|
|
29
23
|
{
|
|
30
|
-
href:
|
|
24
|
+
href: t.href,
|
|
31
25
|
className: "text-ds-sm text-surface-fg-subtle transition-colors hover:text-surface-fg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-9 rounded-ds-sm",
|
|
32
|
-
children:
|
|
26
|
+
children: t.label
|
|
33
27
|
}
|
|
34
|
-
) : /* @__PURE__ */
|
|
28
|
+
) : /* @__PURE__ */ e(
|
|
35
29
|
"span",
|
|
36
30
|
{
|
|
37
|
-
className:
|
|
31
|
+
className: c(
|
|
38
32
|
"text-ds-sm",
|
|
39
|
-
i ===
|
|
33
|
+
i === s.length - 1 ? "text-surface-fg" : "text-surface-fg-subtle"
|
|
40
34
|
),
|
|
41
|
-
children:
|
|
35
|
+
children: t.label
|
|
42
36
|
}
|
|
43
37
|
)
|
|
44
38
|
] }, i)) }),
|
|
45
|
-
(f || a || r) && /* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
f && /* @__PURE__ */
|
|
39
|
+
(f || a || r) && /* @__PURE__ */ l("div", { className: "flex items-start justify-between gap-ds-05", children: [
|
|
40
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-ds-02b", children: [
|
|
41
|
+
f && /* @__PURE__ */ e(
|
|
48
42
|
"h1",
|
|
49
43
|
{
|
|
50
|
-
className:
|
|
44
|
+
className: c(
|
|
51
45
|
"text-ds-2xl font-semibold text-surface-fg",
|
|
52
|
-
|
|
46
|
+
d
|
|
53
47
|
),
|
|
54
48
|
children: f
|
|
55
49
|
}
|
|
56
50
|
),
|
|
57
|
-
a && /* @__PURE__ */
|
|
51
|
+
a && /* @__PURE__ */ e("p", { className: "text-ds-md text-surface-fg-subtle", children: a })
|
|
58
52
|
] }),
|
|
59
|
-
r && /* @__PURE__ */
|
|
53
|
+
r && /* @__PURE__ */ e("div", { className: "flex shrink-0 items-center gap-ds-03", children: r })
|
|
60
54
|
] })
|
|
61
55
|
]
|
|
62
56
|
}
|
|
63
57
|
);
|
|
64
58
|
}
|
|
65
59
|
);
|
|
66
|
-
|
|
60
|
+
u.displayName = "PageHeader";
|
|
67
61
|
export {
|
|
68
|
-
|
|
62
|
+
u as PageHeader
|
|
69
63
|
};
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAYjE,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;AAgClG,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,+FAwEtB,CAAA;AAGD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
import { cn as
|
|
5
|
-
import { IconAlertTriangle as
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { jsx as r, jsxs as g } from "react/jsx-runtime";
|
|
2
|
+
import * as u from "react";
|
|
3
|
+
import { a as b } from "../_chunks/vendor-utils.js";
|
|
4
|
+
import { cn as o } from "../ui/lib/utils.js";
|
|
5
|
+
import { IconAlertTriangle as y, IconArrowUp as x, IconMinus as I, IconArrowDown as N } from "@tabler/icons-react";
|
|
6
|
+
import { Icon as n } from "../ui/icon.js";
|
|
7
|
+
import { m as f } from "../_chunks/framer.js";
|
|
8
|
+
const C = {
|
|
8
9
|
LOW: {
|
|
9
|
-
icon:
|
|
10
|
+
icon: N,
|
|
10
11
|
color: "text-category-slate-11",
|
|
11
12
|
bgColor: "bg-category-slate-3",
|
|
12
13
|
label: "Low"
|
|
13
14
|
},
|
|
14
15
|
MEDIUM: {
|
|
15
|
-
icon:
|
|
16
|
+
icon: I,
|
|
16
17
|
color: "text-warning-11",
|
|
17
18
|
bgColor: "bg-warning-3",
|
|
18
19
|
label: "Medium"
|
|
19
20
|
},
|
|
20
21
|
HIGH: {
|
|
21
|
-
icon:
|
|
22
|
+
icon: x,
|
|
22
23
|
color: "text-error-11",
|
|
23
24
|
bgColor: "bg-error-3",
|
|
24
25
|
label: "High"
|
|
25
26
|
},
|
|
26
27
|
URGENT: {
|
|
27
|
-
icon:
|
|
28
|
+
icon: y,
|
|
28
29
|
color: "text-error-11",
|
|
29
30
|
bgColor: "bg-error-3",
|
|
30
31
|
label: "Urgent"
|
|
31
32
|
}
|
|
32
|
-
}, h =
|
|
33
|
+
}, h = b(
|
|
33
34
|
"inline-flex items-center gap-ds-02b font-body",
|
|
34
35
|
{
|
|
35
36
|
variants: {
|
|
@@ -42,69 +43,69 @@ const N = {
|
|
|
42
43
|
display: "full"
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
|
-
),
|
|
46
|
-
({ priority:
|
|
47
|
-
const
|
|
46
|
+
), v = u.forwardRef(
|
|
47
|
+
({ priority: p, display: t, className: a, ...s }, c) => {
|
|
48
|
+
const l = p.toUpperCase(), e = C[l], i = e.icon, m = l === "URGENT";
|
|
48
49
|
if (t === "compact") {
|
|
49
|
-
const
|
|
50
|
+
const d = /* @__PURE__ */ r(
|
|
50
51
|
"div",
|
|
51
52
|
{
|
|
52
|
-
ref:
|
|
53
|
-
className:
|
|
53
|
+
ref: c,
|
|
54
|
+
className: o(
|
|
54
55
|
"inline-flex items-center justify-center rounded-ds-md p-ds-02",
|
|
55
56
|
e.bgColor,
|
|
56
|
-
|
|
57
|
+
a
|
|
57
58
|
),
|
|
58
59
|
title: e.label,
|
|
59
60
|
...s,
|
|
60
|
-
children: /* @__PURE__ */
|
|
61
|
+
children: /* @__PURE__ */ r(n, { icon: i, size: "sm", className: e.color })
|
|
61
62
|
}
|
|
62
63
|
);
|
|
63
|
-
return
|
|
64
|
-
|
|
64
|
+
return m ? /* @__PURE__ */ r(
|
|
65
|
+
f.div,
|
|
65
66
|
{
|
|
66
67
|
animate: { scale: [1, 1.1, 1] },
|
|
67
68
|
transition: { repeat: 1 / 0, duration: 2, ease: "easeInOut" },
|
|
68
69
|
className: "inline-flex",
|
|
69
|
-
children:
|
|
70
|
+
children: d
|
|
70
71
|
}
|
|
71
|
-
) :
|
|
72
|
+
) : d;
|
|
72
73
|
}
|
|
73
74
|
return /* @__PURE__ */ g(
|
|
74
75
|
"div",
|
|
75
76
|
{
|
|
76
|
-
ref:
|
|
77
|
-
className:
|
|
77
|
+
ref: c,
|
|
78
|
+
className: o(h({ display: t }), a),
|
|
78
79
|
...s,
|
|
79
80
|
children: [
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
m ? /* @__PURE__ */ r(
|
|
82
|
+
f.div,
|
|
82
83
|
{
|
|
83
84
|
animate: { scale: [1, 1.1, 1] },
|
|
84
85
|
transition: { repeat: 1 / 0, duration: 2, ease: "easeInOut" },
|
|
85
|
-
className:
|
|
86
|
+
className: o(
|
|
86
87
|
"inline-flex items-center justify-center rounded-ds-md p-ds-01",
|
|
87
88
|
e.bgColor
|
|
88
89
|
),
|
|
89
|
-
children: /* @__PURE__ */
|
|
90
|
+
children: /* @__PURE__ */ r(n, { icon: i, size: "sm", className: e.color })
|
|
90
91
|
}
|
|
91
|
-
) : /* @__PURE__ */
|
|
92
|
+
) : /* @__PURE__ */ r(
|
|
92
93
|
"div",
|
|
93
94
|
{
|
|
94
|
-
className:
|
|
95
|
+
className: o(
|
|
95
96
|
"inline-flex items-center justify-center rounded-ds-md p-ds-01",
|
|
96
97
|
e.bgColor
|
|
97
98
|
),
|
|
98
|
-
children: /* @__PURE__ */
|
|
99
|
+
children: /* @__PURE__ */ r(n, { icon: i, size: "sm", className: e.color })
|
|
99
100
|
}
|
|
100
101
|
),
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
+
/* @__PURE__ */ r("span", { className: "text-ds-sm text-surface-fg-muted", children: e.label })
|
|
102
103
|
]
|
|
103
104
|
}
|
|
104
105
|
);
|
|
105
106
|
}
|
|
106
107
|
);
|
|
107
|
-
|
|
108
|
+
v.displayName = "PriorityIndicator";
|
|
108
109
|
export {
|
|
109
|
-
|
|
110
|
+
v as PriorityIndicator
|
|
110
111
|
};
|
|
@@ -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;
|
|
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;AAyS9B,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9G,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;IAClB,sGAAsG;IACtG,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/C,oGAAoG;IACpG,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACnF,uCAAuC;IACvC,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,+DAA+D;IAC/D,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,EAAE,CAAC,CAAA;IAC3D,qEAAqE;IACrE,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;CAC9C;AAED,QAAA,MAAM,cAAc,4FAwOnB,CAAA;AAID,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;IACjG,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,cAAc,4FAiDnB,CAAA;AAID,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAA"}
|