@atlaskit/checkbox 17.1.17 → 17.1.19
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 +12 -15
- package/dist/cjs/checkbox.js +1 -1
- package/dist/es2019/checkbox.js +1 -1
- package/dist/esm/checkbox.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/checkbox
|
|
2
2
|
|
|
3
|
+
## 17.1.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 17.1.18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 17.1.17
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1253,7 +1265,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1253
1265
|
|
|
1254
1266
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1255
1267
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1256
|
-
|
|
1257
1268
|
- @atlaskit/docs@8.3.2
|
|
1258
1269
|
- @atlaskit/visual-regression@0.1.9
|
|
1259
1270
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1413,7 +1424,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1413
1424
|
- [major][97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
|
|
1414
1425
|
|
|
1415
1426
|
`@atlaskit/checkbox` **10.x** includes the following changes:
|
|
1416
|
-
|
|
1417
1427
|
- Replaced previous theme implementation with new `@atlaskit/theme` v2 implementation
|
|
1418
1428
|
- Please read more about this implementation in the
|
|
1419
1429
|
[theming guide](https://atlaskit.atlassian.com/packages/core/theme/docs/theming-guide)
|
|
@@ -1497,12 +1507,10 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1497
1507
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1498
1508
|
|
|
1499
1509
|
**Breaking changes**
|
|
1500
|
-
|
|
1501
1510
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1502
1511
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1503
1512
|
|
|
1504
1513
|
**Breaking changes to TypeScript annotations**
|
|
1505
|
-
|
|
1506
1514
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1507
1515
|
props as a generic type.
|
|
1508
1516
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1543,7 +1551,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1543
1551
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
1544
1552
|
|
|
1545
1553
|
In this PR, we are:
|
|
1546
|
-
|
|
1547
1554
|
- Re-introducing dist build folders
|
|
1548
1555
|
- Adding back cjs
|
|
1549
1556
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -1634,7 +1641,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1634
1641
|
## 8.0.0
|
|
1635
1642
|
|
|
1636
1643
|
- [major][70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
|
|
1637
|
-
|
|
1638
1644
|
- Checkbox has been converted to Typescript. Typescript consumers will now get static type safety.
|
|
1639
1645
|
Flow types are no longer provided. No API or behavioural changes.
|
|
1640
1646
|
|
|
@@ -1650,7 +1656,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1650
1656
|
## 7.0.0
|
|
1651
1657
|
|
|
1652
1658
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1653
|
-
|
|
1654
1659
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1655
1660
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1656
1661
|
|
|
@@ -1680,7 +1685,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1680
1685
|
## 6.0.2
|
|
1681
1686
|
|
|
1682
1687
|
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
1683
|
-
|
|
1684
1688
|
- Removes duplicate babel-runtime dependency
|
|
1685
1689
|
|
|
1686
1690
|
## 6.0.1
|
|
@@ -1698,7 +1702,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1698
1702
|
## 6.0.0
|
|
1699
1703
|
|
|
1700
1704
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1701
|
-
|
|
1702
1705
|
- Drop ES5 from all the flow modules
|
|
1703
1706
|
|
|
1704
1707
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -1743,19 +1746,16 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1743
1746
|
## 5.0.14
|
|
1744
1747
|
|
|
1745
1748
|
- [patch][c0ad531a70](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0ad531a70):
|
|
1746
|
-
|
|
1747
1749
|
- Added test to make use props are passed down to hidden input
|
|
1748
1750
|
|
|
1749
1751
|
## 5.0.13
|
|
1750
1752
|
|
|
1751
1753
|
- [patch][3ae465b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3ae465b6f0):
|
|
1752
|
-
|
|
1753
1754
|
- fix for checkbox logging error on mount
|
|
1754
1755
|
|
|
1755
1756
|
## 5.0.12
|
|
1756
1757
|
|
|
1757
1758
|
- [patch][b0153ee6c9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0153ee6c9):
|
|
1758
|
-
|
|
1759
1759
|
- Enabled the isRequired validation on checkbox and added the asterisk after the checkbox label to
|
|
1760
1760
|
signify the required field
|
|
1761
1761
|
|
|
@@ -1771,7 +1771,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1771
1771
|
## 5.0.10
|
|
1772
1772
|
|
|
1773
1773
|
- [patch][fad28be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fad28be):
|
|
1774
|
-
|
|
1775
1774
|
- Fixing invalid type for checkbox id prop
|
|
1776
1775
|
|
|
1777
1776
|
## 5.0.9
|
|
@@ -1882,13 +1881,11 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
1882
1881
|
|
|
1883
1882
|
`@atlaskit/checkbox` no longer exports a CheckboxGroup component. It has been removed for the
|
|
1884
1883
|
following reasons:
|
|
1885
|
-
|
|
1886
1884
|
- It was really a thin wrapper enforcing very basic styling opinions over its children (display:
|
|
1887
1885
|
flex, flex: column).
|
|
1888
1886
|
- The existing styling blocks the horizontal display of checkbox group children.
|
|
1889
1887
|
|
|
1890
1888
|
**Prop Changes**
|
|
1891
|
-
|
|
1892
1889
|
- `<Checkbox/>` - `initiallyChecked` renamed to `defaultChecked`
|
|
1893
1890
|
- `<Checkbox/>` - `label` prop now accepts type Node instead of type string.
|
|
1894
1891
|
- `<Checkbox/>` - `isChecked` is now an optional boolean prop on the Checkbox component.
|
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: "17.1.
|
|
80
|
+
packageVersion: "17.1.18"
|
|
81
81
|
});
|
|
82
82
|
var internalRef = (0, _react.useRef)(null);
|
|
83
83
|
var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
|
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: "17.1.
|
|
62
|
+
packageVersion: "17.1.18"
|
|
63
63
|
});
|
|
64
64
|
const internalRef = useRef(null);
|
|
65
65
|
const mergedRefs = mergeRefs([internalRef, ref]);
|
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: "17.1.
|
|
71
|
+
packageVersion: "17.1.18"
|
|
72
72
|
});
|
|
73
73
|
var internalRef = useRef(null);
|
|
74
74
|
var mergedRefs = mergeRefs([internalRef, ref]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/checkbox",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.19",
|
|
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/"
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
36
|
"@atlaskit/css": "^0.15.0",
|
|
37
|
-
"@atlaskit/ds-lib": "^5.
|
|
37
|
+
"@atlaskit/ds-lib": "^5.2.0",
|
|
38
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": "^
|
|
41
|
+
"@atlaskit/tokens": "^8.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
|
-
"@compiled/react": "^0.18.
|
|
43
|
+
"@compiled/react": "^0.18.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "^18.2.0"
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"@af/accessibility-testing": "workspace:^",
|
|
50
50
|
"@af/integration-testing": "workspace:^",
|
|
51
51
|
"@af/visual-regression": "workspace:^",
|
|
52
|
-
"@atlaskit/button": "^23.
|
|
53
|
-
"@atlaskit/docs": "^11.
|
|
52
|
+
"@atlaskit/button": "^23.6.0",
|
|
53
|
+
"@atlaskit/docs": "^11.2.0",
|
|
54
54
|
"@atlaskit/form": "^14.2.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
|
-
"@atlaskit/primitives": "^
|
|
57
|
-
"@atlaskit/section-message": "^8.
|
|
56
|
+
"@atlaskit/primitives": "^16.1.0",
|
|
57
|
+
"@atlaskit/section-message": "^8.9.0",
|
|
58
58
|
"@atlaskit/ssr": "workspace:^",
|
|
59
|
-
"@atlassian/feature-flags-test-utils": "^0.
|
|
60
|
-
"@atlassian/ssr-tests": "
|
|
59
|
+
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
60
|
+
"@atlassian/ssr-tests": "workspace:^",
|
|
61
61
|
"@testing-library/react": "^13.4.0",
|
|
62
62
|
"jscodeshift": "^17.0.0",
|
|
63
63
|
"react-dom": "^18.2.0",
|