@cube-dev/ui-kit 0.2.3 → 0.2.7

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.
@@ -1,4 +1,4 @@
1
- export declare function presetStyle({ preset, fontSize, lineHeight, textTransform, letterSpacing, fontWeight, font }: {
1
+ export declare function presetStyle({ preset, fontSize, lineHeight, textTransform, letterSpacing, fontWeight, font, }: {
2
2
  preset: any;
3
3
  fontSize: any;
4
4
  lineHeight: any;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Class for dimension change detection.
3
3
  *
4
- * @param {Element|Element[]|Elements|jQuery} element
4
+ * @param {Element|Element[]|Elements} element
5
5
  * @param {Function} callback
6
6
  *
7
7
  * @constructor
@@ -7,5 +7,6 @@ export interface CubeOverlayWrapperProps {
7
7
  minOffset?: string | number;
8
8
  minScale?: string;
9
9
  withoutTransition?: boolean;
10
+ container?: Element;
10
11
  }
11
- export declare function OverlayWrapper({ isOpen, placement, minOffset, minScale, withoutTransition, children, childrenOnly, }: CubeOverlayWrapperProps): JSX.Element;
12
+ export declare function OverlayWrapper({ isOpen, placement, minOffset, minScale, withoutTransition, children, childrenOnly, container, }: CubeOverlayWrapperProps): import("react").ReactPortal;
@@ -15,7 +15,7 @@ export interface CubeComboBoxProps<T> extends Omit<CubeSelectBaseProps<T>, 'onOp
15
15
  loadingState?: LoadingState;
16
16
  filter?: (val: any, str: string) => boolean;
17
17
  }
18
- declare const _ComboBox: import("react").ForwardRefExoticComponent<CubeComboBoxProps<object> & import("react").RefAttributes<import("@react-types/shared").DOMRefValue<HTMLDivElement>>> & {
18
+ declare const _ComboBox: import("react").ForwardRefExoticComponent<CubeComboBoxProps<object> & import("react").RefAttributes<unknown>> & {
19
19
  cubeInputType: string;
20
20
  Item: <T>(props: import("@react-types/shared").ItemProps<T>) => JSX.Element;
21
21
  };
@@ -25,7 +25,7 @@ export interface CubeSelectProps<T> extends CubeSelectBaseProps<T> {
25
25
  /** The ref for the list box. */
26
26
  listBoxRef?: RefObject<HTMLElement>;
27
27
  }
28
- export declare function ListBoxPopup({ state, popoverRef, listBoxRef, listBoxStyles, overlayStyles, optionStyles, overlayProps: parentOverlayProps, disallowEmptySelection, shouldUseVirtualFocus, placement, ...otherProps }: {
28
+ export declare function ListBoxPopup({ state, popoverRef, listBoxRef, listBoxStyles, overlayStyles, optionStyles, overlayProps: parentOverlayProps, disallowEmptySelection, shouldUseVirtualFocus, placement, minWidth, ...otherProps }: {
29
29
  [x: string]: any;
30
30
  state: any;
31
31
  popoverRef: any;
@@ -37,6 +37,7 @@ export declare function ListBoxPopup({ state, popoverRef, listBoxRef, listBoxSty
37
37
  disallowEmptySelection: any;
38
38
  shouldUseVirtualFocus?: boolean | undefined;
39
39
  placement: any;
40
+ minWidth: any;
40
41
  }): JSX.Element;
41
42
  declare const _Select: import("react").ForwardRefExoticComponent<CubeSelectProps<object> & import("react").RefAttributes<import("@react-types/shared").DOMRefValue<HTMLDivElement>>> & {
42
43
  Item: <T>(props: import("@react-types/shared").ItemProps<T>) => JSX.Element;