@lanaco/lnc-react-ui 4.0.32 → 4.0.34

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 (206) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionSummary.cjs +1 -1
  4. package/dist/AccordionSummary.js +1 -1
  5. package/dist/ActionsToolbar.cjs +1 -1
  6. package/dist/ActionsToolbar.js +1 -1
  7. package/dist/Alert.cjs +1 -1
  8. package/dist/Alert.js +1 -1
  9. package/dist/Avatar.cjs +1 -1
  10. package/dist/Avatar.js +1 -1
  11. package/dist/Badge.cjs +1 -1
  12. package/dist/Badge.js +1 -1
  13. package/dist/BannerSectionBasic.cjs +1 -1
  14. package/dist/BannerSectionBasic.js +1 -1
  15. package/dist/BannerSectionCarousel.cjs +1 -1
  16. package/dist/BannerSectionCarousel.js +2 -2
  17. package/dist/BannerSectionGrid.cjs +1 -1
  18. package/dist/BannerSectionGrid.js +3 -3
  19. package/dist/BannerSectionSimple.cjs +1 -1
  20. package/dist/BannerSectionSimple.js +2 -2
  21. package/dist/BannerSectionWithList.cjs +1 -1
  22. package/dist/BannerSectionWithList.js +2 -2
  23. package/dist/BannerSectionWithListImage.cjs +1 -1
  24. package/dist/BannerSectionWithListImage.js +1 -1
  25. package/dist/BlogsSectionDetailed.cjs +111 -0
  26. package/dist/BlogsSectionDetailed.js +224 -0
  27. package/dist/BlogsSectionLarge.cjs +101 -0
  28. package/dist/BlogsSectionLarge.js +177 -0
  29. package/dist/BlogsSectionSimple.cjs +71 -0
  30. package/dist/BlogsSectionSimple.js +158 -0
  31. package/dist/BlogsSectionSimpleCentered.cjs +78 -0
  32. package/dist/BlogsSectionSimpleCentered.js +149 -0
  33. package/dist/BlogsSectionWithFilters.cjs +173 -0
  34. package/dist/BlogsSectionWithFilters.js +559 -0
  35. package/dist/BrandHitsSection.cjs +11 -7
  36. package/dist/BrandHitsSection.js +10 -6
  37. package/dist/Breadcrumbs.cjs +1 -1
  38. package/dist/Breadcrumbs.js +1 -1
  39. package/dist/Button.cjs +1 -1
  40. package/dist/Button.js +1 -1
  41. package/dist/ButtonGroup.cjs +1 -1
  42. package/dist/ButtonGroup.js +1 -1
  43. package/dist/CheckBoxInput.cjs +1 -1
  44. package/dist/CheckBoxInput.js +1 -1
  45. package/dist/Chip.cjs +1 -1
  46. package/dist/Chip.js +1 -1
  47. package/dist/ColorInput.cjs +1 -1
  48. package/dist/ColorInput.js +1 -1
  49. package/dist/ConfirmationForm.cjs +1 -1
  50. package/dist/ConfirmationForm.js +1 -1
  51. package/dist/CustomLoanMapSection.cjs +240 -0
  52. package/dist/CustomLoanMapSection.js +410 -0
  53. package/dist/{CustomStyles-DuADCM-0.js → CustomStyles-BWOJ2IOk.js} +1 -1
  54. package/dist/{CustomStyles-CBON9fD-.cjs → CustomStyles-DyqGX2oY.cjs} +1 -1
  55. package/dist/DateInput.cjs +1 -1
  56. package/dist/DateInput.js +1 -1
  57. package/dist/DecimalInput.cjs +1 -1
  58. package/dist/DecimalInput.js +1 -1
  59. package/dist/DecimalInputV2.cjs +1 -1
  60. package/dist/DecimalInputV2.js +1 -1
  61. package/dist/DetailedProductsSection.cjs +1 -1
  62. package/dist/DetailedProductsSection.js +5 -5
  63. package/dist/DetailsView.cjs +1 -1
  64. package/dist/DetailsView.js +1 -1
  65. package/dist/DoubleRangeSlider.cjs +1 -1
  66. package/dist/DoubleRangeSlider.js +1 -1
  67. package/dist/DragAndDropFile.cjs +1 -1
  68. package/dist/DragAndDropFile.js +1 -1
  69. package/dist/DragDropFiles.cjs +1 -1
  70. package/dist/DragDropFiles.js +1 -1
  71. package/dist/Drawer.cjs +1 -1
  72. package/dist/Drawer.js +1 -1
  73. package/dist/Dropdown.cjs +1 -1
  74. package/dist/Dropdown.js +2 -2
  75. package/dist/DropdownItem.cjs +1 -1
  76. package/dist/DropdownItem.js +1 -1
  77. package/dist/DropdownLookup.cjs +1 -1
  78. package/dist/DropdownLookup.js +1 -1
  79. package/dist/DropdownMenu.cjs +1 -1
  80. package/dist/DropdownMenu.js +1 -1
  81. package/dist/EditableTable.cjs +1 -1
  82. package/dist/EditableTable.js +1 -1
  83. package/dist/FieldOfInterestsMasonrySection.cjs +7 -7
  84. package/dist/FieldOfInterestsMasonrySection.js +24 -24
  85. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +11 -7
  86. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +62 -58
  87. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +37 -17
  88. package/dist/FieldOfInterestsWithTagsCardsSection.js +69 -49
  89. package/dist/FileInput.cjs +1 -1
  90. package/dist/FileInput.js +1 -1
  91. package/dist/FlexGridItem.cjs +1 -1
  92. package/dist/FlexGridItem.js +1 -1
  93. package/dist/FormField.cjs +1 -1
  94. package/dist/FormField.js +1 -1
  95. package/dist/FormView.cjs +1 -1
  96. package/dist/FormView.js +1 -1
  97. package/dist/GeneralWithTagsCardsSection.cjs +198 -0
  98. package/dist/GeneralWithTagsCardsSection.js +287 -0
  99. package/dist/GiftCardsSection.cjs +11 -7
  100. package/dist/GiftCardsSection.js +34 -30
  101. package/dist/Icon.cjs +1 -1
  102. package/dist/Icon.js +1 -1
  103. package/dist/IconButton.cjs +1 -1
  104. package/dist/IconButton.js +1 -1
  105. package/dist/Kanban.cjs +1 -1
  106. package/dist/Kanban.js +1 -1
  107. package/dist/KanbanActionsToolbar.cjs +1 -1
  108. package/dist/KanbanActionsToolbar.js +1 -1
  109. package/dist/KanbanView.cjs +1 -1
  110. package/dist/KanbanView.js +1 -1
  111. package/dist/Link.cjs +1 -1
  112. package/dist/Link.js +1 -1
  113. package/dist/MasonryGeneralCardsSection.cjs +6 -6
  114. package/dist/MasonryGeneralCardsSection.js +38 -36
  115. package/dist/MenuItem.cjs +1 -1
  116. package/dist/MenuItem.js +1 -1
  117. package/dist/Modal.cjs +1 -1
  118. package/dist/Modal.js +1 -1
  119. package/dist/MultiSelectDropdown.cjs +1 -1
  120. package/dist/MultiSelectDropdown.js +1 -1
  121. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  122. package/dist/MultiSelectDropdownLookup.js +1 -1
  123. package/dist/NestedDropdownItem.cjs +1 -1
  124. package/dist/NestedDropdownItem.js +1 -1
  125. package/dist/NestedMenuItem.cjs +1 -1
  126. package/dist/NestedMenuItem.js +1 -1
  127. package/dist/NotificationContainer.cjs +1 -1
  128. package/dist/NotificationContainer.js +1 -1
  129. package/dist/NotificationMessage.cjs +1 -1
  130. package/dist/NotificationMessage.js +1 -1
  131. package/dist/NumberInput.cjs +1 -1
  132. package/dist/NumberInput.js +1 -1
  133. package/dist/OverlayGeneralCardsSection.cjs +127 -0
  134. package/dist/OverlayGeneralCardsSection.js +183 -0
  135. package/dist/PasswordInput.cjs +1 -1
  136. package/dist/PasswordInput.js +1 -1
  137. package/dist/PopoverContent.cjs +1 -1
  138. package/dist/PopoverContent.js +1 -1
  139. package/dist/ProductsWithBannerSection.cjs +1 -1
  140. package/dist/ProductsWithBannerSection.js +4 -4
  141. package/dist/ProgressBar.cjs +1 -1
  142. package/dist/ProgressBar.js +1 -1
  143. package/dist/QuizSection.cjs +387 -0
  144. package/dist/QuizSection.js +697 -0
  145. package/dist/RadioInput.cjs +1 -1
  146. package/dist/RadioInput.js +1 -1
  147. package/dist/RangeSlider.cjs +1 -1
  148. package/dist/RangeSlider.js +1 -1
  149. package/dist/Separator.cjs +1 -1
  150. package/dist/Separator.js +1 -1
  151. package/dist/ShopCardsSection.cjs +8 -8
  152. package/dist/ShopCardsSection.js +50 -50
  153. package/dist/Sidebar.cjs +1 -1
  154. package/dist/Sidebar.js +1 -1
  155. package/dist/SimpleCategoriesSection.cjs +81 -0
  156. package/dist/SimpleCategoriesSection.js +153 -0
  157. package/dist/SimpleProductsSection.cjs +1 -1
  158. package/dist/SimpleProductsSection.js +4 -4
  159. package/dist/Spinner.cjs +1 -1
  160. package/dist/Spinner.js +1 -1
  161. package/dist/Surface.cjs +1 -1
  162. package/dist/Surface.js +1 -1
  163. package/dist/SwipeableDrawer.cjs +1 -1
  164. package/dist/SwipeableDrawer.js +1 -1
  165. package/dist/TabItem.cjs +1 -1
  166. package/dist/TabItem.js +1 -1
  167. package/dist/Table.cjs +1 -1
  168. package/dist/Table.js +1 -1
  169. package/dist/TableView.cjs +1 -1
  170. package/dist/TableView.js +1 -1
  171. package/dist/TextAreaInput.cjs +1 -1
  172. package/dist/TextAreaInput.js +1 -1
  173. package/dist/TextInput.cjs +1 -1
  174. package/dist/TextInput.js +1 -1
  175. package/dist/ThemeProvider.cjs +1 -1
  176. package/dist/ThemeProvider.js +25 -25
  177. package/dist/TimeInput.cjs +1 -1
  178. package/dist/TimeInput.js +1 -1
  179. package/dist/Toggle.cjs +1 -1
  180. package/dist/Toggle.js +1 -1
  181. package/dist/TreeMenuSeparator.cjs +1 -1
  182. package/dist/TreeMenuSeparator.js +1 -1
  183. package/dist/UploadedFile.cjs +1 -1
  184. package/dist/UploadedFile.js +1 -1
  185. package/dist/UrgentSaleProductsSection.cjs +1 -1
  186. package/dist/UrgentSaleProductsSection.js +3 -3
  187. package/dist/consts-C1uHV4xc.js +6 -0
  188. package/dist/consts-CtNoHdBj.cjs +1 -0
  189. package/dist/{index-jVpIwR2G.js → index-7XMd1kAv.js} +2 -2
  190. package/dist/{index-C2M7QHPq.cjs → index-B67WqHGh.cjs} +1 -1
  191. package/dist/{index-BlV3tdJ8.cjs → index-B6kVbS_M.cjs} +1 -1
  192. package/dist/{index-DcYg32le.js → index-CTJZaJ_S.js} +1 -1
  193. package/dist/{index-DGl-lSfF.js → index-HV_Ku4ub.js} +1 -1
  194. package/dist/{index-LdP7U1Yl.cjs → index-mIxT8eNX.cjs} +1 -1
  195. package/dist/index.cjs +1 -1
  196. package/dist/index.js +51 -47
  197. package/dist/{style-C3OB0uad.cjs → style-BEUISPP7.cjs} +5 -5
  198. package/dist/{style-Ch-xOasu.js → style-BGQ1B_dp.js} +7 -8
  199. package/dist/{useDetectMobile-BookNOsk.js → useDetectMobile-BC6EGaBc.js} +1 -1
  200. package/dist/{useDetectMobile-rBe0FiP2.cjs → useDetectMobile-D6d5LpdL.cjs} +1 -1
  201. package/dist/{utils-CE6bljYe.cjs → utils-C0YSTwcn.cjs} +7 -7
  202. package/dist/{utils-DtEdJZWa.js → utils-CqvISfv9.js} +43 -36
  203. package/package.json +12 -1
  204. package/vite.config.js +40 -0
  205. package/dist/consts-DNVz1x1I.js +0 -4
  206. package/dist/consts-dNz9tpt4.cjs +0 -1
