@cleartrip/ct-design-button 4.0.0-SNAPSHOT-rnfinaltest61.0 → 4.0.0-SNAPSHOT-rnfinaltest65.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/style.d.ts +4 -61
- package/dist/style.d.ts.map +1 -1
- package/package.json +9 -9
package/dist/style.d.ts
CHANGED
|
@@ -28,18 +28,15 @@ export declare const getOutlinedButtonColorStyles: (theme: Theme, color: ButtonC
|
|
|
28
28
|
backgroundColor: string;
|
|
29
29
|
borderColor?: undefined;
|
|
30
30
|
} | {
|
|
31
|
-
backgroundColor:
|
|
32
|
-
borderColor:
|
|
31
|
+
backgroundColor: string;
|
|
32
|
+
borderColor: string;
|
|
33
33
|
};
|
|
34
34
|
export declare const getButtonVariantColorStyles: (theme: Theme, color: ButtonColorType, variant: ButtonVariantType, disabled: boolean, _isHover: boolean) => {
|
|
35
35
|
backgroundColor: string;
|
|
36
|
-
} | {
|
|
37
|
-
backgroundColor: any;
|
|
38
|
-
borderColor: any;
|
|
39
36
|
};
|
|
40
37
|
export declare const getContainedButtonLabelColor: (color: ButtonColorType, disabled: boolean, theme: Theme) => string;
|
|
41
|
-
export declare const getOutlinedButtonLabelColor: (color: ButtonColorType, disabled: boolean, theme: Theme) =>
|
|
42
|
-
export declare const getButtonVariantLabelColor: (variant: ButtonVariantType, color: ButtonColorType, disabled: boolean, theme: Theme, loading: boolean) =>
|
|
38
|
+
export declare const getOutlinedButtonLabelColor: (color: ButtonColorType, disabled: boolean, theme: Theme) => string;
|
|
39
|
+
export declare const getButtonVariantLabelColor: (variant: ButtonVariantType, color: ButtonColorType, disabled: boolean, theme: Theme, loading: boolean) => string;
|
|
43
40
|
export declare const getTypographyVariant: (size: ButtonSizeType) => TypographyVariant.HM3 | TypographyVariant.HM4;
|
|
44
41
|
export declare const getDefaultButtonStyles: (disabled: boolean) => {};
|
|
45
42
|
export declare const getButtonStyles: ({ theme, size, variant, color, disabled, isFullWidth, loading, isHover, }: {
|
|
@@ -59,15 +56,6 @@ export declare const getButtonStyles: ({ theme, size, variant, color, disabled,
|
|
|
59
56
|
height: 32;
|
|
60
57
|
paddingTop: 4;
|
|
61
58
|
paddingBottom: 4;
|
|
62
|
-
} | {
|
|
63
|
-
minWidth: number;
|
|
64
|
-
backgroundColor: any;
|
|
65
|
-
borderColor: any;
|
|
66
|
-
borderWidth: 0;
|
|
67
|
-
borderStyle?: undefined;
|
|
68
|
-
height: 32;
|
|
69
|
-
paddingTop: 4;
|
|
70
|
-
paddingBottom: 4;
|
|
71
59
|
} | {
|
|
72
60
|
minWidth: number;
|
|
73
61
|
backgroundColor: string;
|
|
@@ -76,15 +64,6 @@ export declare const getButtonStyles: ({ theme, size, variant, color, disabled,
|
|
|
76
64
|
height: 32;
|
|
77
65
|
paddingTop: 4;
|
|
78
66
|
paddingBottom: 4;
|
|
79
|
-
} | {
|
|
80
|
-
minWidth: number;
|
|
81
|
-
backgroundColor: any;
|
|
82
|
-
borderColor: any;
|
|
83
|
-
borderWidth: 1;
|
|
84
|
-
borderStyle: "solid";
|
|
85
|
-
height: 32;
|
|
86
|
-
paddingTop: 4;
|
|
87
|
-
paddingBottom: 4;
|
|
88
67
|
} | {
|
|
89
68
|
minWidth: number;
|
|
90
69
|
backgroundColor: string;
|
|
@@ -93,15 +72,6 @@ export declare const getButtonStyles: ({ theme, size, variant, color, disabled,
|
|
|
93
72
|
height: 40;
|
|
94
73
|
paddingTop: 8;
|
|
95
74
|
paddingBottom: 8;
|
|
96
|
-
} | {
|
|
97
|
-
minWidth: number;
|
|
98
|
-
backgroundColor: any;
|
|
99
|
-
borderColor: any;
|
|
100
|
-
borderWidth: 0;
|
|
101
|
-
borderStyle?: undefined;
|
|
102
|
-
height: 40;
|
|
103
|
-
paddingTop: 8;
|
|
104
|
-
paddingBottom: 8;
|
|
105
75
|
} | {
|
|
106
76
|
minWidth: number;
|
|
107
77
|
backgroundColor: string;
|
|
@@ -110,15 +80,6 @@ export declare const getButtonStyles: ({ theme, size, variant, color, disabled,
|
|
|
110
80
|
height: 40;
|
|
111
81
|
paddingTop: 8;
|
|
112
82
|
paddingBottom: 8;
|
|
113
|
-
} | {
|
|
114
|
-
minWidth: number;
|
|
115
|
-
backgroundColor: any;
|
|
116
|
-
borderColor: any;
|
|
117
|
-
borderWidth: 1;
|
|
118
|
-
borderStyle: "solid";
|
|
119
|
-
height: 40;
|
|
120
|
-
paddingTop: 8;
|
|
121
|
-
paddingBottom: 8;
|
|
122
83
|
} | {
|
|
123
84
|
minWidth: number;
|
|
124
85
|
backgroundColor: string;
|
|
@@ -127,15 +88,6 @@ export declare const getButtonStyles: ({ theme, size, variant, color, disabled,
|
|
|
127
88
|
height: 48;
|
|
128
89
|
paddingTop: 12;
|
|
129
90
|
paddingBottom: 12;
|
|
130
|
-
} | {
|
|
131
|
-
minWidth: number;
|
|
132
|
-
backgroundColor: any;
|
|
133
|
-
borderColor: any;
|
|
134
|
-
borderWidth: 0;
|
|
135
|
-
borderStyle?: undefined;
|
|
136
|
-
height: 48;
|
|
137
|
-
paddingTop: 12;
|
|
138
|
-
paddingBottom: 12;
|
|
139
91
|
} | {
|
|
140
92
|
minWidth: number;
|
|
141
93
|
backgroundColor: string;
|
|
@@ -144,15 +96,6 @@ export declare const getButtonStyles: ({ theme, size, variant, color, disabled,
|
|
|
144
96
|
height: 48;
|
|
145
97
|
paddingTop: 12;
|
|
146
98
|
paddingBottom: 12;
|
|
147
|
-
} | {
|
|
148
|
-
minWidth: number;
|
|
149
|
-
backgroundColor: any;
|
|
150
|
-
borderColor: any;
|
|
151
|
-
borderWidth: 1;
|
|
152
|
-
borderStyle: "solid";
|
|
153
|
-
height: 48;
|
|
154
|
-
paddingTop: 12;
|
|
155
|
-
paddingBottom: 12;
|
|
156
99
|
};
|
|
157
100
|
export declare const getSpinnerDimmension: (size: ButtonSizeType, theme: Theme) => 12 | 16 | 20;
|
|
158
101
|
//# sourceMappingURL=style.d.ts.map
|
package/dist/style.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../packages/components/Button/src/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAe,eAAe,EAAc,cAAc,EAAiB,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEpH,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,EAAE,MAAM,cAAc;;;;;;;;;;;;CA+BrE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,OAAO,KAAK,EAAE,SAAS,iBAAiB,EAAE,UAAU,OAAO;;;;;;CAyBjG,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,OAAO,KAAK,EAAE,OAAO,eAAe,EAAE,UAAU,OAAO;;CA6BpG,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,OAAO,KAAK,EAAE,OAAO,eAAe,EAAE,UAAU,OAAO;;;;;;CAuCnG,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,OAAO,KAAK,EACZ,OAAO,eAAe,EACtB,SAAS,iBAAiB,EAC1B,UAAU,OAAO,EACjB,UAAU,OAAO
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../packages/components/Button/src/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAe,eAAe,EAAc,cAAc,EAAiB,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEpH,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,EAAE,MAAM,cAAc;;;;;;;;;;;;CA+BrE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,OAAO,KAAK,EAAE,SAAS,iBAAiB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C;AAEF,eAAO,MAAM,oBAAoB,GAAI,MAAM,cAAc,EAAE,OAAO,KAAK,iBAStE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-design-button",
|
|
3
|
-
"version": "4.0.0-SNAPSHOT-
|
|
3
|
+
"version": "4.0.0-SNAPSHOT-rnfinaltest65.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@emotion/react": "^11.14.0",
|
|
28
28
|
"@emotion/styled": "^11.14.0",
|
|
29
|
-
"@cleartrip/ct-design-typography": "4.0.0-SNAPSHOT-
|
|
30
|
-
"@cleartrip/ct-design-
|
|
31
|
-
"@cleartrip/ct-design-
|
|
32
|
-
"@cleartrip/ct-design-
|
|
33
|
-
"@cleartrip/ct-design-dotted-loader": "4.0.0-SNAPSHOT-
|
|
34
|
-
"@cleartrip/ct-design-theme": "4.0.0-SNAPSHOT-
|
|
35
|
-
"@cleartrip/ct-design-style-manager": "4.0.0-SNAPSHOT-
|
|
36
|
-
"@cleartrip/ct-design-event-propagation": "4.0.0-SNAPSHOT-
|
|
29
|
+
"@cleartrip/ct-design-typography": "4.0.0-SNAPSHOT-rnfinaltest65.0",
|
|
30
|
+
"@cleartrip/ct-design-conditional-wrap": "4.0.0-SNAPSHOT-rnfinaltest65.0",
|
|
31
|
+
"@cleartrip/ct-design-types": "4.0.0-SNAPSHOT-rnfinaltest65.0",
|
|
32
|
+
"@cleartrip/ct-design-container": "4.0.0-SNAPSHOT-rnfinaltest65.0",
|
|
33
|
+
"@cleartrip/ct-design-dotted-loader": "4.0.0-SNAPSHOT-rnfinaltest65.0",
|
|
34
|
+
"@cleartrip/ct-design-theme": "4.0.0-SNAPSHOT-rnfinaltest65.0",
|
|
35
|
+
"@cleartrip/ct-design-style-manager": "4.0.0-SNAPSHOT-rnfinaltest65.0",
|
|
36
|
+
"@cleartrip/ct-design-event-propagation": "4.0.0-SNAPSHOT-rnfinaltest65.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@emotion/babel-plugin": "^11.12.0"
|