dawn-ui-react 1.0.0-alpha.4 → 1.0.0-alpha.6
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/{Input-OKlHdkuM.js → Input-DtHcqeCc.js} +2 -2
- package/dist/{clamp-DmGg4LPI.js → clamp-DQOKpe2d.js} +2 -2
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/separator/separator.d.ts +1 -1
- package/dist/components/separator/separator.types.d.ts +3 -1
- package/dist/dawn-ui-react.js +38 -34
- package/dist/dawn-ui-react.umd.cjs +3 -3
- package/dist/{field-errors--n7vO1Q7.js → field-errors-BndE4fDS.js} +1 -1
- package/dist/{field-input-DTMDvBjs.js → field-input-BPNlupYr.js} +3 -3
- package/dist/{field-input-group-DJu_VEsX.js → field-input-group-DRO7BT9K.js} +2 -2
- package/dist/{field-input-group-input-ChT-sn5W.js → field-input-group-input-D1w5gEYu.js} +2 -2
- package/dist/{field-label-CwhT-9uR.js → field-label-DiJO_3-h.js} +1 -1
- package/dist/{field-select-CgVfjmOj.js → field-select-BRibIEnZ.js} +3 -3
- package/dist/{field-slider-DwZvJqd0.js → field-slider-SYOU6bVj.js} +4 -4
- package/dist/{form-context-Cl2FGxOa.js → form-context-DBHjPCAB.js} +34 -37
- package/dist/{input-group-BGe0Ag-A.js → input-group-CDZSzmGh.js} +1 -1
- package/dist/{input-group-input-DELPW-48.js → input-group-input-DksiPZS5.js} +1 -1
- package/dist/{input.types-BgnT0r4F.js → input.types-BToTmX-b.js} +1 -1
- package/dist/styles.css +121 -97
- package/dist/{useLabelableId-BxNdsOlB.js → useLabelableId-Bsez0mIm.js} +1 -1
- package/package.json +14 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as e, X as t, Z as n } from "./form-context-
|
|
2
|
-
import { F as r, K as i, c as a, i as o, n as s, o as c, p as l, r as u, s as d, t as f } from "./useLabelableId-
|
|
1
|
+
import { V as e, X as t, Z as n } from "./form-context-DBHjPCAB.js";
|
|
2
|
+
import { F as r, K as i, c as a, i as o, n as s, o as c, p as l, r as u, s as d, t as f } from "./useLabelableId-Bsez0mIm.js";
|
|
3
3
|
import * as p from "react";
|
|
4
4
|
import { jsx as m } from "react/jsx-runtime";
|
|
5
5
|
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/field/control/FieldControl.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r, F as i, G as a, I as o, J as s, K as c, L as l, M as u, N as d, O as f, P as p, Q as m, R as h, S as g, T as _, V as v, W as y, X as b, Z as x, j as S, k as C, w, x as T, z as E } from "./form-context-
|
|
2
|
-
import { C as D, I as ee, W as O, c as k, f as A, l as j, p as M, s as N, u as te } from "./useLabelableId-
|
|
1
|
+
import { A as e, C as t, D as n, E as r, F as i, G as a, I as o, J as s, K as c, L as l, M as u, N as d, O as f, P as p, Q as m, R as h, S as g, T as _, V as v, W as y, X as b, Z as x, j as S, k as C, w, x as T, z as E } from "./form-context-DBHjPCAB.js";
|
|
2
|
+
import { C as D, I as ee, W as O, c as k, f as A, l as j, p as M, s as N, u as te } from "./useLabelableId-Bsez0mIm.js";
|
|
3
3
|
import * as P from "react";
|
|
4
4
|
import { useLayoutEffect as ne } from "react";
|
|
5
5
|
import { jsx as F, jsxs as I } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Dialog } from './dialog';
|
|
2
|
-
export type { DialogCloseProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogPopupProps, DialogProps, DialogTitleProps, DialogTriggerProps, } from './dialog.types';
|
|
2
|
+
export type { DialogCloseProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogPopupProps, DialogProps, DialogTitleProps, DialogTriggerProps, DialogContentProps, } from './dialog.types';
|
|
3
3
|
export { DialogClose } from './dialog-close';
|
|
4
4
|
export { DialogContent } from './dialog-content';
|
|
5
5
|
export { DialogDescription } from './dialog-description';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SeparatorProps } from './separator.types';
|
|
2
|
-
export declare const Separator: ({ orientation, weight, style, variant, className, ref, ...props }: SeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Separator: ({ orientation, weight, style, variant, children, className, labelClassName, ref, ...props }: SeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,4 +6,6 @@ export declare const separatorVariants: (props?: ({
|
|
|
6
6
|
variant?: "strong" | "default" | null | undefined;
|
|
7
7
|
weight?: "medium" | "thin" | "thick" | "thinnest" | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export type SeparatorProps = Omit<React.ComponentProps<typeof BaseSeparator>, 'style'> & VariantProps<typeof separatorVariants
|
|
9
|
+
export type SeparatorProps = Omit<React.ComponentProps<typeof BaseSeparator>, 'style'> & VariantProps<typeof separatorVariants> & {
|
|
10
|
+
labelClassName?: string;
|
|
11
|
+
};
|
package/dist/dawn-ui-react.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { $ as e, B as t, G as n, H as r, J as i, M as a, N as o, O as s, Q as c, U as l, V as u, W as d, X as f, Y as p, Z as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, j as w, k as T, l as E, m as D, n as O, o as k, p as A, q as j, r as M, s as N, t as P, u as F, v as I, x as L, y as R } from "./form-context-
|
|
2
|
-
import { A as z, B as ee, C as te, D as B, E as V, F as H, K as U, M as ne, N as re, O as W, P as ie, R as G, T as ae, U as oe, W as se, _ as ce, a as le, b as ue, c as de, d as fe, f as pe, g as me, h as he, i as ge, j as _e, k as ve, l as ye, m as be, n as xe, o as Se, p as K, r as Ce, s as we, t as Te, u as Ee, v as De, w as Oe, y as ke, z as Ae } from "./useLabelableId-
|
|
3
|
-
import { $ as je, A as Me, At as Ne, B as Pe, C as Fe, D as Ie, Dt as Le, Et as Re, G as ze, Gt as Be, It as Ve, J as He, K as Ue, L as We, M as Ge, N as Ke, Nt as qe, O as Je, Ot as Ye, P as Xe, Pt as Ze, Q as Qe, R as $e, S as q, St as et, T as J, Tt as tt, U as nt, V as rt, Vt as it, W as at, Wt as ot, X as st, Y as ct, Yt as lt, Z as ut, _ as dt, a as ft, an as pt, at as mt, b as ht, bt as gt, c as _t, cn as vt, ct as yt, dn as bt, en as xt, et as St, f as Ct, fn as wt, ft as Tt, g as Et, gt as Dt, h as Ot, hn as kt, ht as At, i as jt, it as Mt, j as Nt, jt as Pt, k as Ft, kt as It, l as Lt, ln as Rt, lt as zt, m as Bt, mn as Vt, mt as Ht, n as Ut, nn as Wt, nt as Gt, o as Kt, on as qt, p as Jt, pn as Yt, pt as Xt, q as Zt, r as Qt, rn as $t, rt as en, sn as tn, st as nn, t as rn, tn as an, tt as on, u as sn, v as cn, vt as ln, w as un, x as dn, xt as fn, z as pn } from "./clamp-
|
|
4
|
-
import { C as mn, D as hn, E as gn, O as _n, S as vn, T as yn, _ as bn, a as xn, b as Sn, c as Cn, d as wn, f as Tn, g as En, h as Dn, i as On, l as kn, m as An, o as jn, p as Mn, r as Nn, s as Pn, t as Fn, u as In, v as Ln, w as Rn, x as zn, y as Bn } from "./field-slider-
|
|
1
|
+
import { $ as e, B as t, G as n, H as r, J as i, M as a, N as o, O as s, Q as c, U as l, V as u, W as d, X as f, Y as p, Z as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, j as w, k as T, l as E, m as D, n as O, o as k, p as A, q as j, r as M, s as N, t as P, u as F, v as I, x as L, y as R } from "./form-context-DBHjPCAB.js";
|
|
2
|
+
import { A as z, B as ee, C as te, D as B, E as V, F as H, K as U, M as ne, N as re, O as W, P as ie, R as G, T as ae, U as oe, W as se, _ as ce, a as le, b as ue, c as de, d as fe, f as pe, g as me, h as he, i as ge, j as _e, k as ve, l as ye, m as be, n as xe, o as Se, p as K, r as Ce, s as we, t as Te, u as Ee, v as De, w as Oe, y as ke, z as Ae } from "./useLabelableId-Bsez0mIm.js";
|
|
3
|
+
import { $ as je, A as Me, At as Ne, B as Pe, C as Fe, D as Ie, Dt as Le, Et as Re, G as ze, Gt as Be, It as Ve, J as He, K as Ue, L as We, M as Ge, N as Ke, Nt as qe, O as Je, Ot as Ye, P as Xe, Pt as Ze, Q as Qe, R as $e, S as q, St as et, T as J, Tt as tt, U as nt, V as rt, Vt as it, W as at, Wt as ot, X as st, Y as ct, Yt as lt, Z as ut, _ as dt, a as ft, an as pt, at as mt, b as ht, bt as gt, c as _t, cn as vt, ct as yt, dn as bt, en as xt, et as St, f as Ct, fn as wt, ft as Tt, g as Et, gt as Dt, h as Ot, hn as kt, ht as At, i as jt, it as Mt, j as Nt, jt as Pt, k as Ft, kt as It, l as Lt, ln as Rt, lt as zt, m as Bt, mn as Vt, mt as Ht, n as Ut, nn as Wt, nt as Gt, o as Kt, on as qt, p as Jt, pn as Yt, pt as Xt, q as Zt, r as Qt, rn as $t, rt as en, sn as tn, st as nn, t as rn, tn as an, tt as on, u as sn, v as cn, vt as ln, w as un, x as dn, xt as fn, z as pn } from "./clamp-DQOKpe2d.js";
|
|
4
|
+
import { C as mn, D as hn, E as gn, O as _n, S as vn, T as yn, _ as bn, a as xn, b as Sn, c as Cn, d as wn, f as Tn, g as En, h as Dn, i as On, l as kn, m as An, o as jn, p as Mn, r as Nn, s as Pn, t as Fn, u as In, v as Ln, w as Rn, x as zn, y as Bn } from "./field-slider-SYOU6bVj.js";
|
|
5
5
|
import { t as Y } from "./cn-CXogf8HW.js";
|
|
6
|
-
import { A as Vn, C as Hn, D as Un, E as Wn, F as Gn, I as Kn, L as qn, M as Jn, N as Yn, O as Xn, P as Zn, R as Qn, S as $n, T as er, _ as tr, a as nr, b as rr, c as ir, d as ar, f as or, g as sr, h as cr, i as lr, j as ur, k as dr, l as fr, m as pr, o as mr, p as hr, r as gr, s as _r, t as vr, u as yr, v as br, w as xr, x as Sr, y as Cr } from "./field-select-
|
|
7
|
-
import { t as wr } from "./input.types-
|
|
8
|
-
import { t as Tr } from "./input-group-
|
|
9
|
-
import { t as Er } from "./input-group-input-
|
|
6
|
+
import { A as Vn, C as Hn, D as Un, E as Wn, F as Gn, I as Kn, L as qn, M as Jn, N as Yn, O as Xn, P as Zn, R as Qn, S as $n, T as er, _ as tr, a as nr, b as rr, c as ir, d as ar, f as or, g as sr, h as cr, i as lr, j as ur, k as dr, l as fr, m as pr, o as mr, p as hr, r as gr, s as _r, t as vr, u as yr, v as br, w as xr, x as Sr, y as Cr } from "./field-select-BRibIEnZ.js";
|
|
7
|
+
import { t as wr } from "./input.types-BToTmX-b.js";
|
|
8
|
+
import { t as Tr } from "./input-group-CDZSzmGh.js";
|
|
9
|
+
import { t as Er } from "./input-group-input-DksiPZS5.js";
|
|
10
10
|
import { t as Dr } from "./field-description-BDRJXMS8.js";
|
|
11
|
-
import { t as Or } from "./field-errors
|
|
12
|
-
import { r as kr, t as Ar } from "./field-input-
|
|
13
|
-
import { t as jr } from "./field-label-
|
|
11
|
+
import { t as Or } from "./field-errors-BndE4fDS.js";
|
|
12
|
+
import { r as kr, t as Ar } from "./field-input-BPNlupYr.js";
|
|
13
|
+
import { t as jr } from "./field-label-DiJO_3-h.js";
|
|
14
14
|
import * as X from "react";
|
|
15
15
|
import Mr, { createContext as Nr, createElement as Pr, forwardRef as Fr, memo as Ir, startTransition as Lr, useCallback as Rr, useContext as zr, useEffect as Br, useId as Vr, useImperativeHandle as Hr, useInsertionEffect as Ur, useLayoutEffect as Wr, useMemo as Gr, useRef as Kr, useState as qr } from "react";
|
|
16
16
|
import { Fragment as Jr, jsx as Z, jsxs as Q } from "react/jsx-runtime";
|
|
@@ -11881,7 +11881,7 @@ var Nm = ({ children: e, ...t }) => /* @__PURE__ */ Z(ga, {
|
|
|
11881
11881
|
ref: i,
|
|
11882
11882
|
...a,
|
|
11883
11883
|
children: r
|
|
11884
|
-
}), fh = h("inline-flex h-md items-center justify-center gap-3xs rounded-full px-xs style-text-default--2
|
|
11884
|
+
}), fh = h("inline-flex h-md items-center justify-center gap-3xs rounded-full px-xs style-text-default--2 whitespace-nowrap transition-all select-none [&>svg]:size-xs", {
|
|
11885
11885
|
variants: {
|
|
11886
11886
|
size: {
|
|
11887
11887
|
small: "h-sm [&>svg]:size-2xs",
|
|
@@ -12815,7 +12815,7 @@ var lg = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q("div
|
|
|
12815
12815
|
ref: n,
|
|
12816
12816
|
...r,
|
|
12817
12817
|
children: t
|
|
12818
|
-
}), Ag = h("shrink-0 rounded-full", {
|
|
12818
|
+
}), Ag = h("relative shrink-0 rounded-full", {
|
|
12819
12819
|
variants: {
|
|
12820
12820
|
orientation: {
|
|
12821
12821
|
horizontal: "w-full",
|
|
@@ -12830,10 +12830,10 @@ var lg = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q("div
|
|
|
12830
12830
|
strong: "bg-neutral-border-strong"
|
|
12831
12831
|
},
|
|
12832
12832
|
weight: {
|
|
12833
|
-
thick: "",
|
|
12834
|
-
medium: "",
|
|
12835
|
-
thin: "",
|
|
12836
|
-
thinnest: ""
|
|
12833
|
+
thick: "[&_[data-label]]:style-text-prose-0",
|
|
12834
|
+
medium: "[&_[data-label]]:style-text-prose--1",
|
|
12835
|
+
thin: "[&_[data-label]]:style-text-prose--2",
|
|
12836
|
+
thinnest: "[&_[data-label]]:style-text-prose--2"
|
|
12837
12837
|
}
|
|
12838
12838
|
},
|
|
12839
12839
|
defaultVariants: {
|
|
@@ -12884,17 +12884,21 @@ var lg = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q("div
|
|
|
12884
12884
|
className: "w-px"
|
|
12885
12885
|
}
|
|
12886
12886
|
]
|
|
12887
|
-
}), jg = ({ orientation: e, weight: t, style: n, variant: r,
|
|
12888
|
-
className: Y(Ag({
|
|
12887
|
+
}), jg = ({ orientation: e, weight: t, style: n, variant: r, children: i, className: a, labelClassName: o, ref: s, ...c }) => /* @__PURE__ */ Z(Bo, {
|
|
12888
|
+
className: Y("relative", Ag({
|
|
12889
12889
|
orientation: e,
|
|
12890
12890
|
weight: t,
|
|
12891
12891
|
style: n,
|
|
12892
|
-
variant: r
|
|
12893
|
-
|
|
12894
|
-
})),
|
|
12892
|
+
variant: r
|
|
12893
|
+
}), a),
|
|
12895
12894
|
orientation: e,
|
|
12896
|
-
ref:
|
|
12897
|
-
...
|
|
12895
|
+
ref: s,
|
|
12896
|
+
...c,
|
|
12897
|
+
children: /* @__PURE__ */ Z("span", {
|
|
12898
|
+
"data-label": !0,
|
|
12899
|
+
className: Y("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-surface-background px-2xs whitespace-nowrap text-on-surface-variant", o),
|
|
12900
|
+
children: i
|
|
12901
|
+
})
|
|
12898
12902
|
}), Mg = ({ inline: e = !1, variant: t, className: n, children: r, ref: i, ...a }) => {
|
|
12899
12903
|
let o = Mr.useId();
|
|
12900
12904
|
return e ? /* @__PURE__ */ Z("div", {
|
|
@@ -12943,7 +12947,7 @@ var lg = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q("div
|
|
|
12943
12947
|
]
|
|
12944
12948
|
});
|
|
12945
12949
|
}, Ng = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q(Io, {
|
|
12946
|
-
className: Y("mr-2xs grid cursor-default grid-cols-[1fr_0.75rem] items-center gap-xs rounded-md px-2xs py-3xs style-text-default-0
|
|
12950
|
+
className: Y("mr-2xs grid cursor-default grid-cols-[1fr_0.75rem] items-center gap-xs rounded-md px-2xs py-3xs style-text-default-0 select-none group-data-[side=none]:pr-xs group-data-[side=none]:leading-lg first-of-type:mt-2xs last-of-type:mb-2xs hover:cursor-pointer data-highlighted:relative data-highlighted:z-0 data-highlighted:bg-neutral-container-high data-highlighted:text-neutral-on-container data-highlighted:before:absolute data-highlighted:before:inset-x-3xs data-highlighted:before:inset-y-[0px] data-highlighted:before:z-[-1] data-highlighted:before:rounded-sm data-selected:bg-neutral-default data-selected:text-neutral-on-default pointer-coarse:py-xs", e),
|
|
12947
12951
|
ref: n,
|
|
12948
12952
|
...r,
|
|
12949
12953
|
children: [/* @__PURE__ */ Z("span", {
|
|
@@ -13089,7 +13093,7 @@ var lg = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q("div
|
|
|
13089
13093
|
...r,
|
|
13090
13094
|
children: t
|
|
13091
13095
|
}), s_ = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q(gp, {
|
|
13092
|
-
className: Y("grid h-lg cursor-default grid-cols-[1fr_0.75rem] items-center gap-xs rounded-md pl-xs style-text-default-0
|
|
13096
|
+
className: Y("grid h-lg cursor-default grid-cols-[1fr_0.75rem] items-center gap-xs rounded-md pl-xs style-text-default-0 outline-none select-none group-data-[side=none]:pr-xs group-data-[side=none]:leading-lg hover:cursor-pointer data-highlighted:relative data-highlighted:z-0 data-highlighted:bg-neutral-container data-highlighted:text-neutral-on-container data-highlighted:before:absolute data-highlighted:before:inset-x-3xs data-highlighted:before:inset-y-[0px] data-highlighted:before:z-[-1] data-highlighted:before:rounded-sm data-selected:bg-neutral-default data-selected:text-neutral-on-default pointer-coarse:py-xs", e),
|
|
13093
13097
|
ref: n,
|
|
13094
13098
|
...r,
|
|
13095
13099
|
children: [/* @__PURE__ */ Z(yp, { children: t }), /* @__PURE__ */ Z(_p, {
|
|
@@ -13102,7 +13106,7 @@ var lg = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q("div
|
|
|
13102
13106
|
...r,
|
|
13103
13107
|
children: t
|
|
13104
13108
|
}), l_ = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Z(Cp, {
|
|
13105
|
-
className: Y("sticky top-[0px] z-1 cursor-default bg-surface-2 px-2xs py-3xs style-text-default--2
|
|
13109
|
+
className: Y("sticky top-[0px] z-1 cursor-default bg-surface-2 px-2xs py-3xs style-text-default--2 text-on-surface-variant select-none", e),
|
|
13106
13110
|
ref: n,
|
|
13107
13111
|
...r,
|
|
13108
13112
|
children: t
|
|
@@ -17328,7 +17332,7 @@ var FO = ({ row: e, className: t, children: n, ref: r, ...i }) => /* @__PURE__ *
|
|
|
17328
17332
|
...t,
|
|
17329
17333
|
children: e
|
|
17330
17334
|
}), UO = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q(Vs, {
|
|
17331
|
-
className: Y("rounded-md", "grid cursor-default grid-cols-[1fr_2rem] items-center px-2xs py-3xs style-text-default-0
|
|
17335
|
+
className: Y("rounded-md", "grid cursor-default grid-cols-[1fr_2rem] items-center px-2xs py-3xs style-text-default-0 outline-none select-none before:absolute before:inset-[0px] before:z-[-1] before:rounded-md before:content-[\"\"] hover:cursor-pointer data-highlighted:relative data-highlighted:z-0 data-highlighted:text-neutral-on-container data-highlighted:before:bg-neutral-container-high", e),
|
|
17332
17336
|
ref: n,
|
|
17333
17337
|
...r,
|
|
17334
17338
|
children: [/* @__PURE__ */ Z("span", {
|
|
@@ -17347,11 +17351,11 @@ var FO = ({ row: e, className: t, children: n, ref: r, ...i }) => /* @__PURE__ *
|
|
|
17347
17351
|
...r,
|
|
17348
17352
|
children: t
|
|
17349
17353
|
}), GO = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Z(Ks, {
|
|
17350
|
-
className: Y("cursor-default px-2xs py-3xs style-text-default--2
|
|
17354
|
+
className: Y("cursor-default px-2xs py-3xs style-text-default--2 text-on-surface-variant select-none", e),
|
|
17351
17355
|
ref: n,
|
|
17352
17356
|
...r,
|
|
17353
17357
|
children: t
|
|
17354
|
-
}), KO = h("flex cursor-default items-center px-sm py-3xs style-text-default-0
|
|
17358
|
+
}), KO = h("flex cursor-default items-center px-sm py-3xs style-text-default-0 outline-none select-none before:outline before:outline-transparent hover:cursor-pointer data-highlighted:relative data-highlighted:z-0 data-highlighted:before:absolute data-highlighted:before:inset-x-3xs data-highlighted:before:inset-y-[0px] data-highlighted:before:z-[-1] data-highlighted:before:rounded-md", {
|
|
17355
17359
|
variants: { tone: {
|
|
17356
17360
|
brand: "text-brand-default data-highlighted:text-brand-on-container data-highlighted:before:bg-brand-container",
|
|
17357
17361
|
accent: "text-accent-default data-highlighted:text-accent-on-container data-highlighted:before:bg-accent-container",
|
|
@@ -17362,7 +17366,7 @@ var FO = ({ row: e, className: t, children: n, ref: r, ...i }) => /* @__PURE__ *
|
|
|
17362
17366
|
warning: "text-warning-default data-highlighted:text-warning-on-container data-highlighted:before:bg-warning-container"
|
|
17363
17367
|
} },
|
|
17364
17368
|
defaultVariants: { tone: "neutral" }
|
|
17365
|
-
}), qO = h("grid cursor-default grid-cols-[1fr_2rem] items-center px-sm py-3xs style-text-default-0
|
|
17369
|
+
}), qO = h("grid cursor-default grid-cols-[1fr_2rem] items-center px-sm py-3xs style-text-default-0 outline-none select-none before:outline before:outline-transparent hover:cursor-pointer data-highlighted:relative data-highlighted:z-0 data-highlighted:before:absolute data-highlighted:before:inset-x-3xs data-highlighted:before:inset-y-[0px] data-highlighted:before:z-[-1] data-highlighted:before:rounded-md data-popup-open:relative data-popup-open:z-0 data-popup-open:before:absolute data-popup-open:before:inset-x-3xs data-popup-open:before:inset-y-[0px] data-popup-open:before:z-[-1] data-popup-open:before:rounded-sm", {
|
|
17366
17370
|
variants: { tone: {
|
|
17367
17371
|
brand: "text-brand-default data-highlighted:text-brand-on-container data-highlighted:before:bg-brand-container data-popup-open:text-brand-on-container data-popup-open:before:bg-brand-container data-[highlighted]:data-[popup-open]:before:bg-brand-container",
|
|
17368
17372
|
accent: "text-accent-default data-highlighted:text-accent-on-container data-highlighted:before:bg-accent-container data-popup-open:text-accent-on-container data-popup-open:before:bg-accent-container data-[highlighted]:data-[popup-open]:before:bg-accent-container",
|
|
@@ -17396,7 +17400,7 @@ var FO = ({ row: e, className: t, children: n, ref: r, ...i }) => /* @__PURE__ *
|
|
|
17396
17400
|
...r,
|
|
17397
17401
|
children: t
|
|
17398
17402
|
}), ZO = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ Q(ac, {
|
|
17399
|
-
className: Y("rounded-md", "grid cursor-default grid-cols-[1fr_2rem] items-center px-2xs py-3xs style-text-default-0
|
|
17403
|
+
className: Y("rounded-md", "grid cursor-default grid-cols-[1fr_2rem] items-center px-2xs py-3xs style-text-default-0 outline-none select-none before:absolute before:inset-[0px] before:z-[-1] before:rounded-md before:content-[\"\"] hover:cursor-pointer data-highlighted:relative data-highlighted:z-0 data-highlighted:text-neutral-on-container data-highlighted:before:bg-neutral-container-high", e),
|
|
17400
17404
|
ref: n,
|
|
17401
17405
|
...r,
|
|
17402
17406
|
children: [/* @__PURE__ */ Z("span", {
|
|
@@ -17708,7 +17712,7 @@ var hk = ({ children: e, ...t }) => /* @__PURE__ */ Z(df, {
|
|
|
17708
17712
|
className: "text-center style-text-strong--2 text-on-surface",
|
|
17709
17713
|
children: e
|
|
17710
17714
|
}), t && /* @__PURE__ */ Z("div", {
|
|
17711
|
-
className: "text-center style-text-prose--2
|
|
17715
|
+
className: "text-center style-text-prose--2 text-on-surface-variant",
|
|
17712
17716
|
children: t
|
|
17713
17717
|
})]
|
|
17714
17718
|
})]
|
|
@@ -17849,7 +17853,7 @@ var hk = ({ children: e, ...t }) => /* @__PURE__ */ Z(df, {
|
|
|
17849
17853
|
ref: n,
|
|
17850
17854
|
...r,
|
|
17851
17855
|
children: /* @__PURE__ */ Q(ap, {
|
|
17852
|
-
className: Y("flex h-full flex-col items-center divide-y divide-border overflow-y-auto overscroll-contain [
|
|
17856
|
+
className: Y("flex h-full scrollbar-none flex-col items-center divide-y divide-border overflow-y-auto overscroll-contain [&::-webkit-scrollbar]:hidden", "before:pointer-events-none before:absolute before:top-0 before:left-0 before:block before:h-[min(40px,var(--scroll-area-overflow-y-start))] before:w-full before:bg-linear-to-b before:from-shadow/35 before:to-transparent before:transition-[height] before:duration-100 before:ease-out before:content-[\"\"] before:[--scroll-area-overflow-y-start:inherit]", "after:pointer-events-none after:absolute after:bottom-0 after:left-0 after:block after:h-[min(40px,var(--scroll-area-overflow-y-end,40px))] after:w-full after:bg-linear-to-t after:from-shadow/35 after:to-transparent after:transition-[height] after:duration-100 after:ease-out after:content-[\"\"] after:[--scroll-area-overflow-y-end:inherit]", i ? "gap-md" : "gap-xs px-3xs pt-3xs"),
|
|
17853
17857
|
children: [!i && /* @__PURE__ */ Z(Rk, {}), t]
|
|
17854
17858
|
})
|
|
17855
17859
|
});
|