@lanaco/lnc-react-ui 4.0.205 → 4.0.207

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 (321) hide show
  1. package/BREAKPOINTS.md +148 -0
  2. package/dist/Accordion.cjs +1 -1
  3. package/dist/Accordion.js +6 -6
  4. package/dist/AccordionSummary.cjs +1 -1
  5. package/dist/AccordionSummary.js +8 -8
  6. package/dist/ActionsToolbar.cjs +15 -4
  7. package/dist/ActionsToolbar.js +58 -46
  8. package/dist/AdBannerSection.cjs +4 -4
  9. package/dist/AdBannerSection.js +5 -5
  10. package/dist/Alert.cjs +1 -1
  11. package/dist/Alert.js +1 -1
  12. package/dist/Avatar.cjs +1 -1
  13. package/dist/Avatar.js +12 -12
  14. package/dist/Badge.cjs +1 -1
  15. package/dist/Badge.js +5 -5
  16. package/dist/BannerNextSection.cjs +2 -2
  17. package/dist/BannerNextSection.js +13 -13
  18. package/dist/BannerSectionBasic.cjs +4 -4
  19. package/dist/BannerSectionBasic.js +22 -22
  20. package/dist/BannerSectionCarousel.cjs +27 -6
  21. package/dist/BannerSectionCarousel.js +71 -50
  22. package/dist/BannerSectionGrid.cjs +3 -3
  23. package/dist/BannerSectionGrid.js +13 -13
  24. package/dist/BannerSectionSimple.cjs +15 -15
  25. package/dist/BannerSectionSimple.js +40 -40
  26. package/dist/BannerSectionWithList.cjs +7 -7
  27. package/dist/BannerSectionWithList.js +20 -20
  28. package/dist/BannerSectionWithListImage.cjs +6 -9
  29. package/dist/BannerSectionWithListImage.js +17 -20
  30. package/dist/BlogCardsSponsoredSection.cjs +7 -5
  31. package/dist/BlogCardsSponsoredSection.js +32 -30
  32. package/dist/BlogCategoryCardsSection.cjs +1 -1
  33. package/dist/BlogCategoryCardsSection.js +2 -2
  34. package/dist/BlogExploreSection.cjs +4 -4
  35. package/dist/BlogExploreSection.js +60 -60
  36. package/dist/BlogImagePathSection.cjs +3 -14
  37. package/dist/BlogImagePathSection.js +27 -39
  38. package/dist/BlogListSection.cjs +6 -6
  39. package/dist/BlogListSection.js +32 -32
  40. package/dist/BlogProductCardsSection.cjs +1 -1
  41. package/dist/BlogProductCardsSection.js +3 -3
  42. package/dist/BlogShopCardsSection.cjs +1 -1
  43. package/dist/BlogShopCardsSection.js +3 -3
  44. package/dist/BlogSingleSection.cjs +3 -3
  45. package/dist/BlogSingleSection.js +12 -12
  46. package/dist/BlogsSectionDetailed.cjs +14 -6
  47. package/dist/BlogsSectionDetailed.js +53 -45
  48. package/dist/BlogsSectionLarge.cjs +13 -5
  49. package/dist/BlogsSectionLarge.js +48 -40
  50. package/dist/BlogsSectionSimple.cjs +14 -9
  51. package/dist/BlogsSectionSimple.js +43 -38
  52. package/dist/BlogsSectionSimpleCentered.cjs +17 -8
  53. package/dist/BlogsSectionSimpleCentered.js +68 -59
  54. package/dist/BlogsSectionWithFilters.cjs +16 -11
  55. package/dist/BlogsSectionWithFilters.js +43 -38
  56. package/dist/BrandHitsSection.cjs +7 -7
  57. package/dist/BrandHitsSection.js +13 -13
  58. package/dist/Breadcrumbs.cjs +1 -1
  59. package/dist/Breadcrumbs.js +16 -16
  60. package/dist/Button.cjs +1 -1
  61. package/dist/Button.js +1 -1
  62. package/dist/ButtonGroup.cjs +1 -1
  63. package/dist/ButtonGroup.js +1 -1
  64. package/dist/CalorieCalculatorSection.cjs +15 -15
  65. package/dist/CalorieCalculatorSection.js +84 -84
  66. package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
  67. package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
  68. package/dist/CheckBoxInput.cjs +1 -1
  69. package/dist/CheckBoxInput.js +1 -1
  70. package/dist/Chip.cjs +1 -1
  71. package/dist/Chip.js +1 -1
  72. package/dist/ColorInput.cjs +1 -1
  73. package/dist/ColorInput.js +14 -14
  74. package/dist/ConfirmationForm.cjs +1 -1
  75. package/dist/ConfirmationForm.js +5 -5
  76. package/dist/ContactSection.cjs +4 -4
  77. package/dist/ContactSection.js +72 -72
  78. package/dist/CustomLoanMapSection.cjs +3 -3
  79. package/dist/CustomLoanMapSection.js +67 -67
  80. package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
  81. package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
  82. package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
  83. package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
  84. package/dist/DateInput.cjs +6 -6
  85. package/dist/DateInput.js +646 -645
  86. package/dist/DecimalInput.cjs +1 -1
  87. package/dist/DecimalInput.js +1 -1
  88. package/dist/DecimalInputV2.cjs +1 -1
  89. package/dist/DecimalInputV2.js +1 -1
  90. package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
  91. package/dist/DetailedProductsInfinitiveSection.js +71 -65
  92. package/dist/DetailedProductsSection.cjs +7 -3
  93. package/dist/DetailedProductsSection.js +55 -51
  94. package/dist/DetailsView.cjs +1 -1
  95. package/dist/DetailsView.js +1 -1
  96. package/dist/DoubleRangeSlider.cjs +1 -1
  97. package/dist/DoubleRangeSlider.js +1 -1
  98. package/dist/DragAndDropFile.cjs +1 -1
  99. package/dist/DragAndDropFile.js +1 -1
  100. package/dist/DragDropFiles.cjs +1 -1
  101. package/dist/DragDropFiles.js +13 -13
  102. package/dist/Drawer.cjs +1 -1
  103. package/dist/Drawer.js +1 -1
  104. package/dist/Dropdown.cjs +1 -1
  105. package/dist/Dropdown.js +2 -2
  106. package/dist/DropdownItem.cjs +1 -1
  107. package/dist/DropdownItem.js +1 -1
  108. package/dist/DropdownLookup.cjs +1 -1
  109. package/dist/DropdownLookup.js +1 -1
  110. package/dist/DropdownMenu.cjs +1 -1
  111. package/dist/DropdownMenu.js +7 -7
  112. package/dist/EditableTable.cjs +1 -1
  113. package/dist/EditableTable.js +8 -8
  114. package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
  115. package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
  116. package/dist/FaqSection.cjs +3 -3
  117. package/dist/FaqSection.js +52 -52
  118. package/dist/FeedbackSection.cjs +3 -3
  119. package/dist/FeedbackSection.js +15 -15
  120. package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
  121. package/dist/FieldOfInterestsMasonrySection.js +107 -117
  122. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
  123. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
  124. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
  125. package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
  126. package/dist/FileInput.cjs +1 -1
  127. package/dist/FileInput.js +1 -1
  128. package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
  129. package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
  130. package/dist/FlexGridItem.cjs +1 -1
  131. package/dist/FlexGridItem.js +1 -1
  132. package/dist/FormField.cjs +1 -1
  133. package/dist/FormField.js +1 -1
  134. package/dist/FormView.cjs +1 -1
  135. package/dist/FormView.js +1 -1
  136. package/dist/GeneralWithTagsCardsSection.cjs +14 -8
  137. package/dist/GeneralWithTagsCardsSection.js +31 -25
  138. package/dist/GiftCardsSection.cjs +15 -7
  139. package/dist/GiftCardsSection.js +44 -36
  140. package/dist/HelpBannerSection.cjs +3 -3
  141. package/dist/HelpBannerSection.js +4 -4
  142. package/dist/Icon.cjs +1 -1
  143. package/dist/Icon.js +4 -4
  144. package/dist/IconButton.cjs +1 -1
  145. package/dist/IconButton.js +1 -1
  146. package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
  147. package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
  148. package/dist/Kanban.cjs +1 -1
  149. package/dist/Kanban.js +1 -1
  150. package/dist/KanbanActionsToolbar.cjs +1 -1
  151. package/dist/KanbanActionsToolbar.js +5 -5
  152. package/dist/KanbanView.cjs +1 -1
  153. package/dist/KanbanView.js +9 -9
  154. package/dist/Link.cjs +1 -1
  155. package/dist/Link.js +1 -1
  156. package/dist/LoanCalculatorSection.cjs +3 -3
  157. package/dist/LoanCalculatorSection.js +17 -17
  158. package/dist/LocationFinderSection.cjs +1 -1
  159. package/dist/LocationFinderSection.js +1 -1
  160. package/dist/LocationSearchSection.cjs +13 -6
  161. package/dist/LocationSearchSection.js +34 -27
  162. package/dist/MasonryGeneralCardsSection.cjs +13 -9
  163. package/dist/MasonryGeneralCardsSection.js +34 -30
  164. package/dist/MenuItem.cjs +1 -1
  165. package/dist/MenuItem.js +14 -14
  166. package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
  167. package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
  168. package/dist/Modal.cjs +1 -1
  169. package/dist/Modal.js +1 -1
  170. package/dist/MultiSelectDropdown.cjs +1 -1
  171. package/dist/MultiSelectDropdown.js +1 -1
  172. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  173. package/dist/MultiSelectDropdownLookup.js +1 -1
  174. package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
  175. package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
  176. package/dist/NestedDropdownItem.cjs +1 -1
  177. package/dist/NestedDropdownItem.js +9 -9
  178. package/dist/NestedMenuItem.cjs +1 -1
  179. package/dist/NestedMenuItem.js +7 -7
  180. package/dist/NotificationContainer.cjs +1 -1
  181. package/dist/NotificationContainer.js +1 -1
  182. package/dist/NotificationMessage.cjs +1 -1
  183. package/dist/NotificationMessage.js +5 -5
  184. package/dist/NumberInput.cjs +1 -1
  185. package/dist/NumberInput.js +8 -8
  186. package/dist/OverlayGeneralCardsSection.cjs +19 -31
  187. package/dist/OverlayGeneralCardsSection.js +51 -63
  188. package/dist/PartnerBannerSection.cjs +2 -2
  189. package/dist/PartnerBannerSection.js +2 -2
  190. package/dist/PartnerBrandsSection.cjs +2 -2
  191. package/dist/PartnerBrandsSection.js +24 -17
  192. package/dist/PartnerCardsSection.cjs +3 -3
  193. package/dist/PartnerCardsSection.js +18 -18
  194. package/dist/PartnerStatsSection.cjs +2 -2
  195. package/dist/PartnerStatsSection.js +3 -3
  196. package/dist/PasswordInput.cjs +1 -1
  197. package/dist/PasswordInput.js +19 -19
  198. package/dist/PopoverContent.cjs +1 -1
  199. package/dist/PopoverContent.js +1 -1
  200. package/dist/ProductsWithBannerSection.cjs +20 -10
  201. package/dist/ProductsWithBannerSection.js +79 -69
  202. package/dist/ProgressBar.cjs +1 -1
  203. package/dist/ProgressBar.js +5 -5
  204. package/dist/QuattroCardsSection.cjs +8 -6
  205. package/dist/QuattroCardsSection.js +19 -17
  206. package/dist/QuizSection.cjs +9 -9
  207. package/dist/QuizSection.js +56 -56
  208. package/dist/RadioInput.cjs +1 -1
  209. package/dist/RadioInput.js +1 -1
  210. package/dist/RangeSlider.cjs +1 -1
  211. package/dist/RangeSlider.js +1 -1
  212. package/dist/ReviewsSection.cjs +24 -16
  213. package/dist/ReviewsSection.js +56 -48
  214. package/dist/SalesCampaignsSection.cjs +25 -21
  215. package/dist/SalesCampaignsSection.js +248 -241
  216. package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
  217. package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
  218. package/dist/SearchSection.cjs +1 -1
  219. package/dist/SearchSection.js +1 -1
  220. package/dist/Separator.cjs +1 -1
  221. package/dist/Separator.js +3 -3
  222. package/dist/SeparatorSection.cjs +3 -3
  223. package/dist/SeparatorSection.js +4 -4
  224. package/dist/ShopCardsSection.cjs +11 -5
  225. package/dist/ShopCardsSection.js +40 -34
  226. package/dist/Sidebar.cjs +1 -1
  227. package/dist/Sidebar.js +1 -1
  228. package/dist/SimpleCategoriesSection.cjs +9 -5
  229. package/dist/SimpleCategoriesSection.js +61 -57
  230. package/dist/SimpleProductsSection.cjs +44 -11
  231. package/dist/SimpleProductsSection.js +100 -67
  232. package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
  233. package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
  234. package/dist/Spinner.cjs +1 -1
  235. package/dist/Spinner.js +1 -1
  236. package/dist/StatsSection.cjs +3 -3
  237. package/dist/StatsSection.js +11 -11
  238. package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
  239. package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
  240. package/dist/Surface.cjs +1 -1
  241. package/dist/Surface.js +1 -1
  242. package/dist/SwipeableDrawer.cjs +1 -1
  243. package/dist/SwipeableDrawer.js +1 -1
  244. package/dist/TabItem.cjs +1 -1
  245. package/dist/TabItem.js +1 -1
  246. package/dist/Table.cjs +54 -49
  247. package/dist/Table.js +417 -401
  248. package/dist/TableView.cjs +10 -2
  249. package/dist/TableView.js +84 -75
  250. package/dist/TextAreaInput.cjs +1 -1
  251. package/dist/TextAreaInput.js +1 -1
  252. package/dist/TextInput.cjs +1 -1
  253. package/dist/TextInput.js +1 -1
  254. package/dist/ThemeProvider.cjs +4 -4
  255. package/dist/ThemeProvider.js +11 -10
  256. package/dist/TimeInput.cjs +1 -1
  257. package/dist/TimeInput.js +1 -1
  258. package/dist/Toggle.cjs +1 -1
  259. package/dist/Toggle.js +1 -1
  260. package/dist/ToggleSection.cjs +7 -7
  261. package/dist/ToggleSection.js +38 -38
  262. package/dist/TreeMenuSeparator.cjs +1 -1
  263. package/dist/TreeMenuSeparator.js +3 -3
  264. package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
  265. package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
  266. package/dist/UploadedFile.cjs +1 -1
  267. package/dist/UploadedFile.js +7 -7
  268. package/dist/UrgentSaleProductsSection.cjs +10 -4
  269. package/dist/UrgentSaleProductsSection.js +67 -61
  270. package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
  271. package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
  272. package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
  273. package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
  274. package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
  275. package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
  276. package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
  277. package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
  278. package/dist/breakpoints-CcVm-gVm.cjs +1 -0
  279. package/dist/breakpoints-ff0SIcV3.js +91 -0
  280. package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
  281. package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
  282. package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
  283. package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
  284. package/dist/index-B_ilx3wM.cjs +16 -0
  285. package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
  286. package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
  287. package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
  288. package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
  289. package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
  290. package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
  291. package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
  292. package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
  293. package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
  294. package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
  295. package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
  296. package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
  297. package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
  298. package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
  299. package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
  300. package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
  301. package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
  302. package/dist/index.cjs +1 -1
  303. package/dist/index.js +213 -194
  304. package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
  305. package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
  306. package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
  307. package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
  308. package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
  309. package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
  310. package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
  311. package/dist/theme-Q3WOGKWQ.cjs +1 -0
  312. package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
  313. package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
  314. package/dist/utils-B2fsQ6PS.js +334 -0
  315. package/dist/utils-CITgSxXe.cjs +51 -0
  316. package/package.json +1 -1
  317. package/dist/consts-BuFChS64.js +0 -7
  318. package/dist/consts-goSZX3xP.cjs +0 -1
  319. package/dist/index-D-3I_Ppj.cjs +0 -16
  320. package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
  321. package/dist/utils-RnrgDDZP.cjs +0 -51
