property-practice-ui 0.1.5 → 0.3.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/Button-GGqCRrab.d.cts +29 -0
  3. package/dist/Button-GGqCRrab.d.ts +29 -0
  4. package/dist/FileButton-DGczdE12.d.cts +22 -0
  5. package/dist/FileButton-HFyj2Jod.d.ts +22 -0
  6. package/dist/Textarea-BVqF5_5c.d.cts +45 -0
  7. package/dist/Textarea-BVqF5_5c.d.ts +45 -0
  8. package/dist/atoms.cjs +5 -3
  9. package/dist/atoms.cjs.map +1 -1
  10. package/dist/atoms.d.cts +14 -3
  11. package/dist/atoms.d.ts +14 -3
  12. package/dist/atoms.js +5 -3
  13. package/dist/atoms.js.map +1 -1
  14. package/dist/index.cjs +794 -300
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.d.cts +11 -400
  17. package/dist/index.d.ts +11 -400
  18. package/dist/index.js +790 -296
  19. package/dist/index.js.map +1 -1
  20. package/dist/molecules.cjs +2457 -0
  21. package/dist/molecules.cjs.map +1 -0
  22. package/dist/molecules.d.cts +283 -0
  23. package/dist/molecules.d.ts +283 -0
  24. package/dist/molecules.js +2431 -0
  25. package/dist/molecules.js.map +1 -0
  26. package/dist/organisms.cjs +2859 -0
  27. package/dist/organisms.cjs.map +1 -0
  28. package/dist/organisms.d.cts +126 -0
  29. package/dist/organisms.d.ts +126 -0
  30. package/dist/organisms.js +2845 -0
  31. package/dist/organisms.js.map +1 -0
  32. package/dist/{toast-CvZfLJrO.d.cts → tableListItem-irbfqxnQ.d.cts} +1 -3
  33. package/dist/{toast-CvZfLJrO.d.ts → tableListItem-irbfqxnQ.d.ts} +1 -3
  34. package/dist/toast-JPCqJveR.d.cts +3 -0
  35. package/dist/toast-JPCqJveR.d.ts +3 -0
  36. package/dist/types.d.cts +2 -1
  37. package/dist/types.d.ts +2 -1
  38. package/package.json +11 -1
  39. package/tsup.config.ts +2 -0
  40. package/dist/Textarea-u7ONHI5M.d.cts +0 -79
  41. package/dist/Textarea-u7ONHI5M.d.ts +0 -79
