@cloudflare/component-button 9.0.2 → 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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 882eac23dc: Updated Button font weight and dark mode colors to latest designs
8
+
3
9
  ## 9.0.2
4
10
 
5
11
  ## 9.0.1
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: 400;
83
+ readonly fontWeight: 500;
84
84
  readonly lineHeight: 1.2;
85
85
  readonly border: "none";
86
86
  readonly '&:focus'?: {
package/es/Button.js CHANGED
@@ -187,7 +187,7 @@ export var buttonStyles = props => {
187
187
  justifyContent: 'center',
188
188
  fontFamily: theme.fontFamily,
189
189
  fontSize: compact ? 1 : 2,
190
- fontWeight: 400,
190
+ fontWeight: 500,
191
191
  lineHeight: 1.2,
192
192
  border: 'none'
193
193
  }, props.inverted ? {
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: 400,
203
+ fontWeight: 500,
204
204
  lineHeight: 1.2,
205
205
  border: 'none'
206
206
  }, props.inverted ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-button",
3
3
  "description": "Cloudflare Button Component",
4
- "version": "9.0.2",
4
+ "version": "9.1.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",