@still-forest/canopy 0.51.0 → 0.51.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.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
2
3
  import { ClassProp } from 'class-variance-authority/types';
3
4
  import { ClassValue } from 'clsx';
4
5
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
@@ -219,9 +220,11 @@ declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div"
219
220
 
220
221
  declare type CardTitleProps = React.ComponentProps<typeof CardTitle>;
221
222
 
222
- export declare const Checkbox: ({ label, name, value, checked, onCheckedChange, note, error, labelClassName, hint, }: CheckboxProps) => JSX.Element;
223
+ export declare const Checkbox: ({ label, name, value, checked, onCheckedChange, note, error, labelClassName, hint, ...props }: CheckboxProps) => JSX.Element;
223
224
 
224
- export declare interface CheckboxProps {
225
+ declare function Checkbox_2({ className, ...props }: React_2.ComponentProps<typeof CheckboxPrimitive.Root>): JSX.Element;
226
+
227
+ export declare interface CheckboxProps extends React.ComponentProps<typeof Checkbox_2> {
225
228
  label: string;
226
229
  labelClassName?: string;
227
230
  name: string;
package/dist/index.js CHANGED
@@ -8868,7 +8868,7 @@ const Mx = ({
8868
8868
  className: t,
8869
8869
  position: n = "outside",
8870
8870
  type: r = "unordered",
8871
- variant: o = "muted",
8871
+ variant: o = "default",
8872
8872
  ...a
8873
8873
  }) => /* @__PURE__ */ l.jsx(
8874
8874
  "ul",
@@ -10392,32 +10392,34 @@ const CS = ({
10392
10392
  note: a,
10393
10393
  error: s,
10394
10394
  labelClassName: i,
10395
- hint: c
10395
+ hint: c,
10396
+ ...d
10396
10397
  }) => {
10397
- const [d, f] = Be(r);
10398
+ const [f, u] = Be(r);
10398
10399
  Jt(() => {
10399
- f(r);
10400
+ u(r);
10400
10401
  }, [r]);
10401
- let u = t;
10402
- const p = n || t;
10403
- n && (u += `[${n}]`);
10404
- const h = (x) => {
10405
- f(x), o?.(x);
10402
+ let p = t;
10403
+ const h = n || t;
10404
+ n && (p += `[${n}]`);
10405
+ const x = (g) => {
10406
+ u(g), o?.(g);
10406
10407
  };
10407
10408
  return /* @__PURE__ */ l.jsxs(se, { direction: "col", children: [
10408
10409
  /* @__PURE__ */ l.jsxs(se, { align: "center", gap: "2", children: [
10409
10410
  /* @__PURE__ */ l.jsx(
10410
10411
  yy,
10411
10412
  {
10412
- checked: d,
10413
+ checked: f,
10413
10414
  className: "bg-background",
10414
- id: u,
10415
+ id: p,
10415
10416
  name: t,
10416
- onCheckedChange: h,
10417
- value: p
10417
+ onCheckedChange: x,
10418
+ value: h,
10419
+ ...d
10418
10420
  }
10419
10421
  ),
10420
- /* @__PURE__ */ l.jsx(_e, { className: S("cursor-pointer", i), htmlFor: u, children: e }),
10422
+ /* @__PURE__ */ l.jsx(_e, { className: S("cursor-pointer", i), htmlFor: p, children: e }),
10421
10423
  c && /* @__PURE__ */ l.jsx(Nt, { content: c })
10422
10424
  ] }),
10423
10425
  (a || s) && /* @__PURE__ */ l.jsxs(se, { className: "ml-6", direction: "col", gap: "2", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@still-forest/canopy",
3
- "version": "0.51.0",
3
+ "version": "0.51.2",
4
4
  "author": "John Szymanowski",
5
5
  "license": "MIT",
6
6
  "description": "React components, built with Tailwind CSS, Shadcn, and VisX",
@@ -57,43 +57,43 @@
57
57
  "@radix-ui/react-tooltip": "^1.2.8",
58
58
  "cmdk": "^1.1.1",
59
59
  "date-fns": "^4.1.0",
60
- "lucide-react": "^0.555.0",
60
+ "lucide-react": "^0.562.0",
61
61
  "react-day-picker": "^9.9.0",
62
62
  "react-router": "^7.8.2",
63
63
  "vaul": "^1.1.2"
64
64
  },
65
65
  "devDependencies": {
66
- "@biomejs/biome": "2.3.7",
66
+ "@biomejs/biome": "2.3.10",
67
67
  "@still-forest/biomejs-config": "2.2.0",
68
- "@storybook/addon-docs": "10.1.2",
69
- "@storybook/addon-themes": "10.1.2",
70
- "@storybook/builder-vite": "10.1.2",
71
- "@storybook/react-vite": "10.1.2",
72
- "@tailwindcss/vite": "4.1.17",
68
+ "@storybook/addon-docs": "10.1.11",
69
+ "@storybook/addon-themes": "10.1.11",
70
+ "@storybook/builder-vite": "10.1.11",
71
+ "@storybook/react-vite": "10.1.11",
72
+ "@tailwindcss/vite": "4.1.18",
73
73
  "@testing-library/jest-dom": "6.9.1",
74
- "@testing-library/react": "16.3.0",
74
+ "@testing-library/react": "16.3.1",
75
75
  "@testing-library/user-event": "14.6.1",
76
- "@types/node": "24.10.1",
76
+ "@types/node": "24.10.4",
77
77
  "@types/react": "19.2.7",
78
78
  "@types/react-dom": "19.2.3",
79
- "@vitejs/plugin-react": "5.1.0",
80
- "@vitest/browser": "3.2.4",
81
- "@vitest/coverage-v8": "3.2.4",
79
+ "@vitejs/plugin-react": "5.1.2",
80
+ "@vitest/browser": "4.0.16",
81
+ "@vitest/coverage-v8": "4.0.16",
82
82
  "class-variance-authority": "0.7.1",
83
83
  "clsx": "2.1.1",
84
- "jsdom": "27.2.0",
85
- "react": "19.2.0",
86
- "react-dom": "19.2.0",
87
- "release-it": "19.0.6",
88
- "storybook": "10.1.2",
84
+ "jsdom": "27.4.0",
85
+ "react": "19.2.3",
86
+ "react-dom": "19.2.3",
87
+ "release-it": "19.2.2",
88
+ "storybook": "10.1.11",
89
89
  "tailwind-merge": "3.4.0",
90
- "tailwindcss": "4.1.17",
90
+ "tailwindcss": "4.1.18",
91
91
  "tw-animate-css": "1.4.0",
92
92
  "typescript": "5.9.3",
93
- "vite": "7.2.2",
93
+ "vite": "7.3.0",
94
94
  "vite-plugin-dts": "4.5.4",
95
95
  "vite-plugin-lib-inject-css": "2.2.2",
96
- "vitest": "3.2.4"
96
+ "vitest": "4.0.16"
97
97
  },
98
98
  "peerDependencies": {
99
99
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
@@ -101,10 +101,10 @@
101
101
  "tailwindcss": "^4.0.0",
102
102
  "tw-animate-css": "^1.0.0"
103
103
  },
104
- "packageManager": "pnpm@10.23.0",
104
+ "packageManager": "pnpm@10.27.0",
105
105
  "pnpm": {
106
106
  "overrides": {
107
- "rollup": "4.44.1"
107
+ "rollup": "4.54.0"
108
108
  }
109
109
  }
110
110
  }