property-practice-ui 0.3.1 → 0.4.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 (38) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/Button-DSs1nCzw.d.cts +22 -0
  3. package/dist/Button-DSs1nCzw.d.ts +22 -0
  4. package/dist/{FileButton-zPIyC3gQ.d.ts → FileButton-C5ihIfp2.d.ts} +1 -1
  5. package/dist/{FileButton-C_ITD9MA.d.cts → FileButton-zG8s-td_.d.cts} +1 -1
  6. package/dist/{Textarea-COarrHSa.d.ts → Textarea-BALpKeZd.d.ts} +1 -1
  7. package/dist/{Textarea-DP0HgLAn.d.cts → Textarea-BSdiNkgw.d.cts} +1 -1
  8. package/dist/atoms.d.cts +4 -3
  9. package/dist/atoms.d.ts +4 -3
  10. package/dist/colors-CSsV0X7j.d.cts +8 -0
  11. package/dist/colors-CSsV0X7j.d.ts +8 -0
  12. package/dist/index.cjs +249 -788
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +6 -124
  15. package/dist/index.d.ts +6 -124
  16. package/dist/index.js +251 -781
  17. package/dist/index.js.map +1 -1
  18. package/dist/molecules.d.cts +5 -3
  19. package/dist/molecules.d.ts +5 -3
  20. package/dist/organisms.cjs +2859 -0
  21. package/dist/organisms.cjs.map +1 -0
  22. package/dist/organisms.d.cts +127 -0
  23. package/dist/organisms.d.ts +127 -0
  24. package/dist/organisms.js +2845 -0
  25. package/dist/organisms.js.map +1 -0
  26. package/dist/{toast-CvZfLJrO.d.cts → tableListItem-irbfqxnQ.d.cts} +1 -3
  27. package/dist/{toast-CvZfLJrO.d.ts → tableListItem-irbfqxnQ.d.ts} +1 -3
  28. package/dist/toast-JPCqJveR.d.cts +3 -0
  29. package/dist/toast-JPCqJveR.d.ts +3 -0
  30. package/dist/types-CkS-Mlp9.d.cts +19 -0
  31. package/dist/types-CkS-Mlp9.d.ts +19 -0
  32. package/dist/types.d.cts +2 -1
  33. package/dist/types.d.ts +2 -1
  34. package/package.json +5 -5
  35. package/src/index.ts +0 -1
  36. package/tsup.config.ts +1 -0
  37. package/dist/Button-BT32YGe5.d.cts +0 -46
  38. package/dist/Button-BT32YGe5.d.ts +0 -46
package/tsup.config.ts CHANGED
@@ -5,6 +5,7 @@ export default defineConfig({
5
5
  index: './src/index.ts',
6
6
  atoms: './src/atoms/index.ts',
7
7
  molecules: './src/molecules/index.ts',
8
+ organisms: './src/organisms/index.ts',
8
9
  types: './src/types/index.ts',
9
10
  },
10
11
  clean: true,
@@ -1,46 +0,0 @@
1
- import { ChangeHandler } from 'react-hook-form';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { ReactElement } from 'react';
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
- export { type BaseInputProps as B, type Option as O, Button as a, colors as c };
@@ -1,46 +0,0 @@
1
- import { ChangeHandler } from 'react-hook-form';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { ReactElement } from 'react';
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
- export { type BaseInputProps as B, type Option as O, Button as a, colors as c };