zaravand-ui 4.4.1 → 4.5.0

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.
@@ -21,6 +21,8 @@ export interface SelectProps extends Omit<React.ComponentProps<typeof SelectPrim
21
21
  value: string;
22
22
  label: string;
23
23
  disabled?: boolean;
24
+ /** Options sharing the same `group` are rendered under one heading, in first-appearance order. */
25
+ group?: string;
24
26
  }>;
25
27
  remoteOptions?: {
26
28
  loadOptions: (input: {
@@ -32,6 +34,7 @@ export interface SelectProps extends Omit<React.ComponentProps<typeof SelectPrim
32
34
  value: string;
33
35
  label: string;
34
36
  disabled?: boolean;
37
+ group?: string;
35
38
  }>;
36
39
  totalItems?: number;
37
40
  hasMore?: boolean;