@@ -2,7 +2,7 @@ import { jsxs as O, jsx as t, Fragment as W } from "react/jsx-runtime";
2
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, d as H } from "./utils-DtEdJZWa.js";
5
+ import { b as D, a as o, g as G, d as H } from "./utils-CqvISfv9.js";
6
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 }) => {
@@ -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-CE6bljYe.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-Cbp_XsK4.cjs"),u=require("./utils-C0YSTwcn.cjs"),p=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.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
@@ -2,7 +2,7 @@ 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
4
  import { n } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
- import { a as i } from "./utils-DtEdJZWa.js";
5
+ import { a as i } from "./utils-CqvISfv9.js";
6
6
  import { u as c } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const f = n.div`
8
8
  height: 1px;
@@ -1,4 +1,4 @@
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`
1
+ "use strict";const r=require("react/jsx-runtime"),_=require("react"),w=require("./Button.cjs"),v=require("./Icon.cjs"),p=require("./utils-C0YSTwcn.cjs"),d=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),u=require("./consts-CtNoHdBj.cjs"),b=d.newStyled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -42,7 +42,7 @@
42
42
  font-weight: 500;
43
43
  line-height: 1.5rem;
44
44
  letter-spacing: -0.0112rem;
45
- ${m.truncateTextInRows(2)}
45
+ ${p.truncateTextInRows(2)}
46
46
  }