package/BREAKPOINTS.md ADDED
@@ -0,0 +1,148 @@
1
+ # Breakpoint System
2
+
3
+ Unified responsive design system for consistent layouts across all screen sizes.
4
+
5
+ ## Breakpoint Ranges
6
+
7
+ | Key | Width | Typical Devices |
8
+ |-----|-------|-----------------|
9
+ | **XS** | 0–480px | Phones portrait |
10
+ | **S** | 481–767px | Phones landscape / large phones |
11
+ | **M** | 768–1024px | Tablets |
12
+ | **L** | 1025–1280px | Laptops / small desktops |
13
+ | **XL** | 1281px+ | Large desktops |
14
+
15
+ ## Media Query Helpers
16
+
17
+ ### `up(key)` — "this breakpoint and larger"
18
+
19
+ ```js
20
+ import { up } from "@lanaco/lnc-react-ui";
21
+
22
+ // Show on tablet and up
23
+ @media ${up("M")} {
24
+ /* min-width: 768px */
25
+ }
26
+ ```
27
+
28
+ ### `down(key)` — "this breakpoint and smaller"
29
+
30
+ ```js
31
+ import { down } from "@lanaco/lnc-react-ui";
32
+
33
+ // Mobile only
34
+ @media ${down("S")} {
35
+ /* max-width: 767px */
36
+ }
37
+ ```
38
+
39
+ ### `only(key)` — "exactly this breakpoint"
40
+
41
+ ```js
42
+ import { only } from "@lanaco/lnc-react-ui";
43
+
44
+ // Tablet only
45
+ @media ${only("M")} {
46
+ /* min-width: 768px and max-width: 1024px */
47
+ }
48
+ ```
49
+
50
+ ### `between(start, end)` — "range between two breakpoints"
51
+
52
+ ```js
53
+ import { between } from "@lanaco/lnc-react-ui";
54
+
55
+ // Tablet and laptop
56
+ @media ${between("M", "L")} {
57
+ /* min-width: 768px and max-width: 1280px */
58
+ }
59
+ ```
60
+
61
+ ## Raw Values
62
+
63
+ ```js
64
+ import { screenSizes, MOBILE_SIZE_PX, SMALL_MOBILE_SIZE_PX } from "@lanaco/lnc-react-ui";
65
+
66
+ // In styled-components
67
+ @media (max-width: ${screenSizes.S.max}px) { }
68
+ @media (max-width: ${MOBILE_SIZE_PX}px) { } // 767 — mobile = XS + S
69
+ @media (max-width: ${SMALL_MOBILE_SIZE_PX}px) { } // 480 — small phones
70
+ ```
71
+
72
+ ## Via Theme
73
+
74
+ When using `ThemeProvider`, breakpoints are available on the theme:
75
+
76
+ ```js
77
+ import { useTheme } from "@lanaco/lnc-react-ui";
78
+
79
+ const MyComponent = () => {
80
+ const { theme } = useTheme();
81
+
82
+ return (
83
+ <div
84
+ css={{
85
+ padding: 16,
86
+ [theme.breakpoints.down("S")]: { padding: 8 },
87
+ }}
88
+ />
89
+ );
90
+ };
91
+ ```
92
+
93
+ ## Hooks
94
+
95
+ ### `useScreenSize()` — Current breakpoint
96
+
97
+ Returns `"XS"`, `"S"`, `"M"`, `"L"`, or `"XL"` based on viewport width.
98
+
99
+ ```js
100
+ import { useScreenSize } from "@lanaco/lnc-react-ui";
101
+
102
+ const size = useScreenSize(); // "M"
103
+ ```
104
+
105
+ ### `useIsMobile()` — Semantic mobile check
106
+
107
+ Returns `true` for XS and S (phones).
108
+
109
+ ```js
110
+ import { useIsMobile } from "@lanaco/lnc-react-ui";
111
+
112
+ const isMobile = useIsMobile(); // true on phones
113
+ ```
114
+
115
+ ### `useDetectMobile()` — Width-based mobile check
116
+
117
+ Returns `true` when viewport width ≤ 767px. Same cutoff as `useIsMobile` but uses `window.innerWidth`.
118
+
119
+ ```js
120
+ import { useDetectMobile } from "@lanaco/lnc-react-ui";
121
+
122
+ const isMobile = useDetectMobile();
123
+ ```
124
+
125
+ **When to use which:**
126
+ - **useScreenSize** — When you need the exact breakpoint (e.g. Table VisibilityPattern, FlexGridItem columns)
127
+ - **useIsMobile** — When you need "mobile vs desktop" logic; uses media queries (matches `useMedia`)
128
+ - **useDetectMobile** — When you need the same boolean but prefer window resize; useful for components that already use it
129
+
130
+ ## Semantic Helpers
131
+
132
+ ```js
133
+ import { isMobile, isTablet, isDesktop } from "@lanaco/lnc-react-ui";
134
+
135
+ const size = useScreenSize();
136
+ if (isMobile(size)) { /* XS or S */ }
137
+ if (isTablet(size)) { /* M */ }
138
+ if (isDesktop(size)) { /* L or XL */ }
139
+ ```
140
+
141
+ ## Constants
142
+
143
+ | Export | Value | Description |
144
+ |--------|-------|-------------|
145
+ | `MOBILE_SIZE_PX` | 767 | Max width for mobile (S.max) |
146
+ | `SMALL_MOBILE_SIZE_PX` | 480 | Max width for small phones (XS.max) |
147
+ | `BREAKPOINT_ORDER` | `["XS","S","M","L","XL"]` | Ordered breakpoint keys |
148
+ | `DEVICE_CATEGORIES` | `{ mobile, tablet, desktop }` | Semantic groupings |
@@ -1,4 +1,4 @@
1
- "use strict";const b=require("react/jsx-runtime"),s=require("react"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./utils-RnrgDDZP.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=require("./useUpdateEffect-BtMgpgIV.cjs"),D=R.styled.div`
1
+ "use strict";const b=require("react/jsx-runtime"),s=require("react"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./utils-CITgSxXe.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=require("./useUpdateEffect-BtMgpgIV.cjs"),D=R.styled.div`
2
2
  color: ${t=>!t.disabled&&c.getColorRgbaValue(t.theme,"Accordion","primary","enabled","text")};
3
3
  background-color: transparent;
4
4
  ${t=>c.getComponentTypographyCss(t.theme,"Accordion",t.size,"enabled")};
package/dist/Accordion.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as D } from "react/jsx-runtime";
2
- import { forwardRef as N, useState as O, Children as c, isValidElement as i, cloneElement as l } from "react";
2
+ import { forwardRef as N, useState as O, Children as i, isValidElement as c, cloneElement as l } from "react";
3
3
  import { s as R } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { b as S, c as g, h as x } from "./utils-DtEfC-TX.js";
