@still-forest/canopy 0.47.0 → 0.47.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.
Files changed (2) hide show
  1. package/dist/index.js +11 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9962,7 +9962,7 @@ const iS = ({
9962
9962
  Ex,
9963
9963
  {
9964
9964
  checked: d,
9965
- className: "bg-input/30 dark:bg-input/30",
9965
+ className: "bg-input dark:bg-input",
9966
9966
  id: u,
9967
9967
  name: t,
9968
9968
  onCheckedChange: h,
@@ -12967,7 +12967,7 @@ const cS = ({ onDateSelection: e, initialValue: t, className: n, size: r = "defa
12967
12967
  ft,
12968
12968
  {
12969
12969
  className: C(
12970
- "w-[280px] justify-start text-left font-normal bg-input/30 dark:bg-input/30",
12970
+ "w-[280px] justify-start text-left font-normal bg-input dark:bg-input",
12971
12971
  !a && "text-muted-foreground",
12972
12972
  n
12973
12973
  ),
@@ -12998,11 +12998,11 @@ const cS = ({ onDateSelection: e, initialValue: t, className: n, size: r = "defa
12998
12998
  ...u
12999
12999
  }) => {
13000
13000
  const p = C(
13001
- "flex w-full min-w-0 rounded-md border border-input bg-input/30 px-3 py-1 shadow-xs outline-none",
13001
+ "flex w-full min-w-0 rounded-md border border-input bg-input px-3 py-1 shadow-xs outline-none",
13002
13002
  "transition-[color,box-shadow] selection:bg-primary selection:text-primary-foreground file:inline-flex ",
13003
- "file:h-7 file:border-0 file:bg-input/30 file:font-medium file:text-foreground file:text-sm",
13003
+ "file:h-7 file:border-0 file:bg-input file:font-medium file:text-foreground file:text-sm",
13004
13004
  "placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
13005
- "dark:bg-input/30 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
13005
+ "dark:bg-input focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
13006
13006
  "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
13007
13007
  c === "xs" && "h-7 text-xs md:text-xs",
13008
13008
  c === "sm" && "h-8 text-sm md:text-xs",
@@ -13132,7 +13132,7 @@ function F0({ className: e, ...t }) {
13132
13132
  }
13133
13133
  );
13134
13134
  }
13135
- const it = ({ children: e, className: t, ...n }) => /* @__PURE__ */ l.jsx(_0, { className: C("bg-input/30 dark:bg-input/30", t), ...n, children: e }), W0 = ({ className: e, size: t = "xs", variant: n = "ghost", ...r }) => /* @__PURE__ */ l.jsx(
13135
+ const it = ({ children: e, className: t, ...n }) => /* @__PURE__ */ l.jsx(_0, { className: C("bg-input dark:bg-input", t), ...n, children: e }), W0 = ({ className: e, size: t = "xs", variant: n = "ghost", ...r }) => /* @__PURE__ */ l.jsx(
13136
13136
  ft,
13137
13137
  {
13138
13138
  className: C("shadow-none flex gap-2 items-center", e),
@@ -13218,14 +13218,7 @@ const Je = ({ htmlFor: e, value: t, children: n, size: r = "md", className: o =
13218
13218
  children: o
13219
13219
  }) => /* @__PURE__ */ l.jsxs(le, { direction: "col", gap: "2", children: [
13220
13220
  e && /* @__PURE__ */ l.jsx(Je, { className: r, htmlFor: t, children: e }),
13221
- /* @__PURE__ */ l.jsx(
13222
- le,
13223
- {
13224
- className: C("rounded-md border border-input bg-input/30 dark:bg-input/30 p-2 shadow-xs", n),
13225
- gapY: "1",
13226
- children: o
13227
- }
13228
- )
13221
+ /* @__PURE__ */ l.jsx(le, { className: C("rounded-md border border-input bg-input dark:bg-input p-2 shadow-xs", n), gapY: "1", children: o })
13229
13222
  ] }), U0 = ({
13230
13223
  name: e,
13231
13224
  label: t,
@@ -13522,7 +13515,7 @@ function i1({ className: e, ...t }) {
13522
13515
  }
13523
13516
  const fS = ({ label: e, name: t, options: n, value: r, onChange: o, error: a, labelClassName: s }) => /* @__PURE__ */ l.jsxs(Y0, { className: "flex flex-col gap-4 px-2 py-1", label: e, labelFor: t, children: [
13524
13517
  /* @__PURE__ */ l.jsx(s1, { className: "w-full", name: t, onValueChange: o, value: r, children: /* @__PURE__ */ l.jsx($c, { cols: "2", children: n.map((i, c) => /* @__PURE__ */ l.jsxs(le, { align: "center", gap: "2", justify: "start", children: [
13525
- /* @__PURE__ */ l.jsx(i1, { id: i.value, value: i.value }),
13518
+ /* @__PURE__ */ l.jsx(i1, { className: "bg-input dark:bg-input", id: i.value, value: i.value }),
13526
13519
  /* @__PURE__ */ l.jsx(Je, { className: s, htmlFor: i.value, children: i.label }),
13527
13520
  i.hint && /* @__PURE__ */ l.jsx(ln, { content: i.hint })
13528
13521
  ] }, c)) }) }),
@@ -13588,7 +13581,7 @@ const mS = ({
13588
13581
  p === "md" && "h-9 text-sm",
13589
13582
  p === "lg" && "h-10 text-base",
13590
13583
  p === "xl" && "h-11 text-lg",
13591
- "bg-input/30 dark:bg-input/30",
13584
+ "bg-input dark:bg-input",
13592
13585
  c
13593
13586
  ), v = n.some((y) => "options" in y), w = (y) => {
13594
13587
  f?.(y.target.value);
@@ -15150,7 +15143,7 @@ const wk = ({ label: e, options: t, onSelect: n, selectedValue: r }) => /* @__PU
15150
15143
  return S ? u(S) : n;
15151
15144
  }, [t, n, u, v]), y = (S) => {
15152
15145
  r(S === t ? "" : S), h(!1);
15153
- }, k = C("bg-input/30 dark:bg-input/30", i);
15146
+ }, k = C("bg-input dark:bg-input", i);
15154
15147
  return /* @__PURE__ */ l.jsxs(le, { direction: "col", gap: "2", children: [
15155
15148
  (o || c) && /* @__PURE__ */ l.jsxs(le, { align: "center", direction: "row", gap: "1", children: [
15156
15149
  o && /* @__PURE__ */ l.jsx(Je, { className: s, htmlFor: a, children: o }),
@@ -15912,7 +15905,7 @@ function Kk({
15912
15905
  A0,
15913
15906
  {
15914
15907
  "aria-label": e || t,
15915
- className: C("bg-input/30 dark:bg-input/30", o),
15908
+ className: C("bg-input dark:bg-input", o),
15916
15909
  id: t,
15917
15910
  name: t,
15918
15911
  placeholder: r,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@still-forest/canopy",
3
- "version": "0.47.0",
3
+ "version": "0.47.1",
4
4
  "author": "John Szymanowski",
5
5
  "license": "MIT",
6
6
  "description": "React components, built with Tailwind CSS, Shadcn, and VisX",