property-practice-ui 0.3.0 → 0.3.1

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 (48) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{Button-GGqCRrab.d.cts → Button-BT32YGe5.d.cts} +18 -1
  3. package/dist/{Button-GGqCRrab.d.ts → Button-BT32YGe5.d.ts} +18 -1
  4. package/dist/{FileButton-DGczdE12.d.cts → FileButton-C_ITD9MA.d.cts} +1 -1
  5. package/dist/{FileButton-HFyj2Jod.d.ts → FileButton-zPIyC3gQ.d.ts} +1 -1
  6. package/dist/{Textarea-BVqF5_5c.d.cts → Textarea-COarrHSa.d.ts} +2 -18
  7. package/dist/{Textarea-BVqF5_5c.d.ts → Textarea-DP0HgLAn.d.cts} +2 -18
  8. package/dist/atoms.d.cts +3 -4
  9. package/dist/atoms.d.ts +3 -4
  10. package/dist/index.cjs +252 -608
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.cts +124 -9
  13. package/dist/index.d.ts +124 -9
  14. package/dist/index.js +254 -589
  15. package/dist/index.js.map +1 -1
  16. package/dist/molecules.d.cts +3 -3
  17. package/dist/molecules.d.ts +3 -3
  18. package/dist/{tableListItem-irbfqxnQ.d.cts → toast-CvZfLJrO.d.cts} +3 -1
  19. package/dist/{tableListItem-irbfqxnQ.d.ts → toast-CvZfLJrO.d.ts} +3 -1
  20. package/dist/types.d.cts +1 -2
  21. package/dist/types.d.ts +1 -2
  22. package/package.json +1 -1
  23. package/src/index.ts +2 -2
  24. package/src/templates/Contact/Contact.tsx +1 -1
  25. package/src/templates/Features/Features.tsx +1 -1
  26. package/tsup.config.ts +0 -1
  27. package/dist/organisms.cjs +0 -2859
  28. package/dist/organisms.cjs.map +0 -1
  29. package/dist/organisms.d.cts +0 -126
  30. package/dist/organisms.d.ts +0 -126
  31. package/dist/organisms.js +0 -2845
  32. package/dist/organisms.js.map +0 -1
  33. package/dist/toast-JPCqJveR.d.cts +0 -3
  34. package/dist/toast-JPCqJveR.d.ts +0 -3
  35. /package/src/{organism → organisms}/ContactForm/ContactForm.stories.tsx +0 -0
  36. /package/src/{organism → organisms}/ContactForm/ContactForm.tsx +0 -0
  37. /package/src/{organism → organisms}/DocumentListAccordion/DocumentListAccordion.tsx +0 -0
  38. /package/src/{organism → organisms}/FeatureCarousel/FeatureCarousel.stories.tsx +0 -0
  39. /package/src/{organism → organisms}/FeatureCarousel/FeatureCarousel.tsx +0 -0
  40. /package/src/{organism → organisms}/Footer/Footer.stories.tsx +0 -0
  41. /package/src/{organism → organisms}/Footer/Footer.tsx +0 -0
  42. /package/src/{organism → organisms}/Header/Header.stories.tsx +0 -0
  43. /package/src/{organism → organisms}/Header/Header.tsx +0 -0
  44. /package/src/{organism → organisms}/OverviewList/OverviewList.stories.tsx +0 -0
  45. /package/src/{organism → organisms}/OverviewList/OverviewList.tsx +0 -0
  46. /package/src/{organism → organisms}/ToastProvider/ToastProvider.tsx +0 -0
  47. /package/src/{organism → organisms}/VersionLabel/VersionLabel.tsx +0 -0
  48. /package/src/{organism → organisms}/index.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # property-practice-ui
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - dae71cc: change paths
8
+
3
9
  ## 0.3.0
4
10
 
5
11
  ### Minor Changes
@@ -1,6 +1,23 @@
1
+ import { ChangeHandler } from 'react-hook-form';
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import { ReactElement } from 'react';
3
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
+
4
21
  declare const variants$1: readonly ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "active", "hover", "error", "focus", "success"];
5
22
  declare const tokens: readonly ["background", "border", "text", "button"];
6
23
  type Token = (typeof tokens)[number];
