@lanaco/lnc-react-ui 4.0.30 → 4.0.32

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 (118) hide show
  1. package/dist/Accordion.js +3 -3
  2. package/dist/AccordionDetails.js +1 -1
  3. package/dist/AccordionSummary.js +3 -3
  4. package/dist/ActionsToolbar.js +2 -2
  5. package/dist/Alert.js +2 -2
  6. package/dist/Avatar.js +7 -7
  7. package/dist/Badge.js +3 -3
  8. package/dist/BannerSectionBasic.cjs +56 -0
  9. package/dist/BannerSectionBasic.js +112 -0
  10. package/dist/BannerSectionCarousel.js +1 -1
  11. package/dist/BannerSectionGrid.js +2 -2
  12. package/dist/BannerSectionSimple.js +1 -1
  13. package/dist/BannerSectionWithList.js +13 -13
  14. package/dist/BannerSectionWithListImage.js +1 -1
  15. package/dist/BrandHitsSection.js +2 -2
  16. package/dist/Breadcrumbs.js +3 -3
  17. package/dist/Button.js +3 -3
  18. package/dist/ButtonGroup.js +3 -3
  19. package/dist/CheckBoxInput.js +3 -3
  20. package/dist/Chip.js +3 -3
  21. package/dist/ColorInput.js +3 -3
  22. package/dist/ConfirmationForm.js +3 -3
  23. package/dist/{CustomStyles-C7wXBd9m.js → CustomStyles-DuADCM-0.js} +4 -4
  24. package/dist/DataView.js +1 -1
  25. package/dist/DateInput.js +5 -5
  26. package/dist/DecimalInput.js +3 -3
  27. package/dist/DecimalInputV2.js +3 -3
  28. package/dist/DetailedProductsSection.js +7 -7
  29. package/dist/DetailsView.js +3 -3
  30. package/dist/DoubleRangeSlider.js +3 -3
  31. package/dist/DragAndDropFile.js +4 -4
  32. package/dist/DragDropFiles.js +3 -3
  33. package/dist/Drawer.js +3 -3
  34. package/dist/Dropdown.js +3 -3
  35. package/dist/DropdownItem.js +3 -3
  36. package/dist/DropdownLookup.js +3 -3
  37. package/dist/DropdownMenu.js +3 -3
  38. package/dist/EditableTable.js +3 -3
  39. package/dist/FieldOfInterestsMasonrySection.js +6 -6
  40. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +5 -5
  41. package/dist/FieldOfInterestsWithTagsCardsSection.js +5 -5
  42. package/dist/FileInput.js +9 -9
  43. package/dist/FlexBox.js +1 -1
  44. package/dist/FlexGridItem.js +2 -2
  45. package/dist/FormField.js +3 -3
  46. package/dist/FormView.js +3 -3
  47. package/dist/GiftCardsSection.js +2 -2
  48. package/dist/Grid.js +1 -1
  49. package/dist/GridItem.js +1 -1
  50. package/dist/Icon.js +3 -3
  51. package/dist/IconButton.js +3 -3
  52. package/dist/Kanban.js +4 -4
  53. package/dist/KanbanActionsToolbar.js +2 -2
  54. package/dist/{KanbanCard-Du9Pc6tN.js → KanbanCard-BDyFaKYd.js} +2 -2
  55. package/dist/KanbanCard.js +3 -3
  56. package/dist/KanbanFooter.js +2 -2
  57. package/dist/KanbanHeader.js +2 -2
  58. package/dist/KanbanView.js +12 -12
  59. package/dist/Link.js +3 -3
  60. package/dist/MasonryGeneralCardsSection.js +3 -3
  61. package/dist/MenuItem.js +3 -3
  62. package/dist/Modal.js +5 -5
  63. package/dist/MultiSelectDropdown.js +2 -2
  64. package/dist/MultiSelectDropdownLookup.js +2 -2
  65. package/dist/NestedDropdownItem.js +5 -5
  66. package/dist/NestedMenuItem.js +5 -5
  67. package/dist/NotificationContainer.js +2 -2
  68. package/dist/NotificationMessage.js +3 -3
  69. package/dist/NumberInput.js +3 -3
  70. package/dist/PageLayout.js +2 -2
  71. package/dist/Pagination.js +2 -2
  72. package/dist/PasswordInput.js +3 -3
  73. package/dist/PopoverContent.js +4 -4
  74. package/dist/ProductsWithBannerSection.js +18 -18
  75. package/dist/ProgressBar.js +3 -3
  76. package/dist/RadioGroup.js +2 -2
  77. package/dist/RadioInput.js +3 -3
  78. package/dist/RangeSlider.js +3 -3
  79. package/dist/SearchBar.js +4 -4
  80. package/dist/Separator.js +3 -3
  81. package/dist/ShopCardsSection.cjs +234 -0
  82. package/dist/ShopCardsSection.js +359 -0
  83. package/dist/Sidebar.js +3 -3
  84. package/dist/SimpleProductsSection.js +3 -3
  85. package/dist/Spinner.js +4 -4
  86. package/dist/Surface.js +3 -3
  87. package/dist/SwipeableDrawer.js +3 -3
  88. package/dist/TabItem.js +3 -3
  89. package/dist/Table.js +3 -3
  90. package/dist/TableView.js +2 -2
  91. package/dist/Tabs.js +2 -2
  92. package/dist/TextAreaInput.js +24 -24
  93. package/dist/TextInput.js +3 -3
  94. package/dist/ThemeProvider.js +27 -27
  95. package/dist/TimeInput.js +10 -10
  96. package/dist/Toggle.js +7 -7
  97. package/dist/TreeMenu.js +1 -1
  98. package/dist/TreeMenuSeparator.js +3 -3
  99. package/dist/UploadedFile.js +3 -3
  100. package/dist/UrgentSaleProductsSection.js +2 -2
  101. package/dist/{defineProperty-BHpTtkhC.js → defineProperty-B5pLF6px.js} +8 -8
  102. package/dist/{emotion-element-5486c51c.browser.esm-CSejtOeT.js → emotion-element-5486c51c.browser.esm-Bb4VkP8U.js} +4 -4
  103. package/dist/{emotion-is-prop-valid.esm-BzFBwmJz.js → emotion-is-prop-valid.esm-DkbeH1Xy.js} +1 -1
  104. package/dist/{emotion-react.browser.esm-DAprMzO3.js → emotion-react.browser.esm-CN-s34fZ.js} +5 -5
  105. package/dist/{emotion-styled.browser.esm-BZSYYThs.js → emotion-styled.browser.esm-BiK8DcgW.js} +12 -12
  106. package/dist/{index-BLQWNy78.js → index-BUChtubz.js} +4 -4
  107. package/dist/{index--F2p-wtI.js → index-DGl-lSfF.js} +2 -2
  108. package/dist/{index-BqgD1XIq.js → index-DcYg32le.js} +1 -1
  109. package/dist/{index-Dt-3eIHg.js → index-jVpIwR2G.js} +4 -4
  110. package/dist/index.cjs +1 -56
  111. package/dist/index.js +216 -321
  112. package/dist/{motion-CtkUpWEn.js → motion-ecIGZGwI.js} +1 -1
  113. package/dist/{setPrototypeOf-a891FLQJ.js → setPrototypeOf-CttqfWo1.js} +2 -2
  114. package/dist/{style-D8LBrh3f.js → style-Ch-xOasu.js} +1 -1
  115. package/dist/{tslib.es6-ZNVz5r_T.js → tslib.es6-DQ-SzcmG.js} +5 -5
  116. package/dist/{utils-ROK9-zue.js → utils-DtEdJZWa.js} +17 -17
  117. package/package.json +3 -2
  118. package/vite.config.js +8 -0
