@irozon/design-system-react 0.2.1 → 0.2.3

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 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: [loading && (_jsx("span", { className: "iz-button__spinner", "aria-hidden": "true", children: _jsx("span", { className: "iz-loader", "data-size": "small" }) })), children] }));
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", "aria-hidden": "true", children: _jsx("span", { className: "iz-loader", "data-size": "small" }) }), _jsx("span", { children: children })] }));
7
7
  }
package/dist/Nav.d.ts CHANGED
@@ -32,7 +32,7 @@ export type NavItemProps<T extends ElementType = "a"> = NavItemOwnProps & Omit<C
32
32
  /** Canonical `.iz-nav-item` — a real destination link, not a button.
33
33
  * `active` sets native `aria-current="page"`, the sole "current route"
34
34
  * signal (a side accent bar in CSS, never a class). The icon slot takes
35
- * a Lucide-style SVG, a plain glyph, or an `<img>` brand logo — a logo
35
+ * a Tabler outline SVG, a plain glyph, or an `<img>` brand logo — a logo
36
36
  * gets its own fixed-light backdrop automatically from the CSS, and the
37
37
  * slot itself is always a fixed square regardless of content. */
38
38
  export declare function NavItem<T extends ElementType = "a">({ as, icon, external, active, children, className, ...rest }: NavItemProps<T>): import("react").JSX.Element;
package/dist/Nav.js CHANGED
@@ -11,7 +11,7 @@ export function NavGroup({ label, children, className }) {
11
11
  /** Canonical `.iz-nav-item` — a real destination link, not a button.
12
12
  * `active` sets native `aria-current="page"`, the sole "current route"
13
13
  * signal (a side accent bar in CSS, never a class). The icon slot takes
14
- * a Lucide-style SVG, a plain glyph, or an `<img>` brand logo — a logo
14
+ * a Tabler outline SVG, a plain glyph, or an `<img>` brand logo — a logo
15
15
  * gets its own fixed-light backdrop automatically from the CSS, and the
16
16
  * slot itself is always a fixed square regardless of content. */
17
17
  export function NavItem({ as, icon, external, active, children, className, ...rest }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@irozon/design-system-react",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
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": [