@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
package/dist/TabItem.js CHANGED
@@ -1,50 +1,49 @@
1
- import { jsx as j } from "react/jsx-runtime";
2
- import { forwardRef as D, useState as H } from "react";
3
- import { P as t } from "./index-CblbdqjE.js";
4
- import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { h as A, c as F, b as i, a as o } from "./utils-DtEfC-TX.js";
6
- import { u as K } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
- import { u as h } from "./useUpdateEffect-CuYWz7EA.js";
8
- const S = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625rem", V = I.div`
1
+ import { jsx as O } from "react/jsx-runtime";
2
+ import { forwardRef as W, useState as j } from "react";
3
+ import { s as A } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { h as D, c as P, b as l, a as n } from "./utils-DtEfC-TX.js";
5
+ import { u as S } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
+ import { u as f } from "./useUpdateEffect-CuYWz7EA.js";
7
+ const V = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625rem", E = A.div`
9
8
  box-sizing: border-box;
10
- ${(e) => e.disabled === !0 && A(e.theme)};
9
+ ${(e) => e.disabled === !0 && D(e.theme)};
11
10
  min-width: 5.25rem;
12
11
  ${(e) => e.fullWidth && "width: 100%"};
13
12
  display: flex;
14
13
  justify-content: center;
15
14
  align-items: center;
16
15
 
