@atlaskit/checkbox 17.1.16 → 17.1.17
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 +1 -1
- package/dist/cjs/internal/checkbox-icon.js +1 -5
- package/dist/es2019/checkbox.js +1 -1
- package/dist/es2019/internal/checkbox-icon.js +1 -5
- package/dist/esm/checkbox.js +1 -1
- package/dist/esm/internal/checkbox-icon.js +1 -5
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/dist/cjs/checkbox.js
CHANGED
|
@@ -77,7 +77,7 @@ var Checkbox = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef
|
|
|
77
77
|
analyticsData: analyticsContext,
|
|
78
78
|
componentName: 'checkbox',
|
|
79
79
|
packageName: "@atlaskit/checkbox",
|
|
80
|
-
packageVersion: "
|
|
80
|
+
packageVersion: "17.1.16"
|
|
81
81
|
});
|
|
82
82
|
var internalRef = (0, _react.useRef)(null);
|
|
83
83
|
var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
|
|
@@ -15,7 +15,6 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
15
15
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
16
|
function getIcon(isIndeterminate, isChecked) {
|
|
17
17
|
if (isIndeterminate) {
|
|
18
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
19
18
|
if ((0, _platformFeatureFlags.fg)('platform-visual-refresh-icons')) {
|
|
20
19
|
return /*#__PURE__*/React.createElement("path", {
|
|
21
20
|
fillRule: "evenodd",
|
|
@@ -35,7 +34,6 @@ function getIcon(isIndeterminate, isChecked) {
|
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
if (isChecked) {
|
|
38
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
39
37
|
if ((0, _platformFeatureFlags.fg)('platform-visual-refresh-icons')) {
|
|
40
38
|
return /*#__PURE__*/React.createElement("path", {
|
|
41
39
|
fillRule: "evenodd",
|
|
@@ -78,9 +76,7 @@ var CheckboxIcon = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
78
76
|
secondaryColor: "var(--checkbox-tick-color)"
|
|
79
77
|
}, /*#__PURE__*/React.createElement("g", {
|
|
80
78
|
fillRule: "evenodd"
|
|
81
|
-
},
|
|
82
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
83
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement("rect", {
|
|
79
|
+
}, (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement("rect", {
|
|
84
80
|
fill: "currentColor",
|
|
85
81
|
x: "5.5",
|
|
86
82
|
y: "5.5",
|
package/dist/es2019/checkbox.js
CHANGED
|
@@ -59,7 +59,7 @@ const Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox({
|
|
|
59
59
|
analyticsData: analyticsContext,
|
|
60
60
|
componentName: 'checkbox',
|
|
61
61
|
packageName: "@atlaskit/checkbox",
|
|
62
|
-
packageVersion: "
|
|
62
|
+
packageVersion: "17.1.16"
|
|
63
63
|
});
|
|
64
64
|
const internalRef = useRef(null);
|
|
65
65
|
const mergedRefs = mergeRefs([internalRef, ref]);
|
|
@@ -6,7 +6,6 @@ import PrimitiveSVGIcon from '@atlaskit/icon/svg';
|
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
7
|
function getIcon(isIndeterminate, isChecked) {
|
|
8
8
|
if (isIndeterminate) {
|
|
9
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
10
9
|
if (fg('platform-visual-refresh-icons')) {
|
|
11
10
|
return /*#__PURE__*/React.createElement("path", {
|
|
12
11
|
fillRule: "evenodd",
|
|
@@ -26,7 +25,6 @@ function getIcon(isIndeterminate, isChecked) {
|
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
if (isChecked) {
|
|
29
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
30
28
|
if (fg('platform-visual-refresh-icons')) {
|
|
31
29
|
return /*#__PURE__*/React.createElement("path", {
|
|
32
30
|
fillRule: "evenodd",
|
|
@@ -68,9 +66,7 @@ const CheckboxIcon = /*#__PURE__*/memo(({
|
|
|
68
66
|
secondaryColor: "var(--checkbox-tick-color)"
|
|
69
67
|
}, /*#__PURE__*/React.createElement("g", {
|
|
70
68
|
fillRule: "evenodd"
|
|
71
|
-
},
|
|
72
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
73
|
-
fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement("rect", {
|
|
69
|
+
}, fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement("rect", {
|
|
74
70
|
fill: "currentColor",
|
|
75
71
|
x: "5.5",
|
|
76
72
|
y: "5.5",
|
package/dist/esm/checkbox.js
CHANGED
|
@@ -68,7 +68,7 @@ var Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(_ref
|
|
|
68
68
|
analyticsData: analyticsContext,
|
|
69
69
|
componentName: 'checkbox',
|
|
70
70
|
packageName: "@atlaskit/checkbox",
|
|
71
|
-
packageVersion: "
|
|
71
|
+
packageVersion: "17.1.16"
|
|
72
72
|
});
|
|
73
73
|
var internalRef = useRef(null);
|
|
74
74
|
var mergedRefs = mergeRefs([internalRef, ref]);
|
|
@@ -6,7 +6,6 @@ import PrimitiveSVGIcon from '@atlaskit/icon/svg';
|
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
7
|
function getIcon(isIndeterminate, isChecked) {
|
|
8
8
|
if (isIndeterminate) {
|
|
9
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
10
9
|
if (fg('platform-visual-refresh-icons')) {
|
|
11
10
|
return /*#__PURE__*/React.createElement("path", {
|
|
12
11
|
fillRule: "evenodd",
|
|
@@ -26,7 +25,6 @@ function getIcon(isIndeterminate, isChecked) {
|
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
if (isChecked) {
|
|
29
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
30
28
|
if (fg('platform-visual-refresh-icons')) {
|
|
31
29
|
return /*#__PURE__*/React.createElement("path", {
|
|
32
30
|
fillRule: "evenodd",
|
|
@@ -69,9 +67,7 @@ var CheckboxIcon = /*#__PURE__*/memo(function (_ref) {
|
|
|
69
67
|
secondaryColor: "var(--checkbox-tick-color)"
|
|
70
68
|
}, /*#__PURE__*/React.createElement("g", {
|
|
71
69
|
fillRule: "evenodd"
|
|
72
|
-
},
|
|
73
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
74
|
-
fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement("rect", {
|
|
70
|
+
}, fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement("rect", {
|
|
75
71
|
fill: "currentColor",
|
|
76
72
|
x: "5.5",
|
|
77
73
|
y: "5.5",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/checkbox",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.17",
|
|
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/"
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
|
-
"@atlaskit/css": "^0.
|
|
36
|
+
"@atlaskit/css": "^0.15.0",
|
|
37
37
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
38
|
-
"@atlaskit/icon": "^28.
|
|
38
|
+
"@atlaskit/icon": "^28.5.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/theme": "^21.0.0",
|
|
41
|
-
"@atlaskit/tokens": "^6.
|
|
41
|
+
"@atlaskit/tokens": "^6.5.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@compiled/react": "^0.18.3"
|
|
44
44
|
},
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"@af/accessibility-testing": "workspace:^",
|
|
50
50
|
"@af/integration-testing": "workspace:^",
|
|
51
51
|
"@af/visual-regression": "workspace:^",
|
|
52
|
-
"@atlaskit/button": "^23.
|
|
52
|
+
"@atlaskit/button": "^23.5.0",
|
|
53
53
|
"@atlaskit/docs": "^11.1.0",
|
|
54
54
|
"@atlaskit/form": "^14.2.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
|
-
"@atlaskit/primitives": "^
|
|
56
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
57
57
|
"@atlaskit/section-message": "^8.7.0",
|
|
58
58
|
"@atlaskit/ssr": "workspace:^",
|
|
59
59
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|