@cascivo/react 0.16.1 → 0.17.1
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/README.md +14 -13
- package/dist/accordion/accordion.js +5 -4
- package/dist/app-shell/app-shell.css +1 -1
- package/dist/app-shell/app-shell.js +28 -26
- package/dist/app-shell/app-shell.module.js +8 -8
- package/dist/breadcrumb/breadcrumb.js +1 -1
- package/dist/button/button.css +1 -1
- package/dist/button/button.js +4 -1
- package/dist/button/button.module.js +4 -1
- package/dist/calendar/calendar.js +67 -63
- package/dist/card/card.css +1 -1
- package/dist/card/card.module.js +8 -8
- package/dist/checkbox/checkbox.css +1 -1
- package/dist/checkbox/checkbox.module.js +4 -4
- package/dist/code-snippet/code-snippet.js +31 -26
- package/dist/combobox/combobox.js +55 -54
- package/dist/data-table/data-table.css +1 -1
- package/dist/data-table/data-table.js +155 -160
- package/dist/data-table/data-table.module.js +29 -29
- package/dist/date-picker/date-picker.js +90 -89
- package/dist/dock/dock.js +1 -1
- package/dist/field/field.css +1 -1
- package/dist/field/field.module.js +3 -3
- package/dist/index.d.ts +157 -10
- package/dist/large-title-header/large-title-header.js +1 -1
- package/dist/layouts/src/grid/grid.css +1 -1
- package/dist/layouts/src/grid/grid.module.js +3 -3
- package/dist/node/accordion/accordion.js +5 -4
- package/dist/node/app-shell/app-shell.js +28 -26
- package/dist/node/app-shell/app-shell.module.js +8 -8
- package/dist/node/breadcrumb/breadcrumb.js +1 -1
- package/dist/node/button/button.js +4 -1
- package/dist/node/button/button.module.js +4 -1
- package/dist/node/calendar/calendar.js +67 -63
- package/dist/node/card/card.module.js +8 -8
- package/dist/node/checkbox/checkbox.module.js +4 -4
- package/dist/node/code-snippet/code-snippet.js +31 -26
- package/dist/node/combobox/combobox.js +55 -54
- package/dist/node/data-table/data-table.js +155 -160
- package/dist/node/data-table/data-table.module.js +29 -29
- package/dist/node/date-picker/date-picker.js +90 -89
- package/dist/node/dock/dock.js +1 -1
- package/dist/node/field/field.module.js +3 -3
- package/dist/node/large-title-header/large-title-header.js +1 -1
- package/dist/node/layouts/src/grid/grid.module.js +3 -3
- package/dist/node/search/search.js +5 -4
- package/dist/node/side-nav/side-nav.js +90 -89
- package/dist/node/swap/swap.js +4 -3
- package/dist/node/switcher/switcher.js +1 -1
- package/dist/node/tabs/tabs.js +5 -4
- package/dist/node/toc/toc.js +5 -4
- package/dist/search/search.js +5 -4
- package/dist/side-nav/side-nav.js +90 -89
- package/dist/styles.css +7 -7
- package/dist/swap/swap.js +4 -3
- package/dist/switcher/switcher.js +1 -1
- package/dist/tabs/tabs.js +5 -4
- package/dist/toc/toc.js +5 -4
- package/dist/types.d.ts +21 -0
- package/dist/types.js +1 -0
- package/package.json +11 -4
- package/readme.body.md +14 -13
|
@@ -6,7 +6,10 @@ import { cn as n, useClipboard as r, useSignals as i } from "@cascivo/core";
|
|
|
6
6
|
import { builtin as a, t as o } from "@cascivo/i18n";
|
|
7
7
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
//#region ../components/src/code-snippet/code-snippet.tsx
|
|
9
|
-
function l(
|
|
9
|
+
function l() {
|
|
10
|
+
return globalThis.process?.env?.NODE_ENV !== "production";
|
|
11
|
+
}
|
|
12
|
+
function u({ code: n, language: r }) {
|
|
10
13
|
return /* @__PURE__ */ s("code", {
|
|
11
14
|
className: t.code,
|
|
12
15
|
children: e(n, r).map((e, t) => e.type === "text" ? /* @__PURE__ */ s("span", { children: e.value }, t) : /* @__PURE__ */ s("span", {
|
|
@@ -15,15 +18,17 @@ function l({ code: n, language: r }) {
|
|
|
15
18
|
}, t))
|
|
16
19
|
});
|
|
17
20
|
}
|
|
18
|
-
function
|
|
21
|
+
function d({ code: e, children: d, variant: f = "single", language: p, terminal: m = !1, title: h, showLineNumbers: g, showCopyButton: _, labels: v, className: y }) {
|
|
19
22
|
i();
|
|
20
|
-
let
|
|
23
|
+
let b = e ?? d ?? "";
|
|
24
|
+
l() && e === void 0 && d === void 0 && console.error("CodeSnippet: pass the code either as the `code` prop or as a plain-string child. Rendering nothing.");
|
|
25
|
+
let { copied: x, copy: S } = r(), C = v?.copy ?? o(a.codeSnippet.copy), w = v?.copied ?? o(a.codeSnippet.copied), T = _ ?? f !== "inline" ? /* @__PURE__ */ s("button", {
|
|
21
26
|
type: "button",
|
|
22
|
-
"aria-label":
|
|
23
|
-
"data-state":
|
|
27
|
+
"aria-label": x.value ? w : C,
|
|
28
|
+
"data-state": x.value ? "copied" : "idle",
|
|
24
29
|
className: t.copy,
|
|
25
|
-
onClick: () => void
|
|
26
|
-
children:
|
|
30
|
+
onClick: () => void S(b),
|
|
31
|
+
children: x.value ? /* @__PURE__ */ s("svg", {
|
|
27
32
|
"aria-hidden": "true",
|
|
28
33
|
viewBox: "0 0 16 16",
|
|
29
34
|
className: t.icon,
|
|
@@ -56,21 +61,21 @@ function u({ code: e, variant: u = "single", language: d, terminal: f = !1, titl
|
|
|
56
61
|
})]
|
|
57
62
|
})
|
|
58
63
|
}) : null;
|
|
59
|
-
if (
|
|
60
|
-
className: n(t.root,
|
|
64
|
+
if (f === "inline") return /* @__PURE__ */ c("span", {
|
|
65
|
+
className: n(t.root, y),
|
|
61
66
|
"data-variant": "inline",
|
|
62
67
|
children: [/* @__PURE__ */ s("code", {
|
|
63
68
|
className: t.inlineCode,
|
|
64
|
-
children:
|
|
65
|
-
}),
|
|
69
|
+
children: b
|
|
70
|
+
}), T]
|
|
66
71
|
});
|
|
67
|
-
let
|
|
72
|
+
let E = b.split("\n"), D = f === "multi" && g && !p;
|
|
68
73
|
return /* @__PURE__ */ c("div", {
|
|
69
|
-
className: n(t.root,
|
|
70
|
-
"data-variant":
|
|
71
|
-
"data-terminal":
|
|
74
|
+
className: n(t.root, y),
|
|
75
|
+
"data-variant": f,
|
|
76
|
+
"data-terminal": m ? "" : void 0,
|
|
72
77
|
children: [
|
|
73
|
-
|
|
78
|
+
m && /* @__PURE__ */ c("div", {
|
|
74
79
|
className: t.bar,
|
|
75
80
|
"aria-hidden": "true",
|
|
76
81
|
children: [/* @__PURE__ */ c("span", {
|
|
@@ -80,16 +85,16 @@ function u({ code: e, variant: u = "single", language: d, terminal: f = !1, titl
|
|
|
80
85
|
/* @__PURE__ */ s("span", { className: t.dot }),
|
|
81
86
|
/* @__PURE__ */ s("span", { className: t.dot })
|
|
82
87
|
]
|
|
83
|
-
}),
|
|
88
|
+
}), h && /* @__PURE__ */ s("span", {
|
|
84
89
|
className: t.title,
|
|
85
|
-
children:
|
|
90
|
+
children: h
|
|
86
91
|
})]
|
|
87
92
|
}),
|
|
88
93
|
/* @__PURE__ */ s("pre", {
|
|
89
94
|
className: t.pre,
|
|
90
|
-
children:
|
|
95
|
+
children: D ? /* @__PURE__ */ s("code", {
|
|
91
96
|
className: t.code,
|
|
92
|
-
children:
|
|
97
|
+
children: E.map((e, n) => /* @__PURE__ */ c("span", {
|
|
93
98
|
className: t.line,
|
|
94
99
|
children: [/* @__PURE__ */ s("span", {
|
|
95
100
|
"aria-hidden": "true",
|
|
@@ -100,17 +105,17 @@ function u({ code: e, variant: u = "single", language: d, terminal: f = !1, titl
|
|
|
100
105
|
children: e
|
|
101
106
|
})]
|
|
102
107
|
}, n))
|
|
103
|
-
}) :
|
|
104
|
-
code:
|
|
105
|
-
language:
|
|
108
|
+
}) : p ? /* @__PURE__ */ s(u, {
|
|
109
|
+
code: b,
|
|
110
|
+
language: p
|
|
106
111
|
}) : /* @__PURE__ */ s("code", {
|
|
107
112
|
className: t.code,
|
|
108
|
-
children:
|
|
113
|
+
children: b
|
|
109
114
|
})
|
|
110
115
|
}),
|
|
111
|
-
|
|
116
|
+
T
|
|
112
117
|
]
|
|
113
118
|
});
|
|
114
119
|
}
|
|
115
120
|
//#endregion
|
|
116
|
-
export {
|
|
121
|
+
export { d as CodeSnippet };
|
|
@@ -2,45 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
import e from "./combobox.module.js";
|
|
4
4
|
import { useId as t, useRef as n } from "react";
|
|
5
|
-
import { cn as r, createMachine as i, focusElement as a,
|
|
6
|
-
import { builtin as
|
|
7
|
-
import { jsx as
|
|
5
|
+
import { cn as r, createMachine as i, focusElement as a, useControllableSignal as o, useMachine as s, useSignal as c, useSignalEffect as l, useSignals as u } from "@cascivo/core";
|
|
6
|
+
import { builtin as d, t as f } from "@cascivo/i18n";
|
|
7
|
+
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
8
8
|
//#region ../components/src/combobox/combobox.tsx
|
|
9
|
-
var
|
|
9
|
+
var h = i({
|
|
10
10
|
initial: "closed",
|
|
11
11
|
states: {
|
|
12
12
|
closed: { on: { OPEN: "open" } },
|
|
13
13
|
open: { on: { CLOSE: "closed" } }
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
let [
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
c(() =>
|
|
16
|
+
function g({ options: i, value: g, defaultValue: _, onValueChange: v, onChange: y, clearable: b = !1, searchable: x = !0, label: S, hint: C, error: w, size: T = "md", disabled: E = !1, labels: D, className: O, id: k }) {
|
|
17
|
+
u();
|
|
18
|
+
let [A, j] = s(h), M = t(), N = k ?? `cascade-combobox-${M}`, P = `${M}-listbox`, F = n(null), ee = D?.placeholder ?? f(d.combobox.placeholder), I = D?.empty ?? f(d.combobox.empty), L = D?.clear ?? f(d.combobox.clear), R = D?.search ?? f(d.combobox.search), [z] = o({
|
|
19
|
+
value: g,
|
|
20
|
+
defaultValue: _
|
|
21
|
+
}), B = c(""), V = c(0), H = A.value === "open", U = i.filter((e) => !x || !B.value ? !0 : e.label.toLowerCase().includes(B.value.toLowerCase())), W = i.find((e) => e.value === z.value);
|
|
22
|
+
l(() => {
|
|
22
23
|
if (!H) return;
|
|
23
24
|
let e = (e) => {
|
|
24
|
-
let t = document.getElementById(`${
|
|
25
|
-
t && !t.contains(e.target) &&
|
|
25
|
+
let t = document.getElementById(`${M}-root`);
|
|
26
|
+
t && !t.contains(e.target) && j("CLOSE");
|
|
26
27
|
};
|
|
27
28
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
28
29
|
});
|
|
29
30
|
let G = () => {
|
|
30
|
-
|
|
31
|
+
E || (B.value = "", V.value = 0, j("OPEN"), setTimeout(() => a(F.current), 0));
|
|
31
32
|
}, K = () => {
|
|
32
|
-
|
|
33
|
-
}, q =
|
|
34
|
-
|
|
33
|
+
j("CLOSE"), B.value = "";
|
|
34
|
+
}, q = v ?? y, J = (e) => {
|
|
35
|
+
g === void 0 && (z.value = e), q?.(e), K();
|
|
35
36
|
}, Y = () => {
|
|
36
|
-
|
|
37
|
+
g === void 0 && (z.value = void 0), q?.(void 0);
|
|
37
38
|
}, X = U.flatMap((e, t) => e.disabled ? [] : [t]), Z = (e) => {
|
|
38
39
|
if (X.length === 0) return;
|
|
39
40
|
let t = X[(X.indexOf(V.value) + e + X.length) % X.length];
|
|
40
41
|
t !== void 0 && (V.value = t);
|
|
41
42
|
}, Q = (e) => {
|
|
42
43
|
(e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), G());
|
|
43
|
-
},
|
|
44
|
+
}, te = (e) => {
|
|
44
45
|
switch (e.key) {
|
|
45
46
|
case "ArrowDown":
|
|
46
47
|
e.preventDefault(), Z(1);
|
|
@@ -61,42 +62,42 @@ function h({ options: i, value: h, defaultValue: g, onValueChange: _, onChange:
|
|
|
61
62
|
K();
|
|
62
63
|
break;
|
|
63
64
|
}
|
|
64
|
-
}, $ = (e) => `${
|
|
65
|
-
return /* @__PURE__ */
|
|
66
|
-
id: `${
|
|
67
|
-
className: r(e.wrapper,
|
|
68
|
-
"data-state":
|
|
69
|
-
"data-size":
|
|
65
|
+
}, $ = (e) => `${M}-option-${e}`;
|
|
66
|
+
return /* @__PURE__ */ m("div", {
|
|
67
|
+
id: `${M}-root`,
|
|
68
|
+
className: r(e.wrapper, O),
|
|
69
|
+
"data-state": w ? "error" : A.value,
|
|
70
|
+
"data-size": T,
|
|
70
71
|
children: [
|
|
71
|
-
|
|
72
|
+
S && /* @__PURE__ */ p("label", {
|
|
72
73
|
className: e.label,
|
|
73
|
-
htmlFor:
|
|
74
|
-
children:
|
|
74
|
+
htmlFor: N,
|
|
75
|
+
children: S
|
|
75
76
|
}),
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
+
/* @__PURE__ */ m("div", {
|
|
77
78
|
className: e.field,
|
|
78
|
-
children: [/* @__PURE__ */
|
|
79
|
-
id:
|
|
79
|
+
children: [/* @__PURE__ */ m("button", {
|
|
80
|
+
id: N,
|
|
80
81
|
type: "button",
|
|
81
82
|
role: "combobox",
|
|
82
83
|
"aria-expanded": H,
|
|
83
|
-
"aria-controls":
|
|
84
|
+
"aria-controls": P,
|
|
84
85
|
"aria-haspopup": "listbox",
|
|
85
86
|
"aria-activedescendant": H && V.value >= 0 ? $(V.value) : void 0,
|
|
86
|
-
"aria-invalid":
|
|
87
|
-
"aria-describedby":
|
|
87
|
+
"aria-invalid": w ? !0 : void 0,
|
|
88
|
+
"aria-describedby": w ? `${M}-error` : C ? `${M}-hint` : void 0,
|
|
88
89
|
className: e.trigger,
|
|
89
|
-
disabled:
|
|
90
|
+
disabled: E,
|
|
90
91
|
onKeyDown: Q,
|
|
91
92
|
onClick: H ? K : G,
|
|
92
|
-
children: [/* @__PURE__ */
|
|
93
|
+
children: [/* @__PURE__ */ p("span", {
|
|
93
94
|
className: r(e.value, W ? void 0 : e.placeholder),
|
|
94
|
-
children: W?.label ??
|
|
95
|
-
}), /* @__PURE__ */
|
|
95
|
+
children: W?.label ?? ee
|
|
96
|
+
}), /* @__PURE__ */ p("span", {
|
|
96
97
|
className: e.chevron,
|
|
97
98
|
"aria-hidden": "true"
|
|
98
99
|
})]
|
|
99
|
-
}),
|
|
100
|
+
}), b && z.value !== void 0 && /* @__PURE__ */ p("button", {
|
|
100
101
|
type: "button",
|
|
101
102
|
className: e.clear,
|
|
102
103
|
"aria-label": L,
|
|
@@ -106,30 +107,30 @@ function h({ options: i, value: h, defaultValue: g, onValueChange: _, onChange:
|
|
|
106
107
|
children: "✕"
|
|
107
108
|
})]
|
|
108
109
|
}),
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
+
/* @__PURE__ */ m("div", {
|
|
110
111
|
role: "listbox",
|
|
111
|
-
id:
|
|
112
|
+
id: P,
|
|
112
113
|
className: e.listbox,
|
|
113
114
|
"data-state": H ? "open" : "closed",
|
|
114
|
-
"aria-label":
|
|
115
|
-
children: [
|
|
115
|
+
"aria-label": S,
|
|
116
|
+
children: [x && H && /* @__PURE__ */ p("div", {
|
|
116
117
|
className: e.searchWrapper,
|
|
117
|
-
children: /* @__PURE__ */
|
|
118
|
-
ref:
|
|
118
|
+
children: /* @__PURE__ */ p("input", {
|
|
119
|
+
ref: F,
|
|
119
120
|
type: "text",
|
|
120
121
|
className: e.search,
|
|
121
122
|
value: B.value,
|
|
122
123
|
onChange: (e) => {
|
|
123
124
|
B.value = e.target.value, V.value = 0;
|
|
124
125
|
},
|
|
125
|
-
onKeyDown:
|
|
126
|
+
onKeyDown: te,
|
|
126
127
|
"aria-label": R,
|
|
127
128
|
autoComplete: "off"
|
|
128
129
|
})
|
|
129
|
-
}), U.length === 0 ? /* @__PURE__ */
|
|
130
|
+
}), U.length === 0 ? /* @__PURE__ */ p("div", {
|
|
130
131
|
className: e.empty,
|
|
131
132
|
children: I
|
|
132
|
-
}) : U.map((t, n) => /* @__PURE__ */
|
|
133
|
+
}) : U.map((t, n) => /* @__PURE__ */ p("div", {
|
|
133
134
|
id: $(n),
|
|
134
135
|
role: "option",
|
|
135
136
|
"aria-selected": t.value === z.value,
|
|
@@ -146,19 +147,19 @@ function h({ options: i, value: h, defaultValue: g, onValueChange: _, onChange:
|
|
|
146
147
|
children: t.label
|
|
147
148
|
}, t.value))]
|
|
148
149
|
}),
|
|
149
|
-
|
|
150
|
-
id: `${
|
|
150
|
+
w && /* @__PURE__ */ p("span", {
|
|
151
|
+
id: `${M}-error`,
|
|
151
152
|
className: e.error,
|
|
152
153
|
role: "alert",
|
|
153
|
-
children:
|
|
154
|
+
children: w
|
|
154
155
|
}),
|
|
155
|
-
!
|
|
156
|
-
id: `${
|
|
156
|
+
!w && C && /* @__PURE__ */ p("span", {
|
|
157
|
+
id: `${M}-hint`,
|
|
157
158
|
className: e.hint,
|
|
158
|
-
children:
|
|
159
|
+
children: C
|
|
159
160
|
})
|
|
160
161
|
]
|
|
161
162
|
});
|
|
162
163
|
}
|
|
163
164
|
//#endregion
|
|
164
|
-
export {
|
|
165
|
+
export { g as Combobox };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer cascivo.component{.
|
|
1
|
+
@layer cascivo.component{._root_bwapn_2{--_row-height:3rem;font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);color:var(--cascivo-color-text);border:1px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-surface);background-color:var(--cascivo-color-surface);flex-direction:column;display:flex;overflow:hidden}._root_bwapn_2[data-density=compact]{--_row-height:2.25rem}._root_bwapn_2[data-density=normal]{--_row-height:3rem}._root_bwapn_2[data-density=relaxed]{--_row-height:3.75rem}._toolbar_bwapn_26{justify-content:space-between;align-items:flex-end;gap:var(--cascivo-space-4);padding:var(--cascivo-space-3) var(--cascivo-space-4);border-block-end:1px solid var(--cascivo-color-border);display:flex}._heading_bwapn_35{gap:var(--cascivo-space-1);flex-direction:column;display:flex}._title_bwapn_41{font-size:var(--cascivo-text-base);font-weight:var(--cascivo-font-semibold);color:var(--cascivo-color-text)}._description_bwapn_47{font-size:var(--cascivo-text-sm);color:var(--cascivo-color-text-subtle)}._search_bwapn_52{appearance:none;height:2rem;min-inline-size:14rem;padding-inline:var(--cascivo-space-3);font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);color:var(--cascivo-color-text);background-color:var(--cascivo-color-surface);border:1px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-field);transition:border-color var(--cascivo-duration-150) var(--cascivo-ease-out), box-shadow var(--cascivo-duration-150) var(--cascivo-ease-out);outline:none}._search_bwapn_52:hover:not(:focus){border-color:var(--cascivo-color-border-strong)}._search_bwapn_52:focus-visible{border-color:var(--cascivo-color-accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--cascivo-color-accent) 20%, transparent)}._batchBar_bwapn_79{justify-content:space-between;align-items:center;gap:var(--cascivo-space-4);padding:var(--cascivo-space-2) var(--cascivo-space-4);background-color:var(--cascivo-color-bg-subtle);border-block-end:1px solid var(--cascivo-color-border);display:flex}._batchCount_bwapn_89{font-size:var(--cascivo-text-sm);font-weight:var(--cascivo-font-medium);color:var(--cascivo-color-text)}._batchActions_bwapn_95{gap:var(--cascivo-space-2);display:flex}._scroller_bwapn_101{max-block-size:var(--cascivo-data-table-max-height,none);scrollbar-gutter:stable;overflow:auto}._scrollerVirtualized_bwapn_111{block-size:var(--cascivo-data-table-height,400px);max-block-size:none;overflow:auto}._table_bwapn_117{border-collapse:collapse;table-layout:auto;inline-size:100%}._root_bwapn_2[data-paginated=true][data-fixed-layout=true] ._table_bwapn_117{table-layout:fixed}._table_bwapn_117 thead th{padding-block:var(--cascivo-space-2);padding-inline:var(--cascivo-data-table-cell-gap,var(--cascivo-space-4));text-align:start;font-weight:var(--cascivo-font-semibold);font-size:var(--cascivo-text-xs);text-transform:uppercase;letter-spacing:var(--cascivo-tracking-wide);color:var(--cascivo-color-text-subtle);background-color:var(--cascivo-color-bg-subtle);border-block-end:1px solid var(--cascivo-color-border);white-space:nowrap}._table_bwapn_117 thead th[data-align=end]{text-align:end}._table_bwapn_117 td{padding-block:0;padding-inline:var(--cascivo-data-table-cell-gap,var(--cascivo-space-4));block-size:var(--_row-height);vertical-align:middle;border-block-end:1px solid var(--cascivo-color-border);color:var(--cascivo-color-text)}._table_bwapn_117 td[data-sized],._table_bwapn_117 th[data-sized]{overflow-wrap:break-word;min-inline-size:min-content}._table_bwapn_117 td[data-align=end]{text-align:end}._table_bwapn_117 tbody tr[data-filler-row] td{border-block-end:none}._root_bwapn_2[data-sticky-header=true] ._table_bwapn_117 thead th{z-index:var(--cascivo-z-raised,10);background-color:var(--cascivo-color-surface);position:sticky;inset-block-start:0}._root_bwapn_2[data-zebra=true] ._table_bwapn_117 tbody tr:nth-child(2n of ._row_bwapn_199){background-color:var(--cascivo-table-zebra-bg,color-mix(in oklab, var(--cascivo-color-text) 5%, transparent))}._controlCol_bwapn_219{inline-size:3rem}._controlCell_bwapn_223{text-align:center;padding-inline:var(--cascivo-space-2)}._sortButton_bwapn_229{align-items:center;gap:var(--cascivo-space-1);font-family:inherit;font-size:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit;cursor:pointer;background:0 0;border:none;outline:none;padding:0;display:inline-flex}._sortButton_bwapn_229:focus-visible{text-decoration:underline}._sortButton_bwapn_229:after{content:"↕";opacity:.4;font-size:.75em}._sortButton_bwapn_229[data-state=ascending]:after{content:"↑";opacity:.9}._sortButton_bwapn_229[data-state=descending]:after{content:"↓";opacity:.9}._row_bwapn_199{content-visibility:auto;contain-intrinsic-size:auto var(--_row-height,3rem)}._row_bwapn_199[data-state=selected] td{background-color:color-mix(in srgb, var(--cascivo-color-accent) 8%, transparent)}._emptyCell_bwapn_277{padding:var(--cascivo-space-8) var(--cascivo-space-4);text-align:center;color:var(--cascivo-color-text-muted)}._expansionRow_bwapn_284[data-state=closed]{display:none}._expansionGrid_bwapn_290{overflow:hidden}._expansionInner_bwapn_294{padding:var(--cascivo-space-4)}._expandButton_bwapn_299{cursor:pointer;block-size:1.5rem;inline-size:1.5rem;color:var(--cascivo-color-text-muted);border-radius:var(--cascivo-radius-control);background:0 0;border:none;outline:none;justify-content:center;align-items:center;display:inline-flex}._expandButton_bwapn_299:focus-visible{box-shadow:0 0 0 2px var(--cascivo-color-accent)}._expandButton_bwapn_299:hover{color:var(--cascivo-color-text);background-color:var(--cascivo-color-bg-subtle)}._chevron_bwapn_322{block-size:.75rem;inline-size:.75rem;transition:transform var(--cascivo-duration-150) var(--cascivo-ease-out);border-block-end:2px solid;border-inline-end:2px solid;display:block;transform:rotate(45deg)}._expandButton_bwapn_299[data-state=open] ._chevron_bwapn_322{transform:rotate(-135deg)}._shimmer_bwapn_337{background-color:var(--cascivo-color-bg-subtle);border-radius:var(--cascivo-radius-indicator);block-size:.875rem;inline-size:80%;display:block;position:relative;overflow:hidden}._shimmer_bwapn_337:after{content:"";background:linear-gradient(90deg, transparent, var(--cascivo-color-surface), transparent);animation:_shimmer_bwapn_337 var(--cascivo-duration-500,.5s) var(--cascivo-ease-in-out,ease-in-out) infinite;position:absolute;inset:0;translate:-100%}@keyframes _shimmer_bwapn_337{to{translate:100%}}._footer_bwapn_364{justify-content:flex-end;align-items:center;gap:var(--cascivo-space-4);padding:var(--cascivo-space-3) var(--cascivo-space-4);border-block-start:1px solid var(--cascivo-color-border);font-size:var(--cascivo-text-sm);display:flex}._pageSize_bwapn_374{align-items:center;gap:var(--cascivo-space-2);color:var(--cascivo-color-text-muted);display:flex}._pageSize_bwapn_374 select{appearance:none;height:2rem;padding-inline:var(--cascivo-space-2);font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);color:var(--cascivo-color-text);background-color:var(--cascivo-color-surface);border:1px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-field);cursor:pointer;outline:none}._pageSize_bwapn_374 select:focus-visible{border-color:var(--cascivo-color-accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--cascivo-color-accent) 20%, transparent)}._range_bwapn_400{color:var(--cascivo-color-text-muted);white-space:nowrap}._pageButtons_bwapn_405{gap:var(--cascivo-space-1);display:flex}._pageButton_bwapn_405{border:1px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-control);cursor:pointer;block-size:2rem;inline-size:2rem;color:var(--cascivo-color-text);font-size:var(--cascivo-text-base);transition:background-color var(--cascivo-duration-150) var(--cascivo-ease-out), border-color var(--cascivo-duration-150) var(--cascivo-ease-out);background:0 0;outline:none;justify-content:center;align-items:center;display:inline-flex}._pageButton_bwapn_405:hover:not(:disabled){background-color:var(--cascivo-color-bg-subtle);border-color:var(--cascivo-color-border-strong)}._pageButton_bwapn_405:focus-visible{border-color:var(--cascivo-color-accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--cascivo-color-accent) 20%, transparent)}._pageButton_bwapn_405:disabled{color:var(--cascivo-color-text-muted);cursor:not-allowed}._srOnly_bwapn_446{clip-path:inset(50%);white-space:nowrap;block-size:1px;inline-size:1px;position:absolute;overflow:hidden}}
|