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.
- package/CHANGELOG.md +6 -0
- package/dist/{Button-GGqCRrab.d.cts → Button-BT32YGe5.d.cts} +18 -1
- package/dist/{Button-GGqCRrab.d.ts → Button-BT32YGe5.d.ts} +18 -1
- package/dist/{FileButton-DGczdE12.d.cts → FileButton-C_ITD9MA.d.cts} +1 -1
- package/dist/{FileButton-HFyj2Jod.d.ts → FileButton-zPIyC3gQ.d.ts} +1 -1
- package/dist/{Textarea-BVqF5_5c.d.cts → Textarea-COarrHSa.d.ts} +2 -18
- package/dist/{Textarea-BVqF5_5c.d.ts → Textarea-DP0HgLAn.d.cts} +2 -18
- package/dist/atoms.d.cts +3 -4
- package/dist/atoms.d.ts +3 -4
- package/dist/index.cjs +252 -608
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +124 -9
- package/dist/index.d.ts +124 -9
- package/dist/index.js +254 -589
- package/dist/index.js.map +1 -1
- package/dist/molecules.d.cts +3 -3
- package/dist/molecules.d.ts +3 -3
- package/dist/{tableListItem-irbfqxnQ.d.cts → toast-CvZfLJrO.d.cts} +3 -1
- package/dist/{tableListItem-irbfqxnQ.d.ts → toast-CvZfLJrO.d.ts} +3 -1
- package/dist/types.d.cts +1 -2
- package/dist/types.d.ts +1 -2
- package/package.json +1 -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 +0 -1
- package/dist/organisms.cjs +0 -2859
- package/dist/organisms.cjs.map +0 -1
- package/dist/organisms.d.cts +0 -126
- package/dist/organisms.d.ts +0 -126
- package/dist/organisms.js +0 -2845
- package/dist/organisms.js.map +0 -1
- package/dist/toast-JPCqJveR.d.cts +0 -3
- package/dist/toast-JPCqJveR.d.ts +0 -3
- /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,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 {
|
|
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 {
|
|
46
|
+
export { type BaseInputProps as B, type Option as O, Button as a, colors as c };
|
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ChangeEvent } from 'react';
|
|
3
|
-
import {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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"];
|