@synerise/ds-checkbox-tristate 1.1.45 → 1.1.46

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.1.46](https://github.com/Synerise/synerise-design/compare/@synerise/ds-checkbox-tristate@1.1.45...@synerise/ds-checkbox-tristate@1.1.46) (2026-07-23)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-checkbox-tristate
9
+
6
10
  ## [1.1.45](https://github.com/Synerise/synerise-design/compare/@synerise/ds-checkbox-tristate@1.1.44...@synerise/ds-checkbox-tristate@1.1.45) (2026-06-27)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-checkbox-tristate
package/CLAUDE.md ADDED
@@ -0,0 +1,54 @@
1
+ # CheckboxTristate (`@synerise/ds-checkbox-tristate`)
2
+
3
+ > **DEPRECATED.** Thin wrapper that forwards all props to `<Checkbox tristate />` from `@synerise/ds-checkbox`. Do not use in new code.
4
+
5
+ ## Migration
6
+
7
+ Replace all uses of this package with `@synerise/ds-checkbox`:
8
+
9
+ ```tsx
10
+ // ❌ deprecated
11
+ import CheckboxTristate from '@synerise/ds-checkbox-tristate';
12
+ <CheckboxTristate checked={value} onChange={handler} />
13
+
14
+ // ✅ use instead
15
+ import Checkbox from '@synerise/ds-checkbox';
16
+ <Checkbox tristate checked={value} onChange={handler} />
17
+ ```
18
+
19
+ Types are also re-exported from `@synerise/ds-checkbox`:
20
+
21
+ ```tsx
22
+ // ❌ deprecated
23
+ import type { CheckboxTristateChangeEvent } from '@synerise/ds-checkbox-tristate';
24
+
25
+ // ✅ use instead
26
+ import type { CheckboxTristateChangeEvent } from '@synerise/ds-checkbox';
27
+ ```
28
+
29
+ ## Package structure
30
+
31
+ ```
32
+ src/
33
+ CheckboxTristate.tsx — @deprecated wrapper: renders <Checkbox tristate {...props} />
34
+ CheckboxTristate.types.ts — @deprecated re-exports of ds-checkbox types
35
+ index.ts — @deprecated public exports (all marked @deprecated in JSDoc)
36
+ ```
37
+
38
+ ## Public exports (all deprecated)
39
+
40
+ ### `CheckboxTristate` (default)
41
+
42
+ `@deprecated` — wraps `<Checkbox tristate />`. Accepts `Omit<CheckboxTristateProps, 'tristate'>` — same props as `<Checkbox tristate />` without the `tristate` flag itself. See `@synerise/ds-checkbox` CLAUDE.md for the full prop reference.
43
+
44
+ ### Types (deprecated re-exports)
45
+
46
+ | Export | Description |
47
+ |--------|-------------|
48
+ | `CheckboxTristateProps` | `@deprecated` — re-export of `Omit<BaseCheckboxTristateProps, 'tristate'>` from `ds-checkbox` |
49
+ | `CheckboxTristateChangeEvent` | `@deprecated` — re-export of the same type from `ds-checkbox` |
50
+ | `CheckboxTristateChangeEventTarget` | `@deprecated` — re-export of the same type from `ds-checkbox` |
51
+
52
+ ## Key dependencies
53
+
54
+ - `@synerise/ds-checkbox` — the actual implementation; this package is purely a compatibility shim
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-checkbox-tristate",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "description": "Checkbox Tristate UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -21,6 +21,7 @@
21
21
  "files": [
22
22
  "/dist",
23
23
  "CHANGELOG.md",
24
+ "CLAUDE.md",
24
25
  "README.md",
25
26
  "package.json",
26
27
  "LICENSE.md"
@@ -45,7 +46,7 @@
45
46
  ],
46
47
  "types": "dist/index.d.ts",
47
48
  "dependencies": {
48
- "@synerise/ds-checkbox": "^1.2.35"
49
+ "@synerise/ds-checkbox": "^1.2.36"
49
50
  },
50
51
  "devDependencies": {
51
52
  "vitest": "4"
@@ -55,5 +56,5 @@
55
56
  "react": ">=16.9.0 <= 18.3.1",
56
57
  "vitest": "4"
57
58
  },
58
- "gitHead": "dfd892acc1d02abebcf661db3fb32f0fc4b6c354"
59
+ "gitHead": "d0a43cc43d8528a36f105aceea52ab470edb71d9"
59
60
  }