@fluidattacks/design 3.1.13 → 3.2.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.
Files changed (157) hide show
  1. package/dist/components/@core/index.js +15 -16
  2. package/dist/components/accordion/accordion-content/index.js +3 -20
  3. package/dist/components/accordion/index.js +5 -76
  4. package/dist/components/alert/index.js +4 -162
  5. package/dist/components/button/index.js +4 -67
  6. package/dist/components/card/card-header/index.js +4 -81
  7. package/dist/components/card/card-with-image/index.js +5 -91
  8. package/dist/components/card/card-with-input/index.js +5 -103
  9. package/dist/components/card/card-with-selector/index.js +4 -69
  10. package/dist/components/card/card-with-switch/index.js +4 -48
  11. package/dist/components/card/index.js +6 -10
  12. package/dist/components/carousel/index.js +4 -73
  13. package/dist/components/checkbox/index.js +4 -116
  14. package/dist/components/cloud-image/index.js +2 -2
  15. package/dist/components/code-snippet/index.js +6 -70
  16. package/dist/components/code-snippet/location-code/index.js +7 -169
  17. package/dist/components/colors/index.js +7 -222
  18. package/dist/components/confirm-dialog/index.js +4 -43
  19. package/dist/components/container/index.js +4 -49
  20. package/dist/components/content-card/category-tag/index.js +4 -40
  21. package/dist/components/content-card/event-date/index.js +5 -59
  22. package/dist/components/content-card/index.js +4 -166
  23. package/dist/components/content-card-carousel/index.js +4 -93
  24. package/dist/components/content-card-carousel/scroll-buttons/index.js +2 -4
  25. package/dist/components/divider/index.js +4 -23
  26. package/dist/components/empty-state/empty-button/index.js +3 -4
  27. package/dist/components/empty-state/index.js +3 -83
  28. package/dist/components/file-preview/index.js +3 -42
  29. package/dist/components/form/index.js +4 -61
  30. package/dist/components/grid-container/index.js +4 -46
  31. package/dist/components/group-selector/index.js +6 -133
  32. package/dist/components/group-selector/option-container/index.js +3 -7
  33. package/dist/components/icon/index.js +4 -106
  34. package/dist/components/icon-button/index.js +4 -74
  35. package/dist/components/indicator-card/index.js +5 -72
  36. package/dist/components/info-sidebar/index.js +4 -114
  37. package/dist/components/inputs/fields/combobox/index.js +7 -144
  38. package/dist/components/inputs/fields/combobox/option/index.js +2 -3
  39. package/dist/components/inputs/fields/date/calendar/cell/index.js +7 -25
  40. package/dist/components/inputs/fields/date/calendar/grid/index.js +5 -24
  41. package/dist/components/inputs/fields/date/calendar/header/index.js +4 -36
  42. package/dist/components/inputs/fields/date/calendar/index.js +6 -28
  43. package/dist/components/inputs/fields/date/index.js +8 -66
  44. package/dist/components/inputs/fields/date-range/calendar/index.js +7 -33
  45. package/dist/components/inputs/fields/date-range/index.js +6 -106
  46. package/dist/components/inputs/fields/date-time/calendar/index.js +7 -62
  47. package/dist/components/inputs/fields/date-time/index.js +6 -67
  48. package/dist/components/inputs/fields/editable/index.js +4 -26
  49. package/dist/components/inputs/fields/input/index.js +5 -75
  50. package/dist/components/inputs/fields/input-file/index.js +6 -123
  51. package/dist/components/inputs/fields/input-tags/index.js +4 -66
  52. package/dist/components/inputs/fields/number/index.js +4 -55
  53. package/dist/components/inputs/fields/number-range/index.js +4 -47
  54. package/dist/components/inputs/fields/phone/index.js +7 -577
  55. package/dist/components/inputs/fields/text-area/index.js +5 -79
  56. package/dist/components/inputs/index.js +14 -26
  57. package/dist/components/inputs/label/index.js +5 -36
  58. package/dist/components/inputs/outline-container/index.js +4 -102
  59. package/dist/components/inputs/utils/action-button/index.js +4 -29
  60. package/dist/components/inputs/utils/calendar-button/index.js +5 -35
  61. package/dist/components/inputs/utils/date-selector/index.js +3 -60
  62. package/dist/components/inputs/utils/date-time-field/index.js +10 -131
  63. package/dist/components/inputs/utils/dialog/index.js +5 -12
  64. package/dist/components/inputs/utils/number-field/index.js +5 -84
  65. package/dist/components/inputs/utils/popover/index.js +5 -42
  66. package/dist/components/interactive-card/icon/index.js +2 -4
  67. package/dist/components/interactive-card/index.js +4 -116
  68. package/dist/components/language-selector/index.js +4 -35
  69. package/dist/components/language-selector/item-list/index.js +2 -5
  70. package/dist/components/link/index.js +3 -104
  71. package/dist/components/list-item/index.js +6 -65
  72. package/dist/components/little-flag/index.js +3 -30
  73. package/dist/components/loading/index.js +4 -92
  74. package/dist/components/logo/index.js +2 -10
  75. package/dist/components/logo-carousel/index.js +4 -85
  76. package/dist/components/lottie/index.js +3 -18
  77. package/dist/components/menu/index.js +5 -64
  78. package/dist/components/message-banner/index.js +5 -99
  79. package/dist/components/modal/index.js +6 -63
  80. package/dist/components/modal/modal-confirm/index.js +3 -49
  81. package/dist/components/modal/modal-footer/index.js +5 -23
  82. package/dist/components/modal/modal-header/index.js +6 -49
  83. package/dist/components/notification/index.js +5 -111
  84. package/dist/components/notification-sign/index.js +4 -45
  85. package/dist/components/number-input/index.js +5 -87
  86. package/dist/components/oauth-selector/index.js +6 -98
  87. package/dist/components/oauth-selector/option-container/index.js +4 -74
  88. package/dist/components/plan-card/index.js +3 -153
  89. package/dist/components/plan-card/recommended-tag/index.js +3 -29
  90. package/dist/components/pop-up/description/index.js +5 -49
  91. package/dist/components/pop-up/index.js +7 -150
  92. package/dist/components/premium-feature/index.js +4 -83
  93. package/dist/components/priority-score/index.js +4 -27
  94. package/dist/components/progress/index.js +5 -45
  95. package/dist/components/progress-bar/index.js +3 -151
  96. package/dist/components/radio-button/index.js +4 -123
  97. package/dist/components/scroll-button/index.js +4 -40
  98. package/dist/components/search/index.js +7 -103
  99. package/dist/components/search-bar/index.js +4 -217
  100. package/dist/components/search-bar/item-searching/index.js +2 -7
  101. package/dist/components/severity-badge/index.js +4 -72
  102. package/dist/components/severity-overview/badge/index.js +4 -67
  103. package/dist/components/severity-overview/index.js +3 -15
  104. package/dist/components/show-on-hover/index.js +3 -29
  105. package/dist/components/slide-out-menu/index.js +6 -3453
  106. package/dist/components/slide-out-menu/menu-item/index.js +4 -65
  107. package/dist/components/slider/index.js +7 -122
  108. package/dist/components/slider/thumb/index.js +5 -15
  109. package/dist/components/step-lapse/index.js +4 -157
  110. package/dist/components/table-button/index.js +4 -95
  111. package/dist/components/tabs/fixed-tabs/index.js +3 -27
  112. package/dist/components/tabs/index.js +6 -55
  113. package/dist/components/tabs/tab/index.js +3 -37
  114. package/dist/components/tag/index.js +4 -182
  115. package/dist/components/timeline/card/index.js +2 -5
  116. package/dist/components/timeline/index.js +4 -15
  117. package/dist/components/toggle/index.js +4 -101
  118. package/dist/components/toggle-buttons/index.js +4 -101
  119. package/dist/components/tooltip/index.js +3 -6
  120. package/dist/components/tour/index.js +7 -4582
  121. package/dist/components/typography/heading/index.js +4 -45
  122. package/dist/components/typography/index.js +4 -6
  123. package/dist/components/typography/span/index.js +4 -39
  124. package/dist/components/typography/text/index.js +4 -45
  125. package/dist/components/web-form/index.js +4 -78
  126. package/dist/components-C7JPRIEW.mjs +9653 -0
  127. package/dist/hooks/index.js +6 -10
  128. package/dist/index.js +112 -204
  129. package/dist/vendor-_XDhaIzo.mjs +14504 -0
  130. package/package.json +3 -7
  131. package/dist/_commonjsHelpers-C6fGbg64.mjs +0 -6
  132. package/dist/index-BMHVi812.mjs +0 -234
  133. package/dist/index-BzAniA2J.mjs +0 -135
  134. package/dist/index-C6LbClYh.mjs +0 -146
  135. package/dist/index-CAIe8hBv.mjs +0 -130
  136. package/dist/index-CUQBAqt_.mjs +0 -75
  137. package/dist/index-CWlrSlUk.mjs +0 -68
  138. package/dist/index-Ckmu1TfV.mjs +0 -86
  139. package/dist/index-DwznImvK.mjs +0 -1678
  140. package/dist/index-maWH3JYC.mjs +0 -3561
  141. package/dist/styles-B2N0JLw1.mjs +0 -114
  142. package/dist/styles-B64DVBIF.mjs +0 -115
  143. package/dist/styles-BXFVwnWT.mjs +0 -133
  144. package/dist/styles-BZQOqe8p.mjs +0 -141
  145. package/dist/styles-Bdque9TT.mjs +0 -65
  146. package/dist/styles-BlHspTrz.mjs +0 -144
  147. package/dist/styles-CROOwXEH.mjs +0 -76
  148. package/dist/styles-CplEd2kw.mjs +0 -228
  149. package/dist/styles-D1eTIklB.mjs +0 -110
  150. package/dist/styles-ePGii_9g.mjs +0 -74
  151. package/dist/use-carousel-CgAF78h3.mjs +0 -23
  152. package/dist/use-click-outside-BUll8Ag-.mjs +0 -18
  153. package/dist/use-cloudinary-image-BCxwj15o.mjs +0 -1176
  154. package/dist/use-modal-CtgexKnf.mjs +0 -14
  155. package/dist/use-search-Dj47QDw9.mjs +0 -15
  156. package/dist/utils-V0EumEPM.mjs +0 -6
  157. /package/dist/assets/{index2.css → vendor.css} +0 -0
