@lanaco/lnc-react-ui 4.0.112 → 4.0.114

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 (296) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +1 -1
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +1 -1
  7. package/dist/ActionsToolbar.cjs +1 -1
  8. package/dist/ActionsToolbar.js +1 -1
  9. package/dist/Alert.cjs +1 -1
  10. package/dist/Alert.js +1 -1
  11. package/dist/Avatar.cjs +1 -1
  12. package/dist/Avatar.js +1 -1
  13. package/dist/Badge.cjs +1 -1
  14. package/dist/Badge.js +1 -1
  15. package/dist/BannerSectionCarousel.cjs +1 -1
  16. package/dist/BannerSectionCarousel.js +3 -3
  17. package/dist/BannerSectionWithListImage.cjs +2 -2
  18. package/dist/BannerSectionWithListImage.js +9 -9
  19. package/dist/BlogCardsSponsoredSection.cjs +25 -14
  20. package/dist/BlogCardsSponsoredSection.js +59 -47
  21. package/dist/BlogListSection.cjs +37 -9
  22. package/dist/BlogListSection.js +127 -70
  23. package/dist/BlogsSectionDetailed.cjs +11 -6
  24. package/dist/BlogsSectionDetailed.js +7 -2
  25. package/dist/BlogsSectionSimple.cjs +2 -2
  26. package/dist/BlogsSectionSimple.js +1 -1
  27. package/dist/BlogsSectionSimpleCentered.cjs +3 -2
  28. package/dist/BlogsSectionSimpleCentered.js +1 -0
  29. package/dist/BlogsSectionWithFilters.cjs +2 -2
  30. package/dist/BlogsSectionWithFilters.js +15 -15
  31. package/dist/BrandHitsSection.cjs +11 -11
  32. package/dist/BrandHitsSection.js +40 -38
  33. package/dist/Breadcrumbs.cjs +1 -1
  34. package/dist/Breadcrumbs.js +1 -1
  35. package/dist/Button.cjs +1 -1
  36. package/dist/Button.js +2 -2
  37. package/dist/ButtonGroup.cjs +1 -1
  38. package/dist/ButtonGroup.js +1 -1
  39. package/dist/CalorieCalculatorSection.cjs +1 -1
  40. package/dist/CalorieCalculatorSection.js +1 -1
  41. package/dist/CheckBoxInput.cjs +1 -1
  42. package/dist/CheckBoxInput.js +1 -1
  43. package/dist/Chip.cjs +1 -1
  44. package/dist/Chip.js +1 -1
  45. package/dist/ColorInput.cjs +1 -1
  46. package/dist/ColorInput.js +2 -2
  47. package/dist/ConfirmationForm.cjs +1 -1
  48. package/dist/ConfirmationForm.js +1 -1
  49. package/dist/ContactSection.cjs +303 -0
  50. package/dist/ContactSection.js +1614 -0
  51. package/dist/Content.cjs +1 -1
  52. package/dist/Content.js +1 -1
  53. package/dist/{CustomStyles-DtKDPOdk.cjs → CustomStyles-D3JePSNK.cjs} +1 -1
  54. package/dist/{CustomStyles-Dd8IsVV6.js → CustomStyles-DpKzWczC.js} +2 -2
  55. package/dist/DailyMotion-CUHIuSln.js +136 -0
  56. package/dist/DailyMotion-D46sLmkS.cjs +1 -0
  57. package/dist/DataView.cjs +1 -1
  58. package/dist/DataView.js +1 -1
  59. package/dist/DateInput.cjs +4 -4
  60. package/dist/DateInput.js +496 -552
  61. package/dist/DecimalInput.cjs +1 -1
  62. package/dist/DecimalInput.js +2 -2
  63. package/dist/DecimalInputV2.cjs +1 -1
  64. package/dist/DecimalInputV2.js +1 -1
  65. package/dist/DetailedProductsSection.cjs +2 -2
  66. package/dist/DetailedProductsSection.js +6 -6
  67. package/dist/DetailsView.cjs +1 -1
  68. package/dist/DetailsView.js +1 -1
  69. package/dist/DoubleRangeSlider.cjs +1 -1
  70. package/dist/DoubleRangeSlider.js +1 -1
  71. package/dist/DragAndDropFile.cjs +1 -1
  72. package/dist/DragAndDropFile.js +1 -1
  73. package/dist/DragDropFiles.cjs +1 -1
  74. package/dist/DragDropFiles.js +1 -1
  75. package/dist/Drawer.cjs +1 -1
  76. package/dist/Drawer.js +2 -2
  77. package/dist/Dropdown.cjs +1 -1
  78. package/dist/Dropdown.js +5 -5
  79. package/dist/DropdownItem.cjs +1 -1
  80. package/dist/DropdownItem.js +1 -1
  81. package/dist/DropdownLookup.cjs +1 -1
  82. package/dist/DropdownLookup.js +4 -4
  83. package/dist/DropdownMenu.cjs +1 -1
  84. package/dist/DropdownMenu.js +1 -1
  85. package/dist/EditableTable.cjs +1 -1
  86. package/dist/EditableTable.js +1 -1
  87. package/dist/Facebook-R53Rry9l.cjs +1 -0
  88. package/dist/Facebook-aEQQxj-r.js +121 -0
  89. package/dist/FaqSection.cjs +219 -0
  90. package/dist/FaqSection.js +481 -0
  91. package/dist/FeedbackSection.cjs +3 -3
  92. package/dist/FeedbackSection.js +9 -9
  93. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +7 -7
  94. package/dist/FieldOfInterestsWithTagsCardsSection.js +24 -23
  95. package/dist/FileInput.cjs +1 -1
  96. package/dist/FileInput.js +1 -1
  97. package/dist/FilePlayer-9FdL9kM0.js +202 -0
  98. package/dist/FilePlayer-D9up8eWZ.cjs +1 -0
  99. package/dist/FlexBox.cjs +1 -1
  100. package/dist/FlexBox.js +1 -1
  101. package/dist/FlexGrid.cjs +1 -1
  102. package/dist/FlexGrid.js +1 -1
  103. package/dist/FlexGridItem.cjs +1 -1
  104. package/dist/FlexGridItem.js +1 -1
  105. package/dist/Footer.cjs +1 -1
  106. package/dist/Footer.js +1 -1
  107. package/dist/FormField.cjs +1 -1
  108. package/dist/FormField.js +1 -1
  109. package/dist/FormView.cjs +1 -1
  110. package/dist/FormView.js +1 -1
  111. package/dist/GiftCardsSection.cjs +2 -2
  112. package/dist/GiftCardsSection.js +9 -9
  113. package/dist/Grid.cjs +1 -1
  114. package/dist/Grid.js +1 -1
  115. package/dist/GridItem.cjs +1 -1
  116. package/dist/GridItem.js +1 -1
  117. package/dist/Header.cjs +1 -1
  118. package/dist/Header.js +1 -1
  119. package/dist/HelpBannerSection.cjs +62 -0
  120. package/dist/HelpBannerSection.js +81 -0
  121. package/dist/Icon.cjs +1 -1
  122. package/dist/Icon.js +1 -1
  123. package/dist/IconButton.cjs +1 -1
  124. package/dist/IconButton.js +1 -1
  125. package/dist/Kaltura-C170sgeD.cjs +1 -0
  126. package/dist/Kaltura-Dziqci9-.js +121 -0
  127. package/dist/Kanban.cjs +1 -1
  128. package/dist/Kanban.js +5 -5
  129. package/dist/KanbanActionsToolbar.cjs +1 -1
  130. package/dist/KanbanActionsToolbar.js +1 -1
  131. package/dist/{KanbanCard-CXRQQu4S.cjs → KanbanCard-CP60mpJO.cjs} +1 -1
  132. package/dist/{KanbanCard-CIscpYlR.js → KanbanCard-Crf-cTxA.js} +2 -2
  133. package/dist/KanbanCard.cjs +1 -1
  134. package/dist/KanbanCard.js +2 -2
  135. package/dist/KanbanFooter.cjs +1 -1
  136. package/dist/KanbanFooter.js +1 -1
  137. package/dist/KanbanHeader.cjs +1 -1
  138. package/dist/KanbanHeader.js +1 -1
  139. package/dist/KanbanView.cjs +1 -1
  140. package/dist/KanbanView.js +2 -2
  141. package/dist/Link.cjs +1 -1
  142. package/dist/Link.js +1 -1
  143. package/dist/LocationSearchSection.cjs +1 -1
  144. package/dist/LocationSearchSection.js +1 -1
  145. package/dist/MenuItem.cjs +1 -1
  146. package/dist/MenuItem.js +1 -1
  147. package/dist/Mixcloud-Cfn28kqf.js +113 -0
  148. package/dist/Mixcloud-Towpm_ct.cjs +1 -0
  149. package/dist/Modal.cjs +1 -1
  150. package/dist/Modal.js +2 -2
  151. package/dist/MultiSelectDropdown.cjs +1 -1
  152. package/dist/MultiSelectDropdown.js +3 -3
  153. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  154. package/dist/MultiSelectDropdownLookup.js +3 -3
  155. package/dist/Mux-D0MPDKkM.js +165 -0
  156. package/dist/Mux-yqNOmuss.cjs +1 -0
  157. package/dist/NestedDropdownItem.cjs +1 -1
  158. package/dist/NestedDropdownItem.js +1 -1
  159. package/dist/NestedMenuItem.cjs +1 -1
  160. package/dist/NestedMenuItem.js +1 -1
  161. package/dist/Notification.cjs +1 -1
  162. package/dist/Notification.js +1 -1
  163. package/dist/NotificationContainer.cjs +1 -1
  164. package/dist/NotificationContainer.js +2 -2
  165. package/dist/NotificationMessage.cjs +1 -1
  166. package/dist/NotificationMessage.js +1 -1
  167. package/dist/NumberInput.cjs +1 -1
  168. package/dist/NumberInput.js +2 -2
  169. package/dist/PageLayout.cjs +1 -1
  170. package/dist/PageLayout.js +1 -1
  171. package/dist/Pagination.cjs +1 -1
  172. package/dist/Pagination.js +1 -1
  173. package/dist/PasswordInput.cjs +1 -1
  174. package/dist/PasswordInput.js +2 -2
  175. package/dist/Popover.cjs +1 -1
  176. package/dist/Popover.js +1 -1
  177. package/dist/PopoverContent.cjs +1 -1
  178. package/dist/PopoverContent.js +2 -2
  179. package/dist/PopoverDescription.cjs +1 -1
  180. package/dist/PopoverDescription.js +1 -1
  181. package/dist/PopoverHeading.cjs +1 -1
  182. package/dist/PopoverHeading.js +1 -1
  183. package/dist/PopoverTrigger.cjs +1 -1
  184. package/dist/PopoverTrigger.js +2 -2
  185. package/dist/Preview-B8HyPnfR.cjs +1 -0
  186. package/dist/Preview-CO6WSP5f.js +127 -0
  187. package/dist/ProgressBar.cjs +1 -1
  188. package/dist/ProgressBar.js +1 -1
  189. package/dist/QuattroCardsSection.cjs +5 -5
  190. package/dist/QuattroCardsSection.js +7 -7
  191. package/dist/RadioGroup.cjs +1 -1
  192. package/dist/RadioGroup.js +1 -1
  193. package/dist/RadioInput.cjs +1 -1
  194. package/dist/RadioInput.js +1 -1
  195. package/dist/RangeSlider.cjs +1 -1
  196. package/dist/RangeSlider.js +1 -1
  197. package/dist/ReviewsSection.cjs +1 -1
  198. package/dist/ReviewsSection.js +1 -1
  199. package/dist/SalesCampaignsSection.cjs +1 -1
  200. package/dist/SalesCampaignsSection.js +1 -1
  201. package/dist/SearchBar.cjs +1 -1
  202. package/dist/SearchBar.js +3 -3
  203. package/dist/SearchSection-BUD-hnQA.cjs +161 -0
  204. package/dist/SearchSection-xe0nvARV.js +1214 -0
  205. package/dist/SearchSection.cjs +1 -0
  206. package/dist/SearchSection.js +9 -0
  207. package/dist/Separator.cjs +1 -1
  208. package/dist/Separator.js +1 -1
  209. package/dist/ShopCardsSection.cjs +1 -1
  210. package/dist/ShopCardsSection.js +3 -2
  211. package/dist/Sidebar.cjs +1 -1
  212. package/dist/Sidebar.js +1 -1
  213. package/dist/SimpleCategoriesSection.cjs +2 -2
  214. package/dist/SimpleCategoriesSection.js +4 -4
  215. package/dist/SoundCloud-D85Da68L.js +123 -0
  216. package/dist/SoundCloud-YZlcPffr.cjs +1 -0
  217. package/dist/Spinner.cjs +1 -1
  218. package/dist/Spinner.js +2 -2
  219. package/dist/StatsSection.cjs +117 -0
  220. package/dist/StatsSection.js +154 -0
  221. package/dist/Streamable-CJQf8evZ.cjs +1 -0
  222. package/dist/Streamable-Zj4FOeBP.js +115 -0
  223. package/dist/Surface.cjs +1 -1
  224. package/dist/Surface.js +1 -1
  225. package/dist/SwipeableDrawer.cjs +1 -1
  226. package/dist/SwipeableDrawer.js +1 -1
  227. package/dist/TabItem.cjs +1 -1
  228. package/dist/TabItem.js +1 -1
  229. package/dist/Table.cjs +1 -1
  230. package/dist/Table.js +3 -3
  231. package/dist/TableView.cjs +1 -1
  232. package/dist/TableView.js +1 -1
  233. package/dist/Tabs.cjs +1 -1
  234. package/dist/Tabs.js +1 -1
  235. package/dist/TextAreaInput.cjs +1 -1
  236. package/dist/TextAreaInput.js +2 -2
  237. package/dist/TextInput.cjs +1 -1
  238. package/dist/TextInput.js +2 -2
  239. package/dist/ThemeProvider.cjs +1 -1
  240. package/dist/ThemeProvider.js +2 -2
  241. package/dist/TimeInput.cjs +1 -1
  242. package/dist/TimeInput.js +2 -2
  243. package/dist/Toggle.cjs +1 -1
  244. package/dist/Toggle.js +1 -1
  245. package/dist/TreeMenu.cjs +1 -1
  246. package/dist/TreeMenu.js +1 -1
  247. package/dist/TreeMenuSeparator.cjs +1 -1
  248. package/dist/TreeMenuSeparator.js +1 -1
  249. package/dist/Twitch-Ba2O5gTX.cjs +1 -0
  250. package/dist/Twitch-DC97YrR8.js +117 -0
  251. package/dist/UploadedFile.cjs +1 -1
  252. package/dist/UploadedFile.js +1 -1
  253. package/dist/UrgentSaleProductsSection.cjs +1 -1
  254. package/dist/UrgentSaleProductsSection.js +5 -5
  255. package/dist/Vidyard-BdNB5Wka.cjs +1 -0
  256. package/dist/Vidyard-D9vYqvNv.js +113 -0
  257. package/dist/Vimeo-23LnW4uS.js +146 -0
  258. package/dist/Vimeo-DatJiKS5.cjs +1 -0
  259. package/dist/Wistia-D--UDN6c.cjs +1 -0
  260. package/dist/Wistia-d2TQ3m-s.js +124 -0
  261. package/dist/YouTube-BEkcZxN7.cjs +1 -0
  262. package/dist/YouTube-x5-hc3s6.js +176 -0
  263. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  264. package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
  265. package/dist/{emotion-react.browser.esm-1R69UXoj.cjs → emotion-react.browser.esm-Cvnp-zmB.cjs} +1 -1
  266. package/dist/{emotion-react.browser.esm-C6iWxXPG.js → emotion-react.browser.esm-DUVZ5oEL.js} +1 -1
  267. package/dist/{floating-ui.react.esm-h3qa3pb9.js → floating-ui.react.esm-CfpRzwmn.js} +1 -1
  268. package/dist/{floating-ui.react.esm-Bb1ww976.cjs → floating-ui.react.esm-CiYofNnh.cjs} +1 -1
  269. package/dist/{hoist-non-react-statics.cjs-Dr-ytKVG.cjs → hoist-non-react-statics.cjs-DGqlkKoS.cjs} +1 -1
  270. package/dist/{hoist-non-react-statics.cjs-CAHiRNzQ.js → hoist-non-react-statics.cjs-NQME298B.js} +1 -1
  271. package/dist/{index-EeoArxOx.cjs → index-41nUb2kP.cjs} +1 -1
  272. package/dist/{index-BlxaTV-D.js → index-6RFrSPs_.js} +1 -1
  273. package/dist/{index-64mXPFBC.js → index-B1vKwsDE.js} +1 -1
  274. package/dist/{index-Bq3leL2e.js → index-BXrmgzsU.js} +1 -1
  275. package/dist/{index-gY9e_8LL.cjs → index-BZnmT78f.cjs} +1 -1
  276. package/dist/{index-CQLF61YV.js → index-BgRyIsRu.js} +1 -1
  277. package/dist/{index-BPVoEhTF.cjs → index-BpbMKBf_.cjs} +1 -1
  278. package/dist/index-CDGmG-qk.cjs +1 -0
  279. package/dist/{index-S5Cd7WrG.js → index-CblbdqjE.js} +1 -1
  280. package/dist/{index-DaiUAQVF.cjs → index-Cp66dWMi.cjs} +1 -1
  281. package/dist/{index-DAOBjHnD.cjs → index-DA7SIHV1.cjs} +1 -1
  282. package/dist/{index-C1DkD2ug.cjs → index-DCFJmN23.cjs} +1 -1
  283. package/dist/{index-CkWvbrVT.js → index-Dt62UGku.js} +1 -1
  284. package/dist/index-wlx30R-h.js +62 -0
  285. package/dist/index.cjs +1 -1
  286. package/dist/index.js +60 -50
  287. package/dist/{react-toastify.esm--2awuizG.js → react-toastify.esm-BLQznunb.js} +1 -1
  288. package/dist/{react-toastify.esm-Dq1k28O7.cjs → react-toastify.esm-BoMuFZcq.cjs} +1 -1
  289. package/dist/{styled-components.browser.esm-CMTEDJ_5.cjs → styled-components.browser.esm-CvykQBGY.cjs} +1 -1
  290. package/dist/{styled-components.browser.esm-C9FYANiy.js → styled-components.browser.esm-D-n22PJk.js} +1 -1
  291. package/dist/usePopover.cjs +1 -1
  292. package/dist/usePopover.js +1 -1
  293. package/package.json +8 -2
  294. package/vite.config.js +14 -0
  295. package/dist/_commonjsHelpers-DKOUU3wS.cjs +0 -1
  296. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
