@medixdeck/ui 0.1.6 → 0.1.7

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.d.ts CHANGED
@@ -261,7 +261,7 @@ export declare interface BreadcrumbProps extends BoxProps {
261
261
  * <Button variant="ghost" colorScheme="blue" size="sm">Cancel</Button>
262
262
  * ```
263
263
  */
264
- export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
264
+ export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLElement>>;
265
265
 
266
266
  export declare interface ButtonProps {
267
267
  /** Visual variant */
@@ -281,7 +281,7 @@ export declare interface ButtonProps {
281
281
  /** HTML type attribute */
282
282
  type?: "button" | "submit" | "reset";
283
283
  /** Click handler */
284
- onClick?: default_2.MouseEventHandler<HTMLButtonElement>;
284
+ onClick?: default_2.MouseEventHandler<HTMLElement>;
285
285
  /** Any additional className */
286
286
  className?: string;
287
287
  /** Arbitrary additional style */
@@ -292,6 +292,14 @@ export declare interface ButtonProps {
292
292
  "aria-expanded"?: boolean | "true" | "false";
293
293
  "aria-controls"?: string;
294
294
  "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree";
295
+ /** HTML element to render as — supports "button" (default) or "a" (anchor link) */
296
+ as?: "button" | "a";
297
+ /** Link destination if rendered as an anchor */
298
+ href?: string;
299
+ /** Link target if rendered as an anchor */
300
+ target?: string;
301
+ /** Link rel if rendered as an anchor */
302
+ rel?: string;
295
303
  }
296
304
 
297
305
  /**