47
47
 
48
48
  & .wrapper__subtitle {
@@ -53,7 +53,7 @@
53
53
  font-weight: 400;
54
54
  line-height: 1.25rem;
55
55
  letter-spacing: -0.0056rem;
56
- ${m.truncateTextInRows(2)}
56
+ ${p.truncateTextInRows(2)}
57
57
  }
58
58
 
59
59
  & .wrapper__badges {
@@ -108,7 +108,7 @@
108
108
  }
109
109
  }
110
110
  }
111
- `,y=h.newStyled.div`
111
+ `,j=d.newStyled.div`
112
112
  display: flex;
113
113
  flex-direction: column;
114
114
  align-items: center;
@@ -134,7 +134,7 @@
134
134
  width: 4rem;
135
135
  height: 4rem;
136
136
  border-radius: 999px;
137
- background-color: ${m.linearGradientAnimation("-90deg")};
137
+ background-color: ${p.linearGradientAnimation("-90deg")};
138
138
  }
139
139
  }
140
140
 
@@ -146,12 +146,12 @@
146
146
  width: 100%;
147
147
 
148
148
  & .wrapper__info-item {
149
- background-color: ${m.linearGradientAnimation("-90deg")};
149
+ background-color: ${p.linearGradientAnimation("-90deg")};
150
150
  height: 1rem;
151
151
  width: 100%;
152
152
  }
