@ultraviolet/ui 1.92.4 → 1.92.6
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/components/SelectInputV2/Dropdown.cjs +13 -11
- package/dist/components/SelectInputV2/Dropdown.d.ts +5 -2
- package/dist/components/SelectInputV2/Dropdown.js +13 -11
- package/dist/components/SelectInputV2/index.cjs +6 -4
- package/dist/components/SelectInputV2/index.d.ts +9 -2
- package/dist/components/SelectInputV2/index.js +6 -4
- package/dist/components/SelectableCardOptionGroup/components/Image.cjs +2 -2
- package/dist/components/SelectableCardOptionGroup/components/Image.js +2 -2
- package/dist/components/UnitInput/index.cjs +13 -7
- package/dist/components/UnitInput/index.d.ts +3 -1
- package/dist/components/UnitInput/index.js +14 -8
- package/package.json +3 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ReactNode, RefObject } from 'react';
|
|
1
|
+
import type { ComponentProps, ReactNode, RefObject } from 'react';
|
|
2
|
+
import { Popup } from '../Popup';
|
|
2
3
|
export type DropdownProps = {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
emptyState: ReactNode;
|
|
@@ -11,6 +12,8 @@ export type DropdownProps = {
|
|
|
11
12
|
optionalInfoPlacement: 'left' | 'right';
|
|
12
13
|
isLoading?: boolean;
|
|
13
14
|
size: 'small' | 'medium' | 'large';
|
|
15
|
+
dropdownAlign?: ComponentProps<typeof Popup>['align'];
|
|
16
|
+
portalTarget?: ComponentProps<typeof Popup>['portalTarget'];
|
|
14
17
|
};
|
|
15
18
|
export type CreateDropdownProps = {
|
|
16
19
|
isEmpty: boolean;
|
|
@@ -21,4 +24,4 @@ export type CreateDropdownProps = {
|
|
|
21
24
|
defaultSearchValue: string | null;
|
|
22
25
|
isLoading?: boolean;
|
|
23
26
|
};
|
|
24
|
-
export declare const Dropdown: ({ children, emptyState, descriptionDirection, searchable, placeholder, footer, refSelect, loadMore, optionalInfoPlacement, isLoading, size, }: DropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const Dropdown: ({ children, emptyState, descriptionDirection, searchable, placeholder, footer, refSelect, loadMore, optionalInfoPlacement, isLoading, size, dropdownAlign, portalTarget, }: DropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|