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