@cloudflare/component-button 6.0.0 → 6.0.2
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/CHANGELOG.md +8 -0
- package/dist/Button.d.ts +16 -1
- package/es/Button.js +3 -1
- package/lib/Button.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/Button.d.ts
CHANGED
|
@@ -25,7 +25,22 @@ export declare const buttonStyles: (props: PropsWithTheme) => {
|
|
|
25
25
|
animationDuration: string;
|
|
26
26
|
animationIterationCount: string;
|
|
27
27
|
animationTimingFunction: string;
|
|
28
|
-
} |
|
|
28
|
+
} | {
|
|
29
|
+
display: string;
|
|
30
|
+
content?: undefined;
|
|
31
|
+
color?: undefined;
|
|
32
|
+
alignItems?: undefined;
|
|
33
|
+
justifyContent?: undefined;
|
|
34
|
+
position?: undefined;
|
|
35
|
+
left?: undefined;
|
|
36
|
+
height?: undefined;
|
|
37
|
+
width?: undefined;
|
|
38
|
+
opacity?: undefined;
|
|
39
|
+
animationName?: undefined;
|
|
40
|
+
animationDuration?: undefined;
|
|
41
|
+
animationIterationCount?: undefined;
|
|
42
|
+
animationTimingFunction?: undefined;
|
|
43
|
+
};
|
|
29
44
|
readonly opacity: 0.5 | "inherit";
|
|
30
45
|
readonly mt: number;
|
|
31
46
|
readonly mr: 0;
|
package/es/Button.js
CHANGED
|
@@ -215,7 +215,9 @@ export var buttonStyles = props => {
|
|
|
215
215
|
animationDuration: '1s',
|
|
216
216
|
animationIterationCount: 'infinite',
|
|
217
217
|
animationTimingFunction: 'linear'
|
|
218
|
-
} :
|
|
218
|
+
} : {
|
|
219
|
+
display: 'none'
|
|
220
|
+
},
|
|
219
221
|
opacity: disabled ? 0.5 : 'inherit',
|
|
220
222
|
mt: spaced && direction === 'column' && group !== 'first' ? space : 0,
|
|
221
223
|
mr: 0,
|
package/lib/Button.js
CHANGED
|
@@ -228,7 +228,9 @@ var buttonStyles = function buttonStyles(props) {
|
|
|
228
228
|
animationDuration: '1s',
|
|
229
229
|
animationIterationCount: 'infinite',
|
|
230
230
|
animationTimingFunction: 'linear'
|
|
231
|
-
} :
|
|
231
|
+
} : {
|
|
232
|
+
display: 'none'
|
|
233
|
+
},
|
|
232
234
|
opacity: disabled ? 0.5 : 'inherit',
|
|
233
235
|
mt: spaced && direction === 'column' && group !== 'first' ? space : 0,
|
|
234
236
|
mr: 0,
|
package/package.json
CHANGED