@kvell-group/ui 1.8.2 → 1.9.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/README.md +0 -0
- package/dist/Text.module-R-XLggXY.js +8 -0
- package/dist/UnstyledButton-D2QHft3M.js +44 -0
- package/dist/assets/CardInput.css +1 -0
- package/dist/assets/Text.css +1 -0
- package/dist/components/Button/Button.js +251 -288
- package/dist/components/CardInput/CardInput.d.ts +145 -0
- package/dist/components/CardInput/CardInput.js +3924 -0
- package/dist/components/CardInput/index.d.ts +1 -0
- package/dist/components/CardInput/index.js +4 -0
- package/dist/components/CardInput/useCardLogo.d.ts +1 -0
- package/dist/components/CardInput/useCardLogo.js +47 -0
- package/dist/components/MainProvider/MantineProvider.js +31 -31
- package/dist/components/Text/Text.d.ts +9 -0
- package/dist/components/Text/Text.js +88 -0
- package/dist/components/Text/index.d.ts +1 -0
- package/dist/components/Text/index.js +4 -0
- package/dist/components/theme.js +40 -23
- package/dist/main.d.ts +3 -2
- package/dist/main.js +10 -8
- package/dist/{polymorphic-factory-DUeudAZR.js → polymorphic-factory-Bvt8Is5k.js} +3 -0
- package/dist/use-isomorphic-effect-TT0F1lfC.js +5 -0
- package/package.json +3 -1
- package/dist/Text-B8e4XllM.js +0 -80
- package/dist/assets/TypographyBodySMedium.css +0 -1
- package/dist/assets/TypographyCaptionLMedium.css +0 -1
- package/dist/components/Button/ExperimentalButtonWithSvg.d.ts +0 -1
- package/dist/components/Button/ExperimentalButtonWithSvg.js +0 -17
- package/dist/components/Typography/TypographyBodySMedium.d.ts +0 -2
- package/dist/components/Typography/TypographyBodySMedium.js +0 -14
- package/dist/components/Typography/TypographyCaptionLMedium.d.ts +0 -2
- package/dist/components/Typography/TypographyCaptionLMedium.js +0 -14
- package/dist/components/Typography/types.d.ts +0 -5
- package/dist/components/Typography/types.js +0 -1
package/dist/Text-B8e4XllM.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { jsx as S } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { p as N, u as _, a as z, B, c as F, g as P, b as R } from "./polymorphic-factory-DUeudAZR.js";
|
|
4
|
-
import { g as j, a as C } from "./MantineThemeProvider-kHsOfZUW.js";
|
|
5
|
-
var n = { root: "m_b6d8b162" };
|
|
6
|
-
function G(t) {
|
|
7
|
-
if (t === "start")
|
|
8
|
-
return "start";
|
|
9
|
-
if (t === "end" || t)
|
|
10
|
-
return "end";
|
|
11
|
-
}
|
|
12
|
-
const H = {
|
|
13
|
-
inherit: !1
|
|
14
|
-
}, L = F(
|
|
15
|
-
(t, { variant: r, lineClamp: e, gradient: o, size: a, color: s }) => ({
|
|
16
|
-
root: {
|
|
17
|
-
"--text-fz": R(a),
|
|
18
|
-
"--text-lh": P(a),
|
|
19
|
-
"--text-gradient": r === "gradient" ? C(o, t) : void 0,
|
|
20
|
-
"--text-line-clamp": typeof e == "number" ? e.toString() : void 0,
|
|
21
|
-
"--text-color": s ? j(s, t) : void 0
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
), i = N((t, r) => {
|
|
25
|
-
const e = _("Text", H, t), {
|
|
26
|
-
lineClamp: o,
|
|
27
|
-
truncate: a,
|
|
28
|
-
inline: s,
|
|
29
|
-
inherit: l,
|
|
30
|
-
gradient: V,
|
|
31
|
-
span: c,
|
|
32
|
-
__staticSelector: m,
|
|
33
|
-
vars: p,
|
|
34
|
-
className: d,
|
|
35
|
-
style: u,
|
|
36
|
-
classNames: g,
|
|
37
|
-
styles: x,
|
|
38
|
-
unstyled: f,
|
|
39
|
-
variant: v,
|
|
40
|
-
mod: y,
|
|
41
|
-
size: T,
|
|
42
|
-
...h
|
|
43
|
-
} = e, b = z({
|
|
44
|
-
name: ["Text", m],
|
|
45
|
-
props: e,
|
|
46
|
-
classes: n,
|
|
47
|
-
className: d,
|
|
48
|
-
style: u,
|
|
49
|
-
classNames: g,
|
|
50
|
-
styles: x,
|
|
51
|
-
unstyled: f,
|
|
52
|
-
vars: p,
|
|
53
|
-
varsResolver: L
|
|
54
|
-
});
|
|
55
|
-
return /* @__PURE__ */ S(
|
|
56
|
-
B,
|
|
57
|
-
{
|
|
58
|
-
...b("root", { focusable: !0 }),
|
|
59
|
-
ref: r,
|
|
60
|
-
component: c ? "span" : "p",
|
|
61
|
-
variant: v,
|
|
62
|
-
mod: [
|
|
63
|
-
{
|
|
64
|
-
"data-truncate": G(a),
|
|
65
|
-
"data-line-clamp": typeof o == "number",
|
|
66
|
-
"data-inline": s,
|
|
67
|
-
"data-inherit": l
|
|
68
|
-
},
|
|
69
|
-
y
|
|
70
|
-
],
|
|
71
|
-
size: T,
|
|
72
|
-
...h
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
});
|
|
76
|
-
i.classes = n;
|
|
77
|
-
i.displayName = "@mantine/core/Text";
|
|
78
|
-
export {
|
|
79
|
-
i as T
|
|
80
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._root_41o9b_1{font-family:var(--mantine-font-family);font-weight:500;font-size:var(--mantine-font-size-body-s-medium);line-height:var(--mantine-line-height-body-s);letter-spacing:var(--mantine-letter-spacing-body-s)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._root_k5pqg_1{font-family:var(--mantine-font-family);font-weight:500;font-size:var(--mantine-font-size-caption-l);line-height:var(--mantine-line-height-caption-l);letter-spacing:var(--mantine-letter-spacing-caption-l)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ExperimentalButtonWithSvg: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { Button as C } from "./Button.js";
|
|
3
|
-
import * as e from "react";
|
|
4
|
-
const i = (r) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ e.createElement("path", { d: "M15.8333 8.33334H16.6667C16.8877 8.33334 17.0996 8.42114 17.2559 8.57742C17.4122 8.7337 17.5 8.94566 17.5 9.16667V17.5C17.5 17.721 17.4122 17.933 17.2559 18.0893C17.0996 18.2455 16.8877 18.3333 16.6667 18.3333H3.33333C3.11232 18.3333 2.90036 18.2455 2.74408 18.0893C2.5878 17.933 2.5 17.721 2.5 17.5V9.16667C2.5 8.94566 2.5878 8.7337 2.74408 8.57742C2.90036 8.42114 3.11232 8.33334 3.33333 8.33334H4.16667V7.50001C4.16667 6.73396 4.31755 5.97542 4.6107 5.26769C4.90386 4.55995 5.33354 3.91689 5.87521 3.37522C6.41689 2.83354 7.05995 2.40386 7.76768 2.11071C8.47541 1.81756 9.23396 1.66667 10 1.66667C10.766 1.66667 11.5246 1.81756 12.2323 2.11071C12.9401 2.40386 13.5831 2.83354 14.1248 3.37522C14.6665 3.91689 15.0961 4.55995 15.3893 5.26769C15.6825 5.97542 15.8333 6.73396 15.8333 7.50001V8.33334ZM4.16667 10V16.6667H15.8333V10H4.16667ZM9.16667 11.6667H10.8333V15H9.16667V11.6667ZM14.1667 8.33334V7.50001C14.1667 6.39494 13.7277 5.33513 12.9463 4.55373C12.1649 3.77233 11.1051 3.33334 10 3.33334C8.89493 3.33334 7.83512 3.77233 7.05372 4.55373C6.27232 5.33513 5.83333 6.39494 5.83333 7.50001V8.33334H14.1667Z", fill: "currentColor", style: {
|
|
5
|
-
fill: "white",
|
|
6
|
-
fillOpacity: 1
|
|
7
|
-
} })), l = () => /* @__PURE__ */ t(
|
|
8
|
-
C,
|
|
9
|
-
{
|
|
10
|
-
leftSection: /* @__PURE__ */ t(i, {}),
|
|
11
|
-
variant: "primary",
|
|
12
|
-
children: "ExperimentalButtonWithSvg"
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
export {
|
|
16
|
-
l as ExperimentalButtonWithSvg
|
|
17
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { T as t } from "../../Text-B8e4XllM.js";
|
|
3
|
-
import '../../assets/TypographyBodySMedium.css';const r = "_root_41o9b_1", m = {
|
|
4
|
-
root: r
|
|
5
|
-
}, c = (o) => /* @__PURE__ */ s(
|
|
6
|
-
t,
|
|
7
|
-
{
|
|
8
|
-
...o,
|
|
9
|
-
classNames: m
|
|
10
|
-
}
|
|
11
|
-
);
|
|
12
|
-
export {
|
|
13
|
-
c as TypographyBodySMedium
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { T as t } from "../../Text-B8e4XllM.js";
|
|
3
|
-
import '../../assets/TypographyCaptionLMedium.css';const r = "_root_k5pqg_1", a = {
|
|
4
|
-
root: r
|
|
5
|
-
}, e = (o) => /* @__PURE__ */ s(
|
|
6
|
-
t,
|
|
7
|
-
{
|
|
8
|
-
...o,
|
|
9
|
-
classNames: a
|
|
10
|
-
}
|
|
11
|
-
);
|
|
12
|
-
export {
|
|
13
|
-
e as TypographyCaptionLMedium
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|