@bbl-digital/snorre 2.4.6 → 2.4.7

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/dist/bundle.js CHANGED
@@ -31798,7 +31798,7 @@
31798
31798
  name: props.name,
31799
31799
  autoComplete: "off",
31800
31800
  css: theme => [props.disabled && styles$1.disabled(theme)],
31801
- children: React__default["default"].Children.map(props.children, child => child ?? null)
31801
+ children: React__default["default"].Children.map(props.children, child => child || null)
31802
31802
  }), props.loading && jsxRuntime$1.jsx(Spinner, {
31803
31803
  size: 14
31804
31804
  }), props.actions && jsxRuntime$1.jsx("div", {
@@ -233,7 +233,7 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(({
233
233
  name: props.name,
234
234
  autoComplete: "off",
235
235
  css: theme => [props.disabled && styles.disabled(theme)],
236
- children: React.Children.map(props.children, child => child ?? null)
236
+ children: React.Children.map(props.children, child => child || null)
237
237
  }), props.loading && _jsx(Spinner, {
238
238
  size: 14
239
239
  }), props.actions && _jsx("div", {
@@ -233,7 +233,7 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(({
233
233
  name: props.name,
234
234
  autoComplete: "off",
235
235
  css: theme => [props.disabled && styles.disabled(theme)],
236
- children: React.Children.map(props.children, child => child ?? null)
236
+ children: React.Children.map(props.children, child => child || null)
237
237
  }), props.loading && _jsx(Spinner, {
238
238
  size: 14
239
239
  }), props.actions && _jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "2.4.6",
3
+ "version": "2.4.7",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -56,14 +56,14 @@
56
56
  "@emotion/react": "^11.9.3",
57
57
  "@emotion/styled": "^11.9.3",
58
58
  "@rollup/plugin-commonjs": "^20.0.0",
59
- "@storybook/addon-a11y": "^6.5.9",
60
- "@storybook/addon-actions": "^6.5.9",
61
- "@storybook/addon-docs": "^6.5.9",
59
+ "@storybook/addon-a11y": "6.3.12",
60
+ "@storybook/addon-actions": "6.3.12",
61
+ "@storybook/addon-docs": "6.3.12",
62
62
  "@storybook/addon-knobs": "^6.3.1",
63
- "@storybook/addon-links": "^6.5.9",
64
- "@storybook/addons": "^6.5.9",
63
+ "@storybook/addon-links": "6.3.12",
64
+ "@storybook/addons": "6.3.12",
65
65
  "@storybook/preset-create-react-app": "^3.2.0",
66
- "@storybook/react": "^6.5.9",
66
+ "@storybook/react": "6.3.12",
67
67
  "@testing-library/jest-dom": "^5.14.1",
68
68
  "@testing-library/react": "^11.2.7",
69
69
  "@testing-library/user-event": "^13.1.9",