@fluidattacks/design 3.1.11 → 3.1.13
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/_commonjsHelpers-C6fGbg64.mjs +6 -0
- package/dist/components/@core/index.js +18 -1
- package/dist/components/accordion/accordion-content/index.js +22 -1
- package/dist/components/accordion/index.js +78 -1
- package/dist/components/alert/index.js +162 -4
- package/dist/components/button/index.js +69 -1
- package/dist/components/card/card-header/index.js +83 -1
- package/dist/components/card/card-with-image/index.js +93 -1
- package/dist/components/card/card-with-input/index.js +106 -3
- package/dist/components/card/card-with-selector/index.js +71 -1
- package/dist/components/card/card-with-switch/index.js +50 -1
- package/dist/components/card/index.js +12 -1
- package/dist/components/carousel/index.js +62 -10
- package/dist/components/checkbox/index.js +118 -3
- package/dist/components/cloud-image/index.js +8 -1
- package/dist/components/code-snippet/index.js +72 -1
- package/dist/components/code-snippet/location-code/index.js +171 -1
- package/dist/components/colors/index.js +224 -1
- package/dist/components/confirm-dialog/index.js +46 -1
- package/dist/components/container/index.js +51 -3
- package/dist/components/content-card/category-tag/index.js +42 -1
- package/dist/components/content-card/event-date/index.js +61 -1
- package/dist/components/content-card/index.js +168 -3
- package/dist/components/content-card-carousel/index.js +95 -1
- package/dist/components/content-card-carousel/scroll-buttons/index.js +9 -1
- package/dist/components/divider/index.js +25 -1
- package/dist/components/empty-state/empty-button/index.js +6 -1
- package/dist/components/empty-state/index.js +58 -8
- package/dist/components/file-preview/index.js +31 -3
- package/dist/components/form/index.js +63 -3
- package/dist/components/grid-container/index.js +46 -5
- package/dist/components/group-selector/index.js +135 -1
- package/dist/components/group-selector/option-container/index.js +12 -1
- package/dist/components/icon/index.js +102 -4
- package/dist/components/icon-button/index.js +76 -3
- package/dist/components/indicator-card/index.js +74 -1
- package/dist/components/info-sidebar/index.js +116 -1
- package/dist/components/inputs/fields/combobox/index.js +146 -1
- package/dist/components/inputs/fields/combobox/option/index.js +8 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +27 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +26 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +38 -1
- package/dist/components/inputs/fields/date/calendar/index.js +30 -1
- package/dist/components/inputs/fields/date/index.js +68 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +35 -1
- package/dist/components/inputs/fields/date-range/index.js +108 -3
- package/dist/components/inputs/fields/date-time/calendar/index.js +60 -5
- package/dist/components/inputs/fields/date-time/index.js +69 -1
- package/dist/components/inputs/fields/editable/index.js +28 -1
- package/dist/components/inputs/fields/input/index.js +77 -1
- package/dist/components/inputs/fields/input-file/index.js +117 -4
- package/dist/components/inputs/fields/input-tags/index.js +63 -2
- package/dist/components/inputs/fields/number/index.js +57 -1
- package/dist/components/inputs/fields/number-range/index.js +49 -1
- package/dist/components/inputs/fields/phone/index.js +574 -11
- package/dist/components/inputs/fields/text-area/index.js +81 -1
- package/dist/components/inputs/index.js +28 -1
- package/dist/components/inputs/label/index.js +38 -1
- package/dist/components/inputs/outline-container/index.js +104 -1
- package/dist/components/inputs/utils/action-button/index.js +31 -1
- package/dist/components/inputs/utils/calendar-button/index.js +37 -1
- package/dist/components/inputs/utils/date-selector/index.js +62 -1
- package/dist/components/inputs/utils/date-time-field/index.js +133 -1
- package/dist/components/inputs/utils/dialog/index.js +14 -1
- package/dist/components/inputs/utils/number-field/index.js +86 -1
- package/dist/components/inputs/utils/popover/index.js +44 -1
- package/dist/components/interactive-card/icon/index.js +7 -1
- package/dist/components/interactive-card/index.js +118 -1
- package/dist/components/language-selector/index.js +37 -1
- package/dist/components/language-selector/item-list/index.js +8 -1
- package/dist/components/link/index.js +106 -7
- package/dist/components/list-item/index.js +67 -1
- package/dist/components/little-flag/index.js +32 -3
- package/dist/components/loading/index.js +55 -14
- package/dist/components/logo/index.js +13 -1
- package/dist/components/logo-carousel/index.js +45 -4
- package/dist/components/lottie/index.js +20 -3
- package/dist/components/menu/index.js +67 -1
- package/dist/components/message-banner/index.js +87 -4
- package/dist/components/modal/index.js +65 -1
- package/dist/components/modal/modal-confirm/index.js +51 -1
- package/dist/components/modal/modal-footer/index.js +25 -1
- package/dist/components/modal/modal-header/index.js +51 -1
- package/dist/components/notification/index.js +113 -5
- package/dist/components/notification-sign/index.js +43 -6
- package/dist/components/number-input/index.js +62 -7
- package/dist/components/oauth-selector/index.js +100 -1
- package/dist/components/oauth-selector/option-container/index.js +76 -1
- package/dist/components/plan-card/index.js +155 -5
- package/dist/components/plan-card/recommended-tag/index.js +31 -1
- package/dist/components/pop-up/description/index.js +51 -1
- package/dist/components/pop-up/index.js +152 -1
- package/dist/components/premium-feature/index.js +85 -3
- package/dist/components/priority-score/index.js +29 -1
- package/dist/components/progress/index.js +36 -3
- package/dist/components/progress-bar/index.js +153 -5
- package/dist/components/radio-button/index.js +125 -3
- package/dist/components/scroll-button/index.js +38 -2
- package/dist/components/search/index.js +105 -7
- package/dist/components/search-bar/index.js +219 -1
- package/dist/components/search-bar/item-searching/index.js +10 -1
- package/dist/components/severity-badge/index.js +74 -1
- package/dist/components/severity-overview/badge/index.js +69 -1
- package/dist/components/severity-overview/index.js +17 -1
- package/dist/components/show-on-hover/index.js +31 -3
- package/dist/components/slide-out-menu/index.js +3456 -3
- package/dist/components/slide-out-menu/menu-item/index.js +67 -1
- package/dist/components/slider/index.js +124 -7
- package/dist/components/slider/thumb/index.js +17 -1
- package/dist/components/step-lapse/index.js +153 -9
- package/dist/components/table-button/index.js +97 -3
- package/dist/components/tabs/fixed-tabs/index.js +29 -1
- package/dist/components/tabs/index.js +57 -1
- package/dist/components/tabs/tab/index.js +39 -1
- package/dist/components/tag/index.js +184 -3
- package/dist/components/timeline/card/index.js +9 -1
- package/dist/components/timeline/index.js +17 -1
- package/dist/components/toggle/index.js +85 -14
- package/dist/components/toggle-buttons/index.js +103 -5
- package/dist/components/tooltip/index.js +13 -1
- package/dist/components/tour/index.js +4549 -4
- package/dist/components/typography/heading/index.js +47 -1
- package/dist/components/typography/index.js +8 -1
- package/dist/components/typography/span/index.js +41 -1
- package/dist/components/typography/text/index.js +47 -1
- package/dist/components/web-form/index.js +68 -7
- package/dist/hooks/index.js +13 -1
- package/dist/index-BMHVi812.mjs +234 -0
- package/dist/index-BzAniA2J.mjs +135 -0
- package/dist/index-C6LbClYh.mjs +146 -0
- package/dist/index-CAIe8hBv.mjs +130 -0
- package/dist/index-CUQBAqt_.mjs +75 -0
- package/dist/index-CWlrSlUk.mjs +68 -0
- package/dist/index-Ckmu1TfV.mjs +86 -0
- package/dist/index-DwznImvK.mjs +1678 -0
- package/dist/index-maWH3JYC.mjs +3561 -0
- package/dist/index.js +206 -1
- package/dist/styles-B2N0JLw1.mjs +114 -0
- package/dist/styles-B64DVBIF.mjs +115 -0
- package/dist/{styles-BAhpqi6C.mjs → styles-BXFVwnWT.mjs} +28 -28
- package/dist/styles-BZQOqe8p.mjs +141 -0
- package/dist/styles-Bdque9TT.mjs +65 -0
- package/dist/styles-BlHspTrz.mjs +144 -0
- package/dist/styles-CROOwXEH.mjs +76 -0
- package/dist/styles-CplEd2kw.mjs +228 -0
- package/dist/styles-D1eTIklB.mjs +110 -0
- package/dist/styles-ePGii_9g.mjs +74 -0
- package/dist/use-carousel-CgAF78h3.mjs +23 -0
- package/dist/use-click-outside-BUll8Ag-.mjs +18 -0
- package/dist/use-cloudinary-image-BCxwj15o.mjs +1176 -0
- package/dist/use-modal-CtgexKnf.mjs +14 -0
- package/dist/use-search-Dj47QDw9.mjs +15 -0
- package/dist/utils-V0EumEPM.mjs +6 -0
- package/package.json +1 -3
- package/dist/_commonjsHelpers-C37NGDzP.js +0 -1
- package/dist/_commonjsHelpers-D6CrkqQz.mjs +0 -6
- package/dist/index-BH27NQKA.mjs +0 -2311
- package/dist/index-Bcw2vW_n.mjs +0 -75
- package/dist/index-C0_LPuYU.mjs +0 -106
- package/dist/index-C8zdgAVH.mjs +0 -82
- package/dist/index-CA_9DXWd.js +0 -5
- package/dist/index-CmylnDrF.js +0 -14
- package/dist/index-DUMgwAbO.js +0 -26
- package/dist/index-DpQYiwGu.js +0 -5
- package/dist/index-Dy8ZUIYs.js +0 -5
- package/dist/index-JPf5Yzg6.js +0 -17
- package/dist/index-OBZtKZuT.mjs +0 -1021
- package/dist/index-SsXlDjK4.mjs +0 -122
- package/dist/index-TKLFHcRp.js +0 -18
- package/dist/index-TnyKqJHo.mjs +0 -61
- package/dist/index-Yr95Cb7Z.mjs +0 -54
- package/dist/index-h9-U5wxq.mjs +0 -209
- package/dist/index-qCiUU4sZ.js +0 -9
- package/dist/index-qe0nJwzl.js +0 -15
- package/dist/styles--Elze-LV.js +0 -3
- package/dist/styles-3pR4Xdvy.js +0 -33
- package/dist/styles-59h91S9m.mjs +0 -65
- package/dist/styles-BCwLWpC3.mjs +0 -126
- package/dist/styles-BJ7-0I5X.mjs +0 -74
- package/dist/styles-BKObp9bh.mjs +0 -76
- package/dist/styles-BWVdbvFu.js +0 -5
- package/dist/styles-Bl-CstrT.js +0 -5
- package/dist/styles-Bn42XCW5.js +0 -7
- package/dist/styles-C2CoGJl7.js +0 -33
- package/dist/styles-CNzziAXG.js +0 -5
- package/dist/styles-CdD9waPD.js +0 -29
- package/dist/styles-CnKTwnFk.mjs +0 -110
- package/dist/styles-D4R-eerv.mjs +0 -77
- package/dist/styles-DNIIhyRC.mjs +0 -144
- package/dist/styles-DV8yOaqV.mjs +0 -131
- package/dist/styles-DYoftbd3.js +0 -42
- package/dist/styles-DlmKLhPh.js +0 -7
- package/dist/styles-be8gOdgy.mjs +0 -106
- package/dist/use-carousel-64dKFW4E.js +0 -1
- package/dist/use-carousel-D7xeL3YZ.mjs +0 -17
- package/dist/use-click-outside-BqkLISED.js +0 -1
- package/dist/use-click-outside-C4Z4pdiW.mjs +0 -18
- package/dist/use-cloudinary-image-DKMl7jbx.mjs +0 -612
- package/dist/use-cloudinary-image-YMMafagv.js +0 -1
- package/dist/use-modal-CNbLSSQb.mjs +0 -14
- package/dist/use-modal-_bYY6M_n.js +0 -1
- package/dist/use-search-75ip5xR-.mjs +0 -12
- package/dist/use-search-DeL4UDMh.js +0 -1
- package/dist/utils-C2whpEd3.js +0 -1
- package/dist/utils-Da0qL35u.mjs +0 -4
|
@@ -1 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as m, useCallback as y } from "react";
|
|
3
|
+
import { usePopover as P, Overlay as a } from "react-aria";
|
|
4
|
+
const C = ({
|
|
5
|
+
className: e,
|
|
6
|
+
children: d,
|
|
7
|
+
isFilter: u = !1,
|
|
8
|
+
popoverRef: t,
|
|
9
|
+
state: i,
|
|
10
|
+
triggerRef: o,
|
|
11
|
+
...c
|
|
12
|
+
}) => {
|
|
13
|
+
var p;
|
|
14
|
+
const s = m(null), n = (p = o == null ? void 0 : o.current) == null ? void 0 : p.getBoundingClientRect(), { popoverProps: l } = P(
|
|
15
|
+
{ ...c, popoverRef: t ?? s, triggerRef: o },
|
|
16
|
+
i
|
|
17
|
+
), v = y(
|
|
18
|
+
(f) => {
|
|
19
|
+
f.preventDefault();
|
|
20
|
+
},
|
|
21
|
+
[]
|
|
22
|
+
);
|
|
23
|
+
return /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
...l,
|
|
27
|
+
className: e,
|
|
28
|
+
onPointerDown: u ? v : void 0,
|
|
29
|
+
ref: t ?? s,
|
|
30
|
+
style: {
|
|
31
|
+
...l.style,
|
|
32
|
+
...e === "dropdown" ? {
|
|
33
|
+
display: "flex",
|
|
34
|
+
justifyContent: "center",
|
|
35
|
+
width: n == null ? void 0 : n.width
|
|
36
|
+
} : {}
|
|
37
|
+
},
|
|
38
|
+
children: d
|
|
39
|
+
}
|
|
40
|
+
) });
|
|
41
|
+
};
|
|
42
|
+
export {
|
|
43
|
+
C as Popover
|
|
44
|
+
};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { a as p } from "../../../index-Ckmu1TfV.mjs";
|
|
3
|
+
import "../../colors/index.js";
|
|
4
|
+
import "../../icon/index.js";
|
|
5
|
+
export {
|
|
6
|
+
p as InteractiveIcon
|
|
7
|
+
};
|
|
@@ -1 +1,118 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useTheme as p } from "styled-components";
|
|
3
|
+
import { I as h, a as f } from "../../index-Ckmu1TfV.mjs";
|
|
4
|
+
import { Button as g } from "../button/index.js";
|
|
5
|
+
import { Container as o } from "../container/index.js";
|
|
6
|
+
import { Heading as r } from "../typography/heading/index.js";
|
|
7
|
+
import "../typography/span/index.js";
|
|
8
|
+
import { Text as l } from "../typography/text/index.js";
|
|
9
|
+
const y = ({
|
|
10
|
+
category: a,
|
|
11
|
+
description: c,
|
|
12
|
+
href: m,
|
|
13
|
+
icon: s,
|
|
14
|
+
location: d,
|
|
15
|
+
title: n
|
|
16
|
+
}) => {
|
|
17
|
+
const i = p();
|
|
18
|
+
return /* @__PURE__ */ t(h, { children: [
|
|
19
|
+
/* @__PURE__ */ t(
|
|
20
|
+
o,
|
|
21
|
+
{
|
|
22
|
+
alignItems: "flex-start",
|
|
23
|
+
display: "flex",
|
|
24
|
+
flexDirection: "column",
|
|
25
|
+
gap: 1.5,
|
|
26
|
+
height: "100%",
|
|
27
|
+
id: "uncover",
|
|
28
|
+
justify: "space-between",
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-0.5", children: [
|
|
31
|
+
/* @__PURE__ */ e(l, { color: i.palette.white, size: "sm", sizeSm: "xs", children: a }),
|
|
32
|
+
/* @__PURE__ */ e(
|
|
33
|
+
r,
|
|
34
|
+
{
|
|
35
|
+
color: i.palette.white,
|
|
36
|
+
fontWeight: "bold",
|
|
37
|
+
lineSpacing: 2.25,
|
|
38
|
+
lineSpacingSm: 1.75,
|
|
39
|
+
size: "lg",
|
|
40
|
+
sizeSm: "md",
|
|
41
|
+
children: n
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-0.5", children: [
|
|
46
|
+
/* @__PURE__ */ e(l, { color: i.palette.white, size: "sm", sizeSm: "xs", children: "Location" }),
|
|
47
|
+
/* @__PURE__ */ e(
|
|
48
|
+
l,
|
|
49
|
+
{
|
|
50
|
+
color: i.palette.white,
|
|
51
|
+
fontWeight: "bold",
|
|
52
|
+
lineSpacing: 1.5,
|
|
53
|
+
lineSpacingSm: 1.25,
|
|
54
|
+
size: "md",
|
|
55
|
+
sizeSm: "sm",
|
|
56
|
+
children: d
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
] })
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
/* @__PURE__ */ t(
|
|
64
|
+
o,
|
|
65
|
+
{
|
|
66
|
+
alignItems: "self-start",
|
|
67
|
+
display: "flex",
|
|
68
|
+
flexDirection: "column",
|
|
69
|
+
gap: 2,
|
|
70
|
+
height: "100%",
|
|
71
|
+
id: "hovered",
|
|
72
|
+
justify: "space-between",
|
|
73
|
+
pt: 1,
|
|
74
|
+
children: [
|
|
75
|
+
/* @__PURE__ */ e(
|
|
76
|
+
r,
|
|
77
|
+
{
|
|
78
|
+
color: i.palette.white,
|
|
79
|
+
fontWeight: "bold",
|
|
80
|
+
lineSpacing: 1.75,
|
|
81
|
+
lineSpacingSm: 1.5,
|
|
82
|
+
size: "md",
|
|
83
|
+
sizeSm: "sm",
|
|
84
|
+
children: n
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-8", children: [
|
|
88
|
+
/* @__PURE__ */ e(
|
|
89
|
+
l,
|
|
90
|
+
{
|
|
91
|
+
color: i.palette.gray[100],
|
|
92
|
+
lineSpacing: 1.5,
|
|
93
|
+
lineSpacingSm: 1.25,
|
|
94
|
+
size: "md",
|
|
95
|
+
sizeSm: "sm",
|
|
96
|
+
children: c
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ e(
|
|
100
|
+
g,
|
|
101
|
+
{
|
|
102
|
+
external: !0,
|
|
103
|
+
href: m,
|
|
104
|
+
variant: "link",
|
|
105
|
+
width: "max-content",
|
|
106
|
+
children: "Download now"
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] })
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
),
|
|
113
|
+
/* @__PURE__ */ e(f, { icon: s })
|
|
114
|
+
] });
|
|
115
|
+
};
|
|
116
|
+
export {
|
|
117
|
+
y as InteractiveCard
|
|
118
|
+
};
|
|
@@ -1 +1,37 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as x, useCallback as p } from "react";
|
|
3
|
+
import { S, a as m, b as f, I as g } from "../../index-BzAniA2J.mjs";
|
|
4
|
+
import { Icon as b } from "../icon/index.js";
|
|
5
|
+
const u = [{ text: "EN" }, { text: "ES" }], j = ({
|
|
6
|
+
items: n,
|
|
7
|
+
handleClick: o,
|
|
8
|
+
mode: s = "light"
|
|
9
|
+
}) => {
|
|
10
|
+
const c = n ?? u, [a, r] = x(c[0].text), i = p(
|
|
11
|
+
(t) => () => {
|
|
12
|
+
o(t.text), r(t.text);
|
|
13
|
+
},
|
|
14
|
+
[o]
|
|
15
|
+
);
|
|
16
|
+
return /* @__PURE__ */ l(S, { children: [
|
|
17
|
+
/* @__PURE__ */ l(m, { className: s, children: [
|
|
18
|
+
/* @__PURE__ */ e(b, { icon: "globe", iconSize: "xs", iconType: "fa-light" }),
|
|
19
|
+
a
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ e(f, { children: c.map(
|
|
22
|
+
(t, d) => /* @__PURE__ */ e(
|
|
23
|
+
g,
|
|
24
|
+
{
|
|
25
|
+
disabled: t.disabled,
|
|
26
|
+
mode: s,
|
|
27
|
+
onClick: i(t),
|
|
28
|
+
text: t.text
|
|
29
|
+
},
|
|
30
|
+
`${t.text}_${d}`
|
|
31
|
+
)
|
|
32
|
+
) })
|
|
33
|
+
] });
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
j as LanguageSelector
|
|
37
|
+
};
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { I as e } from "../../../index-BzAniA2J.mjs";
|
|
3
|
+
import "../../typography/heading/index.js";
|
|
4
|
+
import "../../typography/span/index.js";
|
|
5
|
+
import "../../typography/text/index.js";
|
|
6
|
+
export {
|
|
7
|
+
e as ItemList
|
|
8
|
+
};
|
|
@@ -1,7 +1,106 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsxs as p, jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { Link as y } from "react-router-dom";
|
|
3
|
+
import { css as u, styled as s } from "styled-components";
|
|
4
|
+
import { v as $ } from "../../utils-V0EumEPM.mjs";
|
|
5
|
+
import { Icon as w } from "../icon/index.js";
|
|
6
|
+
const { getVariant: m } = $(
|
|
7
|
+
(r) => ({
|
|
8
|
+
highRelevance: `
|
|
9
|
+
color: ${r.palette.primary[500]};
|
|
10
|
+
|
|
11
|
+
&:hover:not([disabled]) {
|
|
12
|
+
color: ${r.palette.primary[400]};
|
|
13
|
+
}
|
|
14
|
+
`,
|
|
15
|
+
lowRelevance: `
|
|
16
|
+
color: ${r.palette.gray[800]};
|
|
17
|
+
|
|
18
|
+
&:hover:not([disabled]) {
|
|
19
|
+
color: ${r.palette.gray[500]};
|
|
20
|
+
}
|
|
21
|
+
`
|
|
22
|
+
})
|
|
23
|
+
), c = u`
|
|
24
|
+
${({ theme: r, $color: a, $variant: e }) => `
|
|
25
|
+
align-items: center;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
font-family: ${r.typography.type.primary};
|
|
28
|
+
font-size: ${r.typography.text.sm};
|
|
29
|
+
font-weight: ${r.typography.weight.regular};
|
|
30
|
+
gap: ${r.spacing[0.25]};
|
|
31
|
+
line-height: ${r.spacing[1.25]};
|
|
32
|
+
text-decoration: underline;
|
|
33
|
+
word-break: break-word;
|
|
34
|
+
word-wrap: break-word;
|
|
35
|
+
|
|
36
|
+
&:disabled {
|
|
37
|
+
color: ${r.palette.gray[300]};
|
|
38
|
+
cursor: not-allowed;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:has(button) {
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
${a ?? m(r, e)}
|
|
46
|
+
`}
|
|
47
|
+
`, x = s.a`
|
|
48
|
+
${c}
|
|
49
|
+
`, b = s(y)`
|
|
50
|
+
${c}
|
|
51
|
+
`, R = ({
|
|
52
|
+
children: r,
|
|
53
|
+
color: a,
|
|
54
|
+
download: e,
|
|
55
|
+
href: i,
|
|
56
|
+
iconPosition: o = "right",
|
|
57
|
+
onClick: l,
|
|
58
|
+
target: n,
|
|
59
|
+
variant: d = "lowRelevance"
|
|
60
|
+
}) => {
|
|
61
|
+
const f = i.startsWith("https://"), t = /* @__PURE__ */ g(
|
|
62
|
+
w,
|
|
63
|
+
{
|
|
64
|
+
icon: e === void 0 ? "arrow-up-right-from-square" : "arrow-down-to-bracket",
|
|
65
|
+
iconSize: "xxs",
|
|
66
|
+
iconType: "fa-regular",
|
|
67
|
+
ml: 0.25,
|
|
68
|
+
mr: 0.25
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
return f ? /* @__PURE__ */ p(
|
|
72
|
+
x,
|
|
73
|
+
{
|
|
74
|
+
$color: a,
|
|
75
|
+
$variant: d,
|
|
76
|
+
download: e,
|
|
77
|
+
href: i,
|
|
78
|
+
onClick: l,
|
|
79
|
+
rel: "nofollow noopener noreferrer",
|
|
80
|
+
target: n ?? "_blank",
|
|
81
|
+
children: [
|
|
82
|
+
o === "left" ? t : void 0,
|
|
83
|
+
r,
|
|
84
|
+
o === "right" ? t : void 0
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
) : /* @__PURE__ */ p(
|
|
88
|
+
b,
|
|
89
|
+
{
|
|
90
|
+
$variant: d,
|
|
91
|
+
download: e,
|
|
92
|
+
onClick: l,
|
|
93
|
+
rel: "nofollow noopener noreferrer",
|
|
94
|
+
target: n,
|
|
95
|
+
to: i,
|
|
96
|
+
children: [
|
|
97
|
+
n !== void 0 && o === "left" ? t : void 0,
|
|
98
|
+
r,
|
|
99
|
+
n !== void 0 && o === "right" ? t : void 0
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
};
|
|
104
|
+
export {
|
|
105
|
+
R as Link
|
|
106
|
+
};
|
|
@@ -1 +1,67 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs as f, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { Children as C, isValidElement as L, cloneElement as g } from "react";
|
|
3
|
+
import { useTheme as I } from "styled-components";
|
|
4
|
+
import { L as d } from "../../styles-Bdque9TT.mjs";
|
|
5
|
+
import { a as D } from "../../styles-Bdque9TT.mjs";
|
|
6
|
+
import { Container as j } from "../container/index.js";
|
|
7
|
+
import { Icon as c } from "../icon/index.js";
|
|
8
|
+
import { Link as k } from "../link/index.js";
|
|
9
|
+
const w = ({
|
|
10
|
+
children: i,
|
|
11
|
+
disabled: r = !1,
|
|
12
|
+
icon: o,
|
|
13
|
+
iconType: m = "fa-light",
|
|
14
|
+
href: s,
|
|
15
|
+
onClick: x,
|
|
16
|
+
onKeyDown: u,
|
|
17
|
+
selected: a = !1,
|
|
18
|
+
value: e,
|
|
19
|
+
...h
|
|
20
|
+
}) => {
|
|
21
|
+
const p = I().palette.gray[r ? 300 : 800], l = r ? C.map(i, (t) => L(t) ? g(t, {
|
|
22
|
+
disabled: r,
|
|
23
|
+
...t.props
|
|
24
|
+
}) : t) : i;
|
|
25
|
+
return /* @__PURE__ */ f(
|
|
26
|
+
d,
|
|
27
|
+
{
|
|
28
|
+
"aria-disabled": r,
|
|
29
|
+
"aria-label": e,
|
|
30
|
+
"aria-selected": a,
|
|
31
|
+
"data-testid": e,
|
|
32
|
+
onClick: x,
|
|
33
|
+
onKeyDown: u,
|
|
34
|
+
value: e,
|
|
35
|
+
...h,
|
|
36
|
+
children: [
|
|
37
|
+
o !== void 0 || e !== void 0 ? /* @__PURE__ */ f(j, { alignItems: "center", display: "flex", gap: 0.625, children: [
|
|
38
|
+
o ? /* @__PURE__ */ n(
|
|
39
|
+
c,
|
|
40
|
+
{
|
|
41
|
+
disabled: r,
|
|
42
|
+
icon: o,
|
|
43
|
+
iconColor: p,
|
|
44
|
+
iconSize: "xs",
|
|
45
|
+
iconType: m
|
|
46
|
+
}
|
|
47
|
+
) : null,
|
|
48
|
+
s === void 0 ? l : /* @__PURE__ */ n(k, { href: s, children: l })
|
|
49
|
+
] }) : null,
|
|
50
|
+
a ? /* @__PURE__ */ n(
|
|
51
|
+
c,
|
|
52
|
+
{
|
|
53
|
+
disabled: r,
|
|
54
|
+
icon: "check",
|
|
55
|
+
iconColor: p,
|
|
56
|
+
iconSize: "xs",
|
|
57
|
+
iconType: m
|
|
58
|
+
}
|
|
59
|
+
) : null
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
w as ListItem,
|
|
66
|
+
D as ListItemsWrapper
|
|
67
|
+
};
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { styled as i } from "styled-components";
|
|
3
|
+
const s = i.span`
|
|
4
|
+
${({
|
|
5
|
+
theme: o,
|
|
6
|
+
$bgColor: a = o.palette.secondary[500],
|
|
7
|
+
$txtDecoration: t = "none"
|
|
8
|
+
}) => `
|
|
9
|
+
background-color: ${a};
|
|
10
|
+
border-radius: 5px;
|
|
11
|
+
color: ${o.palette.white};
|
|
12
|
+
font-size: 10px;
|
|
13
|
+
padding: ${o.spacing[0.125]} ${o.spacing[0.25]} ${o.spacing[0.125]} ${o.spacing[0.25]};
|
|
14
|
+
text-decoration: ${t}
|
|
15
|
+
`}
|
|
16
|
+
`, l = ({
|
|
17
|
+
bgColor: o,
|
|
18
|
+
children: a,
|
|
19
|
+
txtDecoration: t,
|
|
20
|
+
ml: n = 1
|
|
21
|
+
}) => /* @__PURE__ */ r(
|
|
22
|
+
s,
|
|
23
|
+
{
|
|
24
|
+
$bgColor: o,
|
|
25
|
+
$txtDecoration: t,
|
|
26
|
+
className: `ml-${n}`,
|
|
27
|
+
children: a
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
export {
|
|
31
|
+
l as LittleFlag
|
|
32
|
+
};
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { keyframes as n, styled as o, css as a, useTheme as l } from "styled-components";
|
|
3
|
+
import { v as c } from "../../utils-V0EumEPM.mjs";
|
|
4
|
+
import "../../styles-CplEd2kw.mjs";
|
|
5
|
+
import { Container as d } from "../container/index.js";
|
|
6
|
+
import "../typography/heading/index.js";
|
|
7
|
+
import "../typography/span/index.js";
|
|
8
|
+
import { Text as f } from "../typography/text/index.js";
|
|
9
|
+
const p = {
|
|
10
|
+
lg: "56",
|
|
11
|
+
md: "30",
|
|
12
|
+
sm: "12"
|
|
13
|
+
}, { getVariant: h } = c(
|
|
14
|
+
(t) => ({
|
|
15
|
+
red: `stroke: ${t.palette.primary[500]};`,
|
|
16
|
+
white: `stroke: ${t.palette.white};`
|
|
17
|
+
})
|
|
18
|
+
), g = n`
|
|
2
19
|
0% {
|
|
3
20
|
transform: rotateZ(0deg);
|
|
4
21
|
}
|
|
5
22
|
100% {
|
|
6
23
|
transform: rotateZ(360deg)
|
|
7
24
|
}
|
|
8
|
-
`,
|
|
25
|
+
`, k = n`
|
|
9
26
|
0%,
|
|
10
27
|
25% {
|
|
11
28
|
stroke-dashoffset: 280;
|
|
@@ -22,16 +39,16 @@
|
|
|
22
39
|
stroke-dashoffset: 280;
|
|
23
40
|
transform: rotate(360deg);
|
|
24
41
|
}
|
|
25
|
-
`,
|
|
26
|
-
${({$size:
|
|
27
|
-
animation: ${
|
|
42
|
+
`, y = o.svg`
|
|
43
|
+
${({ $size: t = "md" }) => a`
|
|
44
|
+
animation: ${g} 2s linear infinite;
|
|
28
45
|
animation-timing-function: linear;
|
|
29
46
|
display: inline-block;
|
|
30
|
-
width: ${
|
|
47
|
+
width: ${p[t]}px;
|
|
31
48
|
`}
|
|
32
|
-
`,
|
|
33
|
-
${({theme:
|
|
34
|
-
animation: 1.4s ease-in-out infinite both ${
|
|
49
|
+
`, $ = o.circle`
|
|
50
|
+
${({ theme: t, $color: r = "red" }) => a`
|
|
51
|
+
animation: 1.4s ease-in-out infinite both ${k};
|
|
35
52
|
display: block;
|
|
36
53
|
fill: transparent;
|
|
37
54
|
stroke-linecap: round;
|
|
@@ -40,14 +57,38 @@
|
|
|
40
57
|
stroke-width: 10px;
|
|
41
58
|
transform-origin: 50% 50%;
|
|
42
59
|
|
|
43
|
-
${
|
|
60
|
+
${h(t, r)}
|
|
44
61
|
`}
|
|
45
|
-
`,
|
|
62
|
+
`, x = o.circle`
|
|
46
63
|
display: block;
|
|
47
64
|
fill: transparent;
|
|
48
|
-
stroke: ${({theme:
|
|
65
|
+
stroke: ${({ theme: t }) => t.palette.gray[200]};
|
|
49
66
|
stroke-linecap: round;
|
|
50
67
|
stroke-width: 10px;
|
|
51
68
|
transform-origin: 50% 50%;
|
|
52
|
-
opacity: ${({$color:
|
|
53
|
-
|
|
69
|
+
opacity: ${({ $color: t }) => t === "white" ? "20%" : "unset"};
|
|
70
|
+
`, L = ({
|
|
71
|
+
color: t = "red",
|
|
72
|
+
label: r,
|
|
73
|
+
size: m
|
|
74
|
+
}) => {
|
|
75
|
+
const i = l();
|
|
76
|
+
return /* @__PURE__ */ s(d, { alignItems: "center", display: "flex", children: [
|
|
77
|
+
/* @__PURE__ */ s(y, { $size: m, viewBox: "0 0 100 100", children: [
|
|
78
|
+
/* @__PURE__ */ e(x, { $color: t, cx: "50", cy: "50", r: "45" }),
|
|
79
|
+
/* @__PURE__ */ e($, { $color: t, cx: "50", cy: "50", r: "45" })
|
|
80
|
+
] }),
|
|
81
|
+
r && /* @__PURE__ */ e(
|
|
82
|
+
f,
|
|
83
|
+
{
|
|
84
|
+
color: t === "red" ? i.palette.gray[700] : i.palette.white,
|
|
85
|
+
ml: 0.5,
|
|
86
|
+
size: "sm",
|
|
87
|
+
children: r
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] });
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
L as Loading
|
|
94
|
+
};
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { M as e } from "../../index-maWH3JYC.mjs";
|
|
3
|
+
import { Container as h } from "../container/index.js";
|
|
4
|
+
const p = {
|
|
5
|
+
company: { height: "83px", width: "460px" },
|
|
6
|
+
footer: { height: "57px", width: "315px" },
|
|
7
|
+
header: { height: "35px", width: "160px" },
|
|
8
|
+
icon: { height: "40px", width: "40px" },
|
|
9
|
+
inline: { width: "150px" }
|
|
10
|
+
}, m = ({ publicId: t, variant: i }) => /* @__PURE__ */ o(h, { ...p[i], children: /* @__PURE__ */ o(e, { alt: "logo", publicId: t }) });
|
|
11
|
+
export {
|
|
12
|
+
m as Logo
|
|
13
|
+
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { M as n, p as t } from "../../index-maWH3JYC.mjs";
|
|
3
|
+
import { styled as o } from "styled-components";
|
|
4
|
+
const u = o.div`
|
|
2
5
|
display: flex;
|
|
3
6
|
height: 80px;
|
|
4
7
|
max-width: 1440px;
|
|
5
8
|
overflow: hidden;
|
|
6
9
|
position: relative;
|
|
7
|
-
`,o
|
|
10
|
+
`, s = o.div`
|
|
8
11
|
height: 79px;
|
|
9
12
|
width: 64px;
|
|
10
13
|
flex-shrink: 0;
|
|
@@ -28,7 +31,7 @@
|
|
|
28
31
|
);
|
|
29
32
|
right: 0;
|
|
30
33
|
}
|
|
31
|
-
`,
|
|
34
|
+
`, p = o.div`
|
|
32
35
|
display: flex;
|
|
33
36
|
gap: 40px;
|
|
34
37
|
animation: clients-animation 50s linear infinite;
|
|
@@ -43,4 +46,42 @@
|
|
|
43
46
|
transform: translateX(calc(-180px * 15));
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
|
-
`,
|
|
49
|
+
`, f = [
|
|
50
|
+
"airs/clients-carousel/color/bancolombia",
|
|
51
|
+
"airs/clients-carousel/color/itau_colombia",
|
|
52
|
+
"airs/clients-carousel/color/lulo_bank",
|
|
53
|
+
"airs/clients-carousel/color/oxxo_international",
|
|
54
|
+
"airs/clients-carousel/color/interbank",
|
|
55
|
+
"airs/clients-carousel/color/global_bank",
|
|
56
|
+
"airs/clients-carousel/color/gesa",
|
|
57
|
+
"airs/clients-carousel/color/copa_airlines",
|
|
58
|
+
"airs/clients-carousel/color/consubanco",
|
|
59
|
+
"airs/clients-carousel/color/bantrab",
|
|
60
|
+
"airs/clients-carousel/color/banistmo",
|
|
61
|
+
"airs/clients-carousel/color/banco_internacional",
|
|
62
|
+
"airs/clients-carousel/color/banco_general",
|
|
63
|
+
"airs/clients-carousel/color/banbif",
|
|
64
|
+
"airs/clients-carousel/color/avianca"
|
|
65
|
+
], h = ({
|
|
66
|
+
fusion: l = !1,
|
|
67
|
+
logos: r = f
|
|
68
|
+
}) => /* @__PURE__ */ c(u, { children: [
|
|
69
|
+
l && /* @__PURE__ */ a(s, { className: "left" }),
|
|
70
|
+
/* @__PURE__ */ a(p, { children: [...r, ...r].map(
|
|
71
|
+
(i, e) => /* @__PURE__ */ a(
|
|
72
|
+
n,
|
|
73
|
+
{
|
|
74
|
+
alt: `${i}-${e}`,
|
|
75
|
+
height: "80px",
|
|
76
|
+
plugins: [t()],
|
|
77
|
+
publicId: i,
|
|
78
|
+
width: "140px"
|
|
79
|
+
},
|
|
80
|
+
`${i}-${e}`
|
|
81
|
+
)
|
|
82
|
+
) }),
|
|
83
|
+
l && /* @__PURE__ */ a(s, { className: "right" })
|
|
84
|
+
] });
|
|
85
|
+
export {
|
|
86
|
+
h as LogoCarousel
|
|
87
|
+
};
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "lottie-light-react";
|
|
3
|
+
import { styled as r } from "styled-components";
|
|
4
|
+
const m = r(i).attrs(
|
|
5
|
+
({ autoplay: t = !0 }) => ({
|
|
6
|
+
autoplay: t,
|
|
7
|
+
className: "comp-lottie"
|
|
8
|
+
})
|
|
9
|
+
)`
|
|
10
|
+
${({ $size: t = 16 }) => `
|
|
11
|
+
height: ${t}px;
|
|
12
|
+
width: ${t}px;
|
|
13
|
+
`}
|
|
14
|
+
`, l = (t) => {
|
|
15
|
+
const { size: o } = t;
|
|
16
|
+
return /* @__PURE__ */ e(m, { $size: o, ...t });
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
l as Lottie
|
|
20
|
+
};
|