@fluidattacks/design 3.1.12 → 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 (172) hide show
  1. package/dist/components/@core/index.js +2 -2
  2. package/dist/components/accordion/accordion-content/index.js +18 -5
  3. package/dist/components/accordion/index.js +71 -14
  4. package/dist/components/alert/index.js +108 -57
  5. package/dist/components/button/index.js +64 -13
  6. package/dist/components/card/card-header/index.js +78 -9
  7. package/dist/components/card/card-with-image/index.js +88 -13
  8. package/dist/components/card/card-with-input/index.js +72 -23
  9. package/dist/components/card/card-with-selector/index.js +63 -8
  10. package/dist/components/card/card-with-switch/index.js +46 -8
  11. package/dist/components/carousel/index.js +54 -28
  12. package/dist/components/checkbox/index.js +66 -32
  13. package/dist/components/cloud-image/index.js +2 -2
  14. package/dist/components/code-snippet/index.js +64 -19
  15. package/dist/components/code-snippet/location-code/index.js +146 -100
  16. package/dist/components/colors/index.js +220 -5
  17. package/dist/components/confirm-dialog/index.js +41 -18
  18. package/dist/components/container/index.js +39 -15
  19. package/dist/components/content-card/category-tag/index.js +37 -8
  20. package/dist/components/content-card/event-date/index.js +53 -10
  21. package/dist/components/content-card/index.js +118 -13
  22. package/dist/components/content-card-carousel/index.js +87 -7
  23. package/dist/components/content-card-carousel/scroll-buttons/index.js +1 -1
  24. package/dist/components/divider/index.js +22 -7
  25. package/dist/components/empty-state/empty-button/index.js +4 -4
  26. package/dist/components/empty-state/index.js +52 -15
  27. package/dist/components/file-preview/index.js +28 -12
  28. package/dist/components/form/index.js +46 -9
  29. package/dist/components/grid-container/index.js +31 -11
  30. package/dist/components/group-selector/index.js +126 -17
  31. package/dist/components/group-selector/option-container/index.js +1 -1
  32. package/dist/components/icon/index.js +78 -18
  33. package/dist/components/icon-button/index.js +63 -14
  34. package/dist/components/indicator-card/index.js +70 -11
  35. package/dist/components/info-sidebar/index.js +107 -7
  36. package/dist/components/inputs/fields/combobox/index.js +141 -21
  37. package/dist/components/inputs/fields/combobox/option/index.js +1 -1
  38. package/dist/components/inputs/fields/date/calendar/cell/index.js +22 -11
  39. package/dist/components/inputs/fields/date/calendar/grid/index.js +21 -10
  40. package/dist/components/inputs/fields/date/calendar/header/index.js +35 -13
  41. package/dist/components/inputs/fields/date/calendar/index.js +26 -11
  42. package/dist/components/inputs/fields/date/index.js +65 -15
  43. package/dist/components/inputs/fields/date-range/calendar/index.js +29 -10
  44. package/dist/components/inputs/fields/date-range/index.js +98 -18
  45. package/dist/components/inputs/fields/date-time/calendar/index.js +44 -15
  46. package/dist/components/inputs/fields/date-time/index.js +65 -14
  47. package/dist/components/inputs/fields/editable/index.js +22 -10
  48. package/dist/components/inputs/fields/input/index.js +74 -10
  49. package/dist/components/inputs/fields/input-file/index.js +114 -21
  50. package/dist/components/inputs/fields/input-tags/index.js +60 -11
  51. package/dist/components/inputs/fields/number/index.js +54 -7
  52. package/dist/components/inputs/fields/number-range/index.js +46 -8
  53. package/dist/components/inputs/fields/phone/index.js +446 -286
  54. package/dist/components/inputs/fields/text-area/index.js +78 -10
  55. package/dist/components/inputs/label/index.js +34 -8
  56. package/dist/components/inputs/outline-container/index.js +98 -12
  57. package/dist/components/inputs/utils/action-button/index.js +28 -7
  58. package/dist/components/inputs/utils/calendar-button/index.js +34 -10
  59. package/dist/components/inputs/utils/date-selector/index.js +60 -6
  60. package/dist/components/inputs/utils/date-time-field/index.js +129 -28
  61. package/dist/components/inputs/utils/dialog/index.js +10 -7
  62. package/dist/components/inputs/utils/number-field/index.js +81 -8
  63. package/dist/components/inputs/utils/popover/index.js +41 -10
  64. package/dist/components/interactive-card/icon/index.js +1 -1
  65. package/dist/components/interactive-card/index.js +110 -7
  66. package/dist/components/language-selector/index.js +34 -10
  67. package/dist/components/language-selector/item-list/index.js +1 -1
  68. package/dist/components/link/index.js +71 -17
  69. package/dist/components/list-item/index.js +64 -13
  70. package/dist/components/little-flag/index.js +26 -9
  71. package/dist/components/loading/index.js +48 -21
  72. package/dist/components/logo/index.js +10 -4
  73. package/dist/components/logo-carousel/index.js +40 -5
  74. package/dist/components/lottie/index.js +12 -7
  75. package/dist/components/menu/index.js +53 -9
  76. package/dist/components/message-banner/index.js +79 -13
  77. package/dist/components/modal/index.js +59 -13
  78. package/dist/components/modal/modal-confirm/index.js +48 -7
  79. package/dist/components/modal/modal-footer/index.js +22 -13
  80. package/dist/components/modal/modal-header/index.js +45 -19
  81. package/dist/components/notification/index.js +65 -20
  82. package/dist/components/notification-sign/index.js +27 -10
  83. package/dist/components/number-input/index.js +58 -21
  84. package/dist/components/oauth-selector/index.js +97 -23
  85. package/dist/components/oauth-selector/option-container/index.js +68 -7
  86. package/dist/components/plan-card/index.js +99 -28
  87. package/dist/components/plan-card/recommended-tag/index.js +23 -2
  88. package/dist/components/pop-up/description/index.js +47 -9
  89. package/dist/components/pop-up/index.js +146 -17
  90. package/dist/components/premium-feature/index.js +56 -16
  91. package/dist/components/priority-score/index.js +24 -9
  92. package/dist/components/progress/index.js +30 -17
  93. package/dist/components/progress-bar/index.js +99 -41
  94. package/dist/components/radio-button/index.js +64 -27
  95. package/dist/components/scroll-button/index.js +33 -15
  96. package/dist/components/search/index.js +77 -35
  97. package/dist/components/search-bar/index.js +211 -24
  98. package/dist/components/search-bar/item-searching/index.js +1 -1
  99. package/dist/components/severity-badge/index.js +66 -6
  100. package/dist/components/severity-overview/badge/index.js +62 -11
  101. package/dist/components/severity-overview/index.js +15 -5
  102. package/dist/components/show-on-hover/index.js +16 -10
  103. package/dist/components/slide-out-menu/index.js +2611 -1164
  104. package/dist/components/slide-out-menu/menu-item/index.js +58 -6
  105. package/dist/components/slider/index.js +79 -48
  106. package/dist/components/slider/thumb/index.js +13 -6
  107. package/dist/components/step-lapse/index.js +81 -23
  108. package/dist/components/table-button/index.js +65 -24
  109. package/dist/components/tabs/fixed-tabs/index.js +24 -4
  110. package/dist/components/tabs/index.js +54 -11
  111. package/dist/components/tabs/tab/index.js +37 -6
  112. package/dist/components/tag/index.js +95 -27
  113. package/dist/components/timeline/card/index.js +1 -1
  114. package/dist/components/timeline/index.js +15 -5
  115. package/dist/components/toggle/index.js +65 -25
  116. package/dist/components/toggle-buttons/index.js +51 -22
  117. package/dist/components/tooltip/index.js +1 -1
  118. package/dist/components/tour/index.js +3897 -1829
  119. package/dist/components/typography/heading/index.js +43 -5
  120. package/dist/components/typography/span/index.js +38 -6
  121. package/dist/components/typography/text/index.js +44 -6
  122. package/dist/components/web-form/index.js +28 -19
  123. package/dist/hooks/index.js +5 -5
  124. package/dist/index-BMHVi812.mjs +234 -0
  125. package/dist/index-BzAniA2J.mjs +135 -0
  126. package/dist/index-C6LbClYh.mjs +146 -0
  127. package/dist/index-CAIe8hBv.mjs +130 -0
  128. package/dist/index-CUQBAqt_.mjs +75 -0
  129. package/dist/index-CWlrSlUk.mjs +68 -0
  130. package/dist/index-Ckmu1TfV.mjs +86 -0
  131. package/dist/index-DwznImvK.mjs +1678 -0
  132. package/dist/index-maWH3JYC.mjs +3561 -0
  133. package/dist/index.js +11 -11
  134. package/dist/styles-B2N0JLw1.mjs +114 -0
  135. package/dist/styles-B64DVBIF.mjs +115 -0
  136. package/dist/{styles-lSVV9kjn.mjs → styles-BXFVwnWT.mjs} +28 -28
  137. package/dist/styles-BZQOqe8p.mjs +141 -0
  138. package/dist/styles-Bdque9TT.mjs +65 -0
  139. package/dist/{styles-CI-I6joH.mjs → styles-BlHspTrz.mjs} +18 -18
  140. package/dist/{styles-Cx93EcVo.mjs → styles-CROOwXEH.mjs} +5 -5
  141. package/dist/styles-CplEd2kw.mjs +228 -0
  142. package/dist/styles-D1eTIklB.mjs +110 -0
  143. package/dist/styles-ePGii_9g.mjs +74 -0
  144. package/dist/use-carousel-CgAF78h3.mjs +23 -0
  145. package/dist/use-click-outside-BUll8Ag-.mjs +18 -0
  146. package/dist/use-cloudinary-image-BCxwj15o.mjs +1176 -0
  147. package/dist/use-modal-CtgexKnf.mjs +14 -0
  148. package/dist/use-search-Dj47QDw9.mjs +15 -0
  149. package/dist/utils-V0EumEPM.mjs +6 -0
  150. package/package.json +1 -3
  151. package/dist/index-38JqtnAI.mjs +0 -122
  152. package/dist/index-B5yoGFs6.mjs +0 -54
  153. package/dist/index-BLbKylyw.mjs +0 -209
  154. package/dist/index-Bu448Tz2.mjs +0 -106
  155. package/dist/index-BwFnfaRh.mjs +0 -2310
  156. package/dist/index-Co_k0WFk.mjs +0 -75
  157. package/dist/index-Cu7uUMlx.mjs +0 -82
  158. package/dist/index-D-lcuEHY.mjs +0 -1018
  159. package/dist/index-DrfjITyT.mjs +0 -61
  160. package/dist/styles-7_q7nHce.mjs +0 -110
  161. package/dist/styles-BA0WIQL-.mjs +0 -74
  162. package/dist/styles-C3cZmKVJ.mjs +0 -131
  163. package/dist/styles-D85YYIjM.mjs +0 -131
  164. package/dist/styles-EIbGRPlk.mjs +0 -106
  165. package/dist/styles-Q1VXuWI7.mjs +0 -65
  166. package/dist/styles-fH2c4cfc.mjs +0 -77
  167. package/dist/use-carousel-CvRxi2FI.mjs +0 -17
  168. package/dist/use-click-outside-BtZLIoU1.mjs +0 -18
  169. package/dist/use-cloudinary-image-fG7ODNgr.mjs +0 -611
  170. package/dist/use-modal-CkrZ-_-M.mjs +0 -14
  171. package/dist/use-search-DpLNvt7Q.mjs +0 -12
  172. package/dist/utils-CQvBF-wY.mjs +0 -4
