@itsyouagency/ui 1.5.0 → 1.9.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.
@@ -0,0 +1,3 @@
1
+ body {
2
+ @apply bg-white;
3
+ }
@@ -0,0 +1,6 @@
1
+ <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2 7.8C2 6.11984 2 5.27976 2.32698 4.63803C2.6146 4.07354 3.07354 3.6146 3.63803 3.32698C4.27976 3 5.11984 3 6.8 3H17.2C18.8802 3 19.7202 3 20.362 3.32698C20.9265 3.6146 21.3854 4.07354 21.673 4.63803C22 5.27976 22 6.11984 22 7.8V16.2C22 17.8802 22 18.7202 21.673 19.362C21.3854 19.9265 20.9265 20.3854 20.362 20.673C19.7202 21 18.8802 21 17.2 21H6.8C5.11984 21 4.27976 21 3.63803 20.673C3.07354 20.3854 2.6146 19.9265 2.32698 19.362C2 18.7202 2 17.8802 2 16.2V7.8Z"
3
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z"
5
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,10 @@
1
+ export type FileUploadDragProps = {
2
+ onChange?: (file: {
3
+ blob: Blob;
4
+ url: any;
5
+ }) => void;
6
+ accept?: string[];
7
+ error?: string;
8
+ };
9
+ declare const FileUploadDrag: ({ onChange, accept, error, }: FileUploadDragProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default FileUploadDrag;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const map: {
3
3
  Upload: React.FC<React.SVGProps<SVGSVGElement>>;
4
+ Camera: React.FC<React.SVGProps<SVGSVGElement>>;
4
5
  Eye: React.FC<React.SVGProps<SVGSVGElement>>;
5
6
  ChevronDown: React.FC<React.SVGProps<SVGSVGElement>>;
6
7
  Close: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -6,6 +6,7 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
6
6
  label?: string;
7
7
  placeholder?: string;
8
8
  error?: string;
9
+ hideError?: boolean;
9
10
  }
10
11
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
11
12
  export default Input;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IItem } from '../../types';
3
+ import { InputProps } from './Input';
4
+ export interface IRadioGroupProps extends InputProps {
5
+ options: IItem[];
6
+ }
7
+ declare const RadioGroup: React.ForwardRefExoticComponent<IRadioGroupProps & React.RefAttributes<unknown>>;
8
+ export default RadioGroup;
@@ -7,7 +7,7 @@ export { default as DashboardTabs } from './base/DashboardTabs';
7
7
  export { default as DatePicker } from './base/DatePicker';
8
8
  export { default as Dropdown } from './base/Dropdown';
9
9
  export { default as FileIconLink } from './base/FileIconLink';
10
- export { default as Icon } from './base/Icon';
10
+ export { default as Icon, IconType } from './base/Icon';
11
11
  export { default as ImageFullView } from './base/ImageFullView';
12
12
  export { default as InfoTooltip } from './base/InfoTooltip';
13
13
  export { default as Input, InputProps } from './base/Input';
@@ -24,3 +24,5 @@ export { default as Tabs } from './base/Tabs';
24
24
  export { default as Tag } from './base/Tag';
25
25
  export { default as TextArea } from './base/TextArea';
26
26
  export { default as Tooltip } from './base/Tooltip';
27
+ export { default as FileUploadDrag } from './base/FileUploadDrag';
28
+ export { default as RadioGroup } from './base/RadioGroup';