@lucynam/fashiongo-ui 0.1.0 → 0.1.1

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.mts CHANGED
@@ -429,6 +429,16 @@ interface InputFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElemen
429
429
  }
430
430
  declare const InputField: React.ForwardRefExoticComponent<InputFieldProps & React.RefAttributes<HTMLInputElement>>;
431
431
 
432
+ type InputWithLabelState = 'default' | 'active' | 'error' | 'disable';
433
+ interface InputWithLabelProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
434
+ label: string;
435
+ required?: boolean;
436
+ inputState?: InputWithLabelState;
437
+ errorMessage?: string;
438
+ helpText?: string;
439
+ }
440
+ declare const InputWithLabel: React.FC<InputWithLabelProps>;
441
+
432
442
  type DropdownState = "default" | "guide" | "active" | "disable" | "error";
433
443
  interface DropdownOption {
434
444
  value: string;
@@ -659,4 +669,4 @@ interface PDPTheEditProps {
659
669
  }
660
670
  declare const PDPTheEdit: React.ForwardRefExoticComponent<PDPTheEditProps & React.RefAttributes<HTMLDivElement>>;
661
671
 
662
- export { Badge, type BadgeProps, type BadgeVariant, BtnShowMore, type BtnShowMoreProps, type BtnShowMoreSize, type BtnShowMoreState, BtnText, type BtnTextProps, type BtnTextState, BtnVendorInfo, type BtnVendorInfoProps, type BtnVendorInfoState, Button, type ButtonProps, type ButtonVariant, Checkbox, type CheckboxProps, type CheckboxState, CtaFavorite, type CtaFavoriteProps, type CtaFavoriteState, Dropdown, type DropdownOption, type DropdownProps, type DropdownState, FilterChip, type FilterChipFilter, type FilterChipProps, type FilterChipState, InputField, type InputFieldProps, type InputFieldSize, type InputFieldState, MobileBadge, type MobileBadgeProps, type MobileBadgeVariant, MobileCTA, type MobileCTAProps, type MobileCTAState, MobileCheckbox, type MobileCheckboxProps, type MobileCheckboxState, MobileCountInput, type MobileCountInputProps, type MobileCountInputState, MobileCounter, type MobileCounterAction, type MobileCounterProps, type MobileCounterStatus, OnboardingCta, type OnboardingCtaProps, type OnboardingCtaVariant, PDPAsiaDirect, type PDPAsiaDirectProps, PDPDropdown, PDPDropdownItem, type PDPDropdownItemProps, type PDPDropdownOption, type PDPDropdownProps, type PDPDropdownState, PDPMobileToast, type PDPMobileToastProps, type PDPMobileToastVariant, PDPPagination, type PDPPaginationProps, PDPSwatchItem, type PDPSwatchItemProps, type PDPSwatchItemState, PDPTheEdit, type PDPTheEditProps, PDPTopVendor, type PDPTopVendorProps, type PDPTopVendorVariant, PLPTab, type PLPTabProps, type PLPTabState, Pagination, type PaginationProps, PdpCta, type PdpCtaProps, type PdpCtaVariant, ProductCard, type ProductCardImageBadge, type ProductCardLogin, type ProductCardProps, type ProductCardState, type ProductCardVendorBadge, ProductPrice, type ProductPriceProps, type ProductPriceVariant, RadioButton, type RadioButtonProps, type RadioButtonState, SquareBadge, type SquareBadgeProps, type SquareBadgeSize, type SquareBadgeVariant, Toast, type ToastProps, type ToastVariant, Tooltip, type TooltipProps, type TooltipTail, type TooltipType, type TypeStyleKey, fontFamily, fontSize, fontWeight, lineHeight, tokenVersion, typeStyles };
672
+ export { Badge, type BadgeProps, type BadgeVariant, BtnShowMore, type BtnShowMoreProps, type BtnShowMoreSize, type BtnShowMoreState, BtnText, type BtnTextProps, type BtnTextState, BtnVendorInfo, type BtnVendorInfoProps, type BtnVendorInfoState, Button, type ButtonProps, type ButtonVariant, Checkbox, type CheckboxProps, type CheckboxState, CtaFavorite, type CtaFavoriteProps, type CtaFavoriteState, Dropdown, type DropdownOption, type DropdownProps, type DropdownState, FilterChip, type FilterChipFilter, type FilterChipProps, type FilterChipState, InputField, type InputFieldProps, type InputFieldSize, type InputFieldState, InputWithLabel, type InputWithLabelProps, type InputWithLabelState, MobileBadge, type MobileBadgeProps, type MobileBadgeVariant, MobileCTA, type MobileCTAProps, type MobileCTAState, MobileCheckbox, type MobileCheckboxProps, type MobileCheckboxState, MobileCountInput, type MobileCountInputProps, type MobileCountInputState, MobileCounter, type MobileCounterAction, type MobileCounterProps, type MobileCounterStatus, OnboardingCta, type OnboardingCtaProps, type OnboardingCtaVariant, PDPAsiaDirect, type PDPAsiaDirectProps, PDPDropdown, PDPDropdownItem, type PDPDropdownItemProps, type PDPDropdownOption, type PDPDropdownProps, type PDPDropdownState, PDPMobileToast, type PDPMobileToastProps, type PDPMobileToastVariant, PDPPagination, type PDPPaginationProps, PDPSwatchItem, type PDPSwatchItemProps, type PDPSwatchItemState, PDPTheEdit, type PDPTheEditProps, PDPTopVendor, type PDPTopVendorProps, type PDPTopVendorVariant, PLPTab, type PLPTabProps, type PLPTabState, Pagination, type PaginationProps, PdpCta, type PdpCtaProps, type PdpCtaVariant, ProductCard, type ProductCardImageBadge, type ProductCardLogin, type ProductCardProps, type ProductCardState, type ProductCardVendorBadge, ProductPrice, type ProductPriceProps, type ProductPriceVariant, RadioButton, type RadioButtonProps, type RadioButtonState, SquareBadge, type SquareBadgeProps, type SquareBadgeSize, type SquareBadgeVariant, Toast, type ToastProps, type ToastVariant, Tooltip, type TooltipProps, type TooltipTail, type TooltipType, type TypeStyleKey, fontFamily, fontSize, fontWeight, lineHeight, tokenVersion, typeStyles };
package/dist/index.d.ts CHANGED
@@ -429,6 +429,16 @@ interface InputFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElemen
429
429
  }
