@up42/up-components 5.0.0 → 5.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/cjs/index.js +2 -2
- package/dist/cjs/types/components/EditTagsButton/EditTagsCard.d.ts +9 -0
- package/dist/cjs/types/components/EditTagsButton/EditTagsModal.d.ts +6 -0
- package/dist/cjs/types/components/EditTagsButton/SearchTags.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/components/EditTagsButton/EditTagsCard.d.ts +9 -0
- package/dist/esm/types/components/EditTagsButton/EditTagsModal.d.ts +6 -0
- package/dist/esm/types/components/EditTagsButton/SearchTags.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
type EditTagsCardProps = {
|
|
3
|
+
onClose: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
4
|
+
onSave: () => void;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
isUpdatingTags?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const EditTagsCard: React.ForwardRefExoticComponent<EditTagsCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
export type EditTagsModalProps = PropsWithChildren<{
|
|
3
|
+
open: boolean;
|
|
4
|
+
onClose: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const EditTagsModal: ({ open, onClose, children }: EditTagsModalProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type SearchTagsProps = {
|
|
3
3
|
tags: string[];
|
|
4
|
-
|
|
4
|
+
onAddTags: (tags: string[]) => void;
|
|
5
5
|
};
|
|
6
|
-
export declare const SearchTags: ({ tags,
|
|
6
|
+
export declare const SearchTags: ({ tags, onAddTags }: SearchTagsProps) => React.JSX.Element;
|