maru_design2 2.9.2 → 2.11.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 +38 -0
- package/dist/components/atoms/icon/iconmap.d.ts +14 -2
- package/dist/components/atoms/input/Input.d.ts +2 -1
- package/dist/components/atoms/tooltip/Tooltip.d.ts +5 -1
- package/dist/components/molecules/calendar/Calendar.d.ts +3 -1
- package/dist/index.js +344 -70
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.11.0](https://github.com/42maru-ai/maru-design2/compare/v2.10.0...v2.11.0) (2024-07-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* :sparkles: Calendar - ADD open args to children [#183](https://github.com/42maru-ai/maru-design2/issues/183) ([1eaab62](https://github.com/42maru-ai/maru-design2/commit/1eaab62cdb5d23a5c93f7e6a3902fe9a6098bd06))
|
|
9
|
+
* :sparkles: Tooltip - ADD hidden option [#185](https://github.com/42maru-ai/maru-design2/issues/185) ([278d555](https://github.com/42maru-ai/maru-design2/commit/278d55535c7404f5ea0ed3dba8bd56777a376ea2))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* :bento: Icon - ADD icons [#178](https://github.com/42maru-ai/maru-design2/issues/178) & CHANGE downstream to network ([343c89a](https://github.com/42maru-ai/maru-design2/commit/343c89a47c13c8aeffa63ffa36c870cbc501df10))
|
|
15
|
+
* :bug: Input - UPDATE props.className to className [#180](https://github.com/42maru-ai/maru-design2/issues/180) ([e79193e](https://github.com/42maru-ai/maru-design2/commit/e79193eeae42c8df5b8b491e531519923cf7d3a6))
|
|
16
|
+
* :bug: Table - checkbox filter wrapping [#184](https://github.com/42maru-ai/maru-design2/issues/184) ([5d9999e](https://github.com/42maru-ai/maru-design2/commit/5d9999e89cb7dd265c9766b165a1aaf8811c1c28))
|
|
17
|
+
* :bug: Table - kebab stop propagation [#186](https://github.com/42maru-ai/maru-design2/issues/186) ([834f3b4](https://github.com/42maru-ai/maru-design2/commit/834f3b48599e964dedb07548a073a25d2a132006))
|
|
18
|
+
* :fire: Calendar - REMOVE comment ([d83af5f](https://github.com/42maru-ai/maru-design2/commit/d83af5f452eb8f9d2c40f9f9d33d7da49d546de5))
|
|
19
|
+
* :lipstick: Dropdown - UPDATE input font color [#181](https://github.com/42maru-ai/maru-design2/issues/181) ([124bf53](https://github.com/42maru-ai/maru-design2/commit/124bf53f2fbb94c7d4dc1ae2505d9f2237abfd5b))
|
|
20
|
+
* :lipstick: Table - loading animation [#182](https://github.com/42maru-ai/maru-design2/issues/182) ([82926e9](https://github.com/42maru-ai/maru-design2/commit/82926e9c0b320400481e47da0f0cf885f32b67da))
|
|
21
|
+
* :lipstick: Table - scroll bar style [#179](https://github.com/42maru-ai/maru-design2/issues/179) ([5ae286d](https://github.com/42maru-ai/maru-design2/commit/5ae286dfe44c09b76218af49778d7f51f21a11ae))
|
|
22
|
+
|
|
23
|
+
## [2.10.0](https://github.com/42maru-ai/maru-design2/compare/v2.9.2...v2.10.0) (2024-07-04)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* :lipstcik: Button - ADD style ([4a8dafb](https://github.com/42maru-ai/maru-design2/commit/4a8dafb041f4f234f98818e07f0d5687c56f03ca))
|
|
29
|
+
* :lipstick: Button - ADD style ([7d71821](https://github.com/42maru-ai/maru-design2/commit/7d718214748b806ad3d595da4c987eada9da185e))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* :bento: Icon - ADD bg icons ([3e5cf82](https://github.com/42maru-ai/maru-design2/commit/3e5cf82323d6251a7dc7f96403adfd13c55bc7b3))
|
|
35
|
+
* :bento: Icon - UPDATE chevron up/down icon ([3734fc5](https://github.com/42maru-ai/maru-design2/commit/3734fc542b4882c59e0953f2a757e8fed9255ca2))
|
|
36
|
+
* :bento: Icon - UPDATE x 24 ([025015d](https://github.com/42maru-ai/maru-design2/commit/025015d8a05d6659235a4f0f74f21de56a00bc00))
|
|
37
|
+
* :bento: Toast - UPDATE img to icon ([03bd968](https://github.com/42maru-ai/maru-design2/commit/03bd968abe4f51e7ee24fb1946621e37c41854d7))
|
|
38
|
+
* :bug: Dropdown - icon & border style [#171](https://github.com/42maru-ai/maru-design2/issues/171) ([bc46ba2](https://github.com/42maru-ai/maru-design2/commit/bc46ba224479a4efcc52f02688ab20c51960f0f9))
|
|
39
|
+
* :coffin: Toast - DELETE dead code ([e1e4102](https://github.com/42maru-ai/maru-design2/commit/e1e41022df4cae9148daadd986d9b265379afd1b))
|
|
40
|
+
|
|
3
41
|
## [2.9.2](https://github.com/42maru-ai/maru-design2/compare/v2.9.1...v2.9.2) (2024-07-03)
|
|
4
42
|
|
|
5
43
|
|
|
@@ -33,7 +33,9 @@ export declare const iconmap: {
|
|
|
33
33
|
};
|
|
34
34
|
export declare const ICONS: {
|
|
35
35
|
readonly AddLine_s16: "AddLine_s16";
|
|
36
|
+
readonly AlertCircleBg_s16: "AlertCircleBg_s16";
|
|
36
37
|
readonly AlertCircle_s1615: "AlertCircle_s1615";
|
|
38
|
+
readonly AlertTriangleBg_s24: "AlertTriangleBg_s24";
|
|
37
39
|
readonly AlertTriangle_s1615: "AlertTriangle_s1615";
|
|
38
40
|
readonly ArrowLeftCircle_s1812: "ArrowLeftCircle_s1812";
|
|
39
41
|
readonly ArrowLeftCircle_s2415: "ArrowLeftCircle_s2415";
|
|
@@ -53,6 +55,8 @@ export declare const ICONS: {
|
|
|
53
55
|
readonly BulbOn_s1613: "BulbOn_s1613";
|
|
54
56
|
readonly CalendarDate_s2420: "CalendarDate_s2420";
|
|
55
57
|
readonly Calendar_s1615: "Calendar_s1615";
|
|
58
|
+
readonly CheckCircleBg_s1612: "CheckCircleBg_s1612";
|
|
59
|
+
readonly CheckCircleBg_s24: "CheckCircleBg_s24";
|
|
56
60
|
readonly CheckCircle_s1613: "CheckCircle_s1613";
|
|
57
61
|
readonly CheckboxIndeterminate_s16: "CheckboxIndeterminate_s16";
|
|
58
62
|
readonly CheckboxIndeterminate_s18: "CheckboxIndeterminate_s18";
|
|
@@ -62,7 +66,7 @@ export declare const ICONS: {
|
|
|
62
66
|
readonly CheckboxOn_s16: "CheckboxOn_s16";
|
|
63
67
|
readonly CheckboxOn_s18: "CheckboxOn_s18";
|
|
64
68
|
readonly CheckboxOn_s24: "CheckboxOn_s24";
|
|
65
|
-
readonly
|
|
69
|
+
readonly ChevronDown_s1615: "ChevronDown_s1615";
|
|
66
70
|
readonly ChevronDown_s2420: "ChevronDown_s2420";
|
|
67
71
|
readonly ChevronLeftDouble_s1615: "ChevronLeftDouble_s1615";
|
|
68
72
|
readonly ChevronLeft_s1615: "ChevronLeft_s1615";
|
|
@@ -74,7 +78,7 @@ export declare const ICONS: {
|
|
|
74
78
|
readonly ChevronRight_s2020: "ChevronRight_s2020";
|
|
75
79
|
readonly ChevronRight_s2420: "ChevronRight_s2420";
|
|
76
80
|
readonly ChevronSelectorVertical_s2020: "ChevronSelectorVertical_s2020";
|
|
77
|
-
readonly
|
|
81
|
+
readonly ChevronUp_s1615: "ChevronUp_s1615";
|
|
78
82
|
readonly ChevronUp_s2420: "ChevronUp_s2420";
|
|
79
83
|
readonly ClipboardCheck_s1615: "ClipboardCheck_s1615";
|
|
80
84
|
readonly ClipboardPlus_s1615: "ClipboardPlus_s1615";
|
|
@@ -110,7 +114,9 @@ export declare const ICONS: {
|
|
|
110
114
|
readonly DotsVertical_s2415: "DotsVertical_s2415";
|
|
111
115
|
readonly DownCircle_s1413: "DownCircle_s1413";
|
|
112
116
|
readonly Down_s16: "Down_s16";
|
|
117
|
+
readonly Download01_s1413: "Download01_s1413";
|
|
113
118
|
readonly Download01_s1613: "Download01_s1613";
|
|
119
|
+
readonly Downstream_s14: "Downstream_s14";
|
|
114
120
|
readonly Downstream_s24: "Downstream_s24";
|
|
115
121
|
readonly DragSelect_s1613: "DragSelect_s1613";
|
|
116
122
|
readonly Edit03_s1613: "Edit03_s1613";
|
|
@@ -156,7 +162,9 @@ export declare const ICONS: {
|
|
|
156
162
|
readonly MessageText_s1815: "MessageText_s1815";
|
|
157
163
|
readonly MessageX_s1615: "MessageX_s1615";
|
|
158
164
|
readonly Move_s1613: "Move_s1613";
|
|
165
|
+
readonly Network03_s14: "Network03_s14";
|
|
159
166
|
readonly Network03_s24: "Network03_s24";
|
|
167
|
+
readonly Network04_s14: "Network04_s14";
|
|
160
168
|
readonly Network04_s24: "Network04_s24";
|
|
161
169
|
readonly Pause_s1615: "Pause_s1615";
|
|
162
170
|
readonly Pause_s2420: "Pause_s2420";
|
|
@@ -168,6 +176,7 @@ export declare const ICONS: {
|
|
|
168
176
|
readonly PlusCircle_s1615: "PlusCircle_s1615";
|
|
169
177
|
readonly PlusCircle_s1812: "PlusCircle_s1812";
|
|
170
178
|
readonly PlusCircle_s2420: "PlusCircle_s2420";
|
|
179
|
+
readonly QuestionCircleBg_s16: "QuestionCircleBg_s16";
|
|
171
180
|
readonly RefreshCcw02_s1415: "RefreshCcw02_s1415";
|
|
172
181
|
readonly RefreshCcw02_s1615: "RefreshCcw02_s1615";
|
|
173
182
|
readonly RefreshCcw02_s2420: "RefreshCcw02_s2420";
|
|
@@ -181,6 +190,7 @@ export declare const ICONS: {
|
|
|
181
190
|
readonly SearchMd_s2420: "SearchMd_s2420";
|
|
182
191
|
readonly Settings02_s1615: "Settings02_s1615";
|
|
183
192
|
readonly Settings02_s2420: "Settings02_s2420";
|
|
193
|
+
readonly Share03_s1215: "Share03_s1215";
|
|
184
194
|
readonly Share03_s1613: "Share03_s1613";
|
|
185
195
|
readonly SortOutline_s18: "SortOutline_s18";
|
|
186
196
|
readonly State_s16: "State_s16";
|
|
@@ -207,9 +217,11 @@ export declare const ICONS: {
|
|
|
207
217
|
readonly Users01_s1615: "Users01_s1615";
|
|
208
218
|
readonly Users01_s2420: "Users01_s2420";
|
|
209
219
|
readonly V_s18: "V_s18";
|
|
220
|
+
readonly XCircleBg_s1612: "XCircleBg_s1612";
|
|
210
221
|
readonly XCircle_s1413: "XCircle_s1413";
|
|
211
222
|
readonly XCircle_s1613: "XCircle_s1613";
|
|
212
223
|
readonly XCircle_s2420: "XCircle_s2420";
|
|
224
|
+
readonly XDiamondBg_s2415: "XDiamondBg_s2415";
|
|
213
225
|
readonly X_s1613: "X_s1613";
|
|
214
226
|
readonly X_s2420: "X_s2420";
|
|
215
227
|
readonly Zap_s1812: "Zap_s1812";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TInputType } from '../../../enums/type';
|
|
3
3
|
import './input.scss';
|
|
4
|
-
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
4
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'className'> {
|
|
5
5
|
/**
|
|
6
6
|
* 에러났을때 메시지. (@v1 isValid, validMessage)
|
|
7
7
|
*/
|
|
@@ -31,5 +31,6 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
|
|
|
31
31
|
* 컴포넌트 끝점에 위치시킬 노드(단, type이 password인 경우 무시됨)
|
|
32
32
|
*/
|
|
33
33
|
endNode?: React.ReactNode;
|
|
34
|
+
className?: string;
|
|
34
35
|
}
|
|
35
36
|
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -8,10 +8,14 @@ export interface TooltipProps {
|
|
|
8
8
|
*/
|
|
9
9
|
content: React.ReactNode;
|
|
10
10
|
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 특정상황에서 툴팁을 노출하고 싶지 않을때 true
|
|
13
|
+
*/
|
|
14
|
+
hidden?: boolean;
|
|
11
15
|
direction?: TDirection;
|
|
12
16
|
/**
|
|
13
17
|
* 컴포넌트 createPortal 여부. (@v1 isOnDocument)
|
|
14
18
|
*/
|
|
15
19
|
portal?: boolean;
|
|
16
20
|
}
|
|
17
|
-
export declare function Tooltip({ children, content, className, direction, portal, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function Tooltip({ children, content, className, hidden, direction, portal, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,9 +4,11 @@ export interface CalendarProps {
|
|
|
4
4
|
/**
|
|
5
5
|
* Maru Datepicker를 띄울 대상이 되는 컴포넌트. setOpen을 변수로 전달해서 외부에서 datepicker를 띄울 수 있도록 설정
|
|
6
6
|
* @param setOpen 토글형태로 동작. children의 onClick 메서드에서 실행 필요
|
|
7
|
+
* @param open 캘린더 오픈 여부 리턴
|
|
7
8
|
*/
|
|
8
|
-
children: ({ setOpen }: {
|
|
9
|
+
children: ({ setOpen, open, }: {
|
|
9
10
|
setOpen: () => void;
|
|
11
|
+
open: boolean;
|
|
10
12
|
}) => React.ReactNode;
|
|
11
13
|
saveButtonContent: string;
|
|
12
14
|
/**
|