@lanaco/lnc-react-ui 4.0.35 → 4.0.37

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 (286) hide show
  1. package/dist/Accordion.cjs +5 -5
  2. package/dist/Accordion.js +11 -11
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +1 -1
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +3 -3
  7. package/dist/ActionsToolbar.cjs +1 -1
  8. package/dist/ActionsToolbar.js +2 -2
  9. package/dist/Alert.cjs +1 -1
  10. package/dist/Alert.js +2 -2
  11. package/dist/Avatar.cjs +1 -1
  12. package/dist/Avatar.js +3 -3
  13. package/dist/Badge.cjs +2 -2
  14. package/dist/Badge.js +3 -3
  15. package/dist/BannerSectionBasic.cjs +1 -1
  16. package/dist/BannerSectionBasic.js +1 -1
  17. package/dist/BannerSectionCarousel.cjs +2 -2
  18. package/dist/BannerSectionCarousel.js +63 -63
  19. package/dist/BannerSectionGrid.cjs +3 -3
  20. package/dist/BannerSectionGrid.js +43 -39
  21. package/dist/BannerSectionSimple.cjs +1 -1
  22. package/dist/BannerSectionSimple.js +1 -1
  23. package/dist/BannerSectionWithList.cjs +1 -1
  24. package/dist/BannerSectionWithList.js +2 -2
  25. package/dist/BannerSectionWithListImage.cjs +1 -1
  26. package/dist/BannerSectionWithListImage.js +1 -1
  27. package/dist/BlogsSectionDetailed.cjs +1 -1
  28. package/dist/BlogsSectionDetailed.js +3 -3
  29. package/dist/BlogsSectionLarge.cjs +1 -1
  30. package/dist/BlogsSectionLarge.js +2 -2
  31. package/dist/BlogsSectionSimple.cjs +1 -1
  32. package/dist/BlogsSectionSimple.js +3 -3
  33. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  34. package/dist/BlogsSectionSimpleCentered.js +2 -2
  35. package/dist/BlogsSectionWithFilters.cjs +11 -108
  36. package/dist/BlogsSectionWithFilters.js +59 -437
  37. package/dist/BrandHitsSection.cjs +1 -1
  38. package/dist/BrandHitsSection.js +2 -2
  39. package/dist/Breadcrumbs.cjs +3 -3
  40. package/dist/Breadcrumbs.js +12 -12
  41. package/dist/Button.cjs +1 -1
  42. package/dist/Button.js +4 -4
  43. package/dist/ButtonGroup.cjs +1 -1
  44. package/dist/ButtonGroup.js +3 -3
  45. package/dist/CalorieCalculatorSection.cjs +333 -0
  46. package/dist/CalorieCalculatorSection.js +851 -0
  47. package/dist/CheckBoxInput.cjs +1 -1
  48. package/dist/CheckBoxInput.js +3 -3
  49. package/dist/Chip.cjs +2 -2
  50. package/dist/Chip.js +3 -3
  51. package/dist/ColorInput.cjs +1 -1
  52. package/dist/ColorInput.js +4 -4
  53. package/dist/ConfirmationForm.cjs +2 -2
  54. package/dist/ConfirmationForm.js +3 -3
  55. package/dist/CustomLoanMapSection.cjs +1 -1
  56. package/dist/CustomLoanMapSection.js +2 -2
  57. package/dist/{CustomStyles-BMY2-z7P.js → CustomStyles-BwnfUVvi.js} +8 -8
  58. package/dist/{CustomStyles-zroEcINq.cjs → CustomStyles-DUDHRSkh.cjs} +2 -2
  59. package/dist/DataView.cjs +1 -1
  60. package/dist/DataView.js +1 -1
  61. package/dist/DateInput.cjs +4 -4
  62. package/dist/DateInput.js +76 -80
  63. package/dist/DecimalInput.cjs +3 -3
  64. package/dist/DecimalInput.js +4 -4
  65. package/dist/DecimalInputV2.cjs +2 -2
  66. package/dist/DecimalInputV2.js +3 -3
  67. package/dist/DetailedProductsSection.cjs +1 -1
  68. package/dist/DetailedProductsSection.js +4 -4
  69. package/dist/DetailsView.cjs +2 -2
  70. package/dist/DetailsView.js +3 -3
  71. package/dist/DoubleRangeSlider.cjs +1 -1
  72. package/dist/DoubleRangeSlider.js +3 -3
  73. package/dist/DragAndDropFile.cjs +6 -6
  74. package/dist/DragAndDropFile.js +4 -4
  75. package/dist/DragDropFiles.cjs +1 -1
  76. package/dist/DragDropFiles.js +3 -3
  77. package/dist/Drawer.cjs +1 -1
  78. package/dist/Drawer.js +12 -12
  79. package/dist/Dropdown.cjs +1 -1
  80. package/dist/Dropdown.js +5 -5
  81. package/dist/DropdownItem.cjs +1 -1
  82. package/dist/DropdownItem.js +10 -10
  83. package/dist/DropdownLookup.cjs +1 -1
  84. package/dist/DropdownLookup.js +5 -5
  85. package/dist/DropdownMenu.cjs +1 -1
  86. package/dist/DropdownMenu.js +6 -6
  87. package/dist/EditableTable.cjs +1 -1
  88. package/dist/EditableTable.js +3 -3
  89. package/dist/FieldOfInterestsMasonrySection.cjs +6 -6
  90. package/dist/FieldOfInterestsMasonrySection.js +43 -42
  91. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  92. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +3 -3
  93. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +3 -3
  94. package/dist/FieldOfInterestsWithTagsCardsSection.js +3 -3
  95. package/dist/FileInput.cjs +2 -2
  96. package/dist/FileInput.js +3 -3
  97. package/dist/FlexBox.cjs +1 -1
  98. package/dist/FlexBox.js +1 -1
  99. package/dist/FlexGridItem.cjs +1 -1
  100. package/dist/FlexGridItem.js +2 -2
  101. package/dist/FormField.cjs +1 -1
  102. package/dist/FormField.js +7 -7
  103. package/dist/FormView.cjs +2 -2
  104. package/dist/FormView.js +15 -15
  105. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  106. package/dist/GeneralWithTagsCardsSection.js +3 -3
  107. package/dist/GiftCardsSection.cjs +1 -1
  108. package/dist/GiftCardsSection.js +2 -2
  109. package/dist/Grid.cjs +1 -1
  110. package/dist/Grid.js +1 -1
  111. package/dist/GridItem.cjs +1 -1
  112. package/dist/GridItem.js +1 -1
  113. package/dist/Icon.cjs +2 -2
  114. package/dist/Icon.js +6 -6
  115. package/dist/IconButton.cjs +1 -1
  116. package/dist/IconButton.js +3 -3
  117. package/dist/Kanban.cjs +7 -7
  118. package/dist/Kanban.js +37 -41
  119. package/dist/KanbanActionsToolbar.cjs +1 -1
  120. package/dist/KanbanActionsToolbar.js +2 -2
  121. package/dist/{KanbanCard-BDyFaKYd.js → KanbanCard-BDRSqfVD.js} +2 -2
  122. package/dist/{KanbanCard-CofqdTrO.cjs → KanbanCard-CLOKZFYP.cjs} +1 -1
  123. package/dist/KanbanCard.cjs +1 -1
  124. package/dist/KanbanCard.js +3 -3
  125. package/dist/KanbanFooter.cjs +1 -1
  126. package/dist/KanbanFooter.js +2 -2
  127. package/dist/KanbanHeader.cjs +2 -2
  128. package/dist/KanbanHeader.js +2 -2
  129. package/dist/KanbanView.cjs +1 -1
  130. package/dist/KanbanView.js +3 -3
  131. package/dist/Link.cjs +2 -2
  132. package/dist/Link.js +6 -6
  133. package/dist/LocationSearchSection.cjs +53 -0
  134. package/dist/LocationSearchSection.js +108 -0
  135. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  136. package/dist/MasonryGeneralCardsSection.js +3 -3
  137. package/dist/MenuItem.cjs +2 -2
  138. package/dist/MenuItem.js +3 -3
  139. package/dist/Modal.cjs +1 -1
  140. package/dist/Modal.js +6 -6
  141. package/dist/MultiSelectDropdown.cjs +1 -1
  142. package/dist/MultiSelectDropdown.js +3 -3
  143. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  144. package/dist/MultiSelectDropdownLookup.js +3 -3
  145. package/dist/NestedDropdownItem.cjs +1 -1
  146. package/dist/NestedDropdownItem.js +9 -9
  147. package/dist/NestedMenuItem.cjs +2 -2
  148. package/dist/NestedMenuItem.js +8 -8
  149. package/dist/Notification.cjs +1 -1
  150. package/dist/Notification.js +1 -1
  151. package/dist/NotificationContainer.cjs +1 -1
  152. package/dist/NotificationContainer.js +3 -3
  153. package/dist/NotificationMessage.cjs +1 -1
  154. package/dist/NotificationMessage.js +3 -3
  155. package/dist/NumberInput.cjs +2 -2
  156. package/dist/NumberInput.js +4 -4
  157. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  158. package/dist/OverlayGeneralCardsSection.js +3 -3
  159. package/dist/PageLayout.cjs +2 -2
  160. package/dist/PageLayout.js +2 -2
  161. package/dist/Pagination.cjs +2 -2
  162. package/dist/Pagination.js +2 -2
  163. package/dist/PasswordInput.cjs +2 -2
  164. package/dist/PasswordInput.js +4 -4
  165. package/dist/PopoverContent.cjs +1 -1
  166. package/dist/PopoverContent.js +5 -5
  167. package/dist/PopoverDescription.cjs +1 -1
  168. package/dist/PopoverDescription.js +1 -1
  169. package/dist/PopoverHeading.cjs +1 -1
  170. package/dist/PopoverHeading.js +1 -1
  171. package/dist/PopoverTrigger.cjs +1 -1
  172. package/dist/PopoverTrigger.js +1 -1
  173. package/dist/ProductsWithBannerSection.cjs +1 -1
  174. package/dist/ProductsWithBannerSection.js +3 -3
  175. package/dist/ProgressBar.cjs +1 -1
  176. package/dist/ProgressBar.js +8 -8
  177. package/dist/QuizSection.cjs +1 -1
  178. package/dist/QuizSection.js +2 -2
  179. package/dist/RadioGroup.cjs +1 -1
  180. package/dist/RadioGroup.js +2 -2
  181. package/dist/RadioInput.cjs +1 -1
  182. package/dist/RadioInput.js +3 -3
  183. package/dist/RangeSlider.cjs +2 -2
  184. package/dist/RangeSlider.js +3 -3
  185. package/dist/SalesCampaignsSection.cjs +423 -0
  186. package/dist/SalesCampaignsSection.js +967 -0
  187. package/dist/SearchBar.cjs +1 -1
  188. package/dist/SearchBar.js +6 -6
  189. package/dist/Separator.cjs +1 -1
  190. package/dist/Separator.js +3 -3
  191. package/dist/ShopCardsSection.cjs +1 -1
  192. package/dist/ShopCardsSection.js +2 -2
  193. package/dist/Sidebar.cjs +1 -1
  194. package/dist/Sidebar.js +3 -3
  195. package/dist/SimpleCategoriesSection.cjs +9 -9
  196. package/dist/SimpleCategoriesSection.js +48 -44
  197. package/dist/SimpleProductsSection.cjs +1 -1
  198. package/dist/SimpleProductsSection.js +3 -3
  199. package/dist/Spinner.cjs +1 -1
  200. package/dist/Spinner.js +12 -12
  201. package/dist/Surface.cjs +2 -2
  202. package/dist/Surface.js +3 -3
  203. package/dist/SwipeableDrawer.cjs +2 -2
  204. package/dist/SwipeableDrawer.js +3 -3
  205. package/dist/TabItem.cjs +1 -1
  206. package/dist/TabItem.js +11 -11
  207. package/dist/Table.cjs +7 -7
  208. package/dist/Table.js +4 -4
  209. package/dist/TableView.cjs +1 -1
  210. package/dist/TableView.js +2 -2
  211. package/dist/Tabs.cjs +2 -2
  212. package/dist/Tabs.js +2 -2
  213. package/dist/TextAreaInput.cjs +12 -12
  214. package/dist/TextAreaInput.js +124 -112
  215. package/dist/TextInput.cjs +2 -2
  216. package/dist/TextInput.js +4 -4
  217. package/dist/ThemeProvider.cjs +10 -10
  218. package/dist/ThemeProvider.js +189 -187
  219. package/dist/TimeInput.cjs +2 -2
  220. package/dist/TimeInput.js +4 -4
  221. package/dist/Toggle.cjs +15 -15
  222. package/dist/Toggle.js +40 -50
  223. package/dist/TreeMenu.cjs +1 -1
  224. package/dist/TreeMenu.js +1 -1
  225. package/dist/TreeMenuSeparator.cjs +1 -1
  226. package/dist/TreeMenuSeparator.js +3 -3
  227. package/dist/UploadedFile.cjs +2 -2
  228. package/dist/UploadedFile.js +16 -16
  229. package/dist/UrgentSaleProductsSection.cjs +1 -1
  230. package/dist/UrgentSaleProductsSection.js +2 -2
  231. package/dist/{defineProperty-DHvxLH8G.cjs → defineProperty-CqVRDJI8.cjs} +1 -1
  232. package/dist/{defineProperty-B5pLF6px.js → defineProperty-DF3p0mVo.js} +5 -5
  233. package/dist/emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs +1 -0
  234. package/dist/emotion-element-f0de968e.browser.esm-CkCiQliQ.js +877 -0
  235. package/dist/{emotion-is-prop-valid.esm-CMrshNb7.cjs → emotion-is-prop-valid.esm-BNsx9k19.cjs} +1 -1
  236. package/dist/{emotion-is-prop-valid.esm-DkbeH1Xy.js → emotion-is-prop-valid.esm-CbWxtx4i.js} +1 -1
  237. package/dist/emotion-react.browser.esm-1R69UXoj.cjs +1 -0
  238. package/dist/emotion-react.browser.esm-C6iWxXPG.js +95 -0
  239. package/dist/{emotion-styled.browser.esm-BiK8DcgW.js → emotion-styled.browser.esm-CjCaF13H.js} +55 -53
  240. package/dist/emotion-styled.browser.esm-Cle7tAM9.cjs +1 -0
  241. package/dist/floating-ui.dom-CFbLeFcw.cjs +1 -0
  242. package/dist/floating-ui.dom-vNhdy5RI.js +947 -0
  243. package/dist/{floating-ui.react.esm-C4vrBVJU.cjs → floating-ui.react.esm-7Yt4LHw6.cjs} +1 -1
  244. package/dist/{floating-ui.react.esm-72DKnou_.js → floating-ui.react.esm-umB-tMXa.js} +3 -3
  245. package/dist/{index--Kmch3aI.js → index-64mXPFBC.js} +6724 -6724
  246. package/dist/{index-CvebWhtp.js → index-BlxaTV-D.js} +1 -1
  247. package/dist/{index-CkPex_K5.js → index-CHkb_Sj6.js} +2 -2
  248. package/dist/index-CT6_7UFb.js +350 -0
  249. package/dist/index-Cb_AeN9A.cjs +4 -0
  250. package/dist/{index-CNBqQrtK.js → index-CkWvbrVT.js} +1 -1
  251. package/dist/{index-BUChtubz.js → index-D-c5IxDk.js} +1 -1
  252. package/dist/{index-DKztZfzw.js → index-D6g5ZqyJ.js} +2 -2
  253. package/dist/{index-BP5r5zGN.cjs → index-DZoWlChs.cjs} +1 -1
  254. package/dist/{index-B67WqHGh.cjs → index-Dit169OA.cjs} +1 -1
  255. package/dist/{index-BmobrEkT.cjs → index-Dj5wZCVs.cjs} +1 -1
  256. package/dist/{index-CTJZaJ_S.js → index-DxdBg_r_.js} +1 -1
  257. package/dist/index-EeoArxOx.cjs +174 -0
  258. package/dist/index-Q_i-aqsF.cjs +95 -0
  259. package/dist/{index-C5vAqIS6.cjs → index-vXmvgZ2Y.cjs} +1 -1
  260. package/dist/index-wy-PXQR9.js +47 -0
  261. package/dist/index.cjs +1 -1
  262. package/dist/index.js +96 -92
  263. package/dist/{motion-Oud-wpUz.cjs → motion-B_VPZaJq.cjs} +1 -1
  264. package/dist/{motion-ecIGZGwI.js → motion-Ckekul_K.js} +1 -1
  265. package/dist/objectWithoutPropertiesLoose-BLga_MQA.cjs +1 -0
  266. package/dist/{objectWithoutPropertiesLoose-DwEN6RBQ.js → objectWithoutPropertiesLoose-DhwSMsjf.js} +1 -1
  267. package/dist/{react-toastify.esm-CkXGwKXL.js → react-toastify.esm--2awuizG.js} +1 -1
  268. package/dist/{react-toastify.esm-Dqcb4SQT.cjs → react-toastify.esm-Dq1k28O7.cjs} +1 -1
  269. package/dist/{style-BGQ1B_dp.js → style-6tSw9aqK.js} +1 -1
  270. package/dist/{style-BEUISPP7.cjs → style-BR3tIhP1.cjs} +1 -1
  271. package/dist/usePopover.cjs +1 -1
  272. package/dist/usePopover.js +6 -6
  273. package/dist/{utils-jiuifwtJ.js → utils-DtRLzzTZ.js} +224 -73
  274. package/dist/utils-NZLCh-J5.cjs +51 -0
  275. package/package.json +5 -2
  276. package/vite.config.js +12 -1
  277. package/dist/emotion-element-5486c51c.browser.esm-Bb4VkP8U.js +0 -886
  278. package/dist/emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs +0 -1
  279. package/dist/emotion-react.browser.esm-CN-s34fZ.js +0 -94
  280. package/dist/emotion-react.browser.esm-D7h2t2Bz.cjs +0 -1
  281. package/dist/emotion-styled.browser.esm-Cbp_XsK4.cjs +0 -1
  282. package/dist/floating-ui.dom-1F2mTXOe.cjs +0 -1
  283. package/dist/floating-ui.dom-BdUovkEr.js +0 -938
  284. package/dist/index-Ct1N7fF4.cjs +0 -174
  285. package/dist/objectWithoutPropertiesLoose-Bz3hwpmU.cjs +0 -1
  286. package/dist/utils-scuIeOqU.cjs +0 -51