@@ -0,0 +1,146 @@
1
+ import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
+ import { styled as o, useTheme as c } from "styled-components";
3
+ import "./components/typography/heading/index.js";
4
+ import "./components/typography/span/index.js";
5
+ import { Text as r } from "./components/typography/text/index.js";
6
+ const g = o.div`
7
+ ${({ theme: e }) => `
8
+ align-items: center;
9
+ background-color: ${e.palette.white};
10
+ border: 1px solid ${e.palette.gray[200]};
11
+ border-radius: ${e.spacing[0.25]};
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: ${e.spacing[0.5]};
15
+ min-height: 180px;
16
+ padding: ${e.spacing[1.5]};
17
+ width: 510px;
18
+
19
+ p {
20
+ font-style: normal;
21
+ line-height: ${e.spacing[1.25]};
22
+ }
23
+
24
+ &:hover {
25
+ border: 1px solid ${e.palette.gray[600]};
26
+ }
27
+ `}
28
+ `, u = o.div`
29
+ ${({ theme: e }) => `
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: ${e.spacing[1.5]};
33
+ position: relative;
34
+ max-width: 1268px;
35
+
36
+ &::before {
37
+ background-color: ${e.palette.gray[200]};
38
+ border-radius: 5px;
39
+ height: 100%;
40
+ width: 4px;
41
+ transform: translate(-50%, 0);
42
+ }
43
+
44
+ > * {
45
+ &:nth-child(even) {
46
+ align-self: end;
47
+ }
48
+
49
+ &:nth-child(odd) {
50
+ align-self: start;
51
+ }
52
+
53
+ &::before {
54
+ position: absolute;
55
+ background-color: ${e.palette.primary[500]};
56
+ border-radius: 50%;
57
+ height: 14px;
58
+ width: 14px;
59
+ z-index: 1;
60
+ }
61
+ }
62
+
63
+ &::before,
64
+ > *::before {
65
+ content: "";
66
+ left: 50%;
67
+ position: absolute;
68
+ transform: translateX(-50%);
69
+ }
70
+
71
+ @media (width <= 1270px) {
72
+ max-width: 540px;
73
+
74
+ p {
75
+ text-align: center;
76
+ }
77
+
78
+ &::before,
79
+ > *::before {
80
+ left: 8px;
81
+ }
82
+
83
+ > * {
84
+ &:nth-child(odd) {
85
+ align-self: end;
86
+ }
87
+ }
88
+
89
+ @media (width <= 630px) {
90
+ display: block;
91
+
92
+ .timeline-card {
93
+ width: auto;
94
+ margin-left: 30px;
95
+ }
96
+ }
97
+ }
98
+ `}
99
+ `, $ = ({
100
+ date: e,
101
+ description: a,
102
+ title: l
103
+ }) => {
104
+ const t = c();
105
+ return /* @__PURE__ */ s(g, { className: "timeline-card", children: [
106
+ /* @__PURE__ */ i(
107
+ r,
108
+ {
109
+ color: t.palette.gray[800],
110
+ fontWeight: "bold",
111
+ lineSpacing: 1.75,
112
+ size: "xl",
113
+ children: e
114
+ }
115
+ ),
116
+ /* @__PURE__ */ i(
117
+ r,
118
+ {
119
+ color: t.palette.gray[800],
120
+ fontWeight: "bold",
121
+ lineSpacing: 1.5,
122
+ mb: 0.5,
123
+ size: "md",
124
+ textAlign: "center",
125
+ children: l
126
+ }
127
+ ),
128
+ /* @__PURE__ */ i("div", { children: a.map((n, d) => {
129
+ const p = `${n}#${d}`;
130
+ return /* @__PURE__ */ i(
131
+ r,
132
+ {
133
+ size: "sm",
134
+ textAlign: "center",
135
+ wordBreak: "break-word",
136
+ children: n
137
+ },
138
+ p
139
+ );
140
+ }) })
141
+ ] });
142
+ };
143
+ export {
144
+ u as T,
145
+ $ as a
146
+ };
@@ -0,0 +1,130 @@
1
+ import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
+ import { useCallback as c } from "react";
3
+ import { styled as d, useTheme as m } from "styled-components";
4
+ import { Container as x } from "./components/container/index.js";
5
+ import { Icon as p } from "./components/icon/index.js";
6
+ const g = d.button`
7
+ display: flex;
8
+ position: relative;
9
+ height: 32px;
10
+ width: 32px;
11
+
12
+ svg {
13
+ position: absolute;
14
+ }
15
+
16
+ .hovered {
17
+ display: none;
18
+ }
19
+
20
+ &:hover {
21
+ .hovered {
22
+ display: flex;
23
+ }
24
+
25
+ .uncover {
26
+ display: none;
27
+ }
28
+ }
29
+ `, w = d.div`
30
+ ${({ theme: o }) => `
31
+ display: flex;
32
+ flex-direction: column;
33
+ gap: ${o.spacing[2.5]};
34
+ overflow: hidden;
35
+ min-height: 589px;
36
+ max-width: 1316px;
37
+
38
+ span {
39
+ background: ${o.palette.gradients["01"]};
40
+ background-clip: text;
41
+ -webkit-background-clip: text;
42
+ -webkit-text-fill-color: transparent;
43
+ }
44
+
45
+ #mobile {
46
+ display: none;
47
+ }
48
+
49
+ #carousel {
50
+ scrollbar-width: none;
51
+
52
+ &::-webkit-scrollbar {
53
+ display: none;
54
+ }
55
+ }
56
+
57
+ @media screen and (max-width: ${o.breakpoints.mobile}) {
58
+ align-items: center;
59
+ height: auto;
60
+ max-width: 340px;
61
+
62
+ #desktop {
63
+ display: none;
64
+ }
65
+ #mobile {
66
+ display: flex;
67
+ }
68
+ }
69
+ `}
70
+ `, v = ({
71
+ containerRef: o,
72
+ id: i
73
+ }) => {
74
+ const l = m(), t = i === "desktop" ? 380 : 342, n = c(
75
+ (e) => () => {
76
+ if (o != null && o.current) {
77
+ const { current: h } = o;
78
+ h.scrollBy({
79
+ left: e === "right" ? t : -t,
80
+ behavior: "smooth"
81
+ });
82
+ }
83
+ },
84
+ [o, t]
85
+ ), r = c(
86
+ (e) => /* @__PURE__ */ s(g, { onClick: n(e), children: [
87
+ /* @__PURE__ */ a(
88
+ p,
89
+ {
90
+ clickable: !0,
91
+ icon: `circle-arrow-${e}`,
92
+ iconClass: "hovered",
93
+ iconColor: l.palette.gray[800],
94
+ iconSize: "md",
95
+ iconType: "fa-solid"
96
+ }
97
+ ),
98
+ /* @__PURE__ */ a(
99
+ p,
100
+ {
101
+ clickable: !0,
102
+ icon: `circle-arrow-${e}`,
103
+ iconClass: "uncover",
104
+ iconColor: l.palette.gray[800],
105
+ iconSize: "md",
106
+ iconType: "fa-light"
107
+ }
108
+ )
109
+ ] }),
110
+ [n, l]
111
+ );
112
+ return /* @__PURE__ */ s(
113
+ x,
114
+ {
115
+ alignItems: "center",
116
+ display: "flex",
117
+ gap: 1,
118
+ id: i,
119
+ width: "max-content",
120
+ children: [
121
+ r("left"),
122
+ r("right")
123
+ ]
124
+ }
125
+ );
126
+ };
127
+ export {
128
+ w as O,
129
+ v as S
130
+ };
@@ -0,0 +1,75 @@
1
+ import { jsxs as p, jsx as c } from "react/jsx-runtime";
2
+ import { useRef as d } from "react";
3
+ import { useOption as g } from "react-aria";
4
+ import { styled as r } from "styled-components";
5
+ import { Icon as y } from "./components/icon/index.js";
6
+ const k = r.ul`
7
+ ${({ theme: o }) => `
8
+ align-self: center;
9
+ background: ${o.palette.white};
10
+ border: 1px solid ${o.palette.gray[200]};
11
+ border-radius: ${o.spacing[0.25]};
12
+ box-shadow: ${o.shadows.md};
13
+ list-style: none;
14
+ max-height: 200px;
15
+ min-width: 240px;
16
+ overflow: hidden auto;
17
+ scrollbar-color: ${o.palette.gray[600]} ${o.palette.gray[100]};
18
+ scroll-padding: ${o.spacing[0.5]};
19
+ width: 95%;
20
+ `}
21
+ `, $ = r.li`
22
+ ${({ theme: o }) => `
23
+ align-items: center;
24
+ color: ${o.palette.gray[800]};
25
+ cursor: pointer;
26
+ display: flex;
27
+ font-family: ${o.typography.type.primary};
28
+ font-size: ${o.typography.text.sm};
29
+ gap: ${o.spacing[0.5]};
30
+ justify-content: space-between;
31
+ line-height: ${o.spacing[1.25]};
32
+ padding: ${o.spacing[0.25]} ${o.spacing[1]};
33
+ overflow: hidden;
34
+ text-overflow: ellipsis;
35
+ white-space: nowrap;
36
+
37
+ span {
38
+ color: ${o.palette.gray[700]};
39
+ }
40
+
41
+ &:hover {
42
+ background: ${o.palette.gray[100]};
43
+ }
44
+
45
+ &.selected {
46
+ background: ${o.palette.gray[200]};
47
+ }
48
+
49
+ &.disabled {
50
+ color: ${o.palette.gray[400]};
51
+ cursor: not-allowed;
52
+ }
53
+ `}
54
+ `, v = ({
55
+ item: o,
56
+ state: i
57
+ }) => {
58
+ const s = d(null), { optionProps: e, isSelected: a, isFocused: l, isDisabled: n } = g(
59
+ { key: o.value },
60
+ i,
61
+ s
62
+ ), t = [
63
+ a ? "selected" : "",
64
+ l ? "focused" : "",
65
+ n ? "disabled" : ""
66
+ ].join(" ");
67
+ return /* @__PURE__ */ p($, { ...e, className: t, ref: s, children: [
68
+ o.name,
69
+ a ? /* @__PURE__ */ c(y, { icon: "check", iconSize: "xxs", iconType: "fa-light" }) : void 0
70
+ ] });
71
+ };
72
+ export {
73
+ v as O,
74
+ k as S
75
+ };
@@ -0,0 +1,68 @@
1
+ import { jsxs as p, jsx as n } from "react/jsx-runtime";
2
+ import { useCallback as e } from "react";
3
+ import { styled as t, useTheme as s } from "styled-components";
4
+ import { Icon as c } from "./components/icon/index.js";
5
+ import "./components/typography/heading/index.js";
6
+ import "./components/typography/span/index.js";
7
+ import { Text as l } from "./components/typography/text/index.js";
8
+ const y = t.div`
9
+ ${({ theme: i, $itemsLength: o }) => `
10
+ display: flex;
11
+ background-color: ${i.palette.white};
12
+ border: 1px solid ${i.palette.gray[200]};
13
+ border-radius: ${i.spacing[0.25]};
14
+ box-shadow: ${i.shadows.lg};
15
+ flex-direction: column;
16
+ min-width: 507px;
17
+ max-width: ${o <= 4 ? "507px" : "980px"};
18
+ padding: ${i.spacing[1.5]};
19
+
20
+ @media screen and (max-width: 980px) and (min-width: 742px) {
21
+ width: 742px;
22
+ }
23
+ @media screen and (max-width: 742px) {
24
+ width: 507px;
25
+ }
26
+ `}
27
+ `, x = t.div`
28
+ ${({ theme: i, $isSelected: o }) => `
29
+ align-items: center;
30
+ background-color: ${o ? i.palette.gray[100] : i.palette.white};
31
+ border: 1px solid ${i.palette.gray[200]};
32
+ border-radius: ${i.spacing[0.25]};
33
+ cursor: pointer;
34
+ display: flex;
35
+ flex-direction: ${o ? "row-reverse" : "row"};
36
+ min-height: 50px;
37
+ padding: ${i.spacing[1]} ${i.spacing[0.625]};
38
+ width: 215px;
39
+
40
+ &:hover {
41
+ background-color: ${i.palette.gray[100]};
42
+ }
43
+ `}
44
+ `, b = ({
45
+ isSelected: i = !1,
46
+ label: o,
47
+ onSelect: r
48
+ }) => {
49
+ const a = s(), d = e(() => {
50
+ r && r(o);
51
+ }, [r, o]);
52
+ return /* @__PURE__ */ p(x, { $isSelected: i, onClick: d, children: [
53
+ i ? /* @__PURE__ */ n(
54
+ c,
55
+ {
56
+ icon: "check",
57
+ iconColor: a.palette.gray[800],
58
+ iconSize: "md"
59
+ }
60
+ ) : null,
61
+ /* @__PURE__ */ n(l, { color: a.palette.gray[800], fontWeight: "bold", size: "sm", children: o })
62
+ ] });
63
+ };
64
+ export {
65
+ x as O,
66
+ y as S,
67
+ b as a
68
+ };
@@ -0,0 +1,86 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { styled as a } from "styled-components";
3
+ import { theme as o } from "./components/colors/index.js";
4
+ import { Icon as r } from "./components/icon/index.js";
5
+ const c = a.div`
6
+ ${({ theme: i }) => `
7
+ align-items: flex-start;
8
+ backdrop-filter: blur(3.15px);
9
+ background: radial-gradient(
10
+ 68.83% 167.8% at 171.9% 90.34%,
11
+ ${i.palette.complementary[300]} 0%,
12
+ ${i.palette.primary[400]} 100%
13
+ ),
14
+ linear-gradient(
15
+ 241deg,
16
+ ${i.palette.primary[400]} 3.45%,
17
+ ${i.palette.primary[500]} 82.59%
18
+ );
19
+ border-radius: ${i.spacing[1]};
20
+ box-shadow: ${i.shadows.md};
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: ${i.spacing[0.625]};
24
+ height: 300px;
25
+ padding: ${i.spacing[1]};
26
+ position: relative;
27
+ width: 300px;
28
+
29
+ button > * {
30
+ font-size: ${i.typography.text.sm};
31
+ }
32
+
33
+ #hovered {
34
+ display: none;
35
+ }
36
+
37
+ &:hover {
38
+ background: ${i.palette.gray[900]};
39
+
40
+ #hovered {
41
+ display: flex;
42
+ }
43
+ #uncover {
44
+ display: none;
45
+ }
46
+ }
47
+
48
+ @media screen and (max-width: ${i.breakpoints.mobile}) {
49
+ height: 320px;
50
+ width: 320px;
51
+
52
+ #hovered {
53
+ margin-bottom: ${i.spacing[1.75]};
54
+ }
55
+ }
56
+ `}
57
+ `, n = a.div`
58
+ align-items: center;
59
+ position: absolute;
60
+ justify-content: center;
61
+ opacity: 0.15;
62
+ top: 14%;
63
+ left: 25%;
64
+ z-index: -1;
65
+
66
+ span {
67
+ font-size: 265px;
68
+ height: 260px;
69
+ width: 260px;
70
+ }
71
+ `, l = ({
72
+ icon: i
73
+ }) => /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
74
+ r,
75
+ {
76
+ icon: i,
77
+ iconColor: o.palette.white,
78
+ iconSize: "xs",
79
+ iconTransform: "shrink-2",
80
+ iconType: "fa-light"
81
+ }
82
+ ) });
83
+ export {
84
+ c as I,
85
+ l as a
86
+ };