sy-ui-lib 1.0.43 → 1.0.45

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.
@@ -10,6 +10,7 @@ import { MultiSelectDropdownProps } from './MultiSelectDropdown.types';
10
10
  * @param {MultiSelectOptionValues[]} selected - Currently selected items
11
11
  * @param {(selected: MultiSelectOptionValues[]) => void} onSelect - Selection change handler
12
12
  * @param {boolean} [displaySelected=true] - If true, selected value is shown in the trigger; otherwise, label remains static.
13
+ * @param {boolean} [showSelectAll=true] - If true, select all option is show
13
14
  *
14
15
  * @example
15
16
  * <MultiSelectDropdown
@@ -19,5 +20,5 @@ import { MultiSelectDropdownProps } from './MultiSelectDropdown.types';
19
20
  * onSelect={(items) => console.log(items)}
20
21
  * />
21
22
  */
22
- declare const MultiSelectDropdown: ({ label, size, variant, options, selected, onSelect, displaySelected, }: MultiSelectDropdownProps) => import("react/jsx-runtime").JSX.Element;
23
+ declare const MultiSelectDropdown: ({ label, size, variant, options, selected, onSelect, displaySelected, showSelectAll, }: MultiSelectDropdownProps) => import("react/jsx-runtime").JSX.Element;
23
24
  export default MultiSelectDropdown;
@@ -21,4 +21,5 @@ export interface MultiSelectDropdownProps {
21
21
  */
22
22
  onSelect: (selected: MultiSelectOptionValues[]) => void;
23
23
  displaySelected?: boolean;
24
+ showSelectAll?: boolean;
24
25
  }
@@ -10,4 +10,6 @@ export interface SearchBarProps {
10
10
  onSearch?: (value: string) => void;
11
11
  /** Set debounce time and default time is "500" milliseconds. */
12
12
  debounceTime?: number;
13
+ /** Initial value of the search input. */
14
+ defaultValue?: string;
13
15
  }