4
+ import { c as S, d as g, i as x } from "./utils-B2fsQ6PS.js";
5
5
  import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  import { u as T } from "./useUpdateEffect-CuYWz7EA.js";
7
7
  const M = R.div`
@@ -31,9 +31,9 @@ const M = R.div`
31
31
  }, [a]);
32
32
  const p = (e) => {
33
33
  u(!o, e), d(!o);
34
- }, E = c.map(m, (e) => {
34
+ }, E = i.map(m, (e) => {
35
35
  var s;
36
- if (i(e) && (e.props.__TYPE__ == "ACCORDION_SUMMARY" || ((s = e == null ? void 0 : e.type) == null ? void 0 : s.displayName) === "ACCORDION_SUMMARY"))
36
+ if (c(e) && (e.props.__TYPE__ == "ACCORDION_SUMMARY" || ((s = e == null ? void 0 : e.type) == null ? void 0 : s.displayName) === "ACCORDION_SUMMARY"))
37
37
  return l(e, {
38
38
  size: r,
39
39
  onClick: p,
@@ -41,9 +41,9 @@ const M = R.div`
41
41
  isExpanded: o,
42
42
  disabled: n
43
43
  });
44
- }), b = c.map(m, (e) => {
44
+ }), b = i.map(m, (e) => {
45
45
  var s;
46
- if (i(e) && (e.props.__TYPE__ == "ACCORDION_DETAILS" || ((s = e == null ? void 0 : e.type) == null ? void 0 : s.displayName) === "ACCORDION_DETAILS"))
46
+ if (c(e) && (e.props.__TYPE__ == "ACCORDION_DETAILS" || ((s = e == null ? void 0 : e.type) == null ? void 0 : s.displayName) === "ACCORDION_DETAILS"))
47
47
  return l(e, {
48
48
  size: r,
49
49
  isExpanded: o
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),f=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./Icon.cjs"),g=require("./utils-RnrgDDZP.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),C={small:"0.6rem 1rem",medium:"0.8rem 1.25rem",large:"1rem 1.5rem"},R=h.styled.div`
1
+ "use strict";const s=require("react/jsx-runtime"),f=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./Icon.cjs"),g=require("./utils-CITgSxXe.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),C={small:"0.6rem 1rem",medium:"0.8rem 1.25rem",large:"1rem 1.5rem"},R=h.styled.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  cursor: pointer;
@@ -2,13 +2,13 @@ import { jsxs as f, jsx as u } from "react/jsx-runtime";
2
2
  import { forwardRef as y } from "react";
3
3
  import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import x from "./Icon.js";
5
- import { b as C } from "./utils-DtEfC-TX.js";
5
+ import { c as C } from "./utils-B2fsQ6PS.js";
6
6
  import { u as g } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
- const b = {
7
+ const A = {
8
8
  small: "0.6rem 1rem",
9
9
  medium: "0.8rem 1.25rem",
10
10
  large: "1rem 1.5rem"
11
- }, A = h.div`
11
+ }, N = h.div`
12
12
  display: flex;
13
13
  justify-content: space-between;
14
14
  cursor: pointer;
@@ -20,12 +20,12 @@ const b = {
20
20
  "summaryText"
21
21
  )};
22
22
 
23
- padding: ${(e) => b[e.size]};
23
+ padding: ${(e) => A[e.size]};
24
24
  & .accordion-icon-lnc {
25
25
  transform: ${(e) => e.isExpanded ? "rotate(180deg)" : "rotate(0)"};
26
26
  transition: transform 0.25s ease;
27
27
  }
28
- `, N = y((e, r) => {
28
+ `, b = y((e, r) => {
29
29
  const {
30
30
  disabled: s,
31
31
  isExpanded: n,
@@ -39,7 +39,7 @@ const b = {
39
39
  ...d
40
40
  } = e, p = { theme: g(), size: t, style: c, className: i };
41
41
  return /* @__PURE__ */ f(
42
- A,
42
+ N,
43
43
  {
44
44
  ref: r,
45
45
  ...p,
@@ -62,7 +62,7 @@ const b = {
62
62
  }
63
63
  );
64
64
  });
65
- N.displayName = "ACCORDION_SUMMARY";
65
+ b.displayName = "ACCORDION_SUMMARY";
66
66
  export {
67
- N as default
67
+ b as default
68
68
  };
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),B=require("react"),L=require("./emotion-styled.browser.esm-BtEseadx.cjs"),V=require("./DropdownMenu.cjs"),s=require("./DropdownItem.cjs"),M=require("./Separator.cjs"),d=require("./Button.cjs"),b=require("./utils-RnrgDDZP.cjs"),Z=require("./ThemeProvider.cjs"),F=L.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),B=require("react"),L=require("./emotion-styled.browser.esm-BtEseadx.cjs"),V=require("./DropdownMenu.cjs"),s=require("./DropdownItem.cjs"),M=require("./Separator.cjs"),c=require("./Button.cjs"),p=require("./utils-CITgSxXe.cjs"),Z=require("./ThemeProvider.cjs"),F=require("./breakpoints-CcVm-gVm.cjs"),G=L.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  border-radius: 8px;
@@ -7,12 +7,23 @@
7
7
  font-weight: 700;
8
8
  font-size: 0.875rem;
9
9
  color: rgba(15, 23, 42, 100%);
10
- background-color: ${t=>b.getColorRgbaValue(t.theme,"Toolbar",t.color,"enabled","background","backgroundOpacity")};
11
- border: ${t=>`1px solid ${b.getColorRgbaValue(t.theme,"Toolbar",t.color,"enabled","border","borderOpacity")}`};
10
+ background-color: ${t=>p.getColorRgbaValue(t.theme,"Toolbar",t.color,"enabled","background","backgroundOpacity")};
11
+ border: ${t=>`1px solid ${p.getColorRgbaValue(t.theme,"Toolbar",t.color,"enabled","border","borderOpacity")}`};
12
12
  gap: 6px;
13
13
  justify-content: space-between;
14
+ flex-wrap: wrap;
14
15
  & > div {
15
16
  display: flex;
16
17
  gap: 0.5rem;
18
+ flex-wrap: wrap;
17
19
  }
18
- `,u=B.forwardRef((t,p)=>{const{showCreate:x=!0,enableCreate:m=!0,createText:c="Create new item",showEdit:y=!0,enableEditOnSelection:h=!0,editText:w="Edit",showDelete:g=!0,enableDeleteOnSelection:C=!0,deleteText:f="Delete",showCopy:T=!0,enableCopyOnSelection:j=!0,copyText:O="Copy",actionsText:q="Actions",customActions:i,selectedRowsLength:n=0,readOnly:r=!1,actionDropdownProps:D,actionsDropdownZIndex:S,actionsDropdownPlacement:k,onCreate:R=()=>{},onEdit:v=()=>{},onDelete:I=()=>{},onCopy:N=()=>{},className:A="",style:E={},color:l="primary",size:a="small",selectedRows:$,...z}=t,{theme:P}=Z.useTheme();return e.jsxs(F,{ref:p,theme:P,color:l,className:`lnc-table-view-actions-toolbar ${A}`,style:E,...z,children:[e.jsx("div",{children:x&&r==!1&&e.jsx(d,{leadingIcon:"plus",btnType:"outline",type:"button",color:l,size:a,title:c,disabled:!m,onClick:R,text:c})}),e.jsx("div",{children:e.jsxs(V,{className:"lnc-table-view-actions-toolbar-dropdown",color:l,size:a,zIndex:S,placement:k,...D,control:e.jsx(d,{text:q,btnType:"outline",trailingIcon:"angle-down",color:l,size:a,type:"button"}),children:[T&&r==!1&&e.jsx(s,{icon:"copy",disabled:!(j&&n>0),onClick:N,children:O}),y&&r==!1&&e.jsx(s,{icon:"pen",disabled:!(h&&n>0),onClick:v,children:w}),g&&r==!1&&e.jsx(s,{icon:"trash",disabled:!(C&&n>0),onClick:I,children:f}),e.jsx(M,{}),i==null?void 0:i.map((o,_)=>{if((o==null?void 0:o.show)!=!1)return e.jsx(s,{icon:o.icon,disabled:!(o.enableOnSelection==!0&&n>0||o.enable==!0&&o.enableOnSelection==!1),onClick:()=>{o.onAction($)},children:o.name},_)})]})})]})});u.displayName="ACTIONS_TOOLBAR";module.exports=u;
20
+
21
+ @media ${F.down("S")} {
22
+ gap: 4px;
23
+ padding: 4px;
24
+ margin-bottom: 8px;
25
+ & > div {
26
+ gap: 0.25rem;
27
+ }
28
+ }
29
+ `,b=B.forwardRef((t,u)=>{const{showCreate:x=!0,enableCreate:m=!0,createText:d="Create new item",showEdit:w=!0,enableEditOnSelection:g=!0,editText:y="Edit",showDelete:h=!0,enableDeleteOnSelection:f=!0,deleteText:C="Delete",showCopy:T=!0,enableCopyOnSelection:j=!0,copyText:O="Copy",actionsText:q="Actions",customActions:a,selectedRowsLength:n=0,readOnly:r=!1,actionDropdownProps:S,actionsDropdownZIndex:k,actionsDropdownPlacement:D,onCreate:v=()=>{},onEdit:R=()=>{},onDelete:I=()=>{},onCopy:N=()=>{},className:$="",style:A={},color:l="primary",size:i="small",selectedRows:E,...z}=t,{theme:P}=Z.useTheme();return e.jsxs(G,{ref:u,theme:P,color:l,className:`lnc-table-view-actions-toolbar ${$}`,style:A,...z,children:[e.jsx("div",{children:x&&r==!1&&e.jsx(c,{leadingIcon:"plus",btnType:"outline",type:"button",color:l,size:i,title:d,disabled:!m,onClick:v,text:d})}),e.jsx("div",{children:e.jsxs(V,{className:"lnc-table-view-actions-toolbar-dropdown",color:l,size:i,zIndex:k,placement:D,...S,control:e.jsx(c,{text:q,btnType:"outline",trailingIcon:"angle-down",color:l,size:i,type:"button"}),children:[T&&r==!1&&e.jsx(s,{icon:"copy",disabled:!(j&&n>0),onClick:N,children:O}),w&&r==!1&&e.jsx(s,{icon:"pen",disabled:!(g&&n>0),onClick:R,children:y}),h&&r==!1&&e.jsx(s,{icon:"trash",disabled:!(f&&n>0),onClick:I,children:C}),e.jsx(M,{}),a==null?void 0:a.map((o,_)=>{if((o==null?void 0:o.show)!=!1)return e.jsx(s,{icon:o.icon,disabled:!(o.enableOnSelection==!0&&n>0||o.enable==!0&&o.enableOnSelection==!1),onClick:()=>{o.onAction(E)},children:o.name},_)})]})})]})});b.displayName="ACTIONS_TOOLBAR";module.exports=b;
@@ -1,13 +1,14 @@
1
- import { jsxs as c, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as p, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as M } from "react";
3
3
  import { s as V } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import Z from "./DropdownMenu.js";
5
5
  import a from "./DropdownItem.js";
6
6
  import _ from "./Separator.js";
7
- import p from "./Button.js";
8
- import { b } from "./utils-DtEfC-TX.js";
7
+ import c from "./Button.js";
8
+ import { c as m } from "./utils-B2fsQ6PS.js";
9
9
  import { useTheme as q } from "./ThemeProvider.js";
10
- const F = V.div`
10
+ import { d as F } from "./breakpoints-ff0SIcV3.js";
11
+ const G = V.div`
11
12
  display: flex;
12
13
  align-items: center;
13
14
  border-radius: 8px;
@@ -16,7 +17,7 @@ const F = V.div`
16
17
  font-weight: 700;
17
18
  font-size: 0.875rem;
18
19
  color: rgba(15, 23, 42, 100%);
19
- background-color: ${(t) => b(
20
+ background-color: ${(t) => m(
20
21
  t.theme,
21
22
  "Toolbar",
22
23
  t.color,
@@ -24,7 +25,7 @@ const F = V.div`
24
25
  "background",
25
26
  "backgroundOpacity"
26
27
  )};
27
- border: ${(t) => `1px solid ${b(
28
+ border: ${(t) => `1px solid ${m(
28
29
  t.theme,
29
30
  "Toolbar",
30
31
  t.color,
@@ -34,29 +35,40 @@ const F = V.div`
34
35
  )}`};
35
36
  gap: 6px;
36
37
  justify-content: space-between;
38
+ flex-wrap: wrap;
37
39
  & > div {
38
40
  display: flex;
39
41
  gap: 0.5rem;
42
+ flex-wrap: wrap;
40
43
  }
41
- `, G = M((t, m) => {
44
+
45
+ @media ${F("S")} {
46
+ gap: 4px;
47
+ padding: 4px;
48
+ margin-bottom: 8px;
49
+ & > div {
50
+ gap: 0.25rem;
51
+ }
52
+ }
53
+ `, H = M((t, b) => {
42
54
  const {
43
- showCreate: u = !0,
44
- enableCreate: f = !0,
55
+ showCreate: f = !0,
56
+ enableCreate: u = !0,
45
57
  createText: s = "Create new item",
46
- showEdit: y = !0,
47
- enableEditOnSelection: h = !0,
48
- editText: w = "Edit",
49
- showDelete: x = !0,
50
- enableDeleteOnSelection: g = !0,
58
+ showEdit: w = !0,
59
+ enableEditOnSelection: x = !0,
60
+ editText: y = "Edit",
61
+ showDelete: g = !0,
62
+ enableDeleteOnSelection: h = !0,
51
63
  deleteText: C = "Delete",
52
64
  showCopy: T = !0,
53
65
  enableCopyOnSelection: O = !0,
54
66
  copyText: D = "Copy",
55
- actionsText: k = "Actions",
67
+ actionsText: S = "Actions",
56
68
  customActions: i,
57
69
  selectedRowsLength: r = 0,
58
- readOnly: l = !1,
59
- actionDropdownProps: S,
70
+ readOnly: n = !1,
71
+ actionDropdownProps: k,
60
72
  actionsDropdownZIndex: v,
61
73
  actionsDropdownPlacement: I,
62
74
  //----------------
@@ -64,86 +76,86 @@ const F = V.div`
64
76
  },
65
77
  onEdit: R = () => {
66
78
  },
67
- onDelete: A = () => {
79
+ onDelete: $ = () => {
68
80
  },
69
- onCopy: E = () => {
81
+ onCopy: A = () => {
70
82
  },
71
- className: $ = "",
83
+ className: E = "",
72
84
  style: j = {},
73
- color: n = "primary",
85
+ color: l = "primary",
74
86
  size: d = "small",
75
87
  selectedRows: z,
76
88
  ...B
77
89
  } = t, { theme: L } = q();
78
- return /* @__PURE__ */ c(
79
- F,
90
+ return /* @__PURE__ */ p(
91
+ G,
80
92
  {
81
- ref: m,
93
+ ref: b,
82
94
  theme: L,
83
- color: n,
84
- className: `lnc-table-view-actions-toolbar ${$}`,
95
+ color: l,
96
+ className: `lnc-table-view-actions-toolbar ${E}`,
85
97
  style: j,
86
98
  ...B,
87
99
  children: [
88
- /* @__PURE__ */ o("div", { children: u && l == !1 && /* @__PURE__ */ o(
89
- p,
100
+ /* @__PURE__ */ o("div", { children: f && n == !1 && /* @__PURE__ */ o(
101
+ c,
90
102
  {
91
103
  leadingIcon: "plus",
92
104
  btnType: "outline",
93
105
  type: "button",
94
- color: n,
106
+ color: l,
95
107
  size: d,
96
108
  title: s,
97
- disabled: !f,
109
+ disabled: !u,
98
110
  onClick: N,
99
111
  text: s
100
112
  }
101
113
  ) }),
102
- /* @__PURE__ */ o("div", { children: /* @__PURE__ */ c(
114
+ /* @__PURE__ */ o("div", { children: /* @__PURE__ */ p(
103
115
  Z,
104
116
  {
105
117
  className: "lnc-table-view-actions-toolbar-dropdown",
106
- color: n,
118
+ color: l,
107
119
  size: d,
108
120
  zIndex: v,
109
121
  placement: I,
110
- ...S,
122
+ ...k,
111
123
  control: /* @__PURE__ */ o(
112
- p,
124
+ c,
113
125
  {
114
- text: k,
126
+ text: S,
115
127
  btnType: "outline",
116
128
  trailingIcon: "angle-down",
117
- color: n,
129
+ color: l,
118
130
  size: d,
119
131
  type: "button"
120
132
  }
121
133
  ),
122
134
  children: [
123
- T && l == !1 && /* @__PURE__ */ o(
135
+ T && n == !1 && /* @__PURE__ */ o(
124
136
  a,
125
137
  {
126
138
  icon: "copy",
127
139
  disabled: !(O && r > 0),
128
- onClick: E,
140
+ onClick: A,
129
141
  children: D
130
142
  }
131
143
  ),
132
- y && l == !1 && /* @__PURE__ */ o(
144
+ w && n == !1 && /* @__PURE__ */ o(
133
145
  a,
134
146
  {
135
147
  icon: "pen",
136
- disabled: !(h && r > 0),
148
+ disabled: !(x && r > 0),
137
149
  onClick: R,
138
- children: w
150
+ children: y
139
151
  }
140
152
  ),
141
- x && l == !1 && /* @__PURE__ */ o(
153
+ g && n == !1 && /* @__PURE__ */ o(
142
154
  a,
143
155
  {
144
156
  icon: "trash",
145
- disabled: !(g && r > 0),
146
- onClick: A,
157
+ disabled: !(h && r > 0),
158
+ onClick: $,
147
159
  children: C
148
160
  }
149
161
  ),
@@ -170,7 +182,7 @@ const F = V.div`
170
182
  }
171
183
  );
172
184
  });
173
- G.displayName = "ACTIONS_TOOLBAR";
185
+ H.displayName = "ACTIONS_TOOLBAR";
174
186
  export {
175
- G as default
187
+ H as default
176
188
  };
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),a=require("react"),c=require("./useDetectMobile-zkbzoOGV.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-goSZX3xP.cjs"),d=o.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),a=require("react"),c=require("./useDetectMobile-DYV6V1yw.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./breakpoints-CcVm-gVm.cjs"),d=o.styled.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  max-width: 60.625rem;
@@ -15,7 +15,7 @@
15
15
  cursor: pointer;
16
16
  }
