@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.
- package/dist/cjs/components/overlays/OverlayWrapper.d.ts +2 -1
- package/dist/cjs/components/pickers/ComboBox/ComboBox.d.ts +1 -1
- package/dist/cjs/components/pickers/Select/Select.d.ts +2 -1
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/preset.d.ts +1 -1
- package/dist/cjs/utils/ResizeSensor.d.ts +1 -1
- package/dist/mjs/components/overlays/OverlayWrapper.d.ts +2 -1
- package/dist/mjs/components/pickers/ComboBox/ComboBox.d.ts +1 -1
- package/dist/mjs/components/pickers/Select/Select.d.ts +2 -1
- package/dist/mjs/index.js +7 -7
- package/dist/mjs/index.js.map +1 -1
- package/dist/mjs/styles/preset.d.ts +1 -1
- package/dist/mjs/utils/ResizeSensor.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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):
|
|
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<
|
|
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;
|