@scbt-ecom/ui 0.108.1 → 0.109.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.
@@ -84,6 +84,11 @@ export interface ComboboxProps<Multi extends boolean> extends Omit<DropdownListP
84
84
  * Выключить фильтрацию списка
85
85
  */
86
86
  filterDisabled?: boolean;
87
+ /**
88
+ * Включить рендеринг в портале
89
+ * @param portal document.body
90
+ */
91
+ portal?: false | HTMLElement;
87
92
  }
88
93
  export declare const Combobox: <Multi extends boolean>(props: ComboboxProps<Multi> & {
89
94
  ref?: ForwardedRef<HTMLInputElement>;
@@ -29,3 +29,4 @@ export * from './formElements';
29
29
  export * from './icon';
30
30
  export * from './chips';
31
31
  export * from './dropdownList';
32
+ export * from './portal';
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ export interface PortalProps {
3
+ children: ReactNode;
4
+ root?: HTMLElement | false;
5
+ }
6
+ export declare const Portal: (props: PortalProps) => ReactNode;
@@ -0,0 +1 @@
1
+ export * from './Portal';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scbt-ecom/ui",
3
- "version": "0.108.1",
3
+ "version": "0.109.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {