@up42/up-components 4.14.0 → 4.15.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/cjs/index.js +2 -2
- package/dist/cjs/types/components/EditTagsButton/EditTagsButton.d.ts +3 -2
- package/dist/cjs/types/components/FeatureCardHeader/FeatureCardHeader.d.ts +6 -5
- package/dist/cjs/types/components/TagsList/TagsList.d.ts +3 -2
- package/dist/cjs/types/global/icons/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/components/EditTagsButton/EditTagsButton.d.ts +3 -2
- package/dist/esm/types/components/FeatureCardHeader/FeatureCardHeader.d.ts +6 -5
- package/dist/esm/types/components/TagsList/TagsList.d.ts +3 -2
- package/dist/esm/types/global/icons/index.d.ts +1 -0
- package/dist/index.d.ts +318 -277
- 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;
|
|
@@ -3,9 +3,10 @@ import { CheckboxProps } from '../Checkbox/Checkbox';
|
|
|
3
3
|
export type FeatureCardHeaderProps = {
|
|
4
4
|
header: string;
|
|
5
5
|
subheader?: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
imageProps?: {
|
|
7
|
+
url?: string;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
};
|
|
10
|
+
checkboxProps?: CheckboxProps;
|
|
10
11
|
};
|
|
11
|
-
export declare const FeatureCardHeader: ({ header, subheader,
|
|
12
|
+
export declare const FeatureCardHeader: ({ header, subheader, checkboxProps, imageProps }: FeatureCardHeaderProps) => 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;
|
|
@@ -67,6 +67,7 @@ export { default as Copy } from './Copy.svg';
|
|
|
67
67
|
export { default as Credit } from './Credit.svg';
|
|
68
68
|
export { default as Dashboard } from './Dashboard.svg';
|
|
69
69
|
export { default as DataTransferVertical } from './DataTransferVertical.svg';
|
|
70
|
+
export { default as Delivery } from './Delivery.svg';
|
|
70
71
|
export { default as DollarCoinCircleFilled } from './DollarCoinCircleFilled.svg';
|
|
71
72
|
export { default as DottedLines } from './DottedLines.svg';
|
|
72
73
|
export { default as Download } from './Download.svg';
|