maru_design2 2.25.0 → 2.25.2
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 +2 -0
- package/dist/index.js +54 -14
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.25.2](https://github.com/42maru-ai/maru-design2/compare/v2.25.1...v2.25.2) (2025-04-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* :bug: Input,Textarea - update value & clear ([af2e6dc](https://github.com/42maru-ai/maru-design2/commit/af2e6dc04f9df97a242e6c90bc7a081279a9deb8))
|
|
9
|
+
|
|
10
|
+
## [2.25.1](https://github.com/42maru-ai/maru-design2/compare/v2.25.0...v2.25.1) (2025-04-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* :bento: Icon - add datahub new icons ([997f1e4](https://github.com/42maru-ai/maru-design2/commit/997f1e4af29e409b2d1ad6cb652ff729c95f0efb))
|
|
16
|
+
|
|
3
17
|
## [2.25.0](https://github.com/42maru-ai/maru-design2/compare/v2.24.4...v2.25.0) (2025-04-08)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -189,6 +189,7 @@ export declare const ICONS: {
|
|
|
189
189
|
readonly FilePlus_s1810: "FilePlus_s1810";
|
|
190
190
|
readonly FilePlus_s1812: "FilePlus_s1812";
|
|
191
191
|
readonly FileQuestion02_s1615: "FileQuestion02_s1615";
|
|
192
|
+
readonly FileRefresh_s1413: "FileRefresh_s1413";
|
|
192
193
|
readonly FileRefresh_s1810: "FileRefresh_s1810";
|
|
193
194
|
readonly FileRefresh_s1812: "FileRefresh_s1812";
|
|
194
195
|
readonly FileSlash_02_s1810: "FileSlash_02_s1810";
|
|
@@ -270,6 +271,7 @@ export declare const ICONS: {
|
|
|
270
271
|
readonly PlusLines_s1210: "PlusLines_s1210";
|
|
271
272
|
readonly PlusUpLines_s1413: "PlusUpLines_s1413";
|
|
272
273
|
readonly Plus_s1610: "Plus_s1610";
|
|
274
|
+
readonly PreviewEye_s1413: "PreviewEye_s1413";
|
|
273
275
|
readonly PreviewLine_s2013: "PreviewLine_s2013";
|
|
274
276
|
readonly PreviewLine_s2415: "PreviewLine_s2415";
|
|
275
277
|
readonly PreviewZoom_s2013: "PreviewZoom_s2013";
|
package/dist/index.js
CHANGED
|
@@ -3066,6 +3066,27 @@ var iconmap = {
|
|
|
3066
3066
|
"circles": [],
|
|
3067
3067
|
"rects": []
|
|
3068
3068
|
},
|
|
3069
|
+
"FileRefresh_s1413": {
|
|
3070
|
+
"width": "14",
|
|
3071
|
+
"height": "15",
|
|
3072
|
+
"viewBox": "0 0 14 15",
|
|
3073
|
+
"fill": "none",
|
|
3074
|
+
"paths": [{
|
|
3075
|
+
"d": "M7.54161 1.65723V4.06671C7.54161 4.39341 7.54161 4.55675 7.61049 4.68154C7.67108 4.7913 7.76775 4.88054 7.88666 4.93646C8.02184 5.00004 8.1988 5.00004 8.55272 5.00004H11.163M3.9305 13.1667C2.86874 13.1667 2.66285 13.1667 2.25731 12.9759C1.90059 12.8081 1.61056 12.5404 1.4288 12.2111C1.22217 11.8368 1.22217 11.3468 1.22217 10.3667V4.3C1.22217 3.31991 1.22217 2.82986 1.4288 2.45552C1.61056 2.12623 1.90059 1.85852 2.25731 1.69074C2.66285 1.5 3.19374 1.5 4.2555 1.5H7.54161L11.3333 5V6.36667",
|
|
3076
|
+
"stroke": "#5C5C5C",
|
|
3077
|
+
"strokeWidth": "1.3",
|
|
3078
|
+
"strokeLinecap": "round",
|
|
3079
|
+
"strokeLinejoin": "round"
|
|
3080
|
+
}, {
|
|
3081
|
+
"d": "M5.69405 11.7218C6.02604 12.5833 6.75112 13.2796 7.71112 13.5368C9.30609 13.9642 10.9455 13.0177 11.3729 11.4227L11.4184 11.2528M5.59685 9.87499C6.02423 8.28002 7.66366 7.3335 9.25862 7.76087C10.2186 8.0181 10.9437 8.71443 11.2757 9.57587M5.04252 9.36227L5.53996 10.2239L6.40155 9.72642M10.5684 11.5712L11.43 11.0738L11.9274 11.9354",
|
|
3082
|
+
"stroke": "#5C5C5C",
|
|
3083
|
+
"strokeWidth": "1.3",
|
|
3084
|
+
"strokeLinecap": "round",
|
|
3085
|
+
"strokeLinejoin": "round"
|
|
3086
|
+
}],
|
|
3087
|
+
"circles": [],
|
|
3088
|
+
"rects": []
|
|
3089
|
+
},
|
|
3069
3090
|
"FileRefresh_s1810": {
|
|
3070
3091
|
"width": "15",
|
|
3071
3092
|
"height": "14",
|
|
@@ -4522,6 +4543,32 @@ var iconmap = {
|
|
|
4522
4543
|
"circles": [],
|
|
4523
4544
|
"rects": []
|
|
4524
4545
|
},
|
|
4546
|
+
"PreviewEye_s1413": {
|
|
4547
|
+
"width": "14",
|
|
4548
|
+
"height": "15",
|
|
4549
|
+
"viewBox": "0 0 14 15",
|
|
4550
|
+
"fill": "none",
|
|
4551
|
+
"paths": [{
|
|
4552
|
+
"d": "M7 10.125C8.933 10.125 10.5 8.375 10.5 8.375C10.5 8.375 8.933 6.625 7 6.625C5.067 6.625 3.5 8.375 3.5 8.375C3.5 8.375 5.067 10.125 7 10.125Z",
|
|
4553
|
+
"stroke": "#5C5C5C",
|
|
4554
|
+
"strokeWidth": "1.3",
|
|
4555
|
+
"strokeLinejoin": "round"
|
|
4556
|
+
}, {
|
|
4557
|
+
"d": "M7 9.10433C7.48325 9.10433 7.875 8.77787 7.875 8.37516C7.875 7.97246 7.48325 7.646 7 7.646C6.51675 7.646 6.125 7.97246 6.125 8.37516C6.125 8.77787 6.51675 9.10433 7 9.10433Z",
|
|
4558
|
+
"fill": "#5C5C5C",
|
|
4559
|
+
"stroke": "#5C5C5C",
|
|
4560
|
+
"strokeWidth": "1.3",
|
|
4561
|
+
"strokeLinejoin": "round"
|
|
4562
|
+
}, {
|
|
4563
|
+
"d": "M13.125 4.4375H0.875001M13.125 4.4375L13.125 9.95C13.125 10.9301 13.125 11.4201 12.9247 11.7945C12.7486 12.1238 12.4675 12.3915 12.1217 12.5593C11.7286 12.75 11.2141 12.75 10.185 12.75H3.815C2.7859 12.75 2.27135 12.75 1.87829 12.5593C1.53254 12.3915 1.25144 12.1238 1.07528 11.7945C0.875 11.4201 0.875 10.9301 0.875 9.95L0.875001 4.4375M13.125 4.4375C13.125 3.45741 13.125 3.57986 12.9247 3.20552C12.7486 2.87623 12.4675 2.60852 12.1217 2.44074C11.7286 2.25 11.2141 2.25 10.185 2.25L3.815 2.25C2.7859 2.25 2.27136 2.25 1.87829 2.44074C1.53254 2.60852 1.25144 2.87623 1.07528 3.20552C0.875 3.57986 0.875001 3.45741 0.875001 4.4375",
|
|
4564
|
+
"stroke": "#5C5C5C",
|
|
4565
|
+
"strokeWidth": "1.3",
|
|
4566
|
+
"strokeLinecap": "round",
|
|
4567
|
+
"strokeLinejoin": "round"
|
|
4568
|
+
}],
|
|
4569
|
+
"circles": [],
|
|
4570
|
+
"rects": []
|
|
4571
|
+
},
|
|
4525
4572
|
"PreviewLine_s2013": {
|
|
4526
4573
|
"width": "20",
|
|
4527
4574
|
"height": "20",
|
|
@@ -6077,6 +6124,7 @@ var ICONS = {
|
|
|
6077
6124
|
"FilePlus_s1810": "FilePlus_s1810",
|
|
6078
6125
|
"FilePlus_s1812": "FilePlus_s1812",
|
|
6079
6126
|
"FileQuestion02_s1615": "FileQuestion02_s1615",
|
|
6127
|
+
"FileRefresh_s1413": "FileRefresh_s1413",
|
|
6080
6128
|
"FileRefresh_s1810": "FileRefresh_s1810",
|
|
6081
6129
|
"FileRefresh_s1812": "FileRefresh_s1812",
|
|
6082
6130
|
"FileSlash_02_s1810": "FileSlash_02_s1810",
|
|
@@ -6158,6 +6206,7 @@ var ICONS = {
|
|
|
6158
6206
|
"PlusLines_s1210": "PlusLines_s1210",
|
|
6159
6207
|
"PlusUpLines_s1413": "PlusUpLines_s1413",
|
|
6160
6208
|
"Plus_s1610": "Plus_s1610",
|
|
6209
|
+
"PreviewEye_s1413": "PreviewEye_s1413",
|
|
6161
6210
|
"PreviewLine_s2013": "PreviewLine_s2013",
|
|
6162
6211
|
"PreviewLine_s2415": "PreviewLine_s2415",
|
|
6163
6212
|
"PreviewZoom_s2013": "PreviewZoom_s2013",
|
|
@@ -6645,19 +6694,15 @@ var Input = /*#__PURE__*/forwardRef(function (_a, inputRef) {
|
|
|
6645
6694
|
useEffect(function () {
|
|
6646
6695
|
if (!props.value) {
|
|
6647
6696
|
setShowClearButton(false);
|
|
6697
|
+
} else {
|
|
6698
|
+
setShowClearButton(!hiddenClearButton);
|
|
6648
6699
|
}
|
|
6649
|
-
}, [props.value]);
|
|
6700
|
+
}, [props.value, hiddenClearButton]);
|
|
6650
6701
|
useEffect(function () {
|
|
6651
6702
|
if (props.defaultValue) {
|
|
6652
6703
|
setShowClearButton(!hiddenClearButton);
|
|
6653
6704
|
}
|
|
6654
6705
|
}, [props.defaultValue, hiddenClearButton]);
|
|
6655
|
-
useEffect(function () {
|
|
6656
|
-
var _a;
|
|
6657
|
-
if ((_a = combineRef.current) === null || _a === void 0 ? void 0 : _a.value) {
|
|
6658
|
-
setShowClearButton(!hiddenClearButton);
|
|
6659
|
-
}
|
|
6660
|
-
}, [combineRef.current, hiddenClearButton]);
|
|
6661
6706
|
/**
|
|
6662
6707
|
* persistentPlaceholder = true일때 보여줄 placeholder 세팅
|
|
6663
6708
|
*/
|
|
@@ -8946,21 +8991,16 @@ var Textarea = /*#__PURE__*/forwardRef(function (_a, textareaRef) {
|
|
|
8946
8991
|
if (!props.value) {
|
|
8947
8992
|
setShowClearButton(false);
|
|
8948
8993
|
} else {
|
|
8994
|
+
setShowClearButton(!hiddenClearButton);
|
|
8949
8995
|
resizeHeight();
|
|
8950
8996
|
}
|
|
8951
|
-
}, [props.value]);
|
|
8997
|
+
}, [props.value, hiddenClearButton]);
|
|
8952
8998
|
useEffect(function () {
|
|
8953
8999
|
if (props.defaultValue) {
|
|
8954
9000
|
setShowClearButton(!hiddenClearButton);
|
|
8955
9001
|
resizeHeight();
|
|
8956
9002
|
}
|
|
8957
9003
|
}, [props.defaultValue, hiddenClearButton]);
|
|
8958
|
-
useEffect(function () {
|
|
8959
|
-
var _a;
|
|
8960
|
-
if ((_a = combineRef.current) === null || _a === void 0 ? void 0 : _a.value) {
|
|
8961
|
-
setShowClearButton(!hiddenClearButton);
|
|
8962
|
-
}
|
|
8963
|
-
}, [combineRef.current, hiddenClearButton]);
|
|
8964
9004
|
var handleTextareaChange = function handleTextareaChange(e) {
|
|
8965
9005
|
var _a;
|
|
8966
9006
|
setShowClearButton(!hiddenClearButton);
|