@dt-dds/react-checkbox 1.0.0-beta.43 → 1.0.0-beta.44

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
@@ -1,5 +1,15 @@
1
1
  # @dt-ui/react-checkbox
2
2
 
3
+ ## 1.0.0-beta.44
4
+
5
+ ### Patch Changes
6
+
7
+ - chore(dependencies): upgrade builders versions
8
+ - Updated dependencies
9
+ - @dt-dds/react-core@1.0.0-beta.45
10
+ - @dt-dds/react-icon@1.0.0-beta.46
11
+ - @dt-dds/themes@1.0.0-beta.5
12
+
3
13
  ## 1.0.0-beta.43
4
14
 
5
15
  ### Patch Changes
@@ -0,0 +1,18 @@
1
+ import { CustomTheme } from '@dt-dds/themes';
2
+ import * as react from 'react';
3
+ import { ComponentPropsWithRef, ChangeEvent } from 'react';
4
+ import { BaseProps } from '@dt-dds/react-core';
5
+
6
+ interface CheckBoxProps extends BaseProps, ComponentPropsWithRef<'input'> {
7
+ onChange?: (evt: ChangeEvent<HTMLInputElement>) => void;
8
+ isChecked?: boolean;
9
+ isDisabled?: boolean;
10
+ }
11
+ declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckBoxProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
12
+
13
+ declare module '@emotion/react' {
14
+ interface Theme extends CustomTheme {
15
+ }
16
+ }
17
+
18
+ export { type CheckBoxProps, Checkbox };
package/dist/index.d.ts CHANGED
@@ -15,4 +15,4 @@ declare module '@emotion/react' {
15
15
  }
16
16
  }
17
17
 
18
- export { CheckBoxProps, Checkbox };
18
+ export { type CheckBoxProps, Checkbox };
package/dist/index.js CHANGED
@@ -54,11 +54,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
54
54
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
55
55
 
56
56
  // index.ts
57
- var checkbox_exports = {};
58
- __export(checkbox_exports, {
57
+ var index_exports = {};
58
+ __export(index_exports, {
59
59
  Checkbox: () => Checkbox
60
60
  });
61
- module.exports = __toCommonJS(checkbox_exports);
61
+ module.exports = __toCommonJS(index_exports);
62
62
 
63
63
  // src/Checkbox.tsx
64
64
  var import_react_icon = require("@dt-dds/react-icon");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-dds/react-checkbox",
3
- "version": "1.0.0-beta.43",
3
+ "version": "1.0.0-beta.44",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
@@ -20,9 +20,9 @@
20
20
  "test:update:snapshot": "jest -u"
21
21
  },
22
22
  "dependencies": {
23
- "@dt-dds/react-core": "1.0.0-beta.44",
24
- "@dt-dds/react-icon": "1.0.0-beta.45",
25
- "@dt-dds/themes": "1.0.0-beta.4"
23
+ "@dt-dds/react-core": "1.0.0-beta.45",
24
+ "@dt-dds/react-icon": "1.0.0-beta.46",
25
+ "@dt-dds/themes": "1.0.0-beta.5"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@babel/core": "^7.22.9",
@@ -43,7 +43,7 @@
43
43
  "react": "^18.1.0",
44
44
  "react-dom": "^18.2.0",
45
45
  "tsconfig": "*",
46
- "tsup": "^6.6.3",
46
+ "tsup": "^8.5.0",
47
47
  "typescript": "^4.5.3"
48
48
  },
49
49
  "peerDependencies": {