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.
- package/CHANGELOG.md +12 -0
- package/dist/{Button-GGqCRrab.d.cts → Button-DSs1nCzw.d.cts} +1 -8
- package/dist/{Button-GGqCRrab.d.ts → Button-DSs1nCzw.d.ts} +1 -8
- package/dist/{FileButton-HFyj2Jod.d.ts → FileButton-C5ihIfp2.d.ts} +1 -1
- package/dist/{FileButton-DGczdE12.d.cts → FileButton-zG8s-td_.d.cts} +1 -1
- package/dist/{Textarea-BVqF5_5c.d.cts → Textarea-BALpKeZd.d.ts} +2 -18
- package/dist/{Textarea-BVqF5_5c.d.ts → Textarea-BSdiNkgw.d.cts} +2 -18
- package/dist/atoms.d.cts +4 -4
- package/dist/atoms.d.ts +4 -4
- package/dist/colors-CSsV0X7j.d.cts +8 -0
- package/dist/colors-CSsV0X7j.d.ts +8 -0
- package/dist/index.cjs +315 -1210
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -5
- package/dist/index.d.ts +2 -5
- package/dist/index.js +317 -1182
- package/dist/index.js.map +1 -1
- package/dist/molecules.d.cts +5 -3
- package/dist/molecules.d.ts +5 -3
- package/dist/organisms.cjs +1 -1
- package/dist/organisms.cjs.map +1 -1
- package/dist/organisms.d.cts +3 -2
- package/dist/organisms.d.ts +3 -2
- package/dist/organisms.js +1 -1
- package/dist/organisms.js.map +1 -1
- package/dist/types-CkS-Mlp9.d.cts +19 -0
- package/dist/types-CkS-Mlp9.d.ts +19 -0
- package/package.json +5 -5
- package/src/index.ts +1 -2
- package/src/templates/Contact/Contact.tsx +1 -1
- package/src/templates/Features/Features.tsx +1 -1
- package/tsup.config.ts +1 -1
- /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,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
|
|
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
|
|
22
|
+
export { Button as B };
|
|
@@ -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 './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 {
|
|
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 './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 {
|
|
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
|
-
|
|
3
|
-
|
|
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
|
-
|
|
6
|
-
|
|
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
|
-
|
|
3
|
-
|
|
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
|
-
|
|
6
|
-
|
|
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 };
|