@@ -1,9 +1,9 @@
1
1
  import { jsx as t, Fragment as u, jsxs as m } from "react/jsx-runtime";
2
2
  import { forwardRef as p } from "react";
3
3
  import _ from "./Button.js";
4
- import { n as d } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { o, t as c, p as g } from "./utils-ROK9-zue.js";
6
- import { u as w } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
4
+ import { n as d } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { m as o, t as c, k as g } from "./utils-DtEdJZWa.js";
6
+ import { u as w } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  import { M as f } from "./consts-DNVz1x1I.js";
8
8
  const b = d.div`
9
9
  display: flex;
package/dist/MenuItem.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsx as m, Fragment as G, jsxs as H } from "react/jsx-runtime";
2
2
  import { forwardRef as J, useRef as Q, useState as W, useEffect as X } from "react";
3
3
  import { P as o } from "./index-S5Cd7WrG.js";
4
- import { n as Z } from "./emotion-styled.browser.esm-BZSYYThs.js";
4
+ import { n as Z } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
5
  import k from "./Icon.js";
6
- import { a as i, g as I, h as v } from "./utils-ROK9-zue.js";
7
- import { u as ee } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
6
+ import { a as i, g as I, h as v } from "./utils-DtEdJZWa.js";
7
+ import { u as ee } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
8
  const ne = Z.div`
9
9
  box-sizing: border-box;
10
10
  cursor: ${(n) => n.disabled == !1 ? "pointer" : "context-menu"};
package/dist/Modal.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { jsx as t, Fragment as L, jsxs as D } from "react/jsx-runtime";
2
2
  import { forwardRef as z, useRef as X, useState as V, useImperativeHandle as q, useEffect as J } from "react";
3
3
  import { P as o } from "./index-S5Cd7WrG.js";
4
- import { n as C } from "./emotion-styled.browser.esm-BZSYYThs.js";
4
+ import { n as C } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
5
  import K from "./Icon.js";
