@cloudflare/component-button 5.3.0 → 5.3.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 8fe46c6d2d: Make normal plain button backgrounds transparent
8
+
9
+ ## 5.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - a6575cebcd: Update peer dependency
14
+
3
15
  ## 5.3.0
4
16
 
5
17
  ### Minor Changes
package/es/Button.js CHANGED
@@ -49,9 +49,9 @@ var buttonColors = theme => {
49
49
  danger: theme.colors.button.plainDestructive.normal.background,
50
50
  primary: theme.colors.button.plain.normal.background
51
51
  },
52
- plain: theme.colors.button.plain.normal.background,
53
- plainMono: theme.colors.button.plainMono.normal.background,
54
- plainDestructive: theme.colors.button.plainDestructive.normal.background
52
+ plain: 'transparent',
53
+ plainMono: 'transparent',
54
+ plainDestructive: 'transparent'
55
55
  },
56
56
  color: standardColors(theme, 'normal')
57
57
  },
package/lib/Button.js CHANGED
@@ -63,9 +63,9 @@ var buttonColors = function buttonColors(theme) {
63
63
  danger: theme.colors.button.plainDestructive.normal.background,
64
64
  primary: theme.colors.button.plain.normal.background
65
65
  },
66
- plain: theme.colors.button.plain.normal.background,
67
- plainMono: theme.colors.button.plainMono.normal.background,
68
- plainDestructive: theme.colors.button.plainDestructive.normal.background
66
+ plain: 'transparent',
67
+ plainMono: 'transparent',
68
+ plainDestructive: 'transparent'
69
69
  },
70
70
  color: standardColors(theme, 'normal')
71
71
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-button",
3
3
  "description": "Cloudflare Button Component",
4
- "version": "5.3.0",
4
+ "version": "5.3.2",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",
@@ -18,7 +18,7 @@
18
18
  "prop-types": "^15.6.0"
19
19
  },
20
20
  "peerDependencies": {
21
- "@cloudflare/style-const": "^5.3.9",
21
+ "@cloudflare/style-const": "^5.6.0",
22
22
  "@cloudflare/style-container": "^7.10.0",
23
23
  "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0"
24
24
  },