153
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`
154
+ `,y=_.forwardRef(({image:a,imageComponent:m,title:t,subtitle:g,badges:c,rating:o,reviewCount:n,products:s,onSelectCard:h=()=>{}},f)=>r.jsxs(b,{onClick:h,children:[r.jsxs("div",{className:"wrapper__content",children:[p.isDefined(m)?m:r.jsx("img",{src:a,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__info",children:[r.jsx("div",{className:"wrapper__title",children:t}),r.jsx("div",{className:"wrapper__subtitle",children:g}),c&&r.jsx("div",{className:"wrapper__badges"}),o&&n&&r.jsxs("div",{className:"wrapper__rating",children:[r.jsx("div",{className:"wrapper_stars",children:[...Array(5).keys()].map((i,l)=>r.jsx(v,{icon:i<o?" mng-lnc-star--filled":" mng-lnc-star",className:"wrapper__star"},`shop-card-rating-star__${l+1}`))}),r.jsxs("div",{className:"wrapper__review-count",children:["(",n==null?void 0:n.toLocaleString(),")"]})]})]})]}),r.jsx("div",{className:"wrapper__products",children:s&&(s==null?void 0:s.map((i,l)=>r.jsx(_.Fragment,{children:r.jsx("div",{className:"wrapper__product",onClick:()=>{var e;return(e=i==null?void 0:i.onSelectProduct)==null?void 0:e.call(i,i==null?void 0:i.uuid)},children:p.isDefined(i==null?void 0:i.imageComponent)?i==null?void 0:i.imageComponent:r.jsx("img",{src:i==null?void 0:i.image,className:"product__image"})})},l)))})]})),N=_.forwardRef(({},a)=>r.jsx(j,{children:r.jsxs("div",{className:"wrapper__content",children:[r.jsx("div",{className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__info",children:[r.jsx("div",{className:"wrapper__info-item"}),r.jsx("div",{className:"wrapper__info-item"}),r.jsx("div",{className:"wrapper__info-item"}),r.jsx("div",{className:"wrapper__info-item"})]})]})})),k=d.newStyled.div`
155
155
  display: flex;
156
156
  flex-direction: column;
157
157
  align-items: flex-start;
@@ -231,4 +231,4 @@
231
231
  gap: 1rem;
232
232
  }
233
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=$;
234
+ `,$=_.forwardRef(({title:a,subtitle:m,items:t,limit:g=4,limitForMobile:c=2,actionText:o,onSelectCard:n=()=>{},onShowMore:s},h)=>{var l;const f=()=>{s==null||s()},i=e=>{n==null||n(e==null?void 0:e.uuid)};return r.jsxs(k,{limitCards:g,limitCardsForMobile:c,children:[r.jsxs("div",{className:"wrapper__heading",children:[r.jsxs("div",{className:"wrapper__title",children:[a&&r.jsx("div",{className:"title__text",children:a}),o&&s&&r.jsx(w,{text:o,borderRadius:"curved",btnType:"tinted",className:"title__action",onClick:f})]}),m&&r.jsx("div",{className:"wrapper__subtitle",children:m})]}),r.jsx("div",{className:"wrapper__cards",children:t&&(t==null?void 0:t.length)>0?t==null?void 0:t.map((e,x)=>r.jsx(y,{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:()=>i==null?void 0:i(e)},`shop-card__${x+1}`)):(l=Array.from("1234"))==null?void 0:l.map((e,x)=>r.jsx(N,{},`shop-card-skeleton__${x+1}`))})]})});module.exports=$;
@@ -1,11 +1,11 @@
1
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as h, Fragment as y } from "react";
1
+ import { jsxs as t, jsx as i } from "react/jsx-runtime";
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-DtEdJZWa.js";
6
- import { n as c } from "./emotion-styled.browser.esm-BiK8DcgW.js";
7
- import { M as k } from "./consts-DNVz1x1I.js";
8
- const $ = c.div`
5
+ import { t as x, m as v, l as b } from "./utils-CqvISfv9.js";
6
+ import { n as f } from "./emotion-styled.browser.esm-BiK8DcgW.js";
7
+ import { M as k } from "./consts-C1uHV4xc.js";
8
+ const $ = f.div`
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  align-items: center;
@@ -115,7 +115,7 @@ const $ = c.div`
115
115
  }
116
116
  }
117
117
  }
118
- `, j = c.div`
118
+ `, j = f.div`
119
119
  display: flex;
120
120
  flex-direction: column;
121
121
  align-items: center;
@@ -158,33 +158,33 @@ const $ = c.div`
158
158
  width: 100%;
159
159
  }
160
160
  }