@@ -1,4 +1,4 @@
1
- "use strict";const h=require("react/jsx-runtime"),d=require("react"),x=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),p=require("./index-BPVoEhTF.cjs"),oe=require("./Chip.cjs"),se=require("./emotion-react.browser.esm-D7h2t2Bz.cjs"),ae=require("./ThemeProvider.cjs"),_=require("./objectWithoutPropertiesLoose-Bz3hwpmU.cjs"),j=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),B=require("./setPrototypeOf-4aSEnBDm.cjs"),D=require("./index-Ct1N7fF4.cjs"),le=se.keyframes`
1
+ "use strict";const h=require("react/jsx-runtime"),d=require("react"),x=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),p=require("./index-BPVoEhTF.cjs"),oe=require("./Chip.cjs"),se=require("./emotion-react.browser.esm-1R69UXoj.cjs"),ae=require("./ThemeProvider.cjs"),_=require("./objectWithoutPropertiesLoose-BLga_MQA.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),B=require("./setPrototypeOf-4aSEnBDm.cjs"),D=require("./index-EeoArxOx.cjs"),le=se.keyframes`
2
2
  from {
3
3
  opacity: 0;
4
4
  }
package/dist/SearchBar.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { jsx as v, jsxs as _ } from "react/jsx-runtime";
2
- import E, { Children as ue, isValidElement as w, cloneElement as R, useState as M, createRef as ce, createElement as X } from "react";
3
- import { n as x } from "./emotion-styled.browser.esm-BiK8DcgW.js";
2
+ import E, { isValidElement as w, cloneElement as R, Children as ue, useState as M, createRef as ce, createElement as X } from "react";
3
+ import { n as x } from "./emotion-styled.browser.esm-CjCaF13H.js";
4
4
  import { P as u } from "./index-S5Cd7WrG.js";
