@ztwoint/z-ui 0.1.129 → 0.1.130
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/components/button/button.d.ts +1 -1
- package/dist/components/button/button.js +30 -12
- package/dist/components/column-reorder/column-reorder.js +14 -14
- package/dist/components/dropdown/z2-dropdown.js +3 -3
- package/dist/components/input/input.js +1 -1
- package/dist/components/number-badge/index.d.ts +2 -0
- package/dist/components/number-badge/number-badge.d.ts +10 -0
- package/dist/components/number-badge/number-badge.js +27 -0
- package/dist/components/primitives/table-card/table-card.js +1 -1
- package/dist/components/tab/tab.js +57 -27
- package/dist/components/table/components/cell/avatar-cell.js +1 -1
- package/dist/components/table/components/cell/description-cell.js +3 -3
- package/dist/components/table/components/cell/label-cell.js +9 -9
- package/dist/components/table/components/cell/link-cell.js +17 -17
- package/dist/components/table/components/cell/number-cell.js +17 -17
- package/dist/components/table/table.const.d.ts +1 -1
- package/dist/components/table/table.const.js +1 -1
- package/dist/components/table-filter/table-filter-button.js +46 -45
- package/dist/components/table-filter/table-filter-column-button.js +49 -49
- package/dist/css/config/colors/semantic/base.css +6 -6
- package/dist/css/config/config.css +2 -1
- package/dist/css/config/other-variables.css +1 -1
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/number-badge/index.d.ts +2 -0
- package/dist/types/components/number-badge/number-badge.d.ts +10 -0
- package/dist/types/components/table/table.const.d.ts +1 -1
- package/package.json +1 -1
- package/dist/css/config/colors/backgrounds.css +0 -32
- package/dist/css/config/colors/components/avatar.css +0 -53
- package/dist/css/config/colors/components/badge.css +0 -137
- package/dist/css/config/colors/components/checkbox.css +0 -7
- package/dist/css/config/colors/components/featured-icon.css +0 -80
- package/dist/css/config/colors/components/progress-bar.css +0 -7
- package/dist/css/config/colors/components/radio-button.css +0 -7
- package/dist/css/config/colors/components/scroll-overlay.css +0 -17
- package/dist/css/config/colors/components/tab.css +0 -59
- package/dist/css/config/colors/components/toggle-switch.css +0 -3
- package/dist/css/config/colors/components/toggle.css +0 -25
- package/dist/css/config/colors/icons.css +0 -81
- package/dist/css/config/colors/overlay.css +0 -3
- package/dist/css/config/colors/shape.css +0 -163
- package/dist/css/config/colors/stroke.css +0 -79
- package/dist/css/config/colors/surfaces.css +0 -199
- package/dist/css/config/colors/text.css +0 -160
- package/dist/css/config/config-deprecated.css +0 -39
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as b from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as p from "@radix-ui/react-popover";
|
|
4
4
|
import { Button as y } from "../button/button.js";
|
|
5
5
|
import { useTableFilterContext as q } from "./table-filter.context.js";
|
|
6
6
|
import E from "./filters/text.js";
|
|
@@ -11,33 +11,34 @@ import Q from "../assets/icons/circle-check-filled.js";
|
|
|
11
11
|
import { SelectedFiltersDisplay as W } from "./selected-filters-display/selected-filters-display.js";
|
|
12
12
|
import { FilterConfirmationDialog as X } from "./close-filter-confirm/filter-confirmation-dialog.js";
|
|
13
13
|
import { hasUnsavedFilterChanges as S } from "./close-filter-confirm/filter-confirmation-dialog.utils.js";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
import { NumberBadge as Y } from "../number-badge/number-badge.js";
|
|
15
|
+
const de = () => {
|
|
16
|
+
var w, A;
|
|
17
|
+
const [K, c] = b.useState(!1), n = b.useRef(null), [C, d] = b.useState(!1), {
|
|
17
18
|
selectedColumn: a,
|
|
18
19
|
setSelectedColumn: O,
|
|
19
20
|
getFilterForColumn: P,
|
|
20
21
|
hasFilterForColumn: T,
|
|
21
22
|
updateColumnFilter: D,
|
|
22
23
|
clearAllFilters: R,
|
|
23
|
-
resetToAppliedFilters:
|
|
24
|
-
applyFilters:
|
|
25
|
-
hasActiveFilters:
|
|
24
|
+
resetToAppliedFilters: B,
|
|
25
|
+
applyFilters: $,
|
|
26
|
+
hasActiveFilters: f,
|
|
26
27
|
tempFilters: u,
|
|
27
|
-
filterSchema:
|
|
28
|
-
filter:
|
|
28
|
+
filterSchema: m,
|
|
29
|
+
filter: h,
|
|
29
30
|
filterComponents: x = {}
|
|
30
|
-
} = q(),
|
|
31
|
-
!e && C ? S(u,
|
|
31
|
+
} = q(), z = (e) => {
|
|
32
|
+
!e && C ? S(u, h.value) ? c(!0) : d(!1) : d(e);
|
|
32
33
|
}, N = () => {
|
|
33
|
-
|
|
34
|
+
$(), c(!1), d(!1);
|
|
34
35
|
}, L = () => {
|
|
35
|
-
|
|
36
|
+
B(), c(!1), d(!1);
|
|
36
37
|
}, I = () => {
|
|
37
|
-
|
|
38
|
-
}, F = S(u,
|
|
38
|
+
c(!1);
|
|
39
|
+
}, F = S(u, h.value), r = P(a || ""), V = () => {
|
|
39
40
|
if (!a) return null;
|
|
40
|
-
const e =
|
|
41
|
+
const e = m.find((o) => o.filterKey === a), s = {
|
|
41
42
|
boolean: G,
|
|
42
43
|
string: E,
|
|
43
44
|
number: J,
|
|
@@ -48,8 +49,8 @@ const ie = () => {
|
|
|
48
49
|
`No filter component found for column "${e == null ? void 0 : e.filterKey}" with type "${e == null ? void 0 : e.type}". Provide a custom filter component or use supported types: "string", "number", "boolean", "checkbox".`
|
|
49
50
|
), null;
|
|
50
51
|
const U = {
|
|
51
|
-
condition: (
|
|
52
|
-
value: (
|
|
52
|
+
condition: (r == null ? void 0 : r.condition) || "",
|
|
53
|
+
value: (r == null ? void 0 : r.value) || ""
|
|
53
54
|
};
|
|
54
55
|
return /* @__PURE__ */ t("div", { className: "flex-1 h-full", children: /* @__PURE__ */ t("div", { className: "mb-4 h-full", children: /* @__PURE__ */ t(
|
|
55
56
|
j,
|
|
@@ -64,50 +65,50 @@ const ie = () => {
|
|
|
64
65
|
},
|
|
65
66
|
a
|
|
66
67
|
) }) });
|
|
67
|
-
}, H =
|
|
68
|
-
|
|
69
|
-
const g =
|
|
68
|
+
}, H = h.loading || !1;
|
|
69
|
+
r && (Array.isArray(r.value) && r.value.length > 0 || (r == null ? void 0 : r.value) !== "") && (n.current = r);
|
|
70
|
+
const g = m.find(
|
|
70
71
|
(e) => {
|
|
71
72
|
var s;
|
|
72
73
|
return e.filterKey == ((s = n.current) == null ? void 0 : s.field);
|
|
73
74
|
}
|
|
74
|
-
),
|
|
75
|
+
), k = Array.isArray((w = n.current) == null ? void 0 : w.value) ? (A = n.current) == null ? void 0 : A.value.map(
|
|
75
76
|
(e) => {
|
|
76
77
|
var s;
|
|
77
78
|
return ((s = g == null ? void 0 : g.options) == null ? void 0 : s[e]) || 1;
|
|
78
79
|
}
|
|
79
|
-
) : [],
|
|
80
|
-
return /* @__PURE__ */
|
|
81
|
-
/* @__PURE__ */ t(
|
|
80
|
+
) : [], i = k.reduce((e, s) => e + s, 0);
|
|
81
|
+
return /* @__PURE__ */ l(p.Root, { open: C, onOpenChange: z, children: [
|
|
82
|
+
/* @__PURE__ */ t(p.Trigger, { asChild: !0, children: /* @__PURE__ */ l(
|
|
82
83
|
y,
|
|
83
84
|
{
|
|
84
|
-
variant:
|
|
85
|
-
shade:
|
|
85
|
+
variant: f ? "colored-stroke" : "stroke",
|
|
86
|
+
shade: f ? "brand" : "neutral",
|
|
86
87
|
size: "small",
|
|
87
88
|
children: [
|
|
88
89
|
"Filters ",
|
|
89
|
-
|
|
90
|
+
f && /* @__PURE__ */ t(Y, { number: i, textColor: "brand" })
|
|
90
91
|
]
|
|
91
92
|
}
|
|
92
93
|
) }),
|
|
93
|
-
/* @__PURE__ */ t(
|
|
94
|
-
|
|
94
|
+
/* @__PURE__ */ t(p.Portal, { children: /* @__PURE__ */ l(
|
|
95
|
+
p.Content,
|
|
95
96
|
{
|
|
96
97
|
className: "w-[512px] bg-surface-neutral-default border border-stroke-solid-light rounded-2xl overflow-hidden shadow-lg",
|
|
97
98
|
sideOffset: 8,
|
|
98
99
|
align: "start",
|
|
99
100
|
children: [
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */
|
|
101
|
+
/* @__PURE__ */ l("div", { className: "flex h-[422px]", style: { maxHeight: "calc(100vh - 8rem)" }, children: [
|
|
102
|
+
/* @__PURE__ */ l("div", { className: "w-48 border-r border-stroke-solid-light p-2 flex flex-col gap-1.5 overflow-y-auto", children: [
|
|
102
103
|
/* @__PURE__ */ t("div", { className: "p-2 pb-1", children: /* @__PURE__ */ t("h3", { className: "leading-none-medium-sm text-text-neutral-secondary", children: "Filters" }) }),
|
|
103
|
-
|
|
104
|
+
m.map((e) => /* @__PURE__ */ l(
|
|
104
105
|
"button",
|
|
105
106
|
{
|
|
106
107
|
onClick: () => O(e.filterKey),
|
|
107
108
|
className: `w-full text-left p-2 text-sm flex items-center justify-between hover:bg-surface-neutral-hover transition-colors rounded-lg ${a === e.filterKey ? "bg-surface-neutral-focused text-text-brand-primary" : "text-text-neutral-primary"}`,
|
|
108
109
|
children: [
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
-
e.helperText && /* @__PURE__ */
|
|
110
|
+
/* @__PURE__ */ l("span", { className: "flex items-center gap-1", children: [
|
|
111
|
+
e.helperText && /* @__PURE__ */ l("span", { className: "leading-normal-regular-xs text-neutral-muted", children: [
|
|
111
112
|
e.helperText,
|
|
112
113
|
": "
|
|
113
114
|
] }),
|
|
@@ -119,24 +120,24 @@ const ie = () => {
|
|
|
119
120
|
e.filterKey
|
|
120
121
|
))
|
|
121
122
|
] }),
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
+
/* @__PURE__ */ l("div", { className: "flex-1 flex flex-col relative", children: [
|
|
123
124
|
a ? V() : /* @__PURE__ */ t("div", { className: "flex-1 flex items-center justify-center text-text-neutral-muted", children: "Select a column to configure its filter" }),
|
|
124
|
-
H && /* @__PURE__ */ t("div", { className: "flex items-center justify-center p-8 absolute top-0 left-0 right-0 bottom-0 bg-background-neutral-default/80", children: /* @__PURE__ */
|
|
125
|
+
H && /* @__PURE__ */ t("div", { className: "flex items-center justify-center p-8 absolute top-0 left-0 right-0 bottom-0 bg-background-neutral-default/80", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-3", children: [
|
|
125
126
|
/* @__PURE__ */ t("div", { className: "w-8 h-8 border-2 border-stroke-solid-medium border-t-transparent rounded-full animate-spin" }),
|
|
126
127
|
/* @__PURE__ */ t("span", { className: "text-text-body-primary text-sm", children: "Loading options..." })
|
|
127
128
|
] }) })
|
|
128
129
|
] })
|
|
129
130
|
] }),
|
|
130
|
-
(!!
|
|
131
|
-
|
|
131
|
+
(!!i || F) && /* @__PURE__ */ l("div", { className: "flex justify-between items-end p-4 border-t border-stroke-solid-medium min-h-[73px]", children: [
|
|
132
|
+
k.length > 0 ? /* @__PURE__ */ t(
|
|
132
133
|
W,
|
|
133
134
|
{
|
|
134
135
|
tempFilters: u,
|
|
135
|
-
filterSchema:
|
|
136
|
-
totalCount:
|
|
136
|
+
filterSchema: m,
|
|
137
|
+
totalCount: i
|
|
137
138
|
}
|
|
138
139
|
) : /* @__PURE__ */ t("div", { className: "w-full" }),
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ l("div", { className: "flex justify-end gap-2", children: [
|
|
140
141
|
/* @__PURE__ */ t(
|
|
141
142
|
y,
|
|
142
143
|
{
|
|
@@ -158,7 +159,7 @@ const ie = () => {
|
|
|
158
159
|
size: "small",
|
|
159
160
|
className: "min-w-20",
|
|
160
161
|
disabled: !F,
|
|
161
|
-
children: `Apply ${
|
|
162
|
+
children: `Apply ${i ? i.toLocaleString() : ""}`
|
|
162
163
|
}
|
|
163
164
|
)
|
|
164
165
|
] })
|
|
@@ -177,5 +178,5 @@ const ie = () => {
|
|
|
177
178
|
] });
|
|
178
179
|
};
|
|
179
180
|
export {
|
|
180
|
-
|
|
181
|
+
de as TableFilterButton
|
|
181
182
|
};
|
|
@@ -1,113 +1,113 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import k, { useMemo as K } from "react";
|
|
3
3
|
import * as d from "@radix-ui/react-popover";
|
|
4
|
-
import { Button as
|
|
4
|
+
import { Button as f } from "../button/button.js";
|
|
5
5
|
import { useTableFilterContext as L } from "./table-filter.context.js";
|
|
6
6
|
import _ from "./filters/text.js";
|
|
7
7
|
import M from "./filters/boolean.js";
|
|
8
8
|
import U from "./filters/number/number.js";
|
|
9
9
|
import q from "./filters/checkbox.js";
|
|
10
|
-
import E from "
|
|
11
|
-
import {
|
|
12
|
-
import { FilterConfirmationDialog as H } from "./close-filter-confirm/filter-confirmation-dialog.js";
|
|
10
|
+
import { getFilterCount as E } from "./selected-filters-display/selected-filters-display.utils.js";
|
|
11
|
+
import { FilterConfirmationDialog as G } from "./close-filter-confirm/filter-confirmation-dialog.js";
|
|
13
12
|
import { hasUnsavedFilterChangesForColumn as A } from "./close-filter-confirm/filter-confirmation-dialog.utils.js";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
import { NumberBadge as H } from "../number-badge/number-badge.js";
|
|
14
|
+
const le = ({ filterName: n }) => {
|
|
15
|
+
const [T, a] = k.useState(!1), [C, s] = k.useState(!1), {
|
|
16
|
+
getFilterForColumn: g,
|
|
17
17
|
hasAppliedFilterForColumn: O,
|
|
18
|
-
updateColumnFilter:
|
|
18
|
+
updateColumnFilter: b,
|
|
19
19
|
applyFilters: c,
|
|
20
20
|
resetToAppliedFilters: P,
|
|
21
21
|
filterSchema: j,
|
|
22
22
|
filterComponents: m = {},
|
|
23
23
|
tempFilters: v,
|
|
24
24
|
filter: p
|
|
25
|
-
} = L(), N = (
|
|
26
|
-
!
|
|
25
|
+
} = L(), N = (t) => {
|
|
26
|
+
!t && C ? A(n, v, p.value) ? a(!0) : s(!1) : s(t);
|
|
27
27
|
}, $ = () => {
|
|
28
28
|
c(), a(!1), s(!1);
|
|
29
|
-
},
|
|
29
|
+
}, B = () => {
|
|
30
30
|
P(), a(!1), s(!1);
|
|
31
|
-
},
|
|
31
|
+
}, D = () => {
|
|
32
32
|
a(!1);
|
|
33
|
-
}, x = A(n, v, p.value),
|
|
34
|
-
() =>
|
|
35
|
-
[n,
|
|
33
|
+
}, x = A(n, v, p.value), o = j.find((t) => t.filterKey === n), r = K(
|
|
34
|
+
() => g(n),
|
|
35
|
+
[n, g]
|
|
36
36
|
);
|
|
37
|
-
if (!
|
|
37
|
+
if (!o)
|
|
38
38
|
return console.warn(`Column "${n}" not found in schema`), null;
|
|
39
|
-
const
|
|
39
|
+
const R = {
|
|
40
40
|
boolean: M,
|
|
41
41
|
string: _,
|
|
42
42
|
number: U,
|
|
43
43
|
checkbox: q
|
|
44
|
-
},
|
|
45
|
-
label:
|
|
46
|
-
value:
|
|
44
|
+
}, F = o.type && (m == null ? void 0 : m[o.type]) || R[o.type ?? "string"], u = O(n), y = p.loading || !1, w = o.options ? Object.entries(o.options).map(([t, i]) => ({
|
|
45
|
+
label: t,
|
|
46
|
+
value: t,
|
|
47
47
|
total: i
|
|
48
|
-
})) : void 0,
|
|
49
|
-
const
|
|
50
|
-
c(
|
|
48
|
+
})) : void 0, h = r ? E(r, w) : void 0, S = r != null && r.value ? Array.isArray(r.value) ? r.value.length : 1 : 0, z = () => {
|
|
49
|
+
const t = b(n, "", "");
|
|
50
|
+
c(t), s(!1);
|
|
51
51
|
}, I = () => {
|
|
52
52
|
c(), s(!1);
|
|
53
53
|
};
|
|
54
|
-
return
|
|
54
|
+
return F ? /* @__PURE__ */ l(d.Root, { open: C, onOpenChange: N, children: [
|
|
55
55
|
/* @__PURE__ */ e(d.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
56
|
-
|
|
56
|
+
f,
|
|
57
57
|
{
|
|
58
|
-
variant:
|
|
59
|
-
shade:
|
|
58
|
+
variant: u ? "colored-stroke" : "stroke",
|
|
59
|
+
shade: u ? "brand" : "neutral",
|
|
60
60
|
size: "small",
|
|
61
|
-
children: /* @__PURE__ */
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
children: /* @__PURE__ */ l("span", { className: "flex items-center gap-2", children: [
|
|
62
|
+
/* @__PURE__ */ l("span", { className: "flex items-center gap-1", children: [
|
|
63
|
+
o.helperText && /* @__PURE__ */ l("span", { className: "leading-normal-regular-xs text-neutral-muted", children: [
|
|
64
|
+
o.helperText,
|
|
65
65
|
": "
|
|
66
66
|
] }),
|
|
67
|
-
|
|
67
|
+
o.title
|
|
68
68
|
] }),
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
u && /* @__PURE__ */ e(H, { number: h || 0, textColor: "brand" }),
|
|
70
|
+
y && /* @__PURE__ */ e("div", { className: "w-4 h-4 border-2 border-text-brand-secondary rounded-full animate-spin flex-shrink-0" })
|
|
71
71
|
] })
|
|
72
72
|
}
|
|
73
73
|
) }),
|
|
74
|
-
/* @__PURE__ */ e(d.Portal, { children: /* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ e(d.Portal, { children: /* @__PURE__ */ l(
|
|
75
75
|
d.Content,
|
|
76
76
|
{
|
|
77
77
|
className: "w-80 bg-surface-neutral-default border border-stroke-solid-light rounded-2xl overflow-hidden shadow-lg",
|
|
78
78
|
sideOffset: 8,
|
|
79
79
|
align: "start",
|
|
80
80
|
children: [
|
|
81
|
-
|
|
81
|
+
y ? /* @__PURE__ */ e("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-3", children: [
|
|
82
82
|
/* @__PURE__ */ e("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-text-brand-secondary" }),
|
|
83
83
|
/* @__PURE__ */ e("span", { className: "text-text-neutral-muted text-sm", children: "Loading options..." })
|
|
84
84
|
] }) }) : /* @__PURE__ */ e(
|
|
85
|
-
|
|
85
|
+
F,
|
|
86
86
|
{
|
|
87
|
-
value:
|
|
88
|
-
onChange: ({ condition:
|
|
89
|
-
filterOptions:
|
|
87
|
+
value: r,
|
|
88
|
+
onChange: ({ condition: t, value: i }) => b(n, t, i),
|
|
89
|
+
filterOptions: w
|
|
90
90
|
}
|
|
91
91
|
),
|
|
92
|
-
(x || !!
|
|
93
|
-
/* @__PURE__ */ e(
|
|
94
|
-
x && /* @__PURE__ */ e(
|
|
92
|
+
(x || !!S) && /* @__PURE__ */ l("div", { className: "flex justify-between gap-2 p-3 border-t border-stroke-solid-medium", children: [
|
|
93
|
+
/* @__PURE__ */ e(f, { onClick: z, variant: "stroke", shade: "neutral", size: "small", children: "Clear All" }),
|
|
94
|
+
x && /* @__PURE__ */ e(f, { onClick: I, variant: "filled", shade: "neutral", size: "small", children: `Apply${h !== void 0 ? ` ${h}` : ""}` })
|
|
95
95
|
] })
|
|
96
96
|
]
|
|
97
97
|
}
|
|
98
98
|
) }),
|
|
99
99
|
T && /* @__PURE__ */ e(
|
|
100
|
-
|
|
100
|
+
G,
|
|
101
101
|
{
|
|
102
|
-
onClose:
|
|
103
|
-
onRevertChanges:
|
|
102
|
+
onClose: D,
|
|
103
|
+
onRevertChanges: B,
|
|
104
104
|
onApplyChanges: $
|
|
105
105
|
}
|
|
106
106
|
)
|
|
107
107
|
] }) : (console.warn(
|
|
108
|
-
`No filter component found for column "${
|
|
108
|
+
`No filter component found for column "${o.filterKey}" with type "${o.type}". Provide a custom filter component or use supported types: "string", "number", "boolean", "checkbox".`
|
|
109
109
|
), null);
|
|
110
110
|
};
|
|
111
111
|
export {
|
|
112
|
-
|
|
112
|
+
le as TableFilterColumnButton
|
|
113
113
|
};
|
|
@@ -127,11 +127,11 @@
|
|
|
127
127
|
--alpha-two-900: rgba(255, 255, 255, 0.9);
|
|
128
128
|
|
|
129
129
|
--shadow-custom:
|
|
130
|
-
0px 2px 4px 0px var(--color-alpha-one-50), 0px 0px 0px
|
|
130
|
+
0px 2px 4px 0px var(--color-alpha-one-50), 0px 0px 0px 1px var(--color-neutral-150);
|
|
131
131
|
--shadow-default:
|
|
132
|
-
0px 1px 2px 0px var(--color-alpha-one-50), 0px 0px 0px
|
|
132
|
+
0px 1px 2px 0px var(--color-alpha-one-50), 0px 0px 0px 1px var(--color-neutral-150);
|
|
133
133
|
|
|
134
|
-
--shadow-button-disabled: 0px 0px 0px
|
|
134
|
+
--shadow-button-disabled: 0px 0px 0px 1px var(--neutral-100), 0px 1px 2px 0px transparent;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.dark {
|
|
@@ -259,11 +259,11 @@
|
|
|
259
259
|
--alpha-two-900: rgba(0, 0, 0, 0.9);
|
|
260
260
|
|
|
261
261
|
--shadow-custom:
|
|
262
|
-
0px 2px 4px 0px var(--color-alpha-one-50), 0px 0px 0px
|
|
262
|
+
0px 2px 4px 0px var(--color-alpha-one-50), 0px 0px 0px 1px var(--color-neutral-150);
|
|
263
263
|
--shadow-default:
|
|
264
|
-
0px 1px 2px 0px var(--color-alpha-one-50), 0px 0px 0px
|
|
264
|
+
0px 1px 2px 0px var(--color-alpha-one-50), 0px 0px 0px 1px var(--color-neutral-150);
|
|
265
265
|
|
|
266
|
-
--shadow-button-disabled: 0px 0px 0px
|
|
266
|
+
--shadow-button-disabled: 0px 0px 0px 1px var(--neutral-100), 0px 1px 2px 0px transparent;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/* Tailwind v4 Theme Integration */
|
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
font-family: inherit;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
/*@import './config-deprecated.css';*/
|
|
25
25
|
/* @import './colors/defaults.css'; */
|
|
26
|
+
|
|
26
27
|
@import './colors/semantic/index.css';
|
|
27
28
|
@import './typography/index.css';
|
|
28
29
|
@import './shadows.css';
|