@cloudflare/component-icon 6.6.21 → 6.6.22
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
|
+
## [6.6.22](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@6.6.21...@cloudflare/component-icon@6.6.22) (2022-03-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **component-icon:** UI-5120: fix component-lib docs for icon ([460c37c](http://stash.cfops.it:7999/fe/stratus/commits/460c37c))
|
|
12
|
+
* **component-icon:** UI-5120: run `yarn update-icons` from root ([fc8533a](http://stash.cfops.it:7999/fe/stratus/commits/fc8533a))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [6.6.21](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@6.6.20...@cloudflare/component-icon@6.6.21) (2022-03-04)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @cloudflare/component-icon
|
package/DOCUMENTATION.js
CHANGED
|
@@ -327,7 +327,7 @@ export default ({
|
|
|
327
327
|
scope={{ ...snippetScope }}
|
|
328
328
|
split="horizontal"
|
|
329
329
|
code={`
|
|
330
|
-
<Icon type="
|
|
330
|
+
<Icon type="applications" color="gray.2" />
|
|
331
331
|
`}
|
|
332
332
|
/>
|
|
333
333
|
</Div>
|
|
@@ -364,11 +364,7 @@ export default ({
|
|
|
364
364
|
<Label htmlFor="color" ml="auto" mr={3} cursor="pointer">
|
|
365
365
|
Toggle Color
|
|
366
366
|
</Label>
|
|
367
|
-
<Toggle
|
|
368
|
-
id="color"
|
|
369
|
-
value={isOK}
|
|
370
|
-
onChange={e => toggleIsOk(e.target.checked)}
|
|
371
|
-
/>
|
|
367
|
+
<Toggle id="color" value={isOK} onChange={e => toggleIsOk(e)} />
|
|
372
368
|
</Div>
|
|
373
369
|
<ExamplePreview
|
|
374
370
|
scope={{ ...snippetScope }}
|
|
@@ -8,13 +8,10 @@ const CloudflareMagicWan = ({
|
|
|
8
8
|
}) => /*#__PURE__*/React.createElement("svg", {
|
|
9
9
|
className: className,
|
|
10
10
|
"aria-label": label,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
fill: "none",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
viewBox: "0 0 16 16"
|
|
15
13
|
}, /*#__PURE__*/React.createElement("path", {
|
|
16
|
-
d: "M15 7.473h-4.284l3.95-1.645-.412-.998-3.965 1.64 3.034-3.043-.762-.763L9.54 5.693l1.642-3.951-.996-.416-1.648 3.97V1H7.462v4.277L5.846 1.321l-.996.413 1.637 3.972-3.048-3.04-.762.761 3.021 3.029-3.944-1.642-.415.995 3.969 1.664H1v1.079h4.283l-3.95 1.618.413.998 3.966-1.64-3.035 3.04.762.763 3.021-3.026-1.642 3.95.996.416 1.648-3.962V15h1.076v-4.29l1.616 3.956.996-.41-1.623-3.965 3.034 3.04.762-.764-3.021-3.026 3.944 1.646.415-.998-3.969-1.637H15v-1.08zm-4.308 0v1.079l-.409.992-.756.758-.989.39H7.462l-.989-.409-.756-.758-.41-.992v-1.06l.41-.993.756-.758.989-.407h1.076l.989.41.756.758.41.99z"
|
|
17
|
-
fill: "#000"
|
|
14
|
+
d: "M15 7.473h-4.284l3.95-1.645-.412-.998-3.965 1.64 3.034-3.043-.762-.763L9.54 5.693l1.642-3.951-.996-.416-1.648 3.97V1H7.462v4.277L5.846 1.321l-.996.413 1.637 3.972-3.048-3.04-.762.761 3.021 3.029-3.944-1.642-.415.995 3.969 1.664H1v1.079h4.283l-3.95 1.618.413.998 3.966-1.64-3.035 3.04.762.763 3.021-3.026-1.642 3.95.996.416 1.648-3.962V15h1.076v-4.29l1.616 3.956.996-.41-1.623-3.965 3.034 3.04.762-.764-3.021-3.026 3.944 1.646.415-.998-3.969-1.637H15v-1.08zm-4.308 0v1.079l-.409.992-.756.758-.989.39H7.462l-.989-.409-.756-.758-.41-.992v-1.06l.41-.993.756-.758.989-.407h1.076l.989.41.756.758.41.99z"
|
|
18
15
|
}));
|
|
19
16
|
|
|
20
17
|
CloudflareMagicWan.propTypes = {
|
package/es/reactsvgs/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import CaretUp from './CaretUp';
|
|
|
18
18
|
import Chart from './Chart';
|
|
19
19
|
import Clipboard from './Clipboard';
|
|
20
20
|
import CloudflareAccess from './CloudflareAccess';
|
|
21
|
+
import CloudflareMagicWan from './CloudflareMagicWan';
|
|
21
22
|
import CloudflareZeroTrust from './CloudflareZeroTrust';
|
|
22
23
|
import Copy from './Copy';
|
|
23
24
|
import CreditCard from './CreditCard';
|
|
@@ -123,6 +124,7 @@ export default {
|
|
|
123
124
|
chart: Chart,
|
|
124
125
|
clipboard: Clipboard,
|
|
125
126
|
'cloudflare-access': CloudflareAccess,
|
|
127
|
+
'cloudflare-magic-wan': CloudflareMagicWan,
|
|
126
128
|
'cloudflare-zero-trust': CloudflareZeroTrust,
|
|
127
129
|
copy: Copy,
|
|
128
130
|
'credit-card': CreditCard,
|
|
@@ -18,13 +18,10 @@ var CloudflareMagicWan = function CloudflareMagicWan(_ref) {
|
|
|
18
18
|
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
19
19
|
className: className,
|
|
20
20
|
"aria-label": label,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
fill: "none",
|
|
24
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
viewBox: "0 0 16 16"
|
|
25
23
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
26
|
-
d: "M15 7.473h-4.284l3.95-1.645-.412-.998-3.965 1.64 3.034-3.043-.762-.763L9.54 5.693l1.642-3.951-.996-.416-1.648 3.97V1H7.462v4.277L5.846 1.321l-.996.413 1.637 3.972-3.048-3.04-.762.761 3.021 3.029-3.944-1.642-.415.995 3.969 1.664H1v1.079h4.283l-3.95 1.618.413.998 3.966-1.64-3.035 3.04.762.763 3.021-3.026-1.642 3.95.996.416 1.648-3.962V15h1.076v-4.29l1.616 3.956.996-.41-1.623-3.965 3.034 3.04.762-.764-3.021-3.026 3.944 1.646.415-.998-3.969-1.637H15v-1.08zm-4.308 0v1.079l-.409.992-.756.758-.989.39H7.462l-.989-.409-.756-.758-.41-.992v-1.06l.41-.993.756-.758.989-.407h1.076l.989.41.756.758.41.99z"
|
|
27
|
-
fill: "#000"
|
|
24
|
+
d: "M15 7.473h-4.284l3.95-1.645-.412-.998-3.965 1.64 3.034-3.043-.762-.763L9.54 5.693l1.642-3.951-.996-.416-1.648 3.97V1H7.462v4.277L5.846 1.321l-.996.413 1.637 3.972-3.048-3.04-.762.761 3.021 3.029-3.944-1.642-.415.995 3.969 1.664H1v1.079h4.283l-3.95 1.618.413.998 3.966-1.64-3.035 3.04.762.763 3.021-3.026-1.642 3.95.996.416 1.648-3.962V15h1.076v-4.29l1.616 3.956.996-.41-1.623-3.965 3.034 3.04.762-.764-3.021-3.026 3.944 1.646.415-.998-3.969-1.637H15v-1.08zm-4.308 0v1.079l-.409.992-.756.758-.989.39H7.462l-.989-.409-.756-.758-.41-.992v-1.06l.41-.993.756-.758.989-.407h1.076l.989.41.756.758.41.99z"
|
|
28
25
|
}));
|
|
29
26
|
};
|
|
30
27
|
|
package/lib/reactsvgs/index.js
CHANGED
|
@@ -43,6 +43,8 @@ var _Clipboard = _interopRequireDefault(require("./Clipboard"));
|
|
|
43
43
|
|
|
44
44
|
var _CloudflareAccess = _interopRequireDefault(require("./CloudflareAccess"));
|
|
45
45
|
|
|
46
|
+
var _CloudflareMagicWan = _interopRequireDefault(require("./CloudflareMagicWan"));
|
|
47
|
+
|
|
46
48
|
var _CloudflareZeroTrust = _interopRequireDefault(require("./CloudflareZeroTrust"));
|
|
47
49
|
|
|
48
50
|
var _Copy = _interopRequireDefault(require("./Copy"));
|
|
@@ -236,6 +238,7 @@ var _default = {
|
|
|
236
238
|
chart: _Chart.default,
|
|
237
239
|
clipboard: _Clipboard.default,
|
|
238
240
|
'cloudflare-access': _CloudflareAccess.default,
|
|
241
|
+
'cloudflare-magic-wan': _CloudflareMagicWan.default,
|
|
239
242
|
'cloudflare-zero-trust': _CloudflareZeroTrust.default,
|
|
240
243
|
copy: _Copy.default,
|
|
241
244
|
'credit-card': _CreditCard.default,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/component-icon",
|
|
3
3
|
"description": "Cloudflare Icon Component",
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.22",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
7
7
|
"author": "James Kyle <jkyle@cloudflare.com>",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@cloudflare/style-container": "^7.
|
|
14
|
+
"@cloudflare/style-container": "^7.7.0",
|
|
15
15
|
"@cloudflare/types": "^6.13.6",
|
|
16
16
|
"prop-types": "^15.6.0"
|
|
17
17
|
},
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"test-coverage": "stratus test --coverage",
|
|
34
34
|
"test-watch": "stratus test --watch"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "82a36802f6e226b589c55cf2a8ed21b9942ea6d7"
|
|
37
37
|
}
|