maru_design2 2.24.2 → 2.24.4
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 +14 -0
- package/dist/components/atoms/icon/iconmap.d.ts +5 -0
- package/dist/index.js +133 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.24.4](https://github.com/42maru-ai/maru-design2/compare/v2.24.3...v2.24.4) (2025-03-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* :bento: Icon - add icons [#402](https://github.com/42maru-ai/maru-design2/issues/402) ([d14d4b1](https://github.com/42maru-ai/maru-design2/commit/d14d4b1cfd2ae1c58f4badb9f5c65eca814b60f4))
|
|
9
|
+
|
|
10
|
+
## [2.24.3](https://github.com/42maru-ai/maru-design2/compare/v2.24.2...v2.24.3) (2025-03-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* :bento: Icon - add HistoryTimer_s1815, BackToLines_s1615 [#402](https://github.com/42maru-ai/maru-design2/issues/402) ([5c20332](https://github.com/42maru-ai/maru-design2/commit/5c20332b24164c7ce40823cbe326fa44103faa73))
|
|
16
|
+
|
|
3
17
|
## [2.24.2](https://github.com/42maru-ai/maru-design2/compare/v2.24.1...v2.24.2) (2025-03-26)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -48,6 +48,7 @@ export declare const ICONS: {
|
|
|
48
48
|
readonly ArrowRight_s1813: "ArrowRight_s1813";
|
|
49
49
|
readonly ArrowRight_s2420: "ArrowRight_s2420";
|
|
50
50
|
readonly Atom01_s1615: "Atom01_s1615";
|
|
51
|
+
readonly BackToLines_s1615: "BackToLines_s1615";
|
|
51
52
|
readonly BarChart10_s2420: "BarChart10_s2420";
|
|
52
53
|
readonly BarChart12_s2420: "BarChart12_s2420";
|
|
53
54
|
readonly BarChart20_s1613: "BarChart20_s1613";
|
|
@@ -113,6 +114,7 @@ export declare const ICONS: {
|
|
|
113
114
|
readonly CodeSnippet02_s2420: "CodeSnippet02_s2420";
|
|
114
115
|
readonly Connection_s1810: "Connection_s1810";
|
|
115
116
|
readonly Copy03_s1615: "Copy03_s1615";
|
|
117
|
+
readonly Copy03_s1810: "Copy03_s1810";
|
|
116
118
|
readonly Copy_s1413: "Copy_s1413";
|
|
117
119
|
readonly Copy_s1613: "Copy_s1613";
|
|
118
120
|
readonly CornerDownRight_s1615: "CornerDownRight_s1615";
|
|
@@ -216,6 +218,7 @@ export declare const ICONS: {
|
|
|
216
218
|
readonly GraduationHat01_s2415: "GraduationHat01_s2415";
|
|
217
219
|
readonly GraduationHat01_s2420: "GraduationHat01_s2420";
|
|
218
220
|
readonly HistoryTimer_s1210: "HistoryTimer_s1210";
|
|
221
|
+
readonly HistoryTimer_s1815: "HistoryTimer_s1815";
|
|
219
222
|
readonly HomeOutline24_s2410: "HomeOutline24_s2410";
|
|
220
223
|
readonly Home_s2015: "Home_s2015";
|
|
221
224
|
readonly Home_s2415: "Home_s2415";
|
|
@@ -231,6 +234,7 @@ export declare const ICONS: {
|
|
|
231
234
|
readonly Loading02_s4830: "Loading02_s4830";
|
|
232
235
|
readonly Lock01_s1615: "Lock01_s1615";
|
|
233
236
|
readonly LogOut01_s1615: "LogOut01_s1615";
|
|
237
|
+
readonly MagicTool_s1513: "MagicTool_s1513";
|
|
234
238
|
readonly Menu2_s1613: "Menu2_s1613";
|
|
235
239
|
readonly Menu_s2415: "Menu_s2415";
|
|
236
240
|
readonly MessageCheck_s1615: "MessageCheck_s1615";
|
|
@@ -306,6 +310,7 @@ export declare const ICONS: {
|
|
|
306
310
|
readonly Star_s1613: "Star_s1613";
|
|
307
311
|
readonly State_s1610: "State_s1610";
|
|
308
312
|
readonly State_s1810: "State_s1810";
|
|
313
|
+
readonly StopCircleBg_s1513: "StopCircleBg_s1513";
|
|
309
314
|
readonly StopCircle_s1413: "StopCircle_s1413";
|
|
310
315
|
readonly StopCircle_s1615: "StopCircle_s1615";
|
|
311
316
|
readonly StopCircle_s2420: "StopCircle_s2420";
|
package/dist/index.js
CHANGED
|
@@ -396,6 +396,27 @@ var iconmap = {
|
|
|
396
396
|
"circles": [],
|
|
397
397
|
"rects": []
|
|
398
398
|
},
|
|
399
|
+
"BackToLines_s1615": {
|
|
400
|
+
"width": "16",
|
|
401
|
+
"height": "16",
|
|
402
|
+
"viewBox": "0 0 16 16",
|
|
403
|
+
"fill": "none",
|
|
404
|
+
"paths": [{
|
|
405
|
+
"d": "M1 5.2H12.2M1 1H12.2M1 9.4H5.2",
|
|
406
|
+
"stroke": "#5C5C5C",
|
|
407
|
+
"strokeWidth": "1.5",
|
|
408
|
+
"strokeLinecap": "round",
|
|
409
|
+
"strokeLinejoin": "round"
|
|
410
|
+
}, {
|
|
411
|
+
"d": "M8.83998 10.6446L6.59998 12.8224M6.59998 12.8224L8.83998 15.0001M6.59998 12.8224H12.76C13.3541 12.8224 13.9238 12.5929 14.3439 12.1845C14.764 11.7761 15 11.2222 15 10.6446C15 10.067 14.764 9.51307 14.3439 9.10465C13.9238 8.69624 13.3541 8.4668 12.76 8.4668H12.2",
|
|
412
|
+
"stroke": "#5C5C5C",
|
|
413
|
+
"strokeWidth": "1.5",
|
|
414
|
+
"strokeLinecap": "round",
|
|
415
|
+
"strokeLinejoin": "round"
|
|
416
|
+
}],
|
|
417
|
+
"circles": [],
|
|
418
|
+
"rects": []
|
|
419
|
+
},
|
|
399
420
|
"BarChart10_s2420": {
|
|
400
421
|
"width": "24",
|
|
401
422
|
"height": "24",
|
|
@@ -1406,6 +1427,20 @@ var iconmap = {
|
|
|
1406
1427
|
"circles": [],
|
|
1407
1428
|
"rects": []
|
|
1408
1429
|
},
|
|
1430
|
+
"Copy03_s1810": {
|
|
1431
|
+
"width": "18",
|
|
1432
|
+
"height": "19",
|
|
1433
|
+
"viewBox": "0 0 18 19",
|
|
1434
|
+
"fill": "none",
|
|
1435
|
+
"paths": [{
|
|
1436
|
+
"d": "M6.3 6.8V4.91C6.3 4.15393 6.3 3.77589 6.44714 3.48711C6.57657 3.23309 6.78309 3.02657 7.03711 2.89714C7.32589 2.75 7.70393 2.75 8.46 2.75H13.59C14.3461 2.75 14.7241 2.75 15.0129 2.89714C15.2669 3.02657 15.4734 3.23309 15.6029 3.48711C15.75 3.77589 15.75 4.15393 15.75 4.91V10.04C15.75 10.7961 15.75 11.1741 15.6029 11.4629C15.4734 11.7169 15.2669 11.9234 15.0129 12.0529C14.7241 12.2 14.3461 12.2 13.59 12.2H11.7M4.41 16.25H9.54C10.2961 16.25 10.6741 16.25 10.9629 16.1029C11.2169 15.9734 11.4234 15.7669 11.5529 15.5129C11.7 15.2241 11.7 14.8461 11.7 14.09V8.96C11.7 8.20393 11.7 7.82589 11.5529 7.53711C11.4234 7.28309 11.2169 7.07657 10.9629 6.94714C10.6741 6.8 10.2961 6.8 9.54 6.8H4.41C3.65393 6.8 3.27589 6.8 2.98711 6.94714C2.73309 7.07657 2.52657 7.28309 2.39714 7.53711C2.25 7.82589 2.25 8.20393 2.25 8.96V14.09C2.25 14.8461 2.25 15.2241 2.39714 15.5129C2.52657 15.7669 2.73309 15.9734 2.98711 16.1029C3.27589 16.25 3.65393 16.25 4.41 16.25Z",
|
|
1437
|
+
"stroke": "#5C5C5C",
|
|
1438
|
+
"strokeLinecap": "round",
|
|
1439
|
+
"strokeLinejoin": "round"
|
|
1440
|
+
}],
|
|
1441
|
+
"circles": [],
|
|
1442
|
+
"rects": []
|
|
1443
|
+
},
|
|
1409
1444
|
"Copy_s1413": {
|
|
1410
1445
|
"width": "14",
|
|
1411
1446
|
"height": "14",
|
|
@@ -3546,6 +3581,27 @@ var iconmap = {
|
|
|
3546
3581
|
"circles": [],
|
|
3547
3582
|
"rects": []
|
|
3548
3583
|
},
|
|
3584
|
+
"HistoryTimer_s1815": {
|
|
3585
|
+
"width": "18",
|
|
3586
|
+
"height": "18",
|
|
3587
|
+
"viewBox": "0 0 18 18",
|
|
3588
|
+
"fill": "none",
|
|
3589
|
+
"paths": [{
|
|
3590
|
+
"d": "M8.95483 5.52344V9.07899L10.7326 10.8568",
|
|
3591
|
+
"stroke": "#5C5C5C",
|
|
3592
|
+
"strokeWidth": "1.5",
|
|
3593
|
+
"strokeLinecap": "round",
|
|
3594
|
+
"strokeLinejoin": "round"
|
|
3595
|
+
}, {
|
|
3596
|
+
"d": "M1 8.18929C1.19919 6.23379 2.11134 4.42006 3.56243 3.09415C5.01351 1.76825 6.90195 1.02297 8.86744 1.00052C10.8329 0.978073 12.7379 1.68002 14.2189 2.97244C15.6999 4.26485 16.6532 6.05727 16.897 8.00772C17.1408 9.95816 16.658 11.9301 15.5407 13.5473C14.4235 15.1645 12.7499 16.3138 10.8394 16.7758C8.92881 17.2379 6.91503 16.9804 5.18222 16.0525C3.4494 15.1245 2.11886 13.5911 1.44444 11.7448M1 16.1893V11.7448H5.44444",
|
|
3597
|
+
"stroke": "#5C5C5C",
|
|
3598
|
+
"strokeWidth": "1.5",
|
|
3599
|
+
"strokeLinecap": "round",
|
|
3600
|
+
"strokeLinejoin": "round"
|
|
3601
|
+
}],
|
|
3602
|
+
"circles": [],
|
|
3603
|
+
"rects": []
|
|
3604
|
+
},
|
|
3549
3605
|
"HomeOutline24_s2410": {
|
|
3550
3606
|
"width": "24",
|
|
3551
3607
|
"height": "24",
|
|
@@ -3808,6 +3864,48 @@ var iconmap = {
|
|
|
3808
3864
|
"circles": [],
|
|
3809
3865
|
"rects": []
|
|
3810
3866
|
},
|
|
3867
|
+
"MagicTool_s1513": {
|
|
3868
|
+
"width": "15",
|
|
3869
|
+
"height": "15",
|
|
3870
|
+
"viewBox": "0 0 15 15",
|
|
3871
|
+
"fill": "none",
|
|
3872
|
+
"paths": [{
|
|
3873
|
+
"d": "M5.14884 1.5C5.14884 1.88993 5.30374 2.2639 5.57947 2.53962C5.85519 2.81535 6.22915 2.97025 6.61909 2.97025C6.22915 2.97025 5.85519 3.12515 5.57947 3.40088C5.30374 3.6766 5.14884 4.05057 5.14884 4.4405C5.14884 4.05057 4.99394 3.6766 4.71821 3.40088C4.44249 3.12515 4.06852 2.97025 3.67859 2.97025C4.06852 2.97025 4.44249 2.81535 4.71821 2.53962C4.99394 2.2639 5.14884 1.88993 5.14884 1.5Z",
|
|
3874
|
+
"fill": "white",
|
|
3875
|
+
"stroke": "white",
|
|
3876
|
+
"strokeWidth": "1.3",
|
|
3877
|
+
"strokeLinecap": "round",
|
|
3878
|
+
"strokeLinejoin": "round"
|
|
3879
|
+
}, {
|
|
3880
|
+
"d": "M12.0269 1.5C12.0269 1.88993 12.1818 2.2639 12.4575 2.53962C12.7332 2.81535 13.1072 2.97025 13.4971 2.97025C13.1072 2.97025 12.7332 3.12515 12.4575 3.40088C12.1818 3.6766 12.0269 4.05057 12.0269 4.4405C12.0269 4.05057 11.872 3.6766 11.5963 3.40088C11.3205 3.12515 10.9466 2.97025 10.5566 2.97025C10.9466 2.97025 11.3205 2.81535 11.5963 2.53962C11.872 2.2639 12.0269 1.88993 12.0269 1.5Z",
|
|
3881
|
+
"fill": "white",
|
|
3882
|
+
"stroke": "white",
|
|
3883
|
+
"strokeWidth": "1.3",
|
|
3884
|
+
"strokeLinecap": "round",
|
|
3885
|
+
"strokeLinejoin": "round"
|
|
3886
|
+
}, {
|
|
3887
|
+
"d": "M12.2917 7.75C12.2917 8.13993 12.4466 8.5139 12.7223 8.78962C12.998 9.06535 13.372 9.22025 13.7619 9.22025C13.372 9.22025 12.998 9.37515 12.7223 9.65088C12.4466 9.9266 12.2917 10.3006 12.2917 10.6905C12.2917 10.3006 12.1368 9.9266 11.861 9.65088C11.5853 9.37515 11.2113 9.22025 10.8214 9.22025C11.2113 9.22025 11.5853 9.06535 11.861 8.78962C12.1368 8.5139 12.2917 8.13993 12.2917 7.75Z",
|
|
3888
|
+
"fill": "white",
|
|
3889
|
+
"stroke": "white",
|
|
3890
|
+
"strokeWidth": "1.3",
|
|
3891
|
+
"strokeLinecap": "round",
|
|
3892
|
+
"strokeLinejoin": "round"
|
|
3893
|
+
}, {
|
|
3894
|
+
"d": "M9.95935 5.63403L9.36206 5.03674C9.03219 4.70687 8.49735 4.70687 8.16748 5.03674L1.5973 11.6069C1.26742 11.9368 1.26742 12.4716 1.5973 12.8015L2.19459 13.3988C2.52446 13.7287 3.05929 13.7287 3.38917 13.3988L9.95935 6.82861C10.2892 6.49874 10.2892 5.96391 9.95935 5.63403Z",
|
|
3895
|
+
"stroke": "white",
|
|
3896
|
+
"strokeWidth": "1.3",
|
|
3897
|
+
"strokeLinecap": "round",
|
|
3898
|
+
"strokeLinejoin": "round"
|
|
3899
|
+
}, {
|
|
3900
|
+
"d": "M6.37695 6.83203L8.16882 8.6239L3.39051 13.4022C3.2321 13.5606 3.01724 13.6496 2.79322 13.6496C2.56919 13.6496 2.35434 13.5606 2.19593 13.4022L1.59864 12.8049C1.44023 12.6465 1.35123 12.4317 1.35123 12.2076C1.35123 11.9836 1.44023 11.7688 1.59864 11.6103L6.37695 6.83203V6.83203Z",
|
|
3901
|
+
"stroke": "white",
|
|
3902
|
+
"strokeWidth": "1.3",
|
|
3903
|
+
"strokeLinecap": "round",
|
|
3904
|
+
"strokeLinejoin": "round"
|
|
3905
|
+
}],
|
|
3906
|
+
"circles": [],
|
|
3907
|
+
"rects": []
|
|
3908
|
+
},
|
|
3811
3909
|
"Menu2_s1613": {
|
|
3812
3910
|
"width": "14",
|
|
3813
3911
|
"height": "13",
|
|
@@ -5097,6 +5195,29 @@ var iconmap = {
|
|
|
5097
5195
|
}],
|
|
5098
5196
|
"rects": []
|
|
5099
5197
|
},
|
|
5198
|
+
"StopCircleBg_s1513": {
|
|
5199
|
+
"width": "15",
|
|
5200
|
+
"height": "16",
|
|
5201
|
+
"viewBox": "0 0 15 16",
|
|
5202
|
+
"fill": "none",
|
|
5203
|
+
"paths": [{
|
|
5204
|
+
"d": "M7.5 14.5C11.0899 14.5 14 11.5899 14 8C14 4.41015 11.0899 1.5 7.5 1.5C3.91015 1.5 1 4.41015 1 8C1 11.5899 3.91015 14.5 7.5 14.5Z",
|
|
5205
|
+
"fill": "#213A78",
|
|
5206
|
+
"stroke": "#213A78",
|
|
5207
|
+
"strokeWidth": "1.3",
|
|
5208
|
+
"strokeLinecap": "round",
|
|
5209
|
+
"strokeLinejoin": "round"
|
|
5210
|
+
}],
|
|
5211
|
+
"circles": [],
|
|
5212
|
+
"rects": [{
|
|
5213
|
+
"x": "5",
|
|
5214
|
+
"y": "5.5",
|
|
5215
|
+
"width": "5",
|
|
5216
|
+
"height": "5",
|
|
5217
|
+
"rx": "1",
|
|
5218
|
+
"fill": "#213A78"
|
|
5219
|
+
}]
|
|
5220
|
+
},
|
|
5100
5221
|
"StopCircle_s1413": {
|
|
5101
5222
|
"width": "14",
|
|
5102
5223
|
"height": "14",
|
|
@@ -5815,6 +5936,7 @@ var ICONS = {
|
|
|
5815
5936
|
"ArrowRight_s1813": "ArrowRight_s1813",
|
|
5816
5937
|
"ArrowRight_s2420": "ArrowRight_s2420",
|
|
5817
5938
|
"Atom01_s1615": "Atom01_s1615",
|
|
5939
|
+
"BackToLines_s1615": "BackToLines_s1615",
|
|
5818
5940
|
"BarChart10_s2420": "BarChart10_s2420",
|
|
5819
5941
|
"BarChart12_s2420": "BarChart12_s2420",
|
|
5820
5942
|
"BarChart20_s1613": "BarChart20_s1613",
|
|
@@ -5880,6 +6002,7 @@ var ICONS = {
|
|
|
5880
6002
|
"CodeSnippet02_s2420": "CodeSnippet02_s2420",
|
|
5881
6003
|
"Connection_s1810": "Connection_s1810",
|
|
5882
6004
|
"Copy03_s1615": "Copy03_s1615",
|
|
6005
|
+
"Copy03_s1810": "Copy03_s1810",
|
|
5883
6006
|
"Copy_s1413": "Copy_s1413",
|
|
5884
6007
|
"Copy_s1613": "Copy_s1613",
|
|
5885
6008
|
"CornerDownRight_s1615": "CornerDownRight_s1615",
|
|
@@ -5983,6 +6106,7 @@ var ICONS = {
|
|
|
5983
6106
|
"GraduationHat01_s2415": "GraduationHat01_s2415",
|
|
5984
6107
|
"GraduationHat01_s2420": "GraduationHat01_s2420",
|
|
5985
6108
|
"HistoryTimer_s1210": "HistoryTimer_s1210",
|
|
6109
|
+
"HistoryTimer_s1815": "HistoryTimer_s1815",
|
|
5986
6110
|
"HomeOutline24_s2410": "HomeOutline24_s2410",
|
|
5987
6111
|
"Home_s2015": "Home_s2015",
|
|
5988
6112
|
"Home_s2415": "Home_s2415",
|
|
@@ -5998,6 +6122,7 @@ var ICONS = {
|
|
|
5998
6122
|
"Loading02_s4830": "Loading02_s4830",
|
|
5999
6123
|
"Lock01_s1615": "Lock01_s1615",
|
|
6000
6124
|
"LogOut01_s1615": "LogOut01_s1615",
|
|
6125
|
+
"MagicTool_s1513": "MagicTool_s1513",
|
|
6001
6126
|
"Menu2_s1613": "Menu2_s1613",
|
|
6002
6127
|
"Menu_s2415": "Menu_s2415",
|
|
6003
6128
|
"MessageCheck_s1615": "MessageCheck_s1615",
|
|
@@ -6073,6 +6198,7 @@ var ICONS = {
|
|
|
6073
6198
|
"Star_s1613": "Star_s1613",
|
|
6074
6199
|
"State_s1610": "State_s1610",
|
|
6075
6200
|
"State_s1810": "State_s1810",
|
|
6201
|
+
"StopCircleBg_s1513": "StopCircleBg_s1513",
|
|
6076
6202
|
"StopCircle_s1413": "StopCircle_s1413",
|
|
6077
6203
|
"StopCircle_s1615": "StopCircle_s1615",
|
|
6078
6204
|
"StopCircle_s2420": "StopCircle_s2420",
|
|
@@ -6160,6 +6286,12 @@ function Icon(_a) {
|
|
|
6160
6286
|
var staticPathStorke = useMemo(function () {
|
|
6161
6287
|
return name === ICONS.ChevronLeftCircleBg_s2415 || name === ICONS.ChevronRightCircleBg_s2415 || name === ICONS.CheckCircleBg_s1612 || name === ICONS.XCircleBg_s1612 || name === ICONS.XDiamondBg_s2415 || name === ICONS.UserCircleBg_s2415 || name === ICONS.BarChartSquare01Bg_s1810;
|
|
6162
6288
|
}, [name]);
|
|
6289
|
+
/**
|
|
6290
|
+
* path.fill를 svg에 있는대로 두고 싶으면 true
|
|
6291
|
+
*/
|
|
6292
|
+
var staticPathFill = useMemo(function () {
|
|
6293
|
+
return name === ICONS.StopCircleBg_s1513;
|
|
6294
|
+
}, [name]);
|
|
6163
6295
|
return jsxs("svg", __assign({
|
|
6164
6296
|
width: width,
|
|
6165
6297
|
height: height,
|
|
@@ -6198,7 +6330,7 @@ function Icon(_a) {
|
|
|
6198
6330
|
}), paths.map(function (path, idx) {
|
|
6199
6331
|
return jsx("path", {
|
|
6200
6332
|
d: path.d,
|
|
6201
|
-
fill: path.fill && iconColor,
|
|
6333
|
+
fill: path.fill && (staticPathFill ? undefined : iconColor),
|
|
6202
6334
|
fillRule: path.fillRule,
|
|
6203
6335
|
clipRule: path.clipRule,
|
|
6204
6336
|
stroke: path.stroke && (staticPathStorke && idx === paths.length - 1 ? path.stroke : iconColor),
|