property-practice-ui 0.3.0 → 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 (46) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{Button-GGqCRrab.d.cts → Button-DSs1nCzw.d.cts} +1 -8
  3. package/dist/{Button-GGqCRrab.d.ts → Button-DSs1nCzw.d.ts} +1 -8
  4. package/dist/{FileButton-HFyj2Jod.d.ts → FileButton-C5ihIfp2.d.ts} +1 -1
  5. package/dist/{FileButton-DGczdE12.d.cts → FileButton-zG8s-td_.d.cts} +1 -1
  6. package/dist/{Textarea-BVqF5_5c.d.cts → Textarea-BALpKeZd.d.ts} +2 -18
  7. package/dist/{Textarea-BVqF5_5c.d.ts → Textarea-BSdiNkgw.d.cts} +2 -18
  8. package/dist/atoms.d.cts +4 -4
  9. package/dist/atoms.d.ts +4 -4
  10. package/dist/colors-CSsV0X7j.d.cts +8 -0
  11. package/dist/colors-CSsV0X7j.d.ts +8 -0
  12. package/dist/index.cjs +315 -1210
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +2 -5
  15. package/dist/index.d.ts +2 -5
  16. package/dist/index.js +317 -1182
  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 +1 -1
  21. package/dist/organisms.cjs.map +1 -1
  22. package/dist/organisms.d.cts +3 -2
  23. package/dist/organisms.d.ts +3 -2
  24. package/dist/organisms.js +1 -1
  25. package/dist/organisms.js.map +1 -1
  26. package/dist/types-CkS-Mlp9.d.cts +19 -0
  27. package/dist/types-CkS-Mlp9.d.ts +19 -0
  28. package/package.json +5 -5
  29. package/src/index.ts +1 -2
  30. package/src/templates/Contact/Contact.tsx +1 -1
  31. package/src/templates/Features/Features.tsx +1 -1
  32. package/tsup.config.ts +1 -1
  33. /package/src/{organism → organisms}/ContactForm/ContactForm.stories.tsx +0 -0
  34. /package/src/{organism → organisms}/ContactForm/ContactForm.tsx +0 -0
  35. /package/src/{organism → organisms}/DocumentListAccordion/DocumentListAccordion.tsx +0 -0
  36. /package/src/{organism → organisms}/FeatureCarousel/FeatureCarousel.stories.tsx +0 -0
  37. /package/src/{organism → organisms}/FeatureCarousel/FeatureCarousel.tsx +0 -0
  38. /package/src/{organism → organisms}/Footer/Footer.stories.tsx +0 -0
  39. /package/src/{organism → organisms}/Footer/Footer.tsx +0 -0
  40. /package/src/{organism → organisms}/Header/Header.stories.tsx +0 -0
  41. /package/src/{organism → organisms}/Header/Header.tsx +0 -0
  42. /package/src/{organism → organisms}/OverviewList/OverviewList.stories.tsx +0 -0
  43. /package/src/{organism → organisms}/OverviewList/OverviewList.tsx +0 -0
  44. /package/src/{organism → organisms}/ToastProvider/ToastProvider.tsx +0 -0
  45. /package/src/{organism → organisms}/VersionLabel/VersionLabel.tsx +0 -0
  46. /package/src/{organism → organisms}/index.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # property-practice-ui
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e93f870: change paths for organisms to seperate path
8
+
9
+ ## 0.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - dae71cc: change paths
14
+
3
15
  ## 0.3.0
4
16
 
5
17
  ### Minor Changes
@@ -1,13 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactElement } from 'react';
3
3
 
4
- declare const variants$1: readonly ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "active", "hover", "error", "focus", "success"];
5
- declare const tokens: readonly ["background", "border", "text", "button"];
6
- type Token = (typeof tokens)[number];
7
- type Variant$1 = (typeof variants$1)[number];
8
- type TokenVariant = Record<Variant$1, string>;
9
- declare const colors: Record<Token, Partial<TokenVariant>>;
10
-
11
4
  declare const ButtonTypes: readonly ["submit", "reset", "button"];
12
5
  type ButtonType = (typeof ButtonTypes)[number];
13
6
  declare const variants: readonly ["dark", "light"];
@@ -26,4 +19,4 @@ declare const Button: {
26
19
  types: readonly ["submit", "reset", "button"];
27
20
  };
28
21
 
29
- export { Button as B, colors as c };
22
+ export { Button as B };
@@ -1,13 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactElement } from 'react';
3
3
 
4
- declare const variants$1: readonly ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "active", "hover", "error", "focus", "success"];
5
- declare const tokens: readonly ["background", "border", "text", "button"];
6
- type Token = (typeof tokens)[number];
7
- type Variant$1 = (typeof variants$1)[number];
8
- type TokenVariant = Record<Variant$1, string>;
9
- declare const colors: Record<Token, Partial<TokenVariant>>;
10
-
11
4
  declare const ButtonTypes: readonly ["submit", "reset", "button"];
12
5
  type ButtonType = (typeof ButtonTypes)[number];
13
6
  declare const variants: readonly ["dark", "light"];
@@ -26,4 +19,4 @@ declare const Button: {
26
19
  types: readonly ["submit", "reset", "button"];
27
20
  };
28
21
 
29
- export { Button as B, colors as c };
22
+ export { Button as B };
@@ -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 { B as Button } from './Button-DSs1nCzw.js';
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.cjs';
3
+ import { B as Button } from './Button-DSs1nCzw.cjs';
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 './types-CkS-Mlp9.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 './types-CkS-Mlp9.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,9 @@
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
+ export { B as Button } from './Button-DSs1nCzw.cjs';
3
+ import { c as colors } from './colors-CSsV0X7j.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-BSdiNkgw.cjs';
6
+ import { B as BaseInputProps } from './types-CkS-Mlp9.cjs';
7
7
  import 'react-hook-form';
8
8
 
9
9
  declare const variants$7: readonly ["brand", "teal", "blue"];
package/dist/atoms.d.ts CHANGED
@@ -1,9 +1,9 @@
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
+ export { B as Button } from './Button-DSs1nCzw.js';
3
+ import { c as colors } from './colors-CSsV0X7j.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-BALpKeZd.js';
6
+ import { B as BaseInputProps } from './types-CkS-Mlp9.js';
7
7
  import 'react-hook-form';
8
8
 
9
9
  declare const variants$7: readonly ["brand", "teal", "blue"];
@@ -0,0 +1,8 @@
1
+ declare const variants: readonly ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "active", "hover", "error", "focus", "success"];
2
+ declare const tokens: readonly ["background", "border", "text", "button"];
3
+ type Token = (typeof tokens)[number];
4
+ type Variant = (typeof variants)[number];
5
+ type TokenVariant = Record<Variant, string>;
6
+ declare const colors: Record<Token, Partial<TokenVariant>>;
7
+
8
+ export { colors as c };
@@ -0,0 +1,8 @@
1
+ declare const variants: readonly ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "active", "hover", "error", "focus", "success"];
2
+ declare const tokens: readonly ["background", "border", "text", "button"];
3
+ type Token = (typeof tokens)[number];
4
+ type Variant = (typeof variants)[number];
5
+ type TokenVariant = Record<Variant, string>;
6
+ declare const colors: Record<Token, Partial<TokenVariant>>;
7
+
8
+ export { colors as c };