@still-forest/canopy 0.48.1 → 0.48.2
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/index.js +10 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10440,7 +10440,7 @@ function iy({ className: e, ...t }) {
|
|
|
10440
10440
|
Xc,
|
|
10441
10441
|
{
|
|
10442
10442
|
className: C(
|
|
10443
|
-
"peer border-input
|
|
10443
|
+
"peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
10444
10444
|
e
|
|
10445
10445
|
),
|
|
10446
10446
|
"data-slot": "checkbox",
|
|
@@ -13487,7 +13487,7 @@ const dS = ({ onDateSelection: e, initialValue: t, className: n, size: r = "defa
|
|
|
13487
13487
|
tt,
|
|
13488
13488
|
{
|
|
13489
13489
|
className: C(
|
|
13490
|
-
"w-[280px] justify-start text-left font-normal bg-
|
|
13490
|
+
"w-[280px] justify-start text-left font-normal bg-background",
|
|
13491
13491
|
!a && "text-muted-foreground",
|
|
13492
13492
|
n
|
|
13493
13493
|
),
|
|
@@ -13518,9 +13518,9 @@ const dS = ({ onDateSelection: e, initialValue: t, className: n, size: r = "defa
|
|
|
13518
13518
|
...u
|
|
13519
13519
|
}) => {
|
|
13520
13520
|
const p = C(
|
|
13521
|
-
"flex w-full min-w-0 rounded-md border border-input bg-
|
|
13521
|
+
"flex w-full min-w-0 rounded-md border border-input bg-background px-3 py-1 shadow-xs outline-none",
|
|
13522
13522
|
"transition-[color,box-shadow] selection:bg-primary selection:text-primary-foreground file:inline-flex ",
|
|
13523
|
-
"file:h-7 file:border-0 file:bg-
|
|
13523
|
+
"file:h-7 file:border-0 file:bg-background file:font-medium file:text-foreground file:text-sm",
|
|
13524
13524
|
"placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
13525
13525
|
"dark:bg-input/30 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
|
|
13526
13526
|
"aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
|
|
@@ -13566,7 +13566,7 @@ function h1({ className: e, ...t }) {
|
|
|
13566
13566
|
"textarea",
|
|
13567
13567
|
{
|
|
13568
13568
|
className: C(
|
|
13569
|
-
"border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-
|
|
13569
|
+
"border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
13570
13570
|
e
|
|
13571
13571
|
),
|
|
13572
13572
|
"data-slot": "textarea",
|
|
@@ -13579,7 +13579,7 @@ function g1({ className: e, ...t }) {
|
|
|
13579
13579
|
"div",
|
|
13580
13580
|
{
|
|
13581
13581
|
className: C(
|
|
13582
|
-
"group/input-group border-input
|
|
13582
|
+
"group/input-group border-input dark:bg-input/30 relative flex w-full items-center rounded-md border shadow-xs transition-[color,box-shadow] outline-none",
|
|
13583
13583
|
"h-9 min-w-0 has-[>textarea]:h-auto",
|
|
13584
13584
|
// Variants based on alignment.
|
|
13585
13585
|
"has-[>[data-align=inline-start]]:[&>input]:pl-2",
|
|
@@ -13695,14 +13695,7 @@ const S1 = ({
|
|
|
13695
13695
|
children: o
|
|
13696
13696
|
}) => /* @__PURE__ */ l.jsxs(ie, { direction: "col", gap: "2", children: [
|
|
13697
13697
|
e && /* @__PURE__ */ l.jsx(He, { className: r, htmlFor: t, children: e }),
|
|
13698
|
-
/* @__PURE__ */ l.jsx(
|
|
13699
|
-
ie,
|
|
13700
|
-
{
|
|
13701
|
-
className: C("rounded-md border border-input bg-input/30 dark:bg-input/30 p-2 shadow-xs", n),
|
|
13702
|
-
gapY: "1",
|
|
13703
|
-
children: o
|
|
13704
|
-
}
|
|
13705
|
-
)
|
|
13698
|
+
/* @__PURE__ */ l.jsx(ie, { className: C("rounded-md border border-input bg-background p-2 shadow-xs", n), gapY: "1", children: o })
|
|
13706
13699
|
] }), N1 = ({
|
|
13707
13700
|
name: e,
|
|
13708
13701
|
label: t,
|
|
@@ -13981,7 +13974,7 @@ function W1({ className: e, ...t }) {
|
|
|
13981
13974
|
I1,
|
|
13982
13975
|
{
|
|
13983
13976
|
className: C(
|
|
13984
|
-
"border-input
|
|
13977
|
+
"border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
13985
13978
|
e
|
|
13986
13979
|
),
|
|
13987
13980
|
"data-slot": "radio-group-item",
|
|
@@ -14016,7 +14009,7 @@ function L1({ className: e, ...t }) {
|
|
|
14016
14009
|
"select",
|
|
14017
14010
|
{
|
|
14018
14011
|
className: C(
|
|
14019
|
-
"border-input placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 dark:hover:bg-input/50 h-9 w-full min-w-0 appearance-none rounded-md border bg-
|
|
14012
|
+
"border-input placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 dark:hover:bg-input/50 h-9 w-full min-w-0 appearance-none rounded-md border bg-transparent px-3 py-2 pr-9 text-sm shadow-xs transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed",
|
|
14020
14013
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
14021
14014
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
14022
14015
|
e
|
|
@@ -15215,7 +15208,7 @@ const wk = ({
|
|
|
15215
15208
|
return j ? p(j) : n;
|
|
15216
15209
|
}, [t, n, p, y]), k = (j) => {
|
|
15217
15210
|
r(j === t ? "" : j), b(!1);
|
|
15218
|
-
}, N = C("bg-
|
|
15211
|
+
}, N = C("bg-background", i);
|
|
15219
15212
|
return /* @__PURE__ */ l.jsxs(ie, { direction: "col", gap: "2", children: [
|
|
15220
15213
|
(o || d) && /* @__PURE__ */ l.jsxs(ie, { align: "center", direction: "row", gap: "1", children: [
|
|
15221
15214
|
o && /* @__PURE__ */ l.jsx(He, { className: s, htmlFor: a, children: o }),
|