@@ -0,0 +1,481 @@
1
+ import { jsx as r, jsxs as l, Fragment as y } from "react/jsx-runtime";
2
+ import { forwardRef as S, useState as T, useMemo as $ } from "react";
3
+ import { P as e } from "./index-CblbdqjE.js";
4
+ import z from "./Chip.js";
5
+ import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { M as I } from "./consts-BuFChS64.js";
7
+ import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
8
+ import N from "./Icon.js";
9
+ import C from "./IconButton.js";
10
+ import F from "./Button.js";
11
+ const j = k.div`
12
+ display: flex;
13
+ gap: 0.75rem;
14
+ align-items: center;
15
+ align-content: center;
16
+
17
+ & .tags__item {
18
+ color: var(--gray-900, #0c1520);
19
+ background: var(--gray-100, #f3f6fb);
20
+ font-size: 0.875rem;
21
+ font-style: normal;
22
+ font-weight: 400;
23
+ line-height: 1.25rem;
24
+ letter-spacing: -0.0056rem;
25
+ padding: 0.5rem 0.75rem;
26
+
27
+ &.active {
28
+ color: var(--white, #fff);
29
+ background: var(--gray-900, #0c1520);
30
+ font-weight: 500;
31
+
32
+ &:hover {
33
+ color: var(--white, #fff);
34
+ background: var(--gray-900, #0c1520);
35
+ }
36
+ }
37
+
38
+ &:hover {
39
+ background: var(--gray-200, #e4e9f0);
40
+ }
41
+
42
+ &:focus {
43
+ outline: none;
44
+ }
45
+ }
46
+
47
+ @media (max-width: ${I + "px"}) {
48
+ width: 100%;
49
+ overflow-x: auto;
50
+ white-space: nowrap;
51
+
52
+ -webkit-overflow-scrolling: touch;
53
+ ::-webkit-scrollbar {
54
+ -webkit-appearance: none;
55
+ }
56
+ -ms-overflow-style: none;
57
+ /* Internet Explorer 10+ */
58
+ scrollbar-width: none;
59
+ /* Firefox */
60
+
61
+ &::-webkit-scrollbar {
62
+ display: none;
63
+ /* Safari and Chrome */
64
+ }
65
+ }
66
+ `, P = k.div`
67
+ display: flex;
68
+ gap: 1.25rem;
69
+ width: 100%;
70
+
71
+ & .section__column {
72
+ display: flex;
73
+ flex-direction: column;
74
+ gap: 1.25rem;
75
+ width: 100%;
76
+ }
77
+
78
+ & .section__show-more {
79
+ color: var(--neutral-600, #0f2a46);
80
+ font-size: 0.875rem;
81
+ font-style: normal;
82
+ font-weight: 500;
83
+ line-height: 1.25rem;
84
+ letter-spacing: -0.0056rem;
85
+
86
+ &:focus {
87
+ outline: none;
88
+ }
89
+ }
90
+
91
+ @media (max-width: ${I + "px"}) {
92
+ flex-direction: column;
93
+ }
94
+ `, R = k.div`
95
+ width: 100%;
96
+ height: fit-content;
97
+ background: var(--white, #fff);
98
+ border: 1px solid var(--gray-100, #f3f6fb);
99
+ display: flex;
100
+ flex-direction: column;
101
+ gap: 0.75rem;
102
+ padding: 1rem;
103
+ border-radius: 0.75rem;
104
+
105
+ &:hover {
106
+ cursor: pointer;
107
+ }
108
+
109
+ &.expanded {
110
+ border: 1px solid #ff7621;
111
+ box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16),
112
+ 0 1px 4px 0 rgba(255, 118, 33, 0.5) inset;
113
+ }
114
+
115
+ & .card__heading {
116
+ display: flex;
117
+ justify-content: space-between;
118
+ width: 100%;
119
+
120
+ & .card__title {
121
+ color: var(--neutral-600, #0f2a46);
122
+ font-size: 1rem;
123
+ font-style: normal;
124
+ font-weight: 500;
125
+ line-height: 1.5rem;
126
+ }
127
+
128
+ & .card__icon {
129
+ color: var(--neutral-600, #0f2a46);
130
+ }
131
+ }
132
+
133
+ & .card__description {
134
+ color: var(--neutral-400, #47607b);
135
+ font-size: 0.875rem;
136
+ font-style: normal;
137
+ font-weight: 400;
138
+ line-height: 1.25rem;
139
+ letter-spacing: 0.0156rem;
140
+ }
141
+
142
+ & .card__impression {
143
+ display: flex;
144
+ align-items: center;
145
+ gap: 0.75rem;
146
+
147
+ & .imppression__question {
148
+ color: var(--gray-500, #7a8594);
149
+ font-size: 0.75rem;
150
+ font-style: normal;
151
+ font-weight: 500;
152
+ line-height: 1rem;
153
+ letter-spacing: 0.0313rem;
154
+ }
155
+
156
+ & .impression__actions {
157
+ display: flex;
158
+ gap: 0.5rem;
159
+
160
+ button {
161
+ color: var(--gray-600, #676e79);
162
+
163
+ &:focus {
164
+ outline: none;
165
+ }
166
+ }
167
+ }
168
+
169
+ &.feedback {
170
+ gap: 0.25rem;
171
+ }
172
+ }
173
+
174
+ @media (max-width: ${I + "px"}) {
175
+ & .card__impression {
176
+ justify-content: space-between;
177
+
178
+ &.feedback {
179
+ justify-content: flex-start;
180
+ }
181
+ }
182
+ }
183
+ `, q = S(
184
+ ({ tags: o = [], selectedTagCode: a = null, onSelectTag: d = () => {
185
+ } }, u) => /* @__PURE__ */ r(j, { children: o == null ? void 0 : o.map((t, p) => /* @__PURE__ */ r(
186
+ z,
187
+ {
188
+ label: t == null ? void 0 : t.name,
189
+ borderRadius: "curved",
190
+ color: "neutral",
191
+ className: `tags__item ${a === (t == null ? void 0 : t.code) ? "active" : ""}`,
192
+ onClick: () => {
193
+ d(t);
194
+ }
195
+ },
196
+ `faq-section-tag__${p + 1}`
197
+ )) })
198
+ );
199
+ q.propTypes = {
200
+ tags: e.array,
201
+ onSelectTag: e.func
202
+ };
203
+ const b = ({
204
+ title: o,
205
+ description: a,
206
+ questionText: d,
207
+ feedbackText: u,
208
+ impressions: t = !1,
209
+ onSelectItem: p = () => {
210
+ },
211
+ onImpressed: m = () => {
212
+ }
213
+ }) => {
214
+ const [f, g] = T(!1), [_, v] = T(!1), h = () => {
215
+ g((i) => !i), p();
216
+ }, s = (i, c) => {
217
+ i == null || i.stopPropagation(), v(!0), m(c);
218
+ };
219
+ return /* @__PURE__ */ l(
220
+ R,
221
+ {
222
+ className: f ? "expanded" : "",
223
+ onClick: h,
224
+ children: [
225
+ /* @__PURE__ */ l("div", { className: "card__heading", children: [
226
+ /* @__PURE__ */ r("div", { className: "card__title", children: o }),
227
+ /* @__PURE__ */ r(
228
+ N,
229
+ {
230
+ icon: f ? " mng-lnc-subtract" : " mng-lnc-add",
231
+ sizeInUnits: "1.25rem",
232
+ className: "card__icon"
233
+ }
234
+ )
235
+ ] }),
236
+ f && /* @__PURE__ */ l(y, { children: [
237
+ /* @__PURE__ */ r("div", { className: "card__description", children: a }),
238
+ t && /* @__PURE__ */ r(y, { children: _ ? /* @__PURE__ */ l("div", { className: "card__impression feedback", children: [
239
+ /* @__PURE__ */ r(
240
+ N,
241
+ {
242
+ icon: " mng-lnc-checkmark--outline",
243
+ sizeInUnits: "1.25rem",
244
+ color: "success"
245
+ }
246
+ ),
247
+ /* @__PURE__ */ r("div", { className: "imppression__question", children: u })
248
+ ] }) : /* @__PURE__ */ l("div", { className: "card__impression", children: [
249
+ /* @__PURE__ */ r("div", { className: "imppression__question", children: d }),
250
+ /* @__PURE__ */ l("div", { className: "impression__actions", children: [
251
+ /* @__PURE__ */ r(
252
+ C,
253
+ {
254
+ icon: " mng-lnc-thumbs-up",
255
+ borderRadius: "curved",
256
+ btnType: "outline",
257
+ onClick: (i) => s(i, !0)
258
+ }
259
+ ),
260
+ /* @__PURE__ */ r(
261
+ C,
262
+ {
263
+ icon: " mng-lnc-thumbs-down",
264
+ borderRadius: "curved",
265
+ btnType: "outline",
266
+ onClick: (i) => s(i, !1)
267
+ }
268
+ )
269
+ ] })
270
+ ] }) })
271
+ ] })
272
+ ]
273
+ }
274
+ );
275
+ }, M = S(
276
+ ({
277
+ items: o = [],
278
+ questionText: a,
279
+ feedbackText: d,
280
+ showMoreText: u,
281
+ impressions: t = !1,
282
+ onSelectItem: p = () => {
283
+ },
284
+ onImpressed: m = () => {
285
+ }
286
+ }, f) => {
287
+ const g = E(), [_, v] = T(!1), h = () => {
288
+ v((i) => !i);
289
+ }, s = $(() => {
290
+ if (g)
291
+ return o == null ? void 0 : o.map((n, w) => /* @__PURE__ */ r(
292
+ b,
293
+ {
294
+ title: n == null ? void 0 : n.title,
295
+ description: n == null ? void 0 : n.description,
296
+ questionText: a,
297
+ feedbackText: d,
298
+ impressions: t,
299
+ onSelectItem: () => p(n),
300
+ onImpressed: (x) => m(n, x)
301
+ },
302
+ `faq-section-item__${w + 1}`
303
+ ));
304
+ const i = [], c = [];
305
+ return o == null || o.forEach((n, w) => {
306
+ w % 2 === 0 ? i.push(
307
+ /* @__PURE__ */ r(
308
+ b,
309
+ {
310
+ title: n == null ? void 0 : n.title,
311
+ description: n == null ? void 0 : n.description,
312
+ questionText: a,
313
+ feedbackText: d,
314
+ impressions: t,
315
+ onSelectItem: () => p(n),
316
+ onImpressed: (x) => m(n, x)
317
+ },
318
+ `faq-section-item__${w + 1}`
319
+ )
320
+ ) : c.push(
321
+ /* @__PURE__ */ r(
322
+ b,
323
+ {
324
+ title: n == null ? void 0 : n.title,
325
+ description: n == null ? void 0 : n.description,
326
+ questionText: a,
327
+ feedbackText: d,
328
+ impressions: t,
329
+ onSelectItem: () => p(n),
330
+ onImpressed: (x) => m(n, x)
331
+ },
332
+ `faq-section-item__${w + 1}`
333
+ )
334
+ );
335
+ }), /* @__PURE__ */ l(y, { children: [
336
+ /* @__PURE__ */ r("div", { className: "section__column", children: i }),
337
+ /* @__PURE__ */ r("div", { className: "section__column", children: c })
338
+ ] });
339
+ }, [o, g]);
340
+ return /* @__PURE__ */ r(P, { children: g ? _ ? s : /* @__PURE__ */ l(y, { children: [
341
+ s == null ? void 0 : s.slice(0, 4),
342
+ (s == null ? void 0 : s.length) > 4 && /* @__PURE__ */ r(
343
+ F,
344
+ {
345
+ text: u,
346
+ btnType: "basic",
347
+ color: "neutral",
348
+ className: "section__show-more",
349
+ onClick: h
350
+ }
351
+ )
352
+ ] }) : s });
353
+ }
354
+ );
355
+ b.propTypes = {
356
+ title: e.string,
357
+ description: e.string,
358
+ questionText: e.string,
359
+ feedbackText: e.string,
360
+ showMoreText: e.string,
361
+ impressions: e.bool,
362
+ onSelectItem: e.func,
363
+ onImpressed: e.func
364
+ };
365
+ M.propTypes = {
366
+ items: e.array,
367
+ questionText: e.string,
368
+ feedbackText: e.string,
369
+ showMoreText: e.string,
370
+ impressions: e.bool,
371
+ onSelectItem: e.func,
372
+ onImpressed: e.func
373
+ };
374
+ const B = k.div`
375
+ display: flex;
376
+ flex-direction: column;
377
+ align-items: center;
378
+ gap: 2rem;
379
+
380
+ & .section__heading {
381
+ display: flex;
382
+ flex-direction: column;
383
+ gap: 0.5rem;
384
+ text-align: center;
385
+ width: 100%;
386
+ }
387
+
388
+ & .section__title {
389
+ color: var(--navy-900, #0c1520);
390
+ text-align: center;
391
+ font-size: 1.5rem;
392
+ font-style: normal;
393
+ font-weight: 600;
394
+ line-height: 2rem;
395
+ }
396
+
397
+ & .section__description {
398
+ color: var(--navy-500, #7a8594);
399
+ text-align: center;
400
+ font-size: 1rem;
401
+ font-style: normal;
402
+ font-weight: 500;
403
+ line-height: 1.5rem;
404
+ }
405
+
406
+ @media (max-width: ${I + "px"}) {
407
+ & .section__title {
408
+ font-size: 1rem;
409
+ font-weight: 500;
410
+ line-height: 1.5rem;
411
+ }
412
+
413
+ & .section__description {
414
+ font-size: 0.875rem;
415
+ font-weight: 400;
416
+ line-height: 1.25rem;
417
+ letter-spacing: 0.25px;
418
+ }
419
+ }
420
+ `, U = S(
421
+ ({
422
+ title: o,
423
+ description: a,
424
+ questionText: d,
425
+ feedbackText: u,
426
+ showMoreText: t,
427
+ impressions: p = !1,
428
+ tags: m = [],
429
+ items: f = [],
430
+ onSelectItem: g = () => {
431
+ },
432
+ onImpressed: _ = () => {
433
+ }
434
+ }, v) => {
435
+ const [h, s] = T(null);
436
+ return /* @__PURE__ */ l(B, { ref: v, children: [
437
+ /* @__PURE__ */ l("div", { className: "section__heading", children: [
438
+ o && /* @__PURE__ */ r("div", { className: "section__title", children: o }),
439
+ a && /* @__PURE__ */ r("div", { className: "section__description", children: a })
440
+ ] }),
441
+ /* @__PURE__ */ r(
442
+ q,
443
+ {
444
+ tags: m,
445
+ selectedTagCode: h,
446
+ onSelectTag: (c) => {
447
+ s(c == null ? void 0 : c.code);
448
+ }
449
+ }
450
+ ),
451
+ /* @__PURE__ */ r(
452
+ M,
453
+ {
454
+ items: h === null ? f : f == null ? void 0 : f.filter((c) => (c == null ? void 0 : c.tagCode) === h),
455
+ questionText: d,
456
+ feedbackText: u,
457
+ showMoreText: t,
458
+ impressions: p,
459
+ onSelectItem: g,
460
+ onImpressed: _
461
+ },
462
+ `faq-section-items__${h}`
463
+ )
464
+ ] });
465
+ }
466
+ );
467
+ U.propTypes = {
468
+ title: e.string,
469
+ description: e.string,
470
+ tags: e.array,
471
+ items: e.array,
472
+ questionText: e.string,
473
+ feedbackText: e.string,
474
+ showMoreText: e.string,
475
+ impressions: e.bool,
476
+ onSelectItem: e.func,
477
+ onImpressed: e.func
478
+ };
479
+ export {
480
+ U as default
481
+ };
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),l=require("react"),n=require("./utils-CZynEOC_.cjs"),o=require("./Button.cjs"),d=require("./styled-components.browser.esm-CMTEDJ_5.cjs"),f=require("./consts-goSZX3xP.cjs"),m=d.qe.div`
1
+ "use strict";const e=require("react/jsx-runtime"),o=require("react"),n=require("./utils-CZynEOC_.cjs"),d=require("./Button.cjs"),f=require("./styled-components.browser.esm-CvykQBGY.cjs"),m=require("./consts-goSZX3xP.cjs"),g=f.qe.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -45,7 +45,7 @@
45
45
  }
46
46
  }
47
47
 
48
- @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
48
+ @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
49
49
  text-align: center;
50
50
  }
51
- `,g=l.forwardRef(({title:i,description:a,buttonText:s,onButtonAction:r=()=>{}},_)=>e.jsxs(m,{children:[e.jsxs("div",{className:"feedback__content",children:[n.isDefinedNotEmptyString(i)&&e.jsx("div",{className:"feedback__title",children:e.jsx("span",{children:i})}),n.isDefinedNotEmptyString(a)&&e.jsx("div",{className:"feedback__description",children:e.jsx("span",{children:a})})]}),n.isDefinedNotEmptyString(s)&&e.jsx(o,{text:s,borderRadius:"curved",btnType:"tinted",color:"neutral",className:"feedback__action",onClick:t=>{var c;(c=t==null?void 0:t.target)==null||c.blur(),r==null||r()}})]}));module.exports=g;
51
+ `,_=o.forwardRef(({title:i,description:a,buttonText:s,onButtonAction:r=()=>{}},l)=>e.jsxs(g,{ref:l,children:[e.jsxs("div",{className:"feedback__content",children:[n.isDefinedNotEmptyString(i)&&e.jsx("div",{className:"feedback__title",children:e.jsx("span",{children:i})}),n.isDefinedNotEmptyString(a)&&e.jsx("div",{className:"feedback__description",children:e.jsx("span",{children:a})})]}),n.isDefinedNotEmptyString(s)&&e.jsx(d,{text:s,borderRadius:"curved",btnType:"tinted",color:"neutral",className:"feedback__action",onClick:t=>{var c;(c=t==null?void 0:t.target)==null||c.blur(),r==null||r()}})]}));module.exports=_;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as s } from "react";
2
+ import { forwardRef as d } from "react";
3
3
  import { k as t } from "./utils-BbgAIA9N.js";
4
- import d from "./Button.js";
5
- import { q as f } from "./styled-components.browser.esm-C9FYANiy.js";
6
- import { M as m } from "./consts-BuFChS64.js";
7
- const g = f.div`
4
+ import m from "./Button.js";
5
+ import { q as f } from "./styled-components.browser.esm-D-n22PJk.js";
6
+ import { M as g } from "./consts-BuFChS64.js";
7
+ const p = f.div`
8
8
  display: flex;
9
9
  flex-direction: column;
10
10
  align-items: center;
@@ -51,18 +51,18 @@ const g = f.div`
51
51
  }
52
52
  }
53
53
 
54
- @media (max-width: ${m + "px"}) {
54
+ @media (max-width: ${g + "px"}) {
55
55
  text-align: center;
56
56
  }
57
- `, y = s(
57
+ `, y = d(
58
58
  ({ title: i, description: n, buttonText: l, onButtonAction: r = () => {
59
- } }, p) => /* @__PURE__ */ o(g, { children: [
59
+ } }, s) => /* @__PURE__ */ o(p, { ref: s, children: [
60
60
  /* @__PURE__ */ o("div", { className: "feedback__content", children: [
61
61
  t(i) && /* @__PURE__ */ e("div", { className: "feedback__title", children: /* @__PURE__ */ e("span", { children: i }) }),
62
62
  t(n) && /* @__PURE__ */ e("div", { className: "feedback__description", children: /* @__PURE__ */ e("span", { children: n }) })
63
63
  ] }),
64
64
  t(l) && /* @__PURE__ */ e(
65
- d,
65
+ m,
66
66
  {
67
67
  text: l,
68
68
  borderRadius: "curved",
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),l=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-CZynEOC_.cjs"),k=require("./Icon.cjs"),$=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=require("./consts-goSZX3xP.cjs"),I=p.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),l=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-CZynEOC_.cjs"),$=require("./Icon.cjs"),N=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),I=require("./consts-goSZX3xP.cjs"),C=p.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -49,12 +49,12 @@
49
49
  }
50
50
  }
51
51
  cursor: pointer;
52
- `,C=p.styled.div`
52
+ `,W=p.styled.div`
53
53
  width: 100%;
54
54
  height: 11.625rem;
55
55
  border-radius: 0.75rem;
56
56
  background: ${o.linearGradientAnimation("-90deg")};
57
- `,W=p.styled.div`
57
+ `,F=p.styled.div`
58
58
  display: flex;
59
59
  padding: 0 0.75rem 0 0.75rem;
60
60
  align-items: center;
@@ -104,12 +104,12 @@
104
104
  color: var(--white, #fff);
105
105
  }
106
106
  }
107
- `,F=p.styled.div`
107
+ `,R=p.styled.div`
108
108
  width: 7rem;
109
109
  height: 3rem;
110
110
  border-radius: 999px;
111
111
  background: ${o.linearGradientAnimation("-90deg")};
112
- `,R=l.forwardRef(({},i)=>r.jsx(F,{})),q=l.forwardRef(({name:i,isActive:s,icon:t,onSelectCard:a=()=>{}},m)=>r.jsxs(W,{className:s?"active":"",onClick:a,children:[o.isDefinedNotEmptyString(t)&&r.jsx(k,{icon:t,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),z=l.forwardRef(({image:i,imageComponent:s,name:t,description:a,onSelectCard:m=()=>{}},g)=>{const{theme:f}=$.useTheme();return r.jsxs(I,{theme:f,onClick:m,children:[o.isDefined(s)?s:r.jsx("img",{src:i,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),a&&r.jsx("div",{className:"wrapper__description",children:a})]})]})}),O=l.forwardRef(({},i)=>r.jsx(C,{})),A=p.styled.div`
112
+ `,q=l.forwardRef(({},i)=>r.jsx(R,{})),z=l.forwardRef(({name:i,isActive:s,icon:t,onSelectCard:a=()=>{}},m)=>r.jsxs(F,{className:s?"active":"",onClick:a,children:[o.isDefinedNotEmptyString(t)&&r.jsx($,{icon:t,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),O=l.forwardRef(({image:i,imageComponent:s,name:t,description:a,onSelectCard:m=()=>{}},g)=>{const{theme:f}=N.useTheme();return r.jsxs(C,{theme:f,onClick:m,children:[o.isDefined(s)?s:r.jsx("img",{src:i,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),a&&r.jsx("div",{className:"wrapper__description",children:a})]})]})}),A=l.forwardRef(({},i)=>r.jsx(W,{})),E=p.styled.div`
113
113
  display: flex;
114
114
  flex-direction: column;
115
115
  align-items: center;
@@ -157,7 +157,7 @@
157
157
  width: 100%;
158
158
  }
159
159
 
160
- @media (max-width: ${N.MOBILE_SIZE_PX+"px"}) {
160
+ @media (max-width: ${I.MOBILE_SIZE_PX+"px"}) {
161
161
  & .wrapper__tags {
162
162
  overflow-x: scroll;
163
163
  justify-content: flex-start;
@@ -183,4 +183,4 @@
183
183
  gap: 1rem;
184
184
  }
185
185
  }
186
- `,E=l.forwardRef(({title:i,subtitle:s,tags:t=[],limitTags:a=7,limitTagsForMobile:m=7,limit:g=3,limitForMobile:f=2,items:d=[],selectedTag:c,isLoadingTags:y=!1,isLoadingItems:b=!1,onSelectTag:_=()=>{},onSelectCard:h=()=>{},getImage:j=()=>{}},D)=>{var u,v;const w=e=>{_==null||_(e)},x=e=>{h==null||h(e)};return r.jsxs(A,{limitTags:a,limitTagsForMobile:m,limitCards:g,limitCardsForMobile:f,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),s&&r.jsx("div",{className:"wrapper__subtitle",children:s})]}),r.jsx("div",{className:"wrapper__tags",children:y?(u=Array.from("123"))==null?void 0:u.map((e,n)=>r.jsx(R,{},`field-of-interests-with-tags-card-tag-skeleton__${n+1}`)):t==null?void 0:t.map((e,n)=>r.jsx(q,{icon:e==null?void 0:e.icon,name:e==null?void 0:e.name,isActive:(e==null?void 0:e.uuid)===(c==null?void 0:c.uuid),onSelectCard:()=>w==null?void 0:w(e)},`field-of-interests-with-tags-card-tag__${n+1}`))}),r.jsx("div",{className:"wrapper__cards",children:b?(v=Array.from("123"))==null?void 0:v.map((e,n)=>r.jsx(O,{},`field-of-interests-with-tags-card-skeleton__${n+1}`)):d==null?void 0:d.map((e,n)=>r.jsx(z,{image:j(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid),imageComponent:e==null?void 0:e.imageComponent,name:e==null?void 0:e.name,description:(e==null?void 0:e.shortDescription)||(e==null?void 0:e.description),onSelectCard:()=>x==null?void 0:x(e)},`field-of-interests-with-tags-card__${n+1}`))})]})});module.exports=E;
186
+ `,D=l.forwardRef(({title:i,subtitle:s,tags:t=[],limitTags:a=7,limitTagsForMobile:m=7,limit:g=3,limitForMobile:f=2,items:d=[],selectedTag:c,isLoadingTags:y=!1,isLoadingItems:b=!1,onSelectTag:_=()=>{},onSelectCard:h=()=>{},getImage:j=()=>{}},k)=>{var u,v;const w=e=>{_==null||_(e)},x=e=>{h==null||h(e)};return r.jsxs(E,{ref:k,limitTags:a,limitTagsForMobile:m,limitCards:g,limitCardsForMobile:f,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),s&&r.jsx("div",{className:"wrapper__subtitle",children:s})]}),r.jsx("div",{className:"wrapper__tags",children:y?(u=Array.from("123"))==null?void 0:u.map((e,n)=>r.jsx(q,{},`field-of-interests-with-tags-card-tag-skeleton__${n+1}`)):t==null?void 0:t.map((e,n)=>r.jsx(z,{icon:e==null?void 0:e.icon,name:e==null?void 0:e.name,isActive:(e==null?void 0:e.uuid)===(c==null?void 0:c.uuid),onSelectCard:()=>w==null?void 0:w(e)},`field-of-interests-with-tags-card-tag__${n+1}`))}),r.jsx("div",{className:"wrapper__cards",children:b?(v=Array.from("123"))==null?void 0:v.map((e,n)=>r.jsx(A,{},`field-of-interests-with-tags-card-skeleton__${n+1}`)):d==null?void 0:d.map((e,n)=>r.jsx(O,{image:j(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid),imageComponent:e==null?void 0:e.imageComponent,name:e==null?void 0:e.name,description:(e==null?void 0:e.shortDescription)||(e==null?void 0:e.description),onSelectCard:()=>x==null?void 0:x(e)},`field-of-interests-with-tags-card__${n+1}`))})]})});module.exports=D;