@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,10 +1,9 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as I, isValidElement as S } from "react";
3
- import { P as n } from "./index-CblbdqjE.js";
4
- import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { c as f, b as t, d as c, e as k, h as y, a as V } from "./utils-DtEfC-TX.js";
6
- import { u as j } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
- const x = (e) => `
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as R, isValidElement as S } from "react";
3
+ import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { c as B, b as t, d as l, e as k, h as f, a as V } from "./utils-DtEfC-TX.js";
5
+ import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
+ const y = (e) => `
8
7
  outline: none;
9
8
  display: inline-flex;
10
9
  flex-direction: row;
@@ -20,14 +19,14 @@ const x = (e) => `
20
19
  e.borderRadius
21
20
  )};
22
21
 
23
- min-width: ${c(e.theme, e.size)};
24
- max-width: ${c(e.theme, e.size)};
25
- `, D = g.i`
22
+ min-width: ${l(e.theme, e.size)};
23
+ max-width: ${l(e.theme, e.size)};
24
+ `, j = $.i`
26
25
  font-size: 1.125rem;
27
- `, O = g.button`
28
- ${(e) => x(e)}
26
+ `, v = $.button`
27
+ ${(e) => y(e)}
29
28
 
30
- ${(e) => f(
29
+ ${(e) => B(
31
30
  e.theme,
32
31
  "ButtonFilled",
33
32
  e.size,
@@ -49,8 +48,8 @@ const x = (e) => `
49
48
  "text"
50
49
  )};
51
50
 
52
- min-height: ${(e) => c(e.theme, e.size)};
53
- max-height: ${(e) => c(e.theme, e.size)};
51
+ min-height: ${(e) => l(e.theme, e.size)};
52
+ max-height: ${(e) => l(e.theme, e.size)};
54
53
 
55
54
  &:hover {
56
55
  background-color: ${(e) => t(
@@ -106,7 +105,7 @@ const x = (e) => `
106
105
  }
107
106
 
108
107
  &:disabled {
109
- ${(e) => e.disabled === !0 && y(e.theme)};
108
+ ${(e) => e.disabled === !0 && f(e.theme)};
110
109
  cursor: default;
111
110
  background-color: ${(e) => t(
112
111
  e.theme,
@@ -124,10 +123,10 @@ const x = (e) => `
124
123
  "text"
125
124
  )};
126
125
  }
127
- `, K = g.button`
128
- ${(e) => x(e)}
126
+ `, D = $.button`
127
+ ${(e) => y(e)}
129
128
 