17
17
 
18
- @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
18
+ @media ${m.down("S")} {
19
19
  width: 100%;
20
20
  height: 100%;
21
21
  max-width: 100%;
@@ -30,8 +30,8 @@
30
30
  aspect-ratio: 1 / 1;
31
31
  }
32
32
  }
33
- `,x=a.forwardRef(({image:i,imageForMobile:r,isMobile:s,onSelectCard:e},h)=>t.jsx(d,{ref:h,children:t.jsx("img",{src:s?r:i,className:"wrapper__image",onClick:e})})),p=o.styled.div`
33
+ `,p=a.forwardRef(({image:i,imageForMobile:r,isMobile:s,onSelectCard:e},h)=>t.jsx(d,{ref:h,children:t.jsx("img",{src:s?r:i,className:"wrapper__image",onClick:e})})),w=o.styled.div`
34
34
  display: flex;
35
35
  justify-content: center;
36
36
  width: 100%;
37
- `,w=a.forwardRef(({image:i,imageForMobile:r,link:s,onSelectCard:e=()=>{}},h)=>{const n=c.useDetectMobile();return t.jsx(p,{ref:h,children:t.jsx(x,{image:i,imageForMobile:r,isMobile:n,onSelectCard:()=>e==null?void 0:e(s)})})});module.exports=w;
37
+ `,x=a.forwardRef(({image:i,imageForMobile:r,link:s,onSelectCard:e=()=>{}},h)=>{const n=c.useDetectMobile();return t.jsx(w,{ref:h,children:t.jsx(p,{image:i,imageForMobile:r,isMobile:n,onSelectCard:()=>e==null?void 0:e(s)})})});module.exports=x;
@@ -1,8 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as m } from "react";
3
- import { u as p } from "./useDetectMobile-Bkvj0VMa.js";
3
+ import { u as p } from "./useDetectMobile-CcVo3PNi.js";
4
4
  import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { M as d } from "./consts-BuFChS64.js";
