@lanaco/lnc-react-ui 4.0.199 → 4.0.201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/dist/Accordion.cjs +5 -5
  2. package/dist/Accordion.js +45 -56
  3. package/dist/AccordionDetails.cjs +3 -3
  4. package/dist/AccordionDetails.js +11 -25
  5. package/dist/AccordionSummary.cjs +4 -4
  6. package/dist/AccordionSummary.js +34 -44
  7. package/dist/ActionsToolbar.cjs +2 -3
  8. package/dist/ActionsToolbar.js +83 -135
  9. package/dist/Alert.cjs +10 -10
  10. package/dist/Alert.js +32 -64
  11. package/dist/Avatar.cjs +9 -9
  12. package/dist/Avatar.js +33 -72
  13. package/dist/Badge.cjs +6 -6
  14. package/dist/Badge.js +22 -47
  15. package/dist/BannerSectionCarousel.cjs +4 -4
  16. package/dist/BannerSectionCarousel.js +51 -542
  17. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  18. package/dist/BlogCardsSponsoredSection.js +1 -1
  19. package/dist/BlogCategoryCardsSection.cjs +1 -1
  20. package/dist/BlogCategoryCardsSection.js +12 -14
  21. package/dist/BlogExploreSection.cjs +1 -1
  22. package/dist/BlogExploreSection.js +1 -1
  23. package/dist/BlogListSection.cjs +1 -1
  24. package/dist/BlogListSection.js +1 -1
  25. package/dist/BlogsSectionDetailed.cjs +1 -1
  26. package/dist/BlogsSectionDetailed.js +1 -1
  27. package/dist/BlogsSectionSimple.cjs +1 -1
  28. package/dist/BlogsSectionSimple.js +1 -1
  29. package/dist/BlogsSectionWithFilters.cjs +1 -1
  30. package/dist/BlogsSectionWithFilters.js +2 -2
  31. package/dist/Breadcrumbs.cjs +5 -5
  32. package/dist/Breadcrumbs.js +57 -87
  33. package/dist/Button.cjs +11 -11
  34. package/dist/Button.js +126 -173
  35. package/dist/ButtonGroup.cjs +8 -8
  36. package/dist/ButtonGroup.js +37 -49
  37. package/dist/CalorieCalculatorSection.cjs +8 -8
  38. package/dist/CalorieCalculatorSection.js +90 -97
  39. package/dist/CheckBoxInput.cjs +1 -1
  40. package/dist/CheckBoxInput.js +2 -5
  41. package/dist/Chip.cjs +14 -14
  42. package/dist/Chip.js +73 -111
  43. package/dist/ConfirmationForm.cjs +6 -6
  44. package/dist/ConfirmationForm.js +67 -109
  45. package/dist/ContactSection.cjs +1 -0
  46. package/dist/ContactSection.js +1 -0
  47. package/dist/Content.cjs +1 -1
  48. package/dist/Content.js +7 -15
  49. package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
  50. package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
  51. package/dist/DataView.cjs +1 -1
  52. package/dist/DataView.js +30 -50
  53. package/dist/DateInput.cjs +4 -4
  54. package/dist/DateInput.js +1347 -1383
  55. package/dist/DecimalInput.cjs +6 -6
  56. package/dist/DecimalInput.js +210 -263
  57. package/dist/DecimalInputV2.cjs +23 -23
  58. package/dist/DecimalInputV2.js +119 -176
  59. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  60. package/dist/DetailedProductsInfinitiveSection.js +1 -1
  61. package/dist/DetailedProductsSection.cjs +1 -1
  62. package/dist/DetailedProductsSection.js +2 -2
  63. package/dist/DetailsView.cjs +9 -9
  64. package/dist/DetailsView.js +111 -162
  65. package/dist/DoubleRangeSlider.cjs +22 -22
  66. package/dist/DoubleRangeSlider.js +70 -95
  67. package/dist/DragAndDropFile.cjs +10 -10
  68. package/dist/DragAndDropFile.js +347 -402
  69. package/dist/DragDropFiles.cjs +4 -4
  70. package/dist/DragDropFiles.js +70 -124
  71. package/dist/Drawer.cjs +5 -5
  72. package/dist/Drawer.js +97 -135
  73. package/dist/Dropdown.cjs +1 -1
  74. package/dist/Dropdown.js +44 -213
  75. package/dist/DropdownItem.cjs +14 -14
  76. package/dist/DropdownItem.js +106 -142
  77. package/dist/DropdownLookup.cjs +1 -1
  78. package/dist/DropdownLookup.js +61 -242
  79. package/dist/DropdownMenu.cjs +4 -4
  80. package/dist/DropdownMenu.js +87 -149
  81. package/dist/EditableTable.cjs +10 -10
  82. package/dist/EditableTable.js +165 -331
  83. package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
  84. package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
  85. package/dist/FaqSection.cjs +3 -3
  86. package/dist/FaqSection.js +119 -153
  87. package/dist/FileInput.cjs +7 -7
  88. package/dist/FileInput.js +66 -94
  89. package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
  90. package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
  91. package/dist/FlexBox.cjs +6 -6
  92. package/dist/FlexBox.js +28 -63
  93. package/dist/FlexGrid.cjs +1 -1
  94. package/dist/FlexGrid.js +27 -67
  95. package/dist/FlexGridItem.cjs +6 -6
  96. package/dist/FlexGridItem.js +34 -62
  97. package/dist/Footer.cjs +1 -1
  98. package/dist/Footer.js +7 -15
  99. package/dist/FormField.cjs +7 -7
  100. package/dist/FormField.js +22 -47
  101. package/dist/FormView.cjs +6 -6
  102. package/dist/FormView.js +148 -195
  103. package/dist/GiftCardsSection.cjs +1 -1
  104. package/dist/GiftCardsSection.js +1 -1
  105. package/dist/Grid.cjs +2 -2
  106. package/dist/Grid.js +40 -65
  107. package/dist/GridItem.cjs +2 -2
  108. package/dist/GridItem.js +47 -80
  109. package/dist/Header.cjs +1 -1
  110. package/dist/Header.js +7 -15
  111. package/dist/HelpBannerSection.cjs +3 -3
  112. package/dist/HelpBannerSection.js +9 -15
  113. package/dist/Icon.cjs +4 -4
  114. package/dist/Icon.js +29 -55
  115. package/dist/IconButton.cjs +9 -9
  116. package/dist/IconButton.js +89 -127
  117. package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
  118. package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
  119. package/dist/Kanban.cjs +7 -7
  120. package/dist/Kanban.js +2033 -2098
  121. package/dist/KanbanActionsToolbar.cjs +4 -5
  122. package/dist/KanbanActionsToolbar.js +61 -96
  123. package/dist/KanbanCard-B9V9EjVE.js +137 -0
  124. package/dist/KanbanCard-DihrKn-I.cjs +30 -0
  125. package/dist/KanbanCard.cjs +1 -1
  126. package/dist/KanbanCard.js +2 -3
  127. package/dist/KanbanFooter.cjs +3 -3
  128. package/dist/KanbanFooter.js +37 -55
  129. package/dist/KanbanHeader.cjs +4 -4
  130. package/dist/KanbanHeader.js +49 -81
  131. package/dist/KanbanView.cjs +2 -2
  132. package/dist/KanbanView.js +106 -173
  133. package/dist/Link.cjs +7 -7
  134. package/dist/Link.js +20 -37
  135. package/dist/LocationSearchSection.cjs +1 -1
  136. package/dist/LocationSearchSection.js +1 -1
  137. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  138. package/dist/MasonryGeneralCardsSection.js +1 -1
  139. package/dist/MenuItem.cjs +13 -13
  140. package/dist/MenuItem.js +101 -139
  141. package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
  142. package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
  143. package/dist/Modal.cjs +18 -19
  144. package/dist/Modal.js +131 -166
  145. package/dist/MultiSelectDropdown.cjs +1 -1
  146. package/dist/MultiSelectDropdown.js +25 -196
  147. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  148. package/dist/MultiSelectDropdownLookup.js +27 -209
  149. package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
  150. package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
  151. package/dist/NestedDropdownItem.cjs +3 -3
  152. package/dist/NestedDropdownItem.js +45 -67
  153. package/dist/NestedMenuItem.cjs +5 -5
  154. package/dist/NestedMenuItem.js +51 -78
  155. package/dist/NotificationContainer.cjs +10 -10
  156. package/dist/NotificationContainer.js +46 -79
  157. package/dist/NotificationMessage.cjs +2 -2
  158. package/dist/NotificationMessage.js +47 -64
  159. package/dist/NumberInput.cjs +23 -23
  160. package/dist/NumberInput.js +89 -149
  161. package/dist/PageLayout.cjs +2 -2
  162. package/dist/PageLayout.js +20 -28
  163. package/dist/Pagination.cjs +3 -3
  164. package/dist/Pagination.js +102 -185
  165. package/dist/PartnerBrandsSection.cjs +62 -0
  166. package/dist/PartnerBrandsSection.js +154 -0
  167. package/dist/PartnerStatsSection.cjs +100 -0
  168. package/dist/PartnerStatsSection.js +124 -0
  169. package/dist/PasswordInput.cjs +23 -23
  170. package/dist/PasswordInput.js +108 -137
  171. package/dist/Popover.cjs +1 -1
  172. package/dist/Popover.js +7 -32
  173. package/dist/PopoverContent.cjs +5 -5
  174. package/dist/PopoverContent.js +22 -28
  175. package/dist/PopoverTrigger.cjs +1 -1
  176. package/dist/PopoverTrigger.js +7 -12
  177. package/dist/ProductsWithBannerSection.cjs +1 -1
  178. package/dist/ProductsWithBannerSection.js +1 -1
  179. package/dist/ProgressBar.cjs +8 -8
  180. package/dist/ProgressBar.js +32 -59
  181. package/dist/RadioGroup.cjs +3 -3
  182. package/dist/RadioGroup.js +41 -72
  183. package/dist/RadioInput.cjs +28 -28
  184. package/dist/RadioInput.js +78 -123
  185. package/dist/RangeSlider.cjs +19 -19
  186. package/dist/RangeSlider.js +92 -119
  187. package/dist/ReviewsSection.cjs +13 -13
  188. package/dist/ReviewsSection.js +81 -101
  189. package/dist/SalesCampaignsSection.cjs +38 -28
  190. package/dist/SalesCampaignsSection.js +297 -325
  191. package/dist/SearchBar.cjs +10 -10
  192. package/dist/SearchBar.js +168 -188
  193. package/dist/SearchSection-B94YN_6P.cjs +161 -0
  194. package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
  195. package/dist/SearchSection.cjs +1 -1
  196. package/dist/SearchSection.js +2 -3
  197. package/dist/Separator.cjs +3 -3
  198. package/dist/Separator.js +14 -19
  199. package/dist/Sidebar.cjs +4 -5
  200. package/dist/Sidebar.js +33 -56
  201. package/dist/SimpleCategoriesSection.cjs +2 -2
  202. package/dist/SimpleCategoriesSection.js +2 -2
  203. package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
  204. package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
  205. package/dist/Spinner.cjs +18 -18
  206. package/dist/Spinner.js +37 -54
  207. package/dist/StatsSection.cjs +6 -6
  208. package/dist/StatsSection.js +15 -25
  209. package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
  210. package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
  211. package/dist/Surface.cjs +4 -4
  212. package/dist/Surface.js +19 -34
  213. package/dist/SwipeableDrawer.cjs +8 -8
  214. package/dist/SwipeableDrawer.js +84 -136
  215. package/dist/TabItem.cjs +11 -11
  216. package/dist/TabItem.js +83 -118
  217. package/dist/Table.cjs +65 -65
  218. package/dist/Table.js +786 -1167
  219. package/dist/TableView.cjs +2 -2
  220. package/dist/TableView.js +113 -197
  221. package/dist/Tabs.cjs +4 -4
  222. package/dist/Tabs.js +41 -60
  223. package/dist/TextAreaInput.cjs +14 -14
  224. package/dist/TextAreaInput.js +131 -181
  225. package/dist/TextInput.cjs +23 -23
  226. package/dist/TextInput.js +78 -126
  227. package/dist/ThemeProvider.cjs +5 -5
  228. package/dist/ThemeProvider.js +35 -39
  229. package/dist/TimeInput.cjs +7 -7
  230. package/dist/TimeInput.js +46 -72
  231. package/dist/Toggle.cjs +20 -20
  232. package/dist/Toggle.js +78 -109
  233. package/dist/ToggleSection.cjs +5 -5
  234. package/dist/ToggleSection.js +48 -55
  235. package/dist/TreeMenu.cjs +5 -5
  236. package/dist/TreeMenu.js +43 -67
  237. package/dist/TreeMenuSeparator.cjs +3 -3
  238. package/dist/TreeMenuSeparator.js +12 -20
  239. package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
  240. package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
  241. package/dist/UploadedFile.cjs +11 -11
  242. package/dist/UploadedFile.js +73 -99
  243. package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
  244. package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
  245. package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
  246. package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
  247. package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
  248. package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
  249. package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
  250. package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
  251. package/dist/index-BdKi2ogu.js +39 -0
  252. package/dist/index-BppfjY8h.js +497 -0
  253. package/dist/index-CRk3vcd4.cjs +95 -0
  254. package/dist/index-CX2A-q39.cjs +4 -0
  255. package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
  256. package/dist/index-DeS-oqJB.cjs +1 -0
  257. package/dist/index.cjs +1 -1
  258. package/dist/index.js +25 -21
  259. package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
  260. package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
  261. package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
  262. package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
  263. package/package.json +4 -2
  264. package/vite.config.js +8 -0
  265. package/dist/KanbanCard-68kSAXL6.js +0 -175
  266. package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
  267. package/dist/SearchSection-BcbHP6QF.cjs +0 -161
  268. package/dist/index-Be-_NM9Q.cjs +0 -4
  269. package/dist/index-C0LcDEqa.js +0 -47
  270. package/dist/index-CSNxZFTX.cjs +0 -95
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");require("react");require("./index-BpbMKBf_.cjs");require("./TextInput.cjs");require("./Icon.cjs");const e=require("./SearchSection-BcbHP6QF.cjs");module.exports=e.SearchSection;
1
+ "use strict";require("react/jsx-runtime");require("react");require("./TextInput.cjs");require("./Icon.cjs");const e=require("./SearchSection-B94YN_6P.cjs");module.exports=e.SearchSection;
@@ -1,9 +1,8 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "./index-CblbdqjE.js";
4
3
  import "./TextInput.js";
