@cloudflare/component-button 9.0.1 → 9.1.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/CHANGELOG.md +8 -0
- package/dist/Button.d.ts +1 -1
- package/es/Button.js +1 -1
- package/lib/Button.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/Button.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export declare const buttonStyles: (props: PropsWithTheme) => {
|
|
|
80
80
|
readonly justifyContent: "center";
|
|
81
81
|
readonly fontFamily: "-apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, \"Helvetica Neue\", Arial, sans-serif";
|
|
82
82
|
readonly fontSize: 1 | 2;
|
|
83
|
-
readonly fontWeight:
|
|
83
|
+
readonly fontWeight: 500;
|
|
84
84
|
readonly lineHeight: 1.2;
|
|
85
85
|
readonly border: "none";
|
|
86
86
|
readonly '&:focus'?: {
|
package/es/Button.js
CHANGED
package/lib/Button.js
CHANGED
|
@@ -200,7 +200,7 @@ var buttonStyles = function buttonStyles(props) {
|
|
|
200
200
|
justifyContent: 'center',
|
|
201
201
|
fontFamily: theme.fontFamily,
|
|
202
202
|
fontSize: compact ? 1 : 2,
|
|
203
|
-
fontWeight:
|
|
203
|
+
fontWeight: 500,
|
|
204
204
|
lineHeight: 1.2,
|
|
205
205
|
border: 'none'
|
|
206
206
|
}, props.inverted ? {
|
package/package.json
CHANGED