@shoplflow/base 0.30.2 → 0.30.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.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
- import React__default, { ElementType, ComponentPropsWithoutRef, ReactNode, ReactElement, ImgHTMLAttributes, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, CSSProperties, HTMLAttributes, ComponentPropsWithRef, InputHTMLAttributes, MouseEvent, Ref } from 'react';
3
+ import React__default, { ElementType, ComponentPropsWithoutRef, ReactNode, ReactElement, ImgHTMLAttributes, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, CSSProperties, HTMLAttributes, ComponentPropsWithRef, ButtonHTMLAttributes, InputHTMLAttributes, MouseEvent, Ref } from 'react';
4
4
  import { $Values } from '@shoplflow/utils';
5
5
  import { IconSource } from '@shoplflow/shopl-assets';
6
6
  import { IconSource as IconSource$1 } from '@shoplflow/hada-assets';
@@ -851,7 +851,7 @@ declare const dropdownSizeVariants: {
851
851
  readonly M: "M";
852
852
  };
853
853
  declare type DropdownSizeVariantType = $Values<typeof dropdownSizeVariants>;
854
- interface DropdownButtonProps extends HTMLAttributes<HTMLButtonElement>, DisableProps, LeftElementProps, SizeVariantProps<DropdownSizeVariantType> {
854
+ interface DropdownButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'>, DisableProps, LeftElementProps, SizeVariantProps<DropdownSizeVariantType> {
855
855
  /**
856
856
  * placeholder를 설정합니다.
857
857
  */
@@ -1068,7 +1068,7 @@ interface SelectInputButtonOptionProps extends Omit<HTMLAttributes<HTMLLabelElem
1068
1068
 
1069
1069
  declare const SelectInputButton: ({ disabled, isSelected, onMouseEnter, onMouseLeave, onClick, onClear, value, placeholder, label, width, rightSource, ...rest }: SelectInputButtonProps) => react_jsx_runtime.JSX.Element;
1070
1070
 
1071
- interface MinusBoxProps extends MinusBoxOptionProps, Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'> {
1071
+ interface MinusBoxProps extends MinusBoxOptionProps, Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'> {
1072
1072
  }
1073
1073
  interface MinusBoxOptionProps {
1074
1074
  /**
@@ -1090,7 +1090,7 @@ declare const CheckboxStyleVariants: {
1090
1090
  declare type CheckboxStyleVariantType = $Values<typeof CheckboxStyleVariants>;
1091
1091
  interface CheckboxProps extends CheckboxOptionProps {
1092
1092
  }
1093
- interface CheckboxOptionProps extends StyleVariantProps<CheckboxStyleVariantType>, SelectedProps, DefaultSelectedProps, DisableProps, HTMLAttributes<HTMLButtonElement> {
1093
+ interface CheckboxOptionProps extends StyleVariantProps<CheckboxStyleVariantType>, SelectedProps, DefaultSelectedProps, DisableProps, ButtonHTMLAttributes<HTMLButtonElement> {
1094
1094
  }
1095
1095
 
1096
1096
  declare const CHECKBOX_SYMBOL_KEY: unique symbol;
@@ -1098,7 +1098,7 @@ declare const Checkbox: ({ defaultSelected, isSelected, disabled, onClick, onMou
1098
1098
 
1099
1099
  interface RadioProps extends RadioOptionProps {
1100
1100
  }
1101
- interface RadioOptionProps extends SelectedProps, DefaultSelectedProps, DisableProps, HTMLAttributes<HTMLButtonElement> {
1101
+ interface RadioOptionProps extends SelectedProps, DefaultSelectedProps, DisableProps, ButtonHTMLAttributes<HTMLButtonElement> {
1102
1102
  }
1103
1103
 
1104
1104
  declare const RADIO_SYMBOL_KEY: unique symbol;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
- import React__default, { ElementType, ComponentPropsWithoutRef, ReactNode, ReactElement, ImgHTMLAttributes, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, CSSProperties, HTMLAttributes, ComponentPropsWithRef, InputHTMLAttributes, MouseEvent, Ref } from 'react';
3
+ import React__default, { ElementType, ComponentPropsWithoutRef, ReactNode, ReactElement, ImgHTMLAttributes, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, CSSProperties, HTMLAttributes, ComponentPropsWithRef, ButtonHTMLAttributes, InputHTMLAttributes, MouseEvent, Ref } from 'react';
4
4
  import { $Values } from '@shoplflow/utils';
5
5
  import { IconSource } from '@shoplflow/shopl-assets';
6
6
  import { IconSource as IconSource$1 } from '@shoplflow/hada-assets';
@@ -851,7 +851,7 @@ declare const dropdownSizeVariants: {
851
851
  readonly M: "M";
852
852
  };
853
853
  declare type DropdownSizeVariantType = $Values<typeof dropdownSizeVariants>;
854
- interface DropdownButtonProps extends HTMLAttributes<HTMLButtonElement>, DisableProps, LeftElementProps, SizeVariantProps<DropdownSizeVariantType> {
854
+ interface DropdownButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'>, DisableProps, LeftElementProps, SizeVariantProps<DropdownSizeVariantType> {
855
855
  /**
856
856
  * placeholder를 설정합니다.
857
857
  */
@@ -1068,7 +1068,7 @@ interface SelectInputButtonOptionProps extends Omit<HTMLAttributes<HTMLLabelElem
1068
1068
 
1069
1069
  declare const SelectInputButton: ({ disabled, isSelected, onMouseEnter, onMouseLeave, onClick, onClear, value, placeholder, label, width, rightSource, ...rest }: SelectInputButtonProps) => react_jsx_runtime.JSX.Element;
1070
1070
 
1071
- interface MinusBoxProps extends MinusBoxOptionProps, Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'> {
1071
+ interface MinusBoxProps extends MinusBoxOptionProps, Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'> {
1072
1072
  }
1073
1073
  interface MinusBoxOptionProps {
1074
1074
  /**
@@ -1090,7 +1090,7 @@ declare const CheckboxStyleVariants: {
1090
1090
  declare type CheckboxStyleVariantType = $Values<typeof CheckboxStyleVariants>;
1091
1091
  interface CheckboxProps extends CheckboxOptionProps {
1092
1092
  }
1093
- interface CheckboxOptionProps extends StyleVariantProps<CheckboxStyleVariantType>, SelectedProps, DefaultSelectedProps, DisableProps, HTMLAttributes<HTMLButtonElement> {
1093
+ interface CheckboxOptionProps extends StyleVariantProps<CheckboxStyleVariantType>, SelectedProps, DefaultSelectedProps, DisableProps, ButtonHTMLAttributes<HTMLButtonElement> {
1094
1094
  }
1095
1095
 
1096
1096
  declare const CHECKBOX_SYMBOL_KEY: unique symbol;
@@ -1098,7 +1098,7 @@ declare const Checkbox: ({ defaultSelected, isSelected, disabled, onClick, onMou
1098
1098
 
1099
1099
  interface RadioProps extends RadioOptionProps {
1100
1100
  }
1101
- interface RadioOptionProps extends SelectedProps, DefaultSelectedProps, DisableProps, HTMLAttributes<HTMLButtonElement> {
1101
+ interface RadioOptionProps extends SelectedProps, DefaultSelectedProps, DisableProps, ButtonHTMLAttributes<HTMLButtonElement> {
1102
1102
  }
1103
1103
 
1104
1104
  declare const RADIO_SYMBOL_KEY: unique symbol;