@yahoo/uds-icons 2.21.1 → 2.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/assets/Progress-fill-24.svg +1 -1
- package/assets/Progress-fill-32.svg +1 -1
- package/assets/Progress-outline-12.svg +1 -1
- package/assets/Progress-outline-16.svg +1 -1
- package/assets/Progress-outline-32.svg +1 -1
- package/assets/color-map.json +10 -10
- package/dist/icons/Progress.cjs +1 -1
- package/dist/icons/Progress.js +1 -1
- package/generated/font/uds-icons.ttf +0 -0
- package/package.json +2 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none">
|
|
2
|
-
<path fill="black" d="M12
|
|
2
|
+
<path fill="black" d="M12 4.15A7.85 7.85 0 1 0 19.85 12h2.3c0 5.606-4.545 10.15-10.15 10.15S1.85 17.606 1.85 12 6.394 1.85 12 1.85a1.15 1.15 0 0 1 0 2.3"/>
|
|
3
3
|
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none">
|
|
2
|
-
<path fill="black" d="M16
|
|
2
|
+
<path fill="black" d="M16 4.35C9.566 4.35 4.35 9.566 4.35 16S9.566 27.65 16 27.65 27.65 22.434 27.65 16h2.7c0 7.925-6.424 14.35-14.35 14.35S1.65 23.925 1.65 16 8.075 1.65 16 1.65a1.35 1.35 0 1 1 0 2.7"/>
|
|
3
3
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none">
|
|
2
2
|
<g clip-path="url(#Progress-outline-12_svg__a)">
|
|
3
|
-
<path fill="black" d="
|
|
3
|
+
<path fill="black" d="M6 2.1A3.9 3.9 0 1 0 9.9 6h1.2A5.1 5.1 0 1 1 6 .9a.6.6 0 1 1 0 1.2"/>
|
|
4
4
|
</g>
|
|
5
5
|
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none">
|
|
2
|
-
<path fill="black" d="
|
|
2
|
+
<path fill="black" d="M8 2.8A5.2 5.2 0 1 0 13.2 8h1.6A6.8 6.8 0 1 1 8 1.2a.8.8 0 1 1 0 1.6"/>
|
|
3
3
|
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none">
|
|
2
|
-
<path fill="black" d="M16
|
|
2
|
+
<path fill="black" d="M16 4.15C9.455 4.15 4.15 9.456 4.15 16c0 6.545 5.305 11.85 11.85 11.85 6.544 0 11.85-5.305 11.85-11.85h2.3c0 7.815-6.336 14.15-14.15 14.15-7.815 0-14.15-6.335-14.15-14.15S8.185 1.85 16 1.85a1.15 1.15 0 0 1 0 2.3"/>
|
|
3
3
|
</svg>
|
package/assets/color-map.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"light": {
|
|
3
3
|
"644300": "rgb(var(--uds-spectrum-color-yellow-9))",
|
|
4
|
+
"#7D2EFF": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
5
|
+
"#7d2eff": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
6
|
+
"7D2EFF": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
7
|
+
"7d2eff": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
4
8
|
"#0063EB": "rgb(var(--uds-spectrum-color-blue-9))",
|
|
5
9
|
"#0063eb": "rgb(var(--uds-spectrum-color-blue-9))",
|
|
6
10
|
"0063EB": "rgb(var(--uds-spectrum-color-blue-9))",
|
|
@@ -43,13 +47,13 @@
|
|
|
43
47
|
"464E56": "rgb(var(--uds-spectrum-color-gray-10))",
|
|
44
48
|
"464e56": "rgb(var(--uds-spectrum-color-gray-10))",
|
|
45
49
|
"#000000": "rgb(var(--uds-spectrum-color-gray-15))",
|
|
46
|
-
"000000": "rgb(var(--uds-spectrum-color-gray-15))"
|
|
47
|
-
"#7D2EFF": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
48
|
-
"#7d2eff": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
49
|
-
"7D2EFF": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
50
|
-
"7d2eff": "rgb(var(--uds-spectrum-color-purple-9))"
|
|
50
|
+
"000000": "rgb(var(--uds-spectrum-color-gray-15))"
|
|
51
51
|
},
|
|
52
52
|
"dark": {
|
|
53
|
+
"#907CFF": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
54
|
+
"#907cff": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
55
|
+
"907CFF": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
56
|
+
"907cff": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
53
57
|
"#12A9FF": "rgb(var(--uds-spectrum-color-blue-9))",
|
|
54
58
|
"#12a9ff": "rgb(var(--uds-spectrum-color-blue-9))",
|
|
55
59
|
"12A9FF": "rgb(var(--uds-spectrum-color-blue-9))",
|
|
@@ -95,10 +99,6 @@
|
|
|
95
99
|
"#FFFFFF": "rgb(var(--uds-spectrum-color-gray-15))",
|
|
96
100
|
"#ffffff": "rgb(var(--uds-spectrum-color-gray-15))",
|
|
97
101
|
"FFFFFF": "rgb(var(--uds-spectrum-color-gray-15))",
|
|
98
|
-
"ffffff": "rgb(var(--uds-spectrum-color-gray-15))"
|
|
99
|
-
"#907CFF": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
100
|
-
"#907cff": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
101
|
-
"907CFF": "rgb(var(--uds-spectrum-color-purple-9))",
|
|
102
|
-
"907cff": "rgb(var(--uds-spectrum-color-purple-9))"
|
|
102
|
+
"ffffff": "rgb(var(--uds-spectrum-color-gray-15))"
|
|
103
103
|
}
|
|
104
104
|
}
|
package/dist/icons/Progress.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use strict';var jsxRuntime=require('react/jsx-runtime');/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
const o=({size:
|
|
2
|
+
const o=({size:a,variant:l})=>{if(l==="outline")switch(a){case "xs":return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M6 2.1A3.9 3.9 0 1 0 9.9 6h1.2A5.1 5.1 0 1 1 6 .9a.6.6 0 1 1 0 1.2"})})});case "sm":return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M8 2.8A5.2 5.2 0 1 0 13.2 8h1.6A6.8 6.8 0 1 1 8 1.2a.8.8 0 1 1 0 1.6"})});case "md":return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case "lg":return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M16 4.15C9.455 4.15 4.15 9.456 4.15 16c0 6.545 5.305 11.85 11.85 11.85 6.544 0 11.85-5.305 11.85-11.85h2.3c0 7.815-6.336 14.15-14.15 14.15-7.815 0-14.15-6.335-14.15-14.15S8.185 1.85 16 1.85a1.15 1.15 0 0 1 0 2.3"})})}if(l==="fill")switch(a){case "xs":return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case "sm":return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case "md":return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M12 4.15A7.85 7.85 0 1 0 19.85 12h2.3c0 5.606-4.545 10.15-10.15 10.15S1.85 17.606 1.85 12 6.394 1.85 12 1.85a1.15 1.15 0 0 1 0 2.3"})});case "lg":return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M16 4.35C9.566 4.35 4.35 9.566 4.35 16S9.566 27.65 16 27.65 27.65 22.434 27.65 16h2.7c0 7.925-6.424 14.35-14.35 14.35S1.65 23.925 1.65 16 8.075 1.65 16 1.65a1.35 1.35 0 1 1 0 2.7"})})}return jsxRuntime.jsx(jsxRuntime.Fragment,{})};o.metadata={name:"Progress",isSvgIcon:true,variants:["outline","fill"]};exports.Progress=o;
|
package/dist/icons/Progress.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import {jsx,Fragment}from'react/jsx-runtime';/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
const o=({size:
|
|
2
|
+
const o=({size:a,variant:l})=>{if(l==="outline")switch(a){case "xs":return jsx(Fragment,{children:jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:jsx("path",{fill:"currentColor",d:"M6 2.1A3.9 3.9 0 1 0 9.9 6h1.2A5.1 5.1 0 1 1 6 .9a.6.6 0 1 1 0 1.2"})})});case "sm":return jsx(Fragment,{children:jsx("path",{fill:"currentColor",d:"M8 2.8A5.2 5.2 0 1 0 13.2 8h1.6A6.8 6.8 0 1 1 8 1.2a.8.8 0 1 1 0 1.6"})});case "md":return jsx(Fragment,{children:jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case "lg":return jsx(Fragment,{children:jsx("path",{fill:"currentColor",d:"M16 4.15C9.455 4.15 4.15 9.456 4.15 16c0 6.545 5.305 11.85 11.85 11.85 6.544 0 11.85-5.305 11.85-11.85h2.3c0 7.815-6.336 14.15-14.15 14.15-7.815 0-14.15-6.335-14.15-14.15S8.185 1.85 16 1.85a1.15 1.15 0 0 1 0 2.3"})})}if(l==="fill")switch(a){case "xs":return jsx(Fragment,{children:jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case "sm":return jsx(Fragment,{children:jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case "md":return jsx(Fragment,{children:jsx("path",{fill:"currentColor",d:"M12 4.15A7.85 7.85 0 1 0 19.85 12h2.3c0 5.606-4.545 10.15-10.15 10.15S1.85 17.606 1.85 12 6.394 1.85 12 1.85a1.15 1.15 0 0 1 0 2.3"})});case "lg":return jsx(Fragment,{children:jsx("path",{fill:"currentColor",d:"M16 4.35C9.566 4.35 4.35 9.566 4.35 16S9.566 27.65 16 27.65 27.65 22.434 27.65 16h2.7c0 7.925-6.424 14.35-14.35 14.35S1.65 23.925 1.65 16 8.075 1.65 16 1.65a1.35 1.35 0 1 1 0 2.7"})})}return jsx(Fragment,{})};o.metadata={name:"Progress",isSvgIcon:true,variants:["outline","fill"]};export{o as Progress};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-icons",
|
|
3
3
|
"description": "Yahoo Universal System Icons",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.22.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"assets/**",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"icons:validate": "bun ./scripts/generateSVGs.ts --dryRun",
|
|
83
83
|
"lint": "eslint -c eslint.config.mjs .",
|
|
84
84
|
"lint:fix": "bun run lint --fix",
|
|
85
|
+
"noop": "echo 'noop'",
|
|
85
86
|
"test": "vitest run",
|
|
86
87
|
"test:update": "vitest --update",
|
|
87
88
|
"test:watch": "vitest",
|