6
- import { a as w } from "./utils-ROK9-zue.js";
6
+ import { a as w } from "./utils-DtEdJZWa.js";
7
7
  import { r as Q } from "./index--Kmch3aI.js";
8
- import { m as M } from "./motion-CtkUpWEn.js";
9
- import { u as Y } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
10
- import { A as R } from "./index-BLQWNy78.js";
8
+ import { m as M } from "./motion-ecIGZGwI.js";
9
+ import { u as Y } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
10
+ import { A as R } from "./index-BUChtubz.js";
11
11
  const f = "5rem", h = "3.8rem", a = "1.5rem", Z = (e, n, r) => n && r ? e == "FULL" ? `calc(100dvh - ${h} - ${f})` : `calc(100dvh - ${h} - ${f} - ${a})` : n ? e == "FULL" ? `calc(100dvh - ${h})` : `calc(100dvh - ${h} - ${a})` : r ? e == "FULL" ? `calc(100dvh - ${f})` : `calc(100dvh - ${f} - ${a})` : e == "FULL" ? "100dvh" : `calc(100dvh - ${a})`, P = (e) => e == "FULL" ? "100vw" : `calc(100vw - ${a})`, ee = (e, n, r) => e == "FULL" ? "0" : `${n ? "0" : "16px"} 0 ${r ? "0" : "16px"} 0`, oe = C(M.div)`
12
12
  position: ${(e) => e.scrollOverlay == !0 ? "absolute" : "fixed"};
13
13
  top: 0;
@@ -1,10 +1,10 @@
1
1
  import { jsx as O } from "react/jsx-runtime";
2
2
  import { P as e } from "./index-S5Cd7WrG.js";
3
3
  import { forwardRef as y, useCallback as h } from "react";
4
- import { a as M } from "./CustomStyles-C7wXBd9m.js";
4
+ import { a as M } from "./CustomStyles-DuADCM-0.js";
5
5
  import { d as S } from "./index-CNBqQrtK.js";
6
6
  import C from "./Dropdown.js";
7
- import { u as I } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
7
+ import { u as I } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
8
  const w = y((l, t) => {
9
9
  const {
10
10
  // options,
@@ -1,10 +1,10 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
2
  import { P as e } from "./index-S5Cd7WrG.js";
3
3
  import { forwardRef as y, useCallback as h } from "react";
4
- import { a as M } from "./CustomStyles-C7wXBd9m.js";
4
+ import { a as M } from "./CustomStyles-DuADCM-0.js";
5
5
  import { d as S } from "./index-CNBqQrtK.js";
6
6
  import C from "./DropdownLookup.js";
7
- import { u as I } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
7
+ import { u as I } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
8
  const T = y((l, t) => {
9
9
  const {
10
10
  // defaultOptions,
@@ -1,11 +1,11 @@
1
1
  import { jsxs as w, Fragment as p, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as b, useState as x, cloneElement as l, Children as P, isValidElement as O } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
- import { n as h } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { a as D } from "./utils-ROK9-zue.js";
6
- import { m as j } from "./motion-CtkUpWEn.js";
7
- import { u as Y } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
8
- import { A as C } from "./index-BLQWNy78.js";
4
+ import { n as h } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { a as D } from "./utils-DtEdJZWa.js";
6
+ import { m as j } from "./motion-ecIGZGwI.js";
7
+ import { u as Y } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
+ import { A as C } from "./index-BUChtubz.js";
9
9
  const z = h(j.div)`
10
10
  margin-left: 0.3rem;
11
11
  padding-left: 0.3rem;
@@ -1,11 +1,11 @@
1
1
  import { jsxs as x, Fragment as l, jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as O, useState as P, cloneElement as u, Children as h, isValidElement as z } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
- import { n as $ } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { a as j } from "./utils-ROK9-zue.js";
6
- import { m as D } from "./motion-CtkUpWEn.js";
7
- import { u as Y } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
8
- import { A as C } from "./index-BLQWNy78.js";
4
+ import { n as $ } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { a as j } from "./utils-DtEdJZWa.js";
6
+ import { m as D } from "./motion-ecIGZGwI.js";
7
+ import { u as Y } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
+ import { A as C } from "./index-BUChtubz.js";
9
9
  const A = $(D.div)`
10
10
  ${(o) => o.tuckIn == !0 && `margin-left: ${o.tuckInSize};`}
11
11
  ${(o) => o.tuckIn == !0 && `padding-left: ${o.tuckInSize};`}
@@ -1,9 +1,9 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as O } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
- import { n as _ } from "./emotion-styled.browser.esm-BZSYYThs.js";
4
+ import { n as _ } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
5
  import { T as v } from "./react-toastify.esm-CkXGwKXL.js";
6
- import { a as e, b as C } from "./utils-ROK9-zue.js";
6
+ import { a as e, b as C } from "./utils-DtEdJZWa.js";
7
7
  import { useTheme as $ } from "./ThemeProvider.js";
8
8
  const P = _.div`