@@ -1,44 +1,7 @@
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
- };
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "react-aria";
4
+ import { aY as i } from "../../../../components-C7JPRIEW.mjs";
42
5
  export {
43
- C as Popover
6
+ i as Popover
44
7
  };
@@ -1,7 +1,5 @@
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";
2
+ import { bl as e } from "../../../components-C7JPRIEW.mjs";
5
3
  export {
6
- p as InteractiveIcon
4
+ e as InteractiveIcon
7
5
  };
@@ -1,118 +1,6 @@
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
- };
1
+ import "react/jsx-runtime";
2
+ import "styled-components";
3
+ import { a1 as e } from "../../components-C7JPRIEW.mjs";
116
4
  export {
117
- y as InteractiveCard
5
+ e as InteractiveCard
118
6
  };
@@ -1,37 +1,6 @@
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
- };
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import { a2 as t } from "../../components-C7JPRIEW.mjs";
35
4
  export {
36
- j as LanguageSelector
5
+ t as LanguageSelector
37
6
  };
@@ -1,8 +1,5 @@
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";
2
+ import { bm as r } from "../../../components-C7JPRIEW.mjs";
6
3
  export {
7
- e as ItemList
4
+ r as ItemList
8
5
  };
@@ -1,106 +1,5 @@
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
- };
1
+ import "react/jsx-runtime";
2
+ import { a3 as i } from "../../components-C7JPRIEW.mjs";
104
3
  export {
105
- R as Link
4
+ i as Link
106
5
  };
