@lanaco/lnc-react-ui 4.0.199 → 4.0.201

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 (270) hide show
  1. package/dist/Accordion.cjs +5 -5
  2. package/dist/Accordion.js +45 -56
  3. package/dist/AccordionDetails.cjs +3 -3
  4. package/dist/AccordionDetails.js +11 -25
  5. package/dist/AccordionSummary.cjs +4 -4
  6. package/dist/AccordionSummary.js +34 -44
  7. package/dist/ActionsToolbar.cjs +2 -3
  8. package/dist/ActionsToolbar.js +83 -135
  9. package/dist/Alert.cjs +10 -10
  10. package/dist/Alert.js +32 -64
  11. package/dist/Avatar.cjs +9 -9
  12. package/dist/Avatar.js +33 -72
  13. package/dist/Badge.cjs +6 -6
  14. package/dist/Badge.js +22 -47
  15. package/dist/BannerSectionCarousel.cjs +4 -4
  16. package/dist/BannerSectionCarousel.js +51 -542
  17. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  18. package/dist/BlogCardsSponsoredSection.js +1 -1
  19. package/dist/BlogCategoryCardsSection.cjs +1 -1
  20. package/dist/BlogCategoryCardsSection.js +12 -14
  21. package/dist/BlogExploreSection.cjs +1 -1
  22. package/dist/BlogExploreSection.js +1 -1
  23. package/dist/BlogListSection.cjs +1 -1
  24. package/dist/BlogListSection.js +1 -1
  25. package/dist/BlogsSectionDetailed.cjs +1 -1
  26. package/dist/BlogsSectionDetailed.js +1 -1
  27. package/dist/BlogsSectionSimple.cjs +1 -1
  28. package/dist/BlogsSectionSimple.js +1 -1
  29. package/dist/BlogsSectionWithFilters.cjs +1 -1
  30. package/dist/BlogsSectionWithFilters.js +2 -2
  31. package/dist/Breadcrumbs.cjs +5 -5
  32. package/dist/Breadcrumbs.js +57 -87
  33. package/dist/Button.cjs +11 -11
  34. package/dist/Button.js +126 -173
  35. package/dist/ButtonGroup.cjs +8 -8
  36. package/dist/ButtonGroup.js +37 -49
  37. package/dist/CalorieCalculatorSection.cjs +8 -8
  38. package/dist/CalorieCalculatorSection.js +90 -97
  39. package/dist/CheckBoxInput.cjs +1 -1
  40. package/dist/CheckBoxInput.js +2 -5
  41. package/dist/Chip.cjs +14 -14
  42. package/dist/Chip.js +73 -111
  43. package/dist/ConfirmationForm.cjs +6 -6
  44. package/dist/ConfirmationForm.js +67 -109
  45. package/dist/ContactSection.cjs +1 -0
  46. package/dist/ContactSection.js +1 -0
  47. package/dist/Content.cjs +1 -1
  48. package/dist/Content.js +7 -15
  49. package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
  50. package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
  51. package/dist/DataView.cjs +1 -1
  52. package/dist/DataView.js +30 -50
  53. package/dist/DateInput.cjs +4 -4
  54. package/dist/DateInput.js +1347 -1383
  55. package/dist/DecimalInput.cjs +6 -6
  56. package/dist/DecimalInput.js +210 -263
  57. package/dist/DecimalInputV2.cjs +23 -23
  58. package/dist/DecimalInputV2.js +119 -176
  59. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  60. package/dist/DetailedProductsInfinitiveSection.js +1 -1
  61. package/dist/DetailedProductsSection.cjs +1 -1
  62. package/dist/DetailedProductsSection.js +2 -2
  63. package/dist/DetailsView.cjs +9 -9
  64. package/dist/DetailsView.js +111 -162
  65. package/dist/DoubleRangeSlider.cjs +22 -22
  66. package/dist/DoubleRangeSlider.js +70 -95
  67. package/dist/DragAndDropFile.cjs +10 -10
  68. package/dist/DragAndDropFile.js +347 -402
  69. package/dist/DragDropFiles.cjs +4 -4
  70. package/dist/DragDropFiles.js +70 -124
  71. package/dist/Drawer.cjs +5 -5
  72. package/dist/Drawer.js +97 -135
  73. package/dist/Dropdown.cjs +1 -1
  74. package/dist/Dropdown.js +44 -213
  75. package/dist/DropdownItem.cjs +14 -14
  76. package/dist/DropdownItem.js +106 -142
  77. package/dist/DropdownLookup.cjs +1 -1
  78. package/dist/DropdownLookup.js +61 -242
  79. package/dist/DropdownMenu.cjs +4 -4
  80. package/dist/DropdownMenu.js +87 -149
  81. package/dist/EditableTable.cjs +10 -10
  82. package/dist/EditableTable.js +165 -331
  83. package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
  84. package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
  85. package/dist/FaqSection.cjs +3 -3
  86. package/dist/FaqSection.js +119 -153
  87. package/dist/FileInput.cjs +7 -7
  88. package/dist/FileInput.js +66 -94
  89. package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
  90. package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
  91. package/dist/FlexBox.cjs +6 -6
  92. package/dist/FlexBox.js +28 -63
  93. package/dist/FlexGrid.cjs +1 -1
  94. package/dist/FlexGrid.js +27 -67
  95. package/dist/FlexGridItem.cjs +6 -6
  96. package/dist/FlexGridItem.js +34 -62
  97. package/dist/Footer.cjs +1 -1
  98. package/dist/Footer.js +7 -15
  99. package/dist/FormField.cjs +7 -7
  100. package/dist/FormField.js +22 -47
  101. package/dist/FormView.cjs +6 -6
  102. package/dist/FormView.js +148 -195
  103. package/dist/GiftCardsSection.cjs +1 -1
  104. package/dist/GiftCardsSection.js +1 -1
  105. package/dist/Grid.cjs +2 -2
  106. package/dist/Grid.js +40 -65
  107. package/dist/GridItem.cjs +2 -2
  108. package/dist/GridItem.js +47 -80
  109. package/dist/Header.cjs +1 -1
  110. package/dist/Header.js +7 -15
  111. package/dist/HelpBannerSection.cjs +3 -3
  112. package/dist/HelpBannerSection.js +9 -15
  113. package/dist/Icon.cjs +4 -4
  114. package/dist/Icon.js +29 -55
  115. package/dist/IconButton.cjs +9 -9
  116. package/dist/IconButton.js +89 -127
  117. package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
  118. package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
  119. package/dist/Kanban.cjs +7 -7
  120. package/dist/Kanban.js +2033 -2098
  121. package/dist/KanbanActionsToolbar.cjs +4 -5
  122. package/dist/KanbanActionsToolbar.js +61 -96
  123. package/dist/KanbanCard-B9V9EjVE.js +137 -0
  124. package/dist/KanbanCard-DihrKn-I.cjs +30 -0
  125. package/dist/KanbanCard.cjs +1 -1
  126. package/dist/KanbanCard.js +2 -3
  127. package/dist/KanbanFooter.cjs +3 -3
  128. package/dist/KanbanFooter.js +37 -55
  129. package/dist/KanbanHeader.cjs +4 -4
  130. package/dist/KanbanHeader.js +49 -81
  131. package/dist/KanbanView.cjs +2 -2
  132. package/dist/KanbanView.js +106 -173
  133. package/dist/Link.cjs +7 -7
  134. package/dist/Link.js +20 -37
  135. package/dist/LocationSearchSection.cjs +1 -1
  136. package/dist/LocationSearchSection.js +1 -1
  137. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  138. package/dist/MasonryGeneralCardsSection.js +1 -1
  139. package/dist/MenuItem.cjs +13 -13
  140. package/dist/MenuItem.js +101 -139
  141. package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
  142. package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
  143. package/dist/Modal.cjs +18 -19
  144. package/dist/Modal.js +131 -166
  145. package/dist/MultiSelectDropdown.cjs +1 -1
  146. package/dist/MultiSelectDropdown.js +25 -196
  147. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  148. package/dist/MultiSelectDropdownLookup.js +27 -209
  149. package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
  150. package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
  151. package/dist/NestedDropdownItem.cjs +3 -3
  152. package/dist/NestedDropdownItem.js +45 -67
  153. package/dist/NestedMenuItem.cjs +5 -5
  154. package/dist/NestedMenuItem.js +51 -78
  155. package/dist/NotificationContainer.cjs +10 -10
  156. package/dist/NotificationContainer.js +46 -79
  157. package/dist/NotificationMessage.cjs +2 -2
  158. package/dist/NotificationMessage.js +47 -64
  159. package/dist/NumberInput.cjs +23 -23
  160. package/dist/NumberInput.js +89 -149
  161. package/dist/PageLayout.cjs +2 -2
  162. package/dist/PageLayout.js +20 -28
  163. package/dist/Pagination.cjs +3 -3
  164. package/dist/Pagination.js +102 -185
  165. package/dist/PartnerBrandsSection.cjs +62 -0
  166. package/dist/PartnerBrandsSection.js +154 -0
  167. package/dist/PartnerStatsSection.cjs +100 -0
  168. package/dist/PartnerStatsSection.js +124 -0
  169. package/dist/PasswordInput.cjs +23 -23
  170. package/dist/PasswordInput.js +108 -137
  171. package/dist/Popover.cjs +1 -1
  172. package/dist/Popover.js +7 -32
  173. package/dist/PopoverContent.cjs +5 -5
  174. package/dist/PopoverContent.js +22 -28
  175. package/dist/PopoverTrigger.cjs +1 -1
  176. package/dist/PopoverTrigger.js +7 -12
  177. package/dist/ProductsWithBannerSection.cjs +1 -1
  178. package/dist/ProductsWithBannerSection.js +1 -1
  179. package/dist/ProgressBar.cjs +8 -8
  180. package/dist/ProgressBar.js +32 -59
  181. package/dist/RadioGroup.cjs +3 -3
  182. package/dist/RadioGroup.js +41 -72
  183. package/dist/RadioInput.cjs +28 -28
  184. package/dist/RadioInput.js +78 -123
  185. package/dist/RangeSlider.cjs +19 -19
  186. package/dist/RangeSlider.js +92 -119
  187. package/dist/ReviewsSection.cjs +13 -13
  188. package/dist/ReviewsSection.js +81 -101
  189. package/dist/SalesCampaignsSection.cjs +38 -28
  190. package/dist/SalesCampaignsSection.js +297 -325
  191. package/dist/SearchBar.cjs +10 -10
  192. package/dist/SearchBar.js +168 -188
  193. package/dist/SearchSection-B94YN_6P.cjs +161 -0
  194. package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
  195. package/dist/SearchSection.cjs +1 -1
  196. package/dist/SearchSection.js +2 -3
  197. package/dist/Separator.cjs +3 -3
  198. package/dist/Separator.js +14 -19
  199. package/dist/Sidebar.cjs +4 -5
  200. package/dist/Sidebar.js +33 -56
  201. package/dist/SimpleCategoriesSection.cjs +2 -2
  202. package/dist/SimpleCategoriesSection.js +2 -2
  203. package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
  204. package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
  205. package/dist/Spinner.cjs +18 -18
  206. package/dist/Spinner.js +37 -54
  207. package/dist/StatsSection.cjs +6 -6
  208. package/dist/StatsSection.js +15 -25
  209. package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
  210. package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
  211. package/dist/Surface.cjs +4 -4
  212. package/dist/Surface.js +19 -34
  213. package/dist/SwipeableDrawer.cjs +8 -8
  214. package/dist/SwipeableDrawer.js +84 -136
  215. package/dist/TabItem.cjs +11 -11
  216. package/dist/TabItem.js +83 -118
  217. package/dist/Table.cjs +65 -65
  218. package/dist/Table.js +786 -1167
  219. package/dist/TableView.cjs +2 -2
  220. package/dist/TableView.js +113 -197
  221. package/dist/Tabs.cjs +4 -4
  222. package/dist/Tabs.js +41 -60
  223. package/dist/TextAreaInput.cjs +14 -14
  224. package/dist/TextAreaInput.js +131 -181
  225. package/dist/TextInput.cjs +23 -23
  226. package/dist/TextInput.js +78 -126
  227. package/dist/ThemeProvider.cjs +5 -5
  228. package/dist/ThemeProvider.js +35 -39
  229. package/dist/TimeInput.cjs +7 -7
  230. package/dist/TimeInput.js +46 -72
  231. package/dist/Toggle.cjs +20 -20
  232. package/dist/Toggle.js +78 -109
  233. package/dist/ToggleSection.cjs +5 -5
  234. package/dist/ToggleSection.js +48 -55
  235. package/dist/TreeMenu.cjs +5 -5
  236. package/dist/TreeMenu.js +43 -67
  237. package/dist/TreeMenuSeparator.cjs +3 -3
  238. package/dist/TreeMenuSeparator.js +12 -20
  239. package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
  240. package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
  241. package/dist/UploadedFile.cjs +11 -11
  242. package/dist/UploadedFile.js +73 -99
  243. package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
  244. package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
  245. package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
  246. package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
  247. package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
  248. package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
  249. package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
  250. package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
  251. package/dist/index-BdKi2ogu.js +39 -0
  252. package/dist/index-BppfjY8h.js +497 -0
  253. package/dist/index-CRk3vcd4.cjs +95 -0
  254. package/dist/index-CX2A-q39.cjs +4 -0
  255. package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
  256. package/dist/index-DeS-oqJB.cjs +1 -0
  257. package/dist/index.cjs +1 -1
  258. package/dist/index.js +25 -21
  259. package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
  260. package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
  261. package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
  262. package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
  263. package/package.json +4 -2
  264. package/vite.config.js +8 -0
  265. package/dist/KanbanCard-68kSAXL6.js +0 -175
  266. package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
  267. package/dist/SearchSection-BcbHP6QF.cjs +0 -161
  268. package/dist/index-Be-_NM9Q.cjs +0 -4
  269. package/dist/index-C0LcDEqa.js +0 -47
  270. package/dist/index-CSNxZFTX.cjs +0 -95
