@commercetools-uikit/view-switcher 17.0.0 → 17.1.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.
@@ -1,3 +1,3 @@
1
1
  export * from "./declarations/src/index";
2
2
  export { default } from "./declarations/src/index";
3
- //# sourceMappingURL=commercetools-uikit-view-switcher.cjs.d.ts.map
3
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy11aWtpdC12aWV3LXN3aXRjaGVyLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -111,8 +111,8 @@ const ViewSwitcher$1 = props => {
111
111
  }
112
112
  if (!isButtonActive) {
113
113
  var _child$props$onClick, _child$props, _props$onChange;
114
- (_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 ? void 0 : _child$props$onClick.call(_child$props, child.props.value);
115
- (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, child.props.value);
114
+ (_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props, child.props.value);
115
+ (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, child.props.value);
116
116
  }
117
117
  },
118
118
  isCondensed: props.isCondensed,
@@ -139,7 +139,7 @@ ViewSwitcher$1.propTypes = process.env.NODE_ENV !== "production" ? {
139
139
  var Group = ViewSwitcher$1;
140
140
 
141
141
  // NOTE: This string will be replaced on build time with the package version.
142
- var version = "17.0.0";
142
+ var version = "17.1.0";
143
143
 
144
144
  const ViewSwitcher = {
145
145
  Group,
@@ -86,8 +86,8 @@ const ViewSwitcher$1 = props => {
86
86
  }
87
87
  if (!isButtonActive) {
88
88
  var _child$props$onClick, _child$props, _props$onChange;
89
- (_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 ? void 0 : _child$props$onClick.call(_child$props, child.props.value);
90
- (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, child.props.value);
89
+ (_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props, child.props.value);
90
+ (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, child.props.value);
91
91
  }
92
92
  },
93
93
  isCondensed: props.isCondensed,
@@ -108,7 +108,7 @@ ViewSwitcher$1.propTypes = {};
108
108
  var Group = ViewSwitcher$1;
109
109
 
110
110
  // NOTE: This string will be replaced on build time with the package version.
111
- var version = "17.0.0";
111
+ var version = "17.1.0";
112
112
 
113
113
  const ViewSwitcher = {
114
114
  Group,
@@ -99,8 +99,8 @@ const ViewSwitcher$1 = props => {
99
99
  }
100
100
  if (!isButtonActive) {
101
101
  var _child$props$onClick, _child$props, _props$onChange;
102
- (_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 ? void 0 : _child$props$onClick.call(_child$props, child.props.value);
103
- (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, child.props.value);
102
+ (_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props, child.props.value);
103
+ (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, child.props.value);
104
104
  }
105
105
  },
106
106
  isCondensed: props.isCondensed,
@@ -127,7 +127,7 @@ ViewSwitcher$1.propTypes = process.env.NODE_ENV !== "production" ? {
127
127
  var Group = ViewSwitcher$1;
128
128
 
129
129
  // NOTE: This string will be replaced on build time with the package version.
130
- var version = "17.0.0";
130
+ var version = "17.1.0";
131
131
 
132
132
  const ViewSwitcher = {
133
133
  Group,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/view-switcher",
3
3
  "description": "ViewSwitchers allow users to toggle between two or more different views of the same, similar or related content items within the same space on screen.",
4
- "version": "17.0.0",
4
+ "version": "17.1.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/accessible-button": "17.0.0",
25
- "@commercetools-uikit/design-system": "17.0.0",
26
- "@commercetools-uikit/utils": "17.0.0",
24
+ "@commercetools-uikit/accessible-button": "17.1.0",
25
+ "@commercetools-uikit/design-system": "17.1.0",
26
+ "@commercetools-uikit/utils": "17.1.0",
27
27
  "@emotion/react": "^11.10.5",
28
28
  "@emotion/styled": "^11.10.5",
29
29
  "lodash": "4.17.21",
@@ -1 +0,0 @@
1
- {"version":3,"file":"commercetools-uikit-view-switcher.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}