@cypress-design/react-icon 0.1.0 → 0.2.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/CHANGELOG.md +11 -0
- package/Icon.cy.tsx +1 -1
- package/dist/TreeShakableIcons.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -3
- package/dist/index.umd.js.map +1 -1
- package/index.ts +4 -0
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -902,13 +902,11 @@ var IconGeneralOfficeBuilding = function (props) {
|
|
|
902
902
|
return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
|
|
903
903
|
};
|
|
904
904
|
var IconGeneralPlaceholder = function (props) {
|
|
905
|
-
var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["12", "16", "24", "
|
|
905
|
+
var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["12", "16", "24", "48"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
|
|
906
906
|
var iconBodies = {
|
|
907
907
|
"12": "<path d=\"M9.55 2.45c1.933 1.934 1.933 5.166 0 7.1-1.934 1.933-5.166 1.933-7.1 0-1.933-1.934-1.933-5.166 0-7.1 1.934-1.933 5.166-1.933 7.1 0Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"m6 6 3.55-3.55M6 6 2.45 2.45M6 6l3.55 3.55M6 6 2.45 9.55m7.1-7.1c1.933 1.934 1.933 5.166 0 7.1m0-7.1C7.616.517 4.384.517 2.45 2.45m0 0c-1.933 1.934-1.933 5.166 0 7.1m7.1 0c-1.934 1.933-5.166 1.933-7.1 0\" stroke=\"#1B1E2E\" class=\"icon-dark\" stroke-width=\"2\"/>",
|
|
908
908
|
"16": "<path d=\"M12.97 3.03c2.707 2.708 2.707 7.232 0 9.94-2.708 2.707-7.232 2.707-9.94 0-2.707-2.708-2.707-7.232 0-9.94 2.708-2.707 7.232-2.707 9.94 0Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"m8 8 4.97-4.97M8 8 3.03 3.03M8 8l4.97 4.97M8 8l-4.97 4.97m9.94-9.94c2.707 2.708 2.707 7.232 0 9.94m0-9.94C10.261.324 5.737.324 3.03 3.03m0 0c-2.707 2.708-2.707 7.232 0 9.94m9.94 0c-2.708 2.707-7.232 2.707-9.94 0\" stroke=\"#1B1E2E\" class=\"icon-dark\" stroke-width=\"2\"/>",
|
|
909
909
|
"24": "<path d=\"M19.1 4.9c3.867 3.869 3.867 10.332 0 14.2-3.869 3.867-10.331 3.867-14.2 0-3.867-3.869-3.867-10.331 0-14.2 3.869-3.867 10.332-3.867 14.2 0Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"m12 12 7.1-7.1M12 12 4.9 4.9M12 12l7.1 7.1M12 12l-7.1 7.1M19.1 4.9c3.867 3.869 3.867 10.332 0 14.2m0-14.2C15.23 1.034 8.768 1.034 4.9 4.9m0 0c-3.867 3.869-3.867 10.332 0 14.2m14.2 0c-3.869 3.867-10.331 3.867-14.2 0\" stroke=\"#1B1E2E\" class=\"icon-dark\" stroke-width=\"2\"/>",
|
|
910
|
-
"32": "<path d=\"M25.229 6.771c5.028 5.028 5.028 13.43 0 18.458-5.028 5.028-13.43 5.028-18.458 0-5.028-5.028-5.028-13.43 0-18.458 5.028-5.028 13.43-5.028 18.458 0Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"m16 16 9.229-9.229M16 16 6.771 6.771M16 16l9.229 9.229M16 16l-9.229 9.229M25.229 6.771c5.028 5.028 5.028 13.43 0 18.458m0-18.458c-5.028-5.028-13.43-5.028-18.458 0m0 0c-5.028 5.028-5.028 13.43 0 18.458m18.458 0c-5.028 5.028-13.43 5.028-18.458 0\" stroke=\"#1B1E2E\" class=\"icon-dark\" stroke-width=\"2\"/>",
|
|
911
|
-
"40": "<path d=\"M32.069 7.931c6.575 6.576 6.575 17.563 0 24.138-6.576 6.575-17.563 6.575-24.138 0-6.575-6.576-6.575-17.563 0-24.138 6.576-6.575 17.563-6.575 24.138 0Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"M20 20 32.069 7.931M20 20 7.931 7.931M20 20l12.069 12.069M20 20 7.931 32.069M32.07 7.93c6.575 6.576 6.575 17.563 0 24.138m0-24.138c-6.576-6.575-17.563-6.575-24.138 0m0 0c-6.575 6.576-6.575 17.563 0 24.138m24.138 0c-6.576 6.575-17.563 6.575-24.138 0\" stroke=\"#1B1E2E\" class=\"icon-dark\" stroke-width=\"2\"/>",
|
|
912
910
|
"48": "<path d=\"M38.198 9.802c7.736 7.735 7.736 20.66 0 28.396-7.735 7.736-20.66 7.736-28.396 0-7.736-7.735-7.736-20.66 0-28.396 7.735-7.736 20.66-7.736 28.396 0Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"M24 24 38.198 9.802M24 24 9.802 9.802M24 24l14.198 14.198M24 24 9.802 38.198M38.198 9.802c7.736 7.735 7.736 20.66 0 28.396m0-28.396c-7.735-7.736-20.66-7.736-28.396 0m0 0c-7.736 7.735-7.736 20.66 0 28.396m28.396 0c-7.735 7.736-20.66 7.736-28.396 0\" stroke=\"#1B1E2E\" class=\"icon-dark\" stroke-width=\"2\"/>"
|
|
913
911
|
};
|
|
914
912
|
var body = iconBodies[size];
|