@zohodesk/components 1.2.55 → 1.2.56

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/README.md CHANGED
@@ -32,6 +32,11 @@ In this Package, we Provide Some Basic Components to Build Web App
32
32
  - TextBoxIcon
33
33
  - Tooltip
34
34
 
35
+ # 1.2.56
36
+
37
+ - **CheckBox**
38
+ - `data-selector-id` passing to Container component changed to `dataSelectorId`
39
+
35
40
  # 1.2.55
36
41
 
37
42
  - **ListItemWithAvatar**
@@ -92,7 +92,7 @@ export default class CheckBox extends React.Component {
92
92
  "aria-label": ariaLabel,
93
93
  "aria-labelledby": ariaLabelledby,
94
94
  "aria-hidden": ariaHidden,
95
- "data-selector-id": dataSelectorId || id,
95
+ dataSelectorId: dataSelectorId || id,
96
96
  ...CheckBoxProps
97
97
  }, /*#__PURE__*/React.createElement(Box, {
98
98
  className: `${style.boxContainer} ${style[size]} ${customCBoxSize} ${isFilled ? style.filled : ''} ${!isEditable ? `${style[`disabled`]}` : ''}`
@@ -120,7 +120,7 @@ exports[`CheckBox component Should be render ID 1`] = `
120
120
  class="container pointer primary
121
121
  flex rowdir vCenter"
122
122
  data-id="checkBox"
123
- data-selector-id="container"
123
+ data-selector-id="checkBoxId"
124
124
  data-test-id="checkBox"
125
125
  role="checkbox"
126
126
  tabindex="0"
@@ -229,7 +229,7 @@ exports[`CheckBox component Should be render dataSelectorId 1`] = `
229
229
  class="container pointer primary
230
230
  inflex rowdir vCenter"
231
231
  data-id="checkBox"
232
- data-selector-id="container"
232
+ data-selector-id="dataSelectorIdCheck"
233
233
  data-test-id="checkBox"
234
234
  role="checkbox"
235
235
  tabindex="0"
@@ -143,7 +143,7 @@ var CheckBox = /*#__PURE__*/function (_React$Component) {
143
143
  "aria-label": ariaLabel,
144
144
  "aria-labelledby": ariaLabelledby,
145
145
  "aria-hidden": ariaHidden,
146
- "data-selector-id": dataSelectorId || id
146
+ dataSelectorId: dataSelectorId || id
147
147
  }, CheckBoxProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
148
148
  className: "".concat(_CheckBoxModule["default"].boxContainer, " ").concat(_CheckBoxModule["default"][size], " ").concat(customCBoxSize, " ").concat(isFilled ? _CheckBoxModule["default"].filled : '', " ").concat(!isEditable ? "".concat(_CheckBoxModule["default"]["disabled"]) : '')
149
149
  }, /*#__PURE__*/_react["default"].createElement("input", {
@@ -120,7 +120,7 @@ exports[`CheckBox component Should be render ID 1`] = `
120
120
  class="container pointer primary
121
121
  flex rowdir vCenter"
122
122
  data-id="checkBox"
123
- data-selector-id="container"
123
+ data-selector-id="checkBoxId"
124
124
  data-test-id="checkBox"
125
125
  role="checkbox"
126
126
  tabindex="0"
@@ -229,7 +229,7 @@ exports[`CheckBox component Should be render dataSelectorId 1`] = `
229
229
  class="container pointer primary
230
230
  inflex rowdir vCenter"
231
231
  data-id="checkBox"
232
- data-selector-id="container"
232
+ data-selector-id="dataSelectorIdCheck"
233
233
  data-test-id="checkBox"
234
234
  role="checkbox"
235
235
  tabindex="0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.2.55",
3
+ "version": "1.2.56",
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 download && 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",