@amsterdam/design-system-react 0.13.0 → 0.13.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.
package/dist/index.cjs.js CHANGED
@@ -2662,37 +2662,22 @@ var Button = /*#__PURE__*/react.forwardRef(function (_ref, ref) {
2662
2662
  _ref$variant = _ref.variant,
2663
2663
  variant = _ref$variant === void 0 ? 'primary' : _ref$variant,
2664
2664
  restProps = _objectWithoutProperties(_ref, _excluded$6);
2665
- var content = function content() {
2666
- switch (true) {
2667
- case !icon:
2668
- return children;
2669
- case iconBefore:
2670
- return [jsxRuntime.jsx(Icon, {
2671
- svg: icon,
2672
- size: "level-5"
2673
- }), children];
2674
- case iconOnly:
2675
- return [jsxRuntime.jsx(Icon, {
2676
- svg: icon,
2677
- size: "level-5",
2678
- square: true
2679
- }, 1), jsxRuntime.jsx("span", {
2680
- className: "ams-visually-hidden",
2681
- children: children
2682
- }, 2)];
2683
- default:
2684
- return [children, jsxRuntime.jsx(Icon, {
2685
- svg: icon,
2686
- size: "level-5"
2687
- })];
2688
- }
2689
- };
2690
- return jsxRuntime.jsx("button", _objectSpread$6(_objectSpread$6({}, restProps), {}, {
2691
- className: clsx('ams-button', "ams-button--".concat(variant), icon && iconOnly && !iconBefore && "ams-button--icon-only", className),
2665
+ return jsxRuntime.jsxs("button", _objectSpread$6(_objectSpread$6({}, restProps), {}, {
2666
+ className: clsx('ams-button', "ams-button--".concat(variant), icon && iconOnly && "ams-button--icon-only", className),
2692
2667
  disabled: disabled,
2693
2668
  ref: ref,
2694
2669
  type: type || 'button',
2695
- children: content()
2670
+ children: [icon && (iconBefore || iconOnly) && jsxRuntime.jsx(Icon, {
2671
+ svg: icon,
2672
+ size: "level-5",
2673
+ square: iconOnly
2674
+ }), icon && iconOnly ? jsxRuntime.jsx("span", {
2675
+ className: "ams-visually-hidden",
2676
+ children: children
2677
+ }) : children, icon && !iconBefore && !iconOnly && jsxRuntime.jsx(Icon, {
2678
+ svg: icon,
2679
+ size: "level-5"
2680
+ })]
2696
2681
  }));
2697
2682
  });
2698
2683
  Button.displayName = 'Button';
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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) {
2660
2660
  _ref$variant = _ref.variant,
2661
2661
  variant = _ref$variant === void 0 ? 'primary' : _ref$variant,
2662
2662
  restProps = _objectWithoutProperties(_ref, _excluded$6);
2663
- var content = function content() {
2664
- switch (true) {
2665
- case !icon:
2666
- return children;
2667
- case iconBefore:
2668
- return [jsx(Icon, {
2669
- svg: icon,
2670
- size: "level-5"
2671
- }), children];
2672
- case iconOnly:
2673
- return [jsx(Icon, {
2674
- svg: icon,
2675
- size: "level-5",
2676
- square: true
2677
- }, 1), jsx("span", {
2678
- className: "ams-visually-hidden",
2679
- children: children
2680
- }, 2)];
2681
- default:
2682
- return [children, jsx(Icon, {
2683
- svg: icon,
2684
- size: "level-5"
2685
- })];
2686
- }
2687
- };
2688
- return jsx("button", _objectSpread$6(_objectSpread$6({}, restProps), {}, {
2689
- className: clsx('ams-button', "ams-button--".concat(variant), icon && iconOnly && !iconBefore && "ams-button--icon-only", className),
2663
+ return jsxs("button", _objectSpread$6(_objectSpread$6({}, restProps), {}, {
2664
+ className: clsx('ams-button', "ams-button--".concat(variant), icon && iconOnly && "ams-button--icon-only", className),
2690
2665
  disabled: disabled,
2691
2666
  ref: ref,
2692
2667
  type: type || 'button',
2693
- children: content()
2668
+ children: [icon && (iconBefore || iconOnly) && jsx(Icon, {
2669
+ svg: icon,
2670
+ size: "level-5",
2671
+ square: iconOnly
2672
+ }), icon && iconOnly ? jsx("span", {
2673
+ className: "ams-visually-hidden",
2674
+ children: children
2675
+ }) : children, icon && !iconBefore && !iconOnly && jsx(Icon, {
2676
+ svg: icon,
2677
+ size: "level-5"
2678
+ })]
2694
2679
  }));
2695
2680
  });
2696
2681
  Button.displayName = 'Button';
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.13.0",
2
+ "version": "0.13.1",
3
3
  "author": "Design System Team, City of Amsterdam <designsystem@amsterdam.nl>",
4
4
  "description": "All React components from the Amsterdam Design System. Use it to compose pages in your website or application.",
5
5
  "homepage": "https://designsystem.amsterdam/",
@@ -29,34 +29,34 @@
29
29
  "dist/"
30
30
  ],
31
31
  "dependencies": {
32
- "@babel/runtime": "7.25.7",
32
+ "@babel/runtime": "7.26.0",
33
33
  "clsx": "2.1.1",
34
34
  "@amsterdam/design-system-react-icons": "0.1.13"
35
35
  },
36
36
  "devDependencies": {
37
- "@babel/core": "7.25.8",
38
- "@babel/plugin-transform-runtime": "7.25.7",
39
- "@babel/preset-env": "7.25.8",
40
- "@babel/preset-react": "7.25.7",
37
+ "@babel/core": "7.26.0",
38
+ "@babel/plugin-transform-runtime": "7.25.9",
39
+ "@babel/preset-env": "7.26.0",
40
+ "@babel/preset-react": "7.25.9",
41
41
  "@rollup/plugin-babel": "6.0.4",
42
42
  "@rollup/plugin-commonjs": "28.0.1",
43
43
  "@rollup/plugin-node-resolve": "15.3.0",
44
- "@rollup/pluginutils": "5.1.2",
44
+ "@rollup/pluginutils": "5.1.3",
45
45
  "@testing-library/dom": "10.4.0",
46
- "@testing-library/jest-dom": "6.6.2",
46
+ "@testing-library/jest-dom": "6.6.3",
47
47
  "@testing-library/react": "16.0.1",
48
48
  "@testing-library/user-event": "14.5.2",
49
- "@types/jest": "29.5.13",
50
- "@types/lodash": "4.17.12",
51
- "@types/react": "18.3.11",
49
+ "@types/jest": "29.5.14",
50
+ "@types/lodash": "4.17.13",
51
+ "@types/react": "18.3.12",
52
52
  "jest": "29.7.0",
53
53
  "jest-environment-jsdom": "29.7.0",
54
- "next": "14.2.15",
54
+ "next": "14.2.16",
55
55
  "npm-run-all": "4.1.5",
56
56
  "postcss": "8.4.47",
57
57
  "react": "18.3.1",
58
58
  "react-dom": "18.3.1",
59
- "rollup": "4.24.0",
59
+ "rollup": "4.24.4",
60
60
  "rollup-plugin-delete": "2.1.0",
61
61
  "rollup-plugin-dts": "6.1.1",
62
62
  "rollup-plugin-filesize": "10.0.0",
@@ -64,13 +64,13 @@
64
64
  "rollup-plugin-node-polyfills": "0.2.1",
65
65
  "rollup-plugin-peer-deps-external": "2.2.4",
66
66
  "rollup-plugin-typescript2": "0.36.0",
67
- "sass": "1.80.3",
68
- "tslib": "2.8.0"
67
+ "sass": "1.80.6",
68
+ "tslib": "2.8.1"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "react": "16 - 18",
72
72
  "react-dom": "16 - 18",
73
- "@amsterdam/design-system-css": "0.13.0"
73
+ "@amsterdam/design-system-css": "0.13.1"
74
74
  },
75
75
  "scripts": {
76
76
  "build": "rollup -c",