@shoplflow/base 0.46.12 → 0.46.13
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.cjs +200 -201
- package/dist/index.d.cts +72 -72
- package/dist/index.d.ts +72 -72
- package/dist/index.js +50 -51
- package/package.json +1 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import react__default, { ElementType, ComponentPropsWithoutRef, ReactNode, ReactElement, CSSProperties, ImgHTMLAttributes, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, HTMLAttributes, ComponentPropsWithRef, ButtonHTMLAttributes, InputHTMLAttributes, MouseEvent, Ref, ChangeEvent } from 'react';
|
|
4
4
|
import { $Values } from '@shoplflow/utils';
|
|
5
5
|
import { IconSource } from '@shoplflow/shopl-assets';
|
|
6
6
|
import { IconSource as IconSource$1 } from '@shoplflow/hada-assets';
|
|
@@ -19,7 +19,7 @@ type DomainType = 'SHOPL' | 'HADA';
|
|
|
19
19
|
|
|
20
20
|
interface ShoplflowProviderProps {
|
|
21
21
|
domain?: DomainType;
|
|
22
|
-
children:
|
|
22
|
+
children: react__default.ReactNode;
|
|
23
23
|
}
|
|
24
24
|
declare const ShoplflowProvider: ({ children, domain }: ShoplflowProviderProps) => react_jsx_runtime.JSX.Element;
|
|
25
25
|
|
|
@@ -215,7 +215,7 @@ interface StyleVariantProps<Style> {
|
|
|
215
215
|
*/
|
|
216
216
|
styleVar?: Style;
|
|
217
217
|
}
|
|
218
|
-
interface ChildrenProps<Children =
|
|
218
|
+
interface ChildrenProps<Children = react__default.ReactNode> {
|
|
219
219
|
/**
|
|
220
220
|
* 컴포넌트 내부에 들어갈 children을 설정합니다.
|
|
221
221
|
*/
|
|
@@ -298,7 +298,7 @@ interface AvatarOptionProps extends SizeVariantProps<AvatarSizeVariantType>, Img
|
|
|
298
298
|
declare const Avatar: ({ src, badge, fallbackUrl, ...rest }: AvatarProps) => JSX.Element;
|
|
299
299
|
|
|
300
300
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
301
|
-
declare const AVATAR_VERSION = "2.1.
|
|
301
|
+
declare const AVATAR_VERSION = "2.1.2";
|
|
302
302
|
|
|
303
303
|
type StackGenericProps<T extends StringElementType = 'div'> = RenderConfigProps & StackProps & HTMLPropsWithoutRef<T>;
|
|
304
304
|
type StackComponentType = ForwardRefExoticComponent<PropsWithoutRef<StackGenericProps> & RefAttributes<HTMLElement>>;
|
|
@@ -369,10 +369,10 @@ declare const MotionStack: MotionStackType$1;
|
|
|
369
369
|
declare const StyledStack: _emotion_styled.StyledComponent<{
|
|
370
370
|
theme?: _emotion_react.Theme;
|
|
371
371
|
as?: React.ElementType;
|
|
372
|
-
} & StackOptionProps,
|
|
372
|
+
} & StackOptionProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
373
373
|
|
|
374
374
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
375
|
-
declare const STACK_VERSION = "2.0.
|
|
375
|
+
declare const STACK_VERSION = "2.0.1";
|
|
376
376
|
|
|
377
377
|
type StackContainerGenericProps<T extends StringElementType = 'div'> = RenderConfigProps & StackContainerProps & HTMLPropsWithoutRef<T>;
|
|
378
378
|
type StackContainerComponentType = ForwardRefExoticComponent<PropsWithoutRef<StackContainerGenericProps> & RefAttributes<HTMLElement>>;
|
|
@@ -446,10 +446,10 @@ declare const MotionStackContainer: MotionStackType;
|
|
|
446
446
|
declare const StyledStackContainer: _emotion_styled.StyledComponent<{
|
|
447
447
|
theme?: _emotion_react.Theme;
|
|
448
448
|
as?: React.ElementType;
|
|
449
|
-
} & StackContainerOptionProps,
|
|
449
|
+
} & StackContainerOptionProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
450
450
|
|
|
451
451
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
452
|
-
declare const STACK_CONTAINER_VERSION = "2.0.
|
|
452
|
+
declare const STACK_CONTAINER_VERSION = "2.0.1";
|
|
453
453
|
|
|
454
454
|
interface TextOptionProps {
|
|
455
455
|
/**
|
|
@@ -472,10 +472,10 @@ interface TextOptionProps {
|
|
|
472
472
|
interface TextProps extends TextOptionProps, ChildrenProps, RenderConfigProps, Omit<HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
-
declare const Text:
|
|
475
|
+
declare const Text: react.ForwardRefExoticComponent<TextProps & react.RefAttributes<unknown>>;
|
|
476
476
|
|
|
477
477
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
478
|
-
declare const TEXT_VERSION = "2.0.
|
|
478
|
+
declare const TEXT_VERSION = "2.0.2";
|
|
479
479
|
|
|
480
480
|
declare const ModalSize: {
|
|
481
481
|
readonly XXS: "XXS";
|
|
@@ -550,21 +550,21 @@ type ModalHandlerContext = {
|
|
|
550
550
|
addModal: (modal: ReactNode, id?: string, zIndex?: number) => void;
|
|
551
551
|
removeModal: (props?: RemoveModalProps) => void;
|
|
552
552
|
};
|
|
553
|
-
declare const ModalHandlerContext:
|
|
553
|
+
declare const ModalHandlerContext: react.Context<ModalHandlerContext>;
|
|
554
554
|
type ModalContext = ModalStateType[];
|
|
555
|
-
declare const ModalContext:
|
|
555
|
+
declare const ModalContext: react.Context<ModalContext>;
|
|
556
556
|
|
|
557
557
|
declare const useModalValue: () => {
|
|
558
558
|
modal: ModalContext;
|
|
559
559
|
};
|
|
560
560
|
|
|
561
561
|
declare const useHandleModal: () => {
|
|
562
|
-
addModal: (modal:
|
|
562
|
+
addModal: (modal: react.ReactNode, id?: string, zIndex?: number) => void;
|
|
563
563
|
removeModal: (props?: RemoveModalProps) => void;
|
|
564
564
|
};
|
|
565
565
|
|
|
566
566
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
567
|
-
declare const MODAL_VERSION = "2.0.
|
|
567
|
+
declare const MODAL_VERSION = "2.0.1";
|
|
568
568
|
|
|
569
569
|
declare const Modal: {
|
|
570
570
|
Container: ({ children, height, outsideClick, ...rest }: ModalContainerProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -582,7 +582,7 @@ interface BackDropOptionProps {
|
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
585
|
-
declare const BACK_DROP_VERSION = "2.0.
|
|
585
|
+
declare const BACK_DROP_VERSION = "2.0.1";
|
|
586
586
|
|
|
587
587
|
declare const SwitchSizeVariants: {
|
|
588
588
|
readonly S: "S";
|
|
@@ -598,7 +598,7 @@ interface SwitchOptionProps {
|
|
|
598
598
|
declare const Switch: ({ onChange, isSelected, disabled, activeColor, defaultSelected, sizeVar, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
599
599
|
|
|
600
600
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
601
|
-
declare const SWITCH_VERSION = "2.0.
|
|
601
|
+
declare const SWITCH_VERSION = "2.0.1";
|
|
602
602
|
|
|
603
603
|
declare const ChipToggleStyleVariants: {
|
|
604
604
|
readonly SOLID: "SOLID";
|
|
@@ -633,13 +633,13 @@ interface ChipButtonOptionProps {
|
|
|
633
633
|
declare const ChipButton: ({ styleVar, color, sizeVar, text, onClick, disabled, ...rest }: ChipButtonProps) => react_jsx_runtime.JSX.Element;
|
|
634
634
|
|
|
635
635
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
636
|
-
declare const CHIPS_VERSION = "2.0.
|
|
636
|
+
declare const CHIPS_VERSION = "2.0.1";
|
|
637
637
|
|
|
638
|
-
type AsProp<T extends
|
|
638
|
+
type AsProp<T extends react__default.ElementType> = {
|
|
639
639
|
as?: T;
|
|
640
640
|
};
|
|
641
|
-
type PolymorphicRef<T extends
|
|
642
|
-
type PolymorphicComponentProps<T extends
|
|
641
|
+
type PolymorphicRef<T extends react__default.ElementType> = react__default.ComponentPropsWithRef<T>['ref'];
|
|
642
|
+
type PolymorphicComponentProps<T extends react__default.ElementType, Props = {}> = AsProp<T> & react__default.ComponentPropsWithoutRef<T> & Props & {
|
|
643
643
|
ref?: PolymorphicRef<T>;
|
|
644
644
|
};
|
|
645
645
|
|
|
@@ -665,7 +665,7 @@ type ButtonComponent = <T extends ElementType = 'button'>(props: ButtonProps<T>
|
|
|
665
665
|
ref?: ComponentPropsWithRef<T>['ref'];
|
|
666
666
|
}) => React.ReactElement | null;
|
|
667
667
|
|
|
668
|
-
declare const Button:
|
|
668
|
+
declare const Button: react.ForwardRefExoticComponent<Omit<ButtonProps<"button">, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
669
669
|
|
|
670
670
|
declare const IconButtonSizeVariants: {
|
|
671
671
|
readonly XS: "XS";
|
|
@@ -684,9 +684,9 @@ type IconButtonOptionProps<T extends ElementType = 'button'> = Omit<ComponentPro
|
|
|
684
684
|
type IconButtonProps<T extends ElementType = 'button'> = PolymorphicComponentProps<T, IconButtonOptionProps>;
|
|
685
685
|
type IconButtonComponent = <T extends ElementType = 'button'>(props: IconButtonProps<T> & {
|
|
686
686
|
ref?: ComponentPropsWithRef<T>['ref'];
|
|
687
|
-
}) =>
|
|
687
|
+
}) => react__default.ReactElement | null;
|
|
688
688
|
|
|
689
|
-
declare const IconButton:
|
|
689
|
+
declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps<"button">, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
690
690
|
|
|
691
691
|
declare const DropdownButtonSizeVariants: {
|
|
692
692
|
readonly S: "S";
|
|
@@ -721,7 +721,7 @@ interface MenuOptionProps extends ChildrenProps, DisableProps, RightElementProps
|
|
|
721
721
|
declare const Menu: ({ leftSource, rightSource, children, isSelected, defaultSelected, onClick, sizeVar, disabled, ...rest }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
722
722
|
|
|
723
723
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
724
|
-
declare const MENU_VERSION = "2.0.
|
|
724
|
+
declare const MENU_VERSION = "2.0.1";
|
|
725
725
|
|
|
726
726
|
declare const DropdownButton: {
|
|
727
727
|
({ text, sizeVar, className, disabled, children, placement, styleVar, floatingZIndex, ...rest }: DropdownButtonProps): react_jsx_runtime.JSX.Element;
|
|
@@ -732,7 +732,7 @@ type DropdownButtonContextType = {
|
|
|
732
732
|
isOpen: boolean;
|
|
733
733
|
setIsOpen: (isOpen: boolean) => void;
|
|
734
734
|
};
|
|
735
|
-
declare const DropdownButtonContext:
|
|
735
|
+
declare const DropdownButtonContext: react.Context<DropdownButtonContextType | null>;
|
|
736
736
|
declare const useDropdownButtonContext: () => DropdownButtonContextType;
|
|
737
737
|
|
|
738
738
|
declare const SplitButtonSizeVariants: {
|
|
@@ -762,11 +762,11 @@ type SplitButtonContextType = {
|
|
|
762
762
|
isOpen: boolean;
|
|
763
763
|
setIsOpen: (isOpen: boolean) => void;
|
|
764
764
|
};
|
|
765
|
-
declare const SplitButtonContext:
|
|
765
|
+
declare const SplitButtonContext: react.Context<SplitButtonContextType | null>;
|
|
766
766
|
declare const useSplitButtonContext: () => SplitButtonContextType;
|
|
767
767
|
|
|
768
768
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
769
|
-
declare const BUTTONS_VERSION = "2.0.
|
|
769
|
+
declare const BUTTONS_VERSION = "2.0.4";
|
|
770
770
|
|
|
771
771
|
declare const CalloutTypes: {
|
|
772
772
|
readonly INFORMATION: "INFORMATION";
|
|
@@ -795,7 +795,7 @@ declare const Callout: {
|
|
|
795
795
|
};
|
|
796
796
|
|
|
797
797
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
798
|
-
declare const CALLOUT_VERSION = "2.1.
|
|
798
|
+
declare const CALLOUT_VERSION = "2.1.5";
|
|
799
799
|
|
|
800
800
|
interface PopperProps extends PopperOptionProps {
|
|
801
801
|
}
|
|
@@ -864,14 +864,14 @@ interface PopperPortalProps extends ChildrenProps, HTMLAttributes<HTMLDivElement
|
|
|
864
864
|
|
|
865
865
|
declare const Popper: {
|
|
866
866
|
({ placement, offset: initialOffset, autoPlacement: initialAutoPlacement, strategy, middlewares, children, }: PopperProps): react_jsx_runtime.JSX.Element;
|
|
867
|
-
Trigger:
|
|
868
|
-
Portal:
|
|
867
|
+
Trigger: react.ForwardRefExoticComponent<PopperTriggerProps & react.RefAttributes<HTMLDivElement>>;
|
|
868
|
+
Portal: react.ForwardRefExoticComponent<PopperPortalProps & react.RefAttributes<HTMLDivElement>>;
|
|
869
869
|
};
|
|
870
|
-
declare const PopperTrigger:
|
|
871
|
-
declare const PopperPortal:
|
|
870
|
+
declare const PopperTrigger: react.ForwardRefExoticComponent<PopperTriggerProps & react.RefAttributes<HTMLDivElement>>;
|
|
871
|
+
declare const PopperPortal: react.ForwardRefExoticComponent<PopperPortalProps & react.RefAttributes<HTMLDivElement>>;
|
|
872
872
|
|
|
873
873
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
874
|
-
declare const POPPER_VERSION = "2.0.
|
|
874
|
+
declare const POPPER_VERSION = "2.0.1";
|
|
875
875
|
|
|
876
876
|
interface ScrollbarRefType {
|
|
877
877
|
scrollTop(top: number): void;
|
|
@@ -894,7 +894,7 @@ interface ScrollAreaOptionProps {
|
|
|
894
894
|
/**
|
|
895
895
|
* (Function) 스크롤 이벤트 핸들러
|
|
896
896
|
*/
|
|
897
|
-
onScroll?:
|
|
897
|
+
onScroll?: react.UIEventHandler<any>;
|
|
898
898
|
/**
|
|
899
899
|
* (Function) 애니메이션 프레임 내에서 실행됩니다.
|
|
900
900
|
*/
|
|
@@ -914,23 +914,23 @@ interface ScrollAreaOptionProps {
|
|
|
914
914
|
/**
|
|
915
915
|
* 콘텐츠가 렌더링될 요소
|
|
916
916
|
*/
|
|
917
|
-
renderView?:
|
|
917
|
+
renderView?: react.ComponentType<any>;
|
|
918
918
|
/**
|
|
919
919
|
* 수평 트랙 요소
|
|
920
920
|
*/
|
|
921
|
-
renderTrackHorizontal?:
|
|
921
|
+
renderTrackHorizontal?: react.ComponentType<any>;
|
|
922
922
|
/**
|
|
923
923
|
* 수직 트랙 요소
|
|
924
924
|
*/
|
|
925
|
-
renderTrackVertical?:
|
|
925
|
+
renderTrackVertical?: react.ComponentType<any>;
|
|
926
926
|
/**
|
|
927
927
|
* 수평 스크롤 바 요소
|
|
928
928
|
*/
|
|
929
|
-
renderThumbHorizontal?:
|
|
929
|
+
renderThumbHorizontal?: react.ComponentType<any>;
|
|
930
930
|
/**
|
|
931
931
|
* 수직 스크롤 바 요소
|
|
932
932
|
*/
|
|
933
|
-
renderThumbVertical?:
|
|
933
|
+
renderThumbVertical?: react.ComponentType<any>;
|
|
934
934
|
tagName?: string;
|
|
935
935
|
/**
|
|
936
936
|
* 컨테이너가 오버플로되지 않을 때 트랙을 숨깁니다
|
|
@@ -969,13 +969,13 @@ interface ScrollAreaOptionProps {
|
|
|
969
969
|
* 자동 높이 모드의 최대 높이 설정 (기본값: 200)
|
|
970
970
|
*/
|
|
971
971
|
autoHeightMax?: number | string;
|
|
972
|
-
style?:
|
|
972
|
+
style?: react.CSSProperties;
|
|
973
973
|
}
|
|
974
974
|
|
|
975
|
-
declare const ScrollArea:
|
|
975
|
+
declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & react.RefAttributes<ScrollbarRefType>>;
|
|
976
976
|
|
|
977
977
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
978
|
-
declare const SCROLL_AREA_VERSION = "2.0.
|
|
978
|
+
declare const SCROLL_AREA_VERSION = "2.0.1";
|
|
979
979
|
|
|
980
980
|
declare const DropdownOptionVariants: {
|
|
981
981
|
readonly CLICK: "CLICK";
|
|
@@ -1017,12 +1017,12 @@ interface DropdownContentProps extends HTMLAttributes<HTMLDivElement>, ChildrenP
|
|
|
1017
1017
|
*/
|
|
1018
1018
|
width?: string;
|
|
1019
1019
|
}
|
|
1020
|
-
declare const
|
|
1020
|
+
declare const _dropdownSizeVariants: {
|
|
1021
1021
|
readonly S: "S";
|
|
1022
1022
|
readonly M: "M";
|
|
1023
1023
|
readonly L: "L";
|
|
1024
1024
|
};
|
|
1025
|
-
type DropdownSizeVariantType = $Values<typeof
|
|
1025
|
+
type DropdownSizeVariantType = $Values<typeof _dropdownSizeVariants>;
|
|
1026
1026
|
interface DropdownTriggerButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'>, DisableProps, LeftAndRightElementProps, SizeVariantProps<DropdownSizeVariantType> {
|
|
1027
1027
|
/**
|
|
1028
1028
|
* placeholder를 설정합니다.
|
|
@@ -1039,12 +1039,12 @@ interface DropdownTriggerButtonProps extends Omit<ButtonHTMLAttributes<HTMLButto
|
|
|
1039
1039
|
|
|
1040
1040
|
declare const Dropdown: {
|
|
1041
1041
|
({ isOpen: initialIsOpen, trigger, popper, option, width, offset, placement, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
1042
|
-
Button:
|
|
1042
|
+
Button: react.ForwardRefExoticComponent<DropdownTriggerButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1043
1043
|
Content: ({ children, width: initialWidth, type, onClick, ...rest }: DropdownContentProps) => react_jsx_runtime.JSX.Element;
|
|
1044
1044
|
};
|
|
1045
1045
|
|
|
1046
1046
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1047
|
-
declare const DROPDOWN_VERSION = "2.0.
|
|
1047
|
+
declare const DROPDOWN_VERSION = "2.0.1";
|
|
1048
1048
|
|
|
1049
1049
|
interface ListProps extends ListOptionProps {
|
|
1050
1050
|
}
|
|
@@ -1064,7 +1064,7 @@ declare const List: {
|
|
|
1064
1064
|
declare const Text2Rows: ({ title, subTitle }: ListText2RowsProps) => react_jsx_runtime.JSX.Element;
|
|
1065
1065
|
|
|
1066
1066
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1067
|
-
declare const LIST_VERSION = "2.0.
|
|
1067
|
+
declare const LIST_VERSION = "2.0.2";
|
|
1068
1068
|
|
|
1069
1069
|
declare const TagStyleVariants: {
|
|
1070
1070
|
readonly SOLID: "SOLID";
|
|
@@ -1087,7 +1087,7 @@ interface TagOptionProps extends SizeVariantProps<TagSizeVariantType>, StyleVari
|
|
|
1087
1087
|
declare const Tag: ({ sizeVar, children, rightSource, leftSource, className, ...rest }: TagProps) => react_jsx_runtime.JSX.Element;
|
|
1088
1088
|
|
|
1089
1089
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1090
|
-
declare const TAG_VERSION = "2.0.
|
|
1090
|
+
declare const TAG_VERSION = "2.0.1";
|
|
1091
1091
|
|
|
1092
1092
|
interface TreeProps extends TreeOptionProps {
|
|
1093
1093
|
}
|
|
@@ -1135,7 +1135,7 @@ declare const TreeItem: {
|
|
|
1135
1135
|
};
|
|
1136
1136
|
|
|
1137
1137
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1138
|
-
declare const TREE_VERSION = "2.0.
|
|
1138
|
+
declare const TREE_VERSION = "2.0.1";
|
|
1139
1139
|
|
|
1140
1140
|
declare const IconSizeVariants: {
|
|
1141
1141
|
readonly XS: "XS";
|
|
@@ -1153,15 +1153,15 @@ type DangerouslySetInnerHTML = (string & {
|
|
|
1153
1153
|
__html: string | TrustedHTML;
|
|
1154
1154
|
}) | undefined;
|
|
1155
1155
|
|
|
1156
|
-
declare const Icon:
|
|
1156
|
+
declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
|
|
1157
1157
|
|
|
1158
1158
|
declare const StyledIcon: _emotion_styled.StyledComponent<{
|
|
1159
1159
|
theme?: _emotion_react.Theme;
|
|
1160
1160
|
as?: React.ElementType;
|
|
1161
|
-
} & IconOptionProps,
|
|
1161
|
+
} & IconOptionProps, react.SVGProps<SVGSVGElement>, {}>;
|
|
1162
1162
|
|
|
1163
1163
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1164
|
-
declare const ICON_VERSION = "2.0.
|
|
1164
|
+
declare const ICON_VERSION = "2.0.1";
|
|
1165
1165
|
|
|
1166
1166
|
declare const InputSizeVariants: {
|
|
1167
1167
|
readonly S: "S";
|
|
@@ -1185,7 +1185,7 @@ interface InputOptionProps extends ErrorProps, SizeVariantProps<InputSizeVariant
|
|
|
1185
1185
|
initIsFocused?: boolean;
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
|
-
declare const Input:
|
|
1188
|
+
declare const Input: react__default.ForwardRefExoticComponent<InputProps & react__default.RefAttributes<HTMLInputElement>>;
|
|
1189
1189
|
|
|
1190
1190
|
interface InputButtonProps extends InputButtonOptionProps {
|
|
1191
1191
|
}
|
|
@@ -1222,7 +1222,7 @@ interface InputButtonOptionProps extends Omit<InputHTMLAttributes<HTMLInputEleme
|
|
|
1222
1222
|
onChange?: (value?: string) => void;
|
|
1223
1223
|
}
|
|
1224
1224
|
|
|
1225
|
-
declare const InputButton:
|
|
1225
|
+
declare const InputButton: react.ForwardRefExoticComponent<InputButtonProps & react.RefAttributes<HTMLInputElement>>;
|
|
1226
1226
|
|
|
1227
1227
|
interface TextAreaOptionProps extends DisableProps, ErrorProps {
|
|
1228
1228
|
/**
|
|
@@ -1257,7 +1257,7 @@ interface TextAreaOptionProps extends DisableProps, ErrorProps {
|
|
|
1257
1257
|
type TextAreaProps = ComponentPropsWithoutRef<'textarea'> & TextAreaOptionProps;
|
|
1258
1258
|
|
|
1259
1259
|
declare const MaxLength: () => react_jsx_runtime.JSX.Element | null;
|
|
1260
|
-
type TextAreaComponent =
|
|
1260
|
+
type TextAreaComponent = react__default.ForwardRefExoticComponent<TextAreaProps & react__default.RefAttributes<HTMLTextAreaElement>> & {
|
|
1261
1261
|
MaxLength: typeof MaxLength;
|
|
1262
1262
|
};
|
|
1263
1263
|
declare const TextArea: TextAreaComponent;
|
|
@@ -1291,7 +1291,7 @@ interface SelectInputButtonOptionProps extends Omit<HTMLAttributes<HTMLLabelElem
|
|
|
1291
1291
|
declare const SelectInputButton: ({ disabled, isSelected, onMouseEnter, onMouseLeave, onClick, onClear, value, placeholder, label, width, rightSource, sizeVar, ...rest }: SelectInputButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1292
1292
|
|
|
1293
1293
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1294
|
-
declare const INPUTS_VERSION = "2.0.
|
|
1294
|
+
declare const INPUTS_VERSION = "2.0.1";
|
|
1295
1295
|
|
|
1296
1296
|
interface MinusBoxProps extends MinusBoxOptionProps, Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'> {
|
|
1297
1297
|
}
|
|
@@ -1300,7 +1300,7 @@ interface MinusBoxOptionProps {
|
|
|
1300
1300
|
color?: ColorTokens;
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
1303
|
-
declare const MinusButton:
|
|
1303
|
+
declare const MinusButton: react.ForwardRefExoticComponent<MinusBoxProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1304
1304
|
|
|
1305
1305
|
declare const CheckboxStyleVariants: {
|
|
1306
1306
|
readonly PRIMARY: "PRIMARY";
|
|
@@ -1313,7 +1313,7 @@ interface CheckboxOptionProps extends StyleVariantProps<CheckboxStyleVariantType
|
|
|
1313
1313
|
}
|
|
1314
1314
|
|
|
1315
1315
|
declare const CHECKBOX_SYMBOL_KEY: unique symbol;
|
|
1316
|
-
declare const Checkbox:
|
|
1316
|
+
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
1317
1317
|
|
|
1318
1318
|
interface RadioProps extends RadioOptionProps {
|
|
1319
1319
|
}
|
|
@@ -1327,7 +1327,7 @@ declare const Radio: {
|
|
|
1327
1327
|
};
|
|
1328
1328
|
|
|
1329
1329
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1330
|
-
declare const CONTROL_BUTTONS_VERSION = "2.0.
|
|
1330
|
+
declare const CONTROL_BUTTONS_VERSION = "2.0.2";
|
|
1331
1331
|
|
|
1332
1332
|
interface TooltipProps extends TooltipOptionProps, Omit<PopperProps, 'autoPlacement'> {
|
|
1333
1333
|
}
|
|
@@ -1348,7 +1348,7 @@ declare const Tooltip: {
|
|
|
1348
1348
|
};
|
|
1349
1349
|
|
|
1350
1350
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1351
|
-
declare const TOOLTIP_VERSION = "2.0.
|
|
1351
|
+
declare const TOOLTIP_VERSION = "2.0.1";
|
|
1352
1352
|
|
|
1353
1353
|
declare const TabStyleVariants: {
|
|
1354
1354
|
readonly NORMAL: "NORMAL";
|
|
@@ -1402,11 +1402,11 @@ type TabsContextType = {
|
|
|
1402
1402
|
activeTab: string | null;
|
|
1403
1403
|
setActiveTab: (tab: string) => void;
|
|
1404
1404
|
};
|
|
1405
|
-
declare const TabsContext:
|
|
1405
|
+
declare const TabsContext: react.Context<TabsContextType | null>;
|
|
1406
1406
|
declare const useTabs: () => TabsContextType;
|
|
1407
1407
|
|
|
1408
1408
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1409
|
-
declare const TABS_VERSION = "2.0.
|
|
1409
|
+
declare const TABS_VERSION = "2.0.1";
|
|
1410
1410
|
|
|
1411
1411
|
interface PaginationProps extends PaginationOptionProps, HTMLAttributes<HTMLDivElement> {
|
|
1412
1412
|
}
|
|
@@ -1464,7 +1464,7 @@ declare const Pagination: {
|
|
|
1464
1464
|
};
|
|
1465
1465
|
|
|
1466
1466
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1467
|
-
declare const PAGINATION_VERSION = "2.0.
|
|
1467
|
+
declare const PAGINATION_VERSION = "2.0.1";
|
|
1468
1468
|
|
|
1469
1469
|
declare const ToggleButtonSizeVariants: {
|
|
1470
1470
|
readonly S: "S";
|
|
@@ -1491,11 +1491,11 @@ interface ToggleButtonInnerRadioOptionProps {
|
|
|
1491
1491
|
|
|
1492
1492
|
declare const ToggleButton: {
|
|
1493
1493
|
({ fixedWidth, children, targetName, onChange, selectedValue, sizeVar, disabled, ...rest }: ToggleButtonProps): react_jsx_runtime.JSX.Element;
|
|
1494
|
-
InnerRadio:
|
|
1494
|
+
InnerRadio: react.ForwardRefExoticComponent<ToggleButtonInnerRadioProps & react.RefAttributes<HTMLInputElement>>;
|
|
1495
1495
|
};
|
|
1496
1496
|
|
|
1497
1497
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1498
|
-
declare const TOGGLE_BUTTON_VERSION = "2.0.
|
|
1498
|
+
declare const TOGGLE_BUTTON_VERSION = "2.0.2";
|
|
1499
1499
|
|
|
1500
1500
|
declare const DayDatepickerSizeVariants: {
|
|
1501
1501
|
readonly S: "S";
|
|
@@ -1656,7 +1656,7 @@ type YearSelectProps = {
|
|
|
1656
1656
|
};
|
|
1657
1657
|
|
|
1658
1658
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1659
|
-
declare const DATEPICKERS_VERSION = "2.0.
|
|
1659
|
+
declare const DATEPICKERS_VERSION = "2.0.3";
|
|
1660
1660
|
|
|
1661
1661
|
declare const NumberComboboxSizeVariants: {
|
|
1662
1662
|
readonly S: "S";
|
|
@@ -1684,7 +1684,7 @@ type NumberComboboxProps = NumberComboboxOptionProps & Omit<InputHTMLAttributes<
|
|
|
1684
1684
|
declare const NumberCombobox: ({ disabled, onSelect, onChange, value, width, onBlur, items, isError, sizeVar, placeholder, maxLength, className, floatingZIndex, ...rest }: NumberComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
1685
1685
|
|
|
1686
1686
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1687
|
-
declare const COMBOBOXS_VERSION = "2.0.
|
|
1687
|
+
declare const COMBOBOXS_VERSION = "2.0.1";
|
|
1688
1688
|
|
|
1689
1689
|
type SkeletonProps = {
|
|
1690
1690
|
styleVar?: 'circle' | 'rectangle';
|
|
@@ -1695,7 +1695,7 @@ type SkeletonProps = {
|
|
|
1695
1695
|
declare const Skeleton: ({ styleVar, width, height }: SkeletonProps) => react_jsx_runtime.JSX.Element;
|
|
1696
1696
|
|
|
1697
1697
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1698
|
-
declare const SKELETON_VERSION = "2.0.
|
|
1698
|
+
declare const SKELETON_VERSION = "2.0.1";
|
|
1699
1699
|
|
|
1700
1700
|
interface SliderProps {
|
|
1701
1701
|
/**
|
|
@@ -1741,10 +1741,10 @@ declare const SLIDER_Z_INDEX: {
|
|
|
1741
1741
|
readonly THUMB_BUTTON: 10;
|
|
1742
1742
|
};
|
|
1743
1743
|
|
|
1744
|
-
declare const Slider:
|
|
1744
|
+
declare const Slider: react__default.FC<SliderProps>;
|
|
1745
1745
|
|
|
1746
1746
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1747
|
-
declare const SLIDER_VERSION = "2.0.
|
|
1747
|
+
declare const SLIDER_VERSION = "2.0.1";
|
|
1748
1748
|
|
|
1749
1749
|
/** 드롭다운 아이템 타입 */
|
|
1750
1750
|
type DropdownItem = {
|
|
@@ -1820,7 +1820,7 @@ interface MemoizedSearchBarComponent extends React.MemoExoticComponent<SearchBar
|
|
|
1820
1820
|
}
|
|
1821
1821
|
|
|
1822
1822
|
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1823
|
-
declare const SEARCH_BAR_VERSION = "2.0.
|
|
1823
|
+
declare const SEARCH_BAR_VERSION = "2.0.1";
|
|
1824
1824
|
|
|
1825
1825
|
declare const SearchBar: MemoizedSearchBarComponent;
|
|
1826
1826
|
|