@hexure/ui 1.8.5 → 1.8.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/cjs/index.js +12 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Button/Button.d.ts +1 -1
- package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +2 -1
- package/dist/esm/index.js +12 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Button/Button.d.ts +1 -1
- package/dist/esm/types/components/PageHeader/PageHeader.d.ts +2 -1
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export interface ButtonProps extends AccessibleProps {
|
|
|
20
20
|
/** If enabled, the small button format will be used. */
|
|
21
21
|
small?: boolean;
|
|
22
22
|
/** Define which button format to display. By default the Primary button will be used. */
|
|
23
|
-
format?: 'primary' | 'secondary' | 'red';
|
|
23
|
+
format?: 'primary' | 'secondary' | 'red' | 'green';
|
|
24
24
|
}
|
|
25
25
|
declare const Button: FC<ButtonProps>;
|
|
26
26
|
export default Button;
|
|
@@ -8,13 +8,14 @@ export interface PageHeaderProps {
|
|
|
8
8
|
}>;
|
|
9
9
|
actions?: Array<{
|
|
10
10
|
disabled?: boolean;
|
|
11
|
-
format?: 'primary' | 'secondary' | 'red';
|
|
11
|
+
format?: 'primary' | 'secondary' | 'red' | 'green';
|
|
12
12
|
icon?: string;
|
|
13
13
|
label: string;
|
|
14
14
|
onClick?: (e: any) => void;
|
|
15
15
|
}>;
|
|
16
16
|
buttonMenu?: {
|
|
17
17
|
disabled?: boolean;
|
|
18
|
+
format?: 'primary' | 'secondary';
|
|
18
19
|
icon?: string;
|
|
19
20
|
label: string;
|
|
20
21
|
menuItems: Array<MenuItemProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ interface ButtonProps$2 extends AccessibleProps {
|
|
|
96
96
|
/** If enabled, the small button format will be used. */
|
|
97
97
|
small?: boolean;
|
|
98
98
|
/** Define which button format to display. By default the Primary button will be used. */
|
|
99
|
-
format?: 'primary' | 'secondary' | 'red';
|
|
99
|
+
format?: 'primary' | 'secondary' | 'red' | 'green';
|
|
100
100
|
}
|
|
101
101
|
declare const Button: FC<ButtonProps$2>;
|
|
102
102
|
|
|
@@ -395,13 +395,14 @@ interface PageHeaderProps {
|
|
|
395
395
|
}>;
|
|
396
396
|
actions?: Array<{
|
|
397
397
|
disabled?: boolean;
|
|
398
|
-
format?: 'primary' | 'secondary' | 'red';
|
|
398
|
+
format?: 'primary' | 'secondary' | 'red' | 'green';
|
|
399
399
|
icon?: string;
|
|
400
400
|
label: string;
|
|
401
401
|
onClick?: (e: any) => void;
|
|
402
402
|
}>;
|
|
403
403
|
buttonMenu?: {
|
|
404
404
|
disabled?: boolean;
|
|
405
|
+
format?: 'primary' | 'secondary';
|
|
405
406
|
icon?: string;
|
|
406
407
|
label: string;
|
|
407
408
|
menuItems: Array<MenuItemProps>;
|