maru_design2 2.26.10 → 2.27.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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.27.0](https://github.com/42maru-ai/maru-design2/compare/v2.26.11...v2.27.0) (2025-07-21)
4
+
5
+
6
+ ### Features
7
+
8
+ * :sparkles: ICON - ADD copy ([31546b5](https://github.com/42maru-ai/maru-design2/commit/31546b5cc64d7e4b080a3c7be83ada104a58e8d7))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * :bug: Input - fix end node wrapper margin left logic ([8fd1646](https://github.com/42maru-ai/maru-design2/commit/8fd164691623c49f93142fc5782d06cfaf050f22))
14
+ * :lipstick: Input - update margin between text and x ([3649897](https://github.com/42maru-ai/maru-design2/commit/3649897fdf62f264a461ac358b5b80e8c7bfdd94))
15
+
16
+ ## [2.26.11](https://github.com/42maru-ai/maru-design2/compare/v2.26.10...v2.26.11) (2025-07-14)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * :bento: Icon - add Download02_s2413 [#402](https://github.com/42maru-ai/maru-design2/issues/402) ([b31ba53](https://github.com/42maru-ai/maru-design2/commit/b31ba53eab4d9e73cacf78229028a5444d095b2a))
22
+
3
23
  ## [2.26.10](https://github.com/42maru-ai/maru-design2/compare/v2.26.9...v2.26.10) (2025-07-11)
4
24
 
5
25
 
@@ -182,6 +182,7 @@ export declare const ICONS: {
182
182
  readonly Download01_s1313: "Download01_s1313";
183
183
  readonly Download01_s1413: "Download01_s1413";
184
184
  readonly Download01_s1613: "Download01_s1613";
185
+ readonly Download02_s2413: "Download02_s2413";
185
186
  readonly Downstream_s1310: "Downstream_s1310";
186
187
  readonly Downstream_s1410: "Downstream_s1410";
187
188
  readonly Downstream_s2410: "Downstream_s2410";
package/dist/index.js CHANGED
@@ -2952,6 +2952,21 @@ var iconmap = {
2952
2952
  "circles": [],
2953
2953
  "rects": []
2954
2954
  },
2955
+ "Download02_s2413": {
2956
+ "width": "24",
2957
+ "height": "24",
2958
+ "viewBox": "0 0 24 24",
2959
+ "fill": "none",
2960
+ "paths": [{
2961
+ "d": "M20 20H4M17.3333 11.1111L12 16.4444M12 16.4444L6.66667 11.1111M12 16.4444V4",
2962
+ "stroke": "#8C8C8C",
2963
+ "strokeWidth": "1.3",
2964
+ "strokeLinecap": "round",
2965
+ "strokeLinejoin": "round"
2966
+ }],
2967
+ "circles": [],
2968
+ "rects": []
2969
+ },
2955
2970
  "Downstream_s1310": {
2956
2971
  "width": "13",
2957
2972
  "height": "13",
@@ -7064,6 +7079,7 @@ var ICONS = {
7064
7079
  "Download01_s1313": "Download01_s1313",
7065
7080
  "Download01_s1413": "Download01_s1413",
7066
7081
  "Download01_s1613": "Download01_s1613",
7082
+ "Download02_s2413": "Download02_s2413",
7067
7083
  "Downstream_s1310": "Downstream_s1310",
7068
7084
  "Downstream_s1410": "Downstream_s1410",
7069
7085
  "Downstream_s2410": "Downstream_s2410",
@@ -69642,7 +69658,7 @@ function Code(_a) {
69642
69658
  }));
69643
69659
  }
69644
69660
 
69645
- var css_248z$g = ".maru-input-wrapper .maru-input-label {\n margin-bottom: 8px;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 500;\n}\n.maru-input-wrapper .maru-input-label label {\n color: #5c5c5c;\n}\n.maru-input-wrapper .maru-input {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: row;\n height: 37px;\n padding: 8px 10px 8px 14px;\n border: 1px solid #e4e4e4;\n border-radius: 6px;\n position: relative;\n z-index: 0;\n}\n.maru-input-wrapper .maru-input .persistent-placeholder {\n position: absolute;\n z-index: -1;\n}\n.maru-input-wrapper .maru-input .persistent-placeholder > span {\n color: #8c8c8c;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 300;\n}\n.maru-input-wrapper .maru-input .persistent-placeholder > span[data-hidden] {\n visibility: hidden;\n}\n.maru-input-wrapper .maru-input > input {\n width: 100%;\n border: unset;\n outline: unset;\n background-color: transparent;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 400;\n color: #5c5c5c;\n padding: unset;\n}\n.maru-input-wrapper .maru-input > input::-webkit-input-placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input > input::-moz-placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input > input:-ms-input-placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input > input::-ms-input-placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input > input::placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input:focus-visible, .maru-input-wrapper .maru-input:focus-within {\n border-color: #5c5c5c;\n background-color: rgba(228, 228, 228, 0.2);\n}\n.maru-input-wrapper .maru-input.errored {\n outline: 1px solid #e53e3e;\n border-color: #e53e3e;\n}\n.maru-input-wrapper .maru-input:hover {\n outline: 1px solid #e4e4e4;\n border-color: #e4e4e4;\n background-color: rgba(228, 228, 228, 0.2);\n}\n.maru-input-wrapper .maru-input.disabled {\n background-color: #fafafa;\n}\n.maru-input-wrapper .maru-input.disabled > input {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input::-webkit-input-placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input::-moz-placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input:-ms-input-placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input::-ms-input-placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input::placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled:hover {\n outline: unset;\n}\n.maru-input-wrapper .maru-input-start-node {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n margin-right: 10px;\n}\n.maru-input-wrapper .maru-input-end-node-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n gap: 6px;\n}\n.maru-input-wrapper .maru-input-end-node-wrapper > button {\n padding: unset;\n margin: unset;\n border: unset;\n background-color: unset;\n cursor: pointer;\n display: flex;\n}\n.maru-input-wrapper .maru-input-end-node-wrapper .maru-input-end-node {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n.maru-input-wrapper .maru-input-footer {\n display: block;\n margin-top: 4px;\n}\n.maru-input-wrapper .maru-input-footer > span {\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 12px;\n letter-spacing: -0.48px;\n font-weight: 500;\n color: #e53e3e;\n font-weight: 400;\n}";
69661
+ var css_248z$g = ".maru-input-wrapper .maru-input-label {\n margin-bottom: 8px;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 500;\n}\n.maru-input-wrapper .maru-input-label label {\n color: #5c5c5c;\n}\n.maru-input-wrapper .maru-input {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: row;\n height: 37px;\n padding: 8px 10px 8px 14px;\n border: 1px solid #e4e4e4;\n border-radius: 6px;\n position: relative;\n z-index: 0;\n}\n.maru-input-wrapper .maru-input .persistent-placeholder {\n position: absolute;\n z-index: -1;\n}\n.maru-input-wrapper .maru-input .persistent-placeholder > span {\n color: #8c8c8c;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 300;\n}\n.maru-input-wrapper .maru-input .persistent-placeholder > span[data-hidden] {\n visibility: hidden;\n}\n.maru-input-wrapper .maru-input > input {\n width: 100%;\n border: unset;\n outline: unset;\n background-color: transparent;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 400;\n color: #5c5c5c;\n padding: unset;\n}\n.maru-input-wrapper .maru-input > input::-webkit-input-placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input > input::-moz-placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input > input:-ms-input-placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input > input::-ms-input-placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input > input::placeholder {\n font-weight: 300;\n color: #8c8c8c;\n}\n.maru-input-wrapper .maru-input:focus-visible, .maru-input-wrapper .maru-input:focus-within {\n border-color: #5c5c5c;\n background-color: rgba(228, 228, 228, 0.2);\n}\n.maru-input-wrapper .maru-input.errored {\n outline: 1px solid #e53e3e;\n border-color: #e53e3e;\n}\n.maru-input-wrapper .maru-input:hover {\n outline: 1px solid #e4e4e4;\n border-color: #e4e4e4;\n background-color: rgba(228, 228, 228, 0.2);\n}\n.maru-input-wrapper .maru-input.disabled {\n background-color: #fafafa;\n}\n.maru-input-wrapper .maru-input.disabled > input {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input::-webkit-input-placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input::-moz-placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input:-ms-input-placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input::-ms-input-placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled > input::placeholder {\n color: #bdbdbd;\n}\n.maru-input-wrapper .maru-input.disabled:hover {\n outline: unset;\n}\n.maru-input-wrapper .maru-input-start-node {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n margin-right: 10px;\n}\n.maru-input-wrapper .maru-input-end-node-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n gap: 6px;\n}\n.maru-input-wrapper .maru-input-end-node-wrapper > button {\n padding: unset;\n margin: unset;\n border: unset;\n background-color: unset;\n cursor: pointer;\n display: flex;\n}\n.maru-input-wrapper .maru-input-end-node-wrapper .maru-input-end-node {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n.maru-input-wrapper .maru-input-end-node-wrapper.maru-input-end-node-margin {\n margin-left: 8px;\n}\n.maru-input-wrapper .maru-input-footer {\n display: block;\n margin-top: 4px;\n}\n.maru-input-wrapper .maru-input-footer > span {\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 12px;\n letter-spacing: -0.48px;\n font-weight: 500;\n color: #e53e3e;\n font-weight: 400;\n}";
69646
69662
  styleInject(css_248z$g);
69647
69663
 
69648
69664
  var Input = /*#__PURE__*/forwardRef(function (_a, inputRef) {
@@ -69847,7 +69863,14 @@ var Input = /*#__PURE__*/forwardRef(function (_a, inputRef) {
69847
69863
  onBlur: handleInputBlur,
69848
69864
  placeholder: persistentPlaceholder ? undefined : props.placeholder
69849
69865
  })), jsxs("div", __assign({
69850
- className: "maru-input-end-node-wrapper"
69866
+ className: classNames('maru-input-end-node-wrapper', {
69867
+ // 셋 중 뭐라도 있으면 margin-left: 8px;
69868
+ 'maru-input-end-node-margin': type === 'password' && !props.disabled ||
69869
+ // password 버튼이 있거나
69870
+ showClearButton && !props.disabled ||
69871
+ // X 버튼이 있거나
69872
+ endNode // 추가 노드가 있거나
69873
+ })
69851
69874
  }, {
69852
69875
  children: [type === 'password' && !props.disabled && jsx("button", __assign({
69853
69876
  type: "button",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maru_design2",
3
- "version": "2.26.10",
3
+ "version": "2.27.0",
4
4
  "main": "./dist/index.js",
5
5
  "author": "zena-42maru",
6
6
  "license": "MIT",