@mindly/ui-components 5.49.5 → 5.50.0
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 +4 -4
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +5 -1
- package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/newShade.d.ts +1 -0
- package/dist/esm/index.js +6 -6
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Typography/types.d.ts +5 -1
- package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/newShade.d.ts +1 -0
- package/dist/index.d.ts +11 -3
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { JSX } from '@ionic/core/components';
|
|
|
3
3
|
type ButtonProps = {
|
|
4
4
|
fill?: 'outline' | 'clear';
|
|
5
5
|
size?: 'default' | 'large' | 'small';
|
|
6
|
+
customSize?: 'smaller';
|
|
6
7
|
color?: undefined;
|
|
7
8
|
fullWidth?: boolean;
|
|
8
9
|
className?: string;
|
|
@@ -11,6 +12,7 @@ type ButtonProps = {
|
|
|
11
12
|
isLoading?: boolean;
|
|
12
13
|
icon?: React.ReactNode;
|
|
13
14
|
iconPosition?: 'start' | 'center';
|
|
15
|
+
style?: React.CSSProperties;
|
|
14
16
|
} & JSX.IonButton;
|
|
15
17
|
declare const Button_v2: FC<ButtonProps>;
|
|
16
18
|
export default Button_v2;
|
|
@@ -6,6 +6,8 @@ export declare enum TypographyVariantsEnum {
|
|
|
6
6
|
Title24Semi = "Title/24 Semi",
|
|
7
7
|
Title20Semi = "Title/20 Semi",
|
|
8
8
|
Title18Semi = "Title/18 Semi",
|
|
9
|
+
Title14Semi = "Title/14 Semi",
|
|
10
|
+
Title12Semi = "Title/12 Semi",
|
|
9
11
|
Text48Semi = "Text/48 Semi",
|
|
10
12
|
Text32Semi = "Text/32 Semi",
|
|
11
13
|
Text24Semi = "Text/24 Semi",
|
|
@@ -21,7 +23,9 @@ export declare enum TypographyVariantsEnum {
|
|
|
21
23
|
Text13Semi = "Text/13 Semi",
|
|
22
24
|
Text13Regular = "Text/13 Regular",
|
|
23
25
|
Text12Regular = "Text/12 Regular",
|
|
24
|
-
Tabbar10Medium = "Tabbar/10 Medium"
|
|
26
|
+
Tabbar10Medium = "Tabbar/10 Medium",
|
|
27
|
+
Text8Regular = "Text/8 Regular",
|
|
28
|
+
Text7Regular = "Text/7 Regular"
|
|
25
29
|
}
|
|
26
30
|
export type TypographyAlignType = 'left' | 'center' | 'right';
|
|
27
31
|
export type TypographyOpacityType = 100 | 65 | 50 | 45 | 35 | 30 | 15 | 10 | 8 | 6;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const newShade: (hexColor: string, magnitude: number) => string;
|