@appquality/unguess-design-system 2.10.7 → 2.10.10

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,3 +1,39 @@
1
+ # v2.10.10 (Thu May 05 2022)
2
+
3
+ #### ⚠️ Pushed to `master`
4
+
5
+ - test checkbox value ([@cannarocks](https://github.com/cannarocks))
6
+
7
+ #### Authors: 1
8
+
9
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
10
+
11
+ ---
12
+
13
+ # v2.10.9 (Thu May 05 2022)
14
+
15
+ #### ⚠️ Pushed to `master`
16
+
17
+ - test(checkbox): test onChange callback ([@cannarocks](https://github.com/cannarocks))
18
+
19
+ #### Authors: 1
20
+
21
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
22
+
23
+ ---
24
+
25
+ # v2.10.8 (Thu May 05 2022)
26
+
27
+ #### ⚠️ Pushed to `master`
28
+
29
+ - feat(contentcard): update content card padding ([@cannarocks](https://github.com/cannarocks))
30
+
31
+ #### Authors: 1
32
+
33
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
34
+
35
+ ---
36
+
1
37
  # v2.10.7 (Wed May 04 2022)
2
38
 
3
39
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -353,7 +353,7 @@ var ContentCard = styled__default["default"](reactNotifications.Well)(templateOb
353
353
  return theme.borderRadii.lg;
354
354
  }, function (_a) {
355
355
  var theme = _a.theme;
356
- return theme.components.notification.card.padding;
356
+ return theme.space.xxl;
357
357
  }, function (_a) {
358
358
  var theme = _a.theme;
359
359
  return theme.palette.grey["200"];
@@ -1155,7 +1155,7 @@ var CheckboxCard = function (props) {
1155
1155
  var handleToggle = function () {
1156
1156
  setChecked(!checked);
1157
1157
  };
1158
- return (jsxRuntime.jsxs(StyledCard$1, __assign({}, props.card, props, props && !props.disabled && { onClick: handleToggle }, { className: checked ? "card-active" : "" }, { children: [jsxRuntime.jsx(IconWrapper$1, { children: (props.iconActive && checked) ? props.iconActive : props.icon }), jsxRuntime.jsx(LabelWrapper, { children: props.label }), jsxRuntime.jsx(Checkbox, __assign({}, props, { checked: checked, onClick: function (e) { return e.stopPropagation(); } }, { children: jsxRuntime.jsx(StyledLabel, __assign({ hidden: true }, { children: props.label })) }))] })));
1158
+ return (jsxRuntime.jsxs(StyledCard$1, __assign({}, props.card, props, props && !props.disabled && { onClick: handleToggle }, { className: checked ? "card-active" : "" }, { children: [jsxRuntime.jsx(IconWrapper$1, { children: (props.iconActive && checked) ? props.iconActive : props.icon }), jsxRuntime.jsx(LabelWrapper, { children: props.label }), jsxRuntime.jsx(Checkbox, __assign({}, props, { checked: checked, value: checked ? 1 : 0, onChange: props.onChange, onClick: function (e) { return e.stopPropagation(); } }, { children: jsxRuntime.jsx(StyledLabel, __assign({ hidden: true }, { children: props.label })) }))] })));
1159
1159
  };
1160
1160
  var templateObject_1$G, templateObject_2$e, templateObject_3$9, templateObject_4$5;
1161
1161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.10.7",
3
+ "version": "2.10.10",
4
4
  "dependencies": {
5
5
  "@zendeskgarden/css-bedrock": "^9.0.0",
6
6
  "@zendeskgarden/react-accordions": "^8.49.0",