@6thbridge/hexa 0.0.0-pr40-30 → 0.0.0-pr40-32

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
@@ -632,11 +632,6 @@ interface MultiSelectProps {
632
632
  children?: React$1.ReactNode;
633
633
  label?: string;
634
634
  placeholder?: string;
635
- search?: {
636
- value: string;
637
- onChange: (value: string) => void;
638
- filterSearch?: boolean;
639
- };
640
635
  isLoading?: boolean;
641
636
  showSelectedValues?: boolean;
642
637
  showAsterisk?: boolean;
@@ -648,9 +643,10 @@ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVari
648
643
  disabled?: boolean;
649
644
  placeholder?: string;
650
645
  className?: string;
646
+ onDelete?: (el: MultiSelectDataType) => void;
651
647
  }
652
- declare const MultiSelectTrigger: ({ disabled, className, values, placeholder, status, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element;
653
- declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, search, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
648
+ declare const MultiSelectTrigger: ({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element;
649
+ declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
654
650
 
655
651
  declare const CurrencySymbolMap: Record<string, string>;
656
652
  interface FormatCurrencyOptions {
package/dist/index.d.ts CHANGED
@@ -632,11 +632,6 @@ interface MultiSelectProps {
632
632
  children?: React$1.ReactNode;
633
633
  label?: string;
634
634
  placeholder?: string;
635
- search?: {
636
- value: string;
637
- onChange: (value: string) => void;
638
- filterSearch?: boolean;
639
- };
640
635
  isLoading?: boolean;
641
636
  showSelectedValues?: boolean;
642
637
  showAsterisk?: boolean;
@@ -648,9 +643,10 @@ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVari
648
643
  disabled?: boolean;
649
644
  placeholder?: string;
650
645
  className?: string;
646
+ onDelete?: (el: MultiSelectDataType) => void;
651
647
  }
652
- declare const MultiSelectTrigger: ({ disabled, className, values, placeholder, status, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element;
653
- declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, search, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
648
+ declare const MultiSelectTrigger: ({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element;
649
+ declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
654
650
 
655
651
  declare const CurrencySymbolMap: Record<string, string>;
656
652
  interface FormatCurrencyOptions {