5
+ import { d } from "./breakpoints-ff0SIcV3.js";
6
6
  const n = o.div`
7
7
  width: 100%;
8
8
  height: 100%;
@@ -20,7 +20,7 @@ const n = o.div`
20
20
  cursor: pointer;
21
21
  }
22
22
 
23
- @media (max-width: ${d + "px"}) {
23
+ @media ${d("S")} {
24
24
  width: 100%;
25
25
  height: 100%;
26
26
  max-width: 100%;
@@ -48,7 +48,7 @@ const n = o.div`
48
48
  display: flex;
49
49
  justify-content: center;
50
50
  width: 100%;
51
- `, u = m(
51
+ `, _ = m(
52
52
  ({ image: e, imageForMobile: r, link: a, onSelectCard: i = () => {
53
53
  } }, h) => {
54
54
  const s = p();
@@ -64,5 +64,5 @@ const n = o.div`
64
64
  }
65
65
  );
66
66
  export {
67
- u as default
67
+ _ as default
68
68
  };
package/dist/Alert.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),c=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./ThemeProvider.cjs"),r=require("./utils-RnrgDDZP.cjs"),a=require("./Icon.cjs"),y=x.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),c=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./ThemeProvider.cjs"),r=require("./utils-CITgSxXe.cjs"),a=require("./Icon.cjs"),y=x.styled.div`
2
2
  min-height: 3rem;
3
3
  ${e=>r.getComponentTypographyCss(e.theme,"Alert",e.size,"enabled")};
4
4
  line-height: 1.25rem;
package/dist/Alert.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as u, cloneElement as x } from "react";
3
3
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { useTheme as w } from "./ThemeProvider.js";
5
- import { c as A, a as N, b as t, g as c } from "./utils-DtEfC-TX.js";
5
+ import { d as A, b as N, c as t, g as c } from "./utils-B2fsQ6PS.js";
6
6
  import m from "./Icon.js";
7
7
  const $ = y.div`
