@blockbite/ui 2.0.28 → 2.1.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.
- package/dist/ChapterDivider.d.ts +2 -2
- package/dist/EmptyState.d.ts +2 -1
- package/dist/Tabs.d.ts +2 -2
- package/dist/TagInput.d.ts +4 -1
- package/dist/index.js +2266 -2158
- package/dist/index.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +5 -5
package/dist/ChapterDivider.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ type ChapterDividerProps = {
|
|
|
4
4
|
help?: string;
|
|
5
5
|
badge?: string;
|
|
6
6
|
addon?: React.ReactNode;
|
|
7
|
-
|
|
7
|
+
divider?: boolean;
|
|
8
8
|
[key: string]: any;
|
|
9
9
|
};
|
|
10
|
-
export declare const ChapterDivider: ({ title, className, help, badge, addon,
|
|
10
|
+
export declare const ChapterDivider: ({ title, className, help, badge, addon, divider, ...props }: ChapterDividerProps) => JSX.Element;
|
|
11
11
|
export {};
|
package/dist/EmptyState.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ type Props = {
|
|
|
3
3
|
title: string;
|
|
4
4
|
description: string;
|
|
5
5
|
children?: React.ReactNode;
|
|
6
|
+
size?: 'small' | 'medium';
|
|
6
7
|
[key: string]: any;
|
|
7
8
|
};
|
|
8
|
-
export declare function EmptyState({ icon, title, description, children, ...rest }: Props): JSX.Element;
|
|
9
|
+
export declare function EmptyState({ icon, title, description, children, size, ...rest }: Props): JSX.Element;
|
|
9
10
|
export {};
|
package/dist/Tabs.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ type TabsProps = {
|
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
style?: React.CSSProperties;
|
|
8
8
|
};
|
|
9
|
-
export declare const TabsWrapper: ({ children, defaultValue, value, onValueChange, ...rest }: TabsProps) => JSX.Element;
|
|
9
|
+
export declare const TabsWrapper: ({ children, defaultValue, value, onValueChange, className, ...rest }: TabsProps) => JSX.Element;
|
|
10
10
|
type TabsListProps = {
|
|
11
11
|
options: {
|
|
12
12
|
name: string;
|
|
@@ -25,7 +25,7 @@ type TabsContentProps = {
|
|
|
25
25
|
};
|
|
26
26
|
export declare const TabsContent: ({ value, children, className, }: TabsContentProps) => string | number | boolean | Iterable<import('../wp.element').ReactNode> | JSX.Element;
|
|
27
27
|
export declare const Tabs: {
|
|
28
|
-
Wrapper: ({ children, defaultValue, value, onValueChange, ...rest }: TabsProps) => JSX.Element;
|
|
28
|
+
Wrapper: ({ children, defaultValue, value, onValueChange, className, ...rest }: TabsProps) => JSX.Element;
|
|
29
29
|
List: ({ options, children, className, onValueChange, }: TabsListProps) => JSX.Element;
|
|
30
30
|
Content: ({ value, children, className, }: TabsContentProps) => string | number | boolean | Iterable<import('../wp.element').ReactNode> | JSX.Element;
|
|
31
31
|
};
|
package/dist/TagInput.d.ts
CHANGED
|
@@ -8,10 +8,13 @@ type TagInputProps = {
|
|
|
8
8
|
onChange?: (tokens: string[]) => void;
|
|
9
9
|
onInputChange?: (inputValue: string) => void;
|
|
10
10
|
suggestions?: string[];
|
|
11
|
+
onLoadMore?: () => void;
|
|
12
|
+
hasMore?: boolean;
|
|
13
|
+
isLoading?: boolean;
|
|
11
14
|
[key: string]: any;
|
|
12
15
|
};
|
|
13
16
|
export declare const TagInput: {
|
|
14
|
-
({ className, inputClassName, value, label, helper, placeholder, onChange, onInputChange, suggestions, ...props }: TagInputProps): JSX.Element;
|
|
17
|
+
({ className, inputClassName, value, label, helper, placeholder, onChange, onInputChange, suggestions, onLoadMore, hasMore, isLoading, ...props }: TagInputProps): JSX.Element;
|
|
15
18
|
displayName: string;
|
|
16
19
|
};
|
|
17
20
|
export {};
|