property-practice-ui 0.3.1 → 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 +6 -0
- package/dist/Button-DSs1nCzw.d.cts +22 -0
- package/dist/Button-DSs1nCzw.d.ts +22 -0
- package/dist/{FileButton-zPIyC3gQ.d.ts → FileButton-C5ihIfp2.d.ts} +1 -1
- package/dist/{FileButton-C_ITD9MA.d.cts → FileButton-zG8s-td_.d.cts} +1 -1
- package/dist/{Textarea-COarrHSa.d.ts → Textarea-BALpKeZd.d.ts} +1 -1
- package/dist/{Textarea-DP0HgLAn.d.cts → Textarea-BSdiNkgw.d.cts} +1 -1
- package/dist/atoms.d.cts +4 -3
- package/dist/atoms.d.ts +4 -3
- package/dist/colors-CSsV0X7j.d.cts +8 -0
- package/dist/colors-CSsV0X7j.d.ts +8 -0
- package/dist/index.cjs +249 -788
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -124
- package/dist/index.d.ts +6 -124
- package/dist/index.js +251 -781
- 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 +2859 -0
- package/dist/organisms.cjs.map +1 -0
- package/dist/organisms.d.cts +127 -0
- package/dist/organisms.d.ts +127 -0
- package/dist/organisms.js +2845 -0
- package/dist/organisms.js.map +1 -0
- package/dist/{toast-CvZfLJrO.d.cts → tableListItem-irbfqxnQ.d.cts} +1 -3
- package/dist/{toast-CvZfLJrO.d.ts → tableListItem-irbfqxnQ.d.ts} +1 -3
- package/dist/toast-JPCqJveR.d.cts +3 -0
- package/dist/toast-JPCqJveR.d.ts +3 -0
- package/dist/types-CkS-Mlp9.d.cts +19 -0
- package/dist/types-CkS-Mlp9.d.ts +19 -0
- package/dist/types.d.cts +2 -1
- package/dist/types.d.ts +2 -1
- package/package.json +5 -5
- package/src/index.ts +0 -1
- package/tsup.config.ts +1 -0
- package/dist/Button-BT32YGe5.d.cts +0 -46
- package/dist/Button-BT32YGe5.d.ts +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -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 { ChangeEvent } from 'react';
|
|
3
|
-
import { B as BaseInputProps } from './
|
|
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 './
|
|
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
|
-
|
|
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
|
-
export { I as Input, T as Textarea } from './Textarea-
|
|
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
|
-
|
|
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
|
-
export { I as Input, T as Textarea } from './Textarea-
|
|
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 };
|