@atlaskit/checkbox 13.1.2 → 13.1.3
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 +6 -0
- package/dist/cjs/checkbox.js +2 -2
- package/dist/es2019/checkbox.js +2 -2
- package/dist/esm/checkbox.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/checkbox
|
|
2
2
|
|
|
3
|
+
## 13.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83297) [`6b1707c169e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b1707c169e0) - The internal composition of this component has changed. There is no expected change in behaviour.
|
|
8
|
+
|
|
3
9
|
## 13.1.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/checkbox.js
CHANGED
|
@@ -54,7 +54,7 @@ var checkboxStyles = (0, _react2.css)({
|
|
|
54
54
|
'&&:focus + svg, &&:checked:focus + svg': {
|
|
55
55
|
borderRadius: "var(--ds-border-radius, 0.25rem)",
|
|
56
56
|
outline: "var(--ds-border-width-outline, 2px)".concat(" solid ", "var(--ds-border-focused, ".concat(_colors.B200, ")")),
|
|
57
|
-
outlineOffset:
|
|
57
|
+
outlineOffset: "var(--ds-space-negative-025, -2px)"
|
|
58
58
|
},
|
|
59
59
|
'&:hover + svg': {
|
|
60
60
|
'--checkbox-background-color': 'var(--local-background-hover)',
|
|
@@ -167,7 +167,7 @@ var Checkbox = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef
|
|
|
167
167
|
analyticsData: analyticsContext,
|
|
168
168
|
componentName: 'checkbox',
|
|
169
169
|
packageName: "@atlaskit/checkbox",
|
|
170
|
-
packageVersion: "13.1.
|
|
170
|
+
packageVersion: "13.1.3"
|
|
171
171
|
});
|
|
172
172
|
var internalRef = (0, _react.useRef)(null);
|
|
173
173
|
var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
|
package/dist/es2019/checkbox.js
CHANGED
|
@@ -44,7 +44,7 @@ const checkboxStyles = css({
|
|
|
44
44
|
'&&:focus + svg, &&:checked:focus + svg': {
|
|
45
45
|
borderRadius: "var(--ds-border-radius, 0.25rem)",
|
|
46
46
|
outline: `${"var(--ds-border-width-outline, 2px)"} solid ${`var(--ds-border-focused, ${B200})`}`,
|
|
47
|
-
outlineOffset:
|
|
47
|
+
outlineOffset: "var(--ds-space-negative-025, -2px)"
|
|
48
48
|
},
|
|
49
49
|
'&:hover + svg': {
|
|
50
50
|
'--checkbox-background-color': 'var(--local-background-hover)',
|
|
@@ -151,7 +151,7 @@ const Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(pr
|
|
|
151
151
|
analyticsData: analyticsContext,
|
|
152
152
|
componentName: 'checkbox',
|
|
153
153
|
packageName: "@atlaskit/checkbox",
|
|
154
|
-
packageVersion: "13.1.
|
|
154
|
+
packageVersion: "13.1.3"
|
|
155
155
|
});
|
|
156
156
|
const internalRef = useRef(null);
|
|
157
157
|
const mergedRefs = mergeRefs([internalRef, ref]);
|
package/dist/esm/checkbox.js
CHANGED
|
@@ -47,7 +47,7 @@ var checkboxStyles = css({
|
|
|
47
47
|
'&&:focus + svg, &&:checked:focus + svg': {
|
|
48
48
|
borderRadius: "var(--ds-border-radius, 0.25rem)",
|
|
49
49
|
outline: "var(--ds-border-width-outline, 2px)".concat(" solid ", "var(--ds-border-focused, ".concat(B200, ")")),
|
|
50
|
-
outlineOffset:
|
|
50
|
+
outlineOffset: "var(--ds-space-negative-025, -2px)"
|
|
51
51
|
},
|
|
52
52
|
'&:hover + svg': {
|
|
53
53
|
'--checkbox-background-color': 'var(--local-background-hover)',
|
|
@@ -160,7 +160,7 @@ var Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(prop
|
|
|
160
160
|
analyticsData: analyticsContext,
|
|
161
161
|
componentName: 'checkbox',
|
|
162
162
|
packageName: "@atlaskit/checkbox",
|
|
163
|
-
packageVersion: "13.1.
|
|
163
|
+
packageVersion: "13.1.3"
|
|
164
164
|
});
|
|
165
165
|
var internalRef = useRef(null);
|
|
166
166
|
var mergedRefs = mergeRefs([internalRef, ref]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/checkbox",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.3",
|
|
4
4
|
"description": "A checkbox is an input control that allows a user to select one or more options from a number of choices.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|