@synerise/ds-checkbox 1.1.9 → 1.2.0
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,17 @@
|
|
|
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.2.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-checkbox@1.1.9...@synerise/ds-checkbox@1.2.0) (2025-10-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **list-item:** submenu and header ([71fa4bf](https://github.com/synerise/synerise-design/commit/71fa4bfadd5fdb52d61dfe8fe87a9e47567e5d16))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.1.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-checkbox@1.1.8...@synerise/ds-checkbox@1.1.9) (2025-09-25)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-checkbox
|
|
@@ -6,7 +6,7 @@ type CompoundedComponent = React.ForwardRefExoticComponent<CheckboxProps & React
|
|
|
6
6
|
Group: typeof BaseAntCheckbox.Group;
|
|
7
7
|
};
|
|
8
8
|
export declare const AntdCheckbox: import("styled-components").StyledComponent<CompoundedComponent, any, {
|
|
9
|
-
solo: boolean;
|
|
9
|
+
$solo: boolean;
|
|
10
10
|
}, never>;
|
|
11
11
|
export declare const AdditionalData: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
12
|
export declare const CheckboxWrapper: import("styled-components").StyledComponent<"div", any, {
|
package/dist/Checkbox.styles.js
CHANGED
|
@@ -15,7 +15,7 @@ export var AntdCheckbox = styled(BaseAntCheckbox).withConfig({
|
|
|
15
15
|
displayName: "Checkboxstyles__AntdCheckbox",
|
|
16
16
|
componentId: "sc-10i9aa0-0"
|
|
17
17
|
})(["&&{display:flex;align-items:center;line-height:1;", ";.ant-checkbox{top:0;}}.ant-checkbox-input:focus + .ant-checkbox-inner{border:1px solid ", ";box-shadow:inset 0 0 0 1px ", ";}&& > .ant-checkbox-disabled.ant-checkbox-checked > span.ant-checkbox-inner{background-image:", ";}&& > .ant-checkbox-checked > span.ant-checkbox-inner{background-image:", ";::after{display:none;}:focus{border:none;}}&&{> .ant-checkbox-indeterminate,.ant-checkbox-indeterminate.ant-checkbox-checked{> span.ant-checkbox-inner{background-color:", ";border:1px solid ", ";background-image:none;::after{background:#fff;height:2px;display:table;left:50%;}}}:hover{> .ant-checkbox-indeterminate,.ant-checkbox-indeterminate.ant-checkbox-checked{> span.ant-checkbox-inner{background-color:", ";}}}}&&:hover > .ant-checkbox:not(.ant-checkbox-checked):not( .ant-checkbox-indeterminate ):not(.ant-checkbox-disabled) > span.ant-checkbox-inner{border-width:1px;border-style:solid;border-color:", " !important;outline:none;background-image:", ";}"], function (props) {
|
|
18
|
-
return props
|
|
18
|
+
return props.$solo && soloCss;
|
|
19
19
|
}, function (props) {
|
|
20
20
|
return props.theme.palette['blue-600'];
|
|
21
21
|
}, function (props) {
|
|
@@ -16,7 +16,7 @@ export var CheckboxBase = function CheckboxBase(_ref) {
|
|
|
16
16
|
withoutPadding: Boolean(withoutPadding)
|
|
17
17
|
}, /*#__PURE__*/React.createElement(S.AntdCheckbox, _extends({}, antdCheckboxProps, {
|
|
18
18
|
className: hasError || errorText ? 'error' : undefined,
|
|
19
|
-
solo: !children && !errorText && !description
|
|
19
|
+
$solo: !children && !errorText && !description
|
|
20
20
|
}), children), (errorText || description) && /*#__PURE__*/React.createElement(S.AdditionalData, null, errorText && /*#__PURE__*/React.createElement(ErrorText, null, errorText), description && /*#__PURE__*/React.createElement(Description, {
|
|
21
21
|
disabled: antdCheckboxProps.disabled
|
|
22
22
|
}, description)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-checkbox",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Checkbox UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"*.less"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-typography": "^1.0.
|
|
37
|
+
"@synerise/ds-typography": "^1.0.22"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@synerise/ds-core": "*",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"react": ">=16.9.0 <= 18.3.1",
|
|
43
43
|
"styled-components": "^5.3.3"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "4e09fc37fa21ff2e27655e7bb305b136db0ca199"
|
|
46
46
|
}
|