@webority/ui-react 0.17.1 → 0.17.2

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/dist/ui-react.js +3 -2
  2. package/package.json +3 -3
package/dist/ui-react.js CHANGED
@@ -758,15 +758,16 @@ function Be({ children: e, variant: t = "primary", size: n = "md", type: r = "bu
758
758
  o ? "w-100" : "",
759
759
  i ? "is-loading" : "",
760
760
  p
761
- ].filter(Boolean).join(" ");
761
+ ].filter(Boolean).join(" "), _ = (m.as === void 0 || m.as === "button") && l === void 0 && m.to === void 0, v = _ ? {} : { role: void 0 };
762
762
  return q(/* @__PURE__ */ D(g, {
763
- type: (m.as === void 0 || m.as === "button") && l === void 0 ? r : void 0,
763
+ type: _ ? r : void 0,
764
764
  href: l,
765
765
  variant: Le[t] ?? "primary",
766
766
  size: n === "md" ? void 0 : n,
767
767
  disabled: a || i,
768
768
  "aria-busy": i || void 0,
769
769
  className: h || void 0,
770
+ ...v,
770
771
  ...m,
771
772
  children: [
772
773
  i && /* @__PURE__ */ E("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/ui-react",
3
- "version": "0.17.1",
3
+ "version": "0.17.2",
4
4
  "description": "Webority shared React component library — App* primitives on react-bootstrap + the @webority/theme design system.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
- "@webority/theme": "0.17.1",
32
- "@webority/ui-elements": "0.17.1"
31
+ "@webority/theme": "0.17.2",
32
+ "@webority/ui-elements": "0.17.2"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@webority/analytics": "^0.6.0",