@cloudflare/component-button 2.12.16 → 2.12.17

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
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.12.17](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@2.12.16...@cloudflare/component-button@2.12.17) (2022-03-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **component-button:** BILL-14354 button word-wrap style should be set t ([0a60d78](http://stash.cfops.it:7999/fe/stratus/commits/0a60d78))
12
+ * **component-button:** BILL-14426 explicitly set white-space to normal ([bbd2b63](http://stash.cfops.it:7999/fe/stratus/commits/bbd2b63))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [2.12.16](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@2.12.15...@cloudflare/component-button@2.12.16) (2022-03-09)
7
19
 
8
20
  **Note:** Version bump only for package @cloudflare/component-button
package/dist/Button.d.ts CHANGED
@@ -90,7 +90,7 @@ export declare const buttonStyles: (props: PropsWithTheme) => {
90
90
  readonly userSelect: "none";
91
91
  readonly maxWidth: "initial";
92
92
  readonly float: "none";
93
- readonly whiteSpace: "nowrap";
93
+ readonly whiteSpace: "normal";
94
94
  readonly width: "auto" | "100%";
95
95
  };
96
96
  declare type Props = {
package/es/Button.js CHANGED
@@ -232,7 +232,7 @@ export const buttonStyles = props => {
232
232
  userSelect: 'none',
233
233
  maxWidth: 'initial',
234
234
  float: 'none',
235
- whiteSpace: 'nowrap',
235
+ whiteSpace: 'normal',
236
236
  width: direction === 'column' ? '100%' : 'auto'
237
237
  };
238
238
  };
package/lib/Button.js CHANGED
@@ -248,7 +248,7 @@ var buttonStyles = function buttonStyles(props) {
248
248
  userSelect: 'none',
249
249
  maxWidth: 'initial',
250
250
  float: 'none',
251
- whiteSpace: 'nowrap',
251
+ whiteSpace: 'normal',
252
252
  width: direction === 'column' ? '100%' : 'auto'
253
253
  };
254
254
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-button",
3
3
  "description": "Cloudflare Button Component",
4
- "version": "2.12.16",
4
+ "version": "2.12.17",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",
@@ -12,9 +12,9 @@
12
12
  "access": "public"
13
13
  },
14
14
  "dependencies": {
15
- "@cloudflare/component-icon": "^6.6.24",
16
- "@cloudflare/style-const": "^5.2.11",
17
- "@cloudflare/style-container": "^7.7.2",
15
+ "@cloudflare/component-icon": "^6.6.25",
16
+ "@cloudflare/style-const": "^5.2.12",
17
+ "@cloudflare/style-container": "^7.7.3",
18
18
  "polished": "^4.1.4",
19
19
  "prop-types": "^15.6.0"
20
20
  },
@@ -32,5 +32,5 @@
32
32
  "test-coverage": "stratus test --coverage",
33
33
  "test-watch": "stratus test --watch"
34
34
  },
35
- "gitHead": "f2f127acee9f7f5baee33fbf61b445812c7f2e45"
35
+ "gitHead": "5f559644050fc502ee487e85d04b5e8886bc52a8"
36
36
  }