@cypress-design/react-icon 0.13.2 → 0.14.1
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 +17 -0
- package/compileProperties.ts +1 -1
- package/dist/TreeShakableIcons.d.ts +1 -0
- package/dist/TreeShakableIcons.d.ts.map +1 -1
- package/dist/index.es.mjs +13 -2
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +13 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -67,7 +67,7 @@ function __rest(s, e) {
|
|
|
67
67
|
var compileReactIconProperties = function (_a) {
|
|
68
68
|
var body = _a.body, compiledClasses = _a.compiledClasses, size = _a.size, attributes = __rest(_a, ["body", "compiledClasses", "size"]);
|
|
69
69
|
var filteredAttributes = Object.keys(attributes).reduce(function (newAttributes, attrName) {
|
|
70
|
-
if (!iconsRegistry.ICON_COLOR_PROP_NAMES.includes(attrName)) {
|
|
70
|
+
if (!iconsRegistry.ICON_COLOR_PROP_NAMES.includes(attrName) && attrName !== 'name') {
|
|
71
71
|
newAttributes[attrName] =
|
|
72
72
|
attributes[attrName];
|
|
73
73
|
}
|
|
@@ -2147,6 +2147,17 @@ var IconTechnologyDashboardFail = function (props) {
|
|
|
2147
2147
|
}
|
|
2148
2148
|
return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
|
|
2149
2149
|
};
|
|
2150
|
+
var IconTechnologyDashboardRunning = function (props) {
|
|
2151
|
+
var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["48"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
|
|
2152
|
+
var iconBodies = {
|
|
2153
|
+
"48": "<path d=\"M40 8H8a3 3 0 0 0-3 3v5h38v-5a3 3 0 0 0-3-3Z\" fill=\"#E1E3ED\" class=\"icon-light\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 8a3 3 0 0 0-3 3v5h38v-5a3 3 0 0 0-3-3H8Z\" fill=\"#E1E3ED\" class=\"icon-light\"/><path d=\"m19 30-5-2-5 3v5h29a1 1 0 0 0 1-1V23l-5 1-5 3-5-2-5 5Z\" fill=\"#E1E3ED\" class=\"icon-light\"/><path d=\"M19 12h20m4-1v26a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3V11m38 0a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3m38 0v5H5v-5m34 12v12a1 1 0 0 1-1 1H9m30-13v-2a1 1 0 0 0-1-1H10a1 1 0 0 0-1 1v15m30-13-5 1-5 3-5-2-5 5-5-2-5 3v5\" stroke=\"#9095AD\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon-dark\"/><path d=\"M10 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM13 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\" fill=\"#9095AD\" class=\"icon-dark\"/><path d=\"M39 37a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z\" fill=\"#fff\"/><path d=\"M37 37a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z\" fill=\"currentColor\" class=\"icon-light\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31 32a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm-7 5a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z\" fill=\"#C5C9FD\" class=\"icon-light-secondary\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M30 31a1 1 0 0 1 1-1 7 7 0 0 1 7 7 1 1 0 1 1-2 0 5 5 0 0 0-5-5 1 1 0 0 1-1-1Z\" fill=\"#4956E3\" class=\"icon-dark-secondary\"/><path d=\"M36 37a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z\" fill=\"#fff\"/>"
|
|
2154
|
+
};
|
|
2155
|
+
var body = iconBodies[size];
|
|
2156
|
+
if (!body) {
|
|
2157
|
+
throw Error("Icon \"technology-dashboard-running\" is not available in size " + size);
|
|
2158
|
+
}
|
|
2159
|
+
return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
|
|
2160
|
+
};
|
|
2150
2161
|
var IconTechnologyDebugger = function (props) {
|
|
2151
2162
|
var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["24"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
|
|
2152
2163
|
var iconBodies = {
|
|
@@ -2624,6 +2635,7 @@ exports.IconTechnologyCommandLine = IconTechnologyCommandLine;
|
|
|
2624
2635
|
exports.IconTechnologyCypress = IconTechnologyCypress;
|
|
2625
2636
|
exports.IconTechnologyDashboardCheckmark = IconTechnologyDashboardCheckmark;
|
|
2626
2637
|
exports.IconTechnologyDashboardFail = IconTechnologyDashboardFail;
|
|
2638
|
+
exports.IconTechnologyDashboardRunning = IconTechnologyDashboardRunning;
|
|
2627
2639
|
exports.IconTechnologyDebugger = IconTechnologyDebugger;
|
|
2628
2640
|
exports.IconTechnologyDollar = IconTechnologyDollar;
|
|
2629
2641
|
exports.IconTechnologyDragProject = IconTechnologyDragProject;
|