@@ -0,0 +1,154 @@
1
+ import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as g } from "react";
3
+ import { C as p } from "./index-BppfjY8h.js";
4
+ import f from "./Button.js";
5
+ import { u as m } from "./useDetectMobile-Bkvj0VMa.js";
6
+ import { S as _ } from "./style-neMbLWE6.js";
7
+ import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
8
+ const u = b.div`
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: 1.5rem;
12
+
13
+ & .section__slider {
14
+ position: relative;
15
+ }
16
+
17
+ & .slider__gradient {
18
+ position: absolute;
19
+ width: 7.5rem;
20
+ height: 100%;
21
+ pointer-events: none;
22
+ z-index: 1;
23
+ opacity: 0.4;
24
+ top: 0;
25
+
26
+ &.left {
27
+ left: 0;
28
+ background: linear-gradient(to left, transparent, white);
29
+ }
30
+
31
+ &.right {
32
+ right: 0;
33
+ background: linear-gradient(to right, transparent, white);
34
+ }
35
+ }
36
+
37
+ .slider__container {
38
+ width: 100%;
39
+ }
40
+
41
+ .slider__item {
42
+ padding-right: 1rem;
43
+ }
44
+
45
+ & .section__item {
46
+ width: 100%;
47
+ height: 100%;
48
+ max-height: 3.75rem;
49
+ border-radius: 0.5rem;
50
+ border: 1px solid var(--gray-200, #e4e9f0);
51
+ overflow: hidden;
52
+
53
+ & img {
54
+ object-fit: cover;
55
+ width: 100%;
56
+ height: 100%;
57
+ filter: grayscale(100%);
58
+ transition: filter 0.3s ease;
59
+
60
+ &:hover {
61
+ filter: grayscale(0%);
62
+ }
63
+ }
64
+
65
+ &:hover {
66
+ cursor: pointer;
67
+ }
68
+ }
69
+ `, j = g(
70
+ ({
71
+ title: o,
72
+ buttonText: n,
73
+ buttonLink: d,
74
+ items: e,
75
+ onSelectCard: c = () => {
76
+ },
77
+ onButtonAction: l = () => {
78
+ }
79
+ }, v) => {
80
+ const h = m() ? 2 : 7, a = (e == null ? void 0 : e.length) > h;
81
+ return /* @__PURE__ */ s(u, { children: [
82
+ /* @__PURE__ */ s(_, { children: [
83
+ o && /* @__PURE__ */ i("div", { className: "heading__title", children: o }),
84
+ n && d && /* @__PURE__ */ i(
85
+ f,
86
+ {
87
+ text: n,
88
+ borderRadius: "curved",
89
+ btnType: "tinted",
90
+ className: "heading__action",
91
+ color: "neutral",
92
+ onClick: (r) => {
93
+ var t;
94
+ (t = r == null ? void 0 : r.target) == null || t.blur(), l == null || l(d);
95
+ }
96
+ }
97
+ )
98
+ ] }),
99
+ e && (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ s("div", { className: "section__slider", children: [
100
+ a && /* @__PURE__ */ i("div", { className: "slider__gradient left" }),
101
+ /* @__PURE__ */ i(
102
+ p,
103
+ {
104
+ responsive: {
105
+ desktop: {
106
+ breakpoint: { max: 9999, min: 801 },
107
+ items: 7,
108
+ slidesToSlide: 1,
109
+ partialVisibilityGutter: 10
110
+ },
111
+ mobile: {
112
+ breakpoint: { max: 800, min: 0 },
113
+ items: 2,
114
+ slidesToSlide: 1,
115
+ partialVisibilityGutter: 20
116
+ }
117
+ },
118
+ draggable: !1,
119
+ swipeable: !1,
120
+ arrows: !1,
121
+ infinite: a,
122
+ autoPlay: a,
123
+ autoPlaySpeed: 2e3,
124
+ partialVisible: a,
125
+ customTransition: "transform 500ms linear",
126
+ transitionDuration: 500,
127
+ containerClass: "slider__container",
128
+ itemClass: "slider__item",
129
+ children: e == null ? void 0 : e.map((r, t) => /* @__PURE__ */ i(
130
+ "div",
131
+ {
132
+ className: "section__item",
133
+ onClick: () => c(r),
134
+ children: /* @__PURE__ */ i(
135
+ "img",
136
+ {
137
+ src: r == null ? void 0 : r.imageUrl,
138
+ alt: `Partner brand image ${t + 1}`,
139
+ loading: "lazy"
140
+ }
141
+ )
142
+ },
143
+ `partner-brands-section-item__${t + 1}`
144
+ ))
145
+ }
146
+ ),
147
+ a && /* @__PURE__ */ i("div", { className: "slider__gradient right" })
148
+ ] })
149
+ ] });
150
+ }
151
+ );
152
+ export {
153
+ j as default
154
+ };
@@ -0,0 +1,100 @@
1
+ "use strict";const e=require("react/jsx-runtime"),l=require("react"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),n=require("./utils-RnrgDDZP.cjs"),_=c.styled.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: flex-start;
5
+ gap: 2rem;
6
+ align-self: stretch;
7
+
8
+ & .section__text {
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: flex-start;
12
+ gap: 1rem;
13
+ align-self: stretch;
14
+ max-width: 50rem;
15
+
16
+ & .section__title {
17
+ color: var(--gray-900, #0c1520);
18
+ font-size: 2rem;
19
+ font-style: normal;
20
+ font-weight: 600;
21
+ line-height: 2.5rem;
22
+ ${n.truncateTextInRows(2)}
23
+ }
24
+
25
+ & .section__description {
26
+ color: var(--gray-700, #424b56);
27
+ font-size: 0.875rem;
28
+ font-style: normal;
29
+ font-weight: 400;
30
+ line-height: 1.25rem;
31
+ letter-spacing: 0.0156rem;
32
+ ${n.truncateTextInRows(2)}
33
+ }
34
+ }
35
+
36
+ & .section__items {
37
+ display: flex;
38
+
39
+ & .section__item {
40
+ border-left: 4px solid #ffa36a;
41
+ height: 3rem;
42
+ display: flex;
43
+ flex-direction: column;
44
+ align-items: flex-start;
45
+ flex: 1 0 0;
46
+ min-width: 12.5rem;
47
+ padding-left: 0.75rem;
48
+
49
+ & .item__title {
50
+ color: var(--gray-900, #0c1520);
51
+ font-size: 1.375rem;
52
+ font-style: normal;
53
+ font-weight: 600;
54
+ line-height: 1.75rem;
55
+ }
56
+
57
+ & .item__description {
58
+ color: var(--gray-600, #5a6573);
59
+ font-size: 0.875rem;
60
+ font-style: normal;
61
+ font-weight: 500;
62
+ line-height: 1.25rem;
63
+ }
64
+ }
65
+ }
66
+
67
+ @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
68
+ gap: 1.25rem;
69
+
70
+ & .section__text {
71
+ & .section__title {
72
+ font-size: 1.375rem;
73
+ line-height: 1.75rem;
74
+ }
75
+
76
+ & .section__description {
77
+ ${n.truncateTextInRows(5)}
78
+ }
79
+ }
80
+
81
+ & .section__items {
82
+ & .section__item {
83
+ height: 3.5rem;
84
+ min-width: auto;
85
+
86
+ & .item__title {
87
+ font-size: 1rem;
88
+ line-height: 1.5rem;
89
+ letter-spacing: 0.0063rem;
90
+ }
91
+
92
+ & .item__description {
93
+ font-size: 12px;
94
+ line-height: 1rem;
95
+ letter-spacing: 0.0313rem;
96
+ }
97
+ }
98
+ }
99
+ }
100
+ `,m=l.forwardRef(({title:r,description:s,items:t},d)=>e.jsxs(_,{children:[e.jsxs("div",{className:"section__text",children:[r&&e.jsx("div",{className:"section__title",children:r}),s&&e.jsx("div",{className:"section__description",children:s})]}),t&&(t==null?void 0:t.length)>0&&e.jsx("div",{className:"section__items",children:t==null?void 0:t.map((i,o)=>e.jsxs("div",{className:"section__item",children:[e.jsx("div",{className:"item__title",children:i==null?void 0:i.title}),e.jsx("div",{className:"item__description",children:i==null?void 0:i.description})]},`partner-stats-section-item__${o+1}`))})]}));module.exports=m;
@@ -0,0 +1,124 @@
1
+ import { jsxs as r, jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as a } from "react";
3
+ import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { M as m } from "./consts-BuFChS64.js";
5
+ import { m as n } from "./utils-DtEfC-TX.js";
6
+ const _ = c.div`
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: flex-start;
10
+ gap: 2rem;
11
+ align-self: stretch;
12
+
13
+ & .section__text {
14
+ display: flex;
15
+ flex-direction: column;
16
+ align-items: flex-start;
17
+ gap: 1rem;
18
+ align-self: stretch;
19
+ max-width: 50rem;
20
+
21
+ & .section__title {
22
+ color: var(--gray-900, #0c1520);
23
+ font-size: 2rem;
24
+ font-style: normal;
25
+ font-weight: 600;
26
+ line-height: 2.5rem;
27
+ ${n(2)}
28
+ }
29
+
30
+ & .section__description {
31
+ color: var(--gray-700, #424b56);
32
+ font-size: 0.875rem;
33
+ font-style: normal;
34
+ font-weight: 400;
35
+ line-height: 1.25rem;
36
+ letter-spacing: 0.0156rem;
37
+ ${n(2)}
38
+ }
39
+ }
40
+
41
+ & .section__items {
42
+ display: flex;
43
+
44
+ & .section__item {
45
+ border-left: 4px solid #ffa36a;
46
+ height: 3rem;
47
+ display: flex;
48
+ flex-direction: column;
49
+ align-items: flex-start;
50
+ flex: 1 0 0;
51
+ min-width: 12.5rem;
52
+ padding-left: 0.75rem;
53
+
54
+ & .item__title {
55
+ color: var(--gray-900, #0c1520);
56
+ font-size: 1.375rem;
57
+ font-style: normal;
58
+ font-weight: 600;
59
+ line-height: 1.75rem;
60
+ }
61
+
62
+ & .item__description {
63
+ color: var(--gray-600, #5a6573);
64
+ font-size: 0.875rem;
65
+ font-style: normal;
66
+ font-weight: 500;
67
+ line-height: 1.25rem;
68
+ }
69
+ }
70
+ }
71
+
72
+ @media (max-width: ${m + "px"}) {
73
+ gap: 1.25rem;
74
+
75
+ & .section__text {
76
+ & .section__title {
77
+ font-size: 1.375rem;
78
+ line-height: 1.75rem;
79
+ }
80
+
81
+ & .section__description {
82
+ ${n(5)}
83
+ }
84
+ }
85
+
86
+ & .section__items {
87
+ & .section__item {
88
+ height: 3.5rem;
89
+ min-width: auto;
90
+
91
+ & .item__title {
92
+ font-size: 1rem;
93
+ line-height: 1.5rem;
94
+ letter-spacing: 0.0063rem;
95
+ }
96
+
97
+ & .item__description {
98
+ font-size: 12px;
99
+ line-height: 1rem;
100
+ letter-spacing: 0.0313rem;
101
+ }
102
+ }
103
+ }
104
+ }
105
+ `, y = a(({ title: o, description: l, items: e }, d) => /* @__PURE__ */ r(_, { children: [
106
+ /* @__PURE__ */ r("div", { className: "section__text", children: [
107
+ o && /* @__PURE__ */ i("div", { className: "section__title", children: o }),
108
+ l && /* @__PURE__ */ i("div", { className: "section__description", children: l })
109
+ ] }),
110
+ e && (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ i("div", { className: "section__items", children: e == null ? void 0 : e.map((t, s) => /* @__PURE__ */ r(
111
+ "div",
112
+ {
113
+ className: "section__item",
114
+ children: [
115
+ /* @__PURE__ */ i("div", { className: "item__title", children: t == null ? void 0 : t.title }),
116
+ /* @__PURE__ */ i("div", { className: "item__description", children: t == null ? void 0 : t.description })
117
+ ]
118
+ },
119
+ `partner-stats-section-item__${s + 1}`
120
+ )) })
121
+ ] }));
122
+ export {
123
+ y as default
124
+ };
@@ -1,24 +1,24 @@
1
- "use strict";const u=require("react/jsx-runtime"),a=require("react"),r=require("./index-BpbMKBf_.cjs"),L=require("./index-Cp66dWMi.cjs"),D=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-RnrgDDZP.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),G=h.styled.div`
1
+ "use strict";const c=require("react/jsx-runtime"),a=require("react"),p=require("./index-Cp66dWMi.cjs"),B=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-RnrgDDZP.cjs"),D=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),P=h.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
 
5
- min-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
6
- max-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
7
- background-color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.color,"enabled","background")};
5
+ min-height: ${e=>l.getSizeValueWithUnits(e.theme,e.size)};
6
+ max-height: ${e=>l.getSizeValueWithUnits(e.theme,e.size)};
7
+ background-color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.color,"enabled","background")};
8
8
  border: 1px solid
9
- ${e=>o.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,e.disabled===!0?"disabled":"enabled","border")};
10
- border-radius: ${e=>o.getBorderRadiusValueWithUnits(e.theme,"regular")};
9
+ ${e=>l.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,e.disabled===!0?"disabled":"enabled","border")};
10
+ border-radius: ${e=>l.getBorderRadiusValueWithUnits(e.theme,"regular")};
11
11
 
12
- ${e=>e.focused&&e.readOnly!==!0?o.getOutlineCss(e.theme):""}
13
- /* ${e=>e.disabled===!0?o.getDisabledStateCss(e.theme):""} */
14
- ${e=>e.disabled===!0&&`background-color: ${o.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
15
- color: ${n=>o.getColorRgbaValue(n.theme,"Input",n.color,"disabled","text")};`}
12
+ ${e=>e.focused&&e.readOnly!==!0?l.getOutlineCss(e.theme):""}
13
+ /* ${e=>e.disabled===!0?l.getDisabledStateCss(e.theme):""} */
14
+ ${e=>e.disabled===!0&&`background-color: ${l.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
15
+ color: ${o=>l.getColorRgbaValue(o.theme,"Input",o.color,"disabled","text")};`}
16
16
  `,$=h.styled.span`
17
17
  padding: 0 12px;
18
- color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","prefix")};
19
- `,H=h.styled($)``,J=h.styled($)`
18
+ color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","prefix")};
19
+ `,A=h.styled($)``,G=h.styled($)`
20
20
  cursor: pointer;
21
- `,K=h.styled.input`
21
+ `,H=h.styled.input`
22
22
  background: none;
23
23
  border: none;
24
24
  outline: none;
@@ -26,16 +26,16 @@
26
26
  padding-bottom: 0.625rem;
27
27
  width: 100%;
28
28
 
29
- ${e=>o.getComponentTypographyCss(e.theme,"Input",e.size,"enabled")}
30
- min-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
31
- max-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
32
- color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","text")};
33
- caret-color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.color,"enabled","caret")};
29
+ ${e=>l.getComponentTypographyCss(e.theme,"Input",e.size,"enabled")}
30
+ min-height: ${e=>l.getSizeValueWithUnits(e.theme,e.size)};
31
+ max-height: ${e=>l.getSizeValueWithUnits(e.theme,e.size)};
32
+ color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","text")};
33
+ caret-color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.color,"enabled","caret")};
34
34
  padding-right: ${e=>e.suffix?"0":"0.75rem"};
