@rafal.lemieszewski/tide-ui 0.87.6 → 0.87.8
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/cjs/components/fundamental/alert-dialog.cjs +1 -1
- package/dist/cjs/components/fundamental/alert.cjs +1 -1
- package/dist/cjs/components/fundamental/avatar.cjs +1 -1
- package/dist/cjs/components/fundamental/badge.cjs +1 -1
- package/dist/cjs/components/fundamental/breadcrumb.cjs +1 -1
- package/dist/cjs/components/fundamental/button-group.cjs +1 -1
- package/dist/cjs/components/fundamental/button.cjs +1 -1
- package/dist/cjs/components/fundamental/calendar.cjs +1 -1
- package/dist/cjs/components/fundamental/card.cjs +1 -1
- package/dist/cjs/components/fundamental/chart.cjs +1 -1
- package/dist/cjs/components/fundamental/checkbox.cjs +1 -1
- package/dist/cjs/components/fundamental/command.cjs +1 -1
- package/dist/cjs/components/fundamental/dialog.cjs +1 -1
- package/dist/cjs/components/fundamental/drawer.cjs +1 -1
- package/dist/cjs/components/fundamental/dropdown-menu.cjs +1 -1
- package/dist/cjs/components/fundamental/file-upload.cjs +1 -1
- package/dist/cjs/components/fundamental/hover-card.cjs +1 -1
- package/dist/cjs/components/fundamental/input-group.cjs +1 -1
- package/dist/cjs/components/fundamental/input.cjs +1 -1
- package/dist/cjs/components/fundamental/kbd.cjs +1 -1
- package/dist/cjs/components/fundamental/month-picker.cjs +1 -1
- package/dist/cjs/components/fundamental/popover.cjs +1 -1
- package/dist/cjs/components/fundamental/resizable.cjs +1 -1
- package/dist/cjs/components/fundamental/select.cjs +1 -1
- package/dist/cjs/components/fundamental/sheet.cjs +1 -1
- package/dist/cjs/components/fundamental/sidebar.cjs +1 -1
- package/dist/cjs/components/fundamental/skeleton.cjs +1 -1
- package/dist/cjs/components/fundamental/slider.cjs +1 -1
- package/dist/cjs/components/fundamental/spinner.cjs +1 -1
- package/dist/cjs/components/fundamental/switch.cjs +1 -1
- package/dist/cjs/components/fundamental/tabs.cjs +1 -1
- package/dist/cjs/components/fundamental/tag.cjs +3 -3
- package/dist/cjs/components/fundamental/textarea.cjs +1 -1
- package/dist/cjs/components/fundamental/toast.cjs +1 -1
- package/dist/cjs/components/fundamental/toggle.cjs +1 -1
- package/dist/cjs/components/fundamental/tooltip.cjs +1 -1
- package/dist/cjs/components/fundamental/tree.cjs +1 -1
- package/dist/cjs/components/product/activity-log.cjs +1 -1
- package/dist/cjs/components/product/app-frame.cjs +1 -1
- package/dist/cjs/components/product/attributes-list.cjs +1 -1
- package/dist/cjs/components/product/bookmarks.cjs +1 -1
- package/dist/cjs/components/product/data-table-settings-menu.cjs +1 -1
- package/dist/cjs/components/product/data-table.cjs +1 -1
- package/dist/cjs/components/product/filters.cjs +1 -1
- package/dist/cjs/components/product/linked-chart.cjs +1 -1
- package/dist/es/components/fundamental/alert-dialog.js +10 -10
- package/dist/es/components/fundamental/alert.js +1 -1
- package/dist/es/components/fundamental/avatar.js +23 -23
- package/dist/es/components/fundamental/badge.js +1 -1
- package/dist/es/components/fundamental/breadcrumb.js +23 -23
- package/dist/es/components/fundamental/button-group.js +14 -14
- package/dist/es/components/fundamental/button.js +28 -28
- package/dist/es/components/fundamental/calendar.js +20 -20
- package/dist/es/components/fundamental/card.js +26 -26
- package/dist/es/components/fundamental/chart.js +1 -1
- package/dist/es/components/fundamental/checkbox.js +3 -3
- package/dist/es/components/fundamental/command.js +36 -36
- package/dist/es/components/fundamental/dialog.js +7 -7
- package/dist/es/components/fundamental/drawer.js +1 -1
- package/dist/es/components/fundamental/dropdown-menu.js +111 -111
- package/dist/es/components/fundamental/file-upload.js +2 -2
- package/dist/es/components/fundamental/hover-card.js +6 -6
- package/dist/es/components/fundamental/input-group.js +2 -2
- package/dist/es/components/fundamental/input.js +1 -1
- package/dist/es/components/fundamental/kbd.js +5 -5
- package/dist/es/components/fundamental/month-picker.js +21 -21
- package/dist/es/components/fundamental/popover.js +7 -7
- package/dist/es/components/fundamental/resizable.js +1 -1
- package/dist/es/components/fundamental/select.js +21 -21
- package/dist/es/components/fundamental/sheet.js +40 -40
- package/dist/es/components/fundamental/sidebar.js +45 -45
- package/dist/es/components/fundamental/skeleton.js +19 -19
- package/dist/es/components/fundamental/slider.js +1 -1
- package/dist/es/components/fundamental/spinner.js +11 -11
- package/dist/es/components/fundamental/switch.js +7 -7
- package/dist/es/components/fundamental/tabs.js +30 -30
- package/dist/es/components/fundamental/tag.js +28 -28
- package/dist/es/components/fundamental/textarea.js +9 -9
- package/dist/es/components/fundamental/toast.js +11 -11
- package/dist/es/components/fundamental/toggle.js +7 -7
- package/dist/es/components/fundamental/tooltip.js +4 -4
- package/dist/es/components/fundamental/tree.js +17 -17
- package/dist/es/components/product/activity-log.js +41 -41
- package/dist/es/components/product/app-frame.js +181 -191
- package/dist/es/components/product/attributes-list.js +68 -68
- package/dist/es/components/product/bookmarks.js +148 -148
- package/dist/es/components/product/data-table-settings-menu.js +45 -45
- package/dist/es/components/product/data-table.js +375 -375
- package/dist/es/components/product/filters.js +5 -5
- package/dist/es/components/product/linked-chart.js +24 -24
- package/dist/es/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { cn as t } from "../../lib/utils.js";
|
|
4
|
+
const s = /* @__PURE__ */ d.forwardRef(({ className: r, ...a }, e) => /* @__PURE__ */ o(
|
|
5
5
|
"div",
|
|
6
6
|
{
|
|
7
7
|
ref: e,
|
|
8
|
-
className:
|
|
9
|
-
"bg-[var(--color-surface-primary)] border border-[var(--color-border-primary-subtle)] rounded-l text-[var(--color-text-primary)]",
|
|
10
|
-
|
|
8
|
+
className: t(
|
|
9
|
+
"bg-[var(--color-surface-primary)] border border-[var(--color-border-primary-subtle)] rounded-[var(--border-radius-l)] text-[var(--color-text-primary)]",
|
|
10
|
+
r
|
|
11
11
|
),
|
|
12
|
-
...
|
|
12
|
+
...a
|
|
13
13
|
}
|
|
14
14
|
));
|
|
15
15
|
s.displayName = "Card";
|
|
16
|
-
const c = /* @__PURE__ */
|
|
16
|
+
const c = /* @__PURE__ */ d.forwardRef(({ className: r, ...a }, e) => /* @__PURE__ */ o(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
19
19
|
ref: e,
|
|
20
|
-
className:
|
|
21
|
-
...
|
|
20
|
+
className: t("flex flex-col space-y-[var(--space-s)] p-[var(--space-l)]", r),
|
|
21
|
+
...a
|
|
22
22
|
}
|
|
23
23
|
));
|
|
24
24
|
c.displayName = "CardHeader";
|
|
25
|
-
const
|
|
25
|
+
const i = /* @__PURE__ */ d.forwardRef(({ className: r, ...a }, e) => /* @__PURE__ */ o(
|
|
26
26
|
"h3",
|
|
27
27
|
{
|
|
28
28
|
ref: e,
|
|
29
|
-
className:
|
|
30
|
-
...
|
|
29
|
+
className: t("text-heading-md leading-none tracking-tight", r),
|
|
30
|
+
...a
|
|
31
31
|
}
|
|
32
32
|
));
|
|
33
|
-
|
|
34
|
-
const
|
|
33
|
+
i.displayName = "CardTitle";
|
|
34
|
+
const l = /* @__PURE__ */ d.forwardRef(({ className: r, ...a }, e) => /* @__PURE__ */ o(
|
|
35
35
|
"p",
|
|
36
36
|
{
|
|
37
37
|
ref: e,
|
|
38
|
-
className:
|
|
39
|
-
...
|
|
38
|
+
className: t("text-body-sm text-[var(--color-text-secondary)]", r),
|
|
39
|
+
...a
|
|
40
40
|
}
|
|
41
41
|
));
|
|
42
|
-
|
|
43
|
-
const p = /* @__PURE__ */
|
|
42
|
+
l.displayName = "CardDescription";
|
|
43
|
+
const p = /* @__PURE__ */ d.forwardRef(({ className: r, ...a }, e) => /* @__PURE__ */ o(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
46
|
ref: e,
|
|
47
|
-
className:
|
|
48
|
-
...
|
|
47
|
+
className: t("p-[var(--space-l)] pt-0", r),
|
|
48
|
+
...a
|
|
49
49
|
}
|
|
50
50
|
));
|
|
51
51
|
p.displayName = "CardContent";
|
|
52
|
-
const m = /* @__PURE__ */
|
|
52
|
+
const m = /* @__PURE__ */ d.forwardRef(({ className: r, ...a }, e) => /* @__PURE__ */ o(
|
|
53
53
|
"div",
|
|
54
54
|
{
|
|
55
55
|
ref: e,
|
|
56
|
-
className:
|
|
57
|
-
...
|
|
56
|
+
className: t("flex items-center p-[var(--space-l)] pt-0", r),
|
|
57
|
+
...a
|
|
58
58
|
}
|
|
59
59
|
));
|
|
60
60
|
m.displayName = "CardFooter";
|
|
61
61
|
export {
|
|
62
62
|
s as Card,
|
|
63
63
|
p as CardContent,
|
|
64
|
-
|
|
64
|
+
l as CardDescription,
|
|
65
65
|
m as CardFooter,
|
|
66
66
|
c as CardHeader,
|
|
67
|
-
|
|
67
|
+
i as CardTitle
|
|
68
68
|
};
|
|
@@ -154,7 +154,7 @@ const G = (s, c = 0) => {
|
|
|
154
154
|
return /* @__PURE__ */ m(
|
|
155
155
|
"div",
|
|
156
156
|
{
|
|
157
|
-
className: `rounded-s border border-[var(--color-border-primary-medium)] bg-[var(--color-surface-primary)] p-[var(--space-m)] shadow-
|
|
157
|
+
className: `rounded-[var(--border-radius-s)] border border-[var(--color-border-primary-medium)] bg-[var(--color-surface-primary)] p-[var(--space-m)] shadow-[var(--shadow-300)] min-w-[120px] ${d} z-[9999]`,
|
|
158
158
|
role: "tooltip",
|
|
159
159
|
"aria-label": "Chart data tooltip",
|
|
160
160
|
children: [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
3
|
import * as r from "@radix-ui/react-checkbox";
|
|
4
|
-
import { Minus as
|
|
4
|
+
import { Minus as b, Check as n } from "lucide-react";
|
|
5
5
|
import { cva as t } from "class-variance-authority";
|
|
6
6
|
import { cn as o } from "../../lib/utils.js";
|
|
7
7
|
const l = t(
|
|
8
|
-
"peer w-[var(--size-2xs)] h-[var(--size-2xs)] shrink-0 rounded-s border-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring-color)] focus-visible:ring-offset-2 cursor-pointer hover:cursor-pointer [&:not(:disabled)]:cursor-pointer disabled:cursor-not-allowed disabled:opacity-100 box-border",
|
|
8
|
+
"peer w-[var(--size-2xs)] h-[var(--size-2xs)] shrink-0 rounded-[var(--border-radius-s)] border-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring-color)] focus-visible:ring-offset-2 cursor-pointer hover:cursor-pointer [&:not(:disabled)]:cursor-pointer disabled:cursor-not-allowed disabled:opacity-100 box-border",
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
@@ -41,7 +41,7 @@ const l = t(
|
|
|
41
41
|
ref: c,
|
|
42
42
|
className: o(l({ variant: i }), d),
|
|
43
43
|
...a,
|
|
44
|
-
children: /* @__PURE__ */ e(r.Indicator, { className: o(v()), children: a.checked === "indeterminate" ? /* @__PURE__ */ e(
|
|
44
|
+
children: /* @__PURE__ */ e(r.Indicator, { className: o(v()), children: a.checked === "indeterminate" ? /* @__PURE__ */ e(b, {}) : /* @__PURE__ */ e(n, {}) })
|
|
45
45
|
}
|
|
46
46
|
));
|
|
47
47
|
u.displayName = r.Root.displayName;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import * as m from "@radix-ui/react-dialog";
|
|
4
|
-
import { Command as
|
|
4
|
+
import { Command as r } from "cmdk";
|
|
5
5
|
import { cn as s } from "../../lib/utils.js";
|
|
6
|
-
import { Icon as
|
|
6
|
+
import { Icon as g } from "./icon.js";
|
|
7
7
|
import { Button as _ } from "./button.js";
|
|
8
8
|
import { X as h } from "lucide-react";
|
|
9
9
|
import { inputVariants as N } from "./input.js";
|
|
10
|
-
const c = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */
|
|
11
|
-
|
|
10
|
+
const c = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
11
|
+
r,
|
|
12
12
|
{
|
|
13
13
|
ref: t,
|
|
14
14
|
loop: !0,
|
|
15
15
|
className: s(
|
|
16
|
-
"flex h-full w-full flex-col overflow-hidden rounded-m bg-[var(--color-surface-primary)] text-[var(--color-text-primary)]",
|
|
16
|
+
"flex h-full w-full flex-col overflow-hidden rounded-[var(--border-radius-m)] bg-[var(--color-surface-primary)] text-[var(--color-text-primary)]",
|
|
17
17
|
e
|
|
18
18
|
),
|
|
19
19
|
...a
|
|
20
20
|
}
|
|
21
21
|
));
|
|
22
|
-
c.displayName =
|
|
23
|
-
const B = ({ children: e, commandProps: a, ...t }) => /* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
22
|
+
c.displayName = r.displayName;
|
|
23
|
+
const B = ({ children: e, commandProps: a, ...t }) => /* @__PURE__ */ o(m.Root, { ...t, children: /* @__PURE__ */ l(m.Portal, { children: [
|
|
24
|
+
/* @__PURE__ */ o(
|
|
25
25
|
m.Overlay,
|
|
26
26
|
{
|
|
27
27
|
className: s(
|
|
@@ -29,14 +29,14 @@ const B = ({ children: e, commandProps: a, ...t }) => /* @__PURE__ */ r(m.Root,
|
|
|
29
29
|
)
|
|
30
30
|
}
|
|
31
31
|
),
|
|
32
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ o(
|
|
33
33
|
m.Content,
|
|
34
34
|
{
|
|
35
35
|
className: s(
|
|
36
|
-
"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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] overflow-hidden rounded-l border border-[var(--color-border-primary-subtle)] bg-[var(--color-surface-primary)] p-0 shadow-
|
|
36
|
+
"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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] overflow-hidden rounded-[var(--border-radius-l)] border border-[var(--color-border-primary-subtle)] bg-[var(--color-surface-primary)] p-0 shadow-[var(--shadow-400)] duration-200 max-w-[450px]"
|
|
37
37
|
),
|
|
38
38
|
"aria-describedby": void 0,
|
|
39
|
-
children: /* @__PURE__ */
|
|
39
|
+
children: /* @__PURE__ */ o(
|
|
40
40
|
c,
|
|
41
41
|
{
|
|
42
42
|
className: "[&_[cmdk-group-heading]]:px-[var(--space-m)] [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-[var(--color-text-tertiary)] [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-4 [&_[cmdk-input-wrapper]_svg]:w-4 [&_[cmdk-item]]:px-[var(--space-m)] [&_[cmdk-item]]:min-h-[var(--size-m)] [&_[cmdk-item]]:py-[var(--space-s)] [&_[cmdk-item]_svg]:h-4 [&_[cmdk-item]_svg]:w-4",
|
|
@@ -47,10 +47,10 @@ const B = ({ children: e, commandProps: a, ...t }) => /* @__PURE__ */ r(m.Root,
|
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
49
|
] }) }), w = /* @__PURE__ */ d.forwardRef(({ className: e, size: a = "m", clearable: t = !0, onClear: u, value: i, ...x }, f) => {
|
|
50
|
-
const p = t && i && String(i).length > 0, v = a === "s" ? "s" : "m", y = a === "s" ? "pl-[30px]" : "pl-[34px]",
|
|
50
|
+
const p = t && i && String(i).length > 0, v = a === "s" ? "s" : "m", y = a === "s" ? "pl-[30px]" : "pl-[34px]", b = p ? "pr-[calc(var(--size-s)+var(--space-m)+var(--space-s))]" : "";
|
|
51
51
|
return /* @__PURE__ */ l("div", { className: "relative p-[var(--space-s)] border-b border-[var(--color-border-primary-subtle)]", "cmdk-input-wrapper": "", children: [
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
|
|
52
|
+
/* @__PURE__ */ o(
|
|
53
|
+
g,
|
|
54
54
|
{
|
|
55
55
|
name: "search",
|
|
56
56
|
size: v,
|
|
@@ -58,15 +58,15 @@ const B = ({ children: e, commandProps: a, ...t }) => /* @__PURE__ */ r(m.Root,
|
|
|
58
58
|
className: "absolute left-[18px] top-1/2 -translate-y-1/2 pointer-events-none"
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
61
|
+
/* @__PURE__ */ o(
|
|
62
|
+
r.Input,
|
|
63
63
|
{
|
|
64
64
|
ref: f,
|
|
65
65
|
value: i,
|
|
66
66
|
className: s(
|
|
67
67
|
N({ size: a, variant: "default" }),
|
|
68
68
|
y,
|
|
69
|
-
|
|
69
|
+
b,
|
|
70
70
|
// Force typography to override cmdk defaults
|
|
71
71
|
a === "s" && "[&]:text-body-sm",
|
|
72
72
|
a === "m" && "[&]:text-body-md",
|
|
@@ -82,7 +82,7 @@ const B = ({ children: e, commandProps: a, ...t }) => /* @__PURE__ */ r(m.Root,
|
|
|
82
82
|
...x
|
|
83
83
|
}
|
|
84
84
|
),
|
|
85
|
-
p && /* @__PURE__ */
|
|
85
|
+
p && /* @__PURE__ */ o(
|
|
86
86
|
_,
|
|
87
87
|
{
|
|
88
88
|
type: "button",
|
|
@@ -99,27 +99,27 @@ const B = ({ children: e, commandProps: a, ...t }) => /* @__PURE__ */ r(m.Root,
|
|
|
99
99
|
)
|
|
100
100
|
] });
|
|
101
101
|
});
|
|
102
|
-
w.displayName =
|
|
103
|
-
const k = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */
|
|
104
|
-
|
|
102
|
+
w.displayName = r.Input.displayName;
|
|
103
|
+
const k = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
104
|
+
r.List,
|
|
105
105
|
{
|
|
106
106
|
ref: t,
|
|
107
107
|
className: s("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
108
108
|
...a
|
|
109
109
|
}
|
|
110
110
|
));
|
|
111
|
-
k.displayName =
|
|
112
|
-
const C = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */
|
|
113
|
-
|
|
111
|
+
k.displayName = r.List.displayName;
|
|
112
|
+
const C = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
113
|
+
r.Empty,
|
|
114
114
|
{
|
|
115
115
|
ref: t,
|
|
116
116
|
className: s("py-6 text-center [&]:text-body-md text-[var(--color-text-secondary)]", e),
|
|
117
117
|
...a
|
|
118
118
|
}
|
|
119
119
|
));
|
|
120
|
-
C.displayName =
|
|
121
|
-
const R = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */
|
|
122
|
-
|
|
120
|
+
C.displayName = r.Empty.displayName;
|
|
121
|
+
const R = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
122
|
+
r.Group,
|
|
123
123
|
{
|
|
124
124
|
ref: t,
|
|
125
125
|
className: s(
|
|
@@ -129,28 +129,28 @@ const R = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE
|
|
|
129
129
|
...a
|
|
130
130
|
}
|
|
131
131
|
));
|
|
132
|
-
R.displayName =
|
|
133
|
-
const I = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */
|
|
134
|
-
|
|
132
|
+
R.displayName = r.Group.displayName;
|
|
133
|
+
const I = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
134
|
+
r.Separator,
|
|
135
135
|
{
|
|
136
136
|
ref: t,
|
|
137
137
|
className: s("-mx-1 h-px bg-[var(--color-border-primary-subtle)]", e),
|
|
138
138
|
...a
|
|
139
139
|
}
|
|
140
140
|
));
|
|
141
|
-
I.displayName =
|
|
142
|
-
const P = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */
|
|
143
|
-
|
|
141
|
+
I.displayName = r.Separator.displayName;
|
|
142
|
+
const P = /* @__PURE__ */ d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
143
|
+
r.Item,
|
|
144
144
|
{
|
|
145
145
|
ref: t,
|
|
146
146
|
className: s(
|
|
147
|
-
"[&]:text-body-md relative flex cursor-pointer select-none items-center rounded-m px-[var(--space-m)] min-h-[var(--size-m)] py-[var(--space-s)] outline-none transition-colors aria-selected:bg-[var(--color-background-neutral-subtlest-hovered)] aria-selected:text-[var(--color-text-primary)] data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
|
|
147
|
+
"[&]:text-body-md relative flex cursor-pointer select-none items-center rounded-[var(--border-radius-m)] px-[var(--space-m)] min-h-[var(--size-m)] py-[var(--space-s)] outline-none transition-colors aria-selected:bg-[var(--color-background-neutral-subtlest-hovered)] aria-selected:text-[var(--color-text-primary)] data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
|
|
148
148
|
e
|
|
149
149
|
),
|
|
150
150
|
...a
|
|
151
151
|
}
|
|
152
152
|
));
|
|
153
|
-
P.displayName =
|
|
153
|
+
P.displayName = r.Item.displayName;
|
|
154
154
|
export {
|
|
155
155
|
c as Command,
|
|
156
156
|
B as CommandDialog,
|
|
@@ -17,14 +17,14 @@ const C = o.Root, z = o.Trigger, f = o.Portal, R = o.Close, d = /* @__PURE__ */
|
|
|
17
17
|
}
|
|
18
18
|
));
|
|
19
19
|
d.displayName = o.Overlay.displayName;
|
|
20
|
-
const
|
|
20
|
+
const v = /* @__PURE__ */ i.forwardRef(({ className: a, children: e, ...s }, c) => /* @__PURE__ */ l(f, { children: [
|
|
21
21
|
/* @__PURE__ */ t(d, {}),
|
|
22
22
|
/* @__PURE__ */ l(
|
|
23
23
|
o.Content,
|
|
24
24
|
{
|
|
25
25
|
ref: c,
|
|
26
26
|
className: r(
|
|
27
|
-
"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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 flex flex-col w-[calc(100%-2rem)] max-w-lg max-h-[85vh] translate-x-[-50%] translate-y-[-50%] overflow-hidden rounded-l border border-[var(--color-border-primary-subtle)] bg-[var(--color-surface-primary)] shadow-
|
|
27
|
+
"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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 flex flex-col w-[calc(100%-2rem)] max-w-lg max-h-[85vh] translate-x-[-50%] translate-y-[-50%] overflow-hidden rounded-[var(--border-radius-l)] border border-[var(--color-border-primary-subtle)] bg-[var(--color-surface-primary)] shadow-[var(--shadow-500)] duration-200 sm:max-w-[425px]",
|
|
28
28
|
a
|
|
29
29
|
),
|
|
30
30
|
"aria-describedby": void 0,
|
|
@@ -47,8 +47,8 @@ const x = /* @__PURE__ */ i.forwardRef(({ className: a, children: e, ...s }, c)
|
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
49
|
] }));
|
|
50
|
-
|
|
51
|
-
const
|
|
50
|
+
v.displayName = o.Content.displayName;
|
|
51
|
+
const x = ({
|
|
52
52
|
className: a,
|
|
53
53
|
...e
|
|
54
54
|
}) => /* @__PURE__ */ t(
|
|
@@ -61,7 +61,7 @@ const v = ({
|
|
|
61
61
|
...e
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
|
-
|
|
64
|
+
x.displayName = "DialogHeader";
|
|
65
65
|
const y = ({
|
|
66
66
|
className: a,
|
|
67
67
|
...e
|
|
@@ -97,9 +97,9 @@ export {
|
|
|
97
97
|
C as Dialog,
|
|
98
98
|
y as DialogBody,
|
|
99
99
|
R as DialogClose,
|
|
100
|
-
|
|
100
|
+
v as DialogContent,
|
|
101
101
|
g as DialogFooter,
|
|
102
|
-
|
|
102
|
+
x as DialogHeader,
|
|
103
103
|
d as DialogOverlay,
|
|
104
104
|
f as DialogPortal,
|
|
105
105
|
b as DialogTitle,
|
|
@@ -26,7 +26,7 @@ const p = /* @__PURE__ */ l.forwardRef(({ className: r, children: e, ...t }, d)
|
|
|
26
26
|
{
|
|
27
27
|
ref: d,
|
|
28
28
|
className: s(
|
|
29
|
-
"fixed bottom-0 left-0 right-0 z-50 w-full max-w-none flex h-auto flex-col rounded-t-lg border-t border-[var(--color-border-primary-subtle)] bg-[var(--color-surface-primary)] shadow-
|
|
29
|
+
"fixed bottom-0 left-0 right-0 z-50 w-full max-w-none flex h-auto flex-col rounded-t-lg border-t border-[var(--color-border-primary-subtle)] bg-[var(--color-surface-primary)] shadow-[var(--shadow-500)]",
|
|
30
30
|
r
|
|
31
31
|
),
|
|
32
32
|
style: {
|