@grandbazar/ui-baza 1.0.4 → 1.0.5

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/index.d.ts +4 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -71,12 +71,12 @@ declare type TBadgeTabsRootProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'c
71
71
  children: React.ReactNode;
72
72
  };
73
73
 
74
- declare type TButtonAsAnchorProps = TButtonCommonProps & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
74
+ export declare type TButtonAsAnchorProps = TButtonCommonProps & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
75
75
  as: 'a';
76
76
  ref?: React.Ref<HTMLAnchorElement> | null;
77
77
  };
78
78
 
79
- declare type TButtonAsButtonProps = TButtonCommonProps & React.ButtonHTMLAttributes<HTMLButtonElement> & {
79
+ export declare type TButtonAsButtonProps = TButtonCommonProps & React.ButtonHTMLAttributes<HTMLButtonElement> & {
80
80
  as?: 'button';
81
81
  ref?: React.Ref<HTMLButtonElement> | null;
82
82
  };
@@ -87,6 +87,8 @@ declare type TButtonCommonProps = {
87
87
  mode?: TArrayElement<typeof BUTTON_MODES>;
88
88
  };
89
89
 
90
+ export declare type TButtonProps = TButtonAsButtonProps | TButtonAsAnchorProps;
91
+
90
92
  declare type TCheckboxProps = React.InputHTMLAttributes<HTMLInputElement> & {
91
93
  label?: React.ReactNode;
92
94
  indeterminate?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grandbazar/ui-baza",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A lightweight and modular UI kit for building modern, accessible web interfaces. Designed for flexibility, scalability, and developer happiness.",
5
5
  "repository": {
6
6
  "type": "git",