@@ -1,67 +1,8 @@
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
- };
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "styled-components";
4
+ import { a4 as i, a5 as o } from "../../components-C7JPRIEW.mjs";
64
5
  export {
65
- w as ListItem,
66
- D as ListItemsWrapper
6
+ i as ListItem,
7
+ o as ListItemsWrapper
67
8
  };
@@ -1,32 +1,5 @@
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
- );
1
+ import "react/jsx-runtime";
2
+ import { a6 as r } from "../../components-C7JPRIEW.mjs";
30
3
  export {
31
- l as LittleFlag
4
+ r as LittleFlag
32
5
  };
@@ -1,94 +1,6 @@
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`
19
- 0% {
20
- transform: rotateZ(0deg);
21
- }
22
- 100% {
23
- transform: rotateZ(360deg)
24
- }
25
- `, k = n`
26
- 0%,
27
- 25% {
28
- stroke-dashoffset: 280;
29
- transform: rotate(0);
30
- }
31
-
32
- 50%,
33
- 75% {
34
- stroke-dashoffset: 75;
35
- transform: rotate(45deg);
36
- }
37
-
38
- 100% {
39
- stroke-dashoffset: 280;
40
- transform: rotate(360deg);
41
- }
42
- `, y = o.svg`
43
- ${({ $size: t = "md" }) => a`
44
- animation: ${g} 2s linear infinite;
45
- animation-timing-function: linear;
46
- display: inline-block;
47
- width: ${p[t]}px;
48
- `}
49
- `, $ = o.circle`
50
- ${({ theme: t, $color: r = "red" }) => a`
51
- animation: 1.4s ease-in-out infinite both ${k};
52
- display: block;
53
- fill: transparent;
54
- stroke-linecap: round;
55
- stroke-dasharray: 283;
56
- stroke-dashoffset: 280;
57
- stroke-width: 10px;
58
- transform-origin: 50% 50%;
59
-
60
- ${h(t, r)}
61
- `}
62
- `, x = o.circle`
63
- display: block;
64
- fill: transparent;
65
- stroke: ${({ theme: t }) => t.palette.gray[200]};
66
- stroke-linecap: round;
67
- stroke-width: 10px;
68
- transform-origin: 50% 50%;
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
- };
1
+ import "react/jsx-runtime";
2
+ import "styled-components";
3
+ import { a7 as m } from "../../components-C7JPRIEW.mjs";
92
4
  export {
93
- L as Loading
5
+ m as Loading
94
6
  };
@@ -1,13 +1,5 @@
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 }) });
1
+ import "react/jsx-runtime";
2
+ import { a8 as m } from "../../components-C7JPRIEW.mjs";
11
3
  export {
12
4
  m as Logo
13
5
  };
@@ -1,87 +1,6 @@
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`
5
- display: flex;
6
- height: 80px;
7
- max-width: 1440px;
8
- overflow: hidden;
9
- position: relative;
10
- `, s = o.div`
11
- height: 79px;
12
- width: 64px;
13
- flex-shrink: 0;
14
- position: absolute;
15
- z-index: 11;
16
-
17
- &.left {
18
- background: linear-gradient(
19
- to right,
20
- #fff 57.21%,
21
- rgb(255 255 255 / 0%) 100.63%
22
- );
23
- left: 0;
24
- }
25
-
26
- &.right {
27
- background: linear-gradient(
28
- to left,
29
- #fff 57.21%,
30
- rgb(255 255 255 / 0%) 100.63%
31
- );
32
- right: 0;
33
- }
34
- `, p = o.div`
35
- display: flex;
36
- gap: 40px;
37
- animation: clients-animation 50s linear infinite;
38
- width: calc(180px * 30);
39
-
40
- @keyframes clients-animation {
41
- 0% {
42
- transform: translateX(0);
43
- }
44
-
45
- 100% {
46
- transform: translateX(calc(-180px * 15));
47
- }
48
- }
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
- ] });
1
+ import "react/jsx-runtime";
2
+ import "../../vendor-_XDhaIzo.mjs";
3
+ import { a9 as p } from "../../components-C7JPRIEW.mjs";
85
4
  export {
86
- h as LogoCarousel
5
+ p as LogoCarousel
87
6
  };
@@ -1,20 +1,5 @@
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
- };
1
+ import "react/jsx-runtime";
2
+ import { aa as r } from "../../components-C7JPRIEW.mjs";
18
3
  export {
19
- l as Lottie
4
+ r as Lottie
20
5
  };