@cypress-design/react-icon 0.21.4 → 0.22.0
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +11 -0
- package/_TreeShakableIcons.ts +2 -2
- package/dist/index.es.mjs +2 -2
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -9,5 +9,5 @@ $ rollup -c ./rollup.config.mjs
|
|
|
9
9
|
index.ts
|
|
10
10
|
|
|
11
11
|
Consumers of your bundle will have to use chunk.default to access their default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
|
|
12
|
-
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [
|
|
12
|
+
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [1m20.3s[22m[39m
|
|
13
13
|
$ tsc --project ./tsconfig.build.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @cypress-design/react-icon
|
|
2
2
|
|
|
3
|
+
## 0.22.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#240](https://github.com/cypress-io/cypress-design/pull/240) [`7b59812`](https://github.com/cypress-io/cypress-design/commit/7b59812607db7bd563643c84f5cf9c4be52d98b9) Thanks [@elevatebart](https://github.com/elevatebart)! - make 2 icons background transparent by default
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`7b59812`](https://github.com/cypress-io/cypress-design/commit/7b59812607db7bd563643c84f5cf9c4be52d98b9)]:
|
|
12
|
+
- @cypress-design/icon-registry@0.24.0
|
|
13
|
+
|
|
3
14
|
## 0.21.4
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/_TreeShakableIcons.ts
CHANGED
|
@@ -2718,7 +2718,7 @@ export const IconObjectPaperAirplane: React.FC<
|
|
|
2718
2718
|
> = (props) => {
|
|
2719
2719
|
const { sizeWithDefault: size, compiledClasses } = iconsRegistry.getComponentAttributes({ ...(props as any), availableSizes: ["16"] })
|
|
2720
2720
|
const iconBodies: Record<string, string> = {
|
|
2721
|
-
"16": "<path fill=\"
|
|
2721
|
+
"16": "<path fill=\"transparent\" d=\"M15 8 1 1l2 7-2 7 14-7Z\" class=\"icon-light\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m3 8-2 7 14-7L1 1l2 7Zm0 0h3\" class=\"icon-dark\"/>"
|
|
2722
2722
|
}
|
|
2723
2723
|
const body = iconBodies[size]
|
|
2724
2724
|
if(!body){
|
|
@@ -4350,7 +4350,7 @@ export const IconUserGeneralOutline: React.FC<
|
|
|
4350
4350
|
> = (props) => {
|
|
4351
4351
|
const { sizeWithDefault: size, compiledClasses } = iconsRegistry.getComponentAttributes({ ...(props as any), availableSizes: ["16"] })
|
|
4352
4352
|
const iconBodies: Record<string, string> = {
|
|
4353
|
-
"16": "<path fill=\"
|
|
4353
|
+
"16": "<path fill=\"transparent\" d=\"M8 1a7 7 0 0 0-4.9 12 5.009 5.009 0 0 1 3.043-3.644 3 3 0 1 1 3.714 0A5.009 5.009 0 0 1 12.9 13 7 7 0 0 0 8 1Z\" class=\"icon-light\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M6.143 9.356C6.653 9.76 7.299 10 8 10c.701 0 1.346-.24 1.857-.644m-3.714 0a3 3 0 1 1 3.714 0m-3.714 0A5.009 5.009 0 0 0 3.1 13m6.757-3.643A5.009 5.009 0 0 1 12.9 13m0 0a7 7 0 1 0-9.8 0m9.8 0A6.977 6.977 0 0 1 8 15a6.977 6.977 0 0 1-4.9-2\" class=\"icon-dark\"/>"
|
|
4354
4354
|
}
|
|
4355
4355
|
const body = iconBodies[size]
|
|
4356
4356
|
if(!body){
|
package/dist/index.es.mjs
CHANGED
|
@@ -1580,7 +1580,7 @@ var IconObjectOdometer = function (props) {
|
|
|
1580
1580
|
var IconObjectPaperAirplane = function (props) {
|
|
1581
1581
|
var _a = iconsRegistry.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
|
|
1582
1582
|
var iconBodies = {
|
|
1583
|
-
"16": "<path fill=\"
|
|
1583
|
+
"16": "<path fill=\"transparent\" d=\"M15 8 1 1l2 7-2 7 14-7Z\" class=\"icon-light\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m3 8-2 7 14-7L1 1l2 7Zm0 0h3\" class=\"icon-dark\"/>"
|
|
1584
1584
|
};
|
|
1585
1585
|
var body = iconBodies[size];
|
|
1586
1586
|
if (!body) {
|
|
@@ -2501,7 +2501,7 @@ var IconTimeStopwatch = function (props) {
|
|
|
2501
2501
|
var IconUserGeneralOutline = function (props) {
|
|
2502
2502
|
var _a = iconsRegistry.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
|
|
2503
2503
|
var iconBodies = {
|
|
2504
|
-
"16": "<path fill=\"
|
|
2504
|
+
"16": "<path fill=\"transparent\" d=\"M8 1a7 7 0 0 0-4.9 12 5.009 5.009 0 0 1 3.043-3.644 3 3 0 1 1 3.714 0A5.009 5.009 0 0 1 12.9 13 7 7 0 0 0 8 1Z\" class=\"icon-light\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M6.143 9.356C6.653 9.76 7.299 10 8 10c.701 0 1.346-.24 1.857-.644m-3.714 0a3 3 0 1 1 3.714 0m-3.714 0A5.009 5.009 0 0 0 3.1 13m6.757-3.643A5.009 5.009 0 0 1 12.9 13m0 0a7 7 0 1 0-9.8 0m9.8 0A6.977 6.977 0 0 1 8 15a6.977 6.977 0 0 1-4.9-2\" class=\"icon-dark\"/>"
|
|
2505
2505
|
};
|
|
2506
2506
|
var body = iconBodies[size];
|
|
2507
2507
|
if (!body) {
|