@noxickon/onyx 2.0.2 → 2.0.4
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/{ui-r6Gr0ncw.js → ui-C-FlF6Nz.js} +12 -15
- package/dist/chunks/{ui-C-EYXbtM.js → ui-DtOB5MIE.js} +2 -2
- package/dist/contexts/contexts.cjs.js +1 -1
- package/dist/contexts/contexts.es.js +1 -1
- package/dist/layouts/layouts.cjs.js +1 -1
- package/dist/layouts/layouts.es.js +1 -1
- package/dist/onyx.cjs.js +1 -1
- package/dist/onyx.es.js +1 -1
- package/dist/pages/pages.cjs.js +1 -1
- package/dist/pages/pages.es.js +1 -1
- package/dist/routes/routes.cjs.js +1 -1
- package/dist/routes/routes.es.js +1 -1
- package/dist/shared.css +0 -7
- package/dist/ui.css +1 -1
- package/dist/utils/utils.cjs.js +1 -1
- package/dist/utils/utils.es.js +1 -1
- package/package.json +7 -7
|
@@ -3528,7 +3528,7 @@ const Pr = {
|
|
|
3528
3528
|
...o
|
|
3529
3529
|
} = t, e[0] = t, e[1] = n, e[2] = r, e[3] = o) : (n = e[1], r = e[2], o = e[3]);
|
|
3530
3530
|
let s;
|
|
3531
|
-
e[4] !== r ? (s = I("grid grid-cols-[auto_1fr]
|
|
3531
|
+
e[4] !== r ? (s = I("grid grid-cols-[auto_1fr] items-center gap-x-3", "*:data-[ox-slot=avatar]:col-start-1 *:data-[ox-slot=avatar]:row-span-12", "*:data-[ox-slot=heading]:col-start-2", "*:data-[ox-slot=description]:col-start-2", r), e[4] = r, e[5] = s) : s = e[5];
|
|
3532
3532
|
let a;
|
|
3533
3533
|
return e[6] !== n || e[7] !== o || e[8] !== s ? (a = /* @__PURE__ */ v("div", { className: s, ...o, children: n }), e[6] = n, e[7] = o, e[8] = s, e[9] = a) : a = e[9], a;
|
|
3534
3534
|
}, Xn = vl;
|
|
@@ -10945,23 +10945,20 @@ const pu = (t) => {
|
|
|
10945
10945
|
}, bu = I(
|
|
10946
10946
|
"grid grid-cols-[auto_1fr] items-center gap-x-3 gap-y-1",
|
|
10947
10947
|
// Checkbox
|
|
10948
|
-
'input[data-ox-slot="checkbox"]:
|
|
10949
|
-
'input[data-ox-slot="checkbox"]:
|
|
10948
|
+
'input[data-ox-slot="checkbox"]:col-start-1',
|
|
10949
|
+
'input[data-ox-slot="checkbox"]:row-start-1',
|
|
10950
10950
|
// Radio
|
|
10951
|
-
'input[data-ox-slot="radio"]:
|
|
10952
|
-
'input[data-ox-slot="radio"]:
|
|
10951
|
+
'input[data-ox-slot="radio"]:col-start-1',
|
|
10952
|
+
'input[data-ox-slot="radio"]:row-start-1',
|
|
10953
10953
|
// Switch
|
|
10954
|
-
'button[data-ox-slot="switch"]:
|
|
10955
|
-
'button[data-ox-slot="switch"]:
|
|
10954
|
+
'button[data-ox-slot="switch"]:col-start-1',
|
|
10955
|
+
'button[data-ox-slot="switch"]:row-start-1',
|
|
10956
10956
|
// Label
|
|
10957
|
-
"*:data-[ox-slot=label]:
|
|
10958
|
-
"*:data-[ox-slot=label]:[grid-row-start:1]",
|
|
10957
|
+
"*:data-[ox-slot=label]:col-start-2",
|
|
10959
10958
|
// Description
|
|
10960
|
-
"*:data-[ox-slot=description]:
|
|
10961
|
-
"*:data-[ox-slot=description]:[grid-row-start:2]",
|
|
10959
|
+
"*:data-[ox-slot=description]:col-start-2",
|
|
10962
10960
|
// Error
|
|
10963
|
-
"*:data-[ox-slot=error]:
|
|
10964
|
-
"*:data-[ox-slot=error]:[grid-row-start:3]"
|
|
10961
|
+
"*:data-[ox-slot=error]:col-start-2"
|
|
10965
10962
|
), xu = (t) => {
|
|
10966
10963
|
const e = V.c(13);
|
|
10967
10964
|
let n, r, o, s;
|
|
@@ -12351,9 +12348,9 @@ const vf = (t) => {
|
|
|
12351
12348
|
}, u = [c, s, i], e[4] = s, e[5] = i, e[6] = c, e[7] = d, e[8] = u) : (d = e[7], u = e[8]), jn(d, u);
|
|
12352
12349
|
const f = `${l}-listbox`;
|
|
12353
12350
|
let h;
|
|
12354
|
-
e[9] !== r ? (h = I("grid max-h-72 grid-cols-[auto_1fr_auto] gap-y-0.5 overflow-hidden overflow-y-auto", '[&_[data-ox-slot="select-icon"]]:[grid-column-start:var(--ox-menu-icon-col)] [&_[data-ox-slot="select-icon"]]:justify-self-center', '[&_[data-ox-slot="select-label"]]:[grid-column-start:var(--ox-menu-label-col)]', '[&_[data-ox-slot="select-check-icon"]]:[grid-column-start:var(--ox-menu-shortcut-col)] [&_[data-ox-slot="select-check-icon"]]:justify-self-end', r), e[9] = r, e[10] = h) : h = e[10];
|
|
12351
|
+
e[9] !== r ? (h = I("grid max-h-72 grid-cols-[auto_1fr_auto] gap-y-0.5 overflow-x-hidden overflow-y-auto", '[&_[data-ox-slot="select-icon"]]:[grid-column-start:var(--ox-menu-icon-col)] [&_[data-ox-slot="select-icon"]]:justify-self-center', '[&_[data-ox-slot="select-label"]]:[grid-column-start:var(--ox-menu-label-col)]', '[&_[data-ox-slot="select-check-icon"]]:[grid-column-start:var(--ox-menu-shortcut-col)] [&_[data-ox-slot="select-check-icon"]]:justify-self-end', r), e[9] = r, e[10] = h) : h = e[10];
|
|
12355
12352
|
let m;
|
|
12356
|
-
return e[11] !== n || e[12] !== o || e[13] !== a || e[14] !== f || e[15] !== h ? (m = /* @__PURE__ */ v(Ee.Content, { className: "ox-gray-border ox-select-animate rounded-lg bg-gray-200 p-1",
|
|
12353
|
+
return e[11] !== n || e[12] !== o || e[13] !== a || e[14] !== f || e[15] !== h ? (m = /* @__PURE__ */ v(Ee.Content, { className: "ox-gray-border ox-select-animate rounded-lg bg-gray-200 p-1", children: /* @__PURE__ */ v("ul", { id: f, "aria-multiselectable": a, className: h, "data-ox-slot": "select-listbox", role: "listbox", ...o, children: n }) }), e[11] = n, e[12] = o, e[13] = a, e[14] = f, e[15] = h, e[16] = m) : m = e[16], m;
|
|
12357
12354
|
}, so = (t) => t == null ? [] : Array.isArray(t) ? t : [t], wf = (t) => {
|
|
12358
12355
|
const e = V.c(63), {
|
|
12359
12356
|
children: n,
|