@irozon/design-system-react 0.2.3 → 0.2.4
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/Button.js +1 -1
- package/package.json +1 -1
package/dist/Button.js
CHANGED
|
@@ -3,5 +3,5 @@ import { cx } from "./internal/cx.js";
|
|
|
3
3
|
/** Canonical `.iz-button` — see button.css for the full state/variant
|
|
4
4
|
* contract this renders. */
|
|
5
5
|
export function Button({ variant = "primary", size = "default", iconOnly, loading, iconHint, className, children, ...rest }) {
|
|
6
|
-
return (_jsxs("button", { className: cx("iz-button", className), "data-variant": variant, "data-size": size === "default" ? undefined : size, "data-icon-only": iconOnly || undefined, "data-icon-hint": iconHint, "aria-busy": loading || undefined, ...rest, children: [_jsx("span", { className: "iz-button__spinner", "
|
|
6
|
+
return (_jsxs("button", { className: cx("iz-button", className), "data-variant": variant, "data-size": size === "default" ? undefined : size, "data-icon-only": iconOnly || undefined, "data-icon-hint": iconHint, "aria-busy": loading || undefined, ...rest, children: [_jsx("span", { className: "iz-loader iz-button__spinner", "data-size": "small", "aria-hidden": "true" }), _jsx("span", { children: children })] }));
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irozon/design-system-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Canonical React components for the Irozon Design System — thin, accessible wrappers over @irozon/design-system's framework-neutral iz-* CSS. No independent visual styling of its own; the CSS package stays the single source of truth for how these look.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|