130
- ${(e) => f(
129
+ ${(e) => B(
131
130
  e.theme,
132
131
  "ButtonTinted",
133
132
  e.size,
@@ -152,8 +151,8 @@ const x = (e) => `
152
151
  "backgroundOpacity"
153
152
  )};
154
153
 
155
- min-height: ${(e) => c(e.theme, e.size)};
156
- max-height: ${(e) => c(e.theme, e.size)};
154
+ min-height: ${(e) => l(e.theme, e.size)};
155
+ max-height: ${(e) => l(e.theme, e.size)};
157
156
 
158
157
  &:hover {
159
158
  background-color: ${(e) => e.disabled !== !0 && t(
@@ -210,7 +209,7 @@ const x = (e) => `
210
209
  )};
211
210
  }
212
211
  &:disabled {
213
- ${(e) => e.disabled === !0 && y(e.theme)};
212
+ ${(e) => e.disabled === !0 && f(e.theme)};
214
213
  cursor: default;
215
214
  background-color: ${(e) => t(
216
215
  e.theme,
@@ -228,10 +227,10 @@ const x = (e) => `
228
227
  "text"
229
228
  )};
230
229
  }
231
- `, T = g.button`
232
- ${(e) => x(e)}
230
+ `, T = $.button`
231
+ ${(e) => y(e)}
233
232
 
234
- ${(e) => f(
233
+ ${(e) => B(
235
234
  e.theme,
236
235
  "ButtonTinted",
237
236
  e.size,
@@ -255,8 +254,8 @@ const x = (e) => `
255
254
  "backgroundOpacity"
256
255
  )};
257
256
 
258
- min-height: ${(e) => c(e.theme, e.size)};
259
- max-height: ${(e) => c(e.theme, e.size)};
257
+ min-height: ${(e) => l(e.theme, e.size)};
258
+ max-height: ${(e) => l(e.theme, e.size)};
260
259
 
261
260
  &:hover {
262
261
  background-color: ${(e) => t(
@@ -314,7 +313,7 @@ const x = (e) => `
314
313
  }
315
314
 
316
315
  &:disabled {
317
- ${(e) => e.disabled === !0 && y(e.theme)};
316
+ ${(e) => e.disabled === !0 && f(e.theme)};
318
317
  cursor: default;
319
318
  background-color: ${(e) => t(
320
319
  e.theme,
@@ -325,7 +324,7 @@ const x = (e) => `
325
324
  "backgroundOpacity"
326
325
  )};
327
326
  }
328
- `, U = g(T)`
327
+ `, U = $(T)`
329
328
  border: 1px solid
330
329
  ${(e) => t(
331
330
  e.theme,
@@ -335,152 +334,115 @@ const x = (e) => `
335
334
  "border",
336
335
  "borderOpacity"
337
336
  )};
338
- `, W = I((e, d) => {
337
+ `, H = R((e, d) => {
339
338
  const {
340
- icon: B = null,
339
+ icon: g = null,
341
340
  iconStyle: z = "solid",
342
- borderRadius: F = "regular",
343
- btnType: l = "filled",
344
- disabled: N = !1,
345
- tabIndex: E = 0,
341
+ borderRadius: O = "regular",
342
+ btnType: c = "filled",
343
+ disabled: F = !1,
346
344
  //----------------
347
- onFocus: r = () => {
345
+ onFocus: i = () => {
348
346
  },
349
347
  onBlur: u = () => {
350
348
  },
351
- onClick: b = () => {
349
+ onClick: r = () => {
352
350
  },
353
- onKeyDown: s = () => {
351
+ onKeyDown: b = () => {
354
352
  },
355
353
  //----------------
356
- size: v = "small",
354
+ size: x = "small",
357
355
  color: a = "primary",
358
356
  className: m = "",
359
- style: w = {},
360
- ...h
357
+ style: N = {},
358
+ ...s
361
359
  } = e, o = {
362
- theme: j(),
360
+ theme: I(),
363
361
  color: a,
364
- size: v,
365
- style: w,
362
+ size: x,
363
+ style: N,
366
364
  className: "lnc-ui-icon-button",
367
- disabled: N,
368
- borderRadius: F,
369
- btnType: l
365
+ disabled: F,
366
+ borderRadius: O,
367
+ btnType: c
370
368
  }, C = () => {
371
- var R = z === "solid" ? "fas" : "far";
372
- return `${R} fa-${B} fa-fw`;
373
- }, $ = () => S(B) ? B : /* @__PURE__ */ i(D, { className: C() });
374
- return l === "filled" ? /* @__PURE__ */ i(
375
- O,
369
+ var w = z === "solid" ? "fas" : "far";
370
+ return `${w} fa-${g} fa-fw`;
371
+ }, h = () => S(g) ? g : /* @__PURE__ */ n(j, { className: C() });
372
+ return c === "filled" ? /* @__PURE__ */ n(
373
+ v,
376
374
  {
377
375
  ref: d,
378
376
  "data-type": "filled",
379
377
  ...o,
380
- className: `${o == null ? void 0 : o.className} ${a}-${l}-lnc-btn ${m}`,
381
- onFocus: r,
378
+ className: `${o == null ? void 0 : o.className} ${a}-${c}-lnc-btn ${m}`,
379
+ onFocus: i,
382
380
  onBlur: u,
383
- onClick: b,
384
- onKeyDown: s,
385
- type: l,
386
- ...h,
387
- children: $()
381
+ onClick: r,
382
+ onKeyDown: b,
383
+ type: c,
384
+ ...s,
385
+ children: h()
388
386
  }
389
- ) : l === "tinted" ? /* @__PURE__ */ i(
390
- K,
387
+ ) : c === "tinted" ? /* @__PURE__ */ n(
388
+ D,
391
389
  {
392
390
  ref: d,
393
391
  "data-type": "tinted",
394
392
  ...o,
395
- className: `${o == null ? void 0 : o.className} ${a}-${l}-lnc-btn ${m}`,
396
- onFocus: r,
393
+ className: `${o == null ? void 0 : o.className} ${a}-${c}-lnc-btn ${m}`,
394
+ onFocus: i,
397
395
  onBlur: u,
398
- onClick: b,
399
- onKeyDown: s,
400
- ...h,
401
- children: $()
396
+ onClick: r,
397
+ onKeyDown: b,
398
+ ...s,
399
+ children: h()
402
400
  }
403
- ) : l === "outline" ? /* @__PURE__ */ i(
401
+ ) : c === "outline" ? /* @__PURE__ */ n(
404
402
  U,
405
403
  {
406
404
  ref: d,
407
405
  "data-type": "outline",
408
406
  ...o,
409
- className: `${o == null ? void 0 : o.className} ${a}-${l}-lnc-btn ${m}`,
410
- onFocus: r,
407
+ className: `${o == null ? void 0 : o.className} ${a}-${c}-lnc-btn ${m}`,
408
+ onFocus: i,
411
409
  onBlur: u,
412
- onClick: b,
413
- onKeyDown: s,
414
- ...h,
415
- children: $()
410
+ onClick: r,
411
+ onKeyDown: b,
412
+ ...s,
413
+ children: h()
416
414
  }
417
- ) : l === "basic" ? /* @__PURE__ */ i(
415
+ ) : c === "basic" ? /* @__PURE__ */ n(
418
416
  T,
419
417
  {
420
418
  ref: d,
421
419
  "data-type": "basic",
422
420
  ...o,
423
- className: `${o == null ? void 0 : o.className} ${a}-${l}-lnc-btn ${m}`,
424
- onFocus: r,
421
+ className: `${o == null ? void 0 : o.className} ${a}-${c}-lnc-btn ${m}`,
422
+ onFocus: i,
425
423
  onBlur: u,
426
- onClick: b,
427
- onKeyDown: s,
428
- ...h,
429
- children: $()
424
+ onClick: r,
425
+ onKeyDown: b,
426
+ ...s,
427
+ children: h()
430
428
  }
431
- ) : /* @__PURE__ */ i(
432
- O,
429
+ ) : /* @__PURE__ */ n(
430
+ v,
433
431
  {
434
432
  ref: d,
435
433
  "data-type": "filled",
436
- size: v,
434
+ size: x,
437
435
  ...o,
438
- className: `${o == null ? void 0 : o.className} ${a}-${l}-lnc-btn ${m}`,
439
- onFocus: r,
436
+ className: `${o == null ? void 0 : o.className} ${a}-${c}-lnc-btn ${m}`,
437
+ onFocus: i,
440
438
  onBlur: u,
441
- onClick: b,
442
- onKeyDown: s,
443
- ...h,
444
- children: $()
439
+ onClick: r,
440
+ onKeyDown: b,
441
+ ...s,
442
+ children: h()
445
443
  }
446
444
  );
447
445
  });
448
- W.propTypes = {
449
- icon: n.oneOfType([n.string, n.element]),
450
- iconStyle: n.oneOf(["regular", "solid"]),
451
- borderRadius: n.oneOf([
452
- "slight",
453
- "regular",
454
- "edged",
455
- "curved",
456
- "none"
457
- ]),
458
- /**
459
- * Different styles
460
- */
461
- btnType: n.oneOf(["filled", "tinted", "outline", "basic"]),
462
- disabled: n.bool,
463
- tabIndex: n.number,
464
- //---------------------------------------------------------------
465
- onBlur: n.func,
466
- onFocus: n.func,
467
- onClick: n.func,
468
- onKeyDown: n.func,
469
- //---------------------------------------------------------------
470
- className: n.string,
471
- style: n.object,
472
- color: n.oneOf([
473
- "primary",
474
- "secondary",
475
- "success",
476
- "warning",
477
- "danger",
478
- "information",
479
- "neutral",
480
- "gray"
481
- ]),
482
- size: n.oneOf(["small", "medium", "large"])
483
- };
484
446
  export {
485
- W as default
447
+ H as default
486
448
  };
@@ -1,6 +1,6 @@
1
1
  import { g as f } from "./_commonjsHelpers-BkfeUUK-.js";
2
2
  import y from "react";
3
- import { u as _, p as m } from "./SearchSection-DDQ_K98T.js";
3
+ import { u as _, p as m } from "./SearchSection-DAaMecR4.js";
4
4
  function P(r, e) {
5
5
  for (var t = 0; t < e.length; t++) {
6
6
  const o = e[t];
@@ -1 +1 @@
1
- "use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-BcbHP6QF.cjs");function m(r,e){for(var t=0;t<e.length;t++){const o=e[t];if(typeof o!="string"&&!Array.isArray(o)){for(const a in o)if(a!=="default"&&!(a in r)){const l=Object.getOwnPropertyDescriptor(o,a);l&&Object.defineProperty(r,a,l.get?l:{enumerable:!0,get:()=>o[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var P=Object.create,n=Object.defineProperty,g=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,v=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,j=(r,e,t)=>e in r?n(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,w=(r,e)=>{for(var t in e)n(r,t,{get:e[t],enumerable:!0})},h=(r,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of b(e))!O.call(r,a)&&a!==t&&n(r,a,{get:()=>e[a],enumerable:!(o=g(e,a))||o.enumerable});return r},L=(r,e,t)=>(t=r!=null?P(v(r)):{},h(!r||!r.__esModule?n(t,"default",{value:r,enumerable:!0}):t,r)),K=r=>h(n({},"__esModule",{value:!0}),r),s=(r,e,t)=>(j(r,typeof e!="symbol"?e+"":e,t),t),d={};w(d,{default:()=>i});var y=K(d),u=L(f),p=c.utils,S=c.patterns;const D="https://cdn.embed.ly/player-0.1.0.min.js",M="playerjs";class i extends u.Component{constructor(){super(...arguments),s(this,"callPlayer",p.callPlayer),s(this,"duration",null),s(this,"currentTime",null),s(this,"secondsLoaded",null),s(this,"mute",()=>{this.callPlayer("mute")}),s(this,"unmute",()=>{this.callPlayer("unmute")}),s(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,p.getSDK)(D,M).then(t=>{this.iframe&&(this.player=new t.Player(this.iframe),this.player.on("ready",()=>{setTimeout(()=>{this.player.isReady=!0,this.player.setLoop(this.props.loop),this.props.muted&&this.player.mute(),this.addListeners(this.player,this.props),this.props.onReady()},500)}))},this.props.onError)}addListeners(e,t){e.on("play",t.onPlay),e.on("pause",t.onPause),e.on("ended",t.onEnded),e.on("error",t.onError),e.on("timeupdate",({duration:o,seconds:a})=>{this.duration=o,this.currentTime=a})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,t=!0){this.callPlayer("setCurrentTime",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const e={width:"100%",height:"100%"};return u.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:e,allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}s(i,"displayName","Kaltura");s(i,"canPlay",S.canPlay.kaltura);const T=_.getDefaultExportFromCjs(y),E=m({__proto__:null,default:T},[y]);exports.Kaltura=E;
1
+ "use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-B94YN_6P.cjs");function m(r,e){for(var t=0;t<e.length;t++){const o=e[t];if(typeof o!="string"&&!Array.isArray(o)){for(const a in o)if(a!=="default"&&!(a in r)){const l=Object.getOwnPropertyDescriptor(o,a);l&&Object.defineProperty(r,a,l.get?l:{enumerable:!0,get:()=>o[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var P=Object.create,n=Object.defineProperty,g=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,v=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,j=(r,e,t)=>e in r?n(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,w=(r,e)=>{for(var t in e)n(r,t,{get:e[t],enumerable:!0})},h=(r,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of b(e))!O.call(r,a)&&a!==t&&n(r,a,{get:()=>e[a],enumerable:!(o=g(e,a))||o.enumerable});return r},L=(r,e,t)=>(t=r!=null?P(v(r)):{},h(!r||!r.__esModule?n(t,"default",{value:r,enumerable:!0}):t,r)),K=r=>h(n({},"__esModule",{value:!0}),r),s=(r,e,t)=>(j(r,typeof e!="symbol"?e+"":e,t),t),d={};w(d,{default:()=>i});var y=K(d),u=L(f),p=c.utils,S=c.patterns;const D="https://cdn.embed.ly/player-0.1.0.min.js",M="playerjs";class i extends u.Component{constructor(){super(...arguments),s(this,"callPlayer",p.callPlayer),s(this,"duration",null),s(this,"currentTime",null),s(this,"secondsLoaded",null),s(this,"mute",()=>{this.callPlayer("mute")}),s(this,"unmute",()=>{this.callPlayer("unmute")}),s(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,p.getSDK)(D,M).then(t=>{this.iframe&&(this.player=new t.Player(this.iframe),this.player.on("ready",()=>{setTimeout(()=>{this.player.isReady=!0,this.player.setLoop(this.props.loop),this.props.muted&&this.player.mute(),this.addListeners(this.player,this.props),this.props.onReady()},500)}))},this.props.onError)}addListeners(e,t){e.on("play",t.onPlay),e.on("pause",t.onPause),e.on("ended",t.onEnded),e.on("error",t.onError),e.on("timeupdate",({duration:o,seconds:a})=>{this.duration=o,this.currentTime=a})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,t=!0){this.callPlayer("setCurrentTime",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const e={width:"100%",height:"100%"};return u.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:e,allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}s(i,"displayName","Kaltura");s(i,"canPlay",S.canPlay.kaltura);const T=_.getDefaultExportFromCjs(y),E=m({__proto__:null,default:T},[y]);exports.Kaltura=E;