@@ -26,4 +43,4 @@ declare const Button: {
26
43
  types: readonly ["submit", "reset", "button"];
27
44
  };
28
45
 
29
- export { Button as B, colors as c };
46
+ export { type BaseInputProps as B, type Option as O, Button as a, colors as c };
@@ -1,6 +1,23 @@
1
+ import { ChangeHandler } from 'react-hook-form';
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import { ReactElement } from 'react';
3
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
+
4
21
  declare const variants$1: readonly ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "active", "hover", "error", "focus", "success"];
5
22
  declare const tokens: readonly ["background", "border", "text", "button"];
6
23
  type Token = (typeof tokens)[number];
@@ -26,4 +43,4 @@ declare const Button: {
26
43
  types: readonly ["submit", "reset", "button"];
27
44
  };
28
45
 
29
- export { Button as B, colors as c };
46
+ export { type BaseInputProps as B, type Option as O, Button as a, colors as c };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ComponentProps } from 'react';
3
- import { B as Button } from './Button-GGqCRrab.cjs';
3
+ import { a as Button } from './Button-BT32YGe5.cjs';
4
4
 
5
5
  type DocumentListAccordionFileType = {
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ComponentProps } from 'react';
3
- import { B as Button } from './Button-GGqCRrab.js';
3
+ import { a as Button } from './Button-BT32YGe5.js';
4
4
 
5
5
  type DocumentListAccordionFileType = {
6
6
  name: string;
@@ -1,22 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { 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
- };
3
+ import { B as BaseInputProps } from './Button-BT32YGe5.js';
20
4
 
21
5
  interface InputProps extends Omit<BaseInputProps, 'label'> {
22
6
  onChange: (event: ChangeEvent<HTMLInputElement>) => void;
@@ -42,4 +26,4 @@ declare const Textarea: {
42
26
  types: readonly ["number", "text", "email", "date"];
43
27
  };
44
28
 
45
- export { type BaseInputProps as B, Input as I, type Option as O, Textarea as T };
29
+ export { Input as I, Textarea as T };
@@ -1,22 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { 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
- };
3
+ import { B as BaseInputProps } from './Button-BT32YGe5.cjs';
20
4
 
21
5
  interface InputProps extends Omit<BaseInputProps, 'label'> {
22
6
  onChange: (event: ChangeEvent<HTMLInputElement>) => void;
@@ -42,4 +26,4 @@ declare const Textarea: {
42
26
  types: readonly ["number", "text", "email", "date"];
43
27
  };
44
28
 
45
- export { type BaseInputProps as B, Input as I, type Option as O, Textarea as T };
29
+ export { Input as I, Textarea as T };
package/dist/atoms.d.cts CHANGED
@@ -1,9 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { c as colors } from './Button-GGqCRrab.cjs';
3
- export { B as Button } from './Button-GGqCRrab.cjs';
2
+ import { c as colors, B as BaseInputProps } from './Button-BT32YGe5.cjs';
3
+ export { a as Button } from './Button-BT32YGe5.cjs';
4
4
  import { ReactNode } from 'react';
5
- import { B as BaseInputProps } from './Textarea-BVqF5_5c.cjs';
6
- export { I as Input, T as Textarea } from './Textarea-BVqF5_5c.cjs';
5
+ export { I as Input, T as Textarea } from './Textarea-DP0HgLAn.cjs';
7
6
  import 'react-hook-form';
8
7
 
9
8
  declare const variants$7: readonly ["brand", "teal", "blue"];
package/dist/atoms.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { c as colors } from './Button-GGqCRrab.js';
3
- export { B as Button } from './Button-GGqCRrab.js';
2
+ import { c as colors, B as BaseInputProps } from './Button-BT32YGe5.js';
3
+ export { a as Button } from './Button-BT32YGe5.js';
4
4
  import { ReactNode } from 'react';
5
- import { B as BaseInputProps } from './Textarea-BVqF5_5c.js';
6
- export { I as Input, T as Textarea } from './Textarea-BVqF5_5c.js';
5
+ export { I as Input, T as Textarea } from './Textarea-COarrHSa.js';
7
6
  import 'react-hook-form';
8
7
 
9
8
  declare const variants$7: readonly ["brand", "teal", "blue"];