property-practice-ui 0.3.1 → 0.4.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 (42) hide show
  1. package/CHANGELOG.md +12 -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/src/molecules/ContentCard/ContentCard.tsx +1 -1
  37. package/src/molecules/SideNav/SideNav.tsx +1 -1
  38. package/src/organisms/FeatureCarousel/FeatureCarousel.tsx +3 -1
  39. package/src/organisms/Header/Header.tsx +27 -2
  40. package/tsup.config.ts +1 -0
  41. package/dist/Button-BT32YGe5.d.cts +0 -46
  42. package/dist/Button-BT32YGe5.d.ts +0 -46
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # property-practice-ui
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - b18d52d: fix issues with responsiveness
8
+
9
+ ## 0.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - e93f870: change paths for organisms to seperate path
14
+
3
15
  ## 0.3.1
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,22 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactElement } from 'react';
3
+
4
+ declare const ButtonTypes: readonly ["submit", "reset", "button"];
5
+ type ButtonType = (typeof ButtonTypes)[number];
6
+ declare const variants: readonly ["dark", "light"];
7
+ type Variant = (typeof variants)[number];
8
+ interface ButtonProps {
9
+ onClick?: () => void;
10
+ text?: string;
11
+ type?: ButtonType;
12
+ disabled?: boolean;
13
+ icon?: ReactElement;
14
+ variant?: Variant;
15
+ isLoading?: boolean;
16
+ }
17
+ declare const Button: {
18
+ ({ onClick, text, type, disabled, icon, variant, isLoading, }: ButtonProps): react_jsx_runtime.JSX.Element;
19
+ types: readonly ["submit", "reset", "button"];
20
+ };
21
+
22
+ export { Button as B };
@@ -0,0 +1,22 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactElement } from 'react';
3
+
4
+ declare const ButtonTypes: readonly ["submit", "reset", "button"];
5
+ type ButtonType = (typeof ButtonTypes)[number];
6
+ declare const variants: readonly ["dark", "light"];
7
+ type Variant = (typeof variants)[number];
8
+ interface ButtonProps {
9
+ onClick?: () => void;
10
+ text?: string;
11
+ type?: ButtonType;
12
+ disabled?: boolean;
13
+ icon?: ReactElement;
14
+ variant?: Variant;
15
+ isLoading?: boolean;
16
+ }
17
+ declare const Button: {
18
+ ({ onClick, text, type, disabled, icon, variant, isLoading, }: ButtonProps): react_jsx_runtime.JSX.Element;
19
+ types: readonly ["submit", "reset", "button"];
20
+ };
21
+
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 { a as Button } from './Button-BT32YGe5.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 { a as Button } from './Button-BT32YGe5.cjs';
3
+ import { B as Button } from './Button-DSs1nCzw.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 { ChangeEvent } from 'react';
3
- import { B as BaseInputProps } from './Button-BT32YGe5.js';
3
+ import { B as BaseInputProps } from './types-CkS-Mlp9.js';
4
4
 
5
5
  interface InputProps extends Omit<BaseInputProps, 'label'> {
6
6
  onChange: (event: ChangeEvent<HTMLInputElement>) => void;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ChangeEvent } from 'react';
3
- import { B as BaseInputProps } from './Button-BT32YGe5.cjs';
3
+ import { B as BaseInputProps } from './types-CkS-Mlp9.cjs';
4
4
 
5
5
  interface InputProps extends Omit<BaseInputProps, 'label'> {
6
6
  onChange: (event: ChangeEvent<HTMLInputElement>) => void;
package/dist/atoms.d.cts CHANGED
@@ -1,8 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { c as colors, B as BaseInputProps } from './Button-BT32YGe5.cjs';
3
- export { a as Button } from './Button-BT32YGe5.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
- export { I as Input, T as Textarea } from './Textarea-DP0HgLAn.cjs';
5
+ export { I as Input, T as Textarea } from './Textarea-BSdiNkgw.cjs';
6
+ import { B as BaseInputProps } from './types-CkS-Mlp9.cjs';
6
7
  import 'react-hook-form';
7
8
 
8
9
  declare const variants$7: readonly ["brand", "teal", "blue"];
package/dist/atoms.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { c as colors, B as BaseInputProps } from './Button-BT32YGe5.js';
3
- export { a as Button } from './Button-BT32YGe5.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
- export { I as Input, T as Textarea } from './Textarea-COarrHSa.js';
5
+ export { I as Input, T as Textarea } from './Textarea-BALpKeZd.js';
6
+ import { B as BaseInputProps } from './types-CkS-Mlp9.js';
6
7
  import 'react-hook-form';
7
8
 
8
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 };