8
8
  min-height: 3rem;
package/dist/Avatar.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),b=require("react"),I=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-RnrgDDZP.cjs"),$=require("./Icon.cjs"),w=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=I.styled.div`
1
+ "use strict";const s=require("react/jsx-runtime"),b=require("react"),I=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),$=require("./Icon.cjs"),w=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=I.styled.div`
2
2
  border-radius: ${e=>t.getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
3
3
  color: white;
4
4
  display: inline-flex;
package/dist/Avatar.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as U } from "react";
3
3
  import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { a as b, d as t, h as $, b as v } from "./utils-DtEfC-TX.js";
4
+ import { b, e as i, i as $, c as v } from "./utils-B2fsQ6PS.js";
5
5
  import y from "./Icon.js";
6
6
  import { u as w } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const R = I.div`
@@ -10,25 +10,25 @@ const R = I.div`
10
10
  display: inline-flex;
11
11
  justify-content: center;
12
12
  align-items: center;
13
- height: ${(e) => e.sizeInUnits ? e.sizeInUnits : t(e.theme, e.size)};
14
- width: ${(e) => e.sizeInUnits ? e.sizeInUnits : t(e.theme, e.size)};
13
+ height: ${(e) => e.sizeInUnits ? e.sizeInUnits : i(e.theme, e.size)};
14
+ width: ${(e) => e.sizeInUnits ? e.sizeInUnits : i(e.theme, e.size)};
15
15
  ${(e) => e.disabled === !0 && $(e.theme)};
16
16
  background-color: ${(e) => !e.disabled && v(e.theme, "Chip", e.color, "enabled", "text")};
17
17
  overflow: hidden;
18
18
  & img {
19
- height: ${(e) => e.sizeInUnits ? e.sizeInUnits : t(e.theme, e.size)};
20
- width: ${(e) => e.sizeInUnits ? e.sizeInUnits : t(e.theme, e.size)};
19
+ height: ${(e) => e.sizeInUnits ? e.sizeInUnits : i(e.theme, e.size)};
20
+ width: ${(e) => e.sizeInUnits ? e.sizeInUnits : i(e.theme, e.size)};
21
21
  }
22
22
  `, B = U((e, r) => {
23
23
  const {
24
24
  image: n,
25
25
  icon: l = "user",
26
- sizeInUnits: i,
26
+ sizeInUnits: t,
27
27
  borderRadius: m = "curved",
28
28
  //----------------
29
- onFocus: d = () => {
29
+ onFocus: o = () => {
30
30
  },
31
- onBlur: o = () => {
31
+ onBlur: d = () => {
32
32
  },
33
33
  onClick: c = () => {
34
34
  },
@@ -43,7 +43,7 @@ const R = I.div`
43
43
  color: h,
44
44
  style: z,
45
45
  size: a,
46
- sizeInUnits: i,
46
+ sizeInUnits: t,
47
47
  className: "lnc-ui-avatar " + u
48
48
  };
49
49
  return /* @__PURE__ */ s(
@@ -53,15 +53,15 @@ const R = I.div`
53
53
  ...g,
54
54
  borderRadius: m,
55
55
  onClick: c,
56
- onFocus: d,
57
- onBlur: o,
56
+ onFocus: o,
57
+ onBlur: d,
58
58
  ...f,
59
59
  children: n ? /* @__PURE__ */ s("img", { src: n }) : /* @__PURE__ */ s(
60
60
  y,
61
61
  {
62
62
  icon: l,
63
63
  size: a,
64
- sizeInUnits: i ? `calc(${i} / 2)` : null
64
+ sizeInUnits: t ? `calc(${t} / 2)` : null
65
65
  }
66
66
  )
67
67
  }
package/dist/Badge.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const h=require("react/jsx-runtime"),b=require("react"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-RnrgDDZP.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),t=e=>e=="large"?"2rem":e=="medium"?"1.75rem":"1.5rem",R=y.styled.div`
1
+ "use strict";const h=require("react/jsx-runtime"),b=require("react"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-CITgSxXe.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),t=e=>e=="large"?"2rem":e=="medium"?"1.75rem":"1.5rem",R=y.styled.div`
2
2
  ${e=>r.getComponentTypographyCss(e.theme,"Badge",e.size,"enabled")};
3
3
  background-color: ${e=>r.getColorRgbaValue(e.theme,"Badge",e.color,"enabled","background","backgroundOpacity")};
4
4
  color: ${e=>r.getColorRgbaValue(e.theme,"Badge",e.color,"enabled","text")};