@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,69 +1,68 @@
1
- import { jsx as de } from "react/jsx-runtime";
2
- import { P as e } from "./index-CblbdqjE.js";
3
- import * as Oe from "react";
4
- import { useRef as G, useState as a, useEffect as W, useCallback as j, forwardRef as J } from "react";
5
- import { _ as me, u as be } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
- import { _ as Se, b as s, h as ge, d as C, u as he, S as ve, a as ye } from "./CustomStyles-DtWxboEM.js";
7
- import { _ as _e } from "./defineProperty-DF3p0mVo.js";
1
+ import { jsx as le } from "react/jsx-runtime";
2
+ import * as ce from "react";
3
+ import { useRef as G, useState as a, useEffect as H, useCallback as E, forwardRef as J } from "react";
4
+ import { _ as ve, u as Oe } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
5
+ import { _ as Se, b as s, h as me, d as C, u as he, S as _e, a as ye } from "./CustomStyles-DtWxboEM.js";
6
+ import { _ as ge } from "./defineProperty-DF3p0mVo.js";
8
7
  import "./index-B1vKwsDE.js";
9
8
  import { d as Ie } from "./index-Dt62UGku.js";
10
9
  var Ce = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
11
- function Le(o) {
12
- var r = o.defaultOptions, t = r === void 0 ? !1 : r, i = o.cacheOptions, l = i === void 0 ? !1 : i, d = o.loadOptions;
13
- o.options;
14
- var p = o.isLoading, L = p === void 0 ? !1 : p, h = o.onInputChange, v = o.filterOption, M = v === void 0 ? null : v, y = Se(o, Ce), _ = y.inputValue, u = G(void 0), O = G(!1), m = a(Array.isArray(t) ? t : void 0), f = s(m, 2), K = f[0], R = f[1], Q = a(typeof _ < "u" ? _ : ""), $ = s(Q, 2), w = $[0], P = $[1], U = a(t === !0), E = s(U, 2), X = E[0], b = E[1], Y = a(void 0), F = s(Y, 2), V = F[0], A = F[1], Z = a([]), z = s(Z, 2), ee = z[0], T = z[1], te = a(!1), B = s(te, 2), ne = B[0], I = B[1], oe = a({}), H = s(oe, 2), S = H[0], N = H[1], ae = a(void 0), k = s(ae, 2), se = k[0], ue = k[1], re = a(void 0), q = s(re, 2), ie = q[0], le = q[1];
15
- l !== ie && (N({}), le(l)), t !== se && (R(Array.isArray(t) ? t : void 0), ue(t)), W(function() {
16
- return O.current = !0, function() {
17
- O.current = !1;
10
+ function Le(n) {
11
+ var o = n.defaultOptions, e = o === void 0 ? !1 : o, u = n.cacheOptions, i = u === void 0 ? !1 : u, l = n.loadOptions;
12
+ n.options;
13
+ var p = n.isLoading, L = p === void 0 ? !1 : p, h = n.onInputChange, _ = n.filterOption, A = _ === void 0 ? null : _, y = Se(n, Ce), g = y.inputValue, r = G(void 0), c = G(!1), v = a(Array.isArray(e) ? e : void 0), f = s(v, 2), K = f[0], R = f[1], Q = a(typeof g < "u" ? g : ""), j = s(Q, 2), T = j[0], P = j[1], U = a(e === !0), w = s(U, 2), X = w[0], O = w[1], Y = a(void 0), M = s(Y, 2), V = M[0], b = M[1], Z = a([]), q = s(Z, 2), k = q[0], D = q[1], ee = a(!1), z = s(ee, 2), te = z[0], I = z[1], ne = a({}), N = s(ne, 2), S = N[0], W = N[1], ae = a(void 0), B = s(ae, 2), se = B[0], re = B[1], oe = a(void 0), F = s(oe, 2), ue = F[0], ie = F[1];
14
+ i !== ue && (W({}), ie(i)), e !== se && (R(Array.isArray(e) ? e : void 0), re(e)), H(function() {
15
+ return c.current = !0, function() {
16
+ c.current = !1;
18
17
  };
19
18
  }, []);
20
- var x = j(function(g, c) {
21
- if (!d) return c();
22
- var n = d(g, c);
23
- n && typeof n.then == "function" && n.then(c, function() {
24
- return c();
19
+ var $ = E(function(m, d) {
20
+ if (!l) return d();
21
+ var t = l(m, d);
22
+ t && typeof t.then == "function" && t.then(d, function() {
23
+ return d();
25
24
  });
26
- }, [d]);
27
- W(function() {
28
- t === !0 && x(w, function(g) {
29
- O.current && (R(g || []), b(!!u.current));
25
+ }, [l]);
26
+ H(function() {
27
+ e === !0 && $(T, function(m) {
28
+ c.current && (R(m || []), O(!!r.current));
30
29
  });
31
30
  }, []);
32
- var pe = j(function(g, c) {
33
- var n = ge(g, c, h);
34
- if (!n) {
35
- u.current = void 0, P(""), A(""), T([]), b(!1), I(!1);
31
+ var pe = E(function(m, d) {
32
+ var t = me(m, d, h);
33
+ if (!t) {
34
+ r.current = void 0, P(""), b(""), D([]), O(!1), I(!1);
36
35
  return;
37
36
  }
38
- if (l && S[n])
39
- P(n), A(n), T(S[n]), b(!1), I(!1);
37
+ if (i && S[t])
38
+ P(t), b(t), D(S[t]), O(!1), I(!1);
40
39
  else {
41
- var ce = u.current = {};
42
- P(n), b(!0), I(!V), x(n, function(D) {
43
- O && ce === u.current && (u.current = void 0, b(!1), A(n), T(D || []), I(!1), N(D ? C(C({}, S), {}, _e({}, n, D)) : S));
40
+ var de = r.current = {};
41
+ P(t), O(!0), I(!V), $(t, function(x) {
42
+ c && de === r.current && (r.current = void 0, O(!1), b(t), D(x || []), I(!1), W(x ? C(C({}, S), {}, ge({}, t, x)) : S));
44
43
  });
45
44
  }
46
- }, [l, x, V, S, h]), fe = ne ? [] : w && V ? ee : K || [];
45
+ }, [i, $, V, S, h]), fe = te ? [] : T && V ? k : K || [];
47
46
  return C(C({}, y), {}, {
48
47
  options: fe,
49
48
  isLoading: X || L,
50
49
  onInputChange: pe,
51
- filterOption: M
50
+ filterOption: A
52
51
  });
53
52
  }
54
- var Me = /* @__PURE__ */ J(function(o, r) {
55
- var t = Le(o), i = he(t);
56
- return /* @__PURE__ */ Oe.createElement(ve, me({
57
- ref: r
58
- }, i));
59
- }), Pe = Me;
60
- const Ve = J((o, r) => {
53
+ var Ae = /* @__PURE__ */ J(function(n, o) {
54
+ var e = Le(n), u = he(e);
55
+ return /* @__PURE__ */ ce.createElement(_e, ve({
56
+ ref: o
57
+ }, u));
58
+ }), Pe = Ae;
59
+ const je = J((n, o) => {
61
60
  const {
62
61
  // defaultOptions,
63
62
  // cacheOptions,
64
63
  // loadOptions,
65
- styles: t,
66
- debounceTime: i = 0,
64
+ styles: e,
65
+ debounceTime: u = 0,
67
66
  // name,
68
67
  // hideSelectedOptions,
69
68
  // id,
@@ -71,8 +70,8 @@ const Ve = J((o, r) => {
71
70
  // value,
72
71
  // readOnly,
73
72
  // tabIndex,
74
- isSearchable: l = !0,
75
- isClearable: d = !0,
73
+ isSearchable: i = !0,
74
+ isClearable: l = !0,
76
75
  // isLoading,
77
76
  // isRtl,
78
77
  // isDisabled,
@@ -112,214 +111,34 @@ const Ve = J((o, r) => {
112
111
  // onFocus,
113
112
  size: L = "small",
114
113
  color: h = "primary",
115
- className: v = "",
116
- style: M = {},
114
+ className: _ = "",
115
+ style: A = {},
117
116
  // children,
118
117
  ...y
119
- } = o, _ = be(), u = j(
120
- Ie((m, f) => {
121
- p == null || p(m, f);
122
- }, i)
118
+ } = n, g = Oe(), r = E(
119
+ Ie((v, f) => {
120
+ p == null || p(v, f);
121
+ }, u)
123
122
  );
124
- return /* @__PURE__ */ de(
123
+ return /* @__PURE__ */ le(
125
124
  Pe,
126
125
  {
127
- ref: r,
128
- styles: t || ye,
126
+ ref: o,
127
+ styles: e || ye,
129
128
  size: L,
130
129
  color: h,
131
- theme: _,
132
- isSearchable: l,
133
- isClearable: d,
134
- onInputChange: (m, f) => {
135
- u(m, f);
130
+ theme: g,
131
+ isSearchable: i,
132
+ isClearable: l,
133
+ onInputChange: (v, f) => {
134
+ r(v, f);
136
135
  },
137
- className: v,
138
- style: M,
136
+ className: _,
137
+ style: A,
139
138
  ...y
140
139
  }
141
140
  );
142
141
  });
143
- Ve.propTypes = {
144
- /**
145
- * The default set of options to show before the user starts searching. When set to true, the results for loadOptions('') will be autoloaded.
146
- */
147
- defaultOptions: e.oneOfType([e.bool, e.array]),
148
- /**
149
- * If cacheOptions is truthy, then the loaded data will be cached. The cache will remain until cacheOptions changes value.
150
- */
151
- cacheOptions: e.any,
152
- /**
153
- * Function that returns a promise, which is the set of options to be used once the promise resolves.
154
- */
155
- loadOptions: e.func,
156
- styles: e.object,
157
- debounceTime: e.number,
158
- name: e.string,
159
- value: e.any,
160
- /**
161
- * Sets the tabIndex attribute on the input
162
- */
163
- tabIndex: e.number,
164
- /**
165
- * Whether to enable search functionality
166
- */
167
- isSearchable: e.bool,
168
- isClearable: e.bool,
169
- /**
170
- * Is the select in a state of loading (async)
171
- */
172
- isLoading: e.bool,
173
- /**
174
- * Is the select direction right-to-left
175
- */
176
- isRtl: e.bool,
177
- isDisabled: e.bool,
178
- readOnly: e.bool,
179
- /**
180
- * Close the select menu when the user selects an option
181
- */
182
- closeMenuOnSelect: e.bool,
183
- /**
184
- * If true, close the select menu when the user scrolls the document/body.
185
- * If a function, takes a standard javascript ScrollEvent you return a boolean:
186
- * true => The menu closes
187
- * false => The menu stays open
188
- * This is useful when you have a scrollable modal and want to portal the menu out, but want to avoid graphical issues.
189
- */
190
- closeMenuOnScroll: e.oneOfType([e.bool, e.func]),
191
- /**
192
- * Clear all values when the user presses escape AND the menu is closed
193
- */
194
- escapeClearsValue: e.bool,
195
- /**
196
- * Custom method to filter whether an option should be displayed in the menu. Type: `null` or `() => boolean`
197
- */
198
- filterOption: e.func,
199
- /**
200
- * Formats group labels in the menu as React components
201
- */
202
- formatGroupLabel: e.func,
203
- /**
204
- * Formats option labels in the menu and control as React components
205
- */
206
- formatOptionLabel: e.func,
207
- /**
208
- * Resolves option data to a string to be displayed as the label by components
209
- * Note: Failure to resolve to a string type can interfere with filtering and screen reader support.
210
- */
211
- getOptionLabel: e.func,
212
- /**
213
- * Resolves option data to a string to compare options and specify value attributes
214
- */
215
- getOptionValue: e.func,
216
- /**
217
- * Hide the selected option from the menu
218
- */
219
- hideSelectedOptions: e.bool,
220
- /**
221
- * The id to set on the SelectContainer component
222
- */
223
- id: e.any,
224
- /**
225
- * The id of the search input
226
- */
227
- inputid: e.any,
228
- /**
229
- * Override the built-in logic to detect whether an option is disabled. `(...) => boolean`
230
- */
231
- isOptionDisabled: e.func,
232
- /**
233
- * Override the built-in logic to detect whether an option is selected. `(...) => boolean`
234
- */
235
- isOptionSelected: e.func,
236
- /**
237
- * Async: Text to display when loading options `(...) => ...`
238
- */
239
- loadingMessage: e.func,
240
- /**
241
- * Minimum height of the menu before flipping
242
- */
243
- minMenuHeight: e.number,
244
- /**
245
- * Maximum height of the menu before flipping
246
- */
247
- maxMenuHeight: e.number,
248
- /**
249
- * Default placement of the menu in relation to the control. 'auto' will flip when there isn't enough space below the control.
250
- */
251
- menuPlacement: e.oneOf(["bottom", "auto", "top"]),
252
- /**
253
- *The CSS position value of the menu, when "fixed" extra layout management is required.
254
- */
255
- menuPosition: e.oneOf(["absolute", "fixed"]),
256
- /**
257
- * Whether to block scroll events when the menu is open
258
- */
259
- menuShouldBlockScroll: e.bool,
260
- /**
261
- * Whether the menu should be scrolled into view when it opens
262
- */
263
- menuShouldScrollIntoView: e.bool,
264
- /**
265
- * Allows control of whether the menu is opened when the Select is focused
266
- */
267
- openMenuOnFocus: e.bool,
268
- /**
269
- * Allows control of whether the menu is opened when the Select is clicked
270
- */
271
- openMenuOnClick: e.bool,
272
- //----
273
- autoFocus: e.bool,
274
- placeholder: e.any,
275
- noOptionsMessage: e.string,
276
- menuIsOpen: e.bool,
277
- /**
278
- * This complex object includes all the compositional components that are used in react-select. If you wish to overwrite a component, pass in an object with the appropriate namespace.
279
- * If you only wish to restyle a component, we recommend using the styles prop instead.
280
- */
281
- components: e.object,
282
- /**
283
- * initial value of the control
284
- */
285
- defaultValue: e.string,
286
- /**
287
- * initial value of the search input
288
- */
289
- defaultInputValue: e.string,
290
- /**
291
- * initial open value of the menu
292
- */
293
- defaultMenuIsOpen: e.bool,
294
- /**
295
- * Delimiter used to join multiple values into a single HTML Input value
296
- */
297
- delimiter: e.string,
298
- //---------------------------------------------------------------
299
- onChange: e.func,
300
- /**
301
- * control the value of the search input (changing this will update the available options)
302
- */
303
- onInputChange: e.func,
304
- onMenuOpen: e.func,
305
- onMenuClose: e.func,
306
- onFocus: e.func,
307
- onBlur: e.func,
308
- //---------------------------------------------------------------
309
- className: e.string,
310
- style: e.object,
311
- color: e.oneOf([
312
- "primary",
313
- "secondary",
314
- "success",
315
- "warning",
316
- "danger",
317
- "information",
318
- "neutral",
319
- "gray"
320
- ]),
321
- size: e.oneOf(["small", "medium", "large"])
322
- };
323
142
  export {
324
- Ve as default
143
+ je as default
325
144
  };
@@ -1,7 +1,7 @@
1
- "use strict";const r=require("react/jsx-runtime"),t=require("react"),o=require("./index-BpbMKBf_.cjs"),I=require("./emotion-styled.browser.esm-BtEseadx.cjs"),B=require("./Button.cjs"),K=require("./utils-RnrgDDZP.cjs"),L=require("./ThemeProvider.cjs"),U=require("./Popover.cjs"),Y=require("./PopoverTrigger.cjs"),$=require("./PopoverContent.cjs"),A=require("./motion-B_VPZaJq.cjs"),G=I.styled.div``,H=I.styled(A.motion.div)`
1
+ "use strict";const n=require("react/jsx-runtime"),o=require("react"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),z=require("./Button.cjs"),B=require("./utils-RnrgDDZP.cjs"),F=require("./ThemeProvider.cjs"),U=require("./Popover.cjs"),Y=require("./PopoverTrigger.cjs"),$=require("./PopoverContent.cjs"),K=require("./motion-B_VPZaJq.cjs"),L=C.styled.div``,A=C.styled(K.motion.div)`
2
2
  gap: 0.25rem;
3
3
  display: flex;
4
4
  flex-direction: column;
5
- ${n=>n.widthfitcontent==!1&&"min-width: 12.5rem"};
6
- background-color: ${n=>K.getColorRgbaValue(n.theme,"Dropdown",n.color,"enabled","background")};
7
- `,C=t.forwardRef((n,p)=>{const{control:i,offsetValue:S=9,placement:_,widthFitContent:b=!1,closeOnItemSelect:v=!0,zIndex:q,onFocus:m=()=>{},onBlur:f=()=>{},onClick:y=()=>{},onKeyDown:d=()=>{},onMouseEnter:T=()=>{},onMouseLeave:P=()=>{},onItemSelected:M=()=>{},animation:R={animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},initial:{opacity:0,height:0},transition:{type:"tween",duration:.15,opacity:{duration:.15,ease:"easeOut"},height:{duration:.15}}},className:h="",style:J={},color:s="primary",size:c="small",contentClassName:N="",popoverProps:Q,children:O,...j}=n;t.useRef();const D=t.useRef(),{theme:k}=L.useTheme(),g=t.useRef(),E=t.useRef(),[z,l]=t.useState(!1),w=(e,u,a)=>{M(e,u,a),v==!0&&l(!1)},F=t.Children.map(O,(e,u)=>{var a,x;return t.isValidElement(e)&&(e.props.__TYPE__=="MENU_ITEM"||((a=e==null?void 0:e.type)==null?void 0:a.displayName)==="MENU_ITEM"||e.props.__TYPE__=="NESTED_ITEM"||((x=e==null?void 0:e.type)==null?void 0:x.displayName)==="NESTED_ITEM")?u==0?(e.props.ref&&(E.current=p),t.cloneElement(e,{ref:p||E,color:e.props.color?e.props.color:s,size:c,onItemSelected:w,animation:R})):t.cloneElement(e,{color:e.props.color?e.props.color:s,size:c,onItemSelected:w}):e}),V=()=>typeof i=="string"||i instanceof String?r.jsx(B,{text:i,onClick:y,onMouseEnter:T,onMouseLeave:P,onBlur:f,onFocus:m,ref:g,onKeyDown:d,trailingIcon:"angle-down",color:s,size:c}):t.cloneElement(i,{color:s,size:c,ref:g,onClick:y,onMouseEnter:T,onMouseLeave:P,onBlur:f,onFocus:m,onKeyDown:d});return r.jsx(G,{ref:p,className:h,...j,children:r.jsxs(U,{open:z,onOpenChange:l,placement:_,offsetValue:S,children:[r.jsx(Y,{onClick:()=>l(e=>!e),children:V()}),r.jsx($,{zIndex:q,children:r.jsx(H,{ref:D,widthfitcontent:b,color:s,theme:k,className:N,children:F})})]})})});C.propTypes={control:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.element]),offsetValue:o.PropTypes.number,placement:o.PropTypes.oneOf(["center","top","right","bottom","left","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end"]),widthFitContent:o.PropTypes.bool,closeOnItemSelect:o.PropTypes.bool,zIndex:o.PropTypes.number,onBlur:o.PropTypes.func,onFocus:o.PropTypes.func,onClick:o.PropTypes.func,onKeyDown:o.PropTypes.func,onMouseEnter:o.PropTypes.func,onMouseLeave:o.PropTypes.func,onItemSelected:o.PropTypes.func,animation:o.PropTypes.object,className:o.PropTypes.string,color:o.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:o.PropTypes.oneOf(["small","medium","large"]),popoverProps:o.PropTypes.any};module.exports=C;
5
+ ${t=>t.widthfitcontent==!1&&"min-width: 12.5rem"};
6
+ background-color: ${t=>B.getColorRgbaValue(t.theme,"Dropdown",t.color,"enabled","background")};
7
+ `,G=o.forwardRef((t,s)=>{const{control:i,offsetValue:I=9,placement:S,widthFitContent:T=!1,closeOnItemSelect:q=!0,zIndex:R,onFocus:p=()=>{},onBlur:m=()=>{},onClick:f=()=>{},onKeyDown:d=()=>{},onMouseEnter:y=()=>{},onMouseLeave:E=()=>{},onItemSelected:v=()=>{},animation:M={animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},initial:{opacity:0,height:0},transition:{type:"tween",duration:.15,opacity:{duration:.15,ease:"easeOut"},height:{duration:.15}}},className:N="",color:r="primary",size:a="small",contentClassName:P="",children:j,...D}=t,h=o.useRef(),{theme:b}=F.useTheme(),g=o.useRef(),_=o.useRef(),[O,l]=o.useState(!1),x=(e,u,c)=>{v(e,u,c),q==!0&&l(!1)},k=o.Children.map(j,(e,u)=>{var c,w;return o.isValidElement(e)&&(e.props.__TYPE__=="MENU_ITEM"||((c=e==null?void 0:e.type)==null?void 0:c.displayName)==="MENU_ITEM"||e.props.__TYPE__=="NESTED_ITEM"||((w=e==null?void 0:e.type)==null?void 0:w.displayName)==="NESTED_ITEM")?u==0?(e.props.ref&&(_.current=s),o.cloneElement(e,{ref:s||_,color:e.props.color?e.props.color:r,size:a,onItemSelected:x,animation:M})):o.cloneElement(e,{color:e.props.color?e.props.color:r,size:a,onItemSelected:x}):e}),V=()=>typeof i=="string"||i instanceof String?n.jsx(z,{text:i,onClick:f,onMouseEnter:y,onMouseLeave:E,onBlur:m,onFocus:p,ref:g,onKeyDown:d,trailingIcon:"angle-down",color:r,size:a}):o.cloneElement(i,{color:r,size:a,ref:g,onClick:f,onMouseEnter:y,onMouseLeave:E,onBlur:m,onFocus:p,onKeyDown:d});return n.jsx(L,{ref:s,className:N,...D,children:n.jsxs(U,{open:O,onOpenChange:l,placement:S,offsetValue:I,children:[n.jsx(Y,{onClick:()=>l(e=>!e),children:V()}),n.jsx($,{zIndex:R,children:n.jsx(A,{ref:h,widthfitcontent:T,color:r,theme:b,className:P,children:k})})]})})});module.exports=G;
@@ -1,51 +1,50 @@
1
- import { jsx as r, jsxs as B } from "react/jsx-runtime";
2
- import { forwardRef as K, useRef as l, useState as L, Children as U, isValidElement as Y, cloneElement as f } from "react";
3
- import { P as o } from "./index-CblbdqjE.js";
4
- import { s as T } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import $ from "./Button.js";
6
- import { b as q } from "./utils-DtEfC-TX.js";
7
- import { useTheme as A } from "./ThemeProvider.js";
8
- import G from "./Popover.js";
9
- import H from "./PopoverTrigger.js";
10
- import J from "./PopoverContent.js";
11
- import { m as Q } from "./motion-Ckekul_K.js";
12
- const W = T.div``, X = T(Q.div)`
1
+ import { jsx as n, jsxs as B } from "react/jsx-runtime";
2
+ import { forwardRef as F, useRef as l, useState as U, Children as Y, isValidElement as $, cloneElement as c } from "react";
3
+ import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import K from "./Button.js";
5
+ import { b as L } from "./utils-DtEfC-TX.js";
6
+ import { useTheme as q } from "./ThemeProvider.js";
7
+ import A from "./Popover.js";
8
+ import G from "./PopoverTrigger.js";
9
+ import H from "./PopoverContent.js";
10
+ import { m as J } from "./motion-Ckekul_K.js";
11
+ const Q = S.div``, W = S(J.div)`
13
12
  gap: 0.25rem;
14
13
  display: flex;
15
14
  flex-direction: column;
16
- ${(t) => t.widthfitcontent == !1 && "min-width: 12.5rem"};
17
- background-color: ${(t) => q(
18
- t.theme,
15
+ ${(o) => o.widthfitcontent == !1 && "min-width: 12.5rem"};
16
+ background-color: ${(o) => L(
17
+ o.theme,
19
18
  "Dropdown",
20
- t.color,
19
+ o.color,
21
20
  "enabled",
22
21
  "background"
23
22
  )};
24
- `, Z = K((t, s) => {
23
+ `, me = F((o, r) => {
25
24
  const {
26
- control: a,
27
- offsetValue: _ = 9,
28
- placement: v,
29
- widthFitContent: M = !1,
30
- closeOnItemSelect: P = !0,
31
- zIndex: N,
25
+ control: s,
26
+ offsetValue: T = 9,
27
+ placement: M,
28
+ widthFitContent: N = !1,
29
+ closeOnItemSelect: v = !0,
30
+ zIndex: x,
32
31
  //----------------
33
- onFocus: u = () => {
32
+ onFocus: f = () => {
34
33
  },
35
- onBlur: d = () => {
34
+ onBlur: u = () => {
36
35
  },
37
- onClick: g = () => {
36
+ onClick: d = () => {
38
37
  },
39
- onKeyDown: y = () => {
38
+ onKeyDown: g = () => {
40
39
  },
41
- onMouseEnter: E = () => {
40
+ onMouseEnter: y = () => {
42
41
  },
43
- onMouseLeave: C = () => {
42
+ onMouseLeave: E = () => {
44
43
  },
45
- onItemSelected: O = () => {
44
+ onItemSelected: D = () => {
46
45
  },
47
46
  //----------------
48
- animation: h = {
47
+ animation: P = {
49
48
  animate: { opacity: 1, height: "auto" },
50
49
  exit: { opacity: 0, height: 0 },
51
50
  initial: { opacity: 0, height: 0 },
@@ -56,139 +55,78 @@ const W = T.div``, X = T(Q.div)`
56
55
  height: { duration: 0.15 }
57
56
  }
58
57
  },
59
- className: x = "",
60
- style: ee = {},
61
- color: n = "primary",
62
- size: i = "small",
63
- contentClassName: D = "",
64
- popoverProps: oe,
65
- children: R,
66
- ...k
67
- } = t;
68
- l();
69
- const z = l(), { theme: F } = A(), I = l(), w = l(), [V, m] = L(!1), b = (e, c, p) => {
70
- O(e, c, p), P == !0 && m(!1);
71
- }, j = U.map(R, (e, c) => {
72
- var p, S;
73
- return Y(e) && (e.props.__TYPE__ == "MENU_ITEM" || ((p = e == null ? void 0 : e.type) == null ? void 0 : p.displayName) === "MENU_ITEM" || e.props.__TYPE__ == "NESTED_ITEM" || ((S = e == null ? void 0 : e.type) == null ? void 0 : S.displayName) === "NESTED_ITEM") ? c == 0 ? (e.props.ref && (w.current = s), f(e, {
74
- ref: s || w,
58
+ className: R = "",
59
+ color: t = "primary",
60
+ size: a = "small",
61
+ contentClassName: b = "",
62
+ children: h,
63
+ ...O
64
+ } = o, k = l(), { theme: V } = q(), C = l(), I = l(), [j, p] = U(!1), _ = (e, m, i) => {
65
+ D(e, m, i), v == !0 && p(!1);
66
+ }, z = Y.map(h, (e, m) => {
67
+ var i, w;
68
+ return $(e) && (e.props.__TYPE__ == "MENU_ITEM" || ((i = e == null ? void 0 : e.type) == null ? void 0 : i.displayName) === "MENU_ITEM" || e.props.__TYPE__ == "NESTED_ITEM" || ((w = e == null ? void 0 : e.type) == null ? void 0 : w.displayName) === "NESTED_ITEM") ? m == 0 ? (e.props.ref && (I.current = r), c(e, {
69
+ ref: r || I,
75
70
  //needed to focus on navigation
76
- color: e.props.color ? e.props.color : n,
77
- size: i,
78
- onItemSelected: b,
79
- animation: h
80
- })) : f(e, {
81
- color: e.props.color ? e.props.color : n,
82
- size: i,
83
- onItemSelected: b
71
+ color: e.props.color ? e.props.color : t,
72
+ size: a,
73
+ onItemSelected: _,
74
+ animation: P
75
+ })) : c(e, {
76
+ color: e.props.color ? e.props.color : t,
77
+ size: a,
78
+ onItemSelected: _
84
79
  }) : e;
85
80
  });
86
- return /* @__PURE__ */ r(W, { ref: s, className: x, ...k, children: /* @__PURE__ */ B(
87
- G,
81
+ return /* @__PURE__ */ n(Q, { ref: r, className: R, ...O, children: /* @__PURE__ */ B(
82
+ A,
88
83
  {
89
- open: V,
90
- onOpenChange: m,
91
- placement: v,
92
- offsetValue: _,
84
+ open: j,
85
+ onOpenChange: p,
86
+ placement: M,
87
+ offsetValue: T,
93
88
  children: [
94
- /* @__PURE__ */ r(H, { onClick: () => m((e) => !e), children: typeof a == "string" || a instanceof String ? /* @__PURE__ */ r(
95
- $,
89
+ /* @__PURE__ */ n(G, { onClick: () => p((e) => !e), children: typeof s == "string" || s instanceof String ? /* @__PURE__ */ n(
90
+ K,
96
91
  {
97
- text: a,
98
- onClick: g,
99
- onMouseEnter: E,
100
- onMouseLeave: C,
101
- onBlur: d,
102
- onFocus: u,
103
- ref: I,
104
- onKeyDown: y,
92
+ text: s,
93
+ onClick: d,
94
+ onMouseEnter: y,
95
+ onMouseLeave: E,
96
+ onBlur: u,
97
+ onFocus: f,
98
+ ref: C,
99
+ onKeyDown: g,
105
100
  trailingIcon: "angle-down",
106
- color: n,
107
- size: i
101
+ color: t,
102
+ size: a
108
103
  }
109
- ) : f(a, {
110
- color: n,
111
- size: i,
112
- ref: I,
113
- onClick: g,
114
- onMouseEnter: E,
115
- onMouseLeave: C,
116
- onBlur: d,
117
- onFocus: u,
118
- onKeyDown: y
104
+ ) : c(s, {
105
+ color: t,
106
+ size: a,
107
+ ref: C,
108
+ onClick: d,
109
+ onMouseEnter: y,
110
+ onMouseLeave: E,
111
+ onBlur: u,
112
+ onFocus: f,
113
+ onKeyDown: g
119
114
  }) }),
120
- /* @__PURE__ */ r(J, { zIndex: N, children: /* @__PURE__ */ r(
121
- X,
115
+ /* @__PURE__ */ n(H, { zIndex: x, children: /* @__PURE__ */ n(
116
+ W,
122
117
  {
123
- ref: z,
124
- widthfitcontent: M,
125
- color: n,
126
- theme: F,
127
- className: D,
128
- children: j
118
+ ref: k,
119
+ widthfitcontent: N,
120
+ color: t,
121
+ theme: V,
122
+ className: b,
123
+ children: z
129
124
  }
130
125
  ) })
131
126
  ]
132
127
  }
133
128
  ) });
134
129
  });
135
- Z.propTypes = {
136
- control: o.oneOfType([o.string, o.element]),
137
- /**
138
- * Menu offset from the control
139
- */
140
- offsetValue: o.number,
141
- placement: o.oneOf([
142
- "center",
143
- "top",
144
- "right",
145
- "bottom",
146
- "left",
147
- "top-start",
148
- "top-end",
149
- "right-start",
150
- "right-end",
151
- "bottom-start",
152
- "bottom-end",
153
- "left-start",
154
- "left-end"
155
- ]),
156
- /**
157
- * Adjust width of dropdown according to dropdown items content.
158
- */
159
- widthFitContent: o.bool,
160
- /**
161
- * Close menu when item is selected
162
- */
163
- closeOnItemSelect: o.bool,
164
- /**
165
- * zIndex of dropdown popup
166
- */
167
- zIndex: o.number,
168
- //---------------------------------------------------------------
169
- onBlur: o.func,
170
- onFocus: o.func,
171
- onClick: o.func,
172
- onKeyDown: o.func,
173
- onMouseEnter: o.func,
174
- onMouseLeave: o.func,
175
- onItemSelected: o.func,
176
- //---------------------------------------------------------------
177
- animation: o.object,
178
- className: o.string,
179
- color: o.oneOf([
180
- "primary",
181
- "secondary",
182
- "success",
183
- "warning",
184
- "danger",
185
- "information",
186
- "neutral",
187
- "gray"
188
- ]),
189
- size: o.oneOf(["small", "medium", "large"]),
190
- popoverProps: o.any
191
- };
192
130
  export {
193
- Z as default
131
+ me as default
194
132
  };