@apify/ui-library 1.168.1 → 1.168.2
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/dropdown/dropdown.types.d.ts +2 -2
- package/dist/components/dropdown/dropdown.types.d.ts.map +1 -1
- package/dist/components/split_button/split_button.d.ts +3 -3
- package/dist/components/split_button/split_button.d.ts.map +1 -1
- package/dist/files_hash_at_build.txt +1 -1
- package/dist/src/components/dropdown/dropdown.types.d.ts +2 -2
- package/dist/src/components/dropdown/dropdown.types.d.ts.map +1 -1
- package/dist/src/components/split_button/split_button.d.ts +3 -3
- package/dist/src/components/split_button/split_button.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/components/dropdown/dropdown.types.ts +2 -2
- package/src/components/split_button/split_button.tsx +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apify/ui-library",
|
|
3
|
-
"version": "1.168.
|
|
3
|
+
"version": "1.168.2",
|
|
4
4
|
"description": "React UI library used by apify.com",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"src",
|
|
95
95
|
"style"
|
|
96
96
|
],
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "9b5709c7d03526fdda3f4ad091c5890b4e745891"
|
|
98
98
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DropdownMenuContentProps } from '@radix-ui/react-dropdown-menu';
|
|
2
2
|
import type * as React from 'react';
|
|
3
3
|
|
|
4
4
|
export type BaseDropdownItemProps = {
|
|
@@ -14,5 +14,5 @@ export type BaseDropdownContentProps = {
|
|
|
14
14
|
height?: string;
|
|
15
15
|
closeOnSelect?: boolean;
|
|
16
16
|
zIndex?: number;
|
|
17
|
-
contentProps?:
|
|
17
|
+
contentProps?: DropdownMenuContentProps;
|
|
18
18
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DropdownMenuContentProps } from '@radix-ui/react-dropdown-menu';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import type { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
|
|
4
4
|
import { useRef, useState } from 'react';
|
|
@@ -32,8 +32,8 @@ export interface SplitButtonProps
|
|
|
32
32
|
/** Must contain at least two actions - a single action should just be a regular Button. */
|
|
33
33
|
actions: SplitButtonAction[];
|
|
34
34
|
label?: ReactNode;
|
|
35
|
-
side?:
|
|
36
|
-
align?:
|
|
35
|
+
side?: DropdownMenuContentProps['side'];
|
|
36
|
+
align?: DropdownMenuContentProps['align'];
|
|
37
37
|
width?: string;
|
|
38
38
|
showMainIcon?: boolean;
|
|
39
39
|
/** @deprecated Wrap `SplitButton` in `Tooltip` instead. */
|