@shoplflow/base 0.23.0 → 0.23.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.d.cts CHANGED
@@ -327,10 +327,14 @@ interface StackOptionProps {
327
327
  * width 설정
328
328
  */
329
329
  width?: CSSProperties['width'];
330
+ maxWidth?: CSSProperties['maxWidth'];
331
+ minWidth?: CSSProperties['minWidth'];
330
332
  /**
331
333
  * height 설정
332
334
  */
333
335
  height?: CSSProperties['height'];
336
+ maxHeight?: CSSProperties['maxHeight'];
337
+ minHeight?: CSSProperties['minHeight'];
334
338
  /**
335
339
  * flex 설정
336
340
  */
@@ -1203,6 +1207,34 @@ declare type TextAreaProps = ComponentPropsWithoutRef<'textarea'> & TextAreaOpti
1203
1207
 
1204
1208
  declare const TextArea: React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & TextAreaOptionProps & React__default.RefAttributes<HTMLTextAreaElement>>;
1205
1209
 
1210
+ interface SelectInputButtonProps extends SelectInputButtonOptionProps {
1211
+ }
1212
+ interface SelectInputButtonOptionProps extends Omit<HTMLAttributes<HTMLLabelElement>, 'onChange' | 'onClick'>, DisableProps, RightElementProps, SelectedProps {
1213
+ width?: string;
1214
+ /**
1215
+ * Input의 placeholder를 설정합니다.
1216
+ */
1217
+ placeholder?: string;
1218
+ /**
1219
+ * Input의 value가 변경될 경우 호출되는 함수입니다.
1220
+ */
1221
+ onClick?: (e: MouseEvent<HTMLLabelElement>) => void;
1222
+ /**
1223
+ * 선택한 값을 받습니다.
1224
+ */
1225
+ value?: Array<Record<string, unknown>>;
1226
+ /**
1227
+ * 받은 value 중 label로 보여줄 값을 받습니다.
1228
+ */
1229
+ label?: string;
1230
+ /**
1231
+ * 값이 삭제될 때 실행할 함수입니다.
1232
+ */
1233
+ onClear?: (e: MouseEvent<HTMLButtonElement>) => void;
1234
+ }
1235
+
1236
+ declare const SelectInputButton: ({ disabled, isSelected, onMouseEnter, onMouseLeave, onClick, onClear, value, placeholder, label, width, rightSource, ...rest }: SelectInputButtonProps) => react_jsx_runtime.JSX.Element;
1237
+
1206
1238
  interface MinusBoxProps extends MinusBoxOptionProps, Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'> {
1207
1239
  }
