@lanaco/lnc-react-ui 4.0.125 → 4.0.127

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 (242) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionSummary.cjs +1 -1
  4. package/dist/AccordionSummary.js +1 -1
  5. package/dist/ActionsToolbar.cjs +1 -1
  6. package/dist/ActionsToolbar.js +1 -1
  7. package/dist/Alert.cjs +1 -1
  8. package/dist/Alert.js +1 -1
  9. package/dist/Avatar.cjs +1 -1
  10. package/dist/Avatar.js +1 -1
  11. package/dist/Badge.cjs +1 -1
  12. package/dist/Badge.js +1 -1
  13. package/dist/BannerSectionCarousel.cjs +1 -1
  14. package/dist/BannerSectionCarousel.js +2 -0
  15. package/dist/BannerSectionWithList.cjs +1 -1
  16. package/dist/BannerSectionWithList.js +1 -1
  17. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  18. package/dist/BlogCardsSponsoredSection.js +3 -3
  19. package/dist/BlogCategoryCardsSection.cjs +1 -1
  20. package/dist/BlogCategoryCardsSection.js +1 -1
  21. package/dist/BlogExploreSection.cjs +319 -0
  22. package/dist/BlogExploreSection.js +642 -0
  23. package/dist/BlogListSection.cjs +10 -7
  24. package/dist/BlogListSection.js +32 -29
  25. package/dist/BlogProductCardsSection.cjs +1 -1
  26. package/dist/BlogProductCardsSection.js +32 -26
  27. package/dist/BlogShopCardsSection.cjs +1 -1
  28. package/dist/BlogShopCardsSection.js +1 -1
  29. package/dist/BlogSingleSection.cjs +1 -1
  30. package/dist/BlogSingleSection.js +2 -2
  31. package/dist/BlogsSectionDetailed.cjs +1 -1
  32. package/dist/BlogsSectionDetailed.js +3 -3
  33. package/dist/BlogsSectionLarge.cjs +1 -1
  34. package/dist/BlogsSectionLarge.js +2 -2
  35. package/dist/BlogsSectionSimple.cjs +1 -1
  36. package/dist/BlogsSectionSimple.js +3 -3
  37. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  38. package/dist/BlogsSectionSimpleCentered.js +2 -2
  39. package/dist/BlogsSectionWithFilters.cjs +1 -1
  40. package/dist/BlogsSectionWithFilters.js +4 -4
  41. package/dist/BrandHitsSection.cjs +1 -1
  42. package/dist/BrandHitsSection.js +1 -1
  43. package/dist/Breadcrumbs.cjs +1 -1
  44. package/dist/Breadcrumbs.js +1 -1
  45. package/dist/Button.cjs +1 -1
  46. package/dist/Button.js +1 -1
  47. package/dist/ButtonGroup.cjs +1 -1
  48. package/dist/ButtonGroup.js +1 -1
  49. package/dist/CalorieCalculatorSection.cjs +1 -1
  50. package/dist/CalorieCalculatorSection.js +1 -1
  51. package/dist/CheckBoxInput.cjs +1 -1
  52. package/dist/CheckBoxInput.js +1 -1
  53. package/dist/Chip.cjs +1 -1
  54. package/dist/Chip.js +1 -1
  55. package/dist/ColorInput.cjs +1 -1
  56. package/dist/ColorInput.js +1 -1
  57. package/dist/ConfirmationForm.cjs +1 -1
  58. package/dist/ConfirmationForm.js +1 -1
  59. package/dist/CustomLoanMapSection.cjs +1 -1
  60. package/dist/CustomLoanMapSection.js +1 -1
  61. package/dist/{CustomStyles-DpKzWczC.js → CustomStyles-Dd6IDcq_.js} +1 -1
  62. package/dist/{CustomStyles-D3JePSNK.cjs → CustomStyles-K9rgl5Vl.cjs} +1 -1
  63. package/dist/DateInput.cjs +1 -1
  64. package/dist/DateInput.js +1 -1
  65. package/dist/DecimalInput.cjs +1 -1
  66. package/dist/DecimalInput.js +1 -1
  67. package/dist/DecimalInputV2.cjs +1 -1
  68. package/dist/DecimalInputV2.js +1 -1
  69. package/dist/DetailedProductsSection.cjs +1 -1
  70. package/dist/DetailedProductsSection.js +4 -4
  71. package/dist/DetailsView.cjs +1 -1
  72. package/dist/DetailsView.js +1 -1
  73. package/dist/DoubleRangeSlider.cjs +1 -1
  74. package/dist/DoubleRangeSlider.js +1 -1
  75. package/dist/DragAndDropFile.cjs +1 -1
  76. package/dist/DragAndDropFile.js +1 -1
  77. package/dist/DragDropFiles.cjs +1 -1
  78. package/dist/DragDropFiles.js +1 -1
  79. package/dist/Drawer.cjs +1 -1
  80. package/dist/Drawer.js +1 -1
  81. package/dist/Dropdown.cjs +1 -1
  82. package/dist/Dropdown.js +2 -2
  83. package/dist/DropdownItem.cjs +1 -1
  84. package/dist/DropdownItem.js +1 -1
  85. package/dist/DropdownLookup.cjs +1 -1
  86. package/dist/DropdownLookup.js +1 -1
  87. package/dist/DropdownMenu.cjs +1 -1
  88. package/dist/DropdownMenu.js +1 -1
  89. package/dist/EditableTable.cjs +1 -1
  90. package/dist/EditableTable.js +1 -1
  91. package/dist/FaqSection.cjs +3 -175
  92. package/dist/FaqSection.js +121 -314
  93. package/dist/FeedbackSection.cjs +1 -1
  94. package/dist/FeedbackSection.js +1 -1
  95. package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
  96. package/dist/FieldOfInterestsMasonrySection.js +1 -1
  97. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  98. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
  99. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  100. package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
  101. package/dist/FileInput.cjs +1 -1
  102. package/dist/FileInput.js +1 -1
  103. package/dist/FlexGridItem.cjs +1 -1
  104. package/dist/FlexGridItem.js +1 -1
  105. package/dist/FormField.cjs +1 -1
  106. package/dist/FormField.js +1 -1
  107. package/dist/FormView.cjs +1 -1
  108. package/dist/FormView.js +1 -1
  109. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  110. package/dist/GeneralWithTagsCardsSection.js +1 -1
  111. package/dist/GiftCardsSection.cjs +1 -1
  112. package/dist/GiftCardsSection.js +2 -2
  113. package/dist/Icon.cjs +1 -1
  114. package/dist/Icon.js +1 -1
  115. package/dist/IconButton.cjs +1 -1
  116. package/dist/IconButton.js +1 -1
  117. package/dist/Kanban.cjs +1 -1
  118. package/dist/Kanban.js +1 -1
  119. package/dist/KanbanActionsToolbar.cjs +1 -1
  120. package/dist/KanbanActionsToolbar.js +1 -1
  121. package/dist/KanbanView.cjs +1 -1
  122. package/dist/KanbanView.js +1 -1
  123. package/dist/Link.cjs +1 -1
  124. package/dist/Link.js +1 -1
  125. package/dist/LoanCalculatorSection.cjs +1 -1
  126. package/dist/LoanCalculatorSection.js +1 -1
  127. package/dist/LocationFinderSection.cjs +1 -1
  128. package/dist/LocationFinderSection.js +1 -1
  129. package/dist/LocationSearchSection.cjs +1 -1
  130. package/dist/LocationSearchSection.js +1 -1
  131. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  132. package/dist/MasonryGeneralCardsSection.js +1 -1
  133. package/dist/MenuItem.cjs +1 -1
  134. package/dist/MenuItem.js +1 -1
  135. package/dist/Modal.cjs +1 -1
  136. package/dist/Modal.js +1 -1
  137. package/dist/MultiSelectDropdown.cjs +1 -1
  138. package/dist/MultiSelectDropdown.js +1 -1
  139. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  140. package/dist/MultiSelectDropdownLookup.js +1 -1
  141. package/dist/NestedDropdownItem.cjs +1 -1
  142. package/dist/NestedDropdownItem.js +1 -1
  143. package/dist/NestedMenuItem.cjs +1 -1
  144. package/dist/NestedMenuItem.js +1 -1
  145. package/dist/NotificationContainer.cjs +1 -1
  146. package/dist/NotificationContainer.js +1 -1
  147. package/dist/NotificationMessage.cjs +1 -1
  148. package/dist/NotificationMessage.js +1 -1
  149. package/dist/NumberInput.cjs +1 -1
  150. package/dist/NumberInput.js +1 -1
  151. package/dist/PasswordInput.cjs +1 -1
  152. package/dist/PasswordInput.js +1 -1
  153. package/dist/PopoverContent.cjs +1 -1
  154. package/dist/PopoverContent.js +1 -1
  155. package/dist/ProductsWithBannerSection.cjs +1 -1
  156. package/dist/ProductsWithBannerSection.js +3 -3
  157. package/dist/ProgressBar.cjs +1 -1
  158. package/dist/ProgressBar.js +1 -1
  159. package/dist/QuattroCardsSection.cjs +1 -1
  160. package/dist/QuattroCardsSection.js +1 -1
  161. package/dist/QuizSection.cjs +1 -1
  162. package/dist/QuizSection.js +1 -1
  163. package/dist/RadioInput.cjs +1 -1
  164. package/dist/RadioInput.js +1 -1
  165. package/dist/RangeSlider.cjs +1 -1
  166. package/dist/RangeSlider.js +1 -1
  167. package/dist/ReviewsSection.cjs +1 -1
  168. package/dist/ReviewsSection.js +2 -2
  169. package/dist/SalesCampaignsSection.cjs +39 -22
  170. package/dist/SalesCampaignsSection.js +307 -248
  171. package/dist/Separator.cjs +1 -1
  172. package/dist/Separator.js +1 -1
  173. package/dist/ShopCardsSection.cjs +1 -1
  174. package/dist/ShopCardsSection.js +2 -2
  175. package/dist/Sidebar.cjs +1 -1
  176. package/dist/Sidebar.js +1 -1
  177. package/dist/SimpleCategoriesSection.cjs +1 -1
  178. package/dist/SimpleCategoriesSection.js +3 -3
  179. package/dist/SimpleProductsSection.cjs +1 -1
  180. package/dist/SimpleProductsSection.js +2 -2
  181. package/dist/Spinner.cjs +1 -1
  182. package/dist/Spinner.js +1 -1
  183. package/dist/StatsSection.cjs +1 -1
  184. package/dist/StatsSection.js +1 -1
  185. package/dist/Surface.cjs +1 -1
  186. package/dist/Surface.js +1 -1
  187. package/dist/SwipeableDrawer.cjs +1 -1
  188. package/dist/SwipeableDrawer.js +1 -1
  189. package/dist/TabItem.cjs +1 -1
  190. package/dist/TabItem.js +1 -1
  191. package/dist/Table.cjs +1 -1
  192. package/dist/Table.js +1 -1
  193. package/dist/TableView.cjs +1 -1
  194. package/dist/TableView.js +1 -1
  195. package/dist/TextAreaInput.cjs +1 -1
  196. package/dist/TextAreaInput.js +1 -1
  197. package/dist/TextInput.cjs +1 -1
  198. package/dist/TextInput.js +1 -1
  199. package/dist/ThemeProvider.cjs +1 -1
  200. package/dist/ThemeProvider.js +1 -1
  201. package/dist/TimeInput.cjs +1 -1
  202. package/dist/TimeInput.js +1 -1
  203. package/dist/Toggle.cjs +1 -1
  204. package/dist/Toggle.js +1 -1
  205. package/dist/TreeMenuSeparator.cjs +1 -1
  206. package/dist/TreeMenuSeparator.js +1 -1
  207. package/dist/UploadedFile.cjs +1 -1
  208. package/dist/UploadedFile.js +1 -1
  209. package/dist/UrgentSaleProductsSection.cjs +1 -1
  210. package/dist/UrgentSaleProductsSection.js +1 -1
  211. package/dist/{index-YGcWbzeb.js → index-3TFXgZHA.js} +1 -1
  212. package/dist/{index-BgRyIsRu.js → index-BRciSeV3.js} +1 -1
  213. package/dist/{index-B2pFbNKc.js → index-CU0KClNt.js} +2 -2
  214. package/dist/{index-Cg4t3q_p.cjs → index-CUu7XMJo.cjs} +1 -1
  215. package/dist/{index-DCFJmN23.cjs → index-D0xZLbyl.cjs} +1 -1
  216. package/dist/{index-C9GK00PM.cjs → index-DgGmKhrL.cjs} +1 -1
  217. package/dist/{index-BvSNRLNa.cjs → index-DiIeF_76.cjs} +1 -1
  218. package/dist/{index-BBMleFo5.js → index-DtyNsg2r.js} +1 -1
  219. package/dist/{index-CTJpJFtr.js → index-EE-IJbC3.js} +2 -2
  220. package/dist/{index-B_HNDmXL.cjs → index-zhTWvtwE.cjs} +1 -1
  221. package/dist/index.cjs +1 -1
  222. package/dist/index.js +37 -35
  223. package/dist/{skeleton-CoErfoMc.cjs → skeleton-BP2LF7xv.cjs} +1 -1
  224. package/dist/{skeleton-BXY2S7mC.cjs → skeleton-Bl1q9Yqe.cjs} +1 -1
  225. package/dist/{skeleton-DWZNwK33.js → skeleton-PMiYQLOs.js} +1 -1
  226. package/dist/{skeleton-C_gJZRTs.js → skeleton-fVxknFUi.js} +2 -2
  227. package/dist/{style-JqDQj4jh.cjs → style-C_BRvopE.cjs} +1 -1
  228. package/dist/{style-08foMKSd.js → style-XXDQBreL.js} +1 -1
  229. package/dist/{suspense-categories-card-simple-BbtBbuWb.js → suspense-categories-card-simple-Bln7_MpK.js} +1 -1
  230. package/dist/{suspense-categories-card-simple-CK7XDK4k.cjs → suspense-categories-card-simple-CWahURI0.cjs} +1 -1
  231. package/dist/{suspense-large-BM9s_kZP.js → suspense-large-DrD8xVZi.js} +1 -1
  232. package/dist/{suspense-large-CtcwWswP.cjs → suspense-large-PHdzP1Ln.cjs} +1 -1
  233. package/dist/{suspense-product-card-detailed-LcBMp1iw.cjs → suspense-product-card-detailed-ByW7-U8H.cjs} +1 -1
  234. package/dist/{suspense-product-card-detailed-PArA5O4M.js → suspense-product-card-detailed-Crkoym56.js} +2 -2
  235. package/dist/{suspense-product-card-simple-Z-FddSb-.js → suspense-product-card-simple-BT5gv-kY.js} +1 -1
  236. package/dist/{suspense-product-card-simple-CJwnghtt.cjs → suspense-product-card-simple-f0s0POCq.cjs} +1 -1
  237. package/dist/tag-Bov1gw34.cjs +173 -0
  238. package/dist/tag-CtleOqEC.js +204 -0
  239. package/dist/{utils-BbgAIA9N.js → utils-BPdU4_1q.js} +7 -7
  240. package/dist/{utils-CZynEOC_.cjs → utils-DmMdPm9O.cjs} +2 -2
  241. package/package.json +3 -2
  242. package/vite.config.js +4 -0
@@ -1,270 +1,77 @@
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";
1
+ import { jsx as s, jsxs as i, Fragment as b } from "react/jsx-runtime";
2
+ import { forwardRef as N, useState as x, useMemo as q } from "react";
3
3
  import { P as n } 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: s = [], allTagText: a, selectedTagCode: d = null, onSelectTag: h = () => {
185
- } }, p) => /* @__PURE__ */ r(j, { children: [{ name: a, code: null }, ...s].map((i, f) => /* @__PURE__ */ r(
186
- z,
187
- {
188
- label: i == null ? void 0 : i.name,
189
- borderRadius: "curved",
190
- color: "neutral",
191
- className: `tags__item ${d === (i == null ? void 0 : i.code) ? "active" : ""}`,
192
- onClick: () => {
193
- h(i);
194
- }
195
- },
196
- `faq-section-tag__${f + 1}`
197
- )) })
198
- );
199
- q.propTypes = {
200
- tags: n.array,
201
- allTagText: n.string,
202
- onSelectTag: n.func
203
- };
204
- const b = ({
205
- title: s,
4
+ import { I as M, a as C, F } from "./tag-CtleOqEC.js";
5
+ import { u as $ } from "./useDetectMobile-Bkvj0VMa.js";
6
+ import w from "./Icon.js";
7
+ import S from "./IconButton.js";
8
+ import E from "./Button.js";
9
+ import { s as P } from "./emotion-styled.browser.esm-BNN1dTl3.js";
10
+ import { M as z } from "./consts-BuFChS64.js";
11
+ const I = ({
12
+ title: t,
206
13
  description: a,
207
- questionText: d,
208
- feedbackText: h,
209
- impressions: p = !1,
210
- onSelectItem: i = () => {
14
+ questionText: l,
15
+ feedbackText: _,
16
+ impressions: d = !1,
17
+ onSelectItem: p = () => {
211
18
  },
212
- onImpressed: f = () => {
19
+ onImpressed: h = () => {
213
20
  }
214
21
  }) => {
215
- const [m, c] = T(!1), [g, u] = T(!1), _ = () => {
216
- c((t) => !t), i();
217
- }, o = (t, w) => {
218
- t == null || t.stopPropagation(), u(!0), f(w);
22
+ const [f, c] = x(!1), [u, g] = x(!1), m = () => {
23
+ c((r) => !r), p();
24
+ }, o = (r, T) => {
25
+ r == null || r.stopPropagation(), g(!0), h(T);
219
26
  };
220
- return /* @__PURE__ */ l(
221
- R,
27
+ return /* @__PURE__ */ i(
28
+ C,
222
29
  {
223
- className: m ? "expanded" : "",
224
- onClick: _,
30
+ className: f ? "expanded" : "",
31
+ onClick: m,
225
32
  children: [
226
- /* @__PURE__ */ l("div", { className: "card__heading", children: [
227
- /* @__PURE__ */ r("div", { className: "card__title", children: s }),
228
- /* @__PURE__ */ r(
229
- N,
33
+ /* @__PURE__ */ i("div", { className: "card__heading", children: [
34
+ /* @__PURE__ */ s("div", { className: "card__title", children: t }),
35
+ /* @__PURE__ */ s(
36
+ w,
230
37
  {
231
- icon: m ? " mng-lnc-subtract" : " mng-lnc-add",
38
+ icon: f ? " mng-lnc-subtract" : " mng-lnc-add",
232
39
  sizeInUnits: "1.25rem",
233
40
  className: "card__icon"
234
41
  }
235
42
  )
236
43
  ] }),
237
- m && /* @__PURE__ */ l(y, { children: [
238
- /* @__PURE__ */ r("div", { className: "card__description", children: a }),
239
- p && /* @__PURE__ */ r(y, { children: g ? /* @__PURE__ */ l("div", { className: "card__impression feedback", children: [
240
- /* @__PURE__ */ r(
241
- N,
44
+ f && /* @__PURE__ */ i(b, { children: [
45
+ /* @__PURE__ */ s("div", { className: "card__description", children: a }),
46
+ d && /* @__PURE__ */ s(b, { children: u ? /* @__PURE__ */ i("div", { className: "card__impression feedback", children: [
47
+ /* @__PURE__ */ s(
48
+ w,
242
49
  {
243
50
  icon: " mng-lnc-checkmark--outline",
244
51
  sizeInUnits: "1.25rem",
245
52
  color: "success"
246
53
  }
247
54
  ),
248
- /* @__PURE__ */ r("div", { className: "imppression__question", children: h })
249
- ] }) : /* @__PURE__ */ l("div", { className: "card__impression", children: [
250
- /* @__PURE__ */ r("div", { className: "imppression__question", children: d }),
251
- /* @__PURE__ */ l("div", { className: "impression__actions", children: [
252
- /* @__PURE__ */ r(
253
- C,
55
+ /* @__PURE__ */ s("div", { className: "imppression__question", children: _ })
56
+ ] }) : /* @__PURE__ */ i("div", { className: "card__impression", children: [
57
+ /* @__PURE__ */ s("div", { className: "imppression__question", children: l }),
58
+ /* @__PURE__ */ i("div", { className: "impression__actions", children: [
59
+ /* @__PURE__ */ s(
60
+ S,
254
61
  {
255
62
  icon: " mng-lnc-thumbs-up",
256
63
  borderRadius: "curved",
257
64
  btnType: "outline",
258
- onClick: (t) => o(t, !0)
65
+ onClick: (r) => o(r, !0)
259
66
  }
260
67
  ),
261
- /* @__PURE__ */ r(
262
- C,
68
+ /* @__PURE__ */ s(
69
+ S,
263
70
  {
264
71
  icon: " mng-lnc-thumbs-down",
265
72
  borderRadius: "curved",
266
73
  btnType: "outline",
267
- onClick: (t) => o(t, !1)
74
+ onClick: (r) => o(r, !1)
268
75
  }
269
76
  )
270
77
  ] })
@@ -273,87 +80,87 @@ const b = ({
273
80
  ]
274
81
  }
275
82
  );
276
- }, M = S(
83
+ }, k = N(
277
84
  ({
278
- items: s = [],
85
+ items: t = [],
279
86
  questionText: a,
280
- feedbackText: d,
281
- showMoreText: h,
282
- impressions: p = !1,
283
- onSelectItem: i = () => {
87
+ feedbackText: l,
88
+ showMoreText: _,
89
+ impressions: d = !1,
90
+ onSelectItem: p = () => {
284
91
  },
285
- onImpressed: f = () => {
92
+ onImpressed: h = () => {
286
93
  }
287
- }, m) => {
288
- const c = E(), [g, u] = T(!1), _ = () => {
289
- u((t) => !t);
290
- }, o = $(() => {
94
+ }, f) => {
95
+ const c = $(), [u, g] = x(!1), m = () => {
96
+ g((r) => !r);
97
+ }, o = q(() => {
291
98
  if (c)
292
- return s == null ? void 0 : s.map((e, v) => /* @__PURE__ */ r(
293
- b,
99
+ return t == null ? void 0 : t.map((e, v) => /* @__PURE__ */ s(
100
+ I,
294
101
  {
295
102
  title: e == null ? void 0 : e.title,
296
103
  description: e == null ? void 0 : e.description,
297
104
  questionText: a,
298
- feedbackText: d,
299
- impressions: p,
300
- onSelectItem: () => i(e),
301
- onImpressed: (x) => f(e, x)
105
+ feedbackText: l,
106
+ impressions: d,
107
+ onSelectItem: () => p(e),
108
+ onImpressed: (y) => h(e, y)
302
109
  },
303
110
  `faq-section-item__${v + 1}`
304
111
  ));
305
- const t = [], w = [];
306
- return s == null || s.forEach((e, v) => {
307
- v % 2 === 0 ? t.push(
308
- /* @__PURE__ */ r(
309
- b,
112
+ const r = [], T = [];
113
+ return t == null || t.forEach((e, v) => {
114
+ v % 2 === 0 ? r.push(
115
+ /* @__PURE__ */ s(
116
+ I,
310
117
  {
311
118
  title: e == null ? void 0 : e.title,
312
119
  description: e == null ? void 0 : e.description,
313
120
  questionText: a,
314
- feedbackText: d,
315
- impressions: p,
316
- onSelectItem: () => i(e),
317
- onImpressed: (x) => f(e, x)
121
+ feedbackText: l,
122
+ impressions: d,
123
+ onSelectItem: () => p(e),
124
+ onImpressed: (y) => h(e, y)
318
125
  },
319
126
  `faq-section-item__${v + 1}`
320
127
  )
321
- ) : w.push(
322
- /* @__PURE__ */ r(
323
- b,
128
+ ) : T.push(
129
+ /* @__PURE__ */ s(
130
+ I,
324
131
  {
325
132
  title: e == null ? void 0 : e.title,
326
133
  description: e == null ? void 0 : e.description,
327
134
  questionText: a,
328
- feedbackText: d,
329
- impressions: p,
330
- onSelectItem: () => i(e),
331
- onImpressed: (x) => f(e, x)
135
+ feedbackText: l,
136
+ impressions: d,
137
+ onSelectItem: () => p(e),
138
+ onImpressed: (y) => h(e, y)
332
139
  },
333
140
  `faq-section-item__${v + 1}`
334
141
  )
335
142
  );
336
- }), /* @__PURE__ */ l(y, { children: [
337
- /* @__PURE__ */ r("div", { className: "section__column", children: t }),
338
- /* @__PURE__ */ r("div", { className: "section__column", children: w })
143
+ }), /* @__PURE__ */ i(b, { children: [
144
+ /* @__PURE__ */ s("div", { className: "section__column", children: r }),
145
+ /* @__PURE__ */ s("div", { className: "section__column", children: T })
339
146
  ] });
340
- }, [s, c]);
341
- return /* @__PURE__ */ r(P, { children: c ? g ? o : /* @__PURE__ */ l(y, { children: [
147
+ }, [t, c]);
148
+ return /* @__PURE__ */ s(M, { children: c ? u ? o : /* @__PURE__ */ i(b, { children: [
342
149
  o == null ? void 0 : o.slice(0, 4),
343
- (o == null ? void 0 : o.length) > 4 && /* @__PURE__ */ r(
344
- F,
150
+ (o == null ? void 0 : o.length) > 4 && /* @__PURE__ */ s(
151
+ E,
345
152
  {
346
- text: h,
153
+ text: _,
347
154
  btnType: "basic",
348
155
  color: "neutral",
349
156
  className: "section__show-more",
350
- onClick: _
157
+ onClick: m
351
158
  }
352
159
  )
353
160
  ] }) : o });
354
161
  }
355
162
  );
356
- b.propTypes = {
163
+ I.propTypes = {
357
164
  title: n.string,
358
165
  description: n.string,
359
166
  questionText: n.string,
@@ -363,7 +170,7 @@ b.propTypes = {
363
170
  onSelectItem: n.func,
364
171
  onImpressed: n.func
365
172
  };
366
- M.propTypes = {
173
+ k.propTypes = {
367
174
  items: n.array,
368
175
  questionText: n.string,
369
176
  feedbackText: n.string,
@@ -372,7 +179,7 @@ M.propTypes = {
372
179
  onSelectItem: n.func,
373
180
  onImpressed: n.func
374
181
  };
375
- const B = k.div`
182
+ const B = P.div`
376
183
  display: flex;
377
184
  flex-direction: column;
378
185
  align-items: center;
@@ -404,7 +211,7 @@ const B = k.div`
404
211
  line-height: 1.5rem;
405
212
  }
406
213
 
407
- @media (max-width: ${I + "px"}) {
214
+ @media (max-width: ${z + "px"}) {
408
215
  & .section__title {
409
216
  font-size: 1rem;
410
217
  font-weight: 500;
@@ -418,56 +225,56 @@ const B = k.div`
418
225
  letter-spacing: 0.25px;
419
226
  }
420
227
  }
421
- `, U = S(
228
+ `, R = N(
422
229
  ({
423
- title: s,
230
+ title: t,
424
231
  description: a,
425
- questionText: d = "What do you think about this answer?",
426
- feedbackText: h = "Thank you for feedback!",
427
- showMoreText: p = "Show more",
428
- allTagText: i = "All",
429
- impressions: f = !1,
430
- tags: m = [],
232
+ questionText: l = "What do you think about this answer?",
233
+ feedbackText: _ = "Thank you for feedback!",
234
+ showMoreText: d = "Show more",
235
+ allTagText: p = "All",
236
+ impressions: h = !1,
237
+ tags: f = [],
431
238
  items: c = [],
432
- onSelectItem: g = () => {
239
+ onSelectItem: u = () => {
433
240
  },
434
- onImpressed: u = () => {
241
+ onImpressed: g = () => {
435
242
  }
436
- }, _) => {
437
- const [o, t] = T(null);
438
- return /* @__PURE__ */ l(B, { ref: _, children: [
439
- /* @__PURE__ */ l("div", { className: "section__heading", children: [
440
- s && /* @__PURE__ */ r("div", { className: "section__title", children: s }),
441
- a && /* @__PURE__ */ r("div", { className: "section__description", children: a })
243
+ }, m) => {
244
+ const [o, r] = x(null);
245
+ return /* @__PURE__ */ i(B, { ref: m, children: [
246
+ /* @__PURE__ */ i("div", { className: "section__heading", children: [
247
+ t && /* @__PURE__ */ s("div", { className: "section__title", children: t }),
248
+ a && /* @__PURE__ */ s("div", { className: "section__description", children: a })
442
249
  ] }),
443
- /* @__PURE__ */ r(
444
- q,
250
+ /* @__PURE__ */ s(
251
+ F,
445
252
  {
446
- tags: m,
447
- allTagText: i,
253
+ tags: f,
254
+ allTagText: p,
448
255
  selectedTagCode: o,
449
256
  onSelectTag: (e) => {
450
- t(e == null ? void 0 : e.code);
257
+ r(e == null ? void 0 : e.code);
451
258
  }
452
259
  }
453
260
  ),
454
- /* @__PURE__ */ r(
455
- M,
261
+ /* @__PURE__ */ s(
262
+ k,
456
263
  {
457
264
  items: o === null ? c : c == null ? void 0 : c.filter((e) => (e == null ? void 0 : e.tagCode) === o),
458
- questionText: d,
459
- feedbackText: h,
460
- showMoreText: p,
461
- impressions: f,
462
- onSelectItem: g,
463
- onImpressed: u
265
+ questionText: l,
266
+ feedbackText: _,
267
+ showMoreText: d,
268
+ impressions: h,
269
+ onSelectItem: u,
270
+ onImpressed: g
464
271
  },
465
272
  `faq-section-items__${o}`
466
273
  )
467
274
  ] });
468
275
  }
469
276
  );
470
- U.propTypes = {
277
+ R.propTypes = {
471
278
  title: n.string,
472
279
  description: n.string,
473
280
  tags: n.array,
@@ -481,5 +288,5 @@ U.propTypes = {
481
288
  onImpressed: n.func
482
289
  };
483
290
  export {
484
- U as default
291
+ R as default
485
292
  };
@@ -1,4 +1,4 @@
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`
1
+ "use strict";const e=require("react/jsx-runtime"),o=require("react"),n=require("./utils-DmMdPm9O.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;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as d } from "react";
3
- import { k as t } from "./utils-BbgAIA9N.js";
3
+ import { k as t } from "./utils-BPdU4_1q.js";
4
4
  import m from "./Button.js";
5
5
  import { q as f } from "./styled-components.browser.esm-D-n22PJk.js";
6
6
  import { M as g } from "./consts-BuFChS64.js";
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),s=require("react"),l=require("./utils-CZynEOC_.cjs"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),q=require("./Icon.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),R=m.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),s=require("react"),l=require("./utils-DmMdPm9O.cjs"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),q=require("./Icon.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),R=m.styled.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: fit-content;
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as l } from "react/jsx-runtime";
2
2
  import { forwardRef as c, useLayoutEffect as L } from "react";
3
- import { p as z, o as E, l as O, k as S } from "./utils-BbgAIA9N.js";
3
+ import { p as z, o as E, l as O, k as S } from "./utils-BPdU4_1q.js";
4
4
  import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import { M as g } from "./consts-BuFChS64.js";
6
6
  import A from "./Icon.js";
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),y=require("./utils-CZynEOC_.cjs"),$=require("./index-B_HNDmXL.cjs"),c=h.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),y=require("./utils-DmMdPm9O.cjs"),$=require("./index-zhTWvtwE.cjs"),c=h.styled.div`
2
2
  width: 100%;
3
3
  height: 11.625rem;
4
4
  border-radius: 0.75rem;
@@ -2,8 +2,8 @@ import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
2
  import { forwardRef as g } from "react";
3
3
  import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as x } from "./consts-BuFChS64.js";
5
- import { o as v, l as C } from "./utils-BbgAIA9N.js";
6
- import { S as F } from "./index-B2pFbNKc.js";
5
+ import { o as v, l as C } from "./utils-BPdU4_1q.js";
6
+ import { S as F } from "./index-CU0KClNt.js";
7
7
  const N = _.div`
8
8
  width: 100%;
9
9
  height: 11.625rem;
@@ -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"),y=require("./consts-goSZX3xP.cjs"),N=require("./Icon.cjs"),$=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),W=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-DmMdPm9O.cjs"),y=require("./consts-goSZX3xP.cjs"),N=require("./Icon.cjs"),$=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),W=p.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
2
  import { forwardRef as l } from "react";
3
3
  import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { p as y, o as b, k as C, l as j } from "./utils-BbgAIA9N.js";
4
+ import { p as y, o as b, k as C, l as j } from "./utils-BPdU4_1q.js";
5
5
  import { M as k } from "./consts-BuFChS64.js";
6
6
  import F from "./Icon.js";
7
7
  import { u as z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
@@ -1,4 +1,4 @@
1
- "use strict";const b=require("react/jsx-runtime"),m=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./index-BpbMKBf_.cjs"),t=require("./utils-CZynEOC_.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=g.styled.label`
1
+ "use strict";const b=require("react/jsx-runtime"),m=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./index-BpbMKBf_.cjs"),t=require("./utils-DmMdPm9O.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=g.styled.label`
2
2
  display: inline-flex;
3
3
  box-sizing: border-box;
4
4
  width: 100%;
package/dist/FileInput.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as R, jsx as m } from "react/jsx-runtime";
2
2
  import { forwardRef as S, useState as y } from "react";
3
3
  import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { P as t } from "./index-CblbdqjE.js";
5
- import { d as x, b as a, e as V, c as $, h as I } from "./utils-BbgAIA9N.js";
5
+ import { d as x, b as a, e as V, c as $, h as I } from "./utils-BPdU4_1q.js";
6
6
  import { u as B } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const D = b.label`
8
8
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- "use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BpbMKBf_.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-CZynEOC_.cjs"),$=g.styled.div`
1
+ "use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BpbMKBf_.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-DmMdPm9O.cjs"),$=g.styled.div`
2
2
  ${s=>s.width>0?"":"flex: 1;"}
3
3
  min-width: ${s=>100/s.columns}%;
4
4
  width: ${s=>s.width}%;
@@ -2,7 +2,7 @@ import { jsx as y } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useState as S, useEffect as b } from "react";
3
3
  import { P as i } from "./index-CblbdqjE.js";
4
4
  import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { u as M } from "./utils-BbgAIA9N.js";
5
+ import { u as M } from "./utils-BPdU4_1q.js";
6
6
  const W = I.div`
7
7
  ${(t) => t.width > 0 ? "" : "flex: 1;"}
8
8
  min-width: ${(t) => 100 / t.columns}%;