17
- height: ${(e) => S(e.size)};
18
- ${(e) => F(
16
+ height: ${(e) => V(e.size)};
17
+ ${(e) => P(
19
18
  e.theme,
20
- a(e.type),
19
+ r(e.type),
21
20
  e.size,
22
21
  "enabled"
23
22
  )};
24
23
  ${(e) => !e.disabled && "cursor: pointer"};
25
- color: ${(e) => !e.disabled && i(
24
+ color: ${(e) => !e.disabled && l(
26
25
  e.theme,
27
- a(e.type),
26
+ r(e.type),
28
27
  e.color,
29
28
  e.active ? "active" : "enabled",
30
29
  "text"
31
30
  )};
32
- background-color: ${(e) => e.type == "regular" || e.type == "pill" && (e.disabled == !0 || e.active == !1) ? "transparent" : !e.disabled && i(
31
+ background-color: ${(e) => e.type == "regular" || e.type == "pill" && (e.disabled == !0 || e.active == !1) ? "transparent" : !e.disabled && l(
33
32
  e.theme,
34
- a(e.type),
33
+ r(e.type),
35
34
  e.color,
36
35
  e.active ? "active" : "enabled",
37
36
  "background",
38
37
  "backgroundOpacity"
39
38
  )};
40
- ${(e) => e.type == "underline" && e.last == !1 && "border-right: 1px solid " + i(
39
+ ${(e) => e.type == "underline" && e.last == !1 && "border-right: 1px solid " + l(
41
40
  e.theme,
42
- a(e.type),
41
+ r(e.type),
43
42
  e.color,
44
43
  "enabled",
45
44
  "line"
46
45
  )};
47
- ${(e) => y(
46
+ ${(e) => h(
48
47
  e.theme,
49
48
  e.type,
50
49
  e.active,
@@ -52,24 +51,24 @@ const S = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625
52
51
  e.color,
53
52
  "enabled"
54
53
  )};
55
- ${(e) => E(e.theme, e.type, e.first, e.last)};
54
+ ${(e) => F(e.theme, e.type, e.first, e.last)};
56
55
  &:hover {
57
- color: ${(e) => !e.disabled && i(
56
+ color: ${(e) => !e.disabled && l(
58
57
  e.theme,
59
- a(e.type),
58
+ r(e.type),
60
59
  e.color,
61
60
  "hover",
62
61
  "text"
63
62
  )};
64
- background-color: ${(e) => e.type == "regular" ? "transparent" : !e.disabled && i(
63
+ background-color: ${(e) => e.type == "regular" ? "transparent" : !e.disabled && l(
65
64
  e.theme,
66
- a(e.type),
65
+ r(e.type),
67
66
  e.color,
68
67
  "hover",
69
68
  "background",
70
69
  "backgroundOpacity"
71
70
  )};
72
- ${(e) => y(
71
+ ${(e) => h(
73
72
  e.theme,
74
73
  e.type,
75
74
  e.active,
@@ -79,132 +78,98 @@ const S = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625
79
78
  )};
80
79
  }
81
80
  &:active {
82
- background: ${(e) => i(
81
+ background: ${(e) => l(
83
82
  e.theme,
84
- a(e.type),
83
+ r(e.type),
85
84
  e.color,
86
85
  "active",
87
86
  "background",
88
87
  "backgroundOpacity"
89
88
  )};
90
89
  }
91
- `, a = (e) => e == "underline" ? "TabUnderline" : e == "pill" ? "TabPill" : "TabRegular", E = (e, r, n, l) => {
92
- if (r == "pill")
93
- return `border-radius: ${o(e, "regular")}`;
94
- if (r == "underline" && n)
95
- return `border-radius: ${o(
90
+ `, r = (e) => e == "underline" ? "TabUnderline" : e == "pill" ? "TabPill" : "TabRegular", F = (e, t, i, a) => {
91
+ if (t == "pill")
92
+ return `border-radius: ${n(e, "regular")}`;
93
+ if (t == "underline" && i)
94
+ return `border-radius: ${n(
96
95
  e,
97
96
  "regular"
98
- )} 0 0 ${o(e, "regular")}`;
99
- if (r == "underline" && l)
100
- return `border-radius: 0 ${o(
97
+ )} 0 0 ${n(e, "regular")}`;
98
+ if (t == "underline" && a)
99
+ return `border-radius: 0 ${n(
101
100
  e,
102
101
  "regular"
103
- )} ${o(e, "regular")} 0`;
104
- }, y = (e, r, n, l, u, c) => {
105
- if (r != "pill")
106
- return `border-bottom: ${!l && (n || c == "hover") ? e.components[r === "regular" ? "TabRegular" : "TabUnderline"].default.enabled.lineHeight + "" : e.components[r === "regular" ? "TabRegular" : "TabUnderline"].default.hover.lineHeight + ""} solid ${i(
102
+ )} ${n(e, "regular")} 0`;
103
+ }, h = (e, t, i, a, u, d) => {
104
+ if (t != "pill")
105
+ return `border-bottom: ${!a && (i || d == "hover") ? e.components[t === "regular" ? "TabRegular" : "TabUnderline"].default.enabled.lineHeight + "" : e.components[t === "regular" ? "TabRegular" : "TabUnderline"].default.hover.lineHeight + ""} solid ${l(
107
106
  e,
108
- a(r),
107
+ r(t),
109
108
  u,
110
- n && !l ? "active" : l ? "enabled" : c,
109
+ i && !a ? "active" : a ? "enabled" : d,
111
110
  "line"
112
111
  )}`;
113
- }, L = D((e, r) => {
112
+ }, Q = W((e, t) => {
114
113
  const {
115
- type: n = "underline",
116
- disabled: l,
114
+ type: i = "underline",
115
+ disabled: a,
117
116
  first: u = !1,
118
- last: c = !1,
117
+ last: d = !1,
119
118
  fullWidth: v = !1,
120
- active: d = !1,
121
- activeIndex: s,
119
+ active: c = !1,
120
+ activeIndex: o,
122
121
  index: b,
123
122
  //----------------
124
- onFocus: $ = () => {
123
+ onFocus: y = () => {
125
124
  },
126
- onBlur: k = () => {
125
+ onBlur: $ = () => {
127
126
  },
128
- onClick: m = () => {
127
+ onClick: s = () => {
129
128
  },
130
- onKeyDown: T = () => {
129
+ onKeyDown: k = () => {
131
130
  },
132
- itemClick: f = () => {
131
+ itemClick: m = () => {
133
132
  },
134
133
  //----------------
135
- size: x = "small",
136
- color: C = "primary",
137
- className: R = "",
138
- style: w = {},
139
- children: O,
140
- ...B
141
- } = e, U = K(), [z, g] = H(d), N = {
142
- theme: U,
143
- color: C,
144
- size: x,
145
- style: w,
146
- className: "lnc-ui-tabitem " + R
147
- }, P = (W) => {
148
- f && !l && f(b), m && !l && m(W);
134
+ size: T = "small",
135
+ color: x = "primary",
136
+ className: C = "",
137
+ style: R = {},
138
+ children: U,
139
+ ...w
140
+ } = e, B = S(), [z, g] = j(c), H = {
141
+ theme: B,
142
+ color: x,
143
+ size: T,
144
+ style: R,
145
+ className: "lnc-ui-tabitem " + C
146
+ }, I = (N) => {
147
+ m && !a && m(b), s && !a && s(N);
149
148
  };
150
- return h(() => {
151
- g(d);
152
- }, [d]), h(() => {
153
- g(s == b);
154
- }, [s]), /* @__PURE__ */ j(
155
- V,
149
+ return f(() => {
150
+ g(c);
151
+ }, [c]), f(() => {
152
+ g(o == b);
153
+ }, [o]), /* @__PURE__ */ O(
154
+ E,
156
155
  {
157
- ref: r,
158
- onFocus: $,
159
- onBlur: k,
160
- onClick: P,
161
- onKeyDown: T,
162
- disabled: l,
163
- type: n,
156
+ ref: t,
157
+ onFocus: y,
158
+ onBlur: $,
159
+ onClick: I,
160
+ onKeyDown: k,
161
+ disabled: a,
162
+ type: i,
164
163
  first: u,
165
- last: c,
164
+ last: d,
166
165
  fullWidth: v,
167
166
  active: z,
168
- ...N,
169
- ...B,
170
- children: O
167
+ ...H,
168
+ ...w,
169
+ children: U
171
170
  }
172
171
  );
173
172
  });
174
- L.propTypes = {
175
- type: t.oneOf(["regular", "pill", "underline"]),
176
- /**
177
- * Is it first Tab Item in Tab Wrapper
178
- * }
179
- */
180
- first: t.bool,
181
- /**
182
- * Is it last Tab Item in Tab Wrapper
183
- * }
184
- */
185
- last: t.bool,
186
- fullWidth: t.bool,
187
- active: t.bool,
188
- //---------------------------------------------------------------
189
- onClick: t.func,
190
- onBlur: t.func,
191
- onFocus: t.func,
192
- onKeyDown: t.func,
193
- //---------------------------------------------------------------
194
- className: t.string,
195
- style: t.object,
196
- color: t.oneOf([
197
- "primary",
198
- "secondary",
199
- "success",
200
- "warning",
201
- "danger",
202
- "information",
203
- "neutral",
204
- "gray"
205
- ]),
206
- size: t.oneOf(["small", "medium", "large"])
207
- };
208
173
  export {
209
- L as default
174
+ Q as default
210
175
  };