@atlaskit/checkbox 17.1.17 → 17.1.18

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
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/checkbox
2
2
 
3
+ ## 17.1.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 17.1.17
4
10
 
5
11
  ### Patch Changes
@@ -1253,7 +1259,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1253
1259
 
1254
1260
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
1255
1261
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1256
-
1257
1262
  - @atlaskit/docs@8.3.2
1258
1263
  - @atlaskit/visual-regression@0.1.9
1259
1264
  - @atlaskit/analytics-next@6.3.5
@@ -1413,7 +1418,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1413
1418
  - [major][97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
1414
1419
 
1415
1420
  `@atlaskit/checkbox` **10.x** includes the following changes:
1416
-
1417
1421
  - Replaced previous theme implementation with new `@atlaskit/theme` v2 implementation
1418
1422
  - Please read more about this implementation in the
1419
1423
  [theming guide](https://atlaskit.atlassian.com/packages/core/theme/docs/theming-guide)
@@ -1497,12 +1501,10 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1497
1501
  safety. Flow types are no longer provided. No behavioural changes.
1498
1502
 
1499
1503
  **Breaking changes**
1500
-
1501
1504
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
1502
1505
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
1503
1506
 
1504
1507
  **Breaking changes to TypeScript annotations**
1505
-
1506
1508
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
1507
1509
  props as a generic type.
1508
1510
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -1543,7 +1545,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1543
1545
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
1544
1546
 
1545
1547
  In this PR, we are:
1546
-
1547
1548
  - Re-introducing dist build folders
1548
1549
  - Adding back cjs
1549
1550
  - Replacing es5 by cjs and es2015 by esm
@@ -1634,7 +1635,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1634
1635
  ## 8.0.0
1635
1636
 
1636
1637
  - [major][70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
1637
-
1638
1638
  - Checkbox has been converted to Typescript. Typescript consumers will now get static type safety.
1639
1639
  Flow types are no longer provided. No API or behavioural changes.
1640
1640
 
@@ -1650,7 +1650,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1650
1650
  ## 7.0.0
1651
1651
 
1652
1652
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1653
-
1654
1653
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
1655
1654
  this package, please ensure you use at least this version of react and react-dom.
1656
1655
 
@@ -1680,7 +1679,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1680
1679
  ## 6.0.2
1681
1680
 
1682
1681
  - [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
1683
-
1684
1682
  - Removes duplicate babel-runtime dependency
1685
1683
 
1686
1684
  ## 6.0.1
@@ -1698,7 +1696,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1698
1696
  ## 6.0.0
1699
1697
 
1700
1698
  - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
1701
-
1702
1699
  - Drop ES5 from all the flow modules
1703
1700
 
1704
1701
  ### Dropping CJS support in all @atlaskit packages
@@ -1743,19 +1740,16 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1743
1740
  ## 5.0.14
1744
1741
 
1745
1742
  - [patch][c0ad531a70](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0ad531a70):
1746
-
1747
1743
  - Added test to make use props are passed down to hidden input
1748
1744
 
1749
1745
  ## 5.0.13
1750
1746
 
1751
1747
  - [patch][3ae465b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3ae465b6f0):
1752
-
1753
1748
  - fix for checkbox logging error on mount
1754
1749
 
1755
1750
  ## 5.0.12
1756
1751
 
1757
1752
  - [patch][b0153ee6c9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0153ee6c9):
1758
-
1759
1753
  - Enabled the isRequired validation on checkbox and added the asterisk after the checkbox label to
1760
1754
  signify the required field
1761
1755
 
@@ -1771,7 +1765,6 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1771
1765
  ## 5.0.10
1772
1766
 
1773
1767
  - [patch][fad28be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fad28be):
1774
-
1775
1768
  - Fixing invalid type for checkbox id prop
1776
1769
 
1777
1770
  ## 5.0.9
@@ -1882,13 +1875,11 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
1882
1875
 
1883
1876
  `@atlaskit/checkbox` no longer exports a CheckboxGroup component. It has been removed for the
1884
1877
  following reasons:
1885
-
1886
1878
  - It was really a thin wrapper enforcing very basic styling opinions over its children (display:
1887
1879
  flex, flex: column).
1888
1880
  - The existing styling blocks the horizontal display of checkbox group children.
1889
1881
 
1890
1882
  **Prop Changes**
1891
-
1892
1883
  - `<Checkbox/>` - `initiallyChecked` renamed to `defaultChecked`
1893
1884
  - `<Checkbox/>` - `label` prop now accepts type Node instead of type string.
1894
1885
  - `<Checkbox/>` - `isChecked` is now an optional boolean prop on the Checkbox component.
@@ -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.16"
80
+ packageVersion: "17.1.17"
81
81
  });
82
82
  var internalRef = (0, _react.useRef)(null);
83
83
  var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
@@ -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.16"
62
+ packageVersion: "17.1.17"
63
63
  });
64
64
  const internalRef = useRef(null);
65
65
  const mergedRefs = mergeRefs([internalRef, ref]);
@@ -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.16"
71
+ packageVersion: "17.1.17"
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.17",
3
+ "version": "17.1.18",
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/"
@@ -38,9 +38,9 @@
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": "^6.5.0",
41
+ "@atlaskit/tokens": "^7.0.0",
42
42
  "@babel/runtime": "^7.0.0",
43
- "@compiled/react": "^0.18.3"
43
+ "@compiled/react": "^0.18.6"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": "^18.2.0"
@@ -50,7 +50,7 @@
50
50
  "@af/integration-testing": "workspace:^",
51
51
  "@af/visual-regression": "workspace:^",
52
52
  "@atlaskit/button": "^23.5.0",
53
- "@atlaskit/docs": "^11.1.0",
53
+ "@atlaskit/docs": "^11.2.0",
54
54
  "@atlaskit/form": "^14.2.0",
55
55
  "@atlaskit/link": "^3.2.0",
56
56
  "@atlaskit/primitives": "^15.0.0",