@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;
|
package/dist/index.d.ts
CHANGED
|
@@ -5219,18 +5219,20 @@ declare const StatusLight: ({ label, variant, color, size, sx, }: StatusLightPro
|
|
|
5219
5219
|
|
|
5220
5220
|
type TagsListProps = {
|
|
5221
5221
|
tags: string[];
|
|
5222
|
-
|
|
5222
|
+
onTagsUpdate?: (tags: string[]) => Promise<void>;
|
|
5223
|
+
isUpdatingTags?: boolean;
|
|
5223
5224
|
};
|
|
5224
|
-
declare const TagsList: ({ tags: tagsProp,
|
|
5225
|
+
declare const TagsList: ({ tags: tagsProp, onTagsUpdate, isUpdatingTags }: TagsListProps) => React__default.JSX.Element;
|
|
5225
5226
|
|
|
5226
5227
|
type EditTagsButtonProps = {
|
|
5227
5228
|
tags: string[];
|
|
5228
5229
|
tagPool?: string[];
|
|
5229
|
-
onSave: (tags: string[]) => void
|
|
5230
|
+
onSave: (tags: string[]) => Promise<void>;
|
|
5230
5231
|
label?: string;
|
|
5231
5232
|
tooltip?: string;
|
|
5233
|
+
isUpdatingTags?: boolean;
|
|
5232
5234
|
};
|
|
5233
|
-
declare function EditTagsButton({ tags, tagPool, onSave, label, tooltip }: EditTagsButtonProps): React__default.JSX.Element;
|
|
5235
|
+
declare function EditTagsButton({ tags, tagPool, onSave, label, tooltip, isUpdatingTags }: EditTagsButtonProps): React__default.JSX.Element;
|
|
5234
5236
|
|
|
5235
5237
|
type FeatureFlagCheckboxProps = {
|
|
5236
5238
|
label: string;
|