@mirohq/design-system-icons 0.57.0 → 0.58.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/dist/module.js CHANGED
@@ -5,6 +5,7 @@ import { useLocalStorage } from '@mirohq/design-system-use-local-storage';
5
5
  import { Primitive } from '@mirohq/design-system-primitive';
6
6
  import { styled, theme } from '@mirohq/design-system-stitches';
7
7
  import { mapKeysToVariants } from '@mirohq/design-system-utils';
8
+ import { useNewDesignLanguage } from '@mirohq/design-system-experiments';
8
9
 
9
10
  const StyledIcon = styled(Primitive.svg, {
10
11
  display: "inline-flex",
@@ -925,17 +926,15 @@ const IconArrowDownRight = forwardRef(
925
926
  );
926
927
  IconArrowDownRight[iconSymbol] = true;
927
928
 
928
- const IconArrowDown = forwardRef(
929
- ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
929
+ const IconArrowDownNew = forwardRef(
930
+ (props, forwardRef2) => {
930
931
  const [debug] = useLocalStorage("DEBUG_ICON", false);
931
932
  return createElement(
932
933
  StyledIcon,
933
934
  {
934
935
  ...props,
935
- weight,
936
936
  debug,
937
937
  "aria-hidden": true,
938
- size,
939
938
  viewBox: "0 0 24 24",
940
939
  fill: "none",
941
940
  ref: forwardRef2
@@ -960,6 +959,61 @@ const IconArrowDown = forwardRef(
960
959
  );
961
960
  }
962
961
  );
962
+ const IconArrowDownOld = forwardRef(
963
+ (props, forwardRef2) => {
964
+ const [debug] = useLocalStorage("DEBUG_ICON", false);
965
+ return createElement(
966
+ StyledIcon,
967
+ {
968
+ ...props,
969
+ debug,
970
+ "aria-hidden": true,
971
+ viewBox: "0 0 24 24",
972
+ fill: "none",
973
+ ref: forwardRef2
974
+ },
975
+ /* @__PURE__ */ jsx(
976
+ "path",
977
+ {
978
+ stroke: "currentColor",
979
+ strokeLinecap: "round",
980
+ strokeWidth: "var(--svg-stroke-width)",
981
+ d: "M12 3v17.205m-6.9964-6.2033 6.9964 6.5983 7.0031-6.6044"
982
+ }
983
+ ),
984
+ /* @__PURE__ */ jsx(
985
+ "path",
986
+ {
987
+ stroke: "currentColor",
988
+ strokeWidth: "var(--svg-stroke-width)",
989
+ d: "M12 12v.0001"
990
+ }
991
+ )
992
+ );
993
+ }
994
+ );
995
+ const IconArrowDown = forwardRef(
996
+ ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
997
+ const [v1] = useNewDesignLanguage();
998
+ return v1 ? /* @__PURE__ */ jsx(
999
+ IconArrowDownNew,
1000
+ {
1001
+ ...props,
1002
+ size,
1003
+ weight,
1004
+ ref: forwardRef2
1005
+ }
1006
+ ) : /* @__PURE__ */ jsx(
1007
+ IconArrowDownOld,
1008
+ {
1009
+ ...props,
1010
+ size,
1011
+ weight,
1012
+ ref: forwardRef2
1013
+ }
1014
+ );
1015
+ }
1016
+ );
963
1017
  IconArrowDown[iconSymbol] = true;
964
1018
 
965
1019
  const IconArrowElbowDownRight = forwardRef(
@@ -1064,17 +1118,39 @@ const IconArrowFatLeft = forwardRef(
1064
1118
  );
1065
1119
  IconArrowFatLeft[iconSymbol] = true;
1066
1120
 
1067
- const IconArrowFatRight = forwardRef(
1068
- ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
1121
+ const IconArrowFatRightNew = forwardRef(
1122
+ (props, forwardRef2) => {
1123
+ const [debug] = useLocalStorage("DEBUG_ICON", false);
1124
+ return createElement(
1125
+ StyledIcon,
1126
+ {
1127
+ ...props,
1128
+ debug,
1129
+ "aria-hidden": true,
1130
+ viewBox: "0 0 24 24",
1131
+ fill: "none",
1132
+ ref: forwardRef2
1133
+ },
1134
+ /* @__PURE__ */ jsx(
1135
+ "path",
1136
+ {
1137
+ stroke: "currentColor",
1138
+ strokeWidth: "var(--svg-stroke-width)",
1139
+ d: "M11 7h-7.75a.25.25 0 0 0-.25.25v9.5a.25.25 0 0 0 .25.25h7.75v3.9367c0 .2167.257.3308.4177.1854l10.0823-9.1221-10.0823-9.122c-.1607-.1455-.4177-.0314-.4177.1853v3.9367ZM3 12v.0001"
1140
+ }
1141
+ )
1142
+ );
1143
+ }
1144
+ );
1145
+ const IconArrowFatRightOld = forwardRef(
1146
+ (props, forwardRef2) => {
1069
1147
  const [debug] = useLocalStorage("DEBUG_ICON", false);
1070
1148
  return createElement(
1071
1149
  StyledIcon,
1072
1150
  {
1073
1151
  ...props,
1074
- weight,
1075
1152
  debug,
1076
1153
  "aria-hidden": true,
1077
- size,
1078
1154
  viewBox: "0 0 24 24",
1079
1155
  fill: "none",
1080
1156
  ref: forwardRef2
@@ -1090,6 +1166,28 @@ const IconArrowFatRight = forwardRef(
1090
1166
  );
1091
1167
  }
1092
1168
  );
1169
+ const IconArrowFatRight = forwardRef(
1170
+ ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
1171
+ const [v1] = useNewDesignLanguage();
1172
+ return v1 ? /* @__PURE__ */ jsx(
1173
+ IconArrowFatRightNew,
1174
+ {
1175
+ ...props,
1176
+ size,
1177
+ weight,
1178
+ ref: forwardRef2
1179
+ }
1180
+ ) : /* @__PURE__ */ jsx(
1181
+ IconArrowFatRightOld,
1182
+ {
1183
+ ...props,
1184
+ size,
1185
+ weight,
1186
+ ref: forwardRef2
1187
+ }
1188
+ );
1189
+ }
1190
+ );
1093
1191
  IconArrowFatRight[iconSymbol] = true;
1094
1192
 
1095
1193
  const IconArrowFatUpRight = forwardRef(
@@ -1130,17 +1228,15 @@ const IconArrowFatUpRight = forwardRef(
1130
1228
  );
1131
1229
  IconArrowFatUpRight[iconSymbol] = true;
1132
1230
 
1133
- const IconArrowLeft = forwardRef(
1134
- ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
1231
+ const IconArrowLeftNew = forwardRef(
1232
+ (props, forwardRef2) => {
1135
1233
  const [debug] = useLocalStorage("DEBUG_ICON", false);
1136
1234
  return createElement(
1137
1235
  StyledIcon,
1138
1236
  {
1139
1237
  ...props,
1140
- weight,
1141
1238
  debug,
1142
1239
  "aria-hidden": true,
1143
- size,
1144
1240
  viewBox: "0 0 24 24",
1145
1241
  fill: "none",
1146
1242
  ref: forwardRef2
@@ -1165,19 +1261,72 @@ const IconArrowLeft = forwardRef(
1165
1261
  );
1166
1262
  }
1167
1263
  );
1264
+ const IconArrowLeftOld = forwardRef(
1265
+ (props, forwardRef2) => {
1266
+ const [debug] = useLocalStorage("DEBUG_ICON", false);
1267
+ return createElement(
1268
+ StyledIcon,
1269
+ {
1270
+ ...props,
1271
+ debug,
1272
+ "aria-hidden": true,
1273
+ viewBox: "0 0 24 24",
1274
+ fill: "none",
1275
+ ref: forwardRef2
1276
+ },
1277
+ /* @__PURE__ */ jsx(
1278
+ "path",
1279
+ {
1280
+ stroke: "currentColor",
1281
+ strokeLinecap: "round",
1282
+ strokeWidth: "var(--svg-stroke-width)",
1283
+ d: "M21 12h-17m6.41-7-7 7 7 7"
1284
+ }
1285
+ ),
1286
+ /* @__PURE__ */ jsx(
1287
+ "path",
1288
+ {
1289
+ stroke: "currentColor",
1290
+ strokeWidth: "var(--svg-stroke-width)",
1291
+ d: "M12 12v.0001"
1292
+ }
1293
+ )
1294
+ );
1295
+ }
1296
+ );
1297
+ const IconArrowLeft = forwardRef(
1298
+ ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
1299
+ const [v1] = useNewDesignLanguage();
1300
+ return v1 ? /* @__PURE__ */ jsx(
1301
+ IconArrowLeftNew,
1302
+ {
1303
+ ...props,
1304
+ size,
1305
+ weight,
1306
+ ref: forwardRef2
1307
+ }
1308
+ ) : /* @__PURE__ */ jsx(
1309
+ IconArrowLeftOld,
1310
+ {
1311
+ ...props,
1312
+ size,
1313
+ weight,
1314
+ ref: forwardRef2
1315
+ }
1316
+ );
1317
+ }
1318
+ );
1168
1319
  IconArrowLeft[iconSymbol] = true;
1169
1320
 
1170
- const IconArrowRight = forwardRef(
1171
- ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
1321
+ const IconArrowRightNew = forwardRef(
1322
+ (props, forwardRef2) => {
1172
1323
  const [debug] = useLocalStorage("DEBUG_ICON", false);
1173
1324
  return createElement(
1174
1325
  StyledIcon,
1175
1326
  {
1176
1327
  ...props,
1177
- weight,
1178
1328
  debug,
1179
1329
  "aria-hidden": true,
1180
- size,
1181
1330
  viewBox: "0 0 25 24",
1182
1331
  fill: "none",
1183
1332
  ref: forwardRef2
@@ -1202,6 +1351,61 @@ const IconArrowRight = forwardRef(
1202
1351
  );
1203
1352
  }
1204
1353
  );
1354
+ const IconArrowRightOld = forwardRef(
1355
+ (props, forwardRef2) => {
1356
+ const [debug] = useLocalStorage("DEBUG_ICON", false);
1357
+ return createElement(
1358
+ StyledIcon,
1359
+ {
1360
+ ...props,
1361
+ debug,
1362
+ "aria-hidden": true,
1363
+ viewBox: "0 0 25 24",
1364
+ fill: "none",
1365
+ ref: forwardRef2
1366
+ },
1367
+ /* @__PURE__ */ jsx(
1368
+ "path",
1369
+ {
1370
+ stroke: "currentColor",
1371
+ strokeLinecap: "round",
1372
+ strokeWidth: "var(--svg-stroke-width)",
1373
+ d: "M21 12h-17m10.59-7 7 7-7 7"
1374
+ }
1375
+ ),
1376
+ /* @__PURE__ */ jsx(
1377
+ "path",
1378
+ {
1379
+ stroke: "currentColor",
1380
+ strokeWidth: "var(--svg-stroke-width)",
1381
+ d: "M1 0v.0001"
1382
+ }
1383
+ )
1384
+ );
1385
+ }
1386
+ );
1387
+ const IconArrowRight = forwardRef(
1388
+ ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
1389
+ const [v1] = useNewDesignLanguage();
1390
+ return v1 ? /* @__PURE__ */ jsx(
1391
+ IconArrowRightNew,
1392
+ {
1393
+ ...props,
1394
+ size,
1395
+ weight,
1396
+ ref: forwardRef2
1397
+ }
1398
+ ) : /* @__PURE__ */ jsx(
1399
+ IconArrowRightOld,
1400
+ {
1401
+ ...props,
1402
+ size,
1403
+ weight,
1404
+ ref: forwardRef2
1405
+ }
1406
+ );
1407
+ }
1408
+ );
1205
1409
  IconArrowRight[iconSymbol] = true;
1206
1410
 
1207
1411
  const IconArrowUpCircle = forwardRef(
@@ -1532,17 +1736,49 @@ const IconArrowsHorizontalLinesTopBottom = forwardRef(
1532
1736
  );
1533
1737
  IconArrowsHorizontalLinesTopBottom[iconSymbol] = true;
1534
1738
 
1535
- const IconArrowsInSimple = forwardRef(
1536
- ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
1739
+ const IconArrowsInSimpleNew = forwardRef(
1740
+ (props, forwardRef2) => {
1741
+ const [debug] = useLocalStorage("DEBUG_ICON", false);
1742
+ return createElement(
1743
+ StyledIcon,
1744
+ {
1745
+ ...props,
1746
+ debug,
1747
+ "aria-hidden": true,
1748
+ viewBox: "0 0 24 24",
1749
+ fill: "none",
1750
+ ref: forwardRef2
1751
+ },
1752
+ /* @__PURE__ */ jsx(
1753
+ "path",
1754
+ {
1755
+ stroke: "currentColor",
1756
+ strokeLinecap: "round",
1757
+ strokeLinejoin: "round",
1758
+ strokeWidth: "var(--svg-stroke-width)",
1759
+ d: "m21 3-7 7m0 0v-5m0 5h5m-16 11 7-7m0 0v5m0-5h-5"
1760
+ }
1761
+ ),
1762
+ /* @__PURE__ */ jsx(
1763
+ "path",
1764
+ {
1765
+ stroke: "currentColor",
1766
+ strokeWidth: "var(--svg-stroke-width)",
1767
+ d: "M16 8v.0001"
1768
+ }
1769
+ )
1770
+ );
1771
+ }
1772
+ );
1773
+ const IconArrowsInSimpleOld = forwardRef(
1774
+ (props, forwardRef2) => {
1537
1775
  const [debug] = useLocalStorage("DEBUG_ICON", false);
1538
1776
  return createElement(
1539
1777
  StyledIcon,
1540
1778
  {
1541
1779
  ...props,
1542
- weight,
1543
1780
  debug,
1544
1781
  "aria-hidden": true,
1545
- size,
1546
1782
  viewBox: "0 0 24 24",
1547
1783
  fill: "none",
1548
1784
  ref: forwardRef2
@@ -1568,6 +1804,28 @@ const IconArrowsInSimple = forwardRef(
1568
1804
  );
1569
1805
  }
1570
1806
  );
1807
+ const IconArrowsInSimple = forwardRef(
1808
+ ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
1809
+ const [v1] = useNewDesignLanguage();
1810
+ return v1 ? /* @__PURE__ */ jsx(
1811
+ IconArrowsInSimpleNew,
1812
+ {
1813
+ ...props,
1814
+ size,
1815
+ weight,
1816
+ ref: forwardRef2
1817
+ }
1818
+ ) : /* @__PURE__ */ jsx(
1819
+ IconArrowsInSimpleOld,
1820
+ {
1821
+ ...props,
1822
+ size,
1823
+ weight,
1824
+ ref: forwardRef2
1825
+ }
1826
+ );
1827
+ }
1828
+ );
1571
1829
  IconArrowsInSimple[iconSymbol] = true;
1572
1830
 
1573
1831
  const IconArrowsOutCardinal = forwardRef(
@@ -3836,17 +4094,39 @@ const IconClockCounterClockwiseSimple = forwardRef(
3836
4094
  );
3837
4095
  IconClockCounterClockwiseSimple[iconSymbol] = true;
3838
4096
 
3839
- const IconClockCounterClockwise = forwardRef(
3840
- ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
4097
+ const IconClockCounterClockwiseNew = forwardRef(
4098
+ (props, forwardRef2) => {
4099
+ const [debug] = useLocalStorage("DEBUG_ICON", false);
4100
+ return createElement(
4101
+ StyledIcon,
4102
+ {
4103
+ ...props,
4104
+ debug,
4105
+ "aria-hidden": true,
4106
+ viewBox: "0 0 24 24",
4107
+ fill: "none",
4108
+ ref: forwardRef2
4109
+ },
4110
+ /* @__PURE__ */ jsx(
4111
+ "path",
4112
+ {
4113
+ fill: "currentColor",
4114
+ d: "m4.0696 13.1237.1237.9924 1.9847-.2475-.1238-.9923-1.9846.2474Zm.9304 1.8763-.7071.7071h1.4142l-.7071-.7071Zm8 6c4.9706 0 9-4.0294 9-9h-2c0 3.866-3.134 7-7 7v2Zm9-9c0-4.9706-4.0294-9-9-9v2c3.866 0 7 3.134 7 7h2Zm-9-9c-4.9706 0-9 4.0294-9 9h2c0-3.866 3.134-7 7-7v-2Zm-9 9c0 .3801.0236.7552.0696 1.1237l1.9846-.2474a7.079 7.079 0 0 1-.0542-.8763h-2Zm1.7071 3.7071 3-3-1.4142-1.4142-3 3 1.4142 1.4142Zm0-1.4142-3-3-1.4142 1.4142 3 3 1.4142-1.4142Z"
4115
+ }
4116
+ ),
4117
+ /* @__PURE__ */ jsx("circle", { cx: 13, cy: 12, r: 2, fill: "currentColor" })
4118
+ );
4119
+ }
4120
+ );
4121
+ const IconClockCounterClockwiseOld = forwardRef(
4122
+ (props, forwardRef2) => {
3841
4123
  const [debug] = useLocalStorage("DEBUG_ICON", false);
3842
4124
  return createElement(
3843
4125
  StyledIcon,
3844
4126
  {
3845
4127
  ...props,
3846
- weight,
3847
4128
  debug,
3848
4129
  "aria-hidden": true,
3849
- size,
3850
4130
  viewBox: "0 0 24 24",
3851
4131
  fill: "none",
3852
4132
  ref: forwardRef2
@@ -3872,6 +4152,28 @@ const IconClockCounterClockwise = forwardRef(
3872
4152
  );
3873
4153
  }
3874
4154
  );
4155
+ const IconClockCounterClockwise = forwardRef(
4156
+ ({ size = "medium", weight = "normal", ...props }, forwardRef2) => {
4157
+ const [v1] = useNewDesignLanguage();
4158
+ return v1 ? /* @__PURE__ */ jsx(
4159
+ IconClockCounterClockwiseNew,
4160
+ {
4161
+ ...props,
4162
+ size,
4163
+ weight,
4164
+ ref: forwardRef2
4165
+ }
4166
+ ) : /* @__PURE__ */ jsx(
4167
+ IconClockCounterClockwiseOld,
4168
+ {
4169
+ ...props,
4170
+ size,
4171
+ weight,
4172
+ ref: forwardRef2
4173
+ }
4174
+ );
4175
+ }
4176
+ );
3875
4177
  IconClockCounterClockwise[iconSymbol] = true;
3876
4178
 
3877
4179
  const IconClockOvertime = forwardRef(
@@ -5594,7 +5896,7 @@ const IconDiagrammingFormat = forwardRef(
5594
5896
  {
5595
5897
  fill: "currentColor",
5596
5898
  fillRule: "evenodd",
5597
- d: "M13 4.5c0-1.3807 1.1193-2.5 2.5-2.5h4c1.3807 0 2.5 1.1193 2.5 2.5v4c0 1.3807-1.1193 2.5-2.5 2.5h-4c-1.3807 0-2.5-1.1193-2.5-2.5v-1h-2c-2.2091 0-4 1.7909-4 4v.5c2.419 0 4.4367 1.7178 4.9 4h6.6264l-2.1436-1.7116 1.2341-1.5769 4.3833 3.5001c.2387.1906.3779.481.3779.7884 0 .3073-.1392.5978-.3779.7884l-4.3833 3.5-1.2341-1.5769 2.1435-1.7115h-6.6263c-.4633 2.2822-2.481 4-4.9 4-2.7614 0-5-2.2386-5-5 0-2.0503 1.2341-3.8124 3-4.584v-.916c0-3.3137 2.6863-6 6-6h2v-1Zm2.5-.5a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5h-4Zm-8.5 10c-1.6569 0-3 1.3431-3 3s1.3431 3 3 3 3-1.3431 3-3-1.3431-3-3-3Z",
5899
+ d: "M13 4.5c0-1.3807 1.1193-2.5 2.5-2.5h4c1.3807 0 2.5 1.1193 2.5 2.5v4c0 1.3807-1.1193 2.5-2.5 2.5h-4c-1.3807 0-2.5-1.1193-2.5-2.5v-1h-2c-2.2091 0-4 1.7909-4 4v.5c2.419 0 4.4367 1.7178 4.9 4h6.6265l-2.1437-1.7117 1.2341-1.5768 4.3833 3.5001c.2387.1906.378.481.378.7884 0 .3073-.1393.5978-.378.7884l-4.3833 3.4999-1.2341-1.5768 2.1435-1.7115h-6.6263c-.4633 2.2822-2.481 4-4.9 4-2.7614 0-5-2.2386-5-5 0-2.0503 1.2341-3.8124 3-4.584v-.916c0-3.3137 2.6863-6 6-6h2v-1Zm2.5-.5a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5h-4Zm-8.5 10c-1.6569 0-3 1.3431-3 3s1.3431 3 3 3 3-1.3431 3-3-1.3431-3-3-3Z",
5598
5900
  clipRule: "evenodd"
5599
5901
  }
5600
5902
  )