@itsyouagency/ui 1.25.0 → 1.27.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/assets/icons/flag-01.svg +4 -0
- package/dist/assets/icons/heart.svg +5 -0
- package/dist/assets/icons/link-external-02.svg +4 -0
- package/dist/assets/icons/share-06.svg +4 -0
- package/dist/assets/icons/trash-01.svg +4 -0
- package/dist/components/base/FileMultiUploadDrag.d.ts +8 -0
- package/dist/components/base/Icon.d.ts +5 -0
- package/dist/components/base/IconButton.d.ts +5 -1
- package/dist/components/base/ImageFullView.d.ts +3 -1
- package/dist/components/base/InfoTooltip.d.ts +3 -2
- package/dist/components/base/Modal.d.ts +0 -6
- package/dist/components/base/Tooltip.d.ts +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M4 15C4 15 5 14 8 14C11 14 13 16 16 16C19 16 20 15 20 15V3C20 3 19 4 16 4C13 4 11 2 8 2C5 2 4 3 4 3L4 22"
|
|
3
|
+
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
3
|
+
d="M11.9932 5.13581C9.9938 2.7984 6.65975 2.16964 4.15469 4.31001C1.64964 6.45038 1.29697 10.029 3.2642 12.5604C4.89982 14.6651 9.84977 19.1041 11.4721 20.5408C11.6536 20.7016 11.7444 20.7819 11.8502 20.8135C11.9426 20.8411 12.0437 20.8411 12.1361 20.8135C12.2419 20.7819 12.3327 20.7016 12.5142 20.5408C14.1365 19.1041 19.0865 14.6651 20.7221 12.5604C22.6893 10.029 22.3797 6.42787 19.8316 4.31001C17.2835 2.19216 13.9925 2.7984 11.9932 5.13581Z"
|
|
4
|
+
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 9.00001L21 3.00001M21 3.00001H15M21 3.00001L12 12M10 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V14"
|
|
3
|
+
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M20.7914 12.6074C21.0355 12.3981 21.1575 12.2935 21.2023 12.169C21.2415 12.0598 21.2415 11.9402 21.2023 11.831C21.1575 11.7065 21.0355 11.6018 20.7914 11.3926L12.3206 4.13196C11.9004 3.77176 11.6903 3.59166 11.5124 3.58725C11.3578 3.58342 11.2101 3.65134 11.1124 3.77122C11 3.90915 11 4.18589 11 4.73936V9.03462C8.86532 9.40807 6.91159 10.4897 5.45971 12.1139C3.87682 13.8845 3.00123 16.1759 3 18.551V19.1629C4.04934 17.8989 5.35951 16.8765 6.84076 16.1659C8.1467 15.5394 9.55842 15.1683 11 15.0705V19.2606C11 19.8141 11 20.0908 11.1124 20.2288C11.2101 20.3486 11.3578 20.4166 11.5124 20.4127C11.6903 20.4083 11.9004 20.2282 12.3206 19.868L20.7914 12.6074Z"
|
|
3
|
+
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16 6V5.2C16 4.0799 16 3.51984 15.782 3.09202C15.5903 2.71569 15.2843 2.40973 14.908 2.21799C14.4802 2 13.9201 2 12.8 2H11.2C10.0799 2 9.51984 2 9.09202 2.21799C8.71569 2.40973 8.40973 2.71569 8.21799 3.09202C8 3.51984 8 4.0799 8 5.2V6M10 11.5V16.5M14 11.5V16.5M3 6H21M19 6V17.2C19 18.8802 19 19.7202 18.673 20.362C18.3854 20.9265 17.9265 21.3854 17.362 21.673C16.7202 22 15.8802 22 14.2 22H9.8C8.11984 22 7.27976 22 6.63803 21.673C6.07354 21.3854 5.6146 20.9265 5.32698 20.362C5 19.7202 5 18.8802 5 17.2V6"
|
|
3
|
+
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FileUploadDragProps } from './FileUploadDrag';
|
|
2
|
+
declare const FileMultiUploadDrag: ({ onChange, accept, error, className, text, loaderColor, multiple, isLoading, loadingText, }: Omit<FileUploadDragProps, "onChange"> & {
|
|
3
|
+
multiple?: boolean;
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
loadingText?: string;
|
|
6
|
+
onChange?: (files: Blob[]) => void;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default FileMultiUploadDrag;
|
|
@@ -73,6 +73,11 @@ declare const map: {
|
|
|
73
73
|
Inbox: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
74
74
|
Hourglass: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
75
75
|
Filter: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
76
|
+
Heart: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
77
|
+
Flag: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
78
|
+
Trash: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
79
|
+
Share: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
80
|
+
Link: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
76
81
|
};
|
|
77
82
|
export type IconType = keyof typeof map;
|
|
78
83
|
interface Props extends React.SVGAttributes<SVGElement> {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { HTMLAttributeAnchorTarget, MouseEventHandler } from 'react';
|
|
2
2
|
import { IconType } from './Icon';
|
|
3
|
-
declare const IconButton: ({ onClick, icon, isLoading, href, target, disabled, }: {
|
|
3
|
+
declare const IconButton: ({ onClick, icon, isLoading, href, target, disabled, className, size, iconClassName, loaderColor, }: {
|
|
4
4
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
5
5
|
isLoading?: boolean;
|
|
6
6
|
icon: IconType;
|
|
7
7
|
href?: HTMLAttributeAnchorTarget;
|
|
8
8
|
target?: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
iconClassName?: string;
|
|
12
|
+
size?: number;
|
|
13
|
+
loaderColor?: "light" | "dark";
|
|
10
14
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
15
|
export default IconButton;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
declare const ImageFullView: ({ imageUrl, onClose, image, children, }: {
|
|
2
3
|
imageUrl?: string;
|
|
3
4
|
onClose?: () => void;
|
|
4
5
|
image?: any;
|
|
6
|
+
children?: ReactNode;
|
|
5
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export default ImageFullView;
|
|
@@ -4,9 +4,10 @@ import type { AnchorProps } from '@headlessui/react/dist/internal/floating';
|
|
|
4
4
|
interface Props {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
size?: number;
|
|
7
|
-
icon?: IconType;
|
|
7
|
+
icon?: IconType | ReactNode;
|
|
8
8
|
iconClassName?: string;
|
|
9
|
+
className?: string;
|
|
9
10
|
anchor?: AnchorProps;
|
|
10
11
|
}
|
|
11
|
-
declare function InfoTooltip({ children, size, icon, iconClassName, anchor, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function InfoTooltip({ children, size, icon, iconClassName, anchor, className, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default InfoTooltip;
|
|
@@ -4,12 +4,6 @@ export interface IModalClassNames {
|
|
|
4
4
|
root?: string;
|
|
5
5
|
container?: string;
|
|
6
6
|
innerContainer?: string;
|
|
7
|
-
transitionEnter?: string;
|
|
8
|
-
transitionEnterFrom?: string;
|
|
9
|
-
transitionEnterTo?: string;
|
|
10
|
-
transitionLeave?: string;
|
|
11
|
-
transitionLeaveFrom?: string;
|
|
12
|
-
transitionLeaveTo?: string;
|
|
13
7
|
content?: string;
|
|
14
8
|
panel?: string;
|
|
15
9
|
}
|
|
@@ -26,6 +26,8 @@ export { default as Tag } from './base/Tag';
|
|
|
26
26
|
export { default as TextArea, TextAreaProps, } from './base/TextArea';
|
|
27
27
|
export { default as Tooltip } from './base/Tooltip';
|
|
28
28
|
export { default as FileUploadDrag } from './base/FileUploadDrag';
|
|
29
|
+
export { default as FileMultiUploadDrag } from './base/FileMultiUploadDrag';
|
|
29
30
|
export { default as RadioGroup } from './base/RadioGroup';
|
|
31
|
+
export { default as FooterMini } from './base/FooterMini';
|
|
30
32
|
export { default as MatchableSortableTable, IMatchableSortableTableProps, } from './base/Table/MatchableSortableTable';
|
|
31
33
|
export { TDashboardNav } from './base/DashboardNav';
|