@cypress-design/react-icon 0.11.0 → 0.11.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/dist/index.umd.js CHANGED
@@ -73,7 +73,7 @@ var compileReactIconProperties = function (_a) {
73
73
  }
74
74
  return newAttributes;
75
75
  }, {});
76
- var componentProps = __assign({ width: size, height: size, fill: 'none', dangerouslySetInnerHTML: {
76
+ var componentProps = __assign({ width: size, height: size, viewBox: "0 0 " + size + " " + size, fill: 'none', dangerouslySetInnerHTML: {
77
77
  __html: body
78
78
  } }, filteredAttributes);
79
79
  if (attributes.className) {
@@ -1017,6 +1017,28 @@ var IconGeneralGlobe = function (props) {
1017
1017
  }
1018
1018
  return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
1019
1019
  };
1020
+ var IconGeneralGrid2X2Medium = function (props) {
1021
+ var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
1022
+ var iconBodies = {
1023
+ "16": "<path d=\"M3 3h3v3H3V3ZM3 10h3v3H3v-3ZM10 3h3v3h-3V3ZM10 10h3v3h-3v-3Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"M3 3h3v3H3V3ZM3 10h3v3H3v-3ZM10 3h3v3h-3V3ZM10 10h3v3h-3v-3Z\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linejoin=\"round\" class=\"icon-dark\"/>"
1024
+ };
1025
+ var body = iconBodies[size];
1026
+ if (!body) {
1027
+ throw Error("Icon \"general-grid-2x2-medium\" is not available in size " + size);
1028
+ }
1029
+ return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
1030
+ };
1031
+ var IconGeneralGrid2X2Small = function (props) {
1032
+ var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
1033
+ var iconBodies = {
1034
+ "16": "<path d=\"M3.5 3.5h3v3h-3v-3ZM3.5 9.5h3v3h-3v-3ZM9.5 3.5h3v3h-3v-3ZM9.5 9.5h3v3h-3v-3Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"M3.5 3.5h3v3h-3v-3ZM3.5 9.5h3v3h-3v-3ZM9.5 3.5h3v3h-3v-3ZM9.5 9.5h3v3h-3v-3Z\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linejoin=\"round\" class=\"icon-dark\"/>"
1035
+ };
1036
+ var body = iconBodies[size];
1037
+ if (!body) {
1038
+ throw Error("Icon \"general-grid-2x2-small\" is not available in size " + size);
1039
+ }
1040
+ return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
1041
+ };
1020
1042
  var IconGeneralGrid2X2 = function (props) {
1021
1043
  var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16", "24"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
1022
1044
  var iconBodies = {
@@ -1278,6 +1300,17 @@ var IconObjectChainLink = function (props) {
1278
1300
  }
1279
1301
  return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
1280
1302
  };
1303
+ var IconObjectFolderDarkSmall = function (props) {
1304
+ var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
1305
+ var iconBodies = {
1306
+ "16": "<path d=\"M12.5 12a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-4L7.146 6.354a.5.5 0 0 1-.353.146H3v5a.5.5 0 0 0 .5.5h9Z\" fill=\"#D0D2E0\" class=\"icon-light\"/><path d=\"M8.5 5 7.146 3.646a.5.5 0 0 0-.353-.146H3.5A.5.5 0 0 0 3 4v2.5M8.5 5h4a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-5M8.5 5 7.146 6.354a.5.5 0 0 1-.353.146H3\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linejoin=\"round\" class=\"icon-dark\"/>"
1307
+ };
1308
+ var body = iconBodies[size];
1309
+ if (!body) {
1310
+ throw Error("Icon \"object-folder-dark-small\" is not available in size " + size);
1311
+ }
1312
+ return React__namespace.createElement('svg', compileReactIconProperties(__assign(__assign({}, props), { size: size, body: body, compiledClasses: compiledClasses })));
1313
+ };
1281
1314
  var IconObjectFolderDark = function (props) {
1282
1315
  var _a = iconsRegistry__namespace.getComponentAttributes(__assign(__assign({}, props), { availableSizes: ["16"] })), size = _a.sizeWithDefault, compiledClasses = _a.compiledClasses;
1283
1316
  var iconBodies = {
@@ -2328,6 +2361,8 @@ exports.IconGeneralEyeClosed = IconGeneralEyeClosed;
2328
2361
  exports.IconGeneralEyeOpen = IconGeneralEyeOpen;
2329
2362
  exports.IconGeneralGlobe = IconGeneralGlobe;
2330
2363
  exports.IconGeneralGrid2X2 = IconGeneralGrid2X2;
2364
+ exports.IconGeneralGrid2X2Medium = IconGeneralGrid2X2Medium;
2365
+ exports.IconGeneralGrid2X2Small = IconGeneralGrid2X2Small;
2331
2366
  exports.IconGeneralHandleVertical = IconGeneralHandleVertical;
2332
2367
  exports.IconGeneralLifeRing = IconGeneralLifeRing;
2333
2368
  exports.IconGeneralOfficeBuilding = IconGeneralOfficeBuilding;
@@ -2351,6 +2386,7 @@ exports.IconObjectBoxOpen = IconObjectBoxOpen;
2351
2386
  exports.IconObjectBriefcase = IconObjectBriefcase;
2352
2387
  exports.IconObjectChainLink = IconObjectChainLink;
2353
2388
  exports.IconObjectFolderDark = IconObjectFolderDark;
2389
+ exports.IconObjectFolderDarkSmall = IconObjectFolderDarkSmall;
2354
2390
  exports.IconObjectFolderLight = IconObjectFolderLight;
2355
2391
  exports.IconObjectGear = IconObjectGear;
2356
2392
  exports.IconObjectGraduationCap = IconObjectGraduationCap;