9
9
  & .lnc-notification {
@@ -1,11 +1,11 @@
1
1
  import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as N } from "react";
3
3
  import { P as i } from "./index-S5Cd7WrG.js";
4
- import { n as w } from "./emotion-styled.browser.esm-BZSYYThs.js";
4
+ import { n as w } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
5
  import v from "./Icon.js";
6
- import { g as $, a as s, c as B } from "./utils-ROK9-zue.js";
6
+ import { g as $, a as s, c as B } from "./utils-DtEdJZWa.js";
7
7
  import P from "./Avatar.js";
8
- import { u as z } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
8
+ import { u as z } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
9
9
  const T = w.div`
10
10
  ${(t) => $(t.theme, "Notification", "small", "enabled")};
11
11
 
@@ -2,9 +2,9 @@ import { jsxs as A, jsx as g } from "react/jsx-runtime";
2
2
  import { P as n } from "./index-S5Cd7WrG.js";
3
3
  import { forwardRef as P, useState as C, useEffect as W, useCallback as G } from "react";
4
4
  import { d as M } from "./index-CNBqQrtK.js";
5
- import { n as i } from "./emotion-styled.browser.esm-BZSYYThs.js";
6
- import { e as d, a, b as U, f as D, h as S, g as X } from "./utils-ROK9-zue.js";
7
- import { u as q } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
5
+ import { n as i } from "./emotion-styled.browser.esm-BiK8DcgW.js";
6
+ import { d, a, b as U, e as D, h as S, g as X } from "./utils-DtEdJZWa.js";
7
+ import { u as q } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
8
  const H = i.div`
9
9
  display: flex;
10
10
  align-items: center;
@@ -1,8 +1,8 @@
1
1
  import { jsx as E } from "react/jsx-runtime";
2
2
  import { forwardRef as S, Children as d, isValidElement as T, cloneElement as y } from "react";
3
3
  import { P as L } from "./index-S5Cd7WrG.js";
4
- import { n as C } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { u as Y } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
4
+ import { n as C } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { u as Y } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
6
6
  const w = C.section`
7
7
  display: flex;
8
8
  flex: auto;
@@ -4,8 +4,8 @@ import { P as t } from "./index-S5Cd7WrG.js";
4
4
  import h from "./Button.js";
5
5
  import b from "./IconButton.js";
6
6
  import U from "./ButtonGroup.js";
7
- import { n as O } from "./emotion-styled.browser.esm-BZSYYThs.js";
8
- import { u as q } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
7
+ import { n as O } from "./emotion-styled.browser.esm-BiK8DcgW.js";
8
+ import { u as q } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
9
9
  import { u as w } from "./useUpdateEffect-CuYWz7EA.js";
10
10
  const D = O.div`
11
11
  display: inline-flex;