5
5
  import de from "./Chip.js";
6
- import { k as pe } from "./emotion-react.browser.esm-CN-s34fZ.js";
6
+ import { k as pe } from "./emotion-react.browser.esm-C6iWxXPG.js";
7
7
  import { useTheme as fe } from "./ThemeProvider.js";
8
- import { _ as L } from "./objectWithoutPropertiesLoose-DwEN6RBQ.js";
9
- import { _ as V } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
+ import { _ as L } from "./objectWithoutPropertiesLoose-DhwSMsjf.js";
9
+ import { _ as V } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
10
  import { _ as me, a as he } from "./setPrototypeOf-CttqfWo1.js";
11
- import { R as $ } from "./index--Kmch3aI.js";
11
+ import { R as $ } from "./index-64mXPFBC.js";
12
12
  const ve = pe`
13
13
  from {
14
14
  opacity: 0;
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),l=require("react"),r=require("./index-BPVoEhTF.cjs"),m=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),u=require("./utils-scuIeOqU.cjs"),p=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),d=m.newStyled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),l=require("react"),r=require("./index-BPVoEhTF.cjs"),m=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),u=require("./utils-NZLCh-J5.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),d=m.newStyled.div`
2
2
  height: 1px;
3
3
  background-color: ${e=>u.getColorRgbaValue(e.theme,"MenuItem","default","enabled","separator")};
