@synerise/ds-checkbox-tristate 1.1.29 → 1.1.31

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,14 @@
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.31](https://github.com/Synerise/synerise-design/compare/@synerise/ds-checkbox-tristate@1.1.30...@synerise/ds-checkbox-tristate@1.1.31) (2026-03-24)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-checkbox-tristate
9
+
10
+ ## [1.1.30](https://github.com/Synerise/synerise-design/compare/@synerise/ds-checkbox-tristate@1.1.29...@synerise/ds-checkbox-tristate@1.1.30) (2026-03-20)
11
+
12
+ **Note:** Version bump only for package @synerise/ds-checkbox-tristate
13
+
6
14
  ## [1.1.29](https://github.com/Synerise/synerise-design/compare/@synerise/ds-checkbox-tristate@1.1.28...@synerise/ds-checkbox-tristate@1.1.29) (2026-03-09)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-checkbox-tristate
package/README.md CHANGED
@@ -3,6 +3,8 @@ id: checkbox-tristate
3
3
  title: CheckboxTristate
4
4
  ---
5
5
 
6
+ > **DEPRECATED.** Use `<Checkbox tristate />` from `@synerise/ds-checkbox` instead. This package is a thin compatibility shim and will be removed in a future release.
7
+
6
8
  CheckboxTristate UI Component - Expands Checkbox to third undefined state.
7
9
 
8
10
  ## Installation
@@ -38,9 +40,9 @@ import CheckboxTristate, { CheckboxTristateChangeEvent } from '@synerise/ds-chec
38
40
  | autoFocus | Get focus when component mounted | boolean | `false` |
39
41
  | checked | Specifies whether the checkbox is selected or indeterminate | boolean | undefined | `undefined` |
40
42
  | defaultChecked | Specifies the initial state: whether or not the checkbox is selected. | boolean | `false` |
41
- | description | Checkbox description | string | - |
43
+ | description | Checkbox description | ReactNode | - |
42
44
  | disabled | Disable checkbox | boolean | `false` |
43
- | errorText | Error message, if provided sets error state on checkbox | string | - |
45
+ | errorText | Error message, if provided sets error state on checkbox | ReactNode | - |
44
46
  | hasError | Determines if checkbox is in error state | boolean | `false` |
45
47
  | onChange | The callback function that is triggered when the state changes. | (e:CheckboxTristateChangeEvent)=>void | - |
46
48
  | withoutPadding | Reset padding of CheckboxWrapper | boolean | `false` |
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { type CheckboxTristateProps } from '@synerise/ds-checkbox';
1
+ import { default as React } from 'react';
2
+ import { CheckboxTristateProps } from '@synerise/ds-checkbox';
3
3
  /**
4
4
  * @deprecated - use <Checkbox tristate /> from @synerise/ds-checkbox instead
5
5
  */
@@ -1,13 +1,8 @@
1
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
- import React from 'react';
3
- import Checkbox from '@synerise/ds-checkbox';
4
-
5
- /**
6
- * @deprecated - use <Checkbox tristate /> from @synerise/ds-checkbox instead
7
- */
8
- var CheckboxTristate = function CheckboxTristate(props) {
9
- return /*#__PURE__*/React.createElement(Checkbox, _extends({
10
- tristate: true
11
- }, props));
1
+ import { jsx } from "react/jsx-runtime";
2
+ import Checkbox from "@synerise/ds-checkbox";
3
+ const CheckboxTristate = (props) => {
4
+ return /* @__PURE__ */ jsx(Checkbox, { tristate: true, ...props });
5
+ };
6
+ export {
7
+ CheckboxTristate as default
12
8
  };
13
- export default CheckboxTristate;
@@ -1,4 +1,4 @@
1
- import type { CheckboxTristateChangeEvent as BaseCheckboxTristateChangeEvent, CheckboxTristateChangeEventTarget as BaseCheckboxTristateChangeEventTarget, CheckboxTristateProps as BaseCheckboxTristateProps } from '@synerise/ds-checkbox';
1
+ import { CheckboxTristateChangeEvent as BaseCheckboxTristateChangeEvent, CheckboxTristateChangeEventTarget as BaseCheckboxTristateChangeEventTarget, CheckboxTristateProps as BaseCheckboxTristateProps } from '@synerise/ds-checkbox';
2
2
  /**
3
3
  * @deprecated import from @synerise/ds-checkbox
4
4
  */
@@ -1 +1 @@
1
- export {};
1
+
package/dist/index.js CHANGED
@@ -1,14 +1,4 @@
1
- /**
2
- * @deprecated - use @synerise/ds-checkbox package instead
3
- */
4
- export * from './CheckboxTristate';
5
-
6
- /**
7
- * @deprecated - use @synerise/ds-checkbox package instead
8
- */
9
- export * from './CheckboxTristate.types';
10
-
11
- /**
12
- * @deprecated - use <Checkbox tristate /> from @synerise/ds-checkbox instead
13
- */
14
- export { default } from './CheckboxTristate';
1
+ import { default as default2 } from "./CheckboxTristate.js";
2
+ export {
3
+ default2 as default
4
+ };
package/dist/modules.d.js CHANGED
@@ -1 +1 @@
1
- import '@testing-library/jest-dom';
1
+ import "@testing-library/jest-dom";
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-checkbox-tristate",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "description": "Checkbox Tristate UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -20,10 +20,10 @@
20
20
  "access": "public"
21
21
  },
22
22
  "scripts": {
23
- "build": "pnpm run build:js && pnpm run build:css && pnpm run defs",
23
+ "build": "vite build",
24
24
  "build:css": "node ../../../scripts/style/less.js",
25
25
  "build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
26
- "build:watch": "pnpm run build:js -- --watch",
26
+ "build:watch": "vite build --watch",
27
27
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
28
28
  "pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
29
29
  "prepublish": "pnpm run build",
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "types": "dist/index.d.ts",
41
41
  "dependencies": {
42
- "@synerise/ds-checkbox": "^1.2.19"
42
+ "@synerise/ds-checkbox": "^1.2.21"
43
43
  },
44
44
  "devDependencies": {
45
45
  "vitest": "4"
@@ -49,5 +49,5 @@
49
49
  "antd": "4.24.16",
50
50
  "react": ">=16.9.0 <= 18.3.1"
51
51
  },
52
- "gitHead": "8dfafc5d7278f09d430f1e7499782d05c76b47c0"
52
+ "gitHead": "e4ecca8944fc9b41c1b9d59c8bcad5e5e2013225"
53
53
  }