@cloudflare/component-button 3.1.38 → 3.1.41

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,30 @@
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
+ ## [3.1.41](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@3.1.40...@cloudflare/component-button@3.1.41) (2022-06-17)
7
+
8
+ **Note:** Version bump only for package @cloudflare/component-button
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.1.40](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@3.1.39...@cloudflare/component-button@3.1.40) (2022-06-14)
15
+
16
+ **Note:** Version bump only for package @cloudflare/component-button
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.1.39](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@3.1.38...@cloudflare/component-button@3.1.39) (2022-06-14)
23
+
24
+ **Note:** Version bump only for package @cloudflare/component-button
25
+
26
+
27
+
28
+
29
+
6
30
  ## [3.1.38](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@3.1.37...@cloudflare/component-button@3.1.38) (2022-06-14)
7
31
 
8
32
  **Note:** Version bump only for package @cloudflare/component-button
package/es/Button.js CHANGED
@@ -271,12 +271,12 @@ const Button = /*#__PURE__*/React.forwardRef((props, ref) => {
271
271
  }), iconType && iconPosition === 'left' && /*#__PURE__*/React.createElement(Icon, {
272
272
  size: iconSize,
273
273
  type: iconType,
274
- label: iconLabel || false,
274
+ ariaLabel: iconLabel,
275
275
  mr: 1
276
276
  }), children, iconType && iconPosition === 'right' && /*#__PURE__*/React.createElement(Icon, {
277
277
  size: iconSize,
278
278
  type: iconType,
279
- label: iconLabel || false,
279
+ ariaLabel: iconLabel,
280
280
  ml: 1
281
281
  }));
282
282
  });
package/lib/Button.js CHANGED
@@ -292,12 +292,12 @@ var Button = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
292
292
  }), iconType && iconPosition === 'left' && /*#__PURE__*/_react.default.createElement(_componentIcon.Icon, {
293
293
  size: iconSize,
294
294
  type: iconType,
295
- label: iconLabel || false,
295
+ ariaLabel: iconLabel,
296
296
  mr: 1
297
297
  }), children, iconType && iconPosition === 'right' && /*#__PURE__*/_react.default.createElement(_componentIcon.Icon, {
298
298
  size: iconSize,
299
299
  type: iconType,
300
- label: iconLabel || false,
300
+ ariaLabel: iconLabel,
301
301
  ml: 1
302
302
  }));
303
303
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-button",
3
3
  "description": "Cloudflare Button Component",
4
- "version": "3.1.38",
4
+ "version": "3.1.41",
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": "^7.2.11",
16
- "@cloudflare/style-const": "^5.3.1",
17
- "@cloudflare/style-container": "^7.8.33",
15
+ "@cloudflare/component-icon": "^7.2.13",
16
+ "@cloudflare/style-const": "^5.3.3",
17
+ "@cloudflare/style-container": "^7.8.35",
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": "c3936d6c389481eb17398683929663cd86178ac9"
35
+ "gitHead": "0aa1559c3ba8176cccdc94ab5143166e3662655c"
36
36
  }