4
4
  margin-left: -0.25rem;
package/dist/Separator.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { forwardRef as l } from "react";
3
3
  import { P as r } from "./index-S5Cd7WrG.js";
4
- import { n } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
- import { a as i } from "./utils-jiuifwtJ.js";
6
- import { u as c } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
4
+ import { n } from "./emotion-styled.browser.esm-CjCaF13H.js";
5
+ import { b as i } from "./utils-DtRLzzTZ.js";
6
+ import { u as c } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const f = n.div`
8
8
  height: 1px;
9
9
  background-color: ${(e) => i(
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),_=require("react"),w=require("./Button.cjs"),v=require("./Icon.cjs"),p=require("./utils-scuIeOqU.cjs"),d=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),u=require("./consts-CtNoHdBj.cjs"),b=d.newStyled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),_=require("react"),w=require("./Button.cjs"),v=require("./Icon.cjs"),p=require("./utils-NZLCh-J5.cjs"),d=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),u=require("./consts-CtNoHdBj.cjs"),b=d.newStyled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -2,8 +2,8 @@ import { jsxs as t, jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as c, Fragment as y } from "react";
3
3
  import u from "./Button.js";
4
4
  import N from "./Icon.js";
5
- import { t as x, m as v, l as b } from "./utils-jiuifwtJ.js";
6
- import { n as f } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { t as x, m as v, l as b } from "./utils-DtRLzzTZ.js";
6
+ import { n as f } from "./emotion-styled.browser.esm-CjCaF13H.js";
7
7
  import { M as k } from "./consts-C1uHV4xc.js";
8
8
  const $ = f.div`
9
9
  display: flex;
package/dist/Sidebar.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),a=require("react"),i=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),x=require("./Icon.cjs"),g=require("./utils-scuIeOqU.cjs"),y=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),_=l.newStyled.aside`
1
+ "use strict";const t=require("react/jsx-runtime"),a=require("react"),i=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),x=require("./Icon.cjs"),g=require("./utils-NZLCh-J5.cjs"),y=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=l.newStyled.aside`
2
2
  direction: ${e=>e.placement=="right"?"rtl":"ltr"};
3
3
  position: relative;
4
4
  && {
package/dist/Sidebar.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsxs as g, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as S, useState as x, useEffect as C } from "react";
3
3
  import { P as s } from "./index-S5Cd7WrG.js";
4
- import { n as l } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
+ import { n as l } from "./emotion-styled.browser.esm-CjCaF13H.js";
5
5
  import y from "./Icon.js";
6
- import { u as $ } from "./utils-jiuifwtJ.js";
7
- import { u as _ } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
6
+ import { u as $ } from "./utils-DtRLzzTZ.js";
7
+ import { u as _ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const v = l.aside`
9
9
  direction: ${(e) => e.placement == "right" ? "rtl" : "ltr"};
10
10
  position: relative;
@@ -1,9 +1,9 @@
1
- "use strict";const r=require("react/jsx-runtime"),u=require("react"),h=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),g=require("./consts-CtNoHdBj.cjs"),b=require("./useDetectMobile-D6d5LpdL.cjs"),a=require("./utils-scuIeOqU.cjs"),f=require("./style-BEUISPP7.cjs"),v=require("./Button.cjs"),S=h.newStyled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),h=require("react"),p=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),w=require("./consts-CtNoHdBj.cjs"),y=require("./useDetectMobile-D6d5LpdL.cjs"),n=require("./utils-NZLCh-J5.cjs"),v=require("./style-BR3tIhP1.cjs"),j=require("./Button.cjs"),S=p.newStyled.div`
2
2
  display: grid;
3
- grid-template-columns: ${t=>"repeat(6, minmax(0, 1fr))"};
3
+ grid-template-columns: ${o=>"repeat(6, minmax(0, 1fr))"};
4
4
  gap: 2rem;
5
5
 
6
- @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
6
+ @media (max-width: ${w.MOBILE_SIZE_PX+"px"}) {
7
7
  display: flex;
8
8
  gap: 1rem;
9
9
  overflow-x: auto;
@@ -22,7 +22,7 @@
22
22
  /* Safari and Chrome */
23
23
  }
24
24
  }