@@ -1,79 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactElement, ChangeEvent } from 'react';
3
- import { ChangeHandler } from 'react-hook-form';
4
-
5
- declare const InputTypes: readonly ["number", "text", "email", "date"];
6
- type InputType = (typeof InputTypes)[number];
7
- interface BaseInputProps {
8
- name: string;
9
- label?: string;
10
- type?: InputType;
11
- placeholder?: string;
12
- onBlur?: ChangeHandler;
13
- onFocus?: () => void;
14
- }
15
- type Option<T> = {
16
- label: string;
17
- value: T;
18
- disabled?: boolean;
19
- };
20
-
21
- declare const variants$1: readonly ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "active", "hover", "error", "focus", "success"];
22
- declare const tokens: readonly ["background", "border", "text", "button"];
23
- type Token = (typeof tokens)[number];
24
- type Variant$1 = (typeof variants$1)[number];
25
- type TokenVariant = Record<Variant$1, string>;
26
- declare const colors: Record<Token, Partial<TokenVariant>>;
27
-
28
- declare const ButtonTypes: readonly ["submit", "reset", "button"];
29
- type ButtonType = (typeof ButtonTypes)[number];
30
- declare const variants: readonly ["dark", "light"];
31
- type Variant = (typeof variants)[number];
32
- interface ButtonProps {
33
- onClick?: () => void;
34
- text?: string;
35
- type?: ButtonType;
36
- disabled?: boolean;
37
- icon?: ReactElement;
38
- variant?: Variant;
39
- isLoading?: boolean;
40
- }
41
- declare const Button: {
42
- ({ onClick, text, type, disabled, icon, variant, isLoading, }: ButtonProps): react_jsx_runtime.JSX.Element;
43
- types: readonly ["submit", "reset", "button"];
44
- };
45
-
46
- interface ExtendedButtonProps {
47
- text: string;
48
- onClick?: () => void;
49
- arrowVariant?: 'brand' | 'teal' | 'blue';
50
- textBgVariant?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'blue' | 'brand' | 'light' | 'transparent';
51
- textVariant?: 'brand' | 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'light' | 'error' | 'blue';
52
- }
53
- declare const ExtendedButton: ({ text, onClick, arrowVariant, textBgVariant, textVariant, }: ExtendedButtonProps) => react_jsx_runtime.JSX.Element;
54
-
55
- interface InputProps extends Omit<BaseInputProps, 'label'> {
56
- onChange: (event: ChangeEvent<HTMLInputElement>) => void;
57
- disabled?: boolean;
58
- value?: string | number;
59
- min?: string | number;
60
- max?: string | number;
61
- }
62
- declare const Input: {
63
- ({ name, onChange, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
64
- types: readonly ["number", "text", "email", "date"];
65
- };
66
-
67
- interface TextareaProps extends Omit<BaseInputProps, 'label'> {
68
- onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
69
- disabled?: boolean;
70
- value?: string | number;
71
- rows?: number;
72
- cols?: number;
73
- }
74
- declare const Textarea: {
75
- ({ name, onChange, rows, ...rest }: TextareaProps): react_jsx_runtime.JSX.Element;
76
- types: readonly ["number", "text", "email", "date"];
77
- };
78
-
79
- export { Button as B, ExtendedButton as E, Input as I, type Option as O, Textarea as T, type BaseInputProps as a, colors as c };
@@ -1,79 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactElement, ChangeEvent } from 'react';
3
- import { ChangeHandler } from 'react-hook-form';
4
-
5
- declare const InputTypes: readonly ["number", "text", "email", "date"];
6
- type InputType = (typeof InputTypes)[number];
7
- interface BaseInputProps {
8
- name: string;
9
- label?: string;
10
- type?: InputType;
11
- placeholder?: string;
12
- onBlur?: ChangeHandler;
13
- onFocus?: () => void;
14
- }
15
- type Option<T> = {
16
- label: string;
17
- value: T;
18
- disabled?: boolean;
19
- };
20
-
21
- declare const variants$1: readonly ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "active", "hover", "error", "focus", "success"];
22
- declare const tokens: readonly ["background", "border", "text", "button"];
23
- type Token = (typeof tokens)[number];
24
- type Variant$1 = (typeof variants$1)[number];
25
- type TokenVariant = Record<Variant$1, string>;
26
- declare const colors: Record<Token, Partial<TokenVariant>>;
27
-
28
- declare const ButtonTypes: readonly ["submit", "reset", "button"];
29
- type ButtonType = (typeof ButtonTypes)[number];
30
- declare const variants: readonly ["dark", "light"];
31
- type Variant = (typeof variants)[number];
32
- interface ButtonProps {
33
- onClick?: () => void;
34
- text?: string;
35
- type?: ButtonType;
36
- disabled?: boolean;
37
- icon?: ReactElement;
38
- variant?: Variant;
39
- isLoading?: boolean;
40
- }
41
- declare const Button: {
42
- ({ onClick, text, type, disabled, icon, variant, isLoading, }: ButtonProps): react_jsx_runtime.JSX.Element;
43
- types: readonly ["submit", "reset", "button"];
44
- };
45
-
46
- interface ExtendedButtonProps {
47
- text: string;
48
- onClick?: () => void;
49
- arrowVariant?: 'brand' | 'teal' | 'blue';
50
- textBgVariant?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'blue' | 'brand' | 'light' | 'transparent';
51
- textVariant?: 'brand' | 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'light' | 'error' | 'blue';
52
- }
53
- declare const ExtendedButton: ({ text, onClick, arrowVariant, textBgVariant, textVariant, }: ExtendedButtonProps) => react_jsx_runtime.JSX.Element;
54
-
55
- interface InputProps extends Omit<BaseInputProps, 'label'> {
56
- onChange: (event: ChangeEvent<HTMLInputElement>) => void;
57
- disabled?: boolean;
58
- value?: string | number;
59
- min?: string | number;
60
- max?: string | number;
61
- }
62
- declare const Input: {
63
- ({ name, onChange, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
64
- types: readonly ["number", "text", "email", "date"];
65
- };
66
-
67
- interface TextareaProps extends Omit<BaseInputProps, 'label'> {
68
- onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
69
- disabled?: boolean;
70
- value?: string | number;
71
- rows?: number;
72
- cols?: number;
73
- }
74
- declare const Textarea: {
75
- ({ name, onChange, rows, ...rest }: TextareaProps): react_jsx_runtime.JSX.Element;
76
- types: readonly ["number", "text", "email", "date"];
77
- };
78
-
79
- export { Button as B, ExtendedButton as E, Input as I, type Option as O, Textarea as T, type BaseInputProps as a, colors as c };