@simpli-route/apollo-ds 0.0.15 → 0.0.17
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/IconButton/IconButton.d.ts +4 -0
- package/dist/components/IconButton/IconButton.test.d.ts +1 -0
- package/dist/components/IconButton/index.d.ts +2 -0
- package/dist/components/IconButton/types.d.ts +9 -0
- package/dist/components/IconButton/variants.d.ts +8 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -9
- package/dist/index.cjs24.js +3 -13
- package/dist/index.cjs25.js +19 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -0
- package/dist/index.cjs32.js +1 -0
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es.js +17 -16
- package/dist/index.es10.js +33 -6
- package/dist/index.es11.js +6 -6
- package/dist/index.es12.js +6 -22
- package/dist/index.es13.js +2 -2
- package/dist/index.es15.js +22 -15
- package/dist/index.es16.js +15 -20
- package/dist/index.es17.js +17 -89
- package/dist/index.es18.js +92 -10
- package/dist/index.es19.js +8 -8
- package/dist/index.es2.js +3 -3
- package/dist/index.es20.js +10 -31
- package/dist/index.es21.js +27 -18
- package/dist/index.es22.js +22 -2
- package/dist/index.es23.js +2 -30
- package/dist/index.es24.js +21 -590
- package/dist/index.es25.js +599 -5
- package/dist/index.es26.js +5 -173
- package/dist/index.es27.js +152 -2
- package/dist/index.es28.js +173 -2
- package/dist/index.es29.js +2 -21
- package/dist/index.es3.js +9 -8
- package/dist/index.es30.js +2 -21
- package/dist/index.es31.js +23 -0
- package/dist/index.es32.js +23 -0
- package/dist/index.es4.js +2 -2
- package/dist/index.es5.js +36 -51
- package/dist/index.es6.js +48 -78
- package/dist/index.es7.js +80 -8
- package/dist/index.es8.js +7 -7
- package/dist/index.es9.js +8 -33
- package/dist/stories/Checkbox.stories.d.ts +1 -0
- package/dist/stories/IconButton.stories.d.ts +23 -0
- package/dist/style.css +47 -0
- package/package.json +10 -8
package/dist/index.es15.js
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { j as s } from "./index.es11.js";
|
|
2
|
+
import { MinusIcon as p, PlusIcon as u } from "./index.es26.js";
|
|
3
|
+
import { cn as e } from "./index.es12.js";
|
|
4
|
+
const f = ({
|
|
5
|
+
label: o,
|
|
6
|
+
section: n,
|
|
7
|
+
active: r,
|
|
8
|
+
onToggle: l,
|
|
9
|
+
itemClassName: t,
|
|
10
|
+
sectionClassName: c,
|
|
11
|
+
hasIcon: i = !0
|
|
12
|
+
}) => {
|
|
13
|
+
const a = e("rounded-md border border-solid border-purple-200 bg-gray-100", t), d = e("px-4 pb-4", c), m = r ? p : u;
|
|
14
|
+
return /* @__PURE__ */ s.jsxs("div", { className: a, children: [
|
|
15
|
+
/* @__PURE__ */ s.jsxs("button", { className: "flex w-full cursor-pointer items-center gap-x-4 p-4", onClick: l, children: [
|
|
16
|
+
/* @__PURE__ */ s.jsx("div", { className: "flex-1", children: o }),
|
|
17
|
+
i ? /* @__PURE__ */ s.jsx("span", { className: `shrink-0 transition duration-300 ${r ? "-rotate-180" : "rotate-0"}`, children: /* @__PURE__ */ s.jsx(m, { className: "size-6" }) }) : null
|
|
18
|
+
] }),
|
|
19
|
+
r ? /* @__PURE__ */ s.jsx("div", { className: d, children: n }) : null
|
|
20
|
+
] });
|
|
21
|
+
};
|
|
15
22
|
export {
|
|
16
|
-
|
|
23
|
+
f as AccordionItem
|
|
17
24
|
};
|
package/dist/index.es16.js
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { cn as m } from "./index.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style: {
|
|
16
|
-
left: r ? `${t.onLeft}px` : `${t.offLeft}px`
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
);
|
|
1
|
+
import { j as t } from "./index.es11.js";
|
|
2
|
+
import { cn as m } from "./index.es12.js";
|
|
3
|
+
const u = ({
|
|
4
|
+
label: x,
|
|
5
|
+
description: e,
|
|
6
|
+
errorMessage: n,
|
|
7
|
+
isDisabled: s,
|
|
8
|
+
isInvalid: r,
|
|
9
|
+
children: l
|
|
10
|
+
}) => !x && !e && !l ? null : /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col", children: [
|
|
11
|
+
x ? /* @__PURE__ */ t.jsx("p", { className: m("text-sm font-semibold", s ? "text-neutral-600" : "text-neutral-900"), children: x }) : l,
|
|
12
|
+
e && !n && /* @__PURE__ */ t.jsx("p", { className: m("text-xs", s ? "text-neutral-600" : "text-neutral-800"), children: e }),
|
|
13
|
+
r && n && /* @__PURE__ */ t.jsx("p", { className: "text-sm text-red-500", children: n })
|
|
14
|
+
] });
|
|
20
15
|
export {
|
|
21
|
-
|
|
16
|
+
u as ContentSwitch
|
|
22
17
|
};
|
package/dist/index.es17.js
CHANGED
|
@@ -1,94 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
false: "bg-neutral-50 border border-primary-200"
|
|
7
|
-
},
|
|
8
|
-
isDisabled: {
|
|
9
|
-
true: "cursor-not-allowed bg-neutral-400 border-none",
|
|
10
|
-
false: "cursor-pointer"
|
|
11
|
-
},
|
|
12
|
-
isHoveredWhenOff: {
|
|
13
|
-
true: "bg-neutral-200 border-primary-700",
|
|
14
|
-
false: ""
|
|
15
|
-
},
|
|
16
|
-
isFocusVisible: {
|
|
17
|
-
true: "ring-2 ring-sky-400 ring-offset-2",
|
|
18
|
-
false: ""
|
|
19
|
-
},
|
|
20
|
-
size: {
|
|
21
|
-
sm: "w-[42px] h-[24px]",
|
|
22
|
-
md: "w-[56px] h-[32px]"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
defaultVariants: {
|
|
26
|
-
size: "md",
|
|
27
|
-
isSelected: !1,
|
|
28
|
-
isDisabled: !1,
|
|
29
|
-
isFocusVisible: !1,
|
|
30
|
-
isHoveredWhenOff: !1
|
|
31
|
-
},
|
|
32
|
-
compoundVariants: [
|
|
33
|
-
// Hover cuando el switch está apagado y no deshabilitado
|
|
34
|
-
{
|
|
35
|
-
isSelected: !1,
|
|
36
|
-
isDisabled: !1,
|
|
37
|
-
class: "hover:bg-neutral-200 hover:border-primary-700"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
isSelected: !0,
|
|
41
|
-
isDisabled: !1,
|
|
42
|
-
class: "hover:bg-primary-700"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
isSelected: !1,
|
|
46
|
-
isDisabled: !0,
|
|
47
|
-
class: "bg-neutral-400 border-none"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
isSelected: !0,
|
|
51
|
-
isDisabled: !0,
|
|
52
|
-
class: "bg-neutral-500"
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
}), a = e(
|
|
56
|
-
"absolute top-1/2 transform -translate-y-1/2 transition-all duration-300 rounded-full",
|
|
1
|
+
import { j as i } from "./index.es11.js";
|
|
2
|
+
import { cn as m } from "./index.es12.js";
|
|
3
|
+
import { indicatorVariants as n } from "./index.es18.js";
|
|
4
|
+
const c = ({ isSelected: r, isDisabled: o, isHovered: f, size: a, dimensions: t }) => /* @__PURE__ */ i.jsx(
|
|
5
|
+
"div",
|
|
57
6
|
{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
false: ""
|
|
70
|
-
},
|
|
71
|
-
size: {
|
|
72
|
-
sm: "w-[20px] h-[20px]",
|
|
73
|
-
md: "w-[24px] h-[24px]"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
defaultVariants: {
|
|
77
|
-
size: "md",
|
|
78
|
-
isSelected: !1,
|
|
79
|
-
isDisabled: !1,
|
|
80
|
-
isHoveredWhenOff: !1
|
|
81
|
-
},
|
|
82
|
-
compoundVariants: [
|
|
83
|
-
{
|
|
84
|
-
isSelected: !0,
|
|
85
|
-
isDisabled: !0,
|
|
86
|
-
class: "bg-neutral-400"
|
|
87
|
-
}
|
|
88
|
-
]
|
|
7
|
+
className: m(
|
|
8
|
+
n({
|
|
9
|
+
isSelected: r,
|
|
10
|
+
isDisabled: o,
|
|
11
|
+
size: a,
|
|
12
|
+
isHoveredWhenOff: f && !r
|
|
13
|
+
})
|
|
14
|
+
),
|
|
15
|
+
style: {
|
|
16
|
+
left: r ? `${t.onLeft}px` : `${t.offLeft}px`
|
|
17
|
+
}
|
|
89
18
|
}
|
|
90
19
|
);
|
|
91
20
|
export {
|
|
92
|
-
|
|
93
|
-
s as switchVariants
|
|
21
|
+
c as SwitchIndicator
|
|
94
22
|
};
|
package/dist/index.es18.js
CHANGED
|
@@ -1,12 +1,94 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { cva as e } from "class-variance-authority";
|
|
2
|
+
const s = e("relative rounded-full transition-colors duration-300", {
|
|
3
|
+
variants: {
|
|
4
|
+
isSelected: {
|
|
5
|
+
true: "bg-primary-500",
|
|
6
|
+
false: "bg-neutral-50 border border-primary-200"
|
|
7
|
+
},
|
|
8
|
+
isDisabled: {
|
|
9
|
+
true: "cursor-not-allowed bg-neutral-400 border-none",
|
|
10
|
+
false: "cursor-pointer"
|
|
11
|
+
},
|
|
12
|
+
isHoveredWhenOff: {
|
|
13
|
+
true: "bg-neutral-200 border-primary-700",
|
|
14
|
+
false: ""
|
|
15
|
+
},
|
|
16
|
+
isFocusVisible: {
|
|
17
|
+
true: "ring-2 ring-sky-400 ring-offset-2",
|
|
18
|
+
false: ""
|
|
19
|
+
},
|
|
20
|
+
size: {
|
|
21
|
+
sm: "w-[42px] h-[24px]",
|
|
22
|
+
md: "w-[56px] h-[32px]"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
size: "md",
|
|
27
|
+
isSelected: !1,
|
|
28
|
+
isDisabled: !1,
|
|
29
|
+
isFocusVisible: !1,
|
|
30
|
+
isHoveredWhenOff: !1
|
|
31
|
+
},
|
|
32
|
+
compoundVariants: [
|
|
33
|
+
// Hover cuando el switch está apagado y no deshabilitado
|
|
34
|
+
{
|
|
35
|
+
isSelected: !1,
|
|
36
|
+
isDisabled: !1,
|
|
37
|
+
class: "hover:bg-neutral-200 hover:border-primary-700"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
isSelected: !0,
|
|
41
|
+
isDisabled: !1,
|
|
42
|
+
class: "hover:bg-primary-700"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
isSelected: !1,
|
|
46
|
+
isDisabled: !0,
|
|
47
|
+
class: "bg-neutral-400 border-none"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
isSelected: !0,
|
|
51
|
+
isDisabled: !0,
|
|
52
|
+
class: "bg-neutral-500"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}), a = e(
|
|
56
|
+
"absolute top-1/2 transform -translate-y-1/2 transition-all duration-300 rounded-full",
|
|
57
|
+
{
|
|
58
|
+
variants: {
|
|
59
|
+
isSelected: {
|
|
60
|
+
true: "bg-primary-50",
|
|
61
|
+
false: "bg-primary-200 border border-primary-200"
|
|
62
|
+
},
|
|
63
|
+
isDisabled: {
|
|
64
|
+
true: "bg-neutral-600 border-none",
|
|
65
|
+
false: ""
|
|
66
|
+
},
|
|
67
|
+
isHoveredWhenOff: {
|
|
68
|
+
true: "bg-primary-700 border-primary-700",
|
|
69
|
+
false: ""
|
|
70
|
+
},
|
|
71
|
+
size: {
|
|
72
|
+
sm: "w-[20px] h-[20px]",
|
|
73
|
+
md: "w-[24px] h-[24px]"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
defaultVariants: {
|
|
77
|
+
size: "md",
|
|
78
|
+
isSelected: !1,
|
|
79
|
+
isDisabled: !1,
|
|
80
|
+
isHoveredWhenOff: !1
|
|
81
|
+
},
|
|
82
|
+
compoundVariants: [
|
|
83
|
+
{
|
|
84
|
+
isSelected: !0,
|
|
85
|
+
isDisabled: !0,
|
|
86
|
+
class: "bg-neutral-400"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
);
|
|
10
91
|
export {
|
|
11
|
-
|
|
92
|
+
a as indicatorVariants,
|
|
93
|
+
s as switchVariants
|
|
12
94
|
};
|
package/dist/index.es19.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as f } from "./index.es11.js";
|
|
2
2
|
import { useRef as l } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { cn as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const { className:
|
|
8
|
-
return /* @__PURE__ */
|
|
3
|
+
import { useTab as u } from "react-aria";
|
|
4
|
+
import { cn as b } from "./index.es12.js";
|
|
5
|
+
import { tabVariants as x } from "./index.es21.js";
|
|
6
|
+
const R = (o) => {
|
|
7
|
+
const { className: r, item: i, orientation: n, state: t, id: a = void 0 } = o, { key: s, rendered: c } = i, m = t.selectedKey === s, e = l(null), { tabProps: p } = u({ key: String(s) }, t, e), d = b(x({ isActive: m, orientation: n }), r);
|
|
8
|
+
return /* @__PURE__ */ f.jsx("div", { ...p, ref: e, className: d, id: a, children: c });
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
R as Tab
|
|
12
12
|
};
|
package/dist/index.es2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as e } from "./index.
|
|
1
|
+
import { j as e } from "./index.es11.js";
|
|
2
2
|
import { useState as u } from "react";
|
|
3
|
-
import { cn as d } from "./index.
|
|
4
|
-
import { AccordionItem as f } from "./index.
|
|
3
|
+
import { cn as d } from "./index.es12.js";
|
|
4
|
+
import { AccordionItem as f } from "./index.es15.js";
|
|
5
5
|
const A = ({ items: s, accordionClassName: c, itemClassName: l, sectionClassName: m, hasIcon: a }) => {
|
|
6
6
|
const [t, i] = u(null), p = d("flex flex-col gap-y-4", c), x = (o) => {
|
|
7
7
|
i(o === t ? null : o);
|
package/dist/index.es20.js
CHANGED
|
@@ -1,33 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
"group inline-flex cursor-pointer items-center px-4 py-3 text-base font-semibold focus-visible:outline-none",
|
|
11
|
-
{
|
|
12
|
-
variants: {
|
|
13
|
-
isActive: {
|
|
14
|
-
true: "bg-primary-50 text-primary-600 ",
|
|
15
|
-
false: "text-neutral-500 hover:text-primary-900"
|
|
16
|
-
},
|
|
17
|
-
orientation: {
|
|
18
|
-
horizontal: "border-b-2 border-transparent",
|
|
19
|
-
vertical: "border-r-2 border-transparent"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
compoundVariants: [
|
|
23
|
-
{ isActive: !0, orientation: "horizontal", class: "border-b-2 border-primary-500" },
|
|
24
|
-
{ isActive: !1, orientation: "horizontal", class: "border-b-2 border-primary-200" },
|
|
25
|
-
{ isActive: !1, orientation: "vertical", class: "border-r-2 border-primary-200" },
|
|
26
|
-
{ isActive: !0, orientation: "vertical", class: "border-r-2 border-primary-500" }
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
);
|
|
1
|
+
import { j as m } from "./index.es11.js";
|
|
2
|
+
import { useRef as l } from "react";
|
|
3
|
+
import { useTabPanel as p } from "react-aria";
|
|
4
|
+
import { cn as i } from "./index.es12.js";
|
|
5
|
+
const P = (r) => {
|
|
6
|
+
var t;
|
|
7
|
+
const { className: o, state: s, ...n } = r, e = l(null), { tabPanelProps: a } = p(n, s, e), c = i("", o);
|
|
8
|
+
return /* @__PURE__ */ m.jsx("div", { ...a, ref: e, className: c, children: (t = s.selectedItem) == null ? void 0 : t.props.children });
|
|
9
|
+
};
|
|
30
10
|
export {
|
|
31
|
-
|
|
32
|
-
e as tabsVariants
|
|
11
|
+
P as TabPanel
|
|
33
12
|
};
|
package/dist/index.es21.js
CHANGED
|
@@ -1,24 +1,33 @@
|
|
|
1
|
-
import { cva as
|
|
2
|
-
const
|
|
1
|
+
import { cva as r } from "class-variance-authority";
|
|
2
|
+
const e = r("flex h-full max-h-12", {
|
|
3
3
|
variants: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
h3: "text-2xl font-semibold",
|
|
8
|
-
h4: "text-[1.375rem] font-semibold leading-7",
|
|
9
|
-
h5: "text-xl font-semibold",
|
|
10
|
-
h6: "text-lg font-semibold"
|
|
4
|
+
orientation: {
|
|
5
|
+
horizontal: "flex-col",
|
|
6
|
+
vertical: "flex-row"
|
|
11
7
|
}
|
|
12
8
|
}
|
|
13
|
-
}),
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
}), i = r(
|
|
10
|
+
"group inline-flex cursor-pointer items-center px-4 py-3 text-base font-semibold focus-visible:outline-none",
|
|
11
|
+
{
|
|
12
|
+
variants: {
|
|
13
|
+
isActive: {
|
|
14
|
+
true: "bg-primary-50 text-primary-600 ",
|
|
15
|
+
false: "text-neutral-500 hover:text-primary-900"
|
|
16
|
+
},
|
|
17
|
+
orientation: {
|
|
18
|
+
horizontal: "border-b-2 border-transparent",
|
|
19
|
+
vertical: "border-r-2 border-transparent"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
compoundVariants: [
|
|
23
|
+
{ isActive: !0, orientation: "horizontal", class: "border-b-2 border-primary-500" },
|
|
24
|
+
{ isActive: !1, orientation: "horizontal", class: "border-b-2 border-primary-200" },
|
|
25
|
+
{ isActive: !1, orientation: "vertical", class: "border-r-2 border-primary-200" },
|
|
26
|
+
{ isActive: !0, orientation: "vertical", class: "border-r-2 border-primary-500" }
|
|
27
|
+
]
|
|
19
28
|
}
|
|
20
|
-
|
|
29
|
+
);
|
|
21
30
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
31
|
+
i as tabVariants,
|
|
32
|
+
e as tabsVariants
|
|
24
33
|
};
|
package/dist/index.es22.js
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import { cva as t } from "class-variance-authority";
|
|
2
|
+
const o = t("scroll-m-12 text-neutral-900", {
|
|
3
|
+
variants: {
|
|
4
|
+
size: {
|
|
5
|
+
h1: "text-[2rem] font-bold leading-10",
|
|
6
|
+
h2: "text-[1.75rem] font-bold leading-9",
|
|
7
|
+
h3: "text-2xl font-semibold",
|
|
8
|
+
h4: "text-[1.375rem] font-semibold leading-7",
|
|
9
|
+
h5: "text-xl font-semibold",
|
|
10
|
+
h6: "text-lg font-semibold"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}), n = t("", {
|
|
14
|
+
variants: {
|
|
15
|
+
type: {
|
|
16
|
+
body: "text-base text-neutral-900",
|
|
17
|
+
caption: "text-xs text-neutral-700"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
2
21
|
export {
|
|
3
|
-
|
|
22
|
+
n as textVariants,
|
|
23
|
+
o as titleVariants
|
|
4
24
|
};
|
package/dist/index.es23.js
CHANGED
|
@@ -1,32 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import R from "react";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* react-jsx-runtime.production.min.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var p;
|
|
13
|
-
function v() {
|
|
14
|
-
if (p)
|
|
15
|
-
return t;
|
|
16
|
-
p = 1;
|
|
17
|
-
var s = R, m = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
-
function i(o, r, u) {
|
|
19
|
-
var e, n = {}, _ = null, f = null;
|
|
20
|
-
u !== void 0 && (_ = "" + u), r.key !== void 0 && (_ = "" + r.key), r.ref !== void 0 && (f = r.ref);
|
|
21
|
-
for (e in r)
|
|
22
|
-
c.call(r, e) && !y.hasOwnProperty(e) && (n[e] = r[e]);
|
|
23
|
-
if (o && o.defaultProps)
|
|
24
|
-
for (e in r = o.defaultProps, r)
|
|
25
|
-
n[e] === void 0 && (n[e] = r[e]);
|
|
26
|
-
return { $$typeof: m, type: o, key: _, ref: f, props: n, _owner: d.current };
|
|
27
|
-
}
|
|
28
|
-
return t.Fragment = l, t.jsx = i, t.jsxs = i, t;
|
|
29
|
-
}
|
|
1
|
+
var e = { exports: {} };
|
|
30
2
|
export {
|
|
31
|
-
|
|
3
|
+
e as __module
|
|
32
4
|
};
|