25
- `,j=h.newStyled.div`
25
+ `,k=p.newStyled.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  gap: 0;
@@ -47,11 +47,11 @@
47
47
 
48
48
  & .card-content {
49
49
  padding: 0.75rem;
50
- ${a.truncateTextInRows(2)}
50
+ ${n.truncateTextInRows(2)}
51
51
  }
52
52
 
53
53
  & .card-content-2 {
54
- ${a.truncateTextInRows(2)}
54
+ ${n.truncateTextInRows(2)}
55
55
  }
56
56
 
57
57
  & img {
@@ -65,10 +65,10 @@
65
65
  width: 100%;
66
66
  min-height: 8.25rem;
67
67
  max-height: 8.25rem;
68
- ${a.linearGradientAnimation("-90deg")}
68
+ ${n.linearGradientAnimation("-90deg")}
69
69
  }
70
70
 
71
- @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
71
+ @media (max-width: ${w.MOBILE_SIZE_PX+"px"}) {
72
72
  min-width: 8.75rem;
73
73
  max-width: 8.75rem;
74
74
 
@@ -78,4 +78,4 @@
78
78
  max-height: 5.375rem;
79
79
  }
80
80
  }
81
- `,m=u.forwardRef((t,p)=>{const{uuid:n,image:o,name:i,onSelectCard:s=()=>{}}=t;return r.jsxs(j,{className:"simple-category-card",onClick:()=>s(n),children:[r.jsx("img",{src:o}),r.jsx("div",{className:"card-content",children:r.jsx("div",{className:"card-content-2",children:i})})]})}),x=u.forwardRef((t,p)=>{const{icon:n,title:o="Shop by category",items:i,buttonText:s,limit:l=12,handleOnClick:c}=t,w=b.useDetectMobile();return console.log("handleOnClick",c),r.jsxs(f.RegulatTitleSectionWrapper,{children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(n)&&r.jsx("i",{className:n}),r.jsx("span",{children:o})]}),!!c&&r.jsx(v,{type:"button",btnType:"tinted",color:"gray",onClick:c,borderRadius:"curved",children:s})]}),r.jsx(S,{limit:l,children:w===!0?i==null?void 0:i.map((e,d)=>r.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>onSelectCard==null?void 0:onSelectCard(y==null?void 0:y.uuid)},d)):i==null?void 0:i.slice(0,l).map((e,d)=>r.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>onSelectCard==null?void 0:onSelectCard(y==null?void 0:y.uuid)},d))})]})});module.exports=x;
81
+ `,g=h.forwardRef((o,l)=>{const{uuid:a,image:s,name:i,onSelectCard:c=()=>{}}=o;return r.jsxs(k,{className:"simple-category-card",onClick:()=>c(a),children:[r.jsx("img",{src:s}),r.jsx("div",{className:"card-content",children:r.jsx("div",{className:"card-content-2",children:i})})]})}),R=h.forwardRef((o,l)=>{const{icon:a,title:s="Shop by category",items:i,buttonText:c,buttonLink:m,limit:u=12,onButtonAction:b=()=>{},onSelectCard:t=()=>{}}=o,f=y.useDetectMobile();return r.jsxs(v.RegulatTitleSectionWrapper,{ref:l,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[n.isDefinedNotEmptyString(a)&&r.jsx("i",{className:a}),r.jsx("span",{children:s})]}),n.isDefinedNotEmptyString(m)&&r.jsx(j,{type:"button",btnType:"tinted",color:"gray",onClick:()=>b(m),borderRadius:"curved",children:c})]}),r.jsx(S,{limit:u,children:f===!0?i==null?void 0:i.map((e,d)=>r.jsx(g,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>t==null?void 0:t(e==null?void 0:e.uuid)},d)):i==null?void 0:i.slice(0,u).map((e,d)=>r.jsx(g,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>t==null?void 0:t(e==null?void 0:e.uuid)},d))})]})});module.exports=R;
@@ -1,17 +1,17 @@
1
- import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as h } from "react";
3
- import { n as g } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
- import { M as u } from "./consts-C1uHV4xc.js";
5
- import { u as b } from "./useDetectMobile-BC6EGaBc.js";
6
- import { t as s, m as v, k as C } from "./utils-jiuifwtJ.js";
7
- import { R as S } from "./style-BGQ1B_dp.js";
8
- import k from "./Button.js";
9
- const N = g.div`
1
+ import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as f } from "react";
3
+ import { n as b } from "./emotion-styled.browser.esm-CjCaF13H.js";
4
+ import { M as w } from "./consts-C1uHV4xc.js";
5
+ import { u as k } from "./useDetectMobile-BC6EGaBc.js";
6
+ import { t as h, m as S, k as g } from "./utils-DtRLzzTZ.js";
7
+ import { R as N } from "./style-6tSw9aqK.js";
8
+ import C from "./Button.js";
9
+ const R = b.div`
10
10
  display: grid;
11
11
  grid-template-columns: ${(a) => "repeat(6, minmax(0, 1fr))"};
12
12
  gap: 2rem;
13
13
 
14
- @media (max-width: ${u + "px"}) {
14
+ @media (max-width: ${w + "px"}) {
15
15
  display: flex;
16
16
  gap: 1rem;
17
17
  overflow-x: auto;
@@ -30,7 +30,7 @@ const N = g.div`
30
30
  /* Safari and Chrome */
31
31
  }
32
32
  }
33
- `, R = g.div`
33
+ `, $ = b.div`
34
34
  display: flex;
35
35
  flex-direction: column;
36
36
  gap: 0;
@@ -55,11 +55,11 @@ const N = g.div`
55
55
 
56
56
  & .card-content {
57
57
  padding: 0.75rem;
58
- ${s(2)}
58
+ ${h(2)}
59
59
  }
60
60
 
61
61
  & .card-content-2 {
62
- ${s(2)}
62
+ ${h(2)}
63
63
  }
64
64
 
65
65
  & img {
@@ -73,10 +73,10 @@ const N = g.div`
73
73
  width: 100%;
74
74
  min-height: 8.25rem;
75
75
  max-height: 8.25rem;
76
- ${v("-90deg")}
76
+ ${S("-90deg")}
77
77
  }
78
78
 
