@zohodesk/components 1.0.0-temp-219 → 1.0.0-temp-219.1

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.
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
2
  import { propTypes } from "./props/propTypes";
3
3
  import { defaultProps } from "./props/defaultProps";
4
+ import { ComponentCustomizer } from '@zohodesk/dotkit/es/react/components/ComponentCustomizer';
4
5
  import Label from "../Label/Label";
5
6
  import { Container, Box } from "../Layout";
6
7
  import CssProvider from "../Provider/CssProvider";
7
8
  import style from "./CheckBox.module.css";
8
- export default class CheckBox extends React.Component {
9
+
10
+ class CheckBox extends React.Component {
9
11
  constructor(props) {
10
12
  super(props);
11
13
  this.onChange = this.onChange.bind(this);
@@ -163,10 +165,15 @@ export default class CheckBox extends React.Component {
163
165
  }
164
166
 
165
167
  }
168
+
166
169
  CheckBox.defaultProps = defaultProps;
167
170
  CheckBox.propTypes = propTypes; // if (__DOCS__) {
168
171
  // CheckBox.docs = {
169
172
  // componentGroup: 'Form Elements',
170
173
  // folderName: 'Style Guide'
171
174
  // };
172
- // }
175
+ // }
176
+
177
+ export default ComponentCustomizer(CheckBox, {
178
+ name: 'CheckBox'
179
+ });
@@ -13,6 +13,8 @@ var _propTypes = require("./props/propTypes");
13
13
 
14
14
  var _defaultProps = require("./props/defaultProps");
15
15
 
16
+ var _ComponentCustomizer = require("@zohodesk/dotkit/es/react/components/ComponentCustomizer");
17
+
16
18
  var _Label = _interopRequireDefault(require("../Label/Label"));
17
19
 
18
20
  var _Layout = require("../Layout");
@@ -213,11 +215,16 @@ var CheckBox = /*#__PURE__*/function (_React$Component) {
213
215
  return CheckBox;
214
216
  }(_react["default"].Component);
215
217
 
216
- exports["default"] = CheckBox;
217
218
  CheckBox.defaultProps = _defaultProps.defaultProps;
218
219
  CheckBox.propTypes = _propTypes.propTypes; // if (__DOCS__) {
219
220
  // CheckBox.docs = {
220
221
  // componentGroup: 'Form Elements',
221
222
  // folderName: 'Style Guide'
222
223
  // };
223
- // }
224
+ // }
225
+
226
+ var _default = (0, _ComponentCustomizer.ComponentCustomizer)(CheckBox, {
227
+ name: 'CheckBox'
228
+ });
229
+
230
+ exports["default"] = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-temp-219",
3
+ "version": "1.0.0-temp-219.1",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -38,7 +38,7 @@
38
38
  "build:css:umd": "npm run clean && npm run init && react-cli build:css:umd",
39
39
  "coverage": "react-cli coverage",
40
40
  "prepare": "npm run init && npm run build && npm run rtl && npm run cssVariableConvert ",
41
- "prepublishOnly": "node prePublish.js && npm run test && npm run download && npm run css:review && npm run review:props ",
41
+ "prepublishOnly": "node prePublish.js && npm run css:review && npm run review:props ",
42
42
  "postpublish": "node postPublish.js",
43
43
  "report": "react-cli publish:report",
44
44
  "test": "react-cli test",
@@ -69,7 +69,6 @@
69
69
  "@zohodesk-private/node-plugins": "1.1.8",
70
70
  "@zohodesk-private/react-prop-validator": "1.2.3",
71
71
  "@zohodesk/a11y": "2.2.7",
72
- "@zohodesk/dotkit": "1.0.0-temp-1",
73
72
  "@zohodesk/docstool": "1.0.0-alpha-2",
74
73
  "@zohodesk/hooks": "2.0.5",
75
74
  "@zohodesk/icons": "1.0.70",
@@ -87,7 +86,6 @@
87
86
  "selectn": "1.1.2"
88
87
  },
89
88
  "peerDependencies": {
90
- "@zohodesk/dotkit": "1.0.0-temp-1",
91
89
  "@zohodesk/icons": "1.0.70",
92
90
  "@zohodesk/variables": "1.0.0",
93
91
  "@zohodesk/svg": "1.1.22",
@@ -98,4 +96,4 @@
98
96
  "@zohodesk/utils": "1.3.14",
99
97
  "@zohodesk/a11y": "2.2.7"
100
98
  }
101
- }
99
+ }