@blofin/blofin-ui 0.6.90 → 0.6.91
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/dist/components/LabelTextField/styles.d.ts +5 -4
- package/dist/components/TextField/TextField.d.ts +2 -1
- package/dist/components/TextSelect/TextSelect.d.ts +2 -0
- package/dist/{index-7ea2faa9.js → index-032d2980.js} +1 -1
- package/dist/{index-3a7c03ec.js → index-03813ae1.js} +1 -1
- package/dist/{index-f0598be4.js → index-03b8d337.js} +1 -1
- package/dist/{index-336fc837.js → index-09a815a9.js} +2 -2
- package/dist/{index-da358717.js → index-0c302676.js} +2 -2
- package/dist/{index-09e34be9.js → index-12959be7.js} +1 -1
- package/dist/{index-b2c07059.js → index-1402b655.js} +2 -2
- package/dist/{index-c344c199.js → index-142fa7da.js} +1 -1
- package/dist/{index-b7789737.js → index-19be3542.js} +1 -1
- package/dist/{index-887d07d4.js → index-201e6a1c.js} +1 -1
- package/dist/{index-03d94364.js → index-20b0e5ed.js} +1 -1
- package/dist/{index-6f702fb7.js → index-24bafd6f.js} +2 -2
- package/dist/{index-583b95a9.js → index-257cd3c0.js} +1 -1
- package/dist/{index-5ac9d8f6.js → index-25a5ab54.js} +1 -1
- package/dist/{index-1f3a4e90.js → index-25ee2796.js} +1 -1
- package/dist/{index-61605482.js → index-2904e254.js} +2 -2
- package/dist/{index-bc39c833.js → index-290aae34.js} +1 -1
- package/dist/{index-bd18383a.js → index-29826527.js} +1 -1
- package/dist/{index-8f91fb16.js → index-2fed4cf2.js} +2 -2
- package/dist/{index-fdcf8869.js → index-32298e67.js} +3 -3
- package/dist/{index-ee8bb55d.js → index-34dc458e.js} +1 -1
- package/dist/{index-3ab2e498.js → index-35cf0fd9.js} +1 -1
- package/dist/{index-4808a84a.js → index-3d1023f1.js} +1 -1
- package/dist/{index-a3fd917d.js → index-3d1de480.js} +1 -1
- package/dist/{index-8581932d.js → index-3f07756e.js} +1 -1
- package/dist/{index-e89417d6.js → index-3f932cdd.js} +1 -1
- package/dist/{index-5797656a.js → index-4677e5ff.js} +1 -1
- package/dist/{index-5500332f.js → index-48929b12.js} +1 -1
- package/dist/{index-96d1cd26.js → index-48b43887.js} +1 -1
- package/dist/{index-f9a9c809.js → index-4a78a2b6.js} +1 -1
- package/dist/{index-6709e38c.js → index-523f871f.js} +1 -1
- package/dist/{index-47860318.js → index-56b96834.js} +1 -1
- package/dist/{index-506f78e0.js → index-59c3bece.js} +2 -2
- package/dist/{index-de46f073.js → index-5aceb9bd.js} +1 -1
- package/dist/{index-d09a11d7.js → index-62e4a77b.js} +1 -1
- package/dist/{index-333f5323.js → index-6555cca5.js} +2 -2
- package/dist/{index-3f77799c.js → index-6717656c.js} +1 -1
- package/dist/{index-d92ba764.js → index-69088e8e.js} +1 -1
- package/dist/{index-3ca0fbfd.js → index-6b6824b7.js} +1 -1
- package/dist/{index-9fe38d42.js → index-6decf2b5.js} +1 -1
- package/dist/{index-7331b2cb.js → index-71695236.js} +988 -983
- package/dist/{index-2c7bd064.js → index-734e99e7.js} +1 -1
- package/dist/{index-edaf0eb1.js → index-73d1d2cd.js} +1 -1
- package/dist/{index-b654bb02.js → index-746d3a18.js} +1 -1
- package/dist/{index-8f430949.js → index-7753bf36.js} +1 -1
- package/dist/{index-bcb5aa6c.js → index-7cc236e6.js} +1 -1
- package/dist/{index-df6b9471.js → index-84418061.js} +1 -1
- package/dist/{index-b6e828eb.js → index-85940213.js} +1 -1
- package/dist/{index-b10b62eb.js → index-899c729c.js} +1 -1
- package/dist/{index-0cf825b3.js → index-8c190833.js} +2 -2
- package/dist/{index-ef30cdd6.js → index-922e4a6b.js} +1 -1
- package/dist/{index-8478f595.js → index-996ac5d7.js} +1 -1
- package/dist/{index-1bf65d98.js → index-9cc99a74.js} +1 -1
- package/dist/{index-7c1ec9f5.js → index-a1eb4ba2.js} +2 -2
- package/dist/{index-51b0eb15.js → index-abe1695c.js} +2 -2
- package/dist/{index-7dafa444.js → index-af62f59a.js} +1 -1
- package/dist/{index-a648401d.js → index-b144d708.js} +1 -1
- package/dist/{index-40168fd5.js → index-b2497ccd.js} +2 -2
- package/dist/{index-038e063c.js → index-b39c52b9.js} +1 -1
- package/dist/{index-f85700de.js → index-b63850db.js} +1 -1
- package/dist/{index-a82a4565.js → index-b873a1d8.js} +3 -3
- package/dist/{index-f8b479df.js → index-ba8400ff.js} +1 -1
- package/dist/{index-538bc065.js → index-bb5d9885.js} +2 -2
- package/dist/{index-0cb284ed.js → index-bef00114.js} +1 -1
- package/dist/{index-85804fb7.js → index-c08f2e0b.js} +1 -1
- package/dist/{index-3b3aa8eb.js → index-c1150527.js} +1 -1
- package/dist/{index-0c38c8c1.js → index-c7589e50.js} +2 -2
- package/dist/{index-28311dc5.js → index-cb91bd1b.js} +1 -1
- package/dist/{index-847071cd.js → index-d01a5307.js} +1 -1
- package/dist/{index-2a7b22a8.js → index-d1f9f0e4.js} +2 -2
- package/dist/{index-0d0fe446.js → index-d3e0b919.js} +1 -1
- package/dist/{index-bde9b04b.js → index-d3e735e6.js} +1 -1
- package/dist/{index-9e217549.js → index-d6d92cf7.js} +1 -1
- package/dist/{index-d9c5aa0d.js → index-da5d3f36.js} +1 -1
- package/dist/{index-495dc994.js → index-db8f5004.js} +1 -1
- package/dist/{index-0969db89.js → index-dc3d0e10.js} +1 -1
- package/dist/{index-dae8578c.js → index-df96b3d0.js} +1 -1
- package/dist/{index-d4c53ffc.js → index-e053a3cc.js} +1 -1
- package/dist/{index-96e8dd32.js → index-e9d293a4.js} +1 -1
- package/dist/{index-870286ad.js → index-ef255d2d.js} +1 -1
- package/dist/{index-a49d4de1.js → index-eff02af8.js} +1 -1
- package/dist/{index-9ad88da7.js → index-f40d15e1.js} +2 -2
- package/dist/{index-e62a1915.js → index-f71cd4ea.js} +1 -1
- package/dist/{index-c48b2a57.js → index-f7b513d7.js} +1 -1
- package/dist/{index-2e6842bf.js → index-f90d4bb4.js} +1 -1
- package/dist/{index-cc9227b6.js → index-fafe8fe5.js} +1 -1
- package/dist/{index-835f700b.js → index-fcd5bd40.js} +1 -1
- package/dist/{index-89426233.js → index-fdb8c85b.js} +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { BUITheme } from "../../types/component";
|
|
2
|
+
import { InputSize } from "../TextField/TextField";
|
|
2
3
|
export type InputVariant = "filled" | "outlined";
|
|
3
4
|
declare const LabelVariants: (props?: ({
|
|
4
5
|
theme?: "light" | "dark" | null | undefined;
|
|
5
6
|
size?: "md" | "lg" | null | undefined;
|
|
6
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
8
|
declare const AdornmentStyles: (props: {
|
|
8
|
-
size:
|
|
9
|
+
size: InputSize;
|
|
9
10
|
position: "start" | "end";
|
|
10
11
|
}) => string;
|
|
11
12
|
declare const InputBgVariants: ({ variant, theme, error, disabled, noClassName, size }: {
|
|
@@ -14,16 +15,16 @@ declare const InputBgVariants: ({ variant, theme, error, disabled, noClassName,
|
|
|
14
15
|
error?: boolean | undefined;
|
|
15
16
|
disabled?: boolean | undefined;
|
|
16
17
|
noClassName?: boolean | undefined;
|
|
17
|
-
size: "md" | "lg";
|
|
18
|
+
size: "sm" | "md" | "lg";
|
|
18
19
|
}) => string;
|
|
19
20
|
declare const HelperTextVariants: (props?: ({
|
|
20
21
|
theme?: "light" | "dark" | null | undefined;
|
|
21
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
23
|
declare const InputSizeTextStyle: (props?: ({
|
|
23
|
-
inputSize?: "md" | "lg" | null | undefined;
|
|
24
|
+
inputSize?: "md" | "lg" | "sm" | null | undefined;
|
|
24
25
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
25
26
|
declare const InputSizeStyle: (props?: ({
|
|
26
|
-
inputSize?: "md" | "lg" | null | undefined;
|
|
27
|
+
inputSize?: "md" | "lg" | "sm" | null | undefined;
|
|
27
28
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
28
29
|
declare const InputPlaceholderStyle: (props?: ({
|
|
29
30
|
theme?: "light" | "dark" | null | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { BUITheme } from "../../types/component";
|
|
3
3
|
import { InputVariant } from "../LabelTextField/styles";
|
|
4
|
+
export type InputSize = "sm" | "md" | "lg";
|
|
4
5
|
export interface InputBaseProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
5
6
|
variant: InputVariant;
|
|
6
7
|
theme?: BUITheme;
|
|
@@ -9,7 +10,7 @@ export interface InputBaseProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
error?: boolean;
|
|
11
12
|
inputClassName?: string;
|
|
12
|
-
inputSize?:
|
|
13
|
+
inputSize?: InputSize;
|
|
13
14
|
}
|
|
14
15
|
declare const TextField: import("react").ForwardRefExoticComponent<InputBaseProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
15
16
|
export default TextField;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { CustomFields } from "../../types/component";
|
|
3
|
+
import { InputSize } from "../TextField/TextField";
|
|
3
4
|
interface Options extends CustomFields {
|
|
4
5
|
label: string;
|
|
5
6
|
value: string;
|
|
@@ -36,6 +37,7 @@ export interface TextSelectProps {
|
|
|
36
37
|
base?: "input" | "div";
|
|
37
38
|
customLabel?: (item: Options) => ReactNode;
|
|
38
39
|
error?: boolean;
|
|
40
|
+
size?: InputSize;
|
|
39
41
|
}
|
|
40
42
|
declare const Options: import("react").ForwardRefExoticComponent<Omit<TextSelectProps, "placeholder"> & {
|
|
41
43
|
className?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as v, t as m, b as o, c as f, d as l } from "./index-
|
|
2
|
-
import { i as d } from "./index-
|
|
1
|
+
import { a as v, t as m, b as o, c as f, d as l } from "./index-71695236.js";
|
|
2
|
+
import { i as d } from "./index-ef255d2d.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as v, t as m, b as o, c as f, d as l } from "./index-
|
|
2
|
-
import { i as d } from "./index-
|
|
1
|
+
import { a as v, t as m, b as o, c as f, d as l } from "./index-71695236.js";
|
|
2
|
+
import { i as d } from "./index-ef255d2d.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as v, t as m, b as o, c as f, d as l } from "./index-
|
|
2
|
-
import { i as d } from "./index-
|
|
1
|
+
import { a as v, t as m, b as o, c as f, d as l } from "./index-71695236.js";
|
|
2
|
+
import { i as d } from "./index-ef255d2d.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as u, b as r, c as p, d as s } from "./index-
|
|
2
|
-
import { i as w } from "./index-
|
|
1
|
+
import { a as u, b as r, c as p, d as s } from "./index-71695236.js";
|
|
2
|
+
import { i as w } from "./index-ef255d2d.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as d, t as l, b as s, c as h, d as u } from "./index-
|
|
2
|
-
import { i as m } from "./index-
|
|
1
|
+
import { a as d, t as l, b as s, c as h, d as u } from "./index-71695236.js";
|
|
2
|
+
import { i as m } from "./index-ef255d2d.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as o, b as s, c as l, d } from "./index-
|
|
2
|
-
import { i as u } from "./index-
|
|
1
|
+
import { a as o, b as s, c as l, d } from "./index-71695236.js";
|
|
2
|
+
import { i as u } from "./index-ef255d2d.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as m, a, l as o, m as r } from "./index-
|
|
2
|
-
import { a as t } from "./index-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { f as m, a, l as o, m as r } from "./index-6555cca5.js";
|
|
2
|
+
import { a as t } from "./index-71695236.js";
|
|
3
|
+
import "./index-ef255d2d.js";
|
|
4
4
|
import "./Badge.es.js";
|
|
5
5
|
import "./jsx-runtime-944c88e2.js";
|
|
6
6
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as a, l as o, m } from "./index-
|
|
2
|
-
import { a as t } from "./index-
|
|
1
|
+
import { f as a, l as o, m } from "./index-257cd3c0.js";
|
|
2
|
+
import { a as t } from "./index-71695236.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as d } from "./index-
|
|
2
|
-
import { b as o, c as l, d as m } from "./index-
|
|
1
|
+
import { i as d } from "./index-ef255d2d.js";
|
|
2
|
+
import { b as o, c as l, d as m } from "./index-71695236.js";
|
|
3
3
|
var c = {
|
|
4
4
|
lessThanXSeconds: {
|
|
5
5
|
one: "meno di un secondo",
|