burne-ui 1.5.3 → 1.5.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/components/composite/AlertDialog/alertDialogStyles.d.ts +1 -1
- package/dist/components/core/Card/cardStyles.d.ts +3 -3
- package/dist/components/core/Dialog/dialogStyles.d.ts +1 -1
- package/dist/components/core/Drawer/drawerStyles.d.ts +3 -3
- package/dist/components/core/Dropdown/dropdownParts.d.ts +1 -0
- package/dist/components/core/Dropdown/dropdownTypes.d.ts +3 -0
- package/dist/components/core/Dropdown/index.d.ts +2 -0
- package/dist/components/core/Pagination/paginationStyles.d.ts +5 -5
- package/dist/components/core/Table/tableStyles.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +71 -43
- package/dist/ui.css +8 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9692,14 +9692,16 @@ function MR({
|
|
|
9692
9692
|
), v = E(() => {
|
|
9693
9693
|
const y = (u == null ? void 0 : u.current) ?? c.current, C = f.current;
|
|
9694
9694
|
if (!y || !C) return;
|
|
9695
|
-
const A = y.getBoundingClientRect()
|
|
9695
|
+
const A = y.getBoundingClientRect();
|
|
9696
|
+
o ? C.style.minWidth = `${Math.max(A.width, 192)}px` : C.style.minWidth = "";
|
|
9697
|
+
const T = Sb(
|
|
9696
9698
|
A,
|
|
9697
9699
|
C.getBoundingClientRect(),
|
|
9698
9700
|
t,
|
|
9699
9701
|
n,
|
|
9700
9702
|
{ align: r }
|
|
9701
9703
|
);
|
|
9702
|
-
_(T.resolvedSide), C.style.position = "fixed", C.style.left = `${T.left}px`, C.style.top = `${T.top}px`, C.style.transform = ""
|
|
9704
|
+
_(T.resolvedSide), C.style.position = "fixed", C.style.left = `${T.left}px`, C.style.top = `${T.top}px`, C.style.transform = "";
|
|
9703
9705
|
}, [r, u, o, n, t, c]);
|
|
9704
9706
|
return oe(() => {
|
|
9705
9707
|
e && p(!0);
|
|
@@ -9774,10 +9776,10 @@ const Ws = 6, HR = {
|
|
|
9774
9776
|
mid: "max-w-sm",
|
|
9775
9777
|
large: "max-w-md"
|
|
9776
9778
|
}, Eb = {
|
|
9777
|
-
small: "
|
|
9778
|
-
base: "
|
|
9779
|
-
mid: "
|
|
9780
|
-
large: "
|
|
9779
|
+
small: "px-small py-xsmall",
|
|
9780
|
+
base: "px-plus py-base",
|
|
9781
|
+
mid: "px-mid py-plus",
|
|
9782
|
+
large: "px-large py-mid"
|
|
9781
9783
|
}, Ib = {
|
|
9782
9784
|
small: "gap-small",
|
|
9783
9785
|
base: "gap-base",
|
|
@@ -15770,17 +15772,30 @@ function H1({
|
|
|
15770
15772
|
}
|
|
15771
15773
|
const bS = H(
|
|
15772
15774
|
function(t, n) {
|
|
15773
|
-
const {
|
|
15774
|
-
|
|
15775
|
+
const {
|
|
15776
|
+
children: r,
|
|
15777
|
+
className: o,
|
|
15778
|
+
size: s,
|
|
15779
|
+
disabled: i = !1,
|
|
15780
|
+
isRequired: a,
|
|
15781
|
+
selection: l,
|
|
15782
|
+
value: c,
|
|
15783
|
+
defaultValue: u,
|
|
15784
|
+
onValueChange: f,
|
|
15785
|
+
hintId: m,
|
|
15786
|
+
errorId: h,
|
|
15787
|
+
...g
|
|
15788
|
+
} = t, { contextValue: p, fieldLabelCtx: b, hintId: _, errorId: S } = H1(t);
|
|
15789
|
+
return /* @__PURE__ */ d(M1, { value: p, children: /* @__PURE__ */ d(mn.Provider, { value: b, children: /* @__PURE__ */ d(
|
|
15775
15790
|
lS,
|
|
15776
15791
|
{
|
|
15777
15792
|
ref: n,
|
|
15778
15793
|
disabled: i,
|
|
15779
|
-
hintId:
|
|
15780
|
-
errorId:
|
|
15794
|
+
hintId: _,
|
|
15795
|
+
errorId: S,
|
|
15781
15796
|
size: s,
|
|
15782
15797
|
className: o,
|
|
15783
|
-
...
|
|
15798
|
+
...g,
|
|
15784
15799
|
children: r
|
|
15785
15800
|
}
|
|
15786
15801
|
) }) });
|
|
@@ -15876,17 +15891,30 @@ function U1({
|
|
|
15876
15891
|
}
|
|
15877
15892
|
const xS = H(
|
|
15878
15893
|
function(t, n) {
|
|
15879
|
-
const {
|
|
15880
|
-
|
|
15894
|
+
const {
|
|
15895
|
+
children: r,
|
|
15896
|
+
className: o,
|
|
15897
|
+
size: s,
|
|
15898
|
+
disabled: i = !1,
|
|
15899
|
+
name: a,
|
|
15900
|
+
isRequired: l,
|
|
15901
|
+
value: c,
|
|
15902
|
+
defaultValue: u,
|
|
15903
|
+
onValueChange: f,
|
|
15904
|
+
hintId: m,
|
|
15905
|
+
errorId: h,
|
|
15906
|
+
...g
|
|
15907
|
+
} = t, { contextValue: p, fieldLabelCtx: b, hintId: _, errorId: S } = U1(t);
|
|
15908
|
+
return /* @__PURE__ */ d(z1, { value: p, children: /* @__PURE__ */ d(mn.Provider, { value: b, children: /* @__PURE__ */ d(
|
|
15881
15909
|
lS,
|
|
15882
15910
|
{
|
|
15883
15911
|
ref: n,
|
|
15884
15912
|
disabled: i,
|
|
15885
|
-
hintId:
|
|
15886
|
-
errorId:
|
|
15913
|
+
hintId: _,
|
|
15914
|
+
errorId: S,
|
|
15887
15915
|
size: s,
|
|
15888
15916
|
className: o,
|
|
15889
|
-
...
|
|
15917
|
+
...g,
|
|
15890
15918
|
children: r
|
|
15891
15919
|
}
|
|
15892
15920
|
) }) });
|
|
@@ -17043,13 +17071,13 @@ function VS(e, t) {
|
|
|
17043
17071
|
});
|
|
17044
17072
|
}
|
|
17045
17073
|
const qk = "flex min-h-0 flex-1 flex-col gap-mid text-left", Zk = {
|
|
17046
|
-
headerPadding: "px-plus pt-
|
|
17047
|
-
bodyPadding: "px-plus",
|
|
17048
|
-
footerPadding: "px-plus pb-
|
|
17074
|
+
headerPadding: "px-plus pt-base",
|
|
17075
|
+
bodyPadding: "px-plus py-small",
|
|
17076
|
+
footerPadding: "px-plus pb-base"
|
|
17049
17077
|
}, pl = {
|
|
17050
|
-
headerPadding: "px-mid pt-
|
|
17051
|
-
bodyPadding: "px-mid",
|
|
17052
|
-
footerPadding: "px-mid pb-
|
|
17078
|
+
headerPadding: "px-mid pt-plus",
|
|
17079
|
+
bodyPadding: "px-mid py-small",
|
|
17080
|
+
footerPadding: "px-mid pb-plus"
|
|
17053
17081
|
}, Qk = {
|
|
17054
17082
|
small: {
|
|
17055
17083
|
panelMax: "max-w-component-small",
|
|
@@ -17100,7 +17128,7 @@ const qk = "flex min-h-0 flex-1 flex-col gap-mid text-left", Zk = {
|
|
|
17100
17128
|
base: "base",
|
|
17101
17129
|
mid: "base",
|
|
17102
17130
|
large: "base"
|
|
17103
|
-
}, eB = "fixed inset-0 z-[100] m-0 flex h-full w-full max-h-none max-w-none items-center justify-center border-0 bg-transparent p-mid open:flex [&::backdrop]:bg-transparent", tB = "bg-[color-mix(in_oklab,var(--color-foreground)_14%,transparent)] backdrop-blur-[14px] backdrop-saturate-150 motion-reduce:backdrop-blur-none", nB = "bg-[color-mix(in_oklab,black_58%,transparent)]", rB = "relative z-10 w-full outline-none", oB = "flex min-h-0 flex-col overflow-hidden rounded-mid border-token bg-surface text-left text-foreground shadow-token-large", sB = "gloss-panel gloss-deep flex min-h-0 w-full flex-col rounded-mid text-foreground", iB = "flex shrink-0 items-start", aB = "min-w-0", lB = "min-w-0", cB = "min-h-0 flex-1 overflow-y-auto", uB = "flex shrink-0 flex-wrap items-center justify-end gap-base", dB = "shrink-0", US = "gloss-content";
|
|
17131
|
+
}, eB = "fixed inset-0 z-[100] m-0 flex h-full w-full max-h-none max-w-none items-center justify-center border-0 bg-transparent p-mid open:flex [&::backdrop]:bg-transparent", tB = "bg-[color-mix(in_oklab,var(--color-foreground)_14%,transparent)] backdrop-blur-[14px] backdrop-saturate-150 motion-reduce:backdrop-blur-none", nB = "bg-[color-mix(in_oklab,black_58%,transparent)]", rB = "relative z-10 w-full outline-none", oB = "flex min-h-0 flex-col overflow-hidden rounded-mid border-token bg-surface text-left text-foreground shadow-token-large", sB = "gloss-panel gloss-deep flex min-h-0 w-full flex-col rounded-mid text-foreground", iB = "flex shrink-0 items-start", aB = "min-w-0", lB = "min-w-0", cB = "min-h-0 flex-1 overflow-y-auto py-small", uB = "flex shrink-0 flex-wrap items-center justify-end gap-base", dB = "shrink-0", US = "gloss-content";
|
|
17104
17132
|
function $S() {
|
|
17105
17133
|
return yb();
|
|
17106
17134
|
}
|
|
@@ -17144,13 +17172,13 @@ function gB(e) {
|
|
|
17144
17172
|
return Jk[e];
|
|
17145
17173
|
}
|
|
17146
17174
|
const hB = "flex min-h-0 flex-1 flex-col gap-mid text-left", bB = {
|
|
17147
|
-
headerPadding: "px-plus pt-
|
|
17148
|
-
bodyPadding: "px-plus",
|
|
17149
|
-
footerPadding: "px-plus pb-
|
|
17175
|
+
headerPadding: "px-plus pt-base",
|
|
17176
|
+
bodyPadding: "px-plus py-small",
|
|
17177
|
+
footerPadding: "px-plus pb-base"
|
|
17150
17178
|
}, gl = {
|
|
17151
|
-
headerPadding: "px-mid pt-
|
|
17152
|
-
bodyPadding: "px-mid",
|
|
17153
|
-
footerPadding: "px-mid pb-
|
|
17179
|
+
headerPadding: "px-mid pt-plus",
|
|
17180
|
+
bodyPadding: "px-mid py-small",
|
|
17181
|
+
footerPadding: "px-mid pb-plus"
|
|
17154
17182
|
}, _B = {
|
|
17155
17183
|
small: {
|
|
17156
17184
|
panelMax: "max-w-component-small",
|
|
@@ -17205,7 +17233,7 @@ const hB = "flex min-h-0 flex-1 flex-col gap-mid text-left", bB = {
|
|
|
17205
17233
|
base: "base",
|
|
17206
17234
|
mid: "base",
|
|
17207
17235
|
large: "base"
|
|
17208
|
-
}, CB = "fixed inset-0 z-[100] m-0 flex h-full w-full max-h-none max-w-none items-center justify-center border-0 bg-transparent p-mid open:flex [&::backdrop]:bg-transparent", vB = "relative z-10 w-full outline-none", yB = "flex min-h-0 flex-col overflow-hidden rounded-mid text-left", xB = "gloss-panel gloss-deep flex min-h-0 w-full flex-col rounded-mid text-left text-foreground", AB = "gloss-content", TB = "shrink-0", LB = "shrink-0 [&_svg]:block", EB = "shrink-0", IB = "contents", wB = "font-w-mid", RB = "min-h-0 flex-1 overflow-y-auto", NB = "flex shrink-0 flex-wrap items-center justify-end gap-base";
|
|
17236
|
+
}, CB = "fixed inset-0 z-[100] m-0 flex h-full w-full max-h-none max-w-none items-center justify-center border-0 bg-transparent p-mid open:flex [&::backdrop]:bg-transparent", vB = "relative z-10 w-full outline-none", yB = "flex min-h-0 flex-col overflow-hidden rounded-mid text-left", xB = "gloss-panel gloss-deep flex min-h-0 w-full flex-col rounded-mid text-left text-foreground", AB = "gloss-content", TB = "shrink-0", LB = "shrink-0 [&_svg]:block", EB = "shrink-0", IB = "contents", wB = "font-w-mid", RB = "min-h-0 flex-1 overflow-y-auto py-small", NB = "flex shrink-0 flex-wrap items-center justify-end gap-base";
|
|
17209
17237
|
function DB(e) {
|
|
17210
17238
|
return R(F_(e, "default"), "shadow-token-large");
|
|
17211
17239
|
}
|
|
@@ -19348,7 +19376,7 @@ const i2 = {
|
|
|
19348
19376
|
top: "pb-plus",
|
|
19349
19377
|
left: "pr-plus",
|
|
19350
19378
|
right: "pl-plus"
|
|
19351
|
-
}, c2 = "flex min-h-0 flex-1 flex-col gap-mid text-left", u2 = "px-mid pt-
|
|
19379
|
+
}, c2 = "flex min-h-0 flex-1 flex-col gap-mid text-left", u2 = "px-mid pt-plus", d2 = "px-mid py-base", f2 = "px-mid pb-plus", m2 = "fixed inset-0 z-[100] m-0 h-full w-full max-h-none max-w-none border-0 bg-transparent p-0 open:block [&::backdrop]:bg-transparent", p2 = "bg-[color-mix(in_oklab,var(--color-foreground)_14%,transparent)] backdrop-blur-[14px] backdrop-saturate-150 motion-reduce:backdrop-blur-none", g2 = "bg-[color-mix(in_oklab,black_55%,transparent)]", h2 = "absolute z-10 flex flex-col outline-none overflow-hidden", b2 = "border-token bg-surface text-foreground shadow-token-large", _2 = "gloss-panel gloss-deep flex min-h-0 flex-1 flex-col text-foreground", S2 = "gloss-content flex min-h-0 min-w-0 flex-1 flex-col", C2 = "flex shrink-0 items-start gap-plus text-left", v2 = "flex min-w-0 flex-1 flex-col gap-xsmall text-left", y2 = "min-w-0", x2 = "text-muted", A2 = "min-h-0 flex-1 overflow-y-auto", T2 = "flex shrink-0 flex-wrap items-center justify-end gap-base", L2 = "shrink-0", E2 = "flex touch-none select-none shrink-0 items-center justify-center cursor-grab active:cursor-grabbing box-content", I2 = "h-1 w-10", w2 = "h-10 w-1", R2 = "rounded-full bg-tertiary";
|
|
19352
19380
|
function N2(e, t) {
|
|
19353
19381
|
const n = a2[t];
|
|
19354
19382
|
return e === "left" || e === "right" ? n.horizontal : n.vertical;
|
|
@@ -27150,7 +27178,7 @@ const PU = {
|
|
|
27150
27178
|
default: "bg-surface border-token",
|
|
27151
27179
|
outline: "bg-transparent border-token",
|
|
27152
27180
|
secondary: "bg-secondary border-token"
|
|
27153
|
-
}, kU = "shadow-token-base", BU = "gloss-panel flex min-w-0 flex-col rounded-mid text-foreground outline-none", FU = "gloss-content flex min-w-0 flex-1 flex-col", MU = "flex min-w-0 flex-col overflow-hidden rounded-mid text-foreground outline-none", GU = "relative cursor-pointer focus-ring", xi = "w-full border-0 p-0 text-left", HU = "relative flex min-w-0 flex-1 flex-col", zU = "flex shrink-0 flex-col gap-small py-plus px-
|
|
27181
|
+
}, kU = "shadow-token-base", BU = "gloss-panel flex min-w-0 flex-col rounded-mid text-foreground outline-none", FU = "gloss-content flex min-w-0 flex-1 flex-col", MU = "flex min-w-0 flex-col overflow-hidden rounded-mid text-foreground outline-none", GU = "relative cursor-pointer focus-ring", xi = "w-full border-0 p-0 text-left", HU = "relative flex min-w-0 flex-1 flex-col", zU = "flex shrink-0 flex-col gap-small py-plus px-mid text-left", VU = "flex min-w-0 flex-1 flex-col gap-xsmall text-left", UU = "min-w-0 px-mid pb-mid", $U = "min-w-0", WU = "min-w-0 text-muted", XU = "mt-auto border-t-token py-plus px-mid text-muted";
|
|
27154
27182
|
function YU(e) {
|
|
27155
27183
|
return R(BU, zo, e);
|
|
27156
27184
|
}
|
|
@@ -29137,7 +29165,7 @@ function s6(e) {
|
|
|
29137
29165
|
);
|
|
29138
29166
|
return o6(t), { olRef: t, setRefs: n };
|
|
29139
29167
|
}
|
|
29140
|
-
const i6 = "flex w-full flex-wrap items-center justify-between gap-xsmall gap-y-xsmall text-left", a6 = "min-w-0 flex", l6 = "text-muted", c6 = "m-0 flex
|
|
29168
|
+
const i6 = "flex w-full min-w-0 flex-wrap items-center justify-between gap-xsmall gap-y-xsmall text-left", a6 = "flex min-w-0 flex-1 basis-[12rem]", l6 = "min-w-0 truncate text-muted", c6 = "m-0 ms-auto flex max-w-full min-w-0 list-none flex-wrap items-center justify-start gap-xsmall p-0", u6 = "flex shrink-0 items-center", d6 = "inline-flex min-w-0 origin-center cursor-pointer items-center justify-center gap-xsmall rounded-mid border-0 bg-transparent px-xsmall py-xsmall font-[inherit] text-muted no-underline outline-none hover:text-foreground focus-ring disabled:cursor-not-allowed disabled:opacity-48 disabled:hover:text-muted disabled:hover:bg-transparent motion-reduce:animate-none", f6 = "inline-flex min-w-[1.75rem] items-center justify-center px-xsmall py-xsmall font-w-mid text-foreground tabular-nums text-base", m6 = "min-w-[1.75rem] tabular-nums", p6 = "inline-flex min-w-[1.75rem] items-center justify-center px-xsmall py-xsmall text-muted tabular-nums", g6 = "", h6 = "shrink-0 icon-small opacity-75", b6 = "shrink-0 icon-small opacity-75";
|
|
29141
29169
|
function _6({
|
|
29142
29170
|
slotClass: e,
|
|
29143
29171
|
className: t
|
|
@@ -30612,11 +30640,11 @@ const j3 = "w-full", q3 = {
|
|
|
30612
30640
|
toned: "",
|
|
30613
30641
|
gloss: "border-b-token"
|
|
30614
30642
|
}, n$ = "group/col", r$ = {
|
|
30615
|
-
default: "bg-secondary px-
|
|
30616
|
-
secondary: "px-
|
|
30617
|
-
toned: "px-
|
|
30618
|
-
gloss: "bg-transparent px-
|
|
30619
|
-
}, o$ = "cursor-pointer select-none hover:text-foreground", s$ = "inline-flex items-center gap-xsmall", i$ = "min-w-0 text-small text-left font-w-mid", a$ = "shrink-0 origin-center", l$ = "text-primary opacity-100", c$ = "opacity-0 group-hover/col:opacity-40 text-muted", u$ = "px-
|
|
30643
|
+
default: "bg-secondary px-mid py-plus text-secondary-foreground whitespace-nowrap",
|
|
30644
|
+
secondary: "px-mid py-plus text-secondary-foreground whitespace-nowrap",
|
|
30645
|
+
toned: "px-mid py-plus text-muted whitespace-nowrap bg-transparent",
|
|
30646
|
+
gloss: "bg-transparent px-mid py-plus text-muted whitespace-nowrap"
|
|
30647
|
+
}, o$ = "cursor-pointer select-none hover:text-foreground", s$ = "inline-flex items-center gap-xsmall", i$ = "min-w-0 text-small text-left font-w-mid", a$ = "shrink-0 origin-center", l$ = "text-primary opacity-100", c$ = "opacity-0 group-hover/col:opacity-40 text-muted", u$ = "px-mid py-mid text-center", d$ = "outline-none", f$ = {
|
|
30620
30648
|
default: "border-b-token last:border-b-0",
|
|
30621
30649
|
secondary: "border-b-token last:border-b-0",
|
|
30622
30650
|
toned: "",
|
|
@@ -30625,10 +30653,10 @@ const j3 = "w-full", q3 = {
|
|
|
30625
30653
|
zo,
|
|
30626
30654
|
"hover:bg-primary-tint focus-visible:bg-primary-tint"
|
|
30627
30655
|
), b$ = "focus-ring-inset", _$ = "text-small", S$ = {
|
|
30628
|
-
default: "px-
|
|
30629
|
-
secondary: "px-
|
|
30630
|
-
toned: "px-
|
|
30631
|
-
gloss: "px-
|
|
30656
|
+
default: "px-mid py-plus",
|
|
30657
|
+
secondary: "px-mid py-plus",
|
|
30658
|
+
toned: "px-mid py-plus first:rounded-l-mid last:rounded-r-mid",
|
|
30659
|
+
gloss: "px-mid py-plus"
|
|
30632
30660
|
}, C$ = "ring-2 ring-inset ring-primary", v$ = "hover:brightness-[0.97] motion-reduce:hover:brightness-100", y$ = "flex flex-wrap items-center justify-between gap-base border-t-token px-mid py-plus", x$ = {
|
|
30633
30661
|
default: "bg-surface text-foreground",
|
|
30634
30662
|
outline: "bg-transparent border-token text-foreground",
|
|
@@ -33706,7 +33734,7 @@ const H0 = H(function({
|
|
|
33706
33734
|
},
|
|
33707
33735
|
children: t === "wave" ? /* @__PURE__ */ d(Za, { className: s == null ? void 0 : s.wave }) : null
|
|
33708
33736
|
},
|
|
33709
|
-
|
|
33737
|
+
f
|
|
33710
33738
|
))
|
|
33711
33739
|
}
|
|
33712
33740
|
);
|
package/dist/ui.css
CHANGED
|
@@ -1711,6 +1711,10 @@
|
|
|
1711
1711
|
margin-block: var(--space-xsmall);
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
1714
|
+
.ms-auto {
|
|
1715
|
+
margin-inline-start: auto;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1714
1718
|
.mt-0 {
|
|
1715
1719
|
margin-top: calc(var(--spacing) * 0);
|
|
1716
1720
|
}
|
|
@@ -2999,6 +3003,10 @@
|
|
|
2999
3003
|
flex-shrink: 0;
|
|
3000
3004
|
}
|
|
3001
3005
|
|
|
3006
|
+
.basis-\[12rem\] {
|
|
3007
|
+
flex-basis: 12rem;
|
|
3008
|
+
}
|
|
3009
|
+
|
|
3002
3010
|
.border-collapse {
|
|
3003
3011
|
border-collapse: collapse;
|
|
3004
3012
|
}
|