@cloudflare/component-button 2.13.1 → 3.0.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
@@ -3,6 +3,39 @@
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.0.2](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@3.0.1...@cloudflare/component-button@3.0.2) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @cloudflare/component-button
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.0.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@3.0.0...@cloudflare/component-button@3.0.1) (2022-03-16)
15
+
16
+ **Note:** Version bump only for package @cloudflare/component-button
17
+
18
+
19
+
20
+
21
+
22
+ # [3.0.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@2.13.1...@cloudflare/component-button@3.0.0) (2022-03-16)
23
+
24
+
25
+ ### Features
26
+
27
+ * **component-icon:** A11Y-34 Add ariaLabel prop ([fea2e03](http://stash.cfops.it:7999/fe/stratus/commits/fea2e03))
28
+ * **component-icon:** DESSYS-1060: use svgr, TS, unique ids per icon ([da0ffab](http://stash.cfops.it:7999/fe/stratus/commits/da0ffab))
29
+
30
+
31
+ ### BREAKING CHANGES
32
+
33
+ * **component-icon:** make label prop a no-op
34
+
35
+
36
+
37
+
38
+
6
39
  ## [2.13.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-button@2.13.0...@cloudflare/component-button@2.13.1) (2022-03-11)
7
40
 
8
41
  **Note:** Version bump only for package @cloudflare/component-button
package/dist/Button.d.ts CHANGED
@@ -124,14 +124,14 @@ declare const _default: React.ComponentType<{
124
124
  loading?: boolean | undefined;
125
125
  stretch?: boolean | undefined;
126
126
  submit?: boolean | undefined;
127
+ ariaLabel?: string | undefined;
128
+ testId?: string | undefined;
127
129
  inverted?: boolean | undefined;
128
130
  spaced?: boolean | undefined;
129
131
  group?: "first" | "last" | "inbetween" | undefined;
130
- testId?: string | undefined;
131
132
  iconType?: IconType | undefined;
132
133
  iconLabel?: string | undefined;
133
134
  iconSize?: number | undefined;
134
- ariaLabel?: string | undefined;
135
135
  noWrapText?: boolean | undefined;
136
136
  p?: import("csstype").PaddingProperty<string | number> | [import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined] | [import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined] | undefined;
137
137
  color?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
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.13.1",
4
+ "version": "3.0.2",
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.26",
16
- "@cloudflare/style-const": "^5.2.13",
17
- "@cloudflare/style-container": "^7.7.4",
15
+ "@cloudflare/component-icon": "^7.0.2",
16
+ "@cloudflare/style-const": "^5.2.14",
17
+ "@cloudflare/style-container": "^7.7.5",
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": "7b2728d6a550d966a7b2f42ae78f5e859e0f27bb"
35
+ "gitHead": "749b580e79c7886f63e5438f3107d6aa90b59a9b"
36
36
  }