property-practice-ui 0.2.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.
- package/CHANGELOG.md +12 -0
- package/dist/{Textarea-BNvLsAXP.d.cts → Button-BT32YGe5.d.cts} +3 -27
- package/dist/{Textarea-BNvLsAXP.d.ts → Button-BT32YGe5.d.ts} +3 -27
- package/dist/FileButton-C_ITD9MA.d.cts +22 -0
- package/dist/FileButton-zPIyC3gQ.d.ts +22 -0
- package/dist/Textarea-COarrHSa.d.ts +29 -0
- package/dist/Textarea-DP0HgLAn.d.cts +29 -0
- package/dist/atoms.d.cts +3 -2
- package/dist/atoms.d.ts +3 -2
- package/dist/index.cjs +252 -608
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -294
- package/dist/index.d.ts +3 -294
- package/dist/index.js +254 -589
- package/dist/index.js.map +1 -1
- package/dist/molecules.cjs +2457 -0
- package/dist/molecules.cjs.map +1 -0
- package/dist/molecules.d.cts +283 -0
- package/dist/molecules.d.ts +283 -0
- package/dist/molecules.js +2431 -0
- package/dist/molecules.js.map +1 -0
- package/package.json +11 -1
- package/src/index.ts +2 -2
- package/src/templates/Contact/Contact.tsx +1 -1
- package/src/templates/Features/Features.tsx +1 -1
- package/tsup.config.ts +1 -0
- /package/src/{organism → organisms}/ContactForm/ContactForm.stories.tsx +0 -0
- /package/src/{organism → organisms}/ContactForm/ContactForm.tsx +0 -0
- /package/src/{organism → organisms}/DocumentListAccordion/DocumentListAccordion.tsx +0 -0
- /package/src/{organism → organisms}/FeatureCarousel/FeatureCarousel.stories.tsx +0 -0
- /package/src/{organism → organisms}/FeatureCarousel/FeatureCarousel.tsx +0 -0
- /package/src/{organism → organisms}/Footer/Footer.stories.tsx +0 -0
- /package/src/{organism → organisms}/Footer/Footer.tsx +0 -0
- /package/src/{organism → organisms}/Header/Header.stories.tsx +0 -0
- /package/src/{organism → organisms}/Header/Header.tsx +0 -0
- /package/src/{organism → organisms}/OverviewList/OverviewList.stories.tsx +0 -0
- /package/src/{organism → organisms}/OverviewList/OverviewList.tsx +0 -0
- /package/src/{organism → organisms}/ToastProvider/ToastProvider.tsx +0 -0
- /package/src/{organism → organisms}/VersionLabel/VersionLabel.tsx +0 -0
- /package/src/{organism → organisms}/index.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ReactElement, ChangeEvent } from 'react';
|
|
3
1
|
import { ChangeHandler } from 'react-hook-form';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { ReactElement } from 'react';
|
|
4
4
|
|
|
5
5
|
declare const InputTypes: readonly ["number", "text", "email", "date"];
|
|
6
6
|
type InputType = (typeof InputTypes)[number];
|
|
@@ -43,28 +43,4 @@ declare const Button: {
|
|
|
43
43
|
types: readonly ["submit", "reset", "button"];
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
48
|
-
disabled?: boolean;
|
|
49
|
-
value?: string | number;
|
|
50
|
-
min?: string | number;
|
|
51
|
-
max?: string | number;
|
|
52
|
-
}
|
|
53
|
-
declare const Input: {
|
|
54
|
-
({ name, onChange, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
|
|
55
|
-
types: readonly ["number", "text", "email", "date"];
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
interface TextareaProps extends Omit<BaseInputProps, 'label'> {
|
|
59
|
-
onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
60
|
-
disabled?: boolean;
|
|
61
|
-
value?: string | number;
|
|
62
|
-
rows?: number;
|
|
63
|
-
cols?: number;
|
|
64
|
-
}
|
|
65
|
-
declare const Textarea: {
|
|
66
|
-
({ name, onChange, rows, ...rest }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
67
|
-
types: readonly ["number", "text", "email", "date"];
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
export { Button as B, Input as I, type Option as O, Textarea as T, type BaseInputProps as a, colors as c };
|
|
46
|
+
export { type BaseInputProps as B, type Option as O, Button as a, colors as c };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ReactElement, ChangeEvent } from 'react';
|
|
3
1
|
import { ChangeHandler } from 'react-hook-form';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { ReactElement } from 'react';
|
|
4
4
|
|
|
5
5
|
declare const InputTypes: readonly ["number", "text", "email", "date"];
|
|
6
6
|
type InputType = (typeof InputTypes)[number];
|
|
@@ -43,28 +43,4 @@ declare const Button: {
|
|
|
43
43
|
types: readonly ["submit", "reset", "button"];
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
48
|
-
disabled?: boolean;
|
|
49
|
-
value?: string | number;
|
|
50
|
-
min?: string | number;
|
|
51
|
-
max?: string | number;
|
|
52
|
-
}
|
|
53
|
-
declare const Input: {
|
|
54
|
-
({ name, onChange, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
|
|
55
|
-
types: readonly ["number", "text", "email", "date"];
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
interface TextareaProps extends Omit<BaseInputProps, 'label'> {
|
|
59
|
-
onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
60
|
-
disabled?: boolean;
|
|
61
|
-
value?: string | number;
|
|
62
|
-
rows?: number;
|
|
63
|
-
cols?: number;
|
|
64
|
-
}
|
|
65
|
-
declare const Textarea: {
|
|
66
|
-
({ name, onChange, rows, ...rest }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
67
|
-
types: readonly ["number", "text", "email", "date"];
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
export { Button as B, Input as I, type Option as O, Textarea as T, type BaseInputProps as a, colors as c };
|
|
46
|
+
export { type BaseInputProps as B, type Option as O, Button as a, colors as c };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { a as Button } from './Button-BT32YGe5.cjs';
|
|
4
|
+
|
|
5
|
+
type DocumentListAccordionFileType = {
|
|
6
|
+
name: string;
|
|
7
|
+
sourceFile: string;
|
|
8
|
+
status: string;
|
|
9
|
+
createdAt?: string;
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
declare const acceptTypes: readonly [".docx", ".doc", ".pdf", "image/*"];
|
|
14
|
+
type AcceptType = (typeof acceptTypes)[number];
|
|
15
|
+
interface FileButtonProps extends Omit<ComponentProps<typeof Button>, 'onClick' | 'type'> {
|
|
16
|
+
onFileSelect?: (file: File) => void;
|
|
17
|
+
accept?: AcceptType[];
|
|
18
|
+
multiple?: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare const FileButton: ({ onFileSelect, accept, multiple, ...rest }: FileButtonProps) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { type DocumentListAccordionFileType as D, FileButton as F };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { a as Button } from './Button-BT32YGe5.js';
|
|
4
|
+
|
|
5
|
+
type DocumentListAccordionFileType = {
|
|
6
|
+
name: string;
|
|
7
|
+
sourceFile: string;
|
|
8
|
+
status: string;
|
|
9
|
+
createdAt?: string;
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
declare const acceptTypes: readonly [".docx", ".doc", ".pdf", "image/*"];
|
|
14
|
+
type AcceptType = (typeof acceptTypes)[number];
|
|
15
|
+
interface FileButtonProps extends Omit<ComponentProps<typeof Button>, 'onClick' | 'type'> {
|
|
16
|
+
onFileSelect?: (file: File) => void;
|
|
17
|
+
accept?: AcceptType[];
|
|
18
|
+
multiple?: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare const FileButton: ({ onFileSelect, accept, multiple, ...rest }: FileButtonProps) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { type DocumentListAccordionFileType as D, FileButton as F };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ChangeEvent } from 'react';
|
|
3
|
+
import { B as BaseInputProps } from './Button-BT32YGe5.js';
|
|
4
|
+
|
|
5
|
+
interface InputProps extends Omit<BaseInputProps, 'label'> {
|
|
6
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
value?: string | number;
|
|
9
|
+
min?: string | number;
|
|
10
|
+
max?: string | number;
|
|
11
|
+
}
|
|
12
|
+
declare const Input: {
|
|
13
|
+
({ name, onChange, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
types: readonly ["number", "text", "email", "date"];
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
interface TextareaProps extends Omit<BaseInputProps, 'label'> {
|
|
18
|
+
onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
value?: string | number;
|
|
21
|
+
rows?: number;
|
|
22
|
+
cols?: number;
|
|
23
|
+
}
|
|
24
|
+
declare const Textarea: {
|
|
25
|
+
({ name, onChange, rows, ...rest }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
26
|
+
types: readonly ["number", "text", "email", "date"];
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { Input as I, Textarea as T };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ChangeEvent } from 'react';
|
|
3
|
+
import { B as BaseInputProps } from './Button-BT32YGe5.cjs';
|
|
4
|
+
|
|
5
|
+
interface InputProps extends Omit<BaseInputProps, 'label'> {
|
|
6
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
value?: string | number;
|
|
9
|
+
min?: string | number;
|
|
10
|
+
max?: string | number;
|
|
11
|
+
}
|
|
12
|
+
declare const Input: {
|
|
13
|
+
({ name, onChange, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
types: readonly ["number", "text", "email", "date"];
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
interface TextareaProps extends Omit<BaseInputProps, 'label'> {
|
|
18
|
+
onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
value?: string | number;
|
|
21
|
+
rows?: number;
|
|
22
|
+
cols?: number;
|
|
23
|
+
}
|
|
24
|
+
declare const Textarea: {
|
|
25
|
+
({ name, onChange, rows, ...rest }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
26
|
+
types: readonly ["number", "text", "email", "date"];
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { Input as I, Textarea as T };
|
package/dist/atoms.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { c as colors,
|
|
3
|
-
export {
|
|
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
|
+
export { I as Input, T as Textarea } from './Textarea-DP0HgLAn.cjs';
|
|
5
6
|
import 'react-hook-form';
|
|
6
7
|
|
|
7
8
|
declare const variants$7: readonly ["brand", "teal", "blue"];
|
package/dist/atoms.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { c as colors,
|
|
3
|
-
export {
|
|
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
|
+
export { I as Input, T as Textarea } from './Textarea-COarrHSa.js';
|
|
5
6
|
import 'react-hook-form';
|
|
6
7
|
|
|
7
8
|
declare const variants$7: readonly ["brand", "teal", "blue"];
|