@kvell-group/ui 1.8.3 → 1.9.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.
Files changed (31) hide show
  1. package/README.md +0 -0
  2. package/dist/Text.module-R-XLggXY.js +8 -0
  3. package/dist/assets/CardInput.css +1 -0
  4. package/dist/assets/Text.css +1 -0
  5. package/dist/components/Button/Button.js +9 -592
  6. package/dist/components/CardInput/CardInput.d.ts +145 -0
  7. package/dist/components/CardInput/CardInput.js +3223 -0
  8. package/dist/components/CardInput/index.d.ts +1 -0
  9. package/dist/components/CardInput/index.js +4 -0
  10. package/dist/components/CardInput/useCardLogo.d.ts +1 -0
  11. package/dist/components/CardInput/useCardLogo.js +47 -0
  12. package/dist/components/MainProvider/MantineProvider.js +9 -425
  13. package/dist/components/Text/Text.d.ts +9 -0
  14. package/dist/components/Text/Text.js +13 -0
  15. package/dist/components/Text/index.d.ts +1 -0
  16. package/dist/components/Text/index.js +4 -0
  17. package/dist/components/theme.js +40 -25
  18. package/dist/main.d.ts +3 -1
  19. package/dist/main.js +13 -46
  20. package/package.json +10 -10
  21. package/dist/MantineThemeProvider-kHsOfZUW.js +0 -705
  22. package/dist/Text-B8e4XllM.js +0 -80
  23. package/dist/assets/TypographyBodySMedium.css +0 -1
  24. package/dist/assets/TypographyCaptionLMedium.css +0 -1
  25. package/dist/components/Typography/TypographyBodySMedium.d.ts +0 -2
  26. package/dist/components/Typography/TypographyBodySMedium.js +0 -14
  27. package/dist/components/Typography/TypographyCaptionLMedium.d.ts +0 -2
  28. package/dist/components/Typography/TypographyCaptionLMedium.js +0 -14
  29. package/dist/components/Typography/types.d.ts +0 -5
  30. package/dist/components/Typography/types.js +0 -1
  31. package/dist/polymorphic-factory-DUeudAZR.js +0 -767
@@ -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,2 +0,0 @@
1
- import { TypographyProps } from './types';
2
- export declare const TypographyBodySMedium: (props: TypographyProps) => import("react/jsx-runtime").JSX.Element;
@@ -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,2 +0,0 @@
1
- import { TypographyProps } from './types';
2
- export declare const TypographyCaptionLMedium: (props: TypographyProps) => import("react/jsx-runtime").JSX.Element;
@@ -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,5 +0,0 @@
1
- import { TextProps } from '@mantine/core';
2
- import { ReactNode } from 'react';
3
- export type TypographyProps = {
4
- children: ReactNode;
5
- } & TextProps;
@@ -1 +0,0 @@
1
-