@hazelcast/ui 1.3.2-next.75 → 1.3.2-next.77

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/lib/Button.d.ts +4 -4
  2. package/package.json +2 -2
package/lib/Button.d.ts CHANGED
@@ -55,7 +55,7 @@ export type ButtonCommonProps = {
55
55
  outlineClassName?: string;
56
56
  outline?: ButtonOutlineType;
57
57
  tooltip?: string;
58
- } & Pick<HTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, 'className' | 'onClick' | 'tabIndex' | 'style'>;
58
+ } & (ButtonDisabledProps | ButtonNotDisabledProps) & Pick<HTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, 'className' | 'onClick' | 'tabIndex' | 'style'>;
59
59
  export type ButtonTypeAnchorProps = {
60
60
  component: 'a';
61
61
  href: string;
@@ -63,16 +63,16 @@ export type ButtonTypeAnchorProps = {
63
63
  rel?: LinkRel | LinkRel[];
64
64
  type?: never;
65
65
  loading?: never;
66
- } & ButtonNotDisabledProps;
66
+ };
67
67
  export type ButtonTypeButtonProps = {
68
68
  component?: 'button';
69
69
  href?: never;
70
70
  target?: never;
71
71
  rel?: never;
72
72
  loading?: boolean;
73
- } & (ButtonDisabledProps | ButtonNotDisabledProps) & Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'autoFocus' | 'type'>;
73
+ } & Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'autoFocus' | 'type'>;
74
74
  export type ButtonTypeProps = ButtonTypeAnchorProps | ButtonTypeButtonProps;
75
- export type ButtonProps<T = ButtonTypeProps> = ButtonCommonProps & ButtonAccessibleIconLeftProps & ButtonAccessibleIconRightProps & T;
75
+ export type ButtonProps<T = ButtonTypeProps> = ButtonCommonProps & T & ButtonAccessibleIconLeftProps & ButtonAccessibleIconRightProps;
76
76
  /**
77
77
  * ### Purpose
78
78
  * Make it clear what users should do to continue with their main flow by using buttons to highlight the main actions they can take.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hazelcast/ui",
3
- "version": "1.3.2-next.75+dc0543e",
3
+ "version": "1.3.2-next.77+93cbd22",
4
4
  "description": "Hazelcast design system components",
5
5
  "author": "",
6
6
  "homepage": "https://github.com/hazelcast/frontend-shared#readme",
@@ -117,5 +117,5 @@
117
117
  "react": "^17 || ^18",
118
118
  "react-dom": "^17 || ^18"
119
119
  },
120
- "gitHead": "dc0543e903955806376e8b923a2df6a5c33a0be8"
120
+ "gitHead": "93cbd2232155bc99c751dabc1500a4a0d2361ec7"
121
121
  }