79
- @media (max-width: ${u + "px"}) {
79
+ @media (max-width: ${w + "px"}) {
80
80
  min-width: 8.75rem;
81
81
  max-width: 8.75rem;
82
82
 
@@ -86,68 +86,72 @@ const N = g.div`
86
86
  max-height: 5.375rem;
87
87
  }
88
88
  }
89
- `, p = h((a, f) => {
90
- const { uuid: t, image: n, name: i, onSelectCard: m = () => {
89
+ `, u = f((a, c) => {
90
+ const { uuid: o, image: m, name: i, onSelectCard: d = () => {
91
91
  } } = a;
92
- return /* @__PURE__ */ o(
93
- R,
92
+ return /* @__PURE__ */ n(
93
+ $,
94
94
  {
95
95
  className: "simple-category-card",
96
- onClick: () => m(t),
96
+ onClick: () => d(o),
97
97
  children: [
98
- /* @__PURE__ */ r("img", { src: n }),
98
+ /* @__PURE__ */ r("img", { src: m }),
99
99
  /* @__PURE__ */ r("div", { className: "card-content", children: /* @__PURE__ */ r("div", { className: "card-content-2", children: i }) })
100
100
  ]
101
101
  }
102
102
  );
103
- }), B = h((a, f) => {
103
+ }), D = f((a, c) => {
104
104
  const {
105
- icon: t,
106
- title: n = "Shop by category",
105
+ icon: o,
106
+ title: m = "Shop by category",
107
107
  items: i,
108
- buttonText: m,
109
- limit: c = 12,
110
- handleOnClick: d
111
- } = a, w = b();
112
- return console.log("handleOnClick", d), /* @__PURE__ */ o(S, { children: [
113
- /* @__PURE__ */ o("div", { className: "regular-title", children: [
114
- /* @__PURE__ */ o("div", { className: "regular-title-text", children: [
115
- C(t) && /* @__PURE__ */ r("i", { className: t }),
116
- /* @__PURE__ */ r("span", { children: n })
108
+ buttonText: d,
109
+ buttonLink: s,
110
+ limit: p = 12,
111
+ onButtonAction: v = () => {
112
+ },
113
+ onSelectCard: t = () => {
114
+ }
115
+ } = a, y = k();
116
+ return /* @__PURE__ */ n(N, { ref: c, children: [
117
+ /* @__PURE__ */ n("div", { className: "regular-title", children: [
118
+ /* @__PURE__ */ n("div", { className: "regular-title-text", children: [
119
+ g(o) && /* @__PURE__ */ r("i", { className: o }),
120
+ /* @__PURE__ */ r("span", { children: m })
117
121
  ] }),
118
- !!d && /* @__PURE__ */ r(
119
- k,
122
+ g(s) && /* @__PURE__ */ r(
123
+ C,
120
124
  {
121
125
  type: "button",
122
126
  btnType: "tinted",
123
127
  color: "gray",
124
- onClick: d,
128
+ onClick: () => v(s),
125
129
  borderRadius: "curved",
126
- children: m
130
+ children: d
127
131
  }
128
132
  )
129
133
  ] }),
130
- /* @__PURE__ */ r(N, { limit: c, children: w === !0 ? i == null ? void 0 : i.map((e, l) => /* @__PURE__ */ r(
131
- p,
134
+ /* @__PURE__ */ r(R, { limit: p, children: y === !0 ? i == null ? void 0 : i.map((e, l) => /* @__PURE__ */ r(
135
+ u,
132
136
  {
133
137
  uuid: e == null ? void 0 : e.uuid,
134
138
  image: e == null ? void 0 : e.image,
135
139
  name: e == null ? void 0 : e.name,
136
- onSelectCard: () => onSelectCard == null ? void 0 : onSelectCard(y == null ? void 0 : y.uuid)
140
+ onSelectCard: () => t == null ? void 0 : t(e == null ? void 0 : e.uuid)
137
141
  },
138
142
  l
139
- )) : i == null ? void 0 : i.slice(0, c).map((e, l) => /* @__PURE__ */ r(
140
- p,
143
+ )) : i == null ? void 0 : i.slice(0, p).map((e, l) => /* @__PURE__ */ r(
144
+ u,
141
145
  {
142
146
  uuid: e == null ? void 0 : e.uuid,
143
147
  image: e == null ? void 0 : e.image,
144
148
  name: e == null ? void 0 : e.name,
145
- onSelectCard: () => onSelectCard == null ? void 0 : onSelectCard(y == null ? void 0 : y.uuid)
149
+ onSelectCard: () => t == null ? void 0 : t(e == null ? void 0 : e.uuid)
146
150
  },
147
151
  l
148
152
  )) })
149
153
  ] });
150
154
  });
151
155
  export {
152
- B as default
156
+ D as default
153
157
  };
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),w=require("react"),h=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),q=require("./consts-CtNoHdBj.cjs"),y=require("./useDetectMobile-D6d5LpdL.cjs"),s=require("./index-BmobrEkT.cjs"),S=require("./index-B67WqHGh.cjs"),j=h.newStyled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),w=require("react"),h=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),q=require("./consts-CtNoHdBj.cjs"),y=require("./useDetectMobile-D6d5LpdL.cjs"),s=require("./index-Dj5wZCVs.cjs"),S=require("./index-Dit169OA.cjs"),j=h.newStyled.div`
2
2
  display: grid;
3
3
  grid-template-columns: repeat(6, 1fr);
4
4
  gap: 1.25rem;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as w, jsx as u } from "react/jsx-runtime";
2
2
  import { forwardRef as b } from "react";
3
- import { n as h } from "./emotion-styled.browser.esm-BiK8DcgW.js";
3
+ import { n as h } from "./emotion-styled.browser.esm-CjCaF13H.js";
4
4
  import { M as y } from "./consts-C1uHV4xc.js";
5
5
  import { u as k } from "./useDetectMobile-BC6EGaBc.js";
6
- import { S as m } from "./index-CkPex_K5.js";
7
- import { T as S } from "./index-CTJZaJ_S.js";
6
+ import { S as m } from "./index-CHkb_Sj6.js";
7
+ import { T as S } from "./index-DxdBg_r_.js";
8
8
  const v = h.div`
9
9
  display: grid;
10
10
  grid-template-columns: repeat(6, 1fr);
package/dist/Spinner.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),n=require("./index-BPVoEhTF.cjs"),i=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),u=require("./emotion-react.browser.esm-D7h2t2Bz.cjs"),t=require("./utils-scuIeOqU.cjs"),g=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),p={small:"0.6rem",medium:"0.7rem",large:"0.8rem"},b=(e,r)=>{if(e==="small")return`
1
+ "use strict";const s=require("react/jsx-runtime"),n=require("./index-BPVoEhTF.cjs"),i=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),u=require("./emotion-react.browser.esm-1R69UXoj.cjs"),t=require("./utils-NZLCh-J5.cjs"),g=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),p={small:"0.6rem",medium:"0.7rem",large:"0.8rem"},b=(e,r)=>{if(e==="small")return`
2
2
  width: ${r.sizes.small};
3
3
  height: ${r.sizes.small};
4
4
  `;if(e==="medium")return`
package/dist/Spinner.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
2
  import { P as n } from "./index-S5Cd7WrG.js";
3
- import { n as s } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
- import { k as p } from "./emotion-react.browser.esm-CN-s34fZ.js";
5
- import { g, a as i } from "./utils-jiuifwtJ.js";
6
- import { u as h } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
3
+ import { n as s } from "./emotion-styled.browser.esm-CjCaF13H.js";
4
+ import { k as p } from "./emotion-react.browser.esm-C6iWxXPG.js";
5
+ import { c as g, b as i } from "./utils-DtRLzzTZ.js";
6
+ import { u as h } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const u = {
8
8
  small: "0.6rem",
9
9
  medium: "0.7rem",
10
10
  large: "0.8rem"
11
- }, f = (e, r) => {
11
+ }, b = (e, r) => {
12
12
  if (e === "small")
13
13
  return `
14
14
  width: ${r.sizes.small};
@@ -24,7 +24,7 @@ const u = {
24
24
  width: ${r.sizes.large};
25
25
  height: ${r.sizes.large};
26
26
  `;
27
- }, b = p`
27
+ }, f = p`
28
28
  to {
29
29
  transform: rotate(360deg);
30
30
  }
@@ -51,7 +51,7 @@ const u = {
51
51
  }
52
52
  `, $ = s.div`
53
53
  display: inline-block;
54
- ${(e) => f(e.size, e.theme)}
54
+ ${(e) => b(e.size, e.theme)}
55
55
  border: ${(e) => `0.3125rem solid ${i(
56
56
  e.theme,
57
57
  "Spinner",
@@ -75,12 +75,12 @@ const u = {
75
75
  "background"
76
76
  )};
77
77
 
78
- animation: ${b} 0.8s ease-in-out infinite;
78
+ animation: ${f} 0.8s ease-in-out infinite;
79
79
  `, z = (e) => {
80
80
  const {
81
81
  label: r,
82
- className: a = "",
83
- style: l = {},
82
+ className: l = "",
83
+ style: a = {},
84
84
  size: m = "small",
85
85
  color: d = "primary"
86
86
  } = e, t = { theme: h(), size: m, color: d };
@@ -88,8 +88,8 @@ const u = {
88
88
  y,
89
89
  {
90
90
  ...t,
91
- className: "lnc-ui-spinner " + a,
92
- style: l,
91
+ className: "lnc-ui-spinner " + l,
92
+ style: a,
93
93
  label: r,
94
94
  children: [
95
95
  /* @__PURE__ */ o($, { ...t }),
package/dist/Surface.cjs CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";const x=require("react/jsx-runtime"),c=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),r=require("./index-BPVoEhTF.cjs"),s=require("./utils-scuIeOqU.cjs"),p=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),g=c.newStyled.div`
1
+ "use strict";const x=require("react/jsx-runtime"),p=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),r=require("./index-BPVoEhTF.cjs"),s=require("./utils-NZLCh-J5.cjs"),c=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=p.newStyled.div`
2
2
  padding: ${e=>e.padding};
3
3
  box-shadow: ${e=>s.getBoxShadowValue(e.theme,e.boxShadow)};
4
4
  border-radius: ${e=>s.getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
5
5
  width: ${e=>e.fullWidth?"100%":"fit-content"};
6
6
  border-top: 1px solid rgba(0, 0, 0, 0.04);
7
- `,o=({children:e,style:t={},className:d="",boxShadow:n="s",borderRadius:i="regular",padding:l="s",fullWidth:a=!1})=>{const u=p.useTheme(),m={xs:"0.25rem",s:"0.5rem",m:"0.75rem",l:"1rem",xl:"1.25rem",xxl:"1.5rem"};return x.jsx(g,{theme:u,style:t,className:"lnc-ui-surface "+d,borderRadius:i,boxShadow:n,padding:m[l],fullWidth:a,children:e})};o.propTypes={borderRadius:r.PropTypes.oneOf(["slight","regular","edged","curved","none"]),boxShadow:r.PropTypes.oneOf(["xs","s","m","l","xl","xxl"]),paddign:r.PropTypes.oneOf(["xs","s","m","l","xl","xxl"]),fullWidth:r.PropTypes.bool,className:r.PropTypes.string,style:r.PropTypes.object};module.exports=o;
7
+ `,o=({children:e,style:t={},className:d="",boxShadow:n="s",borderRadius:i="regular",padding:l="s",fullWidth:a=!1})=>{const u=c.useTheme(),m={xs:"0.25rem",s:"0.5rem",m:"0.75rem",l:"1rem",xl:"1.25rem",xxl:"1.5rem"};return x.jsx(g,{theme:u,style:t,className:"lnc-ui-surface "+d,borderRadius:i,boxShadow:n,padding:m[l],fullWidth:a,children:e})};o.propTypes={borderRadius:r.PropTypes.oneOf(["slight","regular","edged","curved","none"]),boxShadow:r.PropTypes.oneOf(["xs","s","m","l","xl","xxl"]),paddign:r.PropTypes.oneOf(["xs","s","m","l","xl","xxl"]),fullWidth:r.PropTypes.bool,className:r.PropTypes.string,style:r.PropTypes.object};module.exports=o;
package/dist/Surface.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { n as x } from "./emotion-styled.browser.esm-BiK8DcgW.js";
2
+ import { n as x } from "./emotion-styled.browser.esm-CjCaF13H.js";
3
3
  import { P as r } from "./index-S5Cd7WrG.js";
4
- import { j as u, b as f } from "./utils-jiuifwtJ.js";
5
- import { u as p } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
4
+ import { j as u, a as f } from "./utils-DtRLzzTZ.js";
5
+ import { u as p } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const g = x.div`
7
7
  padding: ${(e) => e.padding};
8
8
  box-shadow: ${(e) => u(e.theme, e.boxShadow)};
@@ -1,4 +1,4 @@
1
- "use strict";const g=require("react/jsx-runtime"),u=require("react"),t=require("./index-BPVoEhTF.cjs"),v=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),y=require("./utils-scuIeOqU.cjs"),V=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),X=(e,o,n,c,a)=>{if(e==="right"||e==="left"||o&&n)return"height: 100%;";if(!(o&&a===!0))return o?"height: "+c+";":"height: 0;"},Y=(e,o,n,c,a)=>{if(e==="top"||e==="bottom"||o&&n)return"width: 100%;";if(!(o&&a===!0))return o?"width: "+c+";":"width: 0;"},A=v.newStyled.div`
1
+ "use strict";const g=require("react/jsx-runtime"),u=require("react"),t=require("./index-BPVoEhTF.cjs"),v=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),y=require("./utils-NZLCh-J5.cjs"),V=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),X=(e,o,n,c,a)=>{if(e==="right"||e==="left"||o&&n)return"height: 100%;";if(!(o&&a===!0))return o?"height: "+c+";":"height: 0;"},Y=(e,o,n,c,a)=>{if(e==="top"||e==="bottom"||o&&n)return"width: 100%;";if(!(o&&a===!0))return o?"width: "+c+";":"width: 0;"},A=v.newStyled.div`
2
2
  touch-action: none;
3
3
  overflow: auto;
4
4
  max-height: ${e=>e.isOpen||e.unsetHeight===!1?"100dvh":0};
@@ -30,4 +30,4 @@
30
30
  height: ${e=>e.isOpen===!0&&e.enableOverlay===!0?"100dvh":0};
31
31
  width: ${e=>e.isOpen===!0&&e.enableOverlay===!0?"100vw":0};
32
32
  background-color: ${e=>e.overlayColor};
33
- `,$=u.forwardRef((e,o)=>{const{direction:n="right",open:c=!1,duration:a=.8,enableOverlay:x=!0,zIndex:m=100,closeOnClickOutside:O=!0,closeOnSwipe:d=!0,isFullPage:P=!1,unsetHeight:S=!1,unsetWidth:z=!1,onClose:C=()=>{},onOpen:D=()=>{},className:k="",style:q={},color:H="neutral",overlayColor:I="rgba(123, 123, 123, 0.5)",size:j="small",drawerSize:E="12.5rem",children:F,...W}=e,M=V.useTheme(),i=u.useRef(),[p,b]=u.useState(!1);var h=null,f=null;function _(r){return r.touches||r.originalEvent.touches}function R(r){const l=_(r)[0];h=l.clientX,f=l.clientY}function L(r){if(!(!h||!f)){var l=r.touches[0].clientX,U=r.touches[0].clientY,w=h-l,T=f-U;Math.abs(w)>Math.abs(T)?w>0?d==!0&&n=="left"&&s():d==!0&&n=="right"&&s():T>0?d==!0&&n=="top"&&s():d==!0&&n=="bottom"&&s(),h=null,f=null}}u.useImperativeHandle(o,()=>({open(){N()},close(){s()},isOpen(){return p}}));const N=r=>{b(!0),D(r)},s=r=>{b(!1),C(r)};return u.useEffect(()=>{const r=l=>{i!=null&&i.current&&!(i!=null&&i.current.contains(l.target))&&O==!0&&s()};return document.addEventListener("click",r,!0),()=>{document.removeEventListener("click",r,!0)}},[]),g.jsx(g.Fragment,{children:g.jsx(B,{enableOverlay:x,overlayColor:I,isOpen:p,zIndex:m,children:g.jsx(A,{ref:i,zIndex:m,isOpen:p,direction:n,isFullPage:P,unsetHeight:S,unsetWidth:z,duration:a,color:H,theme:M,className:k,style:q,size:j,drawerSize:E,onTouchStart:R,onTouchMove:L,...W,children:F})})})});$.propTypes={direction:t.PropTypes.oneOf(["top","right","left","bottom"]),open:t.PropTypes.bool,duration:t.PropTypes.number,enableOverlay:t.PropTypes.bool,zIndex:t.PropTypes.number,closeOnClickOutside:t.PropTypes.bool,closeOnSwipe:t.PropTypes.bool,isFullPage:t.PropTypes.bool,unsetHeight:t.PropTypes.bool,unsetWidth:t.PropTypes.bool,onClose:t.PropTypes.func,onOpen:t.PropTypes.func,className:t.PropTypes.string,style:t.PropTypes.object,overlayColor:t.PropTypes.string,drawerSize:t.PropTypes.string,size:t.PropTypes.oneOf(["small","medium","large"]),color:t.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"])};module.exports=$;
33
+ `,$=u.forwardRef((e,o)=>{const{direction:n="right",open:c=!1,duration:a=.8,enableOverlay:x=!0,zIndex:m=100,closeOnClickOutside:O=!0,closeOnSwipe:d=!0,isFullPage:P=!1,unsetHeight:S=!1,unsetWidth:z=!1,onClose:C=()=>{},onOpen:D=()=>{},className:k="",style:q={},color:F="neutral",overlayColor:H="rgba(123, 123, 123, 0.5)",size:I="small",drawerSize:j="12.5rem",children:E,...W}=e,M=V.useTheme(),i=u.useRef(),[p,b]=u.useState(!1);var h=null,f=null;function _(r){return r.touches||r.originalEvent.touches}function R(r){const l=_(r)[0];h=l.clientX,f=l.clientY}function L(r){if(!(!h||!f)){var l=r.touches[0].clientX,U=r.touches[0].clientY,w=h-l,T=f-U;Math.abs(w)>Math.abs(T)?w>0?d==!0&&n=="left"&&s():d==!0&&n=="right"&&s():T>0?d==!0&&n=="top"&&s():d==!0&&n=="bottom"&&s(),h=null,f=null}}u.useImperativeHandle(o,()=>({open(){N()},close(){s()},isOpen(){return p}}));const N=r=>{b(!0),D(r)},s=r=>{b(!1),C(r)};return u.useEffect(()=>{const r=l=>{i!=null&&i.current&&!(i!=null&&i.current.contains(l.target))&&O==!0&&s()};return document.addEventListener("click",r,!0),()=>{document.removeEventListener("click",r,!0)}},[]),g.jsx(g.Fragment,{children:g.jsx(B,{enableOverlay:x,overlayColor:H,isOpen:p,zIndex:m,children:g.jsx(A,{ref:i,zIndex:m,isOpen:p,direction:n,isFullPage:P,unsetHeight:S,unsetWidth:z,duration:a,color:F,theme:M,className:k,style:q,size:I,drawerSize:j,onTouchStart:R,onTouchMove:L,...W,children:E})})})});$.propTypes={direction:t.PropTypes.oneOf(["top","right","left","bottom"]),open:t.PropTypes.bool,duration:t.PropTypes.number,enableOverlay:t.PropTypes.bool,zIndex:t.PropTypes.number,closeOnClickOutside:t.PropTypes.bool,closeOnSwipe:t.PropTypes.bool,isFullPage:t.PropTypes.bool,unsetHeight:t.PropTypes.bool,unsetWidth:t.PropTypes.bool,onClose:t.PropTypes.func,onOpen:t.PropTypes.func,className:t.PropTypes.string,style:t.PropTypes.object,overlayColor:t.PropTypes.string,drawerSize:t.PropTypes.string,size:t.PropTypes.oneOf(["small","medium","large"]),color:t.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"])};module.exports=$;
@@ -1,9 +1,9 @@
1
1
  import { jsx as g, Fragment as Y } from "react/jsx-runtime";
2
2
  import { forwardRef as V, useRef as q, useState as A, useImperativeHandle as B, useEffect as G } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
- import { n as y } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
- import { a as $, g as J } from "./utils-jiuifwtJ.js";
6
- import { u as K } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
4
+ import { n as y } from "./emotion-styled.browser.esm-CjCaF13H.js";
5
+ import { b as $, c as J } from "./utils-DtRLzzTZ.js";
6
+ import { u as K } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const Q = (e, r, o, u, s) => {
8
8
  if (e === "right" || e === "left" || r && o) return "height: 100%;";
9
9
  if (!(r && s === !0))
package/dist/TabItem.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const z=require("react/jsx-runtime"),m=require("react"),r=require("./index-BPVoEhTF.cjs"),E=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./utils-scuIeOqU.cjs"),N=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),y=require("./useUpdateEffect-BtMgpgIV.cjs"),S=e=>e=="small"?"3.125rem":e=="medium"?"3.375rem":"3.625rem",_=E.newStyled.div`
1
+ "use strict";const z=require("react/jsx-runtime"),m=require("react"),r=require("./index-BPVoEhTF.cjs"),E=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),t=require("./utils-NZLCh-J5.cjs"),N=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),y=require("./useUpdateEffect-BtMgpgIV.cjs"),S=e=>e=="small"?"3.125rem":e=="medium"?"3.375rem":"3.625rem",_=E.newStyled.div`
2
2
  box-sizing: border-box;
3
3
  ${e=>e.disabled===!0&&t.getDisabledStateCss(e.theme)};
4
4
  min-width: 5.25rem;
package/dist/TabItem.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as j } from "react/jsx-runtime";
2
2
  import { forwardRef as D, useState as H } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
- import { n as I } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
- import { h as S, g as A, a as i, b as o } from "./utils-jiuifwtJ.js";
6
- import { u as F } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
4
+ import { n as I } from "./emotion-styled.browser.esm-CjCaF13H.js";
5
+ import { h as S, c as A, b as i, a as o } from "./utils-DtRLzzTZ.js";
6
+ import { u as F } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  import { u as h } from "./useUpdateEffect-CuYWz7EA.js";
8
8
  const K = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625rem", V = I.div`
9
9
  box-sizing: border-box;
@@ -101,21 +101,21 @@ const K = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625
101
101
  e,
102
102
  "regular"
103
103
  )} ${o(e, "regular")} 0`;
104
- }, y = (e, r, n, l, c, u) => {
104
+ }, y = (e, r, n, l, u, c) => {
105
105
  if (r != "pill")
106
- return `border-bottom: ${!l && (n || u == "hover") ? e.components[r === "regular" ? "TabRegular" : "TabUnderline"].default.enabled.lineHeight + "" : e.components[r === "regular" ? "TabRegular" : "TabUnderline"].default.hover.lineHeight + ""} solid ${i(
106
+ return `border-bottom: ${!l && (n || c == "hover") ? e.components[r === "regular" ? "TabRegular" : "TabUnderline"].default.enabled.lineHeight + "" : e.components[r === "regular" ? "TabRegular" : "TabUnderline"].default.hover.lineHeight + ""} solid ${i(
107
107
  e,
108
108
  a(r),
109
- c,
110
- n && !l ? "active" : l ? "enabled" : u,
109
+ u,
110
+ n && !l ? "active" : l ? "enabled" : c,
111
111
  "line"
112
112
  )}`;
113
113
  }, L = D((e, r) => {
114
114
  const {
115
115
  type: n = "underline",
116
116
  disabled: l,
117
- first: c = !1,
118
- last: u = !1,
117
+ first: u = !1,
118
+ last: c = !1,
119
119
  fullWidth: v = !1,
120
120
  active: d = !1,
121
121
  activeIndex: s,
@@ -161,8 +161,8 @@ const K = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625
161
161
  onKeyDown: T,
162
162
  disabled: l,
163
163
  type: n,
164
- first: c,
165
- last: u,
164
+ first: u,
165
+ last: c,
166
166
  fullWidth: v,
167
167
  active: z,
168
168
  ...N,