@dt-dds/react-checkbox 1.0.0-beta.63 → 1.0.0-beta.65
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 +22 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @dt-ui/react-checkbox
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.65
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore: update to ESLint 10
|
|
8
|
+
- chore: update to ESLint 9
|
|
9
|
+
- fix: default icon type in themes
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @dt-dds/react-core@1.0.0-beta.60
|
|
14
|
+
- @dt-dds/react-icon@1.0.0-beta.64
|
|
15
|
+
- @dt-dds/themes@1.0.0-beta.15
|
|
16
|
+
|
|
17
|
+
## 1.0.0-beta.64
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- fix: add displayName to Icon and IconButton for production builds
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @dt-dds/react-icon@1.0.0-beta.63
|
|
24
|
+
|
|
3
25
|
## 1.0.0-beta.63
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -262,7 +262,7 @@ var Checkbox = (0, import_react.forwardRef)(
|
|
|
262
262
|
const maxSingleLineHeight = LABEL_LINE_HEIGHT[size] + LABEL_HEIGHT_BUFFER;
|
|
263
263
|
const isWrapped = el.offsetHeight > maxSingleLineHeight;
|
|
264
264
|
labelContainer.style.alignItems = isWrapped ? "flex-start" : "center";
|
|
265
|
-
}, [label, children]);
|
|
265
|
+
}, [label, children, size]);
|
|
266
266
|
const handleChange = (event) => {
|
|
267
267
|
if (isDisabled) return;
|
|
268
268
|
onChange == null ? void 0 : onChange(event);
|
package/dist/index.mjs
CHANGED
|
@@ -234,7 +234,7 @@ var Checkbox = forwardRef(
|
|
|
234
234
|
const maxSingleLineHeight = LABEL_LINE_HEIGHT[size] + LABEL_HEIGHT_BUFFER;
|
|
235
235
|
const isWrapped = el.offsetHeight > maxSingleLineHeight;
|
|
236
236
|
labelContainer.style.alignItems = isWrapped ? "flex-start" : "center";
|
|
237
|
-
}, [label, children]);
|
|
237
|
+
}, [label, children, size]);
|
|
238
238
|
const handleChange = (event) => {
|
|
239
239
|
if (isDisabled) return;
|
|
240
240
|
onChange == null ? void 0 : onChange(event);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-dds/react-checkbox",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.65",
|
|
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.
|
|
24
|
-
"@dt-dds/react-icon": "1.0.0-beta.
|
|
25
|
-
"@dt-dds/themes": "1.0.0-beta.
|
|
23
|
+
"@dt-dds/react-core": "1.0.0-beta.60",
|
|
24
|
+
"@dt-dds/react-icon": "1.0.0-beta.64",
|
|
25
|
+
"@dt-dds/themes": "1.0.0-beta.15"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/core": "^7.22.9",
|