@up42/up-components 4.14.0 → 4.14.1
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/index.js +2 -2
- package/dist/cjs/types/components/EditTagsButton/EditTagsButton.d.ts +3 -2
- package/dist/cjs/types/components/TagsList/TagsList.d.ts +3 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/components/EditTagsButton/EditTagsButton.d.ts +3 -2
- package/dist/esm/types/components/TagsList/TagsList.d.ts +3 -2
- package/dist/index.d.ts +6 -4
- package/package.json +1 -1
|
@@ -2,8 +2,9 @@ import React from 'react';
|
|
|
2
2
|
export type EditTagsButtonProps = {
|
|
3
3
|
tags: string[];
|
|
4
4
|
tagPool?: string[];
|
|
5
|
-
onSave: (tags: string[]) => void
|
|
5
|
+
onSave: (tags: string[]) => Promise<void>;
|
|
6
6
|
label?: string;
|
|
7
7
|
tooltip?: string;
|
|
8
|
+
isUpdatingTags?: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare function EditTagsButton({ tags, tagPool, onSave, label, tooltip }: EditTagsButtonProps): React.JSX.Element;
|
|
10
|
+
export declare function EditTagsButton({ tags, tagPool, onSave, label, tooltip, isUpdatingTags }: EditTagsButtonProps): React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type TagsListProps = {
|
|
3
3
|
tags: string[];
|
|
4
|
-
|
|
4
|
+
onTagsUpdate?: (tags: string[]) => Promise<void>;
|
|
5
|
+
isUpdatingTags?: boolean;
|
|
5
6
|
};
|
|
6
|
-
export declare const TagsList: ({ tags: tagsProp,
|
|
7
|
+
export declare const TagsList: ({ tags: tagsProp, onTagsUpdate, isUpdatingTags }: TagsListProps) => React.JSX.Element;
|