@designbasekorea/ui 0.1.4 → 0.1.7
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/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +4 -6
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +346 -233
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +345 -232
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +1 -1
- package/dist/index.umd.css.map +1 -1
- package/dist/index.umd.js +345 -232
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -149,13 +149,9 @@ interface ToggleProps {
|
|
|
149
149
|
defaultSelected?: boolean;
|
|
150
150
|
isDisabled?: boolean;
|
|
151
151
|
isReadOnly?: boolean;
|
|
152
|
-
isRequired?: boolean;
|
|
153
|
-
hasLabel?: boolean;
|
|
154
152
|
size?: 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
155
153
|
children?: React$2.ReactNode;
|
|
156
154
|
className?: string;
|
|
157
|
-
name?: string;
|
|
158
|
-
value?: string;
|
|
159
155
|
onChange?: (isSelected: boolean) => void;
|
|
160
156
|
[key: string]: any;
|
|
161
157
|
}
|
|
@@ -205,7 +201,7 @@ interface ToastProps {
|
|
|
205
201
|
/** 닫기 버튼 표시 여부 */
|
|
206
202
|
showCloseButton?: boolean;
|
|
207
203
|
/** 토스트 위치 */
|
|
208
|
-
position?: 'top-
|
|
204
|
+
position?: 'top-right' | 'top-center' | 'bottom-center' | 'bottom-right';
|
|
209
205
|
/** 닫기 핸들러 */
|
|
210
206
|
onClose: (id: string) => void;
|
|
211
207
|
/** 추가 CSS 클래스 */
|
|
@@ -226,7 +222,7 @@ interface ToastItem extends Omit<ToastProps, 'onClose'> {
|
|
|
226
222
|
}
|
|
227
223
|
interface ToastContainerProps {
|
|
228
224
|
/** 토스트 위치 */
|
|
229
|
-
position?: 'top-
|
|
225
|
+
position?: 'top-right' | 'top-center' | 'bottom-center' | 'bottom-right';
|
|
230
226
|
/** 최대 토스트 개수 */
|
|
231
227
|
maxToasts?: number;
|
|
232
228
|
/** 추가 CSS 클래스 */
|
|
@@ -17068,6 +17064,8 @@ interface PopoverProps {
|
|
|
17068
17064
|
open?: boolean;
|
|
17069
17065
|
/** 팝오버 열림/닫힘 핸들러 */
|
|
17070
17066
|
onOpenChange?: (open: boolean) => void;
|
|
17067
|
+
/** 닫기 버튼 표시 여부 */
|
|
17068
|
+
showCloseButton?: boolean;
|
|
17071
17069
|
/** 추가 CSS 클래스 */
|
|
17072
17070
|
className?: string;
|
|
17073
17071
|
/** 추가 props */
|