maru_design2 2.26.8 → 2.26.10
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 +16 -0
- package/dist/components/atoms/icon/iconmap.d.ts +1 -0
- package/dist/index.js +25 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.26.10](https://github.com/42maru-ai/maru-design2/compare/v2.26.9...v2.26.10) (2025-07-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* :bento: Icon - add ArrowLeft_s1613 [#402](https://github.com/42maru-ai/maru-design2/issues/402) ([c1feb36](https://github.com/42maru-ai/maru-design2/commit/c1feb36d2eb062bf8feb8e09362ded54b51ed51c))
|
|
9
|
+
* :bento: Icon - add ArrowLeft_s1613 [#402](https://github.com/42maru-ai/maru-design2/issues/402) ([4cac0a1](https://github.com/42maru-ai/maru-design2/commit/4cac0a132f0f5308b9dc20accefedfdafcad4826))
|
|
10
|
+
* :bento: Icon - update ChevronUp_s1613 [#402](https://github.com/42maru-ai/maru-design2/issues/402) ([19e4025](https://github.com/42maru-ai/maru-design2/commit/19e4025f37d754abb2110e706268034a6fcaa374))
|
|
11
|
+
|
|
12
|
+
## [2.26.9](https://github.com/42maru-ai/maru-design2/compare/v2.26.8...v2.26.9) (2025-07-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* :bug: Icon - update AlertCircle_s1610 transparent ([3f8125a](https://github.com/42maru-ai/maru-design2/commit/3f8125aa518d35ef7f7cabe2bb2102cd8343ba90))
|
|
18
|
+
|
|
3
19
|
## [2.26.8](https://github.com/42maru-ai/maru-design2/compare/v2.26.7...v2.26.8) (2025-07-04)
|
|
4
20
|
|
|
5
21
|
|
|
@@ -46,6 +46,7 @@ export declare const ICONS: {
|
|
|
46
46
|
readonly ArrowDownCircle_s1413: "ArrowDownCircle_s1413";
|
|
47
47
|
readonly ArrowLeftIn_s1613: "ArrowLeftIn_s1613";
|
|
48
48
|
readonly ArrowLeftOut_s1810: "ArrowLeftOut_s1810";
|
|
49
|
+
readonly ArrowLeft_s1613: "ArrowLeft_s1613";
|
|
49
50
|
readonly ArrowRightIn_s1613: "ArrowRightIn_s1613";
|
|
50
51
|
readonly ArrowRightOut02_s1615: "ArrowRightOut02_s1615";
|
|
51
52
|
readonly ArrowRightOut_s1810: "ArrowRightOut_s1810";
|
package/dist/index.js
CHANGED
|
@@ -410,6 +410,21 @@ var iconmap = {
|
|
|
410
410
|
"circles": [],
|
|
411
411
|
"rects": []
|
|
412
412
|
},
|
|
413
|
+
"ArrowLeft_s1613": {
|
|
414
|
+
"width": "16",
|
|
415
|
+
"height": "16",
|
|
416
|
+
"viewBox": "0 0 16 16",
|
|
417
|
+
"fill": "none",
|
|
418
|
+
"paths": [{
|
|
419
|
+
"d": "M13 8L3 8M3 8L8 13M3 8L8 3",
|
|
420
|
+
"stroke": "#5C5C5C",
|
|
421
|
+
"strokeWidth": "1.3",
|
|
422
|
+
"strokeLinecap": "round",
|
|
423
|
+
"strokeLinejoin": "round"
|
|
424
|
+
}],
|
|
425
|
+
"circles": [],
|
|
426
|
+
"rects": []
|
|
427
|
+
},
|
|
413
428
|
"ArrowRightIn_s1613": {
|
|
414
429
|
"width": "16",
|
|
415
430
|
"height": "16",
|
|
@@ -1472,7 +1487,7 @@ var iconmap = {
|
|
|
1472
1487
|
"viewBox": "0 0 16 16",
|
|
1473
1488
|
"fill": "none",
|
|
1474
1489
|
"paths": [{
|
|
1475
|
-
"d": "
|
|
1490
|
+
"d": "M12 10L8 6L4 10",
|
|
1476
1491
|
"stroke": "#5C5C5C",
|
|
1477
1492
|
"strokeWidth": "1.3",
|
|
1478
1493
|
"strokeLinecap": "round",
|
|
@@ -6913,6 +6928,7 @@ var ICONS = {
|
|
|
6913
6928
|
"ArrowDownCircle_s1413": "ArrowDownCircle_s1413",
|
|
6914
6929
|
"ArrowLeftIn_s1613": "ArrowLeftIn_s1613",
|
|
6915
6930
|
"ArrowLeftOut_s1810": "ArrowLeftOut_s1810",
|
|
6931
|
+
"ArrowLeft_s1613": "ArrowLeft_s1613",
|
|
6916
6932
|
"ArrowRightIn_s1613": "ArrowRightIn_s1613",
|
|
6917
6933
|
"ArrowRightOut02_s1615": "ArrowRightOut02_s1615",
|
|
6918
6934
|
"ArrowRightOut_s1810": "ArrowRightOut_s1810",
|
|
@@ -7306,7 +7322,13 @@ function Icon(_a) {
|
|
|
7306
7322
|
* circle.fill은 지정 색이 아니라 white로 고정시켜야함
|
|
7307
7323
|
*/
|
|
7308
7324
|
var staticCircleFill = useMemo(function () {
|
|
7309
|
-
return name === ICONS.QuestionCircleBg_s1610
|
|
7325
|
+
return name === ICONS.QuestionCircleBg_s1610;
|
|
7326
|
+
}, [name]);
|
|
7327
|
+
/**
|
|
7328
|
+
* circle.fill을 transparent로 두고 싶으면 true
|
|
7329
|
+
*/
|
|
7330
|
+
var transparentCircleFill = useMemo(function () {
|
|
7331
|
+
return name === ICONS.AlertCircle_s1610;
|
|
7310
7332
|
}, [name]);
|
|
7311
7333
|
/**
|
|
7312
7334
|
* 마지막 path.stroke를 svg에 있는대로 두고 싶으면 true
|
|
@@ -7352,7 +7374,7 @@ function Icon(_a) {
|
|
|
7352
7374
|
cx: circle.cx,
|
|
7353
7375
|
cy: circle.cy,
|
|
7354
7376
|
r: circle.r,
|
|
7355
|
-
fill: circle.fill && (staticCircleFill ? circle.fill : iconColor),
|
|
7377
|
+
fill: circle.fill && (staticCircleFill ? circle.fill : transparentCircleFill ? 'transparent' : iconColor),
|
|
7356
7378
|
stroke: circle.stroke && (staticPathStorke && idx === paths.length - 1 ? circle.stroke : iconColor),
|
|
7357
7379
|
strokeWidth: circle.strokeWidth
|
|
7358
7380
|
}, "circle-".concat(idx));
|