laif-ds 0.1.11 → 0.1.12
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/_virtual/index2.js +2 -5
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +5 -2
- package/dist/_virtual/index5.js +5 -2
- package/dist/_virtual/index6.js +2 -5
- package/dist/components/ui/accordion.js +16 -16
- package/dist/components/ui/alert-dialog.js +2 -2
- package/dist/components/ui/alert.js +5 -5
- package/dist/components/ui/async-select.js +39 -39
- package/dist/components/ui/audio-visualizer.js +7 -7
- package/dist/components/ui/avatar.js +3 -3
- package/dist/components/ui/badge.js +12 -12
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/button.js +31 -28
- package/dist/components/ui/calendar.js +23 -23
- package/dist/components/ui/card.js +6 -6
- package/dist/components/ui/chart.js +40 -40
- package/dist/components/ui/chat-message.js +59 -59
- package/dist/components/ui/checkbox.js +7 -7
- package/dist/components/ui/command.js +35 -35
- package/dist/components/ui/context-menu.js +16 -16
- package/dist/components/ui/data-table.js +2 -2
- package/dist/components/ui/date-picker.js +14 -14
- package/dist/components/ui/dialog.js +11 -11
- package/dist/components/ui/drawer.js +5 -5
- package/dist/components/ui/file-preview.js +14 -14
- package/dist/components/ui/form.js +18 -18
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +6 -6
- package/dist/components/ui/gantt/components/Chart/Chart.js +1 -1
- package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +9 -9
- package/dist/components/ui/hover-card.js +5 -5
- package/dist/components/ui/input-otp.js +5 -5
- package/dist/components/ui/input-selector.js +11 -11
- package/dist/components/ui/input.js +25 -25
- package/dist/components/ui/interrupt-prompt.js +1 -1
- package/dist/components/ui/markdown-renderer.js +19 -19
- package/dist/components/ui/menubar.js +16 -16
- package/dist/components/ui/message-input.js +29 -29
- package/dist/components/ui/multiple-selector.js +92 -92
- package/dist/components/ui/navigation-menu.js +13 -13
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/progress.js +4 -4
- package/dist/components/ui/prompt-suggestions.js +9 -9
- package/dist/components/ui/radio-group.js +5 -5
- package/dist/components/ui/resizable.js +2 -2
- package/dist/components/ui/scroll-area.js +7 -7
- package/dist/components/ui/select.js +10 -10
- package/dist/components/ui/separator.js +3 -3
- package/dist/components/ui/sheet.js +8 -8
- package/dist/components/ui/sidebar.js +134 -134
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/switch.js +5 -5
- package/dist/components/ui/table.js +3 -3
- package/dist/components/ui/tabs.js +2 -2
- package/dist/components/ui/textarea.js +7 -7
- package/dist/components/ui/toaster.js +12 -12
- package/dist/components/ui/toggle.js +2 -2
- package/dist/components/ui/tooltip.js +2 -2
- package/dist/components/ui/typing-indicator.js +8 -8
- package/dist/components/ui/typo.js +9 -9
- package/dist/dist/components/ui/checkbox.js +5 -5
- package/dist/dist/components/ui/scroll-area.js +2 -2
- package/dist/dist/components/ui/table.js +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.v3.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as t, jsx as l } from "react/jsx-runtime";
|
|
3
|
-
import { Root as s, Viewport as c, Corner as n, ScrollAreaScrollbar as i, ScrollAreaThumb as
|
|
3
|
+
import { Root as s, Viewport as c, Corner as n, ScrollAreaScrollbar as i, ScrollAreaThumb as d } from "../../node_modules/@radix-ui/react-scroll-area/dist/index.js";
|
|
4
4
|
import { cn as a } from "../../lib/utils.js";
|
|
5
5
|
function p({
|
|
6
6
|
className: o,
|
|
@@ -18,17 +18,17 @@ function p({
|
|
|
18
18
|
c,
|
|
19
19
|
{
|
|
20
20
|
"data-slot": "scroll-area-viewport",
|
|
21
|
-
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
21
|
+
className: "focus-visible:ring-d-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
22
22
|
children: r
|
|
23
23
|
}
|
|
24
24
|
),
|
|
25
|
-
/* @__PURE__ */ l(
|
|
25
|
+
/* @__PURE__ */ l(u, {}),
|
|
26
26
|
/* @__PURE__ */ l(n, {})
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function u({
|
|
32
32
|
className: o,
|
|
33
33
|
orientation: r = "vertical",
|
|
34
34
|
...e
|
|
@@ -46,10 +46,10 @@ function d({
|
|
|
46
46
|
),
|
|
47
47
|
...e,
|
|
48
48
|
children: /* @__PURE__ */ l(
|
|
49
|
-
|
|
49
|
+
d,
|
|
50
50
|
{
|
|
51
51
|
"data-slot": "scroll-area-thumb",
|
|
52
|
-
className: "bg-border relative flex-1 rounded-full"
|
|
52
|
+
className: "bg-d-border relative flex-1 rounded-full"
|
|
53
53
|
}
|
|
54
54
|
)
|
|
55
55
|
}
|
|
@@ -57,5 +57,5 @@ function d({
|
|
|
57
57
|
}
|
|
58
58
|
export {
|
|
59
59
|
p as ScrollArea,
|
|
60
|
-
|
|
60
|
+
u as ScrollBar
|
|
61
61
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import * as i from "react";
|
|
4
|
-
import { Root as
|
|
4
|
+
import { Root as p, Group as m, Value as f, Trigger as g, Icon as x, Portal as h, Content as v, Viewport as b, Label as z, Item as y, ItemIndicator as w, ItemText as S, Separator as N, ScrollUpButton as C, ScrollDownButton as _ } from "../../node_modules/@radix-ui/react-select/dist/index.js";
|
|
5
5
|
import { cn as o } from "../../lib/utils.js";
|
|
6
6
|
import { Label as I } from "./label.js";
|
|
7
7
|
import d from "../../node_modules/lucide-react/dist/esm/icons/chevron-down.js";
|
|
@@ -23,14 +23,14 @@ function q({
|
|
|
23
23
|
children: a
|
|
24
24
|
}
|
|
25
25
|
),
|
|
26
|
-
/* @__PURE__ */ e(c.Provider, { value: { size: t, id: n }, children: /* @__PURE__ */ e(
|
|
26
|
+
/* @__PURE__ */ e(c.Provider, { value: { size: t, id: n }, children: /* @__PURE__ */ e(p, { "data-slot": "select", ...r }) })
|
|
27
27
|
] });
|
|
28
28
|
}
|
|
29
29
|
const c = i.createContext({ size: "default" }), B = () => i.useContext(c);
|
|
30
30
|
function A({
|
|
31
31
|
...t
|
|
32
32
|
}) {
|
|
33
|
-
return /* @__PURE__ */ e(
|
|
33
|
+
return /* @__PURE__ */ e(m, { "data-slot": "select-group", ...t });
|
|
34
34
|
}
|
|
35
35
|
function E({
|
|
36
36
|
...t
|
|
@@ -51,7 +51,7 @@ function H({
|
|
|
51
51
|
"data-slot": "select-trigger",
|
|
52
52
|
"data-size": a || n,
|
|
53
53
|
className: o(
|
|
54
|
-
"border-input data-[placeholder]:text-
|
|
54
|
+
"border-d-input data-[placeholder]:text-d-secondary-foreground [&_svg:not([class*='text-'])]:text-d-secondary-foreground focus-visible:border-d-ring focus-visible:ring-d-ring/50 aria-invalid:ring-d-destructive/20 dark:aria-invalid:ring-d-destructive/40 aria-invalid:border-d-destructive dark:bg-d-input/30 dark:hover:bg-d-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=default]:py-1 data-[size=default]:text-sm data-[size=sm]:h-8 data-[size=sm]:py-1 data-[size=sm]:text-xs data-[size=lg]:h-10 data-[size=lg]:py-2 data-[size=lg]:text-lg *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
55
55
|
t
|
|
56
56
|
),
|
|
57
57
|
...r,
|
|
@@ -73,7 +73,7 @@ function J({
|
|
|
73
73
|
{
|
|
74
74
|
"data-slot": "select-content",
|
|
75
75
|
className: o(
|
|
76
|
-
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
|
|
76
|
+
"bg-d-popover text-d-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
|
|
77
77
|
s === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
78
78
|
t
|
|
79
79
|
),
|
|
@@ -104,7 +104,7 @@ function K({
|
|
|
104
104
|
z,
|
|
105
105
|
{
|
|
106
106
|
"data-slot": "select-label",
|
|
107
|
-
className: o("text-
|
|
107
|
+
className: o("text-d-secondary-foreground px-2 py-1.5 text-xs", t),
|
|
108
108
|
...a
|
|
109
109
|
}
|
|
110
110
|
);
|
|
@@ -115,16 +115,16 @@ function M({
|
|
|
115
115
|
...s
|
|
116
116
|
}) {
|
|
117
117
|
return /* @__PURE__ */ l(
|
|
118
|
-
|
|
118
|
+
y,
|
|
119
119
|
{
|
|
120
120
|
"data-slot": "select-item",
|
|
121
121
|
className: o(
|
|
122
|
-
"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-
|
|
122
|
+
"focus:bg-d-accent focus:text-d-accent-foreground [&_svg:not([class*='text-'])]:text-d-secondary-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
123
123
|
t
|
|
124
124
|
),
|
|
125
125
|
...s,
|
|
126
126
|
children: [
|
|
127
|
-
/* @__PURE__ */ e("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(
|
|
127
|
+
/* @__PURE__ */ e("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(j, { className: "size-4" }) }) }),
|
|
128
128
|
/* @__PURE__ */ e(S, { children: a })
|
|
129
129
|
]
|
|
130
130
|
}
|
|
@@ -138,7 +138,7 @@ function O({
|
|
|
138
138
|
N,
|
|
139
139
|
{
|
|
140
140
|
"data-slot": "select-separator",
|
|
141
|
-
className: o("bg-border pointer-events-none -mx-1 my-1 h-px", t),
|
|
141
|
+
className: o("bg-d-border pointer-events-none -mx-1 my-1 h-px", t),
|
|
142
142
|
...a
|
|
143
143
|
}
|
|
144
144
|
);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as i } from "react/jsx-runtime";
|
|
3
3
|
import { Root as n } from "../../node_modules/@radix-ui/react-separator/dist/index.js";
|
|
4
4
|
import { cn as e } from "../../lib/utils.js";
|
|
5
|
-
function
|
|
5
|
+
function m({
|
|
6
6
|
className: t,
|
|
7
7
|
orientation: o = "horizontal",
|
|
8
8
|
decorative: r = !0,
|
|
@@ -15,7 +15,7 @@ function s({
|
|
|
15
15
|
decorative: r,
|
|
16
16
|
orientation: o,
|
|
17
17
|
className: e(
|
|
18
|
-
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
18
|
+
"bg-d-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
19
19
|
t
|
|
20
20
|
),
|
|
21
21
|
...a
|
|
@@ -23,5 +23,5 @@ function s({
|
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
m as Separator
|
|
27
27
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
import { Root as i, Trigger as
|
|
3
|
+
import { Root as i, Trigger as d, Content as l, Close as c, Title as f, Description as u, Portal as m, Overlay as h } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
|
|
4
4
|
import { cn as a } from "../../lib/utils.js";
|
|
5
5
|
import p from "../../node_modules/lucide-react/dist/esm/icons/x.js";
|
|
6
6
|
function v({ ...t }) {
|
|
@@ -9,7 +9,7 @@ function v({ ...t }) {
|
|
|
9
9
|
function w({
|
|
10
10
|
...t
|
|
11
11
|
}) {
|
|
12
|
-
return /* @__PURE__ */ o(
|
|
12
|
+
return /* @__PURE__ */ o(d, { "data-slot": "sheet-trigger", ...t });
|
|
13
13
|
}
|
|
14
14
|
function g({
|
|
15
15
|
...t
|
|
@@ -41,11 +41,11 @@ function C({
|
|
|
41
41
|
return /* @__PURE__ */ n(g, { children: [
|
|
42
42
|
/* @__PURE__ */ o(x, {}),
|
|
43
43
|
/* @__PURE__ */ n(
|
|
44
|
-
|
|
44
|
+
l,
|
|
45
45
|
{
|
|
46
46
|
"data-slot": "sheet-content",
|
|
47
47
|
className: a(
|
|
48
|
-
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
48
|
+
"bg-d-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
49
49
|
s === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
50
50
|
s === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
51
51
|
s === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
|
|
@@ -55,7 +55,7 @@ function C({
|
|
|
55
55
|
...r,
|
|
56
56
|
children: [
|
|
57
57
|
e,
|
|
58
|
-
/* @__PURE__ */ n(c, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
58
|
+
/* @__PURE__ */ n(c, { className: "ring-offset-d-background focus:ring-d-ring data-[state=open]:bg-d-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
59
59
|
/* @__PURE__ */ o(p, { className: "size-4" }),
|
|
60
60
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
61
61
|
] })
|
|
@@ -89,7 +89,7 @@ function z({
|
|
|
89
89
|
...e
|
|
90
90
|
}) {
|
|
91
91
|
return /* @__PURE__ */ o(
|
|
92
|
-
|
|
92
|
+
f,
|
|
93
93
|
{
|
|
94
94
|
"data-slot": "sheet-title",
|
|
95
95
|
className: a("text-foreground font-semibold", t),
|
|
@@ -102,10 +102,10 @@ function j({
|
|
|
102
102
|
...e
|
|
103
103
|
}) {
|
|
104
104
|
return /* @__PURE__ */ o(
|
|
105
|
-
|
|
105
|
+
u,
|
|
106
106
|
{
|
|
107
107
|
"data-slot": "sheet-description",
|
|
108
|
-
className: a("text-
|
|
108
|
+
className: a("text-d-secondary-foreground text-sm", t),
|
|
109
109
|
...e
|
|
110
110
|
}
|
|
111
111
|
);
|