cekat-ui 1.3.5 → 1.3.7

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
@@ -437,7 +437,7 @@ declare interface InputCounterProps {
437
437
  onChange?: default_2.ChangeEventHandler<HTMLInputElement>;
438
438
  }
439
439
 
440
- export declare function InputDropdown({ size, type, label, required, helpIcon, hint, placeholder, disabled, compact, leadingIcon, options, value, onChange, values, onValuesChange, className, wrapperClassName, }: InputDropdownProps): JSX_2.Element;
440
+ export declare function InputDropdown({ size, type, label, required, helpIcon, hint, placeholder, disabled, compact, leadingIcon, options, value, onChange, values, onValuesChange, hideTagsOnFocus, className, wrapperClassName, }: InputDropdownProps): JSX_2.Element;
441
441
 
442
442
  export declare interface InputDropdownOption {
443
443
  id: string;
@@ -478,6 +478,12 @@ export declare interface InputDropdownProps {
478
478
  /** Selected option ids ("tags" type). */
479
479
  values?: string[];
480
480
  onValuesChange?: (ids: string[]) => void;
481
+ /**
482
+ * "tags" type only. While the dropdown is closed, shows the selected tags and unmounts the
483
+ * search input (avoiding the leftover blank input space when there's nothing to type). While
484
+ * open, hides the tags and shows the input so the user can search/filter.
485
+ */
486
+ hideTagsOnFocus?: boolean;
481
487
  className?: ClassValue;
482
488
  wrapperClassName?: ClassValue;
483
489
  }
package/dist/index.d.ts CHANGED
@@ -437,7 +437,7 @@ declare interface InputCounterProps {
437
437
  onChange?: default_2.ChangeEventHandler<HTMLInputElement>;
438
438
  }
439
439
 
440
- export declare function InputDropdown({ size, type, label, required, helpIcon, hint, placeholder, disabled, compact, leadingIcon, options, value, onChange, values, onValuesChange, className, wrapperClassName, }: InputDropdownProps): JSX_2.Element;
440
+ export declare function InputDropdown({ size, type, label, required, helpIcon, hint, placeholder, disabled, compact, leadingIcon, options, value, onChange, values, onValuesChange, hideTagsOnFocus, className, wrapperClassName, }: InputDropdownProps): JSX_2.Element;
441
441
 
442
442
  export declare interface InputDropdownOption {
443
443
  id: string;
@@ -478,6 +478,12 @@ export declare interface InputDropdownProps {
478
478
  /** Selected option ids ("tags" type). */
479
479
  values?: string[];
480
480
  onValuesChange?: (ids: string[]) => void;
481
+ /**
482
+ * "tags" type only. While the dropdown is closed, shows the selected tags and unmounts the
483
+ * search input (avoiding the leftover blank input space when there's nothing to type). While
484
+ * open, hides the tags and shows the input so the user can search/filter.
485
+ */
486
+ hideTagsOnFocus?: boolean;
481
487
  className?: ClassValue;
482
488
  wrapperClassName?: ClassValue;
483
489
  }