5
4
  import "./Icon.js";
6
- import { S as e } from "./SearchSection-DDQ_K98T.js";
5
+ import { S as a } from "./SearchSection-DAaMecR4.js";
7
6
  export {
8
- e as default
7
+ a as default
9
8
  };
@@ -1,6 +1,6 @@
1
- "use strict";const i=require("react/jsx-runtime"),l=require("react"),r=require("./index-BpbMKBf_.cjs"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),u=require("./utils-RnrgDDZP.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),d=m.styled.div`
1
+ "use strict";const n=require("react/jsx-runtime"),c=require("react"),i=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./utils-RnrgDDZP.cjs"),l=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),u=i.styled.div`
2
2
  height: 1px;
3
- background-color: ${e=>u.getColorRgbaValue(e.theme,"MenuItem","default","enabled","separator")};
3
+ background-color: ${e=>m.getColorRgbaValue(e.theme,"MenuItem","default","enabled","separator")};
4
4
  margin-left: -0.25rem;
5
5
  margin-right: -0.25rem;
6
- `,t=l.forwardRef((e,s)=>{const{className:o="",style:n={},...a}=e,c=p.useTheme();return i.jsx(d,{ref:s,theme:c,className:"lnc-ui-dropdown-separator "+o,style:n,...a})});t.propTypes={className:r.PropTypes.string,style:r.PropTypes.object};module.exports=t;
6
+ `,d=c.forwardRef((e,r)=>{const{className:t="",style:s={},...o}=e,a=l.useTheme();return n.jsx(u,{ref:r,theme:a,className:"lnc-ui-dropdown-separator "+t,style:s,...o})});module.exports=d;
package/dist/Separator.js CHANGED
@@ -1,12 +1,11 @@
1
- import { jsx as p } from "react/jsx-runtime";
1
+ import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as l } from "react";
3
- import { P as e } from "./index-CblbdqjE.js";
4
- import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { b as n } from "./utils-DtEfC-TX.js";
6
- import { u as c } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
- const f = i.div`
3
+ import { s as n } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { b as p } from "./utils-DtEfC-TX.js";
5
+ import { u as i } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
+ const d = n.div`
8
7
  height: 1px;