161
- `, z = h(
161
+ `, C = c(
162
162
  ({
163
163
  image: a,
164
- imageComponent: p,
165
- title: n,
164
+ imageComponent: m,
165
+ title: l,
166
166
  subtitle: _,
167
167
  badges: g,
168
168
  rating: o,
169
169
  reviewCount: s,
170
- products: l,
171
- onSelectCard: d = () => {
170
+ products: n,
171
+ onSelectCard: h = () => {
172
172
  }
173
- }, w) => /* @__PURE__ */ t($, { onClick: d, children: [
173
+ }, w) => /* @__PURE__ */ t($, { onClick: h, children: [
174
174
  /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
175
- b(p) ? p : /* @__PURE__ */ r("img", { src: a, className: "wrapper__image" }),
175
+ b(m) ? m : /* @__PURE__ */ i("img", { src: a, className: "wrapper__image" }),
176
176
  /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
177
- /* @__PURE__ */ r("div", { className: "wrapper__title", children: n }),
178
- /* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: _ }),
179
- g && /* @__PURE__ */ r("div", { className: "wrapper__badges" }),
177
+ /* @__PURE__ */ i("div", { className: "wrapper__title", children: l }),
178
+ /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: _ }),
179
+ g && /* @__PURE__ */ i("div", { className: "wrapper__badges" }),
180
180
  o && s && /* @__PURE__ */ t("div", { className: "wrapper__rating", children: [
181
- /* @__PURE__ */ r("div", { className: "wrapper_stars", children: [...Array(5).keys()].map((i, m) => /* @__PURE__ */ r(
181
+ /* @__PURE__ */ i("div", { className: "wrapper_stars", children: [...Array(5).keys()].map((r, p) => /* @__PURE__ */ i(
182
182
  N,
183
183
  {
184
- icon: i < o ? " mng-lnc-star--filled" : " mng-lnc-star",
184
+ icon: r < o ? " mng-lnc-star--filled" : " mng-lnc-star",
185
185
  className: "wrapper__star"
186
186
  },
187
- `shop-card-rating-star__${m + 1}`
187
+ `shop-card-rating-star__${p + 1}`
188
188
  )) }),
189
189
  /* @__PURE__ */ t("div", { className: "wrapper__review-count", children: [
190
190
  "(",
@@ -194,27 +194,27 @@ const $ = c.div`
194
194
  ] })
195
195
  ] })
196
196
  ] }),
197
- /* @__PURE__ */ r("div", { className: "wrapper__products", children: l && (l == null ? void 0 : l.map((i, m) => /* @__PURE__ */ r(y, { children: /* @__PURE__ */ r(
197
+ /* @__PURE__ */ i("div", { className: "wrapper__products", children: n && (n == null ? void 0 : n.map((r, p) => /* @__PURE__ */ i(y, { children: /* @__PURE__ */ i(
198
198
  "div",
199
199
  {
200
200
  className: "wrapper__product",
201
201
  onClick: () => {
202
202
  var e;
203
- return (e = i == null ? void 0 : i.onSelectProduct) == null ? void 0 : e.call(i, i == null ? void 0 : i.uuid);
203
+ return (e = r == null ? void 0 : r.onSelectProduct) == null ? void 0 : e.call(r, r == null ? void 0 : r.uuid);
204
204
  },
205
- children: b(i == null ? void 0 : i.imageComponent) ? i == null ? void 0 : i.imageComponent : /* @__PURE__ */ r("img", { src: i == null ? void 0 : i.image, className: "product__image" })
205
+ children: b(r == null ? void 0 : r.imageComponent) ? r == null ? void 0 : r.imageComponent : /* @__PURE__ */ i("img", { src: r == null ? void 0 : r.image, className: "product__image" })
206
206
  }
207
- ) }, m))) })
207
+ ) }, p))) })
208
208
  ] })
209
- ), C = h(({}, a) => /* @__PURE__ */ r(j, { children: /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
210
- /* @__PURE__ */ r("div", { className: "wrapper__image" }),
209
+ ), z = c(({}, a) => /* @__PURE__ */ i(j, { children: /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
210
+ /* @__PURE__ */ i("div", { className: "wrapper__image" }),
211
211
  /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
212
- /* @__PURE__ */ r("div", { className: "wrapper__info-item" }),
213
- /* @__PURE__ */ r("div", { className: "wrapper__info-item" }),
214
- /* @__PURE__ */ r("div", { className: "wrapper__info-item" }),
215
- /* @__PURE__ */ r("div", { className: "wrapper__info-item" })
212
+ /* @__PURE__ */ i("div", { className: "wrapper__info-item" }),
213
+ /* @__PURE__ */ i("div", { className: "wrapper__info-item" }),
214
+ /* @__PURE__ */ i("div", { className: "wrapper__info-item" }),
215
+ /* @__PURE__ */ i("div", { className: "wrapper__info-item" })
216
216
  ] })
217
- ] }) })), I = c.div`
217
+ ] }) })), I = f.div`
218
218
  display: flex;
219
219
  flex-direction: column;
220
220
  align-items: flex-start;
@@ -294,22 +294,22 @@ const $ = c.div`
294
294
  gap: 1rem;
295
295
  }
296
296
  }
297
- `, F = h(
297
+ `, E = c(
298
298
  ({
299
299
  title: a,
300
- subtitle: p,
301
- cards: n,
302
- limitCards: _ = 4,
303
- limitCardsForMobile: g = 2,
300
+ subtitle: m,
301
+ items: l,
302
+ limit: _ = 4,
303
+ limitForMobile: g = 2,
304
304
  actionText: o,
305
305
  onSelectCard: s = () => {
306
306
  },
307
- onShowMore: l
308
- }, d) => {
309
- var m;
307
+ onShowMore: n
308
+ }, h) => {
309
+ var p;
310
310
  const w = () => {
311
- l == null || l();
312
- }, i = (e) => {
311
+ n == null || n();
312
+ }, r = (e) => {
313
313
  s == null || s(e == null ? void 0 : e.uuid);
314
314
  };
315
315
  return /* @__PURE__ */ t(
@@ -320,8 +320,8 @@ const $ = c.div`
320
320
  children: [
321
321
  /* @__PURE__ */ t("div", { className: "wrapper__heading", children: [
322
322
  /* @__PURE__ */ t("div", { className: "wrapper__title", children: [
323
- a && /* @__PURE__ */ r("div", { className: "title__text", children: a }),
324
- o && l && /* @__PURE__ */ r(
323
+ a && /* @__PURE__ */ i("div", { className: "title__text", children: a }),
324
+ o && n && /* @__PURE__ */ i(
325
325
  u,
326
326
  {
327
327
  text: o,
@@ -332,10 +332,10 @@ const $ = c.div`
332
332
  }
333
333
  )
334
334
  ] }),
335
- p && /* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: p })
335
+ m && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: m })
336
336
  ] }),
337
- /* @__PURE__ */ r("div", { className: "wrapper__cards", children: n && (n == null ? void 0 : n.length) > 0 ? n == null ? void 0 : n.map((e, f) => /* @__PURE__ */ r(
338
- z,
337
+ /* @__PURE__ */ i("div", { className: "wrapper__cards", children: l && (l == null ? void 0 : l.length) > 0 ? l == null ? void 0 : l.map((e, d) => /* @__PURE__ */ i(
338
+ C,
339
339
  {
340
340
  uuid: e == null ? void 0 : e.uuid,
341
341
  title: e == null ? void 0 : e.title,
@@ -345,15 +345,15 @@ const $ = c.div`
345
345
  reviewCount: e == null ? void 0 : e.reviewCount,
346
346
  products: e == null ? void 0 : e.products,
347
347
  imageComponent: e == null ? void 0 : e.imageComponent,
348
- onSelectCard: () => i == null ? void 0 : i(e)
348
+ onSelectCard: () => r == null ? void 0 : r(e)
349
349
  },
350
- `shop-card__${f + 1}`
351
- )) : (m = Array.from("1234")) == null ? void 0 : m.map((e, f) => /* @__PURE__ */ r(C, {}, `shop-card-skeleton__${f + 1}`)) })
350
+ `shop-card__${d + 1}`
351
+ )) : (p = Array.from("1234")) == null ? void 0 : p.map((e, d) => /* @__PURE__ */ i(z, {}, `shop-card-skeleton__${d + 1}`)) })
352
352
  ]
353
353
  }
354
354
  );
355
355
  }
356
356
  );
357
357
  export {
358
- F as default
358
+ E as default
359
359
  };
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-CE6bljYe.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-Cbp_XsK4.cjs"),x=require("./Icon.cjs"),g=require("./utils-C0YSTwcn.cjs"),y=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),_=l.newStyled.aside`
2
2
  direction: ${e=>e.placement=="right"?"rtl":"ltr"};
3
3
  position: relative;
4
4
  && {
package/dist/Sidebar.js CHANGED
@@ -3,7 +3,7 @@ import { forwardRef as S, useState as x, useEffect as C } from "react";
3
3
  import { P as s } from "./index-S5Cd7WrG.js";
4
4
  import { n as l } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
5
  import y from "./Icon.js";
6
- import { u as $ } from "./utils-DtEdJZWa.js";
6
+ import { u as $ } from "./utils-CqvISfv9.js";
7
7
  import { u as _ } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
8
  const v = l.aside`
9
9
  direction: ${(e) => e.placement == "right" ? "rtl" : "ltr"};
@@ -0,0 +1,81 @@
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-C0YSTwcn.cjs"),f=require("./style-BEUISPP7.cjs"),v=require("./Button.cjs"),S=h.newStyled.div`
2
+ display: grid;
3
+ grid-template-columns: ${t=>"repeat(6, minmax(0, 1fr))"};
4
+ gap: 2rem;
5
+
6
+ @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
7
+ display: flex;
8
+ gap: 1rem;
9
+ overflow-x: auto;
10
+
11
+ -webkit-overflow-scrolling: touch;
12
+ ::-webkit-scrollbar {
13
+ -webkit-appearance: none;
14
+ }
15
+ -ms-overflow-style: none;
16
+ /* Internet Explorer 10+ */
17
+ scrollbar-width: none;
18
+ /* Firefox */
19
+
20
+ &::-webkit-scrollbar {
21
+ display: none;
22
+ /* Safari and Chrome */
23
+ }
24
+ }
25
+ `,j=h.newStyled.div`
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: 0;
29
+ font-size: 0.875rem;
30
+ font-weight: 500;
31
+ color: var(--gray-950, #14161a);
32
+ min-height: 12.25rem;
33
+ max-height: 12.25rem;
34
+ border-radius: 0.75rem;
35
+ border: 1px solid var(--gray-95008, rgba(20, 22, 26, 0.08));
36
+ background: var(--white, #fff);
37
+ cursor: pointer;
38
+
39
+ transition: var(--transition);
40
+ &:hover {
41
+ color: var(--primary-500, #f59e0b);
42
+ }
43
+
44
+ /* drop-shadow-sm */
45
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
46
+ overflow: hidden;
47
+
48
+ & .card-content {
49
+ padding: 0.75rem;
50
+ ${a.truncateTextInRows(2)}
51
+ }
52
+
53
+ & .card-content-2 {
54
+ ${a.truncateTextInRows(2)}
55
+ }
56
+
57
+ & img {
58
+ width: 100%;
59
+ object-fit: cover;
60
+ min-height: 8.25rem;
61
+ max-height: 8.25rem;
62
+ }
63
+
64
+ & .skeleton-img {
65
+ width: 100%;
66
+ min-height: 8.25rem;
67
+ max-height: 8.25rem;
68
+ ${a.linearGradientAnimation("-90deg")}
69
+ }
70
+
71
+ @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
72
+ min-width: 8.75rem;
73
+ max-width: 8.75rem;
74
+
75
+ & .img,
76
+ .skeleton-img {
77
+ min-height: 5.375rem;
78
+ max-height: 5.375rem;
79
+ }
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;
@@ -0,0 +1,153 @@
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-CqvISfv9.js";
7
+ import { R as S } from "./style-BGQ1B_dp.js";
8
+ import k from "./Button.js";
9
+ const N = g.div`
10
+ display: grid;
11
+ grid-template-columns: ${(a) => "repeat(6, minmax(0, 1fr))"};
12
+ gap: 2rem;
13
+
14
+ @media (max-width: ${u + "px"}) {
15
+ display: flex;
16
+ gap: 1rem;
17
+ overflow-x: auto;
18
+
19
+ -webkit-overflow-scrolling: touch;
20
+ ::-webkit-scrollbar {
21
+ -webkit-appearance: none;
22
+ }
23
+ -ms-overflow-style: none;
24
+ /* Internet Explorer 10+ */
25
+ scrollbar-width: none;
26
+ /* Firefox */
27
+
28
+ &::-webkit-scrollbar {
29
+ display: none;
30
+ /* Safari and Chrome */
31
+ }
32
+ }
33
+ `, R = g.div`
34
+ display: flex;
35
+ flex-direction: column;
36
+ gap: 0;
37
+ font-size: 0.875rem;
38
+ font-weight: 500;
39
+ color: var(--gray-950, #14161a);
40
+ min-height: 12.25rem;
41
+ max-height: 12.25rem;
42
+ border-radius: 0.75rem;
43
+ border: 1px solid var(--gray-95008, rgba(20, 22, 26, 0.08));
44
+ background: var(--white, #fff);
45
+ cursor: pointer;
46
+
47
+ transition: var(--transition);
48
+ &:hover {
49
+ color: var(--primary-500, #f59e0b);
50
+ }
51
+
52
+ /* drop-shadow-sm */
53
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
54
+ overflow: hidden;
55
+
56
+ & .card-content {
57
+ padding: 0.75rem;
58
+ ${s(2)}
59
+ }
60
+
61
+ & .card-content-2 {
62
+ ${s(2)}
63
+ }
64
+
65
+ & img {
66
+ width: 100%;
67
+ object-fit: cover;
68
+ min-height: 8.25rem;
69
+ max-height: 8.25rem;
70
+ }
71
+
72
+ & .skeleton-img {
73
+ width: 100%;
74
+ min-height: 8.25rem;
75
+ max-height: 8.25rem;
76
+ ${v("-90deg")}
77
+ }
78
+
79
+ @media (max-width: ${u + "px"}) {
80
+ min-width: 8.75rem;
81
+ max-width: 8.75rem;
82
+
83
+ & .img,
84
+ .skeleton-img {
85
+ min-height: 5.375rem;
86
+ max-height: 5.375rem;
87
+ }
88
+ }
89
+ `, p = h((a, f) => {
90
+ const { uuid: t, image: n, name: i, onSelectCard: m = () => {
91
+ } } = a;
92
+ return /* @__PURE__ */ o(
93
+ R,
94
+ {
95
+ className: "simple-category-card",
96
+ onClick: () => m(t),
97
+ children: [
98
+ /* @__PURE__ */ r("img", { src: n }),
99
+ /* @__PURE__ */ r("div", { className: "card-content", children: /* @__PURE__ */ r("div", { className: "card-content-2", children: i }) })
100
+ ]
101
+ }
102
+ );
103
+ }), B = h((a, f) => {
104
+ const {
105
+ icon: t,
106
+ title: n = "Shop by category",
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 })
117
+ ] }),
118
+ !!d && /* @__PURE__ */ r(
119
+ k,
120
+ {
121
+ type: "button",
122
+ btnType: "tinted",
123
+ color: "gray",
124
+ onClick: d,
125
+ borderRadius: "curved",
126
+ children: m
127
+ }
128
+ )
129
+ ] }),
130
+ /* @__PURE__ */ r(N, { limit: c, children: w === !0 ? i == null ? void 0 : i.map((e, l) => /* @__PURE__ */ r(
131
+ p,
132
+ {
133
+ uuid: e == null ? void 0 : e.uuid,
134
+ image: e == null ? void 0 : e.image,
135
+ name: e == null ? void 0 : e.name,
136
+ onSelectCard: () => onSelectCard == null ? void 0 : onSelectCard(y == null ? void 0 : y.uuid)
137
+ },
138
+ l
139
+ )) : i == null ? void 0 : i.slice(0, c).map((e, l) => /* @__PURE__ */ r(
140
+ p,
141
+ {
142
+ uuid: e == null ? void 0 : e.uuid,
143
+ image: e == null ? void 0 : e.image,
144
+ name: e == null ? void 0 : e.name,
145
+ onSelectCard: () => onSelectCard == null ? void 0 : onSelectCard(y == null ? void 0 : y.uuid)
146
+ },
147
+ l
148
+ )) })
149
+ ] });
150
+ });
151
+ export {
152
+ B as default
153
+ };
@@ -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-dNz9tpt4.cjs"),y=require("./useDetectMobile-rBe0FiP2.cjs"),s=require("./index-BlV3tdJ8.cjs"),S=require("./index-C2M7QHPq.cjs"),j=h.newStyled.div`
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-B6kVbS_M.cjs"),S=require("./index-B67WqHGh.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
3
  import { n as h } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
- import { M as y } from "./consts-DNVz1x1I.js";
5
- import { u as k } from "./useDetectMobile-BookNOsk.js";
6
- import { S as m } from "./index-DGl-lSfF.js";
7
- import { T as S } from "./index-DcYg32le.js";
4
+ import { M as y } from "./consts-C1uHV4xc.js";
5
+ import { u as k } from "./useDetectMobile-BC6EGaBc.js";
6
+ import { S as m } from "./index-HV_Ku4ub.js";
7
+ import { T as S } from "./index-CTJZaJ_S.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-CE6bljYe.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-Cbp_XsK4.cjs"),u=require("./emotion-react.browser.esm-D7h2t2Bz.cjs"),t=require("./utils-C0YSTwcn.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`
2
2
  width: ${r.sizes.small};
3
3
  height: ${r.sizes.small};
4
4
  `;if(e==="medium")return`
package/dist/Spinner.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
2
  import { P as n } from "./index-S5Cd7WrG.js";
3
3
  import { n as s } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
4
  import { k as p } from "./emotion-react.browser.esm-CN-s34fZ.js";
5
- import { g, a as i } from "./utils-DtEdJZWa.js";
5
+ import { g, a as i } from "./utils-CqvISfv9.js";
6
6
  import { u as h } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const u = {
8
8
  small: "0.6rem",
package/dist/Surface.cjs CHANGED
@@ -1,4 +1,4 @@
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-CE6bljYe.cjs"),p=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),g=c.newStyled.div`
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-C0YSTwcn.cjs"),p=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),g=c.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)};
package/dist/Surface.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { n as x } from "./emotion-styled.browser.esm-BiK8DcgW.js";
3
3
  import { P as r } from "./index-S5Cd7WrG.js";
4
- import { j as u, b as f } from "./utils-DtEdJZWa.js";
4
+ import { j as u, b as f } from "./utils-CqvISfv9.js";
5
5
  import { u as p } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
6
6
  const g = x.div`
7
7
  padding: ${(e) => e.padding};
@@ -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-CE6bljYe.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-Cbp_XsK4.cjs"),y=require("./utils-C0YSTwcn.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`
2
2
  touch-action: none;
3
3
  overflow: auto;
4
4
  max-height: ${e=>e.isOpen||e.unsetHeight===!1?"100dvh":0};
@@ -2,7 +2,7 @@ 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
4
  import { n as y } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
- import { a as $, g as J } from "./utils-DtEdJZWa.js";
5
+ import { a as $, g as J } from "./utils-CqvISfv9.js";
6
6
  import { u as K } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const Q = (e, r, o, u, s) => {
8
8
  if (e === "right" || e === "left" || r && o) return "height: 100%;";
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-CE6bljYe.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-Cbp_XsK4.cjs"),t=require("./utils-C0YSTwcn.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`
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
@@ -2,7 +2,7 @@ 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
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-DtEdJZWa.js";
5
+ import { h as S, g as A, a as i, b as o } from "./utils-CqvISfv9.js";
6
6
  import { u as F } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.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`