@@ -3,9 +3,9 @@ import { forwardRef as A, useRef as G, useState as $, useEffect as I, useCallbac
3
3
  import { P as n } from "./index-S5Cd7WrG.js";
4
4
  import { d as J } from "./index-CNBqQrtK.js";
5
5
  import K from "./Icon.js";
6
- import { n as m } from "./emotion-styled.browser.esm-BZSYYThs.js";
7
- import { e as g, a, b as M, f as Q, h as O, g as X } from "./utils-ROK9-zue.js";
8
- import { u as Y } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
6
+ import { n as m } from "./emotion-styled.browser.esm-BiK8DcgW.js";
7
+ import { d as g, a, b as M, e as Q, h as O, g as X } from "./utils-DtEdJZWa.js";
8
+ import { u as Y } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
9
9
  const Z = m.div`
10
10
  display: flex;
11
11
  align-items: center;
@@ -3,10 +3,10 @@ import { forwardRef as c, useContext as b } from "react";
3
3
  import { a as f, F as u, b as g } from "./floating-ui.react.esm-72DKnou_.js";
4
4
  import { P as a } from "./index-S5Cd7WrG.js";
5
5
  import h from "./PopoverContext.js";
6
- import { n as x } from "./emotion-styled.browser.esm-BZSYYThs.js";
7
- import { c as y, b as P, a as v } from "./utils-ROK9-zue.js";
8
- import { m as w } from "./motion-CtkUpWEn.js";
9
- import { u as C } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
6
+ import { n as x } from "./emotion-styled.browser.esm-BiK8DcgW.js";
7
+ import { c as y, b as P, a as v } from "./utils-DtEdJZWa.js";
8
+ import { m as w } from "./motion-ecIGZGwI.js";
9
+ import { u as C } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
10
10
  const F = x(w.div)`
11
11
  font-family: ${(o) => {
12
12
  var t, r;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as g } from "react";
3
- import { n as s } from "./emotion-styled.browser.esm-BZSYYThs.js";
3
+ import { n as s } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
4
  import { M as f } from "./consts-DNVz1x1I.js";
5
5
  import { u as w } from "./useDetectMobile-BookNOsk.js";
6
- import { R as v } from "./style-D8LBrh3f.js";
7
- import { t as k, o as h, q as y, p as N } from "./utils-ROK9-zue.js";
6
+ import { R as v } from "./style-Ch-xOasu.js";
7
+ import { t as k, m as h, l as y, k as N } from "./utils-DtEdJZWa.js";
8
8
  const S = s.div`
9
9
  width: 100%;
10
10
  height: 22.5rem;
@@ -24,7 +24,7 @@ const S = s.div`
24
24
  }
25
25
  `, $ = s.div`
26
26
  display: grid;
27
- grid-template-columns: ${(o) => `repeat(${o.limit}, minmax(0, 1fr))`};
27
+ grid-template-columns: ${(a) => `repeat(${a.limit}, minmax(0, 1fr))`};
28
28
  gap: 1.25rem;
29
29
 
30
30
  @media (max-width: ${f + "px"}) {
@@ -94,37 +94,37 @@ const S = s.div`
94
94
  object-fit: cover;
95
95
  }
96
96
  }
97
- `, u = g((o, c) => {
97
+ `, u = g((a, c) => {
98
98
  const {
99
- uuid: n,
99
+ uuid: l,
100
100
  title: i,
101
- image: a,
101
+ image: o,
102
102
  sellerUuid: p,
103
103
  onSelectCard: t = () => {
104
104
  },
105
105
  imageComponent: d
106
- } = o;
106
+ } = a;
107
107
  return /* @__PURE__ */ m(j, { className: "product-card", onClick: t, children: [
108
- y(d) ? d : /* @__PURE__ */ r("img", { src: a }),
108
+ y(d) ? d : /* @__PURE__ */ r("img", { src: o }),
109
109
  /* @__PURE__ */ r("div", { className: "card-title", children: i })
110
110
  ] });
111
- }), P = g((o, c) => {
111
+ }), P = g((a, c) => {
112
112
  const {
113
- icon: n,
113
+ icon: l,
114
114
  items: i,
115
- limit: a = 4,
115
+ limit: o = 4,
116
116
  bannerImage: p,
117
117
  onSelectCard: t = () => {
118
118
  },
119
119
  title: d = "Season inspiration"
120
- } = o, b = w();
120
+ } = a, b = w();
121
121
  return /* @__PURE__ */ m(v, { ref: c, children: [
122
122
  /* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ m("div", { className: "regular-title-text", children: [
123
- N(n) && /* @__PURE__ */ r("i", { className: n }),
123
+ N(l) && /* @__PURE__ */ r("i", { className: l }),
124
124
  /* @__PURE__ */ r("span", { children: d })
125
125
  ] }) }),
126
126
  /* @__PURE__ */ r(S, { className: "products-banner", children: /* @__PURE__ */ r("img", { src: p }) }),
127
- /* @__PURE__ */ r($, { limit: a, children: b === !0 ? i == null ? void 0 : i.map((e, l) => /* @__PURE__ */ r(
127
+ /* @__PURE__ */ r($, { limit: o, children: b === !0 ? i == null ? void 0 : i.map((e, n) => /* @__PURE__ */ r(
128
128
  u,
129
129
  {
130
130
  title: e == null ? void 0 : e.title,
@@ -133,8 +133,8 @@ const S = s.div`
133
133
  uuid: e == null ? void 0 : e.uuid,
134
134
  onSelectCard: () => t == null ? void 0 : t(e == null ? void 0 : e.uuid)
135
135
  },
136
- l
137
- )) : i == null ? void 0 : i.slice(0, a).map((e, l) => /* @__PURE__ */ r(
136
+ n
137
+ )) : i == null ? void 0 : i.slice(0, o).map((e, n) => /* @__PURE__ */ r(
138
138
  u,
139
139
  {
140
140
  title: e == null ? void 0 : e.title,
@@ -143,7 +143,7 @@ const S = s.div`
143
143
  uuid: e == null ? void 0 : e.uuid,
144
144
  onSelectCard: () => t == null ? void 0 : t(e == null ? void 0 : e.uuid)
145
145
  },
146
- l
146
+ n
147
147
  )) })
148
148
  ] });
149
149
  });
@@ -1,9 +1,9 @@
1
1
  import { jsxs as g, jsx as h } from "react/jsx-runtime";
2
2
  import { forwardRef as f, isValidElement as P, cloneElement as y } from "react";
3
3
  import { P as r } from "./index-S5Cd7WrG.js";
4
- import { n as t } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { a as n, g as x } from "./utils-ROK9-zue.js";
6
- import { u as w } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
4
+ import { n as t } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { a as n, g as x } from "./utils-DtEdJZWa.js";
6
+ import { u as w } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const $ = t.div`
8
8
  width: 100%;
9
9
  position: relative;
@@ -1,9 +1,9 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useState as j, useEffect as z } from "react";
3
- import { n as R } from "./emotion-styled.browser.esm-BZSYYThs.js";
3
+ import { n as R } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
4
  import { P as e } from "./index-S5Cd7WrG.js";
5
5
  import T from "./RadioInput.js";
6
- import { u as k } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
6
+ import { u as k } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const N = R.div`
8
8
  display: inline-flex;
9
9
  flex-direction: ${(r) => r.inline === !0 ? "row" : "column"};
@@ -1,9 +1,9 @@
1
1
  import { jsxs as b, jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useState as j } from "react";
3
- import { n as g } from "./emotion-styled.browser.esm-BZSYYThs.js";
3
+ import { n as g } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
4
  import { P as i } from "./index-S5Cd7WrG.js";
5
- import { e as f, g as N, f as T, a as t } from "./utils-ROK9-zue.js";
6
- import { u as F } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
5
+ import { d as f, g as N, e as T, a as t } from "./utils-DtEdJZWa.js";
6
+ import { u as F } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const I = (e) => e == "left" ? "row-reverse" : "row", D = g.label`
8
8
  min-height: ${(e) => f(e.theme, e.size)};
9
9
  max-height: ${(e) => f(e.theme, e.size)};
@@ -1,9 +1,9 @@
1
1
  import { jsxs as O, jsx as t, Fragment as W } from "react/jsx-runtime";
2
- import { n as x } from "./emotion-styled.browser.esm-BZSYYThs.js";
2
+ import { n as x } from "./emotion-styled.browser.esm-BiK8DcgW.js";
3
3
  import { P as n } from "./index-S5Cd7WrG.js";
4
4
  import { forwardRef as X, useRef as q, useState as v, useCallback as A, useEffect as M } from "react";
5
- import { b as D, a as o, g as G, e as H } from "./utils-ROK9-zue.js";
6
- import { u as J } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
5
+ import { b as D, a as o, g as G, d as H } from "./utils-DtEdJZWa.js";
6
+ import { u as J } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  import { u as K } from "./useUpdateEffect-CuYWz7EA.js";
8
8
  const Q = ({ theme: e, size: i }) => {
9
9
  var u = H(e, i);
package/dist/SearchBar.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { jsx as v, jsxs as _ } from "react/jsx-runtime";
2
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-BZSYYThs.js";
3
+ import { n as x } from "./emotion-styled.browser.esm-BiK8DcgW.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-DAprMzO3.js";
6
+ import { k as pe } from "./emotion-react.browser.esm-CN-s34fZ.js";
7
7
  import { useTheme as fe } from "./ThemeProvider.js";
8
8
  import { _ as L } from "./objectWithoutPropertiesLoose-DwEN6RBQ.js";
9
- import { _ as V } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
10
- import { a as me, _ as he } from "./setPrototypeOf-a891FLQJ.js";
9
+ import { _ as V } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
10
+ import { _ as me, a as he } from "./setPrototypeOf-CttqfWo1.js";
11
11
  import { R as $ } from "./index--Kmch3aI.js";
12
12
  const ve = pe`
13
13
  from {
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-BZSYYThs.js";
5
- import { a as i } from "./utils-ROK9-zue.js";
6
- import { u as c } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
4
+ import { n } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { a as i } from "./utils-DtEdJZWa.js";
6
+ import { u as c } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const f = n.div`
8
8
  height: 1px;
9
9
  background-color: ${(e) => i(
@@ -0,0 +1,234 @@
1
+ "use strict";const i=require("react/jsx-runtime"),_=require("react"),w=require("./Button.cjs"),v=require("./Icon.cjs"),m=require("./utils-CE6bljYe.cjs"),h=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),u=require("./consts-dNz9tpt4.cjs"),j=h.newStyled.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ border-radius: 1.25rem;
6
+ border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
7
+ background: var(--Lanaco-Gray-white, #fff);
8
+
9
+ /* drop-shadow-sm */
10
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
11
+
12
+ & .wrapper__content {
13
+ display: flex;
14
+ padding: 1.25rem;
15
+ flex-direction: column;
16
+ align-items: center;
17
+ gap: 0.75rem;
18
+ align-self: strech;
19
+
20
+ & .wrapper__image {
21
+ object-fit: cover;
22
+ aspect-ratio: 1 / 1;
23
+ max-height: 4rem;
24
+ border-radius: 999px;
25
+
26
+ &:hover {
27
+ cursor: pointer;
28
+ }
29
+ }
30
+ }
31
+
32
+ & .wrapper__info {
33
+ display: flex;
34
+ flex-direction: column;
35
+ align-items: center;
36
+ gap: 0.375rem;
37
+
38
+ & .wrapper__title {
39
+ color: var(--gray-950, #14161a);
40
+ font-size: 1rem;
41
+ font-style: normal;
42
+ font-weight: 500;
43
+ line-height: 1.5rem;
44
+ letter-spacing: -0.0112rem;
45
+ ${m.truncateTextInRows(2)}
46
+ }
47
+
48
+ & .wrapper__subtitle {
49
+ color: var(--gray-600, #676e79);
50
+ text-align: center;
51
+ font-size: 0.875rem;
52
+ font-style: normal;
53
+ font-weight: 400;
54
+ line-height: 1.25rem;
55
+ letter-spacing: -0.0056rem;
56
+ ${m.truncateTextInRows(2)}
57
+ }
58
+
59
+ & .wrapper__badges {
60
+ }
61
+
62
+ & .wrapper__rating {
63
+ display: flex;
64
+ align-items: center;
65
+ gap: 0.25rem;
66
+
67
+ & .wrapper__star {
68
+ color: var(--gray-950, #14161a);
69
+ }
70
+
71
+ & .wrapper__review-count {
72
+ color: var(--gray-600, #676e79);
73
+ font-size: 0.75rem;
74
+ font-style: normal;
75
+ font-weight: 400;
76
+ line-height: 1rem;
77
+ letter-spacing: 0.01px;
78
+ }
79
+ }
80
+ }
81
+
82
+ & .wrapper__products {
83
+ display: flex;
84
+ align-items: flex-start;
85
+ column-gap: 1px;
86
+ width: 100%;
87
+
88
+ & .wrapper__product {
89
+ overflow: hidden;
90
+ cursor: pointer;
91
+ width: 100%;
92
+ max-height: 5.75rem;
93
+
94
+ &:first-child {
95
+ border-radius: 0 0 0 1.25rem;
96
+ }
97
+
98
+ &:last-child {
99
+ border-radius: 0 0 1.25rem 0;
100
+ }
101
+
102
+ & .product__image {
103
+ width: 100%;
104
+ aspect-ratio: 1 / 1;
105
+ height: calc(100% / 3);
106
+ max-height: 5.75rem;
107
+ object-fit: cover;
108
+ }
109
+ }
110
+ }
111
+ `,y=h.newStyled.div`
112
+ display: flex;
113
+ flex-direction: column;
114
+ align-items: center;
115
+ flex: 1 0 0;
116
+ border-radius: 1.25rem;
117
+ border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
118
+ background: var(--Lanaco-Gray-white, #fff);
119
+ width: 100%;
120
+
121
+ /* drop-shadow-sm */
122
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
123
+
124
+ & .wrapper__content {
125
+ display: flex;
126
+ padding: 1.25rem;
127
+ flex-direction: column;
128
+ align-items: center;
129
+ gap: 0.75rem;
130
+ align-self: strech;
131
+ width: 100%;
132
+
133
+ & .wrapper__image {
134
+ width: 4rem;
135
+ height: 4rem;
136
+ border-radius: 999px;
137
+ background-color: ${m.linearGradientAnimation("-90deg")};
138
+ }
139
+ }
140
+
141
+ & .wrapper__info {
142
+ display: flex;
143
+ flex-direction: column;
144
+ align-items: center;
145
+ gap: 0.375rem;
146
+ width: 100%;
147
+
148
+ & .wrapper__info-item {
149
+ background-color: ${m.linearGradientAnimation("-90deg")};
150
+ height: 1rem;
151
+ width: 100%;
152
+ }
153
+ }
154
+ `,b=_.forwardRef(({image:a,imageComponent:p,title:t,subtitle:g,badges:x,rating:o,reviewCount:n,products:s,onSelectCard:d=()=>{}},f)=>i.jsxs(j,{onClick:d,children:[i.jsxs("div",{className:"wrapper__content",children:[m.isDefined(p)?p:i.jsx("img",{src:a,className:"wrapper__image"}),i.jsxs("div",{className:"wrapper__info",children:[i.jsx("div",{className:"wrapper__title",children:t}),i.jsx("div",{className:"wrapper__subtitle",children:g}),x&&i.jsx("div",{className:"wrapper__badges"}),o&&n&&i.jsxs("div",{className:"wrapper__rating",children:[i.jsx("div",{className:"wrapper_stars",children:[...Array(5).keys()].map((r,l)=>i.jsx(v,{icon:r<o?" mng-lnc-star--filled":" mng-lnc-star",className:"wrapper__star"},`shop-card-rating-star__${l+1}`))}),i.jsxs("div",{className:"wrapper__review-count",children:["(",n==null?void 0:n.toLocaleString(),")"]})]})]})]}),i.jsx("div",{className:"wrapper__products",children:s&&(s==null?void 0:s.map((r,l)=>i.jsx(_.Fragment,{children:i.jsx("div",{className:"wrapper__product",onClick:()=>{var e;return(e=r==null?void 0:r.onSelectProduct)==null?void 0:e.call(r,r==null?void 0:r.uuid)},children:m.isDefined(r==null?void 0:r.imageComponent)?r==null?void 0:r.imageComponent:i.jsx("img",{src:r==null?void 0:r.image,className:"product__image"})})},l)))})]})),N=_.forwardRef(({},a)=>i.jsx(y,{children:i.jsxs("div",{className:"wrapper__content",children:[i.jsx("div",{className:"wrapper__image"}),i.jsxs("div",{className:"wrapper__info",children:[i.jsx("div",{className:"wrapper__info-item"}),i.jsx("div",{className:"wrapper__info-item"}),i.jsx("div",{className:"wrapper__info-item"}),i.jsx("div",{className:"wrapper__info-item"})]})]})})),k=h.newStyled.div`
155
+ display: flex;
156
+ flex-direction: column;
157
+ align-items: flex-start;
158
+ gap: 1.5rem;
159
+
160
+ & .wrapper__heading {
161
+ display: flex;
162
+ flex-direction: column;
163
+ gap: 1rem;
164
+ width: 100%;
165
+
166
+ & .wrapper__title {
167
+ display: flex;
168
+ justify-content: space-between;
169
+
170
+ & .title__text {
171
+ color: var(--gray-950, #14161a);
172
+ text-align: center;
173
+ font-size: 1.5rem;
174
+ font-style: normal;
175
+ font-weight: 600;
176
+ line-height: 2rem;
177
+ letter-spacing: -0.47px;
178
+ }
179
+
180
+ & .title__action {
181
+ color: var(--gray-950, #14161a);
182
+ background: var(--neutral-9504, rgba(20, 22, 26, 0.04));
183
+
184
+ &:hover {
185
+ background: var(--neutral-9504, rgba(20, 22, 26, 0.12));
186
+ }
187
+
188
+ &:focus {
189
+ outline: none;
190
+ }
191
+ }
192
+ }
193
+
194
+ & .wrapper__subtitle {
195
+ color: var(---gray-600, #676e79);
196
+ font-size: 0.875rem;
197
+ font-style: normal;
198
+ font-weight: 400;
199
+ line-height: 1.25rem;
200
+ letter-spacing: 0.25px;
201
+ }
202
+ }
203
+
204
+ & .wrapper__cards {
205
+ display: grid;
206
+ grid-template-columns: ${a=>`repeat(${a==null?void 0:a.limitCards}, minmax(0, 1fr))`};
207
+ gap: 1.25rem;
208
+ justify-items: center;
209
+ align-items: center;
210
+ width: 100%;
211
+ }
212
+
213
+ @media (max-width: ${u.MOBILE_SIZE_PX+"px"}) {
214
+ & .wrapper__heading {
215
+ & .wrapper__title {
216
+ & .title__action {
217
+ display: none;
218
+ }
219
+ }
220
+ }
221
+
222
+ & .wrapper__cards {
223
+ grid-template-columns: ${a=>`repeat(${a==null?void 0:a.limitCardsForMobile}, minmax(0, 1fr))`};
224
+ gap: 1rem;
225
+ }
226
+ }
227
+
228
+ @media (max-width: 400px) {
229
+ & .wrapper__cards {
230
+ grid-template-columns: repeat(1, minmax(0, 1fr));
231
+ gap: 1rem;
232
+ }
233
+ }
234
+ `,$=_.forwardRef(({title:a,subtitle:p,cards:t,limitCards:g=4,limitCardsForMobile:x=2,actionText:o,onSelectCard:n=()=>{},onShowMore:s},d)=>{var l;const f=()=>{s==null||s()},r=e=>{n==null||n(e==null?void 0:e.uuid)};return i.jsxs(k,{limitCards:g,limitCardsForMobile:x,children:[i.jsxs("div",{className:"wrapper__heading",children:[i.jsxs("div",{className:"wrapper__title",children:[a&&i.jsx("div",{className:"title__text",children:a}),o&&s&&i.jsx(w,{text:o,borderRadius:"curved",btnType:"tinted",className:"title__action",onClick:f})]}),p&&i.jsx("div",{className:"wrapper__subtitle",children:p})]}),i.jsx("div",{className:"wrapper__cards",children:t&&(t==null?void 0:t.length)>0?t==null?void 0:t.map((e,c)=>i.jsx(b,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,subtitle:e==null?void 0:e.subtitle,image:e==null?void 0:e.image,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,products:e==null?void 0:e.products,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>r==null?void 0:r(e)},`shop-card__${c+1}`)):(l=Array.from("1234"))==null?void 0:l.map((e,c)=>i.jsx(N,{},`shop-card-skeleton__${c+1}`))})]})});module.exports=$;