9
- background-color: ${(r) => n(
8
+ background-color: ${(r) => p(
10
9
  r.theme,
11
10
  "MenuItem",
12
11
  "default",
@@ -15,23 +14,19 @@ const f = i.div`
15
14
  )};
16
15
  margin-left: -0.25rem;
17
16
  margin-right: -0.25rem;
18
- `, d = l((r, o) => {
19
- const { className: t = "", style: a = {}, ...s } = r, m = c();
20
- return /* @__PURE__ */ p(
21
- f,
17
+ `, b = l((r, e) => {
18
+ const { className: t = "", style: o = {}, ...a } = r, m = i();
19
+ return /* @__PURE__ */ s(
20
+ d,
22
21
  {
23
- ref: o,
22
+ ref: e,
24
23
  theme: m,
25
24
  className: "lnc-ui-dropdown-separator " + t,
26
- style: a,
27
- ...s
25
+ style: o,
26
+ ...a
28
27
  }
29
28
  );
30
29
  });
31
- d.propTypes = {
32
- className: e.string,
33
- style: e.object
34
- };
35
30
  export {
36
- d as default
31
+ b as default
37
32
  };
package/dist/Sidebar.cjs CHANGED
@@ -1,18 +1,17 @@
1
- "use strict";const s=require("react/jsx-runtime"),a=require("react"),i=require("./index-BpbMKBf_.cjs"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./Icon.cjs"),y=require("./utils-RnrgDDZP.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=l.styled.aside`
1
+ "use strict";const t=require("react/jsx-runtime"),o=require("react"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=require("./Icon.cjs"),S=require("./utils-RnrgDDZP.cjs"),g=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),y=a.styled.aside`
2
2
  direction: ${e=>e.placement=="right"?"rtl":"ltr"};
3
3
  position: relative;
4
4
  && {
5
5
  flex: ${e=>e.sidebarCollapsed?"0 0 0":`0 0 ${e.size}`};
6
6
  }
7
7
  transition: flex 0.6s ease-in-out;
8
- }
9
- `,C=l.styled.div`
8
+ `,C=a.styled.div`
10
9
  overflow: hidden;
11
10
  width: ${e=>e.sidebarCollapsed?"0":e.size};
12
11
  height: 100%;
13
12
  transition: width 0.6s ease-in-out
14
13
  ${e=>e.sidebarCollapsed?"0s":"0.2s"};
15
- `,T=l.styled.div`
14
+ `,$=a.styled.div`
16
15
  display: flex;
17
16
  justify-content: center;
18
17
  align-items: center;
@@ -36,4 +35,4 @@
36
35
  transition: transform 0.6s ease;
37
36
  }
38
37
  }
39
- `,c=a.forwardRef((e,b)=>{const{placement:o,collapsed:n=void 0,hideCollapseButton:h=!1,size:d="15rem",children:f,className:p,__TYPE__:$="Sidebar",...x}=e,u=S.useTheme(),m=y.useScreenSize(),[t,r]=a.useState();return a.useEffect(()=>{n!=null?r(n):m=="XS"||m=="S"?r(!0):r(!1)},[n]),s.jsxs(_,{className:"lnc-sidebar-container "+(p||""),sidebarCollapsed:t,placement:o,size:d,theme:u,ref:b,...x,children:[!h&&s.jsx(T,{onClick:j=>r(!t),placement:o,sidebarCollapsed:t,theme:u,children:s.jsx("span",{children:s.jsx(g,{className:"sidebar-icon-lnc",icon:o=="right"?"angle-right":"angle-left",color:"neutral"})})}),s.jsx(C,{className:"lnc-sidebar-content",sidebarCollapsed:t,size:d,children:f})]})});c.propTypes={collapsed:i.PropTypes.bool,hideCollapseButton:i.PropTypes.bool,size:i.PropTypes.string,__TYPE__:i.PropTypes.string};c.displayName="Sidebar";module.exports=c;
38
+ `,u=o.forwardRef((e,p)=>{const{placement:r,collapsed:n=void 0,hideCollapseButton:h=!1,size:l="15rem",children:b,className:c,...f}=e,d=g.useTheme(),m=S.useScreenSize(),[s,i]=o.useState();return o.useEffect(()=>{n!=null?i(n):m=="XS"||m=="S"?i(!0):i(!1)},[n]),t.jsxs(y,{className:"lnc-sidebar-container "+(c||""),sidebarCollapsed:s,placement:r,size:l,theme:d,ref:p,...f,children:[!h&&t.jsx($,{onClick:()=>i(!s),placement:r,sidebarCollapsed:s,theme:d,children:t.jsx("span",{children:t.jsx(x,{className:"sidebar-icon-lnc",icon:r=="right"?"angle-right":"angle-left",color:"neutral"})})}),t.jsx(C,{className:"lnc-sidebar-content",sidebarCollapsed:s,size:l,children:b})]})});u.displayName="Sidebar";module.exports=u;
package/dist/Sidebar.js CHANGED
@@ -1,25 +1,23 @@
1
- import { jsxs as g, jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as S, useState as x, useEffect as C } from "react";
3
- import { P as o } from "./index-CblbdqjE.js";
4
- import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import y from "./Icon.js";
6
- import { u as $ } from "./utils-DtEfC-TX.js";
7
- import { u as _ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- const v = l.aside`
1
+ import { jsxs as u, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as b, useState as g, useEffect as S } from "react";
3
+ import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import x from "./Icon.js";
5
+ import { u as C } from "./utils-DtEfC-TX.js";
6
+ import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
+ const v = o.aside`
9
8
  direction: ${(e) => e.placement == "right" ? "rtl" : "ltr"};
10
9
  position: relative;
11
10
  && {
12
11
  flex: ${(e) => e.sidebarCollapsed ? "0 0 0" : `0 0 ${e.size}`};
13
12
  }
14
13
  transition: flex 0.6s ease-in-out;
15
- }
16
- `, z = l.div`
14
+ `, y = o.div`
17
15
  overflow: hidden;
18
16
  width: ${(e) => e.sidebarCollapsed ? "0" : e.size};
19
17
  height: 100%;
20
18
  transition: width 0.6s ease-in-out
21
19
  ${(e) => e.sidebarCollapsed ? "0s" : "0.2s"};
22
- `, T = l.div`
20
+ `, w = o.div`
23
21
  display: flex;
24
22
  justify-content: center;
25
23
  align-items: center;
@@ -43,39 +41,38 @@ const v = l.aside`
43
41
  transition: transform 0.6s ease;
44
42
  }
45
43
  }
46
- `, m = S((e, f) => {
44
+ `, z = b((e, m) => {
47
45
  const {
48
46
  placement: r,
49
47
  collapsed: a = void 0,
50
- hideCollapseButton: h = !1,
48
+ hideCollapseButton: p = !1,
51
49
  size: n = "15rem",
52
- children: b,
53
- className: d,
54
- __TYPE__: w = "Sidebar",
55
- ...u
56
- } = e, c = _(), p = $(), [t, s] = x();
57
- return C(() => {
58
- a != null ? s(a) : p == "XS" || p == "S" ? s(!0) : s(!1);
59
- }, [a]), /* @__PURE__ */ g(
50
+ children: f,
51
+ className: l,
52
+ ...h
53
+ } = e, d = $(), c = C(), [t, i] = g();
54
+ return S(() => {
55
+ a != null ? i(a) : c == "XS" || c == "S" ? i(!0) : i(!1);
56
+ }, [a]), /* @__PURE__ */ u(
60
57
  v,
61
58
  {
62
- className: "lnc-sidebar-container " + (d || ""),
59
+ className: "lnc-sidebar-container " + (l || ""),
63
60
  sidebarCollapsed: t,
64
61
  placement: r,
65
62
  size: n,
66
- theme: c,
67
- ref: f,
68
- ...u,
63
+ theme: d,
64
+ ref: m,
65
+ ...h,
69
66
  children: [
70
- !h && /* @__PURE__ */ i(
71
- T,
67
+ !p && /* @__PURE__ */ s(
68
+ w,
72
69
  {
73
- onClick: (N) => s(!t),
70
+ onClick: () => i(!t),
74
71
  placement: r,
75
72
  sidebarCollapsed: t,
76
- theme: c,
77
- children: /* @__PURE__ */ i("span", { children: /* @__PURE__ */ i(
78
- y,
73
+ theme: d,
74
+ children: /* @__PURE__ */ s("span", { children: /* @__PURE__ */ s(
75
+ x,
79
76
  {
80
77
  className: "sidebar-icon-lnc",
81
78
  icon: r == "right" ? "angle-right" : "angle-left",
@@ -84,40 +81,20 @@ const v = l.aside`
84
81
  ) })
85
82
  }
86
83
  ),
87
- /* @__PURE__ */ i(
88
- z,
84
+ /* @__PURE__ */ s(
85
+ y,
89
86
  {
90
87
  className: "lnc-sidebar-content",
91
88
  sidebarCollapsed: t,
92
89
  size: n,
93
- children: b
90
+ children: f
94
91
  }
95
92
  )
96
93
  ]
97
94
  }
98
95
  );
99
96
  });
100
- m.propTypes = {
101
- /**
102
- * Indicates if the sidebar is collapsed.
103
- */
104
- collapsed: o.bool,
105
- /**
106
- * Hides the collapse button.
107
- * Useful if you want control the sidebar with your own button via `collapsed` prop.
108
- */
109
- hideCollapseButton: o.bool,
110
- /**
111
- * Controls the sidebar width.
112
- */
113
- size: o.string,
114
- /**
115
- * Do not override this property.
116
- * Should only be used as indicator for type if you are passing custom component.
117
- */
118
- __TYPE__: o.string
119
- };
120
- m.displayName = "Sidebar";
97
+ z.displayName = "Sidebar";
121
98
  export {
122
- m as default
99
+ z as default
123
100
  };
@@ -1,6 +1,6 @@
1
- "use strict";const t=require("react/jsx-runtime"),a=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),_=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-RnrgDDZP.cjs"),y=require("./style-CkcozOY6.cjs"),N=require("./Button.cjs"),v=require("./CategorySimpleCard-COGlTj06.cjs"),o=require("./style-BAcV7F53.cjs"),E=k.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),a=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),_=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-RnrgDDZP.cjs"),y=require("./style-B4kAj6YU.cjs"),N=require("./Button.cjs"),v=require("./CategorySimpleCard-COGlTj06.cjs"),o=require("./style-BAcV7F53.cjs"),E=k.styled.div`
2
2
  display: grid;
3
- grid-template-columns: ${r=>"repeat(6, minmax(0, 1fr))"};
3
+ grid-template-columns: ${()=>"repeat(6, minmax(0, 1fr))"};
4
4
  gap: 2rem;
5
5
 
6
6
  @media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
@@ -4,13 +4,13 @@ import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as k } from "./consts-BuFChS64.js";
5
5
  import { u as L } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { k as c } from "./utils-DtEfC-TX.js";
7
- import { R as W } from "./style-Cmlod7oq.js";
7
+ import { R as W } from "./style-neMbLWE6.js";
8
8
  import B from "./Button.js";
9
9
  import { C as T } from "./CategorySimpleCard-Em84kZzQ.js";
10
10
  import { b as j, S as p, c as o } from "./style-BwQ4djFC.js";
11
11
  const y = C.div`
12
12
  display: grid;
13
- grid-template-columns: ${(r) => "repeat(6, minmax(0, 1fr))"};
13
+ grid-template-columns: ${() => "repeat(6, minmax(0, 1fr))"};
14
14
  gap: 2rem;
15
15
 
16
16
  @media (max-width: ${k + "px"}) {
@@ -1 +1 @@
1
- "use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-BcbHP6QF.cjs");function v(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in t)){const a=Object.getOwnPropertyDescriptor(s,o);a&&Object.defineProperty(t,o,a.get?a:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O=Object.create,l=Object.defineProperty,S=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,w=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,D=(t,e,r)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,E=(t,e)=>{for(var r in e)l(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of j(e))!C.call(t,o)&&o!==r&&l(t,o,{get:()=>e[o],enumerable:!(s=S(e,o))||s.enumerable});return t},L=(t,e,r)=>(r=t!=null?O(w(t)):{},h(!t||!t.__esModule?l(r,"default",{value:t,enumerable:!0}):r,t)),R=t=>h(l({},"__esModule",{value:!0}),t),n=(t,e,r)=>(D(t,typeof e!="symbol"?e+"":e,r),r),f={};E(f,{default:()=>u});var _=R(f),p=L(b),c=d.utils,M=d.patterns;const T="https://w.soundcloud.com/player/api.js",N="SC";class u extends p.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"duration",null),n(this,"currentTime",null),n(this,"fractionLoaded",null),n(this,"mute",()=>{this.setVolume(0)}),n(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),n(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,r){(0,c.getSDK)(T,N).then(s=>{if(!this.iframe)return;const{PLAY:o,PLAY_PROGRESS:a,PAUSE:y,FINISH:m,ERROR:P}=s.Widget.Events;r||(this.player=s.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(y,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(a,i=>{this.currentTime=i.currentPosition/1e3,this.fractionLoaded=i.loadedProgress}),this.player.bind(m,()=>this.props.onEnded()),this.player.bind(P,i=>this.props.onError(i))),this.player.load(e,{...this.props.config.options,callback:()=>{this.player.getDuration(i=>{this.duration=i/1e3,this.props.onReady()})}})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("seekTo",e*1e3),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){const{display:e}=this.props,r={width:"100%",height:"100%",display:e};return p.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:r,frameBorder:0,allow:"autoplay"})}}n(u,"displayName","SoundCloud");n(u,"canPlay",M.canPlay.soundcloud);n(u,"loopOnEnded",!0);const A=g.getDefaultExportFromCjs(_),x=v({__proto__:null,default:A},[_]);exports.SoundCloud=x;
1
+ "use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-B94YN_6P.cjs");function v(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in t)){const a=Object.getOwnPropertyDescriptor(s,o);a&&Object.defineProperty(t,o,a.get?a:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O=Object.create,l=Object.defineProperty,S=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,w=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,D=(t,e,r)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,E=(t,e)=>{for(var r in e)l(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of j(e))!C.call(t,o)&&o!==r&&l(t,o,{get:()=>e[o],enumerable:!(s=S(e,o))||s.enumerable});return t},L=(t,e,r)=>(r=t!=null?O(w(t)):{},h(!t||!t.__esModule?l(r,"default",{value:t,enumerable:!0}):r,t)),R=t=>h(l({},"__esModule",{value:!0}),t),n=(t,e,r)=>(D(t,typeof e!="symbol"?e+"":e,r),r),f={};E(f,{default:()=>u});var _=R(f),p=L(b),c=d.utils,M=d.patterns;const T="https://w.soundcloud.com/player/api.js",N="SC";class u extends p.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"duration",null),n(this,"currentTime",null),n(this,"fractionLoaded",null),n(this,"mute",()=>{this.setVolume(0)}),n(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),n(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,r){(0,c.getSDK)(T,N).then(s=>{if(!this.iframe)return;const{PLAY:o,PLAY_PROGRESS:a,PAUSE:y,FINISH:m,ERROR:P}=s.Widget.Events;r||(this.player=s.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(y,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(a,i=>{this.currentTime=i.currentPosition/1e3,this.fractionLoaded=i.loadedProgress}),this.player.bind(m,()=>this.props.onEnded()),this.player.bind(P,i=>this.props.onError(i))),this.player.load(e,{...this.props.config.options,callback:()=>{this.player.getDuration(i=>{this.duration=i/1e3,this.props.onReady()})}})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("seekTo",e*1e3),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){const{display:e}=this.props,r={width:"100%",height:"100%",display:e};return p.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:r,frameBorder:0,allow:"autoplay"})}}n(u,"displayName","SoundCloud");n(u,"canPlay",M.canPlay.soundcloud);n(u,"loopOnEnded",!0);const A=g.getDefaultExportFromCjs(_),x=v({__proto__:null,default:A},[_]);exports.SoundCloud=x;
@@ -1,6 +1,6 @@
1
1
  import { g as P } from "./_commonjsHelpers-BkfeUUK-.js";
2
2
  import g from "react";
3
- import { u as b, p as v } from "./SearchSection-DDQ_K98T.js";
3
+ import { u as b, p as v } from "./SearchSection-DAaMecR4.js";
4
4
  function O(t, e) {
5
5
  for (var r = 0; r < e.length; r++) {
6
6
  const s = e[r];
package/dist/Spinner.cjs CHANGED
@@ -1,17 +1,17 @@
1
- "use strict";const n=require("react/jsx-runtime"),s=require("./index-BpbMKBf_.cjs"),i=require("./emotion-styled.browser.esm-BtEseadx.cjs"),u=require("./emotion-react.browser.esm-Cvnp-zmB.cjs"),t=require("./utils-RnrgDDZP.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
- width: ${r.sizes.small};
3
- height: ${r.sizes.small};
1
+ "use strict";const n=require("react/jsx-runtime"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./emotion-react.browser.esm-Cvnp-zmB.cjs"),r=require("./utils-RnrgDDZP.cjs"),c=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),u={small:"0.6rem",medium:"0.7rem",large:"0.8rem"},b=(e,t)=>{if(e==="small")return`
2
+ width: ${t.sizes.small};
3
+ height: ${t.sizes.small};
4
4
  `;if(e==="medium")return`
5
- width: ${r.sizes.medium};
6
- height: ${r.sizes.medium};
5
+ width: ${t.sizes.medium};
6
+ height: ${t.sizes.medium};
7
7
  `;if(e==="large")return`
8
- width: ${r.sizes.large};
9
- height: ${r.sizes.large};
10
- `},h=u.keyframes`
8
+ width: ${t.sizes.large};
9
+ height: ${t.sizes.large};
10
+ `},g=d.keyframes`
11
11
  to {
12
12
  transform: rotate(360deg);
13
13
  }
14
- `,y=i.styled.div`
14
+ `,h=s.styled.div`
15
15
  position: relative;
16
16
  height: max-content;
17
17
  width: max-content;
@@ -22,17 +22,17 @@
22
22
  top: 50%;
23
23
  left: 50%;
24
24
  transform: translate(-50%, -50%);
25
- ${e=>t.getComponentTypographyCss(e.theme,"Spinner",e.size,"enabled")};
26
- font-size: ${e=>p[e.size]};
27
- color: ${e=>t.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","text")};
25
+ ${e=>r.getComponentTypographyCss(e.theme,"Spinner",e.size,"enabled")};
26
+ font-size: ${e=>u[e.size]};
27
+ color: ${e=>r.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","text")};
28
28
  }
29
- `,$=i.styled.div`
29
+ `,$=s.styled.div`
30
30
  display: inline-block;
31
31
  ${e=>b(e.size,e.theme)}
32
- border: ${e=>`0.3125rem solid ${t.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","unfilled")}`};
32
+ border: ${e=>`0.3125rem solid ${r.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","unfilled")}`};
33
33
  border-radius: 50%;
34
- border-top-color: ${e=>t.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","background")};
35
- border-right-color: ${e=>t.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","background")};
34
+ border-top-color: ${e=>r.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","background")};
35
+ border-right-color: ${e=>r.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","background")};
36
36
 
37
- animation: ${h} 0.8s ease-in-out infinite;
38
- `,l=e=>{const{label:r,className:a="",style:m={},size:c="small",color:d="primary"}=e,o={theme:g.useTheme(),size:c,color:d};return n.jsxs(y,{...o,className:"lnc-ui-spinner "+a,style:m,label:r,children:[n.jsx($,{...o}),n.jsx("div",{className:"label-text",children:r})]})};l.propTypes={label:s.PropTypes.string,className:s.PropTypes.string,style:s.PropTypes.object,size:s.PropTypes.oneOf(["small","medium","large"]),color:s.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=l;
37
+ animation: ${g} 0.8s ease-in-out infinite;
38
+ `,p=e=>{const{label:t,className:o="",style:l={},size:a="small",color:m="primary"}=e,i={theme:c.useTheme(),size:a,color:m};return n.jsxs(h,{...i,className:"lnc-ui-spinner "+o,style:l,label:t,children:[n.jsx($,{...i}),n.jsx("div",{className:"label-text",children:t})]})};module.exports=p;
package/dist/Spinner.js CHANGED
@@ -1,34 +1,33 @@
1
- import { jsxs as c, jsx as s } from "react/jsx-runtime";
2
- import { P as i } from "./index-CblbdqjE.js";
1
+ import { jsxs as d, jsx as n } from "react/jsx-runtime";
3
2
  import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { k as p } from "./emotion-react.browser.esm-DUVZ5oEL.js";
5
- import { c as g, b as n } from "./utils-DtEfC-TX.js";
6
- import { u as h } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
- const u = {
3
+ import { k as c } from "./emotion-react.browser.esm-DUVZ5oEL.js";
4
+ import { c as h, b as i } from "./utils-DtEfC-TX.js";
5
+ import { u } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
+ const b = {
8
7
  small: "0.6rem",
9
8
  medium: "0.7rem",
10
9
  large: "0.8rem"
11
- }, b = (e, r) => {
10
+ }, p = (e, t) => {
12
11
  if (e === "small")
13
12
  return `
14
- width: ${r.sizes.small};
15
- height: ${r.sizes.small};
13
+ width: ${t.sizes.small};
14
+ height: ${t.sizes.small};
16
15
  `;
17
16
  if (e === "medium")
18
17
  return `
19
- width: ${r.sizes.medium};
20
- height: ${r.sizes.medium};
18
+ width: ${t.sizes.medium};
19
+ height: ${t.sizes.medium};
21
20
  `;
22
21
  if (e === "large")
23
22
  return `
24
- width: ${r.sizes.large};
25
- height: ${r.sizes.large};
23
+ width: ${t.sizes.large};
24
+ height: ${t.sizes.large};
26
25
  `;
27
- }, f = p`
26
+ }, f = c`
28
27
  to {
29
28
  transform: rotate(360deg);
30
29
  }
31
- `, y = o.div`
30
+ `, g = o.div`
32
31
  position: relative;
33
32
  height: max-content;
34
33
  width: max-content;
@@ -39,9 +38,9 @@ const u = {
39
38
  top: 50%;
40
39
  left: 50%;
41
40
  transform: translate(-50%, -50%);
42
- ${(e) => g(e.theme, "Spinner", e.size, "enabled")};
43
- font-size: ${(e) => u[e.size]};
44
- color: ${(e) => n(
41
+ ${(e) => h(e.theme, "Spinner", e.size, "enabled")};
42
+ font-size: ${(e) => b[e.size]};
43
+ color: ${(e) => i(
45
44
  e.theme,
46
45
  "Spinner",
47
46
  e.color,
@@ -51,8 +50,8 @@ const u = {
51
50
  }
52
51
  `, $ = o.div`
53
52
  display: inline-block;
54
- ${(e) => b(e.size, e.theme)}
55
- border: ${(e) => `0.3125rem solid ${n(
53
+ ${(e) => p(e.size, e.theme)}
54
+ border: ${(e) => `0.3125rem solid ${i(
56
55
  e.theme,
57
56
  "Spinner",
58
57
  e.color,
@@ -60,14 +59,14 @@ const u = {
60
59
  "unfilled"
61
60
  )}`};
62
61
  border-radius: 50%;
63
- border-top-color: ${(e) => n(
62
+ border-top-color: ${(e) => i(
64
63
  e.theme,
65
64
  "Spinner",
66
65
  e.color,
67
66
  "enabled",
68
67
  "background"
69
68
  )};
70
- border-right-color: ${(e) => n(
69
+ border-right-color: ${(e) => i(
71
70
  e.theme,
72
71
  "Spinner",
73
72
  e.color,
@@ -76,44 +75,28 @@ const u = {
76
75
  )};
77
76
 
78
77
  animation: ${f} 0.8s ease-in-out infinite;
79
- `, z = (e) => {
78
+ `, w = (e) => {
80
79
  const {
81
- label: r,
82
- className: l = "",
83
- style: a = {},
84
- size: m = "small",
85
- color: d = "primary"
86
- } = e, t = { theme: h(), size: m, color: d };
87
- return /* @__PURE__ */ c(
88
- y,
80
+ label: t,
81
+ className: s = "",
82
+ style: l = {},
83
+ size: a = "small",
84
+ color: m = "primary"
85
+ } = e, r = { theme: u(), size: a, color: m };
86
+ return /* @__PURE__ */ d(
87
+ g,
89
88
  {
90
- ...t,
91
- className: "lnc-ui-spinner " + l,
92
- style: a,
93
- label: r,
89
+ ...r,
90
+ className: "lnc-ui-spinner " + s,
91
+ style: l,
92
+ label: t,
94
93
  children: [
95
- /* @__PURE__ */ s($, { ...t }),
96
- /* @__PURE__ */ s("div", { className: "label-text", children: r })
94
+ /* @__PURE__ */ n($, { ...r }),
95
+ /* @__PURE__ */ n("div", { className: "label-text", children: t })
97
96
  ]
98
97
  }
99
98
  );
100
99
  };
101
- z.propTypes = {
102
- label: i.string,
103
- className: i.string,
104
- style: i.object,
105
- size: i.oneOf(["small", "medium", "large"]),
106
- color: i.oneOf([
107
- "primary",
108
- "secondary",
109
- "success",
110
- "danger",
111
- "warning",
112
- "information",
113
- "neutral",
114
- "gray"
115
- ])
116
- };
117
100
  export {
118
- z as default
101
+ w as default
119
102
  };
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),o=require("react"),s=require("./index-BpbMKBf_.cjs"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./consts-goSZX3xP.cjs"),m=require("./utils-RnrgDDZP.cjs"),g=a.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),s=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),c=require("./utils-RnrgDDZP.cjs"),l=o.styled.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -42,11 +42,11 @@
42
42
  font-weight: 400;
43
43
  line-height: 1rem;
44
44
  letter-spacing: 0.025rem;
45
- ${m.truncateTextInRows(2)}
45
+ ${c.truncateTextInRows(2)}
46
46
  }
47
47
  }
48
48
 
49
- @media (max-width: ${c.MOBILE_SIZE_PX+"px"}) {
49
+ @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
50
50
  display: grid;
51
51
  grid-template-columns: repeat(2, 1fr);
52
52
  gap: 0.75rem;
@@ -67,7 +67,7 @@
67
67
  }
68
68
  }
69
69
  }
70
- `,l=o.forwardRef(({items:i=[]},r)=>e.jsx(g,{ref:r,children:i==null?void 0:i.map((t,n)=>e.jsxs("div",{className:"section__card",children:[e.jsx("div",{children:e.jsx("img",{src:t==null?void 0:t.image,alt:`Stats Card ${n+1}`,className:"section__image"})}),e.jsxs("div",{children:[e.jsx("div",{className:"section__title",children:t==null?void 0:t.title}),e.jsx("div",{className:"section__description",children:t==null?void 0:t.description})]})]},`stats-section-item__${n+1}`))}));l.propTypes={items:s.PropTypes.array};const h=a.styled.div`
70
+ `,d=s.forwardRef(({items:i=[]},n)=>e.jsx(l,{ref:n,children:i==null?void 0:i.map((t,r)=>e.jsxs("div",{className:"section__card",children:[e.jsx("div",{children:e.jsx("img",{src:t==null?void 0:t.image,alt:`Stats Card ${r+1}`,className:"section__image"})}),e.jsxs("div",{children:[e.jsx("div",{className:"section__title",children:t==null?void 0:t.title}),e.jsx("div",{className:"section__description",children:t==null?void 0:t.description})]})]},`stats-section-item__${r+1}`))})),m=o.styled.div`
71
71
  display: flex;
72
72
  flex-direction: column;
73
73
  justify-content: center;
@@ -97,7 +97,7 @@
97
97
  }
98
98
  }
99
99
 
100
- @media (max-width: ${c.MOBILE_SIZE_PX+"px"}) {
100
+ @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
101
101
  text-align: center;
102
102
 
103
103
  & .section__heading {
@@ -114,4 +114,4 @@
114
114
  }
115
115
  }
116
116
  }
117
- `,d=o.forwardRef(({title:i,description:r,items:t=[]},n)=>e.jsxs(h,{ref:n,children:[e.jsxs("div",{className:"section__heading",children:[i&&e.jsx("div",{className:"section__title",children:i}),r&&e.jsx("div",{className:"section__description",children:r})]}),e.jsx(l,{items:t})]}));d.propTypes={title:s.PropTypes.string,description:s.PropTypes.string,items:s.PropTypes.array};module.exports=d;
117
+ `,g=s.forwardRef(({title:i,description:n,items:t=[]},r)=>e.jsxs(m,{ref:r,children:[e.jsxs("div",{className:"section__heading",children:[i&&e.jsx("div",{className:"section__title",children:i}),n&&e.jsx("div",{className:"section__description",children:n})]}),e.jsx(d,{items:t})]}));module.exports=g;