1208
1240
  interface MinusBoxOptionProps {
@@ -1237,4 +1269,4 @@ interface RadioOptionProps extends SelectedProps, DefaultSelectedProps, DisableP
1237
1269
 
1238
1270
  declare const Radio: ({ isSelected, defaultSelected, disabled, onClick, onMouseEnter, onMouseLeave, ...rest }: RadioProps) => react_jsx_runtime.JSX.Element;
1239
1271
 
1240
- export { Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, 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, Dropdown, DropdownButtonIcon, DropdownButtonProps, DropdownContentProps, DropdownOptionProps, DropdownOptionVariantType, DropdownProps, DropdownSizeVariantType, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, 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, Radio, RadioOptionProps, RadioProps, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, ShoplflowProvider, ShoplflowProviderProps, SpacingTokens, Stack, StackComponentType, StackGenericProps, StackOptionProps, StackProps, StyledDropdown, StyledDropdownButton, StyledDropdownContent, StyledIcon, StyledInputButton, StyledInputButtonContent, StyledList, StyledMenu, StyledPopper, StyledStack, StyledText2Rows, Switch, SwitchOptionProps, SwitchProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, TypographyTokens, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, getDropdownFontSizeBySizeVar, getDropdownHeightBySizeVar, getDropdownIconSizeBySizeVar, getDropdownStyleBySizeVar, getFontStylesBySizeVar, spacingTokens, typographyTokens, useDomain, useHandleModal, useModalValue };
1272
+ export { Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, 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, Dropdown, DropdownButtonIcon, DropdownButtonProps, DropdownContentProps, DropdownOptionProps, DropdownOptionVariantType, DropdownProps, DropdownSizeVariantType, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, 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, Radio, RadioOptionProps, RadioProps, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, SelectInputButton, SelectInputButtonOptionProps, SelectInputButtonProps, ShoplflowProvider, ShoplflowProviderProps, SpacingTokens, Stack, StackComponentType, StackGenericProps, StackOptionProps, StackProps, StyledDropdown, StyledDropdownButton, StyledDropdownContent, StyledIcon, StyledInputButton, StyledInputButtonContent, StyledList, StyledMenu, StyledPopper, StyledStack, StyledText2Rows, Switch, SwitchOptionProps, SwitchProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, TypographyTokens, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, getDropdownFontSizeBySizeVar, getDropdownHeightBySizeVar, getDropdownIconSizeBySizeVar, getDropdownStyleBySizeVar, getFontStylesBySizeVar, spacingTokens, typographyTokens, useDomain, useHandleModal, useModalValue };
package/dist/index.d.ts CHANGED
@@ -327,10 +327,14 @@ interface StackOptionProps {
327
327
  * width 설정
328
328
  */
329
329
  width?: CSSProperties['width'];
330
+ maxWidth?: CSSProperties['maxWidth'];
331
+ minWidth?: CSSProperties['minWidth'];
330
332
  /**
331
333
  * height 설정
332
334
  */
333
335
  height?: CSSProperties['height'];
336
+ maxHeight?: CSSProperties['maxHeight'];
337
+ minHeight?: CSSProperties['minHeight'];
334
338
  /**
335
339
  * flex 설정
336
340
  */
@@ -1203,6 +1207,34 @@ declare type TextAreaProps = ComponentPropsWithoutRef<'textarea'> & TextAreaOpti
1203
1207
 
1204
1208
  declare const TextArea: React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & TextAreaOptionProps & React__default.RefAttributes<HTMLTextAreaElement>>;
1205
1209
 
1210
+ interface SelectInputButtonProps extends SelectInputButtonOptionProps {
1211
+ }
1212
+ interface SelectInputButtonOptionProps extends Omit<HTMLAttributes<HTMLLabelElement>, 'onChange' | 'onClick'>, DisableProps, RightElementProps, SelectedProps {
1213
+ width?: string;
1214
+ /**
1215
+ * Input의 placeholder를 설정합니다.
1216
+ */
1217
+ placeholder?: string;
1218
+ /**
1219
+ * Input의 value가 변경될 경우 호출되는 함수입니다.
1220
+ */
1221
+ onClick?: (e: MouseEvent<HTMLLabelElement>) => void;
1222
+ /**
1223
+ * 선택한 값을 받습니다.
1224
+ */
1225
+ value?: Array<Record<string, unknown>>;
1226
+ /**
1227
+ * 받은 value 중 label로 보여줄 값을 받습니다.
1228
+ */
1229
+ label?: string;
1230
+ /**
1231
+ * 값이 삭제될 때 실행할 함수입니다.
1232
+ */
1233
+ onClear?: (e: MouseEvent<HTMLButtonElement>) => void;
1234
+ }
1235
+
1236
+ declare const SelectInputButton: ({ disabled, isSelected, onMouseEnter, onMouseLeave, onClick, onClear, value, placeholder, label, width, rightSource, ...rest }: SelectInputButtonProps) => react_jsx_runtime.JSX.Element;
1237
+
1206
1238
  interface MinusBoxProps extends MinusBoxOptionProps, Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'> {
1207
1239
  }
1208
1240
  interface MinusBoxOptionProps {
@@ -1237,4 +1269,4 @@ interface RadioOptionProps extends SelectedProps, DefaultSelectedProps, DisableP
1237
1269
 
1238
1270
  declare const Radio: ({ isSelected, defaultSelected, disabled, onClick, onMouseEnter, onMouseLeave, ...rest }: RadioProps) => react_jsx_runtime.JSX.Element;
1239
1271
 
1240
- export { Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, 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, Dropdown, DropdownButtonIcon, DropdownButtonProps, DropdownContentProps, DropdownOptionProps, DropdownOptionVariantType, DropdownProps, DropdownSizeVariantType, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, 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, Radio, RadioOptionProps, RadioProps, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, ShoplflowProvider, ShoplflowProviderProps, SpacingTokens, Stack, StackComponentType, StackGenericProps, StackOptionProps, StackProps, StyledDropdown, StyledDropdownButton, StyledDropdownContent, StyledIcon, StyledInputButton, StyledInputButtonContent, StyledList, StyledMenu, StyledPopper, StyledStack, StyledText2Rows, Switch, SwitchOptionProps, SwitchProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, TypographyTokens, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, getDropdownFontSizeBySizeVar, getDropdownHeightBySizeVar, getDropdownIconSizeBySizeVar, getDropdownStyleBySizeVar, getFontStylesBySizeVar, spacingTokens, typographyTokens, useDomain, useHandleModal, useModalValue };
1272
+ export { Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, 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, Dropdown, DropdownButtonIcon, DropdownButtonProps, DropdownContentProps, DropdownOptionProps, DropdownOptionVariantType, DropdownProps, DropdownSizeVariantType, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, 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, Radio, RadioOptionProps, RadioProps, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, SelectInputButton, SelectInputButtonOptionProps, SelectInputButtonProps, ShoplflowProvider, ShoplflowProviderProps, SpacingTokens, Stack, StackComponentType, StackGenericProps, StackOptionProps, StackProps, StyledDropdown, StyledDropdownButton, StyledDropdownContent, StyledIcon, StyledInputButton, StyledInputButtonContent, StyledList, StyledMenu, StyledPopper, StyledStack, StyledText2Rows, Switch, SwitchOptionProps, SwitchProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, TypographyTokens, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, getDropdownFontSizeBySizeVar, getDropdownHeightBySizeVar, getDropdownIconSizeBySizeVar, getDropdownStyleBySizeVar, getFontStylesBySizeVar, spacingTokens, typographyTokens, useDomain, useHandleModal, useModalValue };
package/dist/index.js CHANGED
@@ -563,7 +563,11 @@ var AvatarSizeVariants = {
563
563
  var StyledStack = styled6.div`
564
564
  display: flex;
565
565
  width: ${({ width }) => width};
566
+ max-width: ${({ maxWidth }) => maxWidth};
567
+ min-width: ${({ minWidth }) => minWidth};
566
568
  height: ${({ height }) => height};
569
+ max-height: ${({ maxHeight }) => maxHeight};
570
+ min-height: ${({ minHeight }) => minHeight};
567
571
  flex-direction: ${({ direction }) => direction};
568
572
  align-items: ${({ align }) => align};
569
573
  justify-content: ${({ justify }) => justify};
@@ -2712,6 +2716,95 @@ var TextArea = forwardRef(
2712
2716
  }
2713
2717
  );
2714
2718
  var TextArea_default = TextArea;
2719
+ var StyledSelectInputButton = styled6.div`
2720
+ display: flex;
2721
+ flex-direction: row;
2722
+ align-items: center;
2723
+ justify-content: space-between;
2724
+ width: 100%;
2725
+ background: ${colorTokens.neutral0};
2726
+ gap: 4px;
2727
+ padding: 4px 4px 4px 12px;
2728
+ cursor: pointer;
2729
+ ${({ disabled }) => disabled && css`
2730
+ background-color: ${colorTokens.neutral100};
2731
+ cursor: not-allowed;
2732
+ `}
2733
+ `;
2734
+ var SelectInputButton = (_a) => {
2735
+ var _b = _a, {
2736
+ disabled,
2737
+ isSelected,
2738
+ onMouseEnter,
2739
+ onMouseLeave,
2740
+ onClick,
2741
+ onClear,
2742
+ value,
2743
+ placeholder,
2744
+ label,
2745
+ width,
2746
+ rightSource
2747
+ } = _b, rest = __objRest(_b, [
2748
+ "disabled",
2749
+ "isSelected",
2750
+ "onMouseEnter",
2751
+ "onMouseLeave",
2752
+ "onClick",
2753
+ "onClear",
2754
+ "value",
2755
+ "placeholder",
2756
+ "label",
2757
+ "width",
2758
+ "rightSource"
2759
+ ]);
2760
+ const [isHovered, setIsHovered] = useState(false);
2761
+ const handleOnClick = (e) => {
2762
+ e.preventDefault();
2763
+ if (!disabled) {
2764
+ onClick && onClick(e);
2765
+ }
2766
+ };
2767
+ const handleOnClear = (e) => {
2768
+ e.stopPropagation();
2769
+ if (!disabled) {
2770
+ onClear && onClear(e);
2771
+ }
2772
+ };
2773
+ const handleOnMouseEnter = (e) => {
2774
+ setIsHovered(true);
2775
+ onMouseEnter && onMouseEnter(e);
2776
+ };
2777
+ const handleOnMouseLeave = (e) => {
2778
+ setIsHovered(false);
2779
+ onMouseLeave && onMouseLeave(e);
2780
+ };
2781
+ return /* @__PURE__ */ jsx(
2782
+ InputWrapper,
2783
+ __spreadProps(__spreadValues({
2784
+ onMouseEnter: handleOnMouseEnter,
2785
+ onMouseLeave: handleOnMouseLeave,
2786
+ onClick: handleOnClick,
2787
+ isHovered,
2788
+ isFocused: isSelected,
2789
+ disabled,
2790
+ width
2791
+ }, rest), {
2792
+ "data-shoplflow": "SelectInputButton",
2793
+ children: /* @__PURE__ */ jsxs(StyledSelectInputButton, { children: [
2794
+ value && value.length > 0 && label ? /* @__PURE__ */ jsx(Text_default, { typography: "body1_400", children: value[0][label] }) : /* @__PURE__ */ jsx(Text_default, { typography: "body1_400", color: "neutral350", children: placeholder }),
2795
+ /* @__PURE__ */ jsxs(Stack_default.Horizontal, { align: "center", children: [
2796
+ value && value.length > 1 && /* @__PURE__ */ jsxs(Text_default, { typography: "body1_400", color: "neutral700", children: [
2797
+ "+",
2798
+ value.length - 1
2799
+ ] }),
2800
+ value && value.length > 0 && /* @__PURE__ */ jsx(IconButton_default, { sizeVar: "S", onClick: handleOnClear, styleVar: "GHOST", disabled, children: /* @__PURE__ */ jsx(Icon_default, { iconSource: assetFunction("DeleteIcon"), color: "neutral350" }) }),
2801
+ rightSource
2802
+ ] })
2803
+ ] })
2804
+ })
2805
+ );
2806
+ };
2807
+ var SelectInputButton_default = SelectInputButton;
2715
2808
  var Container2 = styled6.div`
2716
2809
  width: 32px;
2717
2810
  height: 32px;
@@ -2993,6 +3086,6 @@ classnames/index.js:
2993
3086
  *)
2994
3087
  */
2995
3088
 
2996
- export { Avatar_default as Avatar, AvatarSizeVariants, Button_default as Button, ButtonSizeVariants, ButtonStyleVariants, Callout_default as Callout, CalloutTypes, Checkbox_default as Checkbox, CheckboxStyleVariants, ChipButton_default as ChipButton, ChipButtonSizeVariants, ChipButtonStyleVariants, ChipToggle_default as ChipToggle, ChipToggleSizeVariants, ChipToggleStyleVariants, Dropdown_default as Dropdown, DropdownButtonIcon, Icon_default as Icon, IconButton_default as IconButton, IconButtonSizeVariants, IconButtonStyleVariants, IconSizeVariants, Input_default as Input, InputButton_default as InputButton, List_default as List, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu_default as Menu, MenuSizeVariants, MinusButton_default as MinusButton, Modal, ModalPortal_default as ModalProvider, ModalSize, MotionStack, Popper_default as Popper, PopperPortal2 as PopperPortal, PopperTrigger, Radio_default as Radio, ScrollArea_default as ScrollArea, ShoplflowProvider_default as ShoplflowProvider, Stack_default as Stack, StyledDropdown, StyledDropdownButton, StyledDropdownContent, StyledIcon, StyledInputButton, StyledInputButtonContent, StyledList, StyledMenu, StyledPopper, StyledStack, StyledText2Rows, Switch_default as Switch, Tag_default as Tag, TagSizeVariants, TagStyleVariants, Text_default as Text, Text2Rows, TextArea_default as TextArea, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, getDropdownFontSizeBySizeVar, getDropdownHeightBySizeVar, getDropdownIconSizeBySizeVar, getDropdownStyleBySizeVar, getFontStylesBySizeVar, spacingTokens, typographyTokens, useDomain, useHandleModal, useModalValue };
3089
+ export { Avatar_default as Avatar, AvatarSizeVariants, Button_default as Button, ButtonSizeVariants, ButtonStyleVariants, Callout_default as Callout, CalloutTypes, Checkbox_default as Checkbox, CheckboxStyleVariants, ChipButton_default as ChipButton, ChipButtonSizeVariants, ChipButtonStyleVariants, ChipToggle_default as ChipToggle, ChipToggleSizeVariants, ChipToggleStyleVariants, Dropdown_default as Dropdown, DropdownButtonIcon, Icon_default as Icon, IconButton_default as IconButton, IconButtonSizeVariants, IconButtonStyleVariants, IconSizeVariants, Input_default as Input, InputButton_default as InputButton, List_default as List, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu_default as Menu, MenuSizeVariants, MinusButton_default as MinusButton, Modal, ModalPortal_default as ModalProvider, ModalSize, MotionStack, Popper_default as Popper, PopperPortal2 as PopperPortal, PopperTrigger, Radio_default as Radio, ScrollArea_default as ScrollArea, SelectInputButton_default as SelectInputButton, ShoplflowProvider_default as ShoplflowProvider, Stack_default as Stack, StyledDropdown, StyledDropdownButton, StyledDropdownContent, StyledIcon, StyledInputButton, StyledInputButtonContent, StyledList, StyledMenu, StyledPopper, StyledStack, StyledText2Rows, Switch_default as Switch, Tag_default as Tag, TagSizeVariants, TagStyleVariants, Text_default as Text, Text2Rows, TextArea_default as TextArea, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, getDropdownFontSizeBySizeVar, getDropdownHeightBySizeVar, getDropdownIconSizeBySizeVar, getDropdownStyleBySizeVar, getFontStylesBySizeVar, spacingTokens, typographyTokens, useDomain, useHandleModal, useModalValue };
2997
3090
  //# sourceMappingURL=out.js.map
2998
3091
  //# sourceMappingURL=index.js.map