@grucloud/bau-ui 0.82.0 → 0.82.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.
Files changed (2) hide show
  1. package/button/button.js +3 -2
  2. package/package.json +2 -2
package/button/button.js CHANGED
@@ -102,12 +102,13 @@ export default function (context, options = {}) {
102
102
  ...props,
103
103
  class: [
104
104
  "button",
105
- options.class,
105
+
106
106
  variant,
107
107
  size,
108
108
  color,
109
109
  className,
110
- props.class.join(" "),
110
+ options.class,
111
+ Array.isArray(props.class) ? props.class?.join(" ") : props.class,
111
112
  ],
112
113
  href,
113
114
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grucloud/bau-ui",
3
3
  "description": "Components library built with Bau",
4
- "version": "0.82.0",
4
+ "version": "0.82.1",
5
5
  "type": "module",
6
6
  "license": "BSD",
7
7
  "keywords": [
@@ -26,5 +26,5 @@
26
26
  "devDependencies": {
27
27
  "typedoc": "0.24.8"
28
28
  },
29
- "gitHead": "07f99623c0e8c047391dd53dfc1755ee3f14672e"
29
+ "gitHead": "bc3216bb0bb86c8b8c7dbae56eb42d82e99ea8c6"
30
30
  }