430
430
  declare const InputField: React.ForwardRefExoticComponent<InputFieldProps & React.RefAttributes<HTMLInputElement>>;
431
431
 
432
+ type InputWithLabelState = 'default' | 'active' | 'error' | 'disable';
433
+ interface InputWithLabelProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
434
+ label: string;
435
+ required?: boolean;
436
+ inputState?: InputWithLabelState;
437
+ errorMessage?: string;
438
+ helpText?: string;
439
+ }
440
+ declare const InputWithLabel: React.FC<InputWithLabelProps>;
441
+
432
442
  type DropdownState = "default" | "guide" | "active" | "disable" | "error";
433
443
  interface DropdownOption {
434
444
  value: string;
@@ -659,4 +669,4 @@ interface PDPTheEditProps {
659
669
  }
660
670
  declare const PDPTheEdit: React.ForwardRefExoticComponent<PDPTheEditProps & React.RefAttributes<HTMLDivElement>>;
661
671
 
662
- export { Badge, type BadgeProps, type BadgeVariant, BtnShowMore, type BtnShowMoreProps, type BtnShowMoreSize, type BtnShowMoreState, BtnText, type BtnTextProps, type BtnTextState, BtnVendorInfo, type BtnVendorInfoProps, type BtnVendorInfoState, Button, type ButtonProps, type ButtonVariant, Checkbox, type CheckboxProps, type CheckboxState, CtaFavorite, type CtaFavoriteProps, type CtaFavoriteState, Dropdown, type DropdownOption, type DropdownProps, type DropdownState, FilterChip, type FilterChipFilter, type FilterChipProps, type FilterChipState, InputField, type InputFieldProps, type InputFieldSize, type InputFieldState, MobileBadge, type MobileBadgeProps, type MobileBadgeVariant, MobileCTA, type MobileCTAProps, type MobileCTAState, MobileCheckbox, type MobileCheckboxProps, type MobileCheckboxState, MobileCountInput, type MobileCountInputProps, type MobileCountInputState, MobileCounter, type MobileCounterAction, type MobileCounterProps, type MobileCounterStatus, OnboardingCta, type OnboardingCtaProps, type OnboardingCtaVariant, PDPAsiaDirect, type PDPAsiaDirectProps, PDPDropdown, PDPDropdownItem, type PDPDropdownItemProps, type PDPDropdownOption, type PDPDropdownProps, type PDPDropdownState, PDPMobileToast, type PDPMobileToastProps, type PDPMobileToastVariant, PDPPagination, type PDPPaginationProps, PDPSwatchItem, type PDPSwatchItemProps, type PDPSwatchItemState, PDPTheEdit, type PDPTheEditProps, PDPTopVendor, type PDPTopVendorProps, type PDPTopVendorVariant, PLPTab, type PLPTabProps, type PLPTabState, Pagination, type PaginationProps, PdpCta, type PdpCtaProps, type PdpCtaVariant, ProductCard, type ProductCardImageBadge, type ProductCardLogin, type ProductCardProps, type ProductCardState, type ProductCardVendorBadge, ProductPrice, type ProductPriceProps, type ProductPriceVariant, RadioButton, type RadioButtonProps, type RadioButtonState, SquareBadge, type SquareBadgeProps, type SquareBadgeSize, type SquareBadgeVariant, Toast, type ToastProps, type ToastVariant, Tooltip, type TooltipProps, type TooltipTail, type TooltipType, type TypeStyleKey, fontFamily, fontSize, fontWeight, lineHeight, tokenVersion, typeStyles };
672
+ export { Badge, type BadgeProps, type BadgeVariant, BtnShowMore, type BtnShowMoreProps, type BtnShowMoreSize, type BtnShowMoreState, BtnText, type BtnTextProps, type BtnTextState, BtnVendorInfo, type BtnVendorInfoProps, type BtnVendorInfoState, Button, type ButtonProps, type ButtonVariant, Checkbox, type CheckboxProps, type CheckboxState, CtaFavorite, type CtaFavoriteProps, type CtaFavoriteState, Dropdown, type DropdownOption, type DropdownProps, type DropdownState, FilterChip, type FilterChipFilter, type FilterChipProps, type FilterChipState, InputField, type InputFieldProps, type InputFieldSize, type InputFieldState, InputWithLabel, type InputWithLabelProps, type InputWithLabelState, MobileBadge, type MobileBadgeProps, type MobileBadgeVariant, MobileCTA, type MobileCTAProps, type MobileCTAState, MobileCheckbox, type MobileCheckboxProps, type MobileCheckboxState, MobileCountInput, type MobileCountInputProps, type MobileCountInputState, MobileCounter, type MobileCounterAction, type MobileCounterProps, type MobileCounterStatus, OnboardingCta, type OnboardingCtaProps, type OnboardingCtaVariant, PDPAsiaDirect, type PDPAsiaDirectProps, PDPDropdown, PDPDropdownItem, type PDPDropdownItemProps, type PDPDropdownOption, type PDPDropdownProps, type PDPDropdownState, PDPMobileToast, type PDPMobileToastProps, type PDPMobileToastVariant, PDPPagination, type PDPPaginationProps, PDPSwatchItem, type PDPSwatchItemProps, type PDPSwatchItemState, PDPTheEdit, type PDPTheEditProps, PDPTopVendor, type PDPTopVendorProps, type PDPTopVendorVariant, PLPTab, type PLPTabProps, type PLPTabState, Pagination, type PaginationProps, PdpCta, type PdpCtaProps, type PdpCtaVariant, ProductCard, type ProductCardImageBadge, type ProductCardLogin, type ProductCardProps, type ProductCardState, type ProductCardVendorBadge, ProductPrice, type ProductPriceProps, type ProductPriceVariant, RadioButton, type RadioButtonProps, type RadioButtonState, SquareBadge, type SquareBadgeProps, type SquareBadgeSize, type SquareBadgeVariant, Toast, type ToastProps, type ToastVariant, Tooltip, type TooltipProps, type TooltipTail, type TooltipType, type TypeStyleKey, fontFamily, fontSize, fontWeight, lineHeight, tokenVersion, typeStyles };