@commercetools-uikit/checkbox-input 19.26.0 → 20.0.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.
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
6
6
  var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
7
7
  var _styled = require('@emotion/styled/base');
8
- var _pt = require('prop-types');
9
8
  var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
10
9
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
11
10
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
@@ -24,7 +23,6 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
24
23
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
25
24
 
26
25
  var _styled__default = /*#__PURE__*/_interopDefault(_styled);
27
- var _pt__default = /*#__PURE__*/_interopDefault(_pt);
28
26
  var _filterInstanceProperty__default = /*#__PURE__*/_interopDefault(_filterInstanceProperty);
29
27
  var _Object$keys__default = /*#__PURE__*/_interopDefault(_Object$keys);
30
28
  var _Object$getOwnPropertySymbols__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertySymbols);
@@ -267,24 +265,11 @@ const CheckboxInput = _ref => {
267
265
  })]
268
266
  });
269
267
  };
270
- CheckboxInput.propTypes = process.env.NODE_ENV !== "production" ? {
271
- id: _pt__default["default"].string,
272
- name: _pt__default["default"].string,
273
- value: _pt__default["default"].string,
274
- isChecked: _pt__default["default"].bool,
275
- isIndeterminate: _pt__default["default"].bool,
276
- onChange: _pt__default["default"].func.isRequired,
277
- isHovered: _pt__default["default"].bool,
278
- isDisabled: _pt__default["default"].bool,
279
- isReadOnly: _pt__default["default"].bool,
280
- hasError: _pt__default["default"].bool,
281
- children: _pt__default["default"].node
282
- } : {};
283
268
  CheckboxInput.displayName = 'CheckboxInput';
284
269
  var CheckboxInput$1 = CheckboxInput;
285
270
 
286
271
  // NOTE: This string will be replaced on build time with the package version.
287
- var version = "19.26.0";
272
+ var version = "20.0.0";
288
273
 
289
274
  exports["default"] = CheckboxInput$1;
290
275
  exports.version = version;
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
6
6
  var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
7
7
  var _styled = require('@emotion/styled/base');
8
- require('prop-types');
9
8
  var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
10
9
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
11
10
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
@@ -257,12 +256,11 @@ const CheckboxInput = _ref => {
257
256
  })]
258
257
  });
259
258
  };
260
- CheckboxInput.propTypes = {};
261
259
  CheckboxInput.displayName = 'CheckboxInput';
262
260
  var CheckboxInput$1 = CheckboxInput;
263
261
 
264
262
  // NOTE: This string will be replaced on build time with the package version.
265
- var version = "19.26.0";
263
+ var version = "20.0.0";
266
264
 
267
265
  exports["default"] = CheckboxInput$1;
268
266
  exports.version = version;
@@ -1,7 +1,6 @@
1
1
  import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
2
2
  import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
3
3
  import _styled from '@emotion/styled/base';
4
- import _pt from 'prop-types';
5
4
  import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/filter';
6
5
  import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
7
6
  import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
@@ -250,23 +249,10 @@ const CheckboxInput = _ref => {
250
249
  })]
251
250
  });
252
251
  };
253
- CheckboxInput.propTypes = process.env.NODE_ENV !== "production" ? {
254
- id: _pt.string,
255
- name: _pt.string,
256
- value: _pt.string,
257
- isChecked: _pt.bool,
258
- isIndeterminate: _pt.bool,
259
- onChange: _pt.func.isRequired,
260
- isHovered: _pt.bool,
261
- isDisabled: _pt.bool,
262
- isReadOnly: _pt.bool,
263
- hasError: _pt.bool,
264
- children: _pt.node
265
- } : {};
266
252
  CheckboxInput.displayName = 'CheckboxInput';
267
253
  var CheckboxInput$1 = CheckboxInput;
268
254
 
269
255
  // NOTE: This string will be replaced on build time with the package version.
270
- var version = "19.26.0";
256
+ var version = "20.0.0";
271
257
 
272
258
  export { CheckboxInput$1 as default, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/checkbox-input",
3
3
  "description": "An input component that works as checkbox input.",
4
- "version": "19.26.0",
4
+ "version": "20.0.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -24,20 +24,19 @@
24
24
  "dependencies": {
25
25
  "@babel/runtime": "^7.20.13",
26
26
  "@babel/runtime-corejs3": "^7.20.13",
27
- "@commercetools-uikit/design-system": "19.26.0",
28
- "@commercetools-uikit/icons": "19.26.0",
29
- "@commercetools-uikit/input-utils": "19.26.0",
30
- "@commercetools-uikit/select-utils": "19.26.0",
31
- "@commercetools-uikit/utils": "19.26.0",
27
+ "@commercetools-uikit/design-system": "20.0.0",
28
+ "@commercetools-uikit/icons": "20.0.0",
29
+ "@commercetools-uikit/input-utils": "20.0.0",
30
+ "@commercetools-uikit/select-utils": "20.0.0",
31
+ "@commercetools-uikit/utils": "20.0.0",
32
32
  "@emotion/react": "^11.10.5",
33
33
  "@emotion/styled": "^11.10.5",
34
- "prop-types": "15.8.1",
35
- "react-intl": "^6.3.2"
34
+ "react-intl": "^7.1.4"
36
35
  },
37
36
  "devDependencies": {
38
- "react": "17.0.2"
37
+ "react": "19.0.0"
39
38
  },
40
39
  "peerDependencies": {
41
- "react": "17.x"
40
+ "react": "19.x"
42
41
  }
43
42
  }