@oliasoft-open-source/react-ui-library 5.0.3-beta-3 → 5.0.3

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.js CHANGED
@@ -972,8 +972,8 @@ function TbBolt(props) {
972
972
  function TbBook2(props) {
973
973
  return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M19 4v16h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12z" } }, { "tag": "path", "attr": { "d": "M19 16h-12a2 2 0 0 0 -2 2" } }, { "tag": "path", "attr": { "d": "M9 8h6" } }] })(props);
974
974
  }
975
- function TbBuilding(props) {
976
- return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M3 21l18 0" } }, { "tag": "path", "attr": { "d": "M9 8l1 0" } }, { "tag": "path", "attr": { "d": "M9 12l1 0" } }, { "tag": "path", "attr": { "d": "M9 16l1 0" } }, { "tag": "path", "attr": { "d": "M14 8l1 0" } }, { "tag": "path", "attr": { "d": "M14 12l1 0" } }, { "tag": "path", "attr": { "d": "M14 16l1 0" } }, { "tag": "path", "attr": { "d": "M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16" } }] })(props);
975
+ function TbBuildingSkyscraper(props) {
976
+ return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M3 21l18 0" } }, { "tag": "path", "attr": { "d": "M5 21v-14l8 -4v18" } }, { "tag": "path", "attr": { "d": "M19 21v-10l-6 -4" } }, { "tag": "path", "attr": { "d": "M9 9l0 .01" } }, { "tag": "path", "attr": { "d": "M9 12l0 .01" } }, { "tag": "path", "attr": { "d": "M9 15l0 .01" } }, { "tag": "path", "attr": { "d": "M9 18l0 .01" } }] })(props);
977
977
  }
978
978
  function TbCamera(props) {
979
979
  return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M5 7h1a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2" } }, { "tag": "path", "attr": { "d": "M9 13a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" } }] })(props);
@@ -1101,9 +1101,6 @@ function TbKey(props) {
1101
1101
  function TbLayoutColumns(props) {
1102
1102
  return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" } }, { "tag": "path", "attr": { "d": "M12 4l0 16" } }] })(props);
1103
1103
  }
1104
- function TbLayoutGrid(props) {
1105
- return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" } }, { "tag": "path", "attr": { "d": "M14 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" } }, { "tag": "path", "attr": { "d": "M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" } }, { "tag": "path", "attr": { "d": "M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" } }] })(props);
1106
- }
1107
1104
  function TbLayoutRows(props) {
1108
1105
  return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" } }, { "tag": "path", "attr": { "d": "M4 12l16 0" } }] })(props);
1109
1106
  }
@@ -1212,9 +1209,6 @@ function TbSortAscending(props) {
1212
1209
  function TbSortDescending(props) {
1213
1210
  return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M4 6l9 0" } }, { "tag": "path", "attr": { "d": "M4 12l7 0" } }, { "tag": "path", "attr": { "d": "M4 18l7 0" } }, { "tag": "path", "attr": { "d": "M15 15l3 3l3 -3" } }, { "tag": "path", "attr": { "d": "M18 6l0 12" } }] })(props);
1214
1211
  }
1215
- function TbSquare(props) {
1216
- return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z" } }] })(props);
1217
- }
1218
1212
  function TbStar(props) {
1219
1213
  return GenIcon({ "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" } }] })(props);
1220
1214
  }
@@ -1254,6 +1248,12 @@ function AiOutlineMinusSquare(props) {
1254
1248
  function AiOutlinePlusSquare(props) {
1255
1249
  return GenIcon({ "attr": { "viewBox": "0 0 1024 1024" }, "child": [{ "tag": "path", "attr": { "d": "M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { "tag": "path", "attr": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] })(props);
1256
1250
  }
1251
+ const Layout1 = "data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%204H6C4.89543%204%204%204.89543%204%206V18C4%2019.1046%204.89543%2020%206%2020H18C19.1046%2020%2020%2019.1046%2020%2018V6C20%204.89543%2019.1046%204%2018%204Z'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1252
+ const Layout3SplitTop = "data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2012H20M12%204V12M18%2020H6C4.89543%2020%204%2019.1046%204%2018V6C4%204.8954%204.89543%204%206%204H18C19.1046%204%2020%204.8954%2020%206V18C20%2019.1046%2019.1046%2020%2018%2020Z'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1253
+ const Layout3SplitBottom = "data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2012H20M12%2020V12M18%204H6C4.89543%204%204%204.89543%204%206V18C4%2019.1046%204.89543%2020%206%2020H18C19.1046%2020%2020%2019.1046%2020%2018V6C20%204.89543%2019.1046%204%2018%204Z'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1254
+ const Layout3SplitLeft = "data:image/svg+xml,%3csvg%20fill='none'%20height='1em'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m12%2020v-16m-8%208h8m8-6v12c0%201.1046-.8954%202-2%202h-12c-1.1046%200-2-.8954-2-2v-12c0-1.1046.8954-2%202-2h12c1.1046%200%202%20.8954%202%202z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'/%3e%3c/svg%3e";
1255
+ const Layout3SplitRight = "data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%204L12%2020M20%2012H12M4%2018L4%206C4%204.89543%204.89543%204%206%204L18%204C19.1046%204%2020%204.89543%2020%206V18C20%2019.1046%2019.1046%2020%2018%2020H6C4.89543%2020%204%2019.1046%204%2018Z'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1256
+ const Layout4Grid = "data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%204C4.89543%204%204%204.89543%204%206V18C4%2019.1046%204.89543%2020%206%2020H18C19.1046%2020%2020%2019.1046%2020%2018V6C20%204.89543%2019.1046%204%2018%204M6%204H18M6%204H12M18%204H12M4%2012H20M12%204V20'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1257
1257
  const NamedIcon = ({ icon: icon2 }) => {
1258
1258
  switch (icon2) {
1259
1259
  case "add":
@@ -1325,7 +1325,7 @@ const NamedIcon = ({ icon: icon2 }) => {
1325
1325
  return /* @__PURE__ */ jsx(VscCollapseAll, {});
1326
1326
  // Replace with TbCopyMinus when react-icons is updated
1327
1327
  case "company":
1328
- return /* @__PURE__ */ jsx(TbBuilding, {});
1328
+ return /* @__PURE__ */ jsx(TbBuildingSkyscraper, {});
1329
1329
  case "compare":
1330
1330
  return /* @__PURE__ */ jsx(TbScale, {});
1331
1331
  case "delete":
@@ -1393,13 +1393,21 @@ const NamedIcon = ({ icon: icon2 }) => {
1393
1393
  return /* @__PURE__ */ jsx(TbLayoutColumns, {});
1394
1394
  case "layout grid":
1395
1395
  case "grid":
1396
- return /* @__PURE__ */ jsx(TbLayoutGrid, {});
1396
+ return /* @__PURE__ */ jsx(ReactSVG, { src: Layout4Grid });
1397
1397
  case "layout rows":
1398
1398
  case "rows":
1399
1399
  return /* @__PURE__ */ jsx(TbLayoutRows, {});
1400
1400
  case "layout single":
1401
1401
  case "square":
1402
- return /* @__PURE__ */ jsx(TbSquare, {});
1402
+ return /* @__PURE__ */ jsx(ReactSVG, { src: Layout1 });
1403
+ case "layout 3 split top":
1404
+ return /* @__PURE__ */ jsx(ReactSVG, { src: Layout3SplitTop });
1405
+ case "layout 3 split bottom":
1406
+ return /* @__PURE__ */ jsx(ReactSVG, { src: Layout3SplitBottom });
1407
+ case "layout 3 split left":
1408
+ return /* @__PURE__ */ jsx(ReactSVG, { src: Layout3SplitLeft });
1409
+ case "layout 3 split right":
1410
+ return /* @__PURE__ */ jsx(ReactSVG, { src: Layout3SplitRight });
1403
1411
  case "link":
1404
1412
  return /* @__PURE__ */ jsx(TbLink, {});
1405
1413
  case "list":