@uxf/ui 11.80.0 → 11.80.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.
@@ -8,13 +8,13 @@ import { FormControlProps } from "../types";
8
8
  /** @deprecated use import { SelectableId } from "@uxf/core/types" */
9
9
  export type MultiSelectValueId = SelectableId;
10
10
  export type MultiSelectValue<T extends SelectableId> = T[] | null;
11
- export type MultiSelectOption<T = MultiSelectValueId> = {
11
+ export type MultiSelectOption<T = SelectableId> = {
12
12
  color?: ChipColor;
13
13
  disabled?: boolean;
14
14
  id: T;
15
15
  label: ReactNode;
16
16
  };
17
- export interface MultiSelectProps<ValueId = MultiSelectValueId, Option = MultiSelectOption<ValueId>> extends FormControlProps<ValueId[] | null> {
17
+ export interface MultiSelectProps<ValueId extends SelectableId = SelectableId, Option = MultiSelectOption<ValueId>> extends FormControlProps<MultiSelectValue<ValueId>> {
18
18
  allOptionsSelectedMessage?: string;
19
19
  className?: string;
20
20
  dropdownClassName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/ui",
3
- "version": "11.80.0",
3
+ "version": "11.80.1",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"