@shoplflow/base 0.46.1 → 0.46.3
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 +123 -9
- package/dist/index.d.cts +93 -2
- package/dist/index.d.ts +93 -2
- package/dist/index.js +124 -10
- package/package.json +4 -2
- package/src/index.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -296,6 +296,9 @@ interface AvatarOptionProps extends SizeVariantProps<AvatarSizeVariantType>, Img
|
|
|
296
296
|
|
|
297
297
|
declare const Avatar: ({ src, badge, fallbackUrl, ...rest }: AvatarProps) => JSX.Element;
|
|
298
298
|
|
|
299
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
300
|
+
declare const AVATAR_VERSION = "2.0.0";
|
|
301
|
+
|
|
299
302
|
type StackGenericProps<T extends StringElementType = 'div'> = RenderConfigProps & StackProps & HTMLPropsWithoutRef<T>;
|
|
300
303
|
type StackComponentType = ForwardRefExoticComponent<PropsWithoutRef<StackGenericProps> & RefAttributes<HTMLElement>>;
|
|
301
304
|
type MotionStackComponentType<T extends StringElementType = 'div'> = CustomDomComponent<RenderConfigProps & HTMLPropsWithoutRef<T> & StackProps>;
|
|
@@ -367,6 +370,9 @@ declare const StyledStack: _emotion_styled.StyledComponent<{
|
|
|
367
370
|
as?: React.ElementType;
|
|
368
371
|
} & StackOptionProps, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
369
372
|
|
|
373
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
374
|
+
declare const STACK_VERSION = "2.0.0";
|
|
375
|
+
|
|
370
376
|
type StackContainerGenericProps<T extends StringElementType = 'div'> = RenderConfigProps & StackContainerProps & HTMLPropsWithoutRef<T>;
|
|
371
377
|
type StackContainerComponentType = ForwardRefExoticComponent<PropsWithoutRef<StackContainerGenericProps> & RefAttributes<HTMLElement>>;
|
|
372
378
|
type MotionStackContainerComponentType<T extends StringElementType = 'div'> = CustomDomComponent<RenderConfigProps & HTMLPropsWithoutRef<T> & StackContainerProps>;
|
|
@@ -441,6 +447,9 @@ declare const StyledStackContainer: _emotion_styled.StyledComponent<{
|
|
|
441
447
|
as?: React.ElementType;
|
|
442
448
|
} & StackContainerOptionProps, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
443
449
|
|
|
450
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
451
|
+
declare const STACK_CONTAINER_VERSION = "2.0.0";
|
|
452
|
+
|
|
444
453
|
interface TextOptionProps {
|
|
445
454
|
/**
|
|
446
455
|
* 타이포그레피를 설정합니다.
|
|
@@ -464,6 +473,9 @@ interface TextProps extends TextOptionProps, ChildrenProps, RenderConfigProps, O
|
|
|
464
473
|
|
|
465
474
|
declare const Text: React$1.ForwardRefExoticComponent<TextProps & React$1.RefAttributes<unknown>>;
|
|
466
475
|
|
|
476
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
477
|
+
declare const TEXT_VERSION = "2.0.1";
|
|
478
|
+
|
|
467
479
|
declare const ModalSize: {
|
|
468
480
|
readonly XXS: "XXS";
|
|
469
481
|
readonly XS: "XS";
|
|
@@ -550,6 +562,9 @@ declare const useHandleModal: () => {
|
|
|
550
562
|
removeModal: (props?: RemoveModalProps) => void;
|
|
551
563
|
};
|
|
552
564
|
|
|
565
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
566
|
+
declare const MODAL_VERSION = "2.0.0";
|
|
567
|
+
|
|
553
568
|
declare const Modal: {
|
|
554
569
|
Container: ({ children, height, outsideClick, ...rest }: ModalContainerProps) => react_jsx_runtime.JSX.Element;
|
|
555
570
|
Header: ModalHeaderType;
|
|
@@ -565,6 +580,9 @@ interface BackDropProps extends ChildrenProps, BackDropOptionProps {
|
|
|
565
580
|
interface BackDropOptionProps {
|
|
566
581
|
}
|
|
567
582
|
|
|
583
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
584
|
+
declare const BACK_DROP_VERSION = "2.0.0";
|
|
585
|
+
|
|
568
586
|
declare const SwitchSizeVariants: {
|
|
569
587
|
readonly S: "S";
|
|
570
588
|
readonly M: "M";
|
|
@@ -578,6 +596,9 @@ interface SwitchOptionProps {
|
|
|
578
596
|
|
|
579
597
|
declare const Switch: ({ onChange, isSelected, disabled, activeColor, defaultSelected, sizeVar, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
580
598
|
|
|
599
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
600
|
+
declare const SWITCH_VERSION = "2.0.0";
|
|
601
|
+
|
|
581
602
|
declare const ChipToggleStyleVariants: {
|
|
582
603
|
readonly SOLID: "SOLID";
|
|
583
604
|
};
|
|
@@ -610,6 +631,9 @@ interface ChipButtonOptionProps {
|
|
|
610
631
|
|
|
611
632
|
declare const ChipButton: ({ styleVar, color, sizeVar, text, onClick, disabled, ...rest }: ChipButtonProps) => react_jsx_runtime.JSX.Element;
|
|
612
633
|
|
|
634
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
635
|
+
declare const CHIPS_VERSION = "2.0.0";
|
|
636
|
+
|
|
613
637
|
type AsProp<T extends React__default.ElementType> = {
|
|
614
638
|
as?: T;
|
|
615
639
|
};
|
|
@@ -695,6 +719,9 @@ interface MenuOptionProps extends ChildrenProps, DisableProps, RightElementProps
|
|
|
695
719
|
|
|
696
720
|
declare const Menu: ({ leftSource, rightSource, children, isSelected, defaultSelected, onClick, sizeVar, disabled, ...rest }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
697
721
|
|
|
722
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
723
|
+
declare const MENU_VERSION = "2.0.0";
|
|
724
|
+
|
|
698
725
|
declare const DropdownButton: {
|
|
699
726
|
({ text, sizeVar, className, disabled, children, placement, styleVar, floatingZIndex, ...rest }: DropdownButtonProps): react_jsx_runtime.JSX.Element;
|
|
700
727
|
Menu: ({ onClick, children, ...rest }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -737,8 +764,12 @@ type SplitButtonContextType = {
|
|
|
737
764
|
declare const SplitButtonContext: React$1.Context<SplitButtonContextType | null>;
|
|
738
765
|
declare const useSplitButtonContext: () => SplitButtonContextType;
|
|
739
766
|
|
|
767
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
768
|
+
declare const BUTTONS_VERSION = "2.0.0";
|
|
769
|
+
|
|
740
770
|
declare const CalloutTypes: {
|
|
741
771
|
readonly INFORMATION: "INFORMATION";
|
|
772
|
+
readonly CAUTION: "CAUTION";
|
|
742
773
|
readonly ALERT: "ALERT";
|
|
743
774
|
};
|
|
744
775
|
type CalloutType = $Values<typeof CalloutTypes>;
|
|
@@ -750,13 +781,19 @@ interface CalloutOptionProps {
|
|
|
750
781
|
*/
|
|
751
782
|
fillWidth?: boolean;
|
|
752
783
|
}
|
|
784
|
+
interface CalloutIconProps extends IconSourceProps, ColorTokenProps {
|
|
785
|
+
}
|
|
753
786
|
|
|
754
787
|
declare const Callout: {
|
|
755
788
|
({ children, styleVar, fillWidth, ...rest }: CalloutProps): react_jsx_runtime.JSX.Element;
|
|
756
789
|
Text: ({ children, ...rest }: TextProps) => react_jsx_runtime.JSX.Element;
|
|
757
|
-
Icon: ({ iconSource }:
|
|
790
|
+
Icon: ({ iconSource, color }: CalloutIconProps) => react_jsx_runtime.JSX.Element;
|
|
791
|
+
BulletList: ({ children }: ChildrenProps) => react_jsx_runtime.JSX.Element;
|
|
758
792
|
};
|
|
759
793
|
|
|
794
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
795
|
+
declare const CALLOUT_VERSION = "2.1.1";
|
|
796
|
+
|
|
760
797
|
interface PopperProps extends PopperOptionProps {
|
|
761
798
|
}
|
|
762
799
|
interface PopperOptionProps extends ChildrenProps {
|
|
@@ -830,6 +867,9 @@ declare const Popper: {
|
|
|
830
867
|
declare const PopperTrigger: React__default.ForwardRefExoticComponent<PopperTriggerProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
831
868
|
declare const PopperPortal: React__default.ForwardRefExoticComponent<PopperPortalProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
832
869
|
|
|
870
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
871
|
+
declare const POPPER_VERSION = "2.0.0";
|
|
872
|
+
|
|
833
873
|
interface ScrollbarRefType {
|
|
834
874
|
scrollTop(top: number): void;
|
|
835
875
|
scrollLeft(left: number): void;
|
|
@@ -931,6 +971,9 @@ interface ScrollAreaOptionProps {
|
|
|
931
971
|
|
|
932
972
|
declare const ScrollArea: React__default.ForwardRefExoticComponent<ScrollAreaProps & React__default.RefAttributes<ScrollbarRefType>>;
|
|
933
973
|
|
|
974
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
975
|
+
declare const SCROLL_AREA_VERSION = "2.0.0";
|
|
976
|
+
|
|
934
977
|
declare const DropdownOptionVariants: {
|
|
935
978
|
readonly CLICK: "CLICK";
|
|
936
979
|
readonly OUTSIDE_CLICK: "OUTSIDE_CLICK";
|
|
@@ -996,6 +1039,9 @@ declare const Dropdown: {
|
|
|
996
1039
|
Content: ({ children, width: initialWidth, type, onClick, ...rest }: DropdownContentProps) => react_jsx_runtime.JSX.Element;
|
|
997
1040
|
};
|
|
998
1041
|
|
|
1042
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1043
|
+
declare const DROPDOWN_VERSION = "2.0.0";
|
|
1044
|
+
|
|
999
1045
|
interface ListProps extends ListOptionProps {
|
|
1000
1046
|
}
|
|
1001
1047
|
interface ListOptionProps extends ChildrenProps, DisableProps, SelectedProps, LeftNodeProps, RightNodeProps, HTMLAttributes<HTMLLIElement> {
|
|
@@ -1013,6 +1059,9 @@ declare const List: {
|
|
|
1013
1059
|
};
|
|
1014
1060
|
declare const Text2Rows: ({ title, subTitle }: ListText2RowsProps) => react_jsx_runtime.JSX.Element;
|
|
1015
1061
|
|
|
1062
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1063
|
+
declare const LIST_VERSION = "2.0.0";
|
|
1064
|
+
|
|
1016
1065
|
declare const TagStyleVariants: {
|
|
1017
1066
|
readonly SOLID: "SOLID";
|
|
1018
1067
|
readonly TINT: "TINT";
|
|
@@ -1033,6 +1082,9 @@ interface TagOptionProps extends SizeVariantProps<TagSizeVariantType>, StyleVari
|
|
|
1033
1082
|
|
|
1034
1083
|
declare const Tag: ({ sizeVar, children, rightSource, leftSource, className, ...rest }: TagProps) => react_jsx_runtime.JSX.Element;
|
|
1035
1084
|
|
|
1085
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1086
|
+
declare const TAG_VERSION = "2.0.0";
|
|
1087
|
+
|
|
1036
1088
|
interface TreeProps extends TreeOptionProps {
|
|
1037
1089
|
}
|
|
1038
1090
|
interface TreeOptionProps extends ChildrenProps {
|
|
@@ -1078,6 +1130,9 @@ declare const TreeItem: {
|
|
|
1078
1130
|
[TREE_SYMBOL_KEY]: boolean;
|
|
1079
1131
|
};
|
|
1080
1132
|
|
|
1133
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1134
|
+
declare const TREE_VERSION = "2.0.0";
|
|
1135
|
+
|
|
1081
1136
|
declare const IconSizeVariants: {
|
|
1082
1137
|
readonly XS: "XS";
|
|
1083
1138
|
readonly S: "S";
|
|
@@ -1101,6 +1156,9 @@ declare const StyledIcon: _emotion_styled.StyledComponent<{
|
|
|
1101
1156
|
as?: React.ElementType;
|
|
1102
1157
|
} & IconOptionProps, React$1.SVGProps<SVGSVGElement>, {}>;
|
|
1103
1158
|
|
|
1159
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1160
|
+
declare const ICON_VERSION = "2.0.0";
|
|
1161
|
+
|
|
1104
1162
|
declare const InputSizeVariants: {
|
|
1105
1163
|
readonly S: "S";
|
|
1106
1164
|
readonly M: "M";
|
|
@@ -1228,6 +1286,9 @@ interface SelectInputButtonOptionProps extends Omit<HTMLAttributes<HTMLLabelElem
|
|
|
1228
1286
|
|
|
1229
1287
|
declare const SelectInputButton: ({ disabled, isSelected, onMouseEnter, onMouseLeave, onClick, onClear, value, placeholder, label, width, rightSource, sizeVar, ...rest }: SelectInputButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1230
1288
|
|
|
1289
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1290
|
+
declare const INPUTS_VERSION = "2.0.0";
|
|
1291
|
+
|
|
1231
1292
|
interface MinusBoxProps extends MinusBoxOptionProps, Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'> {
|
|
1232
1293
|
}
|
|
1233
1294
|
interface MinusBoxOptionProps {
|
|
@@ -1261,6 +1322,9 @@ declare const Radio: {
|
|
|
1261
1322
|
[RADIO_SYMBOL_KEY]: boolean;
|
|
1262
1323
|
};
|
|
1263
1324
|
|
|
1325
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1326
|
+
declare const CONTROL_BUTTONS_VERSION = "2.0.0";
|
|
1327
|
+
|
|
1264
1328
|
interface TooltipProps extends TooltipOptionProps, Omit<PopperProps, 'autoPlacement'> {
|
|
1265
1329
|
}
|
|
1266
1330
|
interface TooltipOptionProps {
|
|
@@ -1279,6 +1343,9 @@ declare const Tooltip: {
|
|
|
1279
1343
|
Content: ({ content, ...args }: TooltipContentProps) => react_jsx_runtime.JSX.Element;
|
|
1280
1344
|
};
|
|
1281
1345
|
|
|
1346
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1347
|
+
declare const TOOLTIP_VERSION = "2.0.0";
|
|
1348
|
+
|
|
1282
1349
|
declare const TabStyleVariants: {
|
|
1283
1350
|
readonly NORMAL: "NORMAL";
|
|
1284
1351
|
readonly INFO: "INFO";
|
|
@@ -1334,6 +1401,9 @@ type TabsContextType = {
|
|
|
1334
1401
|
declare const TabsContext: React$1.Context<TabsContextType | null>;
|
|
1335
1402
|
declare const useTabs: () => TabsContextType;
|
|
1336
1403
|
|
|
1404
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1405
|
+
declare const TABS_VERSION = "2.0.0";
|
|
1406
|
+
|
|
1337
1407
|
interface PaginationProps extends PaginationOptionProps, HTMLAttributes<HTMLDivElement> {
|
|
1338
1408
|
}
|
|
1339
1409
|
interface PaginationOptionProps extends LeftAndRightNodeProps {
|
|
@@ -1389,6 +1459,9 @@ declare const Pagination: {
|
|
|
1389
1459
|
SizeSelector: ({ data, pageSize, setPageSize }: PaginationSizeSelectorProps) => react_jsx_runtime.JSX.Element;
|
|
1390
1460
|
};
|
|
1391
1461
|
|
|
1462
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1463
|
+
declare const PAGINATION_VERSION = "2.0.0";
|
|
1464
|
+
|
|
1392
1465
|
declare const ToggleButtonSizeVariants: {
|
|
1393
1466
|
readonly S: "S";
|
|
1394
1467
|
readonly M: "M";
|
|
@@ -1416,6 +1489,9 @@ declare const ToggleButton: {
|
|
|
1416
1489
|
InnerRadio: React__default.ForwardRefExoticComponent<ToggleButtonInnerRadioProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
1417
1490
|
};
|
|
1418
1491
|
|
|
1492
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1493
|
+
declare const TOGGLE_BUTTON_VERSION = "2.0.0";
|
|
1494
|
+
|
|
1419
1495
|
declare const DayDatepickerSizeVariants: {
|
|
1420
1496
|
readonly S: "S";
|
|
1421
1497
|
readonly M: "M";
|
|
@@ -1566,6 +1642,9 @@ type YearSelectProps = {
|
|
|
1566
1642
|
}) => void;
|
|
1567
1643
|
};
|
|
1568
1644
|
|
|
1645
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1646
|
+
declare const DATEPICKERS_VERSION = "2.0.0";
|
|
1647
|
+
|
|
1569
1648
|
declare const NumberComboboxSizeVariants: {
|
|
1570
1649
|
readonly S: "S";
|
|
1571
1650
|
readonly M: "M";
|
|
@@ -1591,6 +1670,9 @@ type NumberComboboxProps = NumberComboboxOptionProps & Omit<InputHTMLAttributes<
|
|
|
1591
1670
|
|
|
1592
1671
|
declare const NumberCombobox: ({ disabled, onSelect, onChange, value, width, onBlur, items, isError, sizeVar, placeholder, maxLength, className, floatingZIndex, ...rest }: NumberComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
1593
1672
|
|
|
1673
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1674
|
+
declare const COMBOBOXS_VERSION = "2.0.0";
|
|
1675
|
+
|
|
1594
1676
|
type SkeletonProps = {
|
|
1595
1677
|
styleVar?: 'circle' | 'rectangle';
|
|
1596
1678
|
width?: string;
|
|
@@ -1599,6 +1681,9 @@ type SkeletonProps = {
|
|
|
1599
1681
|
|
|
1600
1682
|
declare const Skeleton: ({ styleVar, width, height }: SkeletonProps) => react_jsx_runtime.JSX.Element;
|
|
1601
1683
|
|
|
1684
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1685
|
+
declare const SKELETON_VERSION = "2.0.0";
|
|
1686
|
+
|
|
1602
1687
|
interface SliderProps {
|
|
1603
1688
|
/**
|
|
1604
1689
|
* 선택 가능한 최소값
|
|
@@ -1645,6 +1730,9 @@ declare const SLIDER_Z_INDEX: {
|
|
|
1645
1730
|
|
|
1646
1731
|
declare const Slider: React__default.FC<SliderProps>;
|
|
1647
1732
|
|
|
1733
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1734
|
+
declare const SLIDER_VERSION = "2.0.0";
|
|
1735
|
+
|
|
1648
1736
|
/** 드롭다운 아이템 타입 */
|
|
1649
1737
|
type DropdownItem = {
|
|
1650
1738
|
/** 표시되는 라벨 */
|
|
@@ -1718,6 +1806,9 @@ interface MemoizedSearchBarComponent extends React.MemoExoticComponent<SearchBar
|
|
|
1718
1806
|
Input: React.FC<SearchBarInputProps>;
|
|
1719
1807
|
}
|
|
1720
1808
|
|
|
1809
|
+
/** @internal 컴포넌트 메타데이터: 버전 */
|
|
1810
|
+
declare const SEARCH_BAR_VERSION = "2.0.0";
|
|
1811
|
+
|
|
1721
1812
|
declare const SearchBar: MemoizedSearchBarComponent;
|
|
1722
1813
|
|
|
1723
|
-
export { AnnualDatepicker, AnnualDatepickerProps, AsProp, Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, CHECKBOX_SYMBOL_KEY, Callout, CalloutOptionProps, CalloutProps, CalloutType, CalloutTypes, Checkbox, CheckboxOptionProps, CheckboxProps, CheckboxStyleVariantType, CheckboxStyleVariants, ChipButton, ChipButtonOptionProps, ChipButtonProps, ChipButtonSizeVariantType, ChipButtonSizeVariants, ChipButtonStyleVariantType, ChipButtonStyleVariants, ChipToggle, ChipToggleOptionProps, ChipToggleProps, ChipToggleSizeVariantType, ChipToggleSizeVariants, ChipToggleStyleVariantType, ChipToggleStyleVariants, ColorTokens, DangerouslySetInnerHTML, DayCalendarType, DayDatepicker, DayDatepickerHeaderCustomProps, DayDatepickerOptionProps, DayDatepickerProps, DayDatepickerSizeVariantType, DayDatepickerSizeVariants, DomainType, Dropdown, DropdownButton, DropdownButtonContext, DropdownButtonContextType, DropdownButtonOptionProps, DropdownButtonProps, DropdownButtonSizeVariantType, DropdownButtonSizeVariants, DropdownButtonStyleVariantType, DropdownButtonStyleVariants, DropdownContentProps, DropdownItem, DropdownOptionProps, DropdownOptionVariantType, DropdownOptionVariants, DropdownProps, DropdownSizeVariantType, DropdownTriggerButtonProps, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, InputSizeVariantType, InputSizeVariants, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MemoizedSearchBarComponent, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, MinusBoxOptionProps, MinusBoxProps, MinusButton, Modal, ModalBodyOptionProps, ModalBodyProps, ModalBottomProps, ModalContainerOptionProps, ModalContainerProps, ModalContext, ModalFooterOptionProps, ModalFooterProps, ModalFooterType, ModalHandlerContext, ModalHeaderOptionProps, ModalHeaderProps, ModalHeaderType, ModalPortal as ModalProvider, ModalSize, ModalSizeType, ModalStateType, ModalTopProps, MonthClickDateInfo, MonthDatepicker, MonthDatepickerProps, MonthDatepickerStyleType, MotionStack, MotionStackComponentType, MotionStackContainer, MotionStackContainerComponentType, NumberCombobox, NumberComboboxErrorType, NumberComboboxInputType, NumberComboboxOptionProps, NumberComboboxProps, NumberComboboxSizeVariantType, NumberComboboxSizeVariants, Pagination, PaginationOptionProps, PaginationProps, PaginationSizeSelectorProps, PolymorphicComponentProps, PolymorphicRef, Popper, PopperOptionProps, PopperPortal, PopperPortalProps, PopperProps, PopperTrigger, PopperTriggerProps, RADIO_SYMBOL_KEY, Radio, RadioOptionProps, RadioProps, RemoveModalProps, SLIDER_Z_INDEX, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, ScrollbarRefType, SearchBar, SearchBarBaseProps, SearchBarCategoryProps, SearchBarComponent, SearchBarInputProps, SearchBarProps, SearchType, SelectInputButton, SelectInputButtonOptionProps, SelectInputButtonProps, ShoplflowProvider, ShoplflowProviderProps, Skeleton, SkeletonProps, Slider, SliderBounds, SliderProps, SpacingTokens, SplitButton, SplitButtonContext, SplitButtonContextType, SplitButtonOptionProps, SplitButtonProps, SplitButtonSizeVariantType, SplitButtonSizeVariants, SplitButtonStyleVariantType, SplitButtonStyleVariants, Stack, StackComponentType, StackContainer, StackContainerComponentType, StackContainerGenericProps, StackContainerOptionProps, StackContainerProps, StackGenericProps, StackOptionProps, StackProps, StyledIcon, StyledStack, StyledStackContainer, Switch, SwitchOptionProps, SwitchProps, SwitchSizeVariantType, SwitchSizeVariants, TREE_SYMBOL_KEY, TabOptionProps, TabProps, TabSizeVariantType, TabSizeVariants, TabStyleVariantType, TabStyleVariants, TabStyledProps, TabTextStyledProps, Tabs, TabsContext, TabsContextType, TabsOptionProps, TabsProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, ToggleButton, ToggleButtonInnerRadioOptionProps, ToggleButtonInnerRadioProps, ToggleButtonOptionProps, ToggleButtonProps, ToggleButtonSizeVariantType, ToggleButtonSizeVariants, Tooltip, TooltipContentProps, TooltipOptionProps, TooltipProps, Tree, TreeItem, TreeItemOptionProps, TreeItemProps, TreeOptionProps, TreeProps, TypographyTokens, WeekClickDateInfo, WeekDatepicker, WeekDatepickerProps, WeekDatepickerStyleType, YearSelectProps, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|
|
1814
|
+
export { AVATAR_VERSION, AnnualDatepicker, AnnualDatepickerProps, AsProp, Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BACK_DROP_VERSION, BUTTONS_VERSION, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, CALLOUT_VERSION, CHECKBOX_SYMBOL_KEY, CHIPS_VERSION, COMBOBOXS_VERSION, CONTROL_BUTTONS_VERSION, Callout, CalloutIconProps, CalloutOptionProps, CalloutProps, CalloutType, CalloutTypes, Checkbox, CheckboxOptionProps, CheckboxProps, CheckboxStyleVariantType, CheckboxStyleVariants, ChildrenProps, ChipButton, ChipButtonOptionProps, ChipButtonProps, ChipButtonSizeVariantType, ChipButtonSizeVariants, ChipButtonStyleVariantType, ChipButtonStyleVariants, ChipToggle, ChipToggleOptionProps, ChipToggleProps, ChipToggleSizeVariantType, ChipToggleSizeVariants, ChipToggleStyleVariantType, ChipToggleStyleVariants, ColorTokens, DATEPICKERS_VERSION, DROPDOWN_VERSION, DangerouslySetInnerHTML, DayCalendarType, DayDatepicker, DayDatepickerHeaderCustomProps, DayDatepickerOptionProps, DayDatepickerProps, DayDatepickerSizeVariantType, DayDatepickerSizeVariants, DomainType, Dropdown, DropdownButton, DropdownButtonContext, DropdownButtonContextType, DropdownButtonOptionProps, DropdownButtonProps, DropdownButtonSizeVariantType, DropdownButtonSizeVariants, DropdownButtonStyleVariantType, DropdownButtonStyleVariants, DropdownContentProps, DropdownItem, DropdownOptionProps, DropdownOptionVariantType, DropdownOptionVariants, DropdownProps, DropdownSizeVariantType, DropdownTriggerButtonProps, FontWeightTokens, ICON_VERSION, INPUTS_VERSION, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, InputSizeVariantType, InputSizeVariants, LIST_VERSION, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MENU_VERSION, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MODAL_VERSION, MemoizedSearchBarComponent, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, MinusBoxOptionProps, MinusBoxProps, MinusButton, Modal, ModalBodyOptionProps, ModalBodyProps, ModalBottomProps, ModalContainerOptionProps, ModalContainerProps, ModalContext, ModalFooterOptionProps, ModalFooterProps, ModalFooterType, ModalHandlerContext, ModalHeaderOptionProps, ModalHeaderProps, ModalHeaderType, ModalPortal as ModalProvider, ModalSize, ModalSizeType, ModalStateType, ModalTopProps, MonthClickDateInfo, MonthDatepicker, MonthDatepickerProps, MonthDatepickerStyleType, MotionStack, MotionStackComponentType, MotionStackContainer, MotionStackContainerComponentType, NumberCombobox, NumberComboboxErrorType, NumberComboboxInputType, NumberComboboxOptionProps, NumberComboboxProps, NumberComboboxSizeVariantType, NumberComboboxSizeVariants, PAGINATION_VERSION, POPPER_VERSION, Pagination, PaginationOptionProps, PaginationProps, PaginationSizeSelectorProps, PolymorphicComponentProps, PolymorphicRef, Popper, PopperOptionProps, PopperPortal, PopperPortalProps, PopperProps, PopperTrigger, PopperTriggerProps, RADIO_SYMBOL_KEY, Radio, RadioOptionProps, RadioProps, RemoveModalProps, SCROLL_AREA_VERSION, SEARCH_BAR_VERSION, SKELETON_VERSION, SLIDER_VERSION, SLIDER_Z_INDEX, STACK_CONTAINER_VERSION, STACK_VERSION, SWITCH_VERSION, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, ScrollbarRefType, SearchBar, SearchBarBaseProps, SearchBarCategoryProps, SearchBarComponent, SearchBarInputProps, SearchBarProps, SearchType, SelectInputButton, SelectInputButtonOptionProps, SelectInputButtonProps, ShoplflowProvider, ShoplflowProviderProps, Skeleton, SkeletonProps, Slider, SliderBounds, SliderProps, SpacingTokens, SplitButton, SplitButtonContext, SplitButtonContextType, SplitButtonOptionProps, SplitButtonProps, SplitButtonSizeVariantType, SplitButtonSizeVariants, SplitButtonStyleVariantType, SplitButtonStyleVariants, Stack, StackComponentType, StackContainer, StackContainerComponentType, StackContainerGenericProps, StackContainerOptionProps, StackContainerProps, StackGenericProps, StackOptionProps, StackProps, StyledIcon, StyledStack, StyledStackContainer, Switch, SwitchOptionProps, SwitchProps, SwitchSizeVariantType, SwitchSizeVariants, TABS_VERSION, TAG_VERSION, TEXT_VERSION, TOGGLE_BUTTON_VERSION, TOOLTIP_VERSION, TREE_SYMBOL_KEY, TREE_VERSION, TabOptionProps, TabProps, TabSizeVariantType, TabSizeVariants, TabStyleVariantType, TabStyleVariants, TabStyledProps, TabTextStyledProps, Tabs, TabsContext, TabsContextType, TabsOptionProps, TabsProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, ToggleButton, ToggleButtonInnerRadioOptionProps, ToggleButtonInnerRadioProps, ToggleButtonOptionProps, ToggleButtonProps, ToggleButtonSizeVariantType, ToggleButtonSizeVariants, Tooltip, TooltipContentProps, TooltipOptionProps, TooltipProps, Tree, TreeItem, TreeItemOptionProps, TreeItemProps, TreeOptionProps, TreeProps, TypographyTokens, WeekClickDateInfo, WeekDatepicker, WeekDatepickerProps, WeekDatepickerStyleType, YearSelectProps, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|
package/dist/index.js
CHANGED
|
@@ -274,6 +274,9 @@ var AvatarSizeVariants = {
|
|
|
274
274
|
XL: "XL"
|
|
275
275
|
};
|
|
276
276
|
|
|
277
|
+
// src/components/Avatar/version.ts
|
|
278
|
+
var AVATAR_VERSION = "2.0.0";
|
|
279
|
+
|
|
277
280
|
// src/styles/tokens.ts
|
|
278
281
|
var fontWeightRegular = "var(--font-weight-regular)";
|
|
279
282
|
var fontWeightMedium = "var(--font-weight-medium)";
|
|
@@ -549,6 +552,9 @@ var MotionStack = motion(Stack);
|
|
|
549
552
|
MotionStack.Vertical = motion(Stack.Vertical);
|
|
550
553
|
MotionStack.Horizontal = motion(Stack.Horizontal);
|
|
551
554
|
var Stack_default = Stack;
|
|
555
|
+
|
|
556
|
+
// src/components/Stack/version.ts
|
|
557
|
+
var STACK_VERSION = "2.0.0";
|
|
552
558
|
var StyledStackContainer = styled6.div`
|
|
553
559
|
display: flex;
|
|
554
560
|
width: ${({ width }) => width};
|
|
@@ -629,6 +635,9 @@ var MotionStackContainer = motion(StackContainer);
|
|
|
629
635
|
MotionStackContainer.Vertical = motion(StackContainer.Vertical);
|
|
630
636
|
MotionStackContainer.Horizontal = motion(StackContainer.Horizontal);
|
|
631
637
|
var StackContainer_default = StackContainer;
|
|
638
|
+
|
|
639
|
+
// src/components/StackContainer/version.ts
|
|
640
|
+
var STACK_CONTAINER_VERSION = "2.0.0";
|
|
632
641
|
var setEllipsis = (maxLines) => {
|
|
633
642
|
return css`
|
|
634
643
|
display: -webkit-box;
|
|
@@ -700,6 +709,9 @@ var Text = forwardRef(
|
|
|
700
709
|
}
|
|
701
710
|
);
|
|
702
711
|
var Text_default = Text;
|
|
712
|
+
|
|
713
|
+
// src/components/Text/version.ts
|
|
714
|
+
var TEXT_VERSION = "2.0.1";
|
|
703
715
|
var MODAL_SIZE_XXS = 400;
|
|
704
716
|
var MODAL_SIZE_XS = 500;
|
|
705
717
|
var MODAL_SIZE_S = 560;
|
|
@@ -980,6 +992,9 @@ var ScrollArea = forwardRef((_a, ref) => {
|
|
|
980
992
|
) });
|
|
981
993
|
});
|
|
982
994
|
var ScrollArea_default = ScrollArea;
|
|
995
|
+
|
|
996
|
+
// src/components/ScrollArea/version.ts
|
|
997
|
+
var SCROLL_AREA_VERSION = "2.0.0";
|
|
983
998
|
var useModalOption = () => {
|
|
984
999
|
const context = useContext(ModalOptionContext);
|
|
985
1000
|
if (!context) {
|
|
@@ -1226,6 +1241,9 @@ var ModalProvider = ({ children }) => {
|
|
|
1226
1241
|
};
|
|
1227
1242
|
var ModalProvider_default = ModalProvider;
|
|
1228
1243
|
|
|
1244
|
+
// src/components/Modal/version.ts
|
|
1245
|
+
var MODAL_VERSION = "2.0.0";
|
|
1246
|
+
|
|
1229
1247
|
// src/components/Modal/index.ts
|
|
1230
1248
|
var Modal = {
|
|
1231
1249
|
Container: ModalContainer_default,
|
|
@@ -1235,6 +1253,9 @@ var Modal = {
|
|
|
1235
1253
|
Bottom: ModalBottom,
|
|
1236
1254
|
Footer: ModalFooter_default
|
|
1237
1255
|
};
|
|
1256
|
+
|
|
1257
|
+
// src/components/BackDrop/version.ts
|
|
1258
|
+
var BACK_DROP_VERSION = "2.0.0";
|
|
1238
1259
|
var getContainerStylesBySizeVar = (sizeVar) => {
|
|
1239
1260
|
switch (sizeVar) {
|
|
1240
1261
|
case "S":
|
|
@@ -1394,6 +1415,9 @@ var SwitchSizeVariants = {
|
|
|
1394
1415
|
M: "M"
|
|
1395
1416
|
};
|
|
1396
1417
|
|
|
1418
|
+
// src/components/Switch/version.ts
|
|
1419
|
+
var SWITCH_VERSION = "2.0.0";
|
|
1420
|
+
|
|
1397
1421
|
// src/components/Chips/ChipToggle/ChipToggle.types.ts
|
|
1398
1422
|
var ChipToggleStyleVariants = {
|
|
1399
1423
|
SOLID: "SOLID"
|
|
@@ -1638,6 +1662,9 @@ var ChipButton = (_a) => {
|
|
|
1638
1662
|
);
|
|
1639
1663
|
};
|
|
1640
1664
|
var ChipButton_default = ChipButton;
|
|
1665
|
+
|
|
1666
|
+
// src/components/Chips/version.ts
|
|
1667
|
+
var CHIPS_VERSION = "2.0.0";
|
|
1641
1668
|
var getStyleByStyleVar = (styleVar, color, disabled) => {
|
|
1642
1669
|
const domain = getDomain();
|
|
1643
1670
|
const secondaryBorderColor = domain === "hada" ? colorTokens.hada150 : colorTokens.neutral350;
|
|
@@ -2128,6 +2155,9 @@ var PopperPortal = forwardRef(
|
|
|
2128
2155
|
Popper.Trigger = PopperTrigger;
|
|
2129
2156
|
Popper.Portal = PopperPortal;
|
|
2130
2157
|
var Popper_default = Popper;
|
|
2158
|
+
|
|
2159
|
+
// src/components/Popper/version.ts
|
|
2160
|
+
var POPPER_VERSION = "2.0.0";
|
|
2131
2161
|
var Container2 = styled6.div`
|
|
2132
2162
|
display: flex;
|
|
2133
2163
|
align-items: center;
|
|
@@ -2443,6 +2473,9 @@ var Radio = (_a) => {
|
|
|
2443
2473
|
Radio[RADIO_SYMBOL_KEY] = true;
|
|
2444
2474
|
var Radio_default = Radio;
|
|
2445
2475
|
|
|
2476
|
+
// src/components/ControlButtons/version.ts
|
|
2477
|
+
var CONTROL_BUTTONS_VERSION = "2.0.0";
|
|
2478
|
+
|
|
2446
2479
|
// src/components/Menu/Menu.styled.ts
|
|
2447
2480
|
var getStylesBySizeVar = (sizeVar) => {
|
|
2448
2481
|
switch (sizeVar) {
|
|
@@ -2551,6 +2584,9 @@ var MenuSizeVariants = {
|
|
|
2551
2584
|
S: "S",
|
|
2552
2585
|
M: "M"
|
|
2553
2586
|
};
|
|
2587
|
+
|
|
2588
|
+
// src/components/Menu/version.ts
|
|
2589
|
+
var MENU_VERSION = "2.0.0";
|
|
2554
2590
|
var DropdownButtonContext = createContext(null);
|
|
2555
2591
|
var useDropdownButtonContext = () => {
|
|
2556
2592
|
const context = useContext(DropdownButtonContext);
|
|
@@ -2600,6 +2636,9 @@ var Icon = forwardRef((_a, ref) => {
|
|
|
2600
2636
|
return /* @__PURE__ */ jsx(StyledIcon, __spreadProps(__spreadValues({ as: iconSource, ref }, rest), { "data-shoplflow": "Icon" }));
|
|
2601
2637
|
});
|
|
2602
2638
|
var Icon_default = Icon;
|
|
2639
|
+
|
|
2640
|
+
// src/components/Icon/version.ts
|
|
2641
|
+
var ICON_VERSION = "2.0.0";
|
|
2603
2642
|
var DropdownButtonMenu = (_a) => {
|
|
2604
2643
|
var _b = _a, { onClick, children } = _b, rest = __objRest(_b, ["onClick", "children"]);
|
|
2605
2644
|
const { setIsOpen } = useDropdownButtonContext();
|
|
@@ -2917,11 +2956,11 @@ var SplitButtonStyleVariants = {
|
|
|
2917
2956
|
PRIMARY: "PRIMARY",
|
|
2918
2957
|
SECONDARY: "SECONDARY"
|
|
2919
2958
|
};
|
|
2959
|
+
|
|
2960
|
+
// src/components/Buttons/version.ts
|
|
2961
|
+
var BUTTONS_VERSION = "2.0.0";
|
|
2920
2962
|
var informationStyle = css`
|
|
2921
2963
|
background: ${colorTokens.neutral400_5};
|
|
2922
|
-
& > span {
|
|
2923
|
-
color: ${colorTokens.neutral600};
|
|
2924
|
-
}
|
|
2925
2964
|
& > svg > circle {
|
|
2926
2965
|
fill: ${colorTokens.neutral200};
|
|
2927
2966
|
}
|
|
@@ -2929,12 +2968,20 @@ var informationStyle = css`
|
|
|
2929
2968
|
fill: ${colorTokens.neutral400};
|
|
2930
2969
|
}
|
|
2931
2970
|
`;
|
|
2971
|
+
var cautionStyle = css`
|
|
2972
|
+
background: ${colorTokens.yellow100};
|
|
2973
|
+
& > svg > path {
|
|
2974
|
+
fill: ${colorTokens.yellow300};
|
|
2975
|
+
}
|
|
2976
|
+
& > svg > circle {
|
|
2977
|
+
fill: ${colorTokens.yellow300};
|
|
2978
|
+
}
|
|
2979
|
+
& > svg > path {
|
|
2980
|
+
fill: ${colorTokens.yellow300};
|
|
2981
|
+
}
|
|
2982
|
+
`;
|
|
2932
2983
|
var alertStyle = css`
|
|
2933
2984
|
background: ${colorTokens.red100};
|
|
2934
|
-
& > span {
|
|
2935
|
-
align-self: center;
|
|
2936
|
-
color: ${colorTokens.red300};
|
|
2937
|
-
}
|
|
2938
2985
|
& > svg > path {
|
|
2939
2986
|
fill: ${colorTokens.red300};
|
|
2940
2987
|
}
|
|
@@ -2947,6 +2994,7 @@ var StyledCallout = styled6.div`
|
|
|
2947
2994
|
gap: 4px;
|
|
2948
2995
|
border-radius: ${borderRadiusTokens.borderRadius08};
|
|
2949
2996
|
${({ styleVar }) => styleVar === "INFORMATION" && informationStyle}
|
|
2997
|
+
${({ styleVar }) => styleVar === "CAUTION" && cautionStyle}
|
|
2950
2998
|
${({ styleVar }) => styleVar === "ALERT" && alertStyle}
|
|
2951
2999
|
${({ fillWidth }) => fillWidth && css`
|
|
2952
3000
|
width: 100%;
|
|
@@ -2958,6 +3006,7 @@ var StyledCalloutIcon = styled6.svg`
|
|
|
2958
3006
|
min-height: 20px;
|
|
2959
3007
|
width: 20px;
|
|
2960
3008
|
min-width: 20px;
|
|
3009
|
+
flex-shrink: 0;
|
|
2961
3010
|
`;
|
|
2962
3011
|
styled6.div`
|
|
2963
3012
|
padding: 2px 0;
|
|
@@ -2970,18 +3019,41 @@ var CalloutText = (_a) => {
|
|
|
2970
3019
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
|
2971
3020
|
return /* @__PURE__ */ jsx(Text_default, __spreadProps(__spreadValues({}, rest), { typography: "paragraph2", children }));
|
|
2972
3021
|
};
|
|
2973
|
-
var
|
|
2974
|
-
return /* @__PURE__ */
|
|
3022
|
+
var CalloutBulletList = ({ children }) => {
|
|
3023
|
+
return /* @__PURE__ */ jsxs(StackContainer_default.Horizontal, { spacing: "spacing06", width: "100%", justify: "flex-start", minHeight: "20px", children: [
|
|
3024
|
+
/* @__PURE__ */ jsx(
|
|
3025
|
+
"div",
|
|
3026
|
+
{
|
|
3027
|
+
style: {
|
|
3028
|
+
marginTop: "8px",
|
|
3029
|
+
backgroundColor: colorTokens.neutral700,
|
|
3030
|
+
width: "3px",
|
|
3031
|
+
height: "3px",
|
|
3032
|
+
borderRadius: "50%",
|
|
3033
|
+
flexShrink: 0
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
),
|
|
3037
|
+
children
|
|
3038
|
+
] });
|
|
3039
|
+
};
|
|
3040
|
+
var CalloutIcon = ({ iconSource, color }) => {
|
|
3041
|
+
return /* @__PURE__ */ jsx(StyledCalloutIcon, { as: iconSource, color });
|
|
2975
3042
|
};
|
|
2976
3043
|
Callout.Text = CalloutText;
|
|
2977
3044
|
Callout.Icon = CalloutIcon;
|
|
3045
|
+
Callout.BulletList = CalloutBulletList;
|
|
2978
3046
|
var Callout_default = Callout;
|
|
2979
3047
|
|
|
2980
3048
|
// src/components/Callout/Callout.types.ts
|
|
2981
3049
|
var CalloutTypes = {
|
|
2982
3050
|
INFORMATION: "INFORMATION",
|
|
3051
|
+
CAUTION: "CAUTION",
|
|
2983
3052
|
ALERT: "ALERT"
|
|
2984
3053
|
};
|
|
3054
|
+
|
|
3055
|
+
// src/components/Callout/version.ts
|
|
3056
|
+
var CALLOUT_VERSION = "2.1.1";
|
|
2985
3057
|
var StyledDropdown = styled6.div`
|
|
2986
3058
|
width: ${({ width }) => width};
|
|
2987
3059
|
`;
|
|
@@ -3314,6 +3386,9 @@ var DropdownOptionVariants = {
|
|
|
3314
3386
|
OUTSIDE_CLICK: "OUTSIDE_CLICK",
|
|
3315
3387
|
NONE: "NONE"
|
|
3316
3388
|
};
|
|
3389
|
+
|
|
3390
|
+
// src/components/Dropdown/version.ts
|
|
3391
|
+
var DROPDOWN_VERSION = "2.0.0";
|
|
3317
3392
|
var StyledList = styled6.li`
|
|
3318
3393
|
display: flex;
|
|
3319
3394
|
flex-direction: row;
|
|
@@ -3355,6 +3430,9 @@ var Text2Rows = ({ title, subTitle }) => {
|
|
|
3355
3430
|
};
|
|
3356
3431
|
List.Text2Rows = Text2Rows;
|
|
3357
3432
|
var List_default = List;
|
|
3433
|
+
|
|
3434
|
+
// src/components/List/version.ts
|
|
3435
|
+
var LIST_VERSION = "2.0.0";
|
|
3358
3436
|
var getTypographyBySize = (size2) => {
|
|
3359
3437
|
switch (size2) {
|
|
3360
3438
|
case "XS":
|
|
@@ -3482,6 +3560,9 @@ var TagSizeVariants = {
|
|
|
3482
3560
|
S: "S",
|
|
3483
3561
|
M: "M"
|
|
3484
3562
|
};
|
|
3563
|
+
|
|
3564
|
+
// src/components/Tag/version.ts
|
|
3565
|
+
var TAG_VERSION = "2.0.0";
|
|
3485
3566
|
var StyledTree = styled6(motion.ul)`
|
|
3486
3567
|
display: flex;
|
|
3487
3568
|
flex-direction: column;
|
|
@@ -3639,6 +3720,9 @@ var TreeItem = (_a) => {
|
|
|
3639
3720
|
TreeItem[TREE_SYMBOL_KEY] = true;
|
|
3640
3721
|
Tree.Item = TreeItem;
|
|
3641
3722
|
var Tree_default = Tree;
|
|
3723
|
+
|
|
3724
|
+
// src/components/Tree/version.ts
|
|
3725
|
+
var TREE_VERSION = "2.0.0";
|
|
3642
3726
|
var StyledInput = styled6.input`
|
|
3643
3727
|
padding: ${({ sizeVar }) => sizeVar === "S" ? "0 8px" : "4px 12px"};
|
|
3644
3728
|
background-color: transparent;
|
|
@@ -4423,6 +4507,9 @@ var SelectInputButton = (_a) => {
|
|
|
4423
4507
|
);
|
|
4424
4508
|
};
|
|
4425
4509
|
var SelectInputButton_default = SelectInputButton;
|
|
4510
|
+
|
|
4511
|
+
// src/components/Inputs/version.ts
|
|
4512
|
+
var INPUTS_VERSION = "2.0.0";
|
|
4426
4513
|
var StyledTooltipContent = styled6.div`
|
|
4427
4514
|
background-color: ${colorTokens.neutral700};
|
|
4428
4515
|
padding: 4px 8px;
|
|
@@ -4498,6 +4585,9 @@ var Tooltip = (_a) => {
|
|
|
4498
4585
|
};
|
|
4499
4586
|
Tooltip.Content = TooltipContent;
|
|
4500
4587
|
var Tooltip_default = Tooltip;
|
|
4588
|
+
|
|
4589
|
+
// src/components/Tooltip/version.ts
|
|
4590
|
+
var TOOLTIP_VERSION = "2.0.0";
|
|
4501
4591
|
var TabsContext = createContext(null);
|
|
4502
4592
|
var useTabs = () => {
|
|
4503
4593
|
const context = useContext(TabsContext);
|
|
@@ -4762,6 +4852,9 @@ var TabSizeVariants = {
|
|
|
4762
4852
|
M: "M",
|
|
4763
4853
|
L: "L"
|
|
4764
4854
|
};
|
|
4855
|
+
|
|
4856
|
+
// src/components/Tabs/version.ts
|
|
4857
|
+
var TABS_VERSION = "2.0.0";
|
|
4765
4858
|
var PaginationWrapper = styled6.div`
|
|
4766
4859
|
display: flex;
|
|
4767
4860
|
align-items: center;
|
|
@@ -4919,6 +5012,9 @@ var Pagination = (_a) => {
|
|
|
4919
5012
|
};
|
|
4920
5013
|
Pagination.SizeSelector = PaginationSizeSelector_default;
|
|
4921
5014
|
var Pagination_default = Pagination;
|
|
5015
|
+
|
|
5016
|
+
// src/components/Pagination/version.ts
|
|
5017
|
+
var PAGINATION_VERSION = "2.0.0";
|
|
4922
5018
|
var getLabelStyleByStatus = (selected, disabled) => {
|
|
4923
5019
|
if (disabled && selected) {
|
|
4924
5020
|
return css`
|
|
@@ -5088,6 +5184,9 @@ var ToggleButtonSizeVariants = {
|
|
|
5088
5184
|
S: "S",
|
|
5089
5185
|
M: "M"
|
|
5090
5186
|
};
|
|
5187
|
+
|
|
5188
|
+
// src/components/ToggleButton/version.ts
|
|
5189
|
+
var TOGGLE_BUTTON_VERSION = "2.0.0";
|
|
5091
5190
|
var SmallStyledDayDatepickerWrapper = styled6.div`
|
|
5092
5191
|
display: flex;
|
|
5093
5192
|
width: 280px;
|
|
@@ -6641,6 +6740,9 @@ var WeekDatepicker = ({
|
|
|
6641
6740
|
] });
|
|
6642
6741
|
};
|
|
6643
6742
|
var WeekDatepicker_default = WeekDatepicker;
|
|
6743
|
+
|
|
6744
|
+
// src/components/Datepickers/version.ts
|
|
6745
|
+
var DATEPICKERS_VERSION = "2.0.0";
|
|
6644
6746
|
var StyledNumberCombobox = styled6.div``;
|
|
6645
6747
|
var IconWrapper2 = styled6(motion.div)`
|
|
6646
6748
|
display: flex;
|
|
@@ -6832,6 +6934,9 @@ var NumberComboboxSizeVariants = {
|
|
|
6832
6934
|
S: "S",
|
|
6833
6935
|
M: "M"
|
|
6834
6936
|
};
|
|
6937
|
+
|
|
6938
|
+
// src/components/Comboboxs/version.ts
|
|
6939
|
+
var COMBOBOXS_VERSION = "2.0.0";
|
|
6835
6940
|
var animation = keyframes`
|
|
6836
6941
|
0% {
|
|
6837
6942
|
transform: translateX(-100%);
|
|
@@ -6881,6 +6986,9 @@ var Skeleton = ({ styleVar = "rectangle", width = "50px", height = "20px" }) =>
|
|
|
6881
6986
|
};
|
|
6882
6987
|
var Skeleton_default = Skeleton;
|
|
6883
6988
|
|
|
6989
|
+
// src/components/Skeleton/version.ts
|
|
6990
|
+
var SKELETON_VERSION = "2.0.0";
|
|
6991
|
+
|
|
6884
6992
|
// src/components/Slider/Slider.types.ts
|
|
6885
6993
|
var SLIDER_Z_INDEX = {
|
|
6886
6994
|
THUMB_BUTTON: 10
|
|
@@ -7169,6 +7277,9 @@ var Slider = ({
|
|
|
7169
7277
|
] }) });
|
|
7170
7278
|
};
|
|
7171
7279
|
var Slider_default = Slider;
|
|
7280
|
+
|
|
7281
|
+
// src/components/Slider/version.ts
|
|
7282
|
+
var SLIDER_VERSION = "2.0.0";
|
|
7172
7283
|
var SearchBarContext = createContext({});
|
|
7173
7284
|
var useSearchBarContext = () => useContext(SearchBarContext);
|
|
7174
7285
|
var SearchBarProvider = ({
|
|
@@ -7393,6 +7504,9 @@ var SearchBar = (_a) => {
|
|
|
7393
7504
|
SearchBar.Category = SearchBarCategory;
|
|
7394
7505
|
SearchBar.Input = SearchBarInput;
|
|
7395
7506
|
|
|
7507
|
+
// src/components/SearchBar/version.ts
|
|
7508
|
+
var SEARCH_BAR_VERSION = "2.0.0";
|
|
7509
|
+
|
|
7396
7510
|
// src/components/SearchBar/index.ts
|
|
7397
7511
|
var SearchBar2 = SearchBar;
|
|
7398
7512
|
SearchBar2.Category = SearchBarCategory;
|
|
@@ -7451,4 +7565,4 @@ classnames/index.js:
|
|
|
7451
7565
|
*)
|
|
7452
7566
|
*/
|
|
7453
7567
|
|
|
7454
|
-
export { AnnualDatepicker_default as AnnualDatepicker, Avatar_default as Avatar, AvatarSizeVariants, Button_default as Button, ButtonSizeVariants, ButtonStyleVariants, CHECKBOX_SYMBOL_KEY, Callout_default as Callout, CalloutTypes, Checkbox_default as Checkbox, CheckboxStyleVariants, ChipButton_default as ChipButton, ChipButtonSizeVariants, ChipButtonStyleVariants, ChipToggle_default as ChipToggle, ChipToggleSizeVariants, ChipToggleStyleVariants, DayDatepicker_default as DayDatepicker, DayDatepickerSizeVariants, Dropdown_default as Dropdown, DropdownButton_default as DropdownButton, DropdownButtonContext, DropdownButtonSizeVariants, DropdownButtonStyleVariants, DropdownOptionVariants, Icon_default as Icon, IconButton_default as IconButton, IconButtonSizeVariants, IconButtonStyleVariants, IconSizeVariants, Input_default as Input, InputButton_default as InputButton, InputSizeVariants, List_default as List, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu_default as Menu, MenuSizeVariants, MinusButton_default as MinusButton, Modal, ModalContext, ModalHandlerContext, ModalPortal_default as ModalProvider, ModalSize, MonthDatepicker_default as MonthDatepicker, MotionStack, MotionStackContainer, NumberCombobox_default as NumberCombobox, NumberComboboxSizeVariants, Pagination_default as Pagination, Popper_default as Popper, PopperPortal, PopperTrigger, RADIO_SYMBOL_KEY, Radio_default as Radio, SLIDER_Z_INDEX, ScrollArea_default as ScrollArea, SearchBar2 as SearchBar, SelectInputButton_default as SelectInputButton, ShoplflowProvider_default as ShoplflowProvider, Skeleton_default as Skeleton, Slider_default as Slider, SplitButton_default as SplitButton, SplitButtonContext, SplitButtonSizeVariants, SplitButtonStyleVariants, Stack_default as Stack, StackContainer_default as StackContainer, StyledIcon, StyledStack, StyledStackContainer, Switch_default as Switch, SwitchSizeVariants, TREE_SYMBOL_KEY, TabSizeVariants, TabStyleVariants, Tabs_default as Tabs, TabsContext, Tag_default as Tag, TagSizeVariants, TagStyleVariants, Text_default as Text, Text2Rows, TextArea_default as TextArea, ToggleButton_default as ToggleButton, ToggleButtonSizeVariants, Tooltip_default as Tooltip, Tree_default as Tree, TreeItem, WeekDatepicker_default as WeekDatepicker, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|
|
7568
|
+
export { AVATAR_VERSION, AnnualDatepicker_default as AnnualDatepicker, Avatar_default as Avatar, AvatarSizeVariants, BACK_DROP_VERSION, BUTTONS_VERSION, Button_default as Button, ButtonSizeVariants, ButtonStyleVariants, CALLOUT_VERSION, CHECKBOX_SYMBOL_KEY, CHIPS_VERSION, COMBOBOXS_VERSION, CONTROL_BUTTONS_VERSION, Callout_default as Callout, CalloutTypes, Checkbox_default as Checkbox, CheckboxStyleVariants, ChipButton_default as ChipButton, ChipButtonSizeVariants, ChipButtonStyleVariants, ChipToggle_default as ChipToggle, ChipToggleSizeVariants, ChipToggleStyleVariants, DATEPICKERS_VERSION, DROPDOWN_VERSION, DayDatepicker_default as DayDatepicker, DayDatepickerSizeVariants, Dropdown_default as Dropdown, DropdownButton_default as DropdownButton, DropdownButtonContext, DropdownButtonSizeVariants, DropdownButtonStyleVariants, DropdownOptionVariants, ICON_VERSION, INPUTS_VERSION, Icon_default as Icon, IconButton_default as IconButton, IconButtonSizeVariants, IconButtonStyleVariants, IconSizeVariants, Input_default as Input, InputButton_default as InputButton, InputSizeVariants, LIST_VERSION, List_default as List, MENU_VERSION, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MODAL_VERSION, Menu_default as Menu, MenuSizeVariants, MinusButton_default as MinusButton, Modal, ModalContext, ModalHandlerContext, ModalPortal_default as ModalProvider, ModalSize, MonthDatepicker_default as MonthDatepicker, MotionStack, MotionStackContainer, NumberCombobox_default as NumberCombobox, NumberComboboxSizeVariants, PAGINATION_VERSION, POPPER_VERSION, Pagination_default as Pagination, Popper_default as Popper, PopperPortal, PopperTrigger, RADIO_SYMBOL_KEY, Radio_default as Radio, SCROLL_AREA_VERSION, SEARCH_BAR_VERSION, SKELETON_VERSION, SLIDER_VERSION, SLIDER_Z_INDEX, STACK_CONTAINER_VERSION, STACK_VERSION, SWITCH_VERSION, ScrollArea_default as ScrollArea, SearchBar2 as SearchBar, SelectInputButton_default as SelectInputButton, ShoplflowProvider_default as ShoplflowProvider, Skeleton_default as Skeleton, Slider_default as Slider, SplitButton_default as SplitButton, SplitButtonContext, SplitButtonSizeVariants, SplitButtonStyleVariants, Stack_default as Stack, StackContainer_default as StackContainer, StyledIcon, StyledStack, StyledStackContainer, Switch_default as Switch, SwitchSizeVariants, TABS_VERSION, TAG_VERSION, TEXT_VERSION, TOGGLE_BUTTON_VERSION, TOOLTIP_VERSION, TREE_SYMBOL_KEY, TREE_VERSION, TabSizeVariants, TabStyleVariants, Tabs_default as Tabs, TabsContext, Tag_default as Tag, TagSizeVariants, TagStyleVariants, Text_default as Text, Text2Rows, TextArea_default as TextArea, ToggleButton_default as ToggleButton, ToggleButtonSizeVariants, Tooltip_default as Tooltip, Tree_default as Tree, TreeItem, WeekDatepicker_default as WeekDatepicker, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|