@shoplflow/base 0.13.0 → 0.13.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/dist/index.cjs +34651 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +998 -0
- package/dist/index.d.ts +383 -32
- package/dist/index.js +32725 -533
- package/dist/index.js.map +1 -1
- package/package.json +10 -17
- package/dist/index.d.mts +0 -647
- package/dist/index.mjs +0 -1755
- package/dist/index.mjs.map +0 -1
- /package/dist/styles/{global.d.mts → global.d.cts} +0 -0
- /package/dist/styles/{reset.d.mts → reset.d.cts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { ReactNode, ElementType, ComponentPropsWithoutRef, ReactElement, ComponentPropsWithRef, CSSProperties, HTMLAttributes, MouseEvent } from 'react';
|
|
4
|
+
import * as framer_motion from 'framer-motion';
|
|
4
5
|
import { CustomDomComponent } from 'framer-motion';
|
|
5
6
|
import { IconSource } from '@shoplflow/shopl-assets';
|
|
6
7
|
import { IconSource as IconSource$1 } from '@shoplflow/hada-assets';
|
|
@@ -493,6 +494,26 @@ declare type ButtonComponent = <T extends ElementType = 'button'>(props: ButtonP
|
|
|
493
494
|
|
|
494
495
|
declare const Button: ButtonComponent;
|
|
495
496
|
|
|
497
|
+
declare const IconSizeVariants: {
|
|
498
|
+
readonly XS: "XS";
|
|
499
|
+
readonly S: "S";
|
|
500
|
+
readonly M: "M";
|
|
501
|
+
readonly L: "L";
|
|
502
|
+
readonly XL: "XL";
|
|
503
|
+
};
|
|
504
|
+
declare type IconSizeVariantsType = $Values<typeof IconSizeVariants>;
|
|
505
|
+
interface IconProps extends IconOptionProps {
|
|
506
|
+
}
|
|
507
|
+
interface IconOptionProps extends SizeVariantProps<IconSizeVariantsType>, IconSourceProps, ColorTokenProps {
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
declare const Icon: React__default.ForwardRefExoticComponent<IconProps & React__default.RefAttributes<SVGSVGElement>>;
|
|
511
|
+
|
|
512
|
+
declare const StyledIcon: _emotion_styled.StyledComponent<{
|
|
513
|
+
theme?: _emotion_react.Theme | undefined;
|
|
514
|
+
as?: React$1.ElementType<any> | undefined;
|
|
515
|
+
} & IconOptionProps, React$1.SVGProps<SVGSVGElement>, {}>;
|
|
516
|
+
|
|
496
517
|
declare const iconButtonSizeVar: {
|
|
497
518
|
readonly S: "S";
|
|
498
519
|
readonly M: "M";
|
|
@@ -503,7 +524,9 @@ declare const iconButtonStyleVar: {
|
|
|
503
524
|
readonly GHOST: "GHOST";
|
|
504
525
|
};
|
|
505
526
|
declare type IconButtonStyleVar = $Values<typeof iconButtonStyleVar>;
|
|
506
|
-
declare type IconButtonOptionProps<T extends ElementType = 'button'> = Omit<ComponentPropsWithoutRef<T>, 'color' | 'disabled'> & DisableProps & SizeVariantProps<IconButtonSizeVar> & StyleVariantProps<IconButtonStyleVar> & IconSourceProps
|
|
527
|
+
declare type IconButtonOptionProps<T extends ElementType = 'button'> = Omit<ComponentPropsWithoutRef<T>, 'color' | 'disabled'> & DisableProps & SizeVariantProps<IconButtonSizeVar> & StyleVariantProps<IconButtonStyleVar> & IconSourceProps & ColorTokenProps & {
|
|
528
|
+
iconSize?: IconSizeVariantsType;
|
|
529
|
+
};
|
|
507
530
|
declare type IconButtonProps<T extends ElementType = 'button'> = PolymorphicComponentProps<T, IconButtonOptionProps>;
|
|
508
531
|
declare type IconButtonComponent = <T extends ElementType = 'button'>(props: IconButtonProps<T> & {
|
|
509
532
|
ref?: ComponentPropsWithRef<T>['ref'];
|
|
@@ -529,19 +552,13 @@ declare const Callout: {
|
|
|
529
552
|
|
|
530
553
|
interface PopperProps extends PopperOptionProps {
|
|
531
554
|
}
|
|
532
|
-
interface PopperOptionProps {
|
|
533
|
-
width?: string;
|
|
534
|
-
height?: string;
|
|
555
|
+
interface PopperOptionProps extends ChildrenProps {
|
|
535
556
|
/**
|
|
536
557
|
* popper의 offset을 설정합니다.
|
|
537
558
|
*
|
|
538
559
|
* Ref: https://floating-ui.com/docs/offset#offset
|
|
539
560
|
*/
|
|
540
561
|
offset?: OffsetOptions;
|
|
541
|
-
/**
|
|
542
|
-
* popper가 열려있는지 여부를 결정합니다.
|
|
543
|
-
*/
|
|
544
|
-
isOpen?: boolean;
|
|
545
562
|
/**
|
|
546
563
|
* 화면 뷰에 따라 자동으로 위치를 조정할 수 있습니다.
|
|
547
564
|
* floating ui의 autoPlacement 미들웨어를 사용합니다.
|
|
@@ -565,8 +582,18 @@ interface PopperOptionProps {
|
|
|
565
582
|
* Ref: https://floating-ui.com/docs/useFloating#middleware
|
|
566
583
|
*/
|
|
567
584
|
middlewares?: Array<Middleware | null | undefined | false>;
|
|
585
|
+
}
|
|
586
|
+
interface PopperTriggerProps extends ChildrenProps, HTMLAttributes<HTMLDivElement> {
|
|
587
|
+
/**
|
|
588
|
+
* popper가 열려있는지 여부를 결정합니다.
|
|
589
|
+
*/
|
|
590
|
+
isOpen?: boolean;
|
|
591
|
+
width?: string;
|
|
592
|
+
height?: string;
|
|
593
|
+
}
|
|
594
|
+
interface PopperPortalProps extends ChildrenProps, HTMLAttributes<HTMLDivElement> {
|
|
568
595
|
/**
|
|
569
|
-
*
|
|
596
|
+
* animation을 넣을 수 있습니다.
|
|
570
597
|
* framer-motion의 animation을 사용합니다.
|
|
571
598
|
*/
|
|
572
599
|
animation?: {
|
|
@@ -574,44 +601,368 @@ interface PopperOptionProps {
|
|
|
574
601
|
animate: Record<string, unknown>;
|
|
575
602
|
exit: Record<string, unknown>;
|
|
576
603
|
};
|
|
577
|
-
/**
|
|
578
|
-
* trigger할 요소를 설정합니다.
|
|
579
|
-
*/
|
|
580
|
-
trigger: ReactNode;
|
|
581
|
-
/**
|
|
582
|
-
* pop할 요소를 설정합니다.
|
|
583
|
-
*/
|
|
584
|
-
popper: ReactNode;
|
|
585
604
|
}
|
|
586
605
|
|
|
587
|
-
declare const Popper:
|
|
606
|
+
declare const Popper: {
|
|
607
|
+
({ placement, offset: initialOffset, autoPlacement: initialAutoPlacement, strategy, middlewares, children, }: PopperProps): react_jsx_runtime.JSX.Element;
|
|
608
|
+
Trigger: React__default.ForwardRefExoticComponent<PopperTriggerProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
609
|
+
Portal: React__default.ForwardRefExoticComponent<PopperPortalProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
610
|
+
};
|
|
611
|
+
declare const PopperTrigger: React__default.ForwardRefExoticComponent<PopperTriggerProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
612
|
+
declare const PopperPortal: React__default.ForwardRefExoticComponent<PopperPortalProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
588
613
|
|
|
589
614
|
declare const StyledPopper: _emotion_styled.StyledComponent<{
|
|
590
615
|
theme?: _emotion_react.Theme | undefined;
|
|
591
616
|
as?: React$1.ElementType<any> | undefined;
|
|
592
|
-
} & Pick<
|
|
617
|
+
} & Pick<PopperTriggerProps, "height" | "width">, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
593
618
|
|
|
594
|
-
declare const
|
|
595
|
-
readonly
|
|
596
|
-
readonly
|
|
597
|
-
readonly
|
|
598
|
-
readonly LARGE: "LARGE";
|
|
599
|
-
readonly X_LARGE: "X_LARGE";
|
|
619
|
+
declare const dropdownOptionVar: {
|
|
620
|
+
readonly CLICK: "CLICK";
|
|
621
|
+
readonly OUTSIDE_CLICK: "OUTSIDE_CLICK";
|
|
622
|
+
readonly NONE: "NONE";
|
|
600
623
|
};
|
|
601
|
-
declare type
|
|
602
|
-
interface
|
|
624
|
+
declare type DropdownOptionVar = $Values<typeof dropdownOptionVar>;
|
|
625
|
+
interface DropdownProps extends DropdownOptionProps {
|
|
603
626
|
}
|
|
604
|
-
interface
|
|
627
|
+
interface DropdownOptionProps {
|
|
628
|
+
/**
|
|
629
|
+
* 외부에서 `isOpen`을 제어할 수 있습니다.
|
|
630
|
+
*/
|
|
631
|
+
isOpen?: boolean;
|
|
632
|
+
content: ReactNode;
|
|
633
|
+
trigger: ReactNode;
|
|
634
|
+
/**
|
|
635
|
+
* 드롭다운이 어떻게 닫힐 수 있는지 옵션을 설정합니다.
|
|
636
|
+
*
|
|
637
|
+
*
|
|
638
|
+
* CLICK: 화면을 클릭하면 닫힙니다.
|
|
639
|
+
* OUTSIDE_CLICK: 컨텐츠 영역 외부를 클릭하면 닫힙니다.
|
|
640
|
+
* NONE: 클릭으로 닫히지 않습니다.
|
|
641
|
+
*/
|
|
642
|
+
option?: DropdownOptionVar;
|
|
643
|
+
}
|
|
644
|
+
interface DropdownContentProps extends ChildrenProps, HTMLAttributes<HTMLDivElement> {
|
|
645
|
+
/**
|
|
646
|
+
* 컨텐츠가 부모 `width`를 따라갈지, 고정될지 결정합니다.
|
|
647
|
+
*/
|
|
648
|
+
type?: 'FILL' | 'FIXED';
|
|
649
|
+
/**
|
|
650
|
+
* 컨텐츠의 `width`를 설정합니다.
|
|
651
|
+
* type이 `FILL`일 경우 무시됩니다.
|
|
652
|
+
*/
|
|
653
|
+
width?: string;
|
|
654
|
+
}
|
|
655
|
+
declare const dropdownSizeVariants: {
|
|
656
|
+
readonly S: "S";
|
|
657
|
+
readonly M: "M";
|
|
658
|
+
};
|
|
659
|
+
declare type DropdownSizeVariantType = $Values<typeof dropdownSizeVariants>;
|
|
660
|
+
interface DropdownButtonProps extends HTMLAttributes<HTMLButtonElement>, DisableProps, LeftElementProps, SizeVariantProps<DropdownSizeVariantType> {
|
|
661
|
+
/**
|
|
662
|
+
* placeholder를 설정합니다.
|
|
663
|
+
*/
|
|
664
|
+
placeholder?: string;
|
|
665
|
+
/**
|
|
666
|
+
* 선택된 값을 노출합니다.
|
|
667
|
+
*/
|
|
668
|
+
value?: string;
|
|
669
|
+
/**
|
|
670
|
+
* width를 설정합니다.
|
|
671
|
+
*/
|
|
672
|
+
width?: string;
|
|
605
673
|
}
|
|
606
674
|
|
|
607
|
-
declare const
|
|
675
|
+
declare const Dropdown: {
|
|
676
|
+
({ isOpen: initialIsOpen, trigger, content, option }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
677
|
+
Button: React__default.ForwardRefExoticComponent<DropdownButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
678
|
+
Content: React__default.ForwardRefExoticComponent<DropdownContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
679
|
+
};
|
|
608
680
|
|
|
609
|
-
declare const
|
|
681
|
+
declare const getDropdownHeightBySizeVar: (size: DropdownSizeVariantType) => "40px" | "32px";
|
|
682
|
+
declare const getDropdownFontSizeBySizeVar: (size: DropdownSizeVariantType) => "body1_400" | "body2_400";
|
|
683
|
+
declare const getDropdownStyleBySizeVar: (size: DropdownSizeVariantType) => _emotion_react.SerializedStyles;
|
|
684
|
+
declare const getDropdownIconSizeBySizeVar: (size: DropdownSizeVariantType) => _emotion_react.SerializedStyles;
|
|
685
|
+
declare const StyledDropdown: _emotion_styled.StyledComponent<{
|
|
610
686
|
theme?: _emotion_react.Theme | undefined;
|
|
611
687
|
as?: React$1.ElementType<any> | undefined;
|
|
612
|
-
}
|
|
688
|
+
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
689
|
+
declare const StyledDropdownContent: _emotion_styled.StyledComponent<{
|
|
690
|
+
theme?: _emotion_react.Theme | undefined;
|
|
691
|
+
as?: React$1.ElementType<any> | undefined;
|
|
692
|
+
} & DropdownContentProps, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
693
|
+
declare const StyledDropdownButton: _emotion_styled.StyledComponent<{
|
|
694
|
+
theme?: _emotion_react.Theme | undefined;
|
|
695
|
+
as?: React$1.ElementType<any> | undefined;
|
|
696
|
+
} & DropdownButtonProps, React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
697
|
+
declare const DropdownButtonIcon: _emotion_styled.StyledComponent<{
|
|
698
|
+
slot?: string | undefined;
|
|
699
|
+
title?: string | undefined;
|
|
700
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
701
|
+
className?: string | undefined;
|
|
702
|
+
color?: string | undefined;
|
|
703
|
+
id?: string | undefined;
|
|
704
|
+
lang?: string | undefined;
|
|
705
|
+
role?: React$1.AriaRole | undefined;
|
|
706
|
+
tabIndex?: number | undefined;
|
|
707
|
+
"aria-activedescendant"?: string | undefined;
|
|
708
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
709
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
710
|
+
"aria-braillelabel"?: string | undefined;
|
|
711
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
712
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
713
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
714
|
+
"aria-colcount"?: number | undefined;
|
|
715
|
+
"aria-colindex"?: number | undefined;
|
|
716
|
+
"aria-colindextext"?: string | undefined;
|
|
717
|
+
"aria-colspan"?: number | undefined;
|
|
718
|
+
"aria-controls"?: string | undefined;
|
|
719
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
|
|
720
|
+
"aria-describedby"?: string | undefined;
|
|
721
|
+
"aria-description"?: string | undefined;
|
|
722
|
+
"aria-details"?: string | undefined;
|
|
723
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
724
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
725
|
+
"aria-errormessage"?: string | undefined;
|
|
726
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
727
|
+
"aria-flowto"?: string | undefined;
|
|
728
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
729
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
730
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
731
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
732
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
733
|
+
"aria-label"?: string | undefined;
|
|
734
|
+
"aria-labelledby"?: string | undefined;
|
|
735
|
+
"aria-level"?: number | undefined;
|
|
736
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
737
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
738
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
739
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
740
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
741
|
+
"aria-owns"?: string | undefined;
|
|
742
|
+
"aria-placeholder"?: string | undefined;
|
|
743
|
+
"aria-posinset"?: number | undefined;
|
|
744
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
745
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
746
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
747
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
748
|
+
"aria-roledescription"?: string | undefined;
|
|
749
|
+
"aria-rowcount"?: number | undefined;
|
|
750
|
+
"aria-rowindex"?: number | undefined;
|
|
751
|
+
"aria-rowindextext"?: string | undefined;
|
|
752
|
+
"aria-rowspan"?: number | undefined;
|
|
753
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
754
|
+
"aria-setsize"?: number | undefined;
|
|
755
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
756
|
+
"aria-valuemax"?: number | undefined;
|
|
757
|
+
"aria-valuemin"?: number | undefined;
|
|
758
|
+
"aria-valuenow"?: number | undefined;
|
|
759
|
+
"aria-valuetext"?: string | undefined;
|
|
760
|
+
dangerouslySetInnerHTML?: {
|
|
761
|
+
__html: string | TrustedHTML;
|
|
762
|
+
} | undefined;
|
|
763
|
+
onCopy?: React$1.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
764
|
+
onCopyCapture?: React$1.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
765
|
+
onCut?: React$1.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
766
|
+
onCutCapture?: React$1.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
767
|
+
onPaste?: React$1.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
768
|
+
onPasteCapture?: React$1.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
769
|
+
onCompositionEnd?: React$1.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
770
|
+
onCompositionEndCapture?: React$1.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
771
|
+
onCompositionStart?: React$1.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
772
|
+
onCompositionStartCapture?: React$1.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
773
|
+
onCompositionUpdate?: React$1.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
774
|
+
onCompositionUpdateCapture?: React$1.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
775
|
+
onFocus?: React$1.FocusEventHandler<HTMLDivElement> | undefined;
|
|
776
|
+
onFocusCapture?: React$1.FocusEventHandler<HTMLDivElement> | undefined;
|
|
777
|
+
onBlur?: React$1.FocusEventHandler<HTMLDivElement> | undefined;
|
|
778
|
+
onBlurCapture?: React$1.FocusEventHandler<HTMLDivElement> | undefined;
|
|
779
|
+
onChange?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
780
|
+
onChangeCapture?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
781
|
+
onBeforeInput?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
782
|
+
onBeforeInputCapture?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
783
|
+
onInput?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
784
|
+
onInputCapture?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
785
|
+
onReset?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
786
|
+
onResetCapture?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
787
|
+
onSubmit?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
788
|
+
onSubmitCapture?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
789
|
+
onInvalid?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
790
|
+
onInvalidCapture?: React$1.FormEventHandler<HTMLDivElement> | undefined;
|
|
791
|
+
onLoad?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
792
|
+
onLoadCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
793
|
+
onError?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
794
|
+
onErrorCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
795
|
+
onKeyDown?: React$1.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
796
|
+
onKeyDownCapture?: React$1.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
797
|
+
onKeyPress?: React$1.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
798
|
+
onKeyPressCapture?: React$1.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
799
|
+
onKeyUp?: React$1.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
800
|
+
onKeyUpCapture?: React$1.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
801
|
+
onAbort?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
802
|
+
onAbortCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
803
|
+
onCanPlay?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
804
|
+
onCanPlayCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
805
|
+
onCanPlayThrough?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
806
|
+
onCanPlayThroughCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
807
|
+
onDurationChange?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
808
|
+
onDurationChangeCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
809
|
+
onEmptied?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
810
|
+
onEmptiedCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
811
|
+
onEncrypted?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
812
|
+
onEncryptedCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
813
|
+
onEnded?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
814
|
+
onEndedCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
815
|
+
onLoadedData?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
816
|
+
onLoadedDataCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
817
|
+
onLoadedMetadata?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
818
|
+
onLoadedMetadataCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
819
|
+
onLoadStart?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
820
|
+
onLoadStartCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
821
|
+
onPause?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
822
|
+
onPauseCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
823
|
+
onPlay?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
824
|
+
onPlayCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
825
|
+
onPlaying?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
826
|
+
onPlayingCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
827
|
+
onProgress?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
828
|
+
onProgressCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
829
|
+
onRateChange?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
830
|
+
onRateChangeCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
831
|
+
onResize?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
832
|
+
onResizeCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
833
|
+
onSeeked?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
834
|
+
onSeekedCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
835
|
+
onSeeking?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
836
|
+
onSeekingCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
837
|
+
onStalled?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
838
|
+
onStalledCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
839
|
+
onSuspend?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
840
|
+
onSuspendCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
841
|
+
onTimeUpdate?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
842
|
+
onTimeUpdateCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
843
|
+
onVolumeChange?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
844
|
+
onVolumeChangeCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
845
|
+
onWaiting?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
846
|
+
onWaitingCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
847
|
+
onAuxClick?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
848
|
+
onAuxClickCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
849
|
+
onClick?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
850
|
+
onClickCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
851
|
+
onContextMenu?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
852
|
+
onContextMenuCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
853
|
+
onDoubleClick?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
854
|
+
onDoubleClickCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
855
|
+
onDragCapture?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
856
|
+
onDragEndCapture?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
857
|
+
onDragEnter?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
858
|
+
onDragEnterCapture?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
859
|
+
onDragExit?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
860
|
+
onDragExitCapture?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
861
|
+
onDragLeave?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
862
|
+
onDragLeaveCapture?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
863
|
+
onDragOver?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
864
|
+
onDragOverCapture?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
865
|
+
onDragStartCapture?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
866
|
+
onDrop?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
867
|
+
onDropCapture?: React$1.DragEventHandler<HTMLDivElement> | undefined;
|
|
868
|
+
onMouseDown?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
869
|
+
onMouseDownCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
870
|
+
onMouseEnter?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
871
|
+
onMouseLeave?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
872
|
+
onMouseMove?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
873
|
+
onMouseMoveCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
874
|
+
onMouseOut?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
875
|
+
onMouseOutCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
876
|
+
onMouseOver?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
877
|
+
onMouseOverCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
878
|
+
onMouseUp?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
879
|
+
onMouseUpCapture?: React$1.MouseEventHandler<HTMLDivElement> | undefined;
|
|
880
|
+
onSelect?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
881
|
+
onSelectCapture?: React$1.ReactEventHandler<HTMLDivElement> | undefined;
|
|
882
|
+
onTouchCancel?: React$1.TouchEventHandler<HTMLDivElement> | undefined;
|
|
883
|
+
onTouchCancelCapture?: React$1.TouchEventHandler<HTMLDivElement> | undefined;
|
|
884
|
+
onTouchEnd?: React$1.TouchEventHandler<HTMLDivElement> | undefined;
|
|
885
|
+
onTouchEndCapture?: React$1.TouchEventHandler<HTMLDivElement> | undefined;
|
|
886
|
+
onTouchMove?: React$1.TouchEventHandler<HTMLDivElement> | undefined;
|
|
887
|
+
onTouchMoveCapture?: React$1.TouchEventHandler<HTMLDivElement> | undefined;
|
|
888
|
+
onTouchStart?: React$1.TouchEventHandler<HTMLDivElement> | undefined;
|
|
889
|
+
onTouchStartCapture?: React$1.TouchEventHandler<HTMLDivElement> | undefined;
|
|
890
|
+
onPointerDown?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
891
|
+
onPointerDownCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
892
|
+
onPointerMove?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
893
|
+
onPointerMoveCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
894
|
+
onPointerUp?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
895
|
+
onPointerUpCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
896
|
+
onPointerCancel?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
897
|
+
onPointerCancelCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
898
|
+
onPointerEnter?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
899
|
+
onPointerEnterCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
900
|
+
onPointerLeave?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
901
|
+
onPointerLeaveCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
902
|
+
onPointerOver?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
903
|
+
onPointerOverCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
904
|
+
onPointerOut?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
905
|
+
onPointerOutCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
906
|
+
onGotPointerCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
907
|
+
onGotPointerCaptureCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
908
|
+
onLostPointerCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
909
|
+
onLostPointerCaptureCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
910
|
+
onScroll?: React$1.UIEventHandler<HTMLDivElement> | undefined;
|
|
911
|
+
onScrollCapture?: React$1.UIEventHandler<HTMLDivElement> | undefined;
|
|
912
|
+
onWheel?: React$1.WheelEventHandler<HTMLDivElement> | undefined;
|
|
913
|
+
onWheelCapture?: React$1.WheelEventHandler<HTMLDivElement> | undefined;
|
|
914
|
+
onAnimationStartCapture?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
915
|
+
onAnimationEnd?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
916
|
+
onAnimationEndCapture?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
917
|
+
onAnimationIteration?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
918
|
+
onAnimationIterationCapture?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
919
|
+
onTransitionEnd?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
920
|
+
onTransitionEndCapture?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
921
|
+
defaultChecked?: boolean | undefined;
|
|
922
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
923
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
924
|
+
accessKey?: string | undefined;
|
|
925
|
+
autoFocus?: boolean | undefined;
|
|
926
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
927
|
+
contextMenu?: string | undefined;
|
|
928
|
+
dir?: string | undefined;
|
|
929
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
930
|
+
hidden?: boolean | undefined;
|
|
931
|
+
nonce?: string | undefined;
|
|
932
|
+
placeholder?: string | undefined;
|
|
933
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
934
|
+
translate?: "no" | "yes" | undefined;
|
|
935
|
+
radioGroup?: string | undefined;
|
|
936
|
+
about?: string | undefined;
|
|
937
|
+
content?: string | undefined;
|
|
938
|
+
datatype?: string | undefined;
|
|
939
|
+
inlist?: any;
|
|
940
|
+
prefix?: string | undefined;
|
|
941
|
+
property?: string | undefined;
|
|
942
|
+
rel?: string | undefined;
|
|
943
|
+
resource?: string | undefined;
|
|
944
|
+
rev?: string | undefined;
|
|
945
|
+
typeof?: string | undefined;
|
|
946
|
+
vocab?: string | undefined;
|
|
947
|
+
autoCapitalize?: string | undefined;
|
|
948
|
+
autoCorrect?: string | undefined;
|
|
949
|
+
autoSave?: string | undefined;
|
|
950
|
+
itemProp?: string | undefined;
|
|
951
|
+
itemScope?: boolean | undefined;
|
|
952
|
+
itemType?: string | undefined;
|
|
953
|
+
itemID?: string | undefined;
|
|
954
|
+
itemRef?: string | undefined;
|
|
955
|
+
results?: number | undefined;
|
|
956
|
+
security?: string | undefined;
|
|
957
|
+
unselectable?: "on" | "off" | undefined;
|
|
958
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
959
|
+
is?: string | undefined;
|
|
960
|
+
} & framer_motion.MotionProps & React$1.RefAttributes<HTMLDivElement> & {
|
|
961
|
+
theme?: _emotion_react.Theme | undefined;
|
|
962
|
+
} & DropdownButtonProps, {}, {}>;
|
|
613
963
|
|
|
614
964
|
interface TextAreaOptionProps extends DisableProps, ErrorProps {
|
|
965
|
+
width?: string;
|
|
615
966
|
/**
|
|
616
967
|
* maxLength를 설정해요.
|
|
617
968
|
*/
|
|
@@ -644,4 +995,4 @@ interface MinusBoxOptionProps {
|
|
|
644
995
|
|
|
645
996
|
declare const MinusButton: React__default.ForwardRefExoticComponent<MinusBoxProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
646
997
|
|
|
647
|
-
export { BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVar, ButtonStyleVar, Callout, CalloutOptionProps, CalloutProps, CalloutType, CalloutTypes, ChipButton, ChipButtonOptionProps, ChipButtonProps, ChipButtonSizeVariantType, ChipButtonSizeVariants, ChipButtonStyleVariantType, ChipButtonStyleVariants, ChipToggle, ChipToggleOptionProps, ChipToggleProps, ChipToggleSizeVariantType, ChipToggleSizeVariants, ChipToggleStyleVariantType, ChipToggleStyleVariants, ColorTokens, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVar, IconButtonStyleVar, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MinusBoxOptionProps, MinusBoxProps, MinusButton, Modal, ModalBodyOptionProps, ModalBodyProps, ModalContainerOptionProps, ModalContainerProps, ModalFooterOptionProps, ModalFooterProps, ModalFooterType, ModalHeaderOptionProps, ModalHeaderProps, ModalHeaderType, ModalPortal as ModalProvider, ModalSize, ModalSizeType, MotionStack, MotionStackComponentType, Popper, PopperOptionProps, PopperProps, ShoplflowProvider, ShoplflowProviderProps, SpacingTokens, Stack, StackComponentType, StackGenericProps, StackOptionProps, StackProps, StyledIcon, StyledPopper, StyledStack, Switch, SwitchOptionProps, SwitchProps, Text, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, TypographyTokens, borderRadiusTokens, boxShadowTokens, buttonSizeVar, buttonStyleVar, colorTokens, fontWeightTokens, getDomain, iconButtonSizeVar, iconButtonStyleVar, spacingTokens, typographyTokens, useDomain, useHandleModal, useModalValue };
|
|
998
|
+
export { BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVar, ButtonStyleVar, Callout, CalloutOptionProps, CalloutProps, CalloutType, CalloutTypes, ChipButton, ChipButtonOptionProps, ChipButtonProps, ChipButtonSizeVariantType, ChipButtonSizeVariants, ChipButtonStyleVariantType, ChipButtonStyleVariants, ChipToggle, ChipToggleOptionProps, ChipToggleProps, ChipToggleSizeVariantType, ChipToggleSizeVariants, ChipToggleStyleVariantType, ChipToggleStyleVariants, ColorTokens, Dropdown, DropdownButtonIcon, DropdownButtonProps, DropdownContentProps, DropdownOptionProps, DropdownOptionVar, DropdownProps, DropdownSizeVariantType, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVar, IconButtonStyleVar, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MinusBoxOptionProps, MinusBoxProps, MinusButton, Modal, ModalBodyOptionProps, ModalBodyProps, ModalContainerOptionProps, ModalContainerProps, ModalFooterOptionProps, ModalFooterProps, ModalFooterType, ModalHeaderOptionProps, ModalHeaderProps, ModalHeaderType, ModalPortal as ModalProvider, ModalSize, ModalSizeType, MotionStack, MotionStackComponentType, Popper, PopperOptionProps, PopperPortal, PopperPortalProps, PopperProps, PopperTrigger, PopperTriggerProps, ShoplflowProvider, ShoplflowProviderProps, SpacingTokens, Stack, StackComponentType, StackGenericProps, StackOptionProps, StackProps, StyledDropdown, StyledDropdownButton, StyledDropdownContent, StyledIcon, StyledPopper, StyledStack, Switch, SwitchOptionProps, SwitchProps, Text, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, TypographyTokens, borderRadiusTokens, boxShadowTokens, buttonSizeVar, buttonStyleVar, colorTokens, fontWeightTokens, getDomain, getDropdownFontSizeBySizeVar, getDropdownHeightBySizeVar, getDropdownIconSizeBySizeVar, getDropdownStyleBySizeVar, iconButtonSizeVar, iconButtonStyleVar, spacingTokens, typographyTokens, useDomain, useHandleModal, useModalValue };
|