@fluidattacks/design 3.1.10 → 3.1.12

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 (206) hide show
  1. package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
  2. package/dist/assets/{design.css → index.css} +1 -1
  3. package/dist/assets/index2.css +1 -0
  4. package/dist/components/@core/index.js +18 -1
  5. package/dist/components/accordion/accordion-content/index.js +9 -1
  6. package/dist/components/accordion/index.js +21 -1
  7. package/dist/components/alert/index.js +111 -4
  8. package/dist/components/button/index.js +18 -1
  9. package/dist/components/card/card-header/index.js +14 -1
  10. package/dist/components/card/card-with-image/index.js +18 -1
  11. package/dist/components/card/card-with-input/index.js +57 -3
  12. package/dist/components/card/card-with-selector/index.js +16 -1
  13. package/dist/components/card/card-with-switch/index.js +12 -1
  14. package/dist/components/card/index.js +12 -1
  15. package/dist/components/carousel/index.js +36 -10
  16. package/dist/components/checkbox/index.js +84 -3
  17. package/dist/components/cloud-image/index.js +8 -1
  18. package/dist/components/code-snippet/index.js +27 -1
  19. package/dist/components/code-snippet/location-code/index.js +125 -1
  20. package/dist/components/colors/index.js +9 -1
  21. package/dist/components/confirm-dialog/index.js +23 -1
  22. package/dist/components/container/index.js +27 -3
  23. package/dist/components/content-card/category-tag/index.js +13 -1
  24. package/dist/components/content-card/event-date/index.js +18 -1
  25. package/dist/components/content-card/index.js +63 -3
  26. package/dist/components/content-card-carousel/index.js +15 -1
  27. package/dist/components/content-card-carousel/scroll-buttons/index.js +9 -1
  28. package/dist/components/divider/index.js +10 -1
  29. package/dist/components/empty-state/empty-button/index.js +6 -1
  30. package/dist/components/empty-state/index.js +21 -8
  31. package/dist/components/file-preview/index.js +15 -3
  32. package/dist/components/form/index.js +26 -3
  33. package/dist/components/grid-container/index.js +26 -5
  34. package/dist/components/group-selector/index.js +26 -1
  35. package/dist/components/group-selector/option-container/index.js +12 -1
  36. package/dist/components/icon/index.js +42 -4
  37. package/dist/components/icon-button/index.js +27 -3
  38. package/dist/components/indicator-card/index.js +15 -1
  39. package/dist/components/info-sidebar/index.js +16 -1
  40. package/dist/components/inputs/fields/combobox/index.js +26 -1
  41. package/dist/components/inputs/fields/combobox/option/index.js +8 -1
  42. package/dist/components/inputs/fields/date/calendar/cell/index.js +16 -1
  43. package/dist/components/inputs/fields/date/calendar/grid/index.js +15 -1
  44. package/dist/components/inputs/fields/date/calendar/header/index.js +16 -1
  45. package/dist/components/inputs/fields/date/calendar/index.js +15 -1
  46. package/dist/components/inputs/fields/date/index.js +18 -1
  47. package/dist/components/inputs/fields/date-range/calendar/index.js +16 -1
  48. package/dist/components/inputs/fields/date-range/index.js +28 -3
  49. package/dist/components/inputs/fields/date-time/calendar/index.js +31 -5
  50. package/dist/components/inputs/fields/date-time/index.js +18 -1
  51. package/dist/components/inputs/fields/editable/index.js +16 -1
  52. package/dist/components/inputs/fields/input/index.js +13 -1
  53. package/dist/components/inputs/fields/input-file/index.js +24 -4
  54. package/dist/components/inputs/fields/input-tags/index.js +14 -2
  55. package/dist/components/inputs/fields/number/index.js +10 -1
  56. package/dist/components/inputs/fields/number-range/index.js +11 -1
  57. package/dist/components/inputs/fields/phone/index.js +414 -11
  58. package/dist/components/inputs/fields/text-area/index.js +13 -1
  59. package/dist/components/inputs/index.js +28 -1
  60. package/dist/components/inputs/label/index.js +12 -1
  61. package/dist/components/inputs/outline-container/index.js +18 -1
  62. package/dist/components/inputs/utils/action-button/index.js +10 -1
  63. package/dist/components/inputs/utils/calendar-button/index.js +13 -1
  64. package/dist/components/inputs/utils/date-selector/index.js +8 -1
  65. package/dist/components/inputs/utils/date-time-field/index.js +32 -1
  66. package/dist/components/inputs/utils/dialog/index.js +11 -1
  67. package/dist/components/inputs/utils/number-field/index.js +13 -1
  68. package/dist/components/inputs/utils/popover/index.js +13 -1
  69. package/dist/components/interactive-card/icon/index.js +7 -1
  70. package/dist/components/interactive-card/index.js +15 -1
  71. package/dist/components/language-selector/index.js +13 -1
  72. package/dist/components/language-selector/item-list/index.js +8 -1
  73. package/dist/components/link/index.js +52 -7
  74. package/dist/components/list-item/index.js +16 -1
  75. package/dist/components/little-flag/index.js +15 -3
  76. package/dist/components/loading/index.js +28 -14
  77. package/dist/components/logo/index.js +7 -1
  78. package/dist/components/logo-carousel/index.js +10 -4
  79. package/dist/components/lottie/index.js +15 -3
  80. package/dist/components/menu/index.js +23 -1
  81. package/dist/components/message-banner/index.js +21 -4
  82. package/dist/components/modal/index.js +19 -1
  83. package/dist/components/modal/modal-confirm/index.js +10 -1
  84. package/dist/components/modal/modal-footer/index.js +16 -1
  85. package/dist/components/modal/modal-header/index.js +25 -1
  86. package/dist/components/notification/index.js +68 -5
  87. package/dist/components/notification-sign/index.js +26 -6
  88. package/dist/components/number-input/index.js +25 -7
  89. package/dist/components/oauth-selector/index.js +26 -1
  90. package/dist/components/oauth-selector/option-container/index.js +15 -1
  91. package/dist/components/plan-card/index.js +84 -5
  92. package/dist/components/plan-card/recommended-tag/index.js +10 -1
  93. package/dist/components/pop-up/description/index.js +13 -1
  94. package/dist/components/pop-up/index.js +23 -1
  95. package/dist/components/premium-feature/index.js +45 -3
  96. package/dist/components/priority-score/index.js +14 -1
  97. package/dist/components/progress/index.js +23 -3
  98. package/dist/components/progress-bar/index.js +95 -5
  99. package/dist/components/radio-button/index.js +88 -3
  100. package/dist/components/scroll-button/index.js +20 -2
  101. package/dist/components/search/index.js +63 -7
  102. package/dist/components/search-bar/index.js +32 -1
  103. package/dist/components/search-bar/item-searching/index.js +10 -1
  104. package/dist/components/severity-badge/index.js +14 -1
  105. package/dist/components/severity-overview/badge/index.js +18 -1
  106. package/dist/components/severity-overview/index.js +7 -1
  107. package/dist/components/show-on-hover/index.js +25 -3
  108. package/dist/components/slide-out-menu/index.js +2009 -3
  109. package/dist/components/slide-out-menu/menu-item/index.js +15 -1
  110. package/dist/components/slider/index.js +93 -7
  111. package/dist/components/slider/thumb/index.js +10 -1
  112. package/dist/components/step-lapse/index.js +95 -9
  113. package/dist/components/table-button/index.js +56 -3
  114. package/dist/components/tabs/fixed-tabs/index.js +9 -1
  115. package/dist/components/tabs/index.js +14 -1
  116. package/dist/components/tabs/tab/index.js +8 -1
  117. package/dist/components/tag/index.js +116 -3
  118. package/dist/components/timeline/card/index.js +9 -1
  119. package/dist/components/timeline/index.js +7 -1
  120. package/dist/components/toggle/index.js +45 -14
  121. package/dist/components/toggle-buttons/index.js +74 -5
  122. package/dist/components/tooltip/index.js +13 -1
  123. package/dist/components/tour/index.js +2481 -4
  124. package/dist/components/typography/heading/index.js +9 -1
  125. package/dist/components/typography/index.js +8 -1
  126. package/dist/components/typography/span/index.js +9 -1
  127. package/dist/components/typography/text/index.js +9 -1
  128. package/dist/components/web-form/index.js +59 -7
  129. package/dist/hooks/index.js +13 -1
  130. package/dist/index-38JqtnAI.mjs +122 -0
  131. package/dist/index-B5yoGFs6.mjs +54 -0
  132. package/dist/index-BLbKylyw.mjs +209 -0
  133. package/dist/{index-C0_LPuYU.mjs → index-Bu448Tz2.mjs} +22 -22
  134. package/dist/index-BwFnfaRh.mjs +2310 -0
  135. package/dist/index-Co_k0WFk.mjs +75 -0
  136. package/dist/index-Cu7uUMlx.mjs +82 -0
  137. package/dist/index-D-lcuEHY.mjs +1018 -0
  138. package/dist/index-DrfjITyT.mjs +61 -0
  139. package/dist/index.js +206 -1
  140. package/dist/styles-7_q7nHce.mjs +110 -0
  141. package/dist/styles-BA0WIQL-.mjs +74 -0
  142. package/dist/styles-C3cZmKVJ.mjs +131 -0
  143. package/dist/styles-CI-I6joH.mjs +144 -0
  144. package/dist/styles-Cx93EcVo.mjs +76 -0
  145. package/dist/styles-D85YYIjM.mjs +131 -0
  146. package/dist/styles-EIbGRPlk.mjs +106 -0
  147. package/dist/styles-Q1VXuWI7.mjs +65 -0
  148. package/dist/styles-fH2c4cfc.mjs +77 -0
  149. package/dist/{styles-BAhpqi6C.mjs → styles-lSVV9kjn.mjs} +28 -28
  150. package/dist/use-carousel-CvRxi2FI.mjs +17 -0
  151. package/dist/use-click-outside-BtZLIoU1.mjs +18 -0
  152. package/dist/use-cloudinary-image-fG7ODNgr.mjs +611 -0
  153. package/dist/use-modal-CkrZ-_-M.mjs +14 -0
  154. package/dist/use-search-DpLNvt7Q.mjs +12 -0
  155. package/dist/utils-CQvBF-wY.mjs +4 -0
  156. package/package.json +3 -2
  157. package/dist/_commonjsHelpers-C37NGDzP.js +0 -1
  158. package/dist/_commonjsHelpers-D6CrkqQz.mjs +0 -6
  159. package/dist/index-BH27NQKA.mjs +0 -2311
  160. package/dist/index-Bcw2vW_n.mjs +0 -75
  161. package/dist/index-C8zdgAVH.mjs +0 -82
  162. package/dist/index-CA_9DXWd.js +0 -5
  163. package/dist/index-CmylnDrF.js +0 -14
  164. package/dist/index-DUMgwAbO.js +0 -26
  165. package/dist/index-DpQYiwGu.js +0 -5
  166. package/dist/index-Dy8ZUIYs.js +0 -5
  167. package/dist/index-JPf5Yzg6.js +0 -17
  168. package/dist/index-OBZtKZuT.mjs +0 -1021
  169. package/dist/index-SsXlDjK4.mjs +0 -122
  170. package/dist/index-TKLFHcRp.js +0 -18
  171. package/dist/index-TnyKqJHo.mjs +0 -61
  172. package/dist/index-Yr95Cb7Z.mjs +0 -54
  173. package/dist/index-h9-U5wxq.mjs +0 -209
  174. package/dist/index-qCiUU4sZ.js +0 -9
  175. package/dist/index-qe0nJwzl.js +0 -15
  176. package/dist/styles--Elze-LV.js +0 -3
  177. package/dist/styles-3pR4Xdvy.js +0 -33
  178. package/dist/styles-59h91S9m.mjs +0 -65
  179. package/dist/styles-BCwLWpC3.mjs +0 -126
  180. package/dist/styles-BJ7-0I5X.mjs +0 -74
  181. package/dist/styles-BKObp9bh.mjs +0 -76
  182. package/dist/styles-BWVdbvFu.js +0 -5
  183. package/dist/styles-Bl-CstrT.js +0 -5
  184. package/dist/styles-Bn42XCW5.js +0 -7
  185. package/dist/styles-C2CoGJl7.js +0 -33
  186. package/dist/styles-CNzziAXG.js +0 -5
  187. package/dist/styles-CdD9waPD.js +0 -29
  188. package/dist/styles-CnKTwnFk.mjs +0 -110
  189. package/dist/styles-D4R-eerv.mjs +0 -77
  190. package/dist/styles-DNIIhyRC.mjs +0 -144
  191. package/dist/styles-DV8yOaqV.mjs +0 -131
  192. package/dist/styles-DYoftbd3.js +0 -42
  193. package/dist/styles-DlmKLhPh.js +0 -7
  194. package/dist/styles-be8gOdgy.mjs +0 -106
  195. package/dist/use-carousel-64dKFW4E.js +0 -1
  196. package/dist/use-carousel-D7xeL3YZ.mjs +0 -17
  197. package/dist/use-click-outside-BqkLISED.js +0 -1
  198. package/dist/use-click-outside-C4Z4pdiW.mjs +0 -18
  199. package/dist/use-cloudinary-image-DKMl7jbx.mjs +0 -612
  200. package/dist/use-cloudinary-image-YMMafagv.js +0 -1
  201. package/dist/use-modal-CNbLSSQb.mjs +0 -14
  202. package/dist/use-modal-_bYY6M_n.js +0 -1
  203. package/dist/use-search-75ip5xR-.mjs +0 -12
  204. package/dist/use-search-DeL4UDMh.js +0 -1
  205. package/dist/utils-C2whpEd3.js +0 -1
  206. package/dist/utils-Da0qL35u.mjs +0 -4
@@ -0,0 +1,144 @@
1
+ import { styled as n, css as i } from "styled-components";
2
+ const p = n.div`
3
+ ${({ theme: t }) => `
4
+ align-items: center;
5
+ color: ${t.palette.gray[800]};
6
+ display: flex;
7
+ font-family: ${t.typography.type.primary};
8
+ font-size: ${t.typography.text.sm};
9
+ font-weight: ${t.typography.weight.bold};
10
+ gap: ${t.spacing[0.5]};
11
+ height: 40px;
12
+ justify-content: center;
13
+ line-height: ${t.spacing[1.25]};
14
+ text-align: center;
15
+ padding: ${t.spacing[0.5]} 0;
16
+ width: 200px;
17
+ word-spacing: ${t.spacing[0.25]};
18
+
19
+ &:not(:hover) .year-selection {
20
+ display: none;
21
+ }
22
+ `}
23
+ `, o = n.div.attrs({ className: "year-selection" })`
24
+ align-items: flex-start;
25
+ display: flex;
26
+ flex-direction: column;
27
+ gap: 6px;
28
+ height: 14px;
29
+ justify-content: center;
30
+ margin-bottom: 10px;
31
+ padding: 0 0.5px;
32
+ position: relative;
33
+ width: 8px;
34
+ `, s = n.tr`
35
+ align-items: flex-start;
36
+ display: flex;
37
+ padding: ${({ theme: t }) => t.spacing[0.25]} 0;
38
+ width: 100%;
39
+ `, e = i`
40
+ ${({ theme: t }) => `
41
+ align-items: center;
42
+ color: ${t.palette.gray[800]};
43
+ cursor: pointer;
44
+ display: flex;
45
+ flex-direction: column;
46
+ font-family: ${t.typography.type.primary};
47
+ font-size: ${t.typography.text.sm};
48
+ font-weight: ${t.typography.weight.regular};
49
+ height: ${t.spacing[2.5]};
50
+ justify-content: center;
51
+ line-height: ${t.spacing[1.25]};
52
+ text-align: center;
53
+ width: ${t.spacing[2.5]};
54
+ `}
55
+ `, r = n.th`
56
+ ${e}
57
+ `, l = n.td`
58
+ ${({ theme: t }) => `
59
+ ${e}
60
+ height: ${t.spacing[2.5]};
61
+ width: ${t.spacing[2.5]};
62
+
63
+ &#range {
64
+ background: ${t.palette.primary[25]};
65
+ }
66
+
67
+ div:not(.dot) {
68
+ align-items: center;
69
+ display: flex;
70
+ flex-direction: column;
71
+ font-size: ${t.typography.text.sm};
72
+ justify-content: center;
73
+ height: ${t.spacing[2.5]};
74
+ line-height: ${t.spacing[1.25]};
75
+ position: relative;
76
+ text-align: center;
77
+ width: ${t.spacing[2.5]};
78
+
79
+ &:focus-visible {
80
+ outline: none;
81
+ }
82
+
83
+ &:hover:not(.disabled, .selected, .range) {
84
+ background: ${t.palette.gray[100]};
85
+ }
86
+
87
+ &.disabled {
88
+ color: ${t.palette.gray[400]};
89
+ cursor: auto;
90
+ }
91
+
92
+ &.selected {
93
+ background: ${t.palette.primary[500]};
94
+ color: ${t.palette.white};
95
+ }
96
+
97
+ &.focused {
98
+ border: 2px solid ${t.palette.primary[500]};
99
+ }
100
+
101
+ &.today:not(.selected) {
102
+ color: ${t.palette.primary[500]};
103
+ font-weight: ${t.typography.weight.bold};
104
+ }
105
+ }
106
+ `}
107
+ `, g = n.div.attrs({ className: "dot" })`
108
+ position: absolute;
109
+ top: 48%;
110
+
111
+ > span {
112
+ font-size: 4px;
113
+ }
114
+ `, c = n.button`
115
+ cursor: pointer;
116
+ display: flex;
117
+
118
+ > span {
119
+ height: 3.5px;
120
+ width: 7px;
121
+ }
122
+ `, d = n.div`
123
+ ${({ theme: t }) => `
124
+ align-items: end;
125
+ border-top: 1px solid ${t.palette.gray[200]};
126
+ display: flex;
127
+ flex-direction: row-reverse;
128
+ gap: ${t.spacing[0.5]};
129
+ height: 44px;
130
+ margin-bottom: ${t.spacing[0.25]};
131
+ padding: 0 ${t.spacing[0.25]};
132
+ width: 100%;
133
+ `}
134
+ `;
135
+ export {
136
+ c as C,
137
+ r as D,
138
+ d as F,
139
+ p as T,
140
+ s as W,
141
+ o as Y,
142
+ l as a,
143
+ g as b
144
+ };
@@ -0,0 +1,76 @@
1
+ import { styled as t } from "styled-components";
2
+ const i = t.div`
3
+ ${({ theme: n }) => `
4
+ background-color: ${n.palette.gray[100]};
5
+ border-radius: ${n.spacing[0.25]};
6
+ display: inline-flex;
7
+ padding: ${n.spacing[1]};
8
+ position: relative;
9
+ width: fit-content;
10
+
11
+ .line-highlight.language-none {
12
+ background: ${n.palette.gray[100]};
13
+ }
14
+
15
+ .line-highlight {
16
+ background: hsl(354deg 88% 93% / 50%);
17
+ font-family: ${n.typography.type.mono};
18
+ font-size: ${n.typography.text.xs};
19
+ line-height: ${n.spacing[1]};
20
+ }
21
+
22
+ .line-highlight::before,
23
+ .line-highlight[data-end]::after {
24
+ background: ${n.palette.primary[300]};
25
+ background-color: hsl(355deg 89% 36%);
26
+ color: ${n.palette.white};
27
+ }
28
+
29
+ pre code {
30
+ color: #161616;
31
+ font-family: ${n.typography.type.mono};
32
+ font-size: ${n.typography.text.xs};
33
+ line-height: ${n.spacing[1]};
34
+ }
35
+
36
+ pre:not(.line-highlight) {
37
+ margin-top: unset;
38
+ margin-bottom: unset;
39
+ padding: unset;
40
+ width: 100%;
41
+ }
42
+
43
+ span:hover {
44
+ background-color: ${n.palette.gray[200]};
45
+ }
46
+
47
+ .no-data,
48
+ pre.line-highlight {
49
+ background-color: ${n.palette.gray[100]};
50
+ padding-top: unset;
51
+ padding-bottom: unset;
52
+ }
53
+ `}
54
+ `, o = t.div`
55
+ ${({ theme: n }) => `
56
+ align-items: end;
57
+ background-color: ${n.palette.gray[100]};
58
+ display: flex;
59
+ flex-direction: column;
60
+ justify-content: space-between;
61
+ min-width: 103px;
62
+ margin-right: ${n.spacing[1]};
63
+ padding-top: ${n.spacing[1]};
64
+ padding-bottom: ${n.spacing[1]};
65
+ position: relative;
66
+ padding-left: unset;
67
+
68
+ button:hover:not([disabled]) {
69
+ background-color: ${n.palette.gray[200]};
70
+ }
71
+ `}
72
+ `;
73
+ export {
74
+ o as B,
75
+ i as C
76
+ };
@@ -0,0 +1,131 @@
1
+ import { styled as i } from "styled-components";
2
+ import { v as t } from "./utils-CQvBF-wY.mjs";
3
+ import "./styles-C3cZmKVJ.mjs";
4
+ import "react/jsx-runtime";
5
+ const { getVariant: a } = t((n) => ({ lg: `
6
+ @media screen and (min-width: ${n.breakpoints.sm}) {
7
+ width: 72%;
8
+ }
9
+ @media screen and (max-width: ${n.breakpoints.sm}) {
10
+ width: 80%;
11
+ }
12
+ `, md: `
13
+ @media screen and (min-width: ${n.breakpoints.sm}) {
14
+ width: 48%;
15
+ }
16
+ @media screen and (max-width: ${n.breakpoints.sm}) {
17
+ width: 60%;
18
+ }
19
+ `, sm: `
20
+ @media screen and (min-width: ${n.breakpoints.sm}) {
21
+ width: 32%;
22
+ }
23
+ @media screen and (max-width: ${n.breakpoints.sm}) {
24
+ width: 40%;
25
+ }
26
+ ` })), o = i.div.attrs({ className: "comp-modal fixed inset-0 overflow-auto" })`
27
+ align-items: center;
28
+ background-color: rgb(52 64 84 / 70%);
29
+ display: flex;
30
+ justify-content: center;
31
+ z-index: 99999;
32
+ `, c = i.div`
33
+ ${({ theme: n, $size: e }) => `
34
+ background-color: ${n.palette.white};
35
+ border: 1px solid ${n.palette.gray[200]};
36
+ border-radius: ${n.spacing[0.25]};
37
+ color: ${n.palette.gray[800]};
38
+ display: flex;
39
+ flex-direction: column;
40
+ font-family: ${n.typography.type.primary};
41
+ font-size: ${n.typography.text.sm};
42
+ max-height: 80%;
43
+ min-height: minmax(max-content, 32%);
44
+ overflow: hidden auto;
45
+ padding: ${n.spacing[1.5]};
46
+ box-shadow: ${n.shadows.lg};
47
+ margin: auto;
48
+ white-space: pre-line;
49
+
50
+ > *:not(img) {
51
+ margin-bottom: ${n.spacing[1.5]};
52
+ }
53
+
54
+ > *:last-child {
55
+ margin-bottom: 0;
56
+ }
57
+
58
+ &#table-column-toggle {
59
+ @media screen and (min-width: ${n.breakpoints.sm}) {
60
+ width: 24%;
61
+ }
62
+ @media screen and (max-width: ${n.breakpoints.sm}) {
63
+ width: 32%;
64
+ }
65
+ }
66
+
67
+ ${a(n, e)}
68
+ `}
69
+ `, p = i.div`
70
+ display: block;
71
+ overflow: unset;
72
+ height: max-content;
73
+ max-height: 100%;
74
+ max-width: 100%;
75
+ position: static;
76
+ `, h = i.div.attrs({ className: "flex items-center justify-between mb-1.5" })``, l = i.div`
77
+ ${({ theme: n }) => `
78
+ display: flex;
79
+ flex-direction: row;
80
+ gap: ${n.spacing[0.75]};
81
+ justify-content: space-between;
82
+ margin: 0;
83
+ max-width: 392px;
84
+
85
+ > label {
86
+ margin: 0;
87
+ flex: 1 1 auto;
88
+ }
89
+
90
+ > div {
91
+ display: flex;
92
+ flex-direction: row;
93
+ flex: 1 1 auto;
94
+ gap: ${n.spacing[0.75]};
95
+ margin-right: ${n.spacing[0.75]};
96
+
97
+ > button {
98
+ justify-content: center;
99
+ max-width: 190px;
100
+ }
101
+ }
102
+
103
+ > div:last-child {
104
+ margin-right: 0;
105
+ }
106
+ `}
107
+ `, g = i.div`
108
+ img {
109
+ margin: 0 calc(-${({ theme: n }) => n.spacing[1.5]} - 1px)
110
+ ${({ theme: n }) => n.spacing[1.5]};
111
+
112
+ min-width: calc(100% + 2px + ${({ theme: n }) => n.spacing[3]});
113
+ height: 185px;
114
+ object-fit: cover;
115
+
116
+ ${({ $framed: n = !1 }) => n ? `
117
+ border-radius: 8px;
118
+ min-width: 100%;
119
+ margin-left: 0;
120
+ margin-right: 0;
121
+ ` : ""}
122
+ }
123
+ `;
124
+ export {
125
+ l as F,
126
+ p as H,
127
+ g as I,
128
+ o as M,
129
+ h as T,
130
+ c as a
131
+ };
@@ -0,0 +1,106 @@
1
+ import { styled as r } from "styled-components";
2
+ import { v as t } from "./utils-CQvBF-wY.mjs";
3
+ import { a as e } from "./styles-C3cZmKVJ.mjs";
4
+ import "react/jsx-runtime";
5
+ const { getVariant: o } = t((n) => ({ ghost: `
6
+ background: transparent;
7
+ border: none;
8
+ color: ${n.palette.gray[800]};
9
+ --btn-padding-x: ${n.spacing[0.5]};
10
+ --btn-padding-y: ${n.spacing[0.625]};
11
+ --btn-spacing: ${n.spacing[0.25]};
12
+
13
+ &:disabled {
14
+ color: ${n.palette.gray[400]};
15
+ cursor: not-allowed;
16
+ }
17
+
18
+ &:hover:not([disabled]) {
19
+ background-color: ${n.palette.gray[100]};
20
+ color: ${n.palette.gray[800]};
21
+ }
22
+ `, link: `
23
+ --btn-padding-x: 0;
24
+ --btn-padding-y: 0;
25
+ color: ${n.palette.gray[800]};
26
+
27
+ &:hover {
28
+ color: ${n.palette.gray[500]};
29
+ }
30
+ `, primary: `
31
+ background: ${n.palette.primary[500]};
32
+ border: none;
33
+ color: ${n.palette.white};
34
+ --btn-spacing: ${n.spacing[0.25]};
35
+
36
+ &:disabled {
37
+ background: ${n.palette.gray[200]};
38
+ color: ${n.palette.gray[400]};
39
+ cursor: not-allowed;
40
+ }
41
+
42
+ &:hover:not([disabled]) {
43
+ background-color: ${n.palette.primary[700]};
44
+ color: ${n.palette.white};
45
+ }
46
+ `, secondary: `
47
+ background: ${n.palette.gray[800]};
48
+ border: none;
49
+ color: ${n.palette.white};
50
+ --btn-spacing: ${n.spacing[0.25]};
51
+
52
+ &:disabled {
53
+ background: ${n.palette.gray[200]};
54
+ color: ${n.palette.gray[400]};
55
+ cursor: not-allowed;
56
+ }
57
+
58
+ &:hover:not([disabled]) {
59
+ background-color: ${n.palette.gray[600]};
60
+ color: ${n.palette.white};
61
+ }
62
+ `, tertiary: `
63
+ background: transparent;
64
+ border: 1px solid ${n.palette.primary[500]};
65
+ color: ${n.palette.primary[500]};
66
+ --btn-spacing: ${n.spacing[0.25]};
67
+
68
+ &:disabled {
69
+ background: transparent;
70
+ border: 1px solid ${n.palette.gray[200]};
71
+ color: ${n.palette.gray[300]};
72
+ cursor: not-allowed;
73
+ }
74
+
75
+ &:hover:not([disabled]) {
76
+ background-color: ${n.palette.primary[500]};
77
+ color: ${n.palette.white};
78
+ }
79
+ ` })), g = r(e)`
80
+ ${({ theme: n, $variant: a }) => `
81
+ align-items: center;
82
+ border-radius: var(--btn-spacing);
83
+ cursor: pointer;
84
+ display: inline-flex;
85
+ font-family: ${n.typography.type.primary};
86
+ font-size: ${n.typography.text.sm};
87
+ font-weight: ${n.typography.weight.regular};
88
+ gap: var(--btn-spacing);
89
+ justify-content: center;
90
+ line-height: ${n.spacing[1.25]};
91
+ padding: var(--btn-padding-y) var(--btn-padding-x);
92
+ position: relative;
93
+ text-align: start;
94
+ transition: all 0.5s ease;
95
+ white-space: nowrap;
96
+
97
+ @media screen and (max-width: ${n.breakpoints.mobile}) {
98
+ ${a !== "link" ? `--btn-padding-y: ${n.spacing[1]}` : ""};
99
+ }
100
+
101
+ ${o(n, a ?? "primary")}
102
+ `}
103
+ `;
104
+ export {
105
+ g as S
106
+ };
@@ -0,0 +1,65 @@
1
+ import { styled as e } from "styled-components";
2
+ const a = e.li`
3
+ ${({ theme: n }) => `
4
+ align-items: center;
5
+ background-color: ${n.palette.white};
6
+ color: ${n.palette.gray[800]};
7
+ cursor: pointer;
8
+ display: flex;
9
+ font-size: ${n.typography.text.sm};
10
+ font-weight: ${n.typography.weight.regular};
11
+ justify-content: space-between;
12
+ gap: ${n.spacing[0.625]};
13
+ line-height: ${n.spacing[1.25]};
14
+ list-style-type: none;
15
+ min-height: 40px;
16
+ min-width: 240px;
17
+ padding: ${n.spacing[0.625]} ${n.spacing[1]};
18
+ pointer-events: auto;
19
+
20
+ p,
21
+ a {
22
+ word-break: break-word;
23
+ }
24
+
25
+ & > label {
26
+ margin: unset;
27
+ }
28
+
29
+ a {
30
+ color: ${n.palette.gray[500]};
31
+ }
32
+
33
+ &[aria-disabled="true"] {
34
+ color: ${n.palette.gray[300]};
35
+ pointer-events: none;
36
+
37
+ a {
38
+ color: ${n.palette.gray[300]};
39
+ }
40
+ }
41
+
42
+ &[aria-selected="true"] {
43
+ background-color: ${n.palette.gray[200]};
44
+ }
45
+
46
+ &:hover:not([aria-selected="true"]) {
47
+ background-color: ${n.palette.gray[100]};
48
+ }
49
+ `}
50
+ `, r = e.ul`
51
+ ${({ theme: n }) => `
52
+ background-color: ${n.palette.white};
53
+ border: 1px solid ${n.palette.gray[200]};
54
+ border-radius: ${n.spacing[0.25]};
55
+ box-shadow: ${n.shadows.md};
56
+ display: inline-block;
57
+ margin: unset;
58
+ min-width: 240px;
59
+ padding: ${n.spacing[0.25]} 0 ${n.spacing[0.25]} 0;
60
+ `}
61
+ `;
62
+ export {
63
+ a as L,
64
+ r as a
65
+ };
@@ -0,0 +1,77 @@
1
+ import { styled as d } from "styled-components";
2
+ import { b as c } from "./styles-C3cZmKVJ.mjs";
3
+ import "react/jsx-runtime";
4
+ const k = d(c)`
5
+ ${({ theme: t, $bgGradient: a = "unset", $color: i = t.palette.gray[800], $display: n = "block", $fontFamily: o = t.typography.type.primary, $fontWeight: $ = "bold", $letterSpacing: r = 0, $lineSpacing: p = 1.5, $lineSpacingSm: l, $size: e, $sizeMd: g, $sizeSm: s, $textFill: h = "unset", $wordBreak: y = "normal" }) => `
6
+ background: ${a};
7
+ color: ${i};
8
+ display: ${n};
9
+ font-family: ${o};
10
+ font-size: ${t.typography.heading[e]};
11
+ font-weight: ${t.typography.weight[$]};
12
+ letter-spacing: ${r};
13
+ line-height: ${t.spacing[p]};
14
+ width: ${n === "block" ? "100%" : "auto"};
15
+ word-break: ${y};
16
+ background-clip: text;
17
+ -webkit-background-clip: text;
18
+ -webkit-text-fill-color: ${h};
19
+
20
+ @media screen
21
+ and (min-width: ${t.breakpoints.mobile})
22
+ and (max-width: ${t.breakpoints.tablet})
23
+ {
24
+ font-size: ${t.typography.heading[g ?? e]};
25
+ }
26
+
27
+ @media screen and (max-width: ${t.breakpoints.mobile}) {
28
+ font-size: ${t.typography.heading[s ?? e]};
29
+ line-height: ${t.spacing[l ?? p]};
30
+ }
31
+ `}
32
+ `, w = d(c)`
33
+ ${({ theme: t, $bgGradient: a = "unset", $color: i = t.palette.gray[600], $display: n = "block", $fontFamily: o = t.typography.type.primary, $fontWeight: $ = "regular", $letterSpacing: r = 0, $lineSpacing: p = 1.25, $lineSpacingSm: l, $size: e, $sizeMd: g, $sizeSm: s, $textFill: h = "unset", $wordBreak: y = "normal" }) => `
34
+ background: ${a};
35
+ color: ${i};
36
+ display: ${n};
37
+ font-family: ${o};
38
+ font-size: ${t.typography.text[e]};
39
+ font-weight: ${t.typography.weight[$]};
40
+ letter-spacing: ${r};
41
+ line-height: ${t.spacing[p]};
42
+ width: ${n === "block" ? "100%" : "auto"};
43
+ word-break: ${y};
44
+ background-clip: text;
45
+ -webkit-background-clip: text;
46
+ -webkit-text-fill-color: ${h};
47
+
48
+ @media screen
49
+ and (min-width: ${t.breakpoints.mobile})
50
+ and (max-width: ${t.breakpoints.tablet})
51
+ {
52
+ font-size: ${t.typography.text[g ?? e]};
53
+ }
54
+
55
+ @media screen and (max-width: ${t.breakpoints.mobile}) {
56
+ font-size: ${t.typography.text[s ?? e]};
57
+ line-height: ${t.spacing[l ?? p]};
58
+ }
59
+ `}
60
+ `, x = d.span`
61
+ ${({ theme: t, $color: a = t.palette.gray[600], $content: i, $display: n = "inline", $fontWeight: o = "regular", $size: $, $lineSpacing: r = 1.25 }) => `
62
+ color: ${a};
63
+ display: ${n};
64
+ font-family: ${t.typography.type.primary};
65
+ font-size: ${t.typography.text[$]};
66
+ font-weight: ${t.typography.weight[o]};
67
+ line-height: ${t.spacing[r]};
68
+ width: ${n === "block" ? "100%" : "auto"};
69
+
70
+ ${i === void 0 ? "" : `&::after { content: "${i}"; }`}
71
+ `}
72
+ `;
73
+ export {
74
+ k as S,
75
+ x as a,
76
+ w as b
77
+ };