35
35
  padding-left: ${e=>e.prefix?"0":"0.75rem"};
36
36
 
37
37
  &::placeholder {
38
- color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.color,"enabled","placeholder")};
38
+ color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.color,"enabled","placeholder")};
39
39
  }
40
40
 
41
41
  &:read-only {
@@ -43,9 +43,9 @@
43
43
  }
44
44
 
45
45
  &:disabled {
46
- /* ${e=>o.getDisabledStateCss(e.theme)} */
47
- ${e=>`background-color: ${o.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
48
- color: ${n=>o.getColorRgbaValue(n.theme,"Input",n.color,"disabled","text")};`}
46
+ /* ${e=>l.getDisabledStateCss(e.theme)} */
47
+ ${e=>`background-color: ${l.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
48
+ color: ${o=>l.getColorRgbaValue(o.theme,"Input",o.color,"disabled","text")};`}
49
49
  background: none;
50
50
  }
51
- `,V=a.forwardRef((e,n)=>{const{wrapperRef:k,disabled:C,readOnly:T,debounceTime:R=0,placeholder:z,prefix:y,suffix:f,value:c,defaultValue:v,onChange:d,onBlur:p,onFocus:x,className:O="",style:j={},size:I="small",color:i="primary",...q}=e,l=a.useRef(),g=A.useTheme(),[w,P]=a.useState(c||v||"");a.useEffect(()=>{c!=null&&P(c)},[c]);const[m,W]=a.useState(!0),[b,S]=a.useState(!1);a.useEffect(()=>{var s;const t=((s=l==null?void 0:l.current)==null?void 0:s.value)||"";l.current.selectionStart=t!=null&&t.length?t.length:0,l.current.selectionEnd=t!=null&&t.length?t.length:0},[m]),a.useEffect(()=>{n!=null&&(n.current=l.current)},[n,l]);const E=a.useCallback(L.debounce((t,s)=>U(t,s),R),[d]),U=(t,s)=>{d&&(d==null||d(t,s))},F=t=>{P(t.target.value),E(t,t.target.value)},N=()=>{W(!m),l.current.focus()},_=t=>{S(!0),x==null||x(t)},B=t=>{S(!1),p==null||p(t)};return u.jsxs(G,{ref:k,style:j,className:O,theme:g,color:i,size:I,focused:b,disabled:C,readOnly:T,children:[y&&u.jsx($,{theme:g,color:i,focused:b,className:"lnc-input-prefix",children:y}),u.jsx(K,{ref:l,type:m?"password":"text",theme:g,color:i,size:I,placeholder:z,prefix:y,suffix:f,disabled:C,readOnly:T,focused:b,onFocus:_,onBlur:B,onChange:F,value:w,...q}),u.jsx(J,{theme:g,color:i,focused:b,onClick:N,children:u.jsx(D,{icon:m?"eye-slash":"eye"})}),f&&u.jsx(H,{theme:g,color:i,focused:b,className:"lnc-input-suffix",children:f})]})});V.propTypes={id:r.PropTypes.any,value:r.PropTypes.string,defaultValue:r.PropTypes.string,disabled:r.PropTypes.bool,readOnly:r.PropTypes.bool,debounceTime:r.PropTypes.number,placeholder:r.PropTypes.string,tabIndex:r.PropTypes.number,onChange:r.PropTypes.func,onBlur:r.PropTypes.func,onFocus:r.PropTypes.func,className:r.PropTypes.string,style:r.PropTypes.object,size:r.PropTypes.oneOf(["small","medium","large"]),color:r.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=V;
51
+ `,J=a.forwardRef((e,o)=>{const{wrapperRef:R,disabled:C,readOnly:S,debounceTime:z=0,placeholder:v,prefix:m,suffix:f,value:d,defaultValue:j,onChange:u,onBlur:x,onFocus:y,className:q="",style:w={},size:k="small",color:s="primary",...O}=e,n=a.useRef(),i=D.useTheme(),[W,I]=a.useState(d||j||"");a.useEffect(()=>{d!=null&&I(d)},[d]);const[b,E]=a.useState(!0),[g,V]=a.useState(!1);a.useEffect(()=>{var r;const t=((r=n==null?void 0:n.current)==null?void 0:r.value)||"";n.current.selectionStart=t!=null&&t.length?t.length:0,n.current.selectionEnd=t!=null&&t.length?t.length:0},[b]),a.useEffect(()=>{o!=null&&(o.current=n.current)},[o,n]);const U=a.useCallback(p.debounce((t,r)=>_(t,r),z),[u]),_=(t,r)=>{u&&(u==null||u(t,r))},F=t=>{I(t.target.value),U(t,t.target.value)},L=()=>{E(!b),n.current.focus()},N=t=>{V(!0),y==null||y(t)},T=t=>{V(!1),x==null||x(t)};return c.jsxs(P,{ref:R,style:w,className:q,theme:i,color:s,size:k,focused:g,disabled:C,readOnly:S,children:[m&&c.jsx($,{theme:i,color:s,focused:g,className:"lnc-input-prefix",children:m}),c.jsx(H,{ref:n,type:b?"password":"text",theme:i,color:s,size:k,placeholder:v,prefix:m,suffix:f,disabled:C,readOnly:S,focused:g,onFocus:N,onBlur:T,onChange:F,value:W,...O}),c.jsx(G,{theme:i,color:s,focused:g,onClick:L,children:c.jsx(B,{icon:b?"eye-slash":"eye"})}),f&&c.jsx(A,{theme:i,color:s,focused:g,className:"lnc-input-suffix",children:f})]})});module.exports=J;