@scbt-ecom/ui 0.96.7 → 0.96.8

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.
@@ -3,7 +3,7 @@ export type DropdownListClasses = {
3
3
  root?: string;
4
4
  item?: DropdownItemClasses;
5
5
  };
6
- export interface DropdownListProps<Multi extends boolean> extends React.HTMLAttributes<HTMLUListElement> {
6
+ export interface DropdownListProps<Multi extends boolean = false> extends React.HTMLAttributes<HTMLUListElement> {
7
7
  options: DropdownItemOption[];
8
8
  /**
9
9
  * Значения выбранные по умолчанию
@@ -17,7 +17,7 @@ export interface DropdownListProps<Multi extends boolean> extends React.HTMLAttr
17
17
  /**
18
18
  * Поддержка множественного выбора
19
19
  */
20
- multiple: Multi;
20
+ multiple?: Multi;
21
21
  /**
22
22
  * Функция для управления отображаемым значением
23
23
  */
@@ -22,5 +22,6 @@ export declare const useCombobox: <Multi extends boolean>(props: UseComboboxOpti
22
22
  search: string;
23
23
  onInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
24
24
  state: ComboboxValue<Multi>;
25
+ comboboxDisplayValue: (value: ComboboxValue<Multi>) => string | undefined;
25
26
  };
26
27
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scbt-ecom/ui",
3
- "version": "0.96.7",
3
+ "version": "0.96.8",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -107,7 +107,7 @@
107
107
  "@tiptap/react": "^2.9.1",
108
108
  "@tiptap/starter-kit": "^2.9.1",
109
109
  "class-variance-authority": "^0.7.0",
110
- "clsx": "^2.1.1",
110
+ "clsx": "2.1.1",
111
111
  "date-fns": "^4.1.0",
112
112
  "ejs": "^3.1.10",
113
113
  "embla-carousel": "^8.5.2",
@@ -125,7 +125,7 @@
125
125
  "uuid": "^11.1.0",
126
126
  "vite-plugin-svgr": "^4.3.0",
127
127
  "@hookform/resolvers": "^3.9.0",
128
- "tailwind-merge": "^2.4.0",
128
+ "tailwind-merge": "2.4.0",
129
129
  "tailwindcss": "^3.4.7",
130
130
  "tailwindcss-animate": "^1.0.7",
131
131
  "zod": "^3.23.8",