@lanaco/lnc-react-ui 4.0.225 → 4.0.226

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 (378) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +2 -2
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +1 -1
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +2 -2
  7. package/dist/ActionsToolbar.cjs +1 -1
  8. package/dist/ActionsToolbar.js +3 -3
  9. package/dist/AdBannerSection.cjs +1 -1
  10. package/dist/AdBannerSection.js +3 -3
  11. package/dist/Alert.cjs +1 -1
  12. package/dist/Alert.js +2 -2
  13. package/dist/Avatar.cjs +1 -1
  14. package/dist/Avatar.js +2 -2
  15. package/dist/Badge.cjs +1 -1
  16. package/dist/Badge.js +2 -2
  17. package/dist/BannerNextSection.cjs +1 -1
  18. package/dist/BannerNextSection.js +3 -3
  19. package/dist/BannerSectionBasic.cjs +1 -1
  20. package/dist/BannerSectionBasic.js +2 -2
  21. package/dist/BannerSectionCarousel.cjs +1 -1
  22. package/dist/BannerSectionCarousel.js +5 -5
  23. package/dist/BannerSectionGrid.cjs +2 -2
  24. package/dist/BannerSectionGrid.js +5 -5
  25. package/dist/BannerSectionSimple.cjs +1 -1
  26. package/dist/BannerSectionSimple.js +4 -4
  27. package/dist/BannerSectionWithList.cjs +1 -1
  28. package/dist/BannerSectionWithList.js +3 -3
  29. package/dist/BannerSectionWithListImage.cjs +1 -1
  30. package/dist/BannerSectionWithListImage.js +2 -2
  31. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  32. package/dist/BlogCardsSponsoredSection.js +6 -6
  33. package/dist/BlogCategoryCardsSection.cjs +1 -1
  34. package/dist/BlogCategoryCardsSection.js +2 -2
  35. package/dist/BlogExploreSection.cjs +1 -1
  36. package/dist/BlogExploreSection.js +6 -6
  37. package/dist/BlogImagePathSection.cjs +1 -1
  38. package/dist/BlogImagePathSection.js +2 -2
  39. package/dist/BlogListSection.cjs +1 -1
  40. package/dist/BlogListSection.js +6 -6
  41. package/dist/BlogProductCardsSection.cjs +1 -1
  42. package/dist/BlogProductCardsSection.js +3 -3
  43. package/dist/BlogShopCardsSection.cjs +1 -1
  44. package/dist/BlogShopCardsSection.js +3 -3
  45. package/dist/BlogSingleSection.cjs +1 -1
  46. package/dist/BlogSingleSection.js +4 -4
  47. package/dist/BlogsSectionDetailed.cjs +1 -1
  48. package/dist/BlogsSectionDetailed.js +9 -9
  49. package/dist/BlogsSectionLarge.cjs +1 -1
  50. package/dist/BlogsSectionLarge.js +5 -5
  51. package/dist/BlogsSectionSimple.cjs +1 -1
  52. package/dist/BlogsSectionSimple.js +7 -7
  53. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  54. package/dist/BlogsSectionSimpleCentered.js +6 -6
  55. package/dist/BlogsSectionWithFilters.cjs +1 -1
  56. package/dist/BlogsSectionWithFilters.js +8 -8
  57. package/dist/BrandHitsSection.cjs +1 -1
  58. package/dist/BrandHitsSection.js +4 -4
  59. package/dist/Breadcrumbs.cjs +1 -1
  60. package/dist/Breadcrumbs.js +2 -2
  61. package/dist/Button.cjs +1 -1
  62. package/dist/Button.js +3 -3
  63. package/dist/ButtonGroup.cjs +1 -1
  64. package/dist/ButtonGroup.js +2 -2
  65. package/dist/CalorieCalculatorSection.cjs +1 -1
  66. package/dist/CalorieCalculatorSection.js +3 -3
  67. package/dist/{CategorySimpleCard-CkSwvJRw.js → CategorySimpleCard-TJRJ_2Sb.js} +3 -3
  68. package/dist/{CategorySimpleCard-CIBvknos.cjs → CategorySimpleCard-lIdzBNDa.cjs} +1 -1
  69. package/dist/CheckBoxInput.cjs +1 -1
  70. package/dist/CheckBoxInput.js +2 -2
  71. package/dist/Chip.cjs +1 -1
  72. package/dist/Chip.js +2 -2
  73. package/dist/ColorInput.cjs +1 -1
  74. package/dist/ColorInput.js +2 -2
  75. package/dist/ConfirmationForm.cjs +1 -1
  76. package/dist/ConfirmationForm.js +2 -2
  77. package/dist/ContactSection.cjs +5 -5
  78. package/dist/ContactSection.js +1765 -1712
  79. package/dist/CustomLoanMapSection.cjs +1 -1
  80. package/dist/CustomLoanMapSection.js +3 -3
  81. package/dist/{CustomStyles-DR4WuDUN.js → CustomStyles-B6uutenq.js} +58 -55
  82. package/dist/{CustomStyles-2TQQSwtU.cjs → CustomStyles-dJQPJ4s4.cjs} +4 -4
  83. package/dist/{DailyMotion-BPdBW5Yv.cjs → DailyMotion-BLODEbGN.cjs} +1 -1
  84. package/dist/{DailyMotion-P9S-WhTX.js → DailyMotion-BcKTajo7.js} +1 -1
  85. package/dist/DataView.cjs +1 -1
  86. package/dist/DataView.js +1 -1
  87. package/dist/DateInput.cjs +1 -1
  88. package/dist/DateInput.js +4 -4
  89. package/dist/DecimalInput.cjs +1 -1
  90. package/dist/DecimalInput.js +2 -2
  91. package/dist/DecimalInputV2.cjs +1 -1
  92. package/dist/DecimalInputV2.js +2 -2
  93. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  94. package/dist/DetailedProductsInfinitiveSection.js +7 -7
  95. package/dist/DetailedProductsSection.cjs +1 -1
  96. package/dist/DetailedProductsSection.js +8 -8
  97. package/dist/DetailsView.cjs +1 -1
  98. package/dist/DetailsView.js +2 -2
  99. package/dist/DoubleRangeSlider.cjs +1 -1
  100. package/dist/DoubleRangeSlider.js +2 -2
  101. package/dist/DragAndDropFile.cjs +10 -10
  102. package/dist/DragAndDropFile.js +444 -408
  103. package/dist/DragDropFiles.cjs +1 -1
  104. package/dist/DragDropFiles.js +2 -2
  105. package/dist/Drawer.js +1 -1
  106. package/dist/Dropdown.cjs +1 -1
  107. package/dist/Dropdown.js +3 -3
  108. package/dist/DropdownItem.cjs +1 -1
  109. package/dist/DropdownItem.js +2 -2
  110. package/dist/DropdownLookup.cjs +1 -1
  111. package/dist/DropdownLookup.js +2 -2
  112. package/dist/DropdownMenu.cjs +1 -1
  113. package/dist/DropdownMenu.js +2 -2
  114. package/dist/EditableTable.cjs +1 -1
  115. package/dist/EditableTable.js +2 -2
  116. package/dist/{Facebook-C8L2KR4O.cjs → Facebook-Cxy7fSgc.cjs} +1 -1
  117. package/dist/{Facebook-vhbBr0rd.js → Facebook-o0wYiIu4.js} +25 -25
  118. package/dist/FaqSection.cjs +1 -1
  119. package/dist/FaqSection.js +4 -4
  120. package/dist/FeedbackSection.cjs +1 -1
  121. package/dist/FeedbackSection.js +3 -3
  122. package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
  123. package/dist/FieldOfInterestsMasonrySection.js +4 -4
  124. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  125. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +5 -5
  126. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  127. package/dist/FieldOfInterestsWithTagsCardsSection.js +4 -4
  128. package/dist/FileInput.cjs +1 -1
  129. package/dist/FileInput.js +2 -2
  130. package/dist/{FilePlayer-BVFgHY_f.cjs → FilePlayer-DyIgZGf2.cjs} +1 -1
  131. package/dist/{FilePlayer-CXTLAokk.js → FilePlayer-Evom9jRl.js} +1 -1
  132. package/dist/FlexBox.cjs +1 -1
  133. package/dist/FlexBox.js +1 -1
  134. package/dist/FlexGridItem.cjs +1 -1
  135. package/dist/FlexGridItem.js +2 -2
  136. package/dist/FormField.cjs +1 -1
  137. package/dist/FormField.js +2 -2
  138. package/dist/FormView.cjs +1 -1
  139. package/dist/FormView.js +2 -2
  140. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  141. package/dist/GeneralWithTagsCardsSection.js +4 -4
  142. package/dist/GiftCardsSection.cjs +1 -1
  143. package/dist/GiftCardsSection.js +6 -6
  144. package/dist/Grid.cjs +1 -1
  145. package/dist/Grid.js +1 -1
  146. package/dist/GridItem.cjs +1 -1
  147. package/dist/GridItem.js +1 -1
  148. package/dist/HelpBannerSection.cjs +1 -1
  149. package/dist/HelpBannerSection.js +2 -2
  150. package/dist/Icon.cjs +1 -1
  151. package/dist/Icon.js +2 -2
  152. package/dist/IconButton.cjs +1 -1
  153. package/dist/IconButton.js +2 -2
  154. package/dist/{Kaltura-CRGK2EP7.js → Kaltura-CA_8jdJe.js} +1 -1
  155. package/dist/{Kaltura-C2fRoaEg.cjs → Kaltura-l-2u1Tm7.cjs} +1 -1
  156. package/dist/Kanban.cjs +5 -5
  157. package/dist/Kanban.js +5 -5
  158. package/dist/KanbanActionsToolbar.cjs +1 -1
  159. package/dist/KanbanActionsToolbar.js +2 -2
  160. package/dist/{KanbanCard-DihrKn-I.cjs → KanbanCard-9Pe_tjMt.cjs} +1 -1
  161. package/dist/{KanbanCard-B9V9EjVE.js → KanbanCard-ffmclwO4.js} +1 -1
  162. package/dist/KanbanCard.cjs +1 -1
  163. package/dist/KanbanCard.js +2 -2
  164. package/dist/KanbanFooter.cjs +1 -1
  165. package/dist/KanbanFooter.js +1 -1
  166. package/dist/KanbanHeader.cjs +1 -1
  167. package/dist/KanbanHeader.js +1 -1
  168. package/dist/KanbanView.cjs +1 -1
  169. package/dist/KanbanView.js +3 -3
  170. package/dist/Link.cjs +1 -1
  171. package/dist/Link.js +2 -2
  172. package/dist/LoanCalculatorSection.cjs +1 -1
  173. package/dist/LoanCalculatorSection.js +4 -4
  174. package/dist/LocationFinderSection.cjs +1 -1
  175. package/dist/LocationFinderSection.js +1 -1
  176. package/dist/LocationSearchSection.cjs +1 -1
  177. package/dist/LocationSearchSection.js +3 -3
  178. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  179. package/dist/MasonryGeneralCardsSection.js +4 -4
  180. package/dist/MenuItem.cjs +1 -1
  181. package/dist/MenuItem.js +2 -2
  182. package/dist/{Mixcloud-D09BQNOt.cjs → Mixcloud-BwTRg6SF.cjs} +1 -1
  183. package/dist/{Mixcloud-Cn5M-EIT.js → Mixcloud-D2JZtlPe.js} +10 -10
  184. package/dist/Modal.cjs +1 -1
  185. package/dist/Modal.js +3 -3
  186. package/dist/MultiSelectDropdown.cjs +1 -1
  187. package/dist/MultiSelectDropdown.js +1 -1
  188. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  189. package/dist/MultiSelectDropdownLookup.js +1 -1
  190. package/dist/{Mux-C6szci3w.js → Mux-CBMcNvuK.js} +1 -1
  191. package/dist/{Mux-C-xD7crc.cjs → Mux-tp04uiAm.cjs} +1 -1
  192. package/dist/NestedDropdownItem.cjs +1 -1
  193. package/dist/NestedDropdownItem.js +2 -2
  194. package/dist/NestedMenuItem.cjs +1 -1
  195. package/dist/NestedMenuItem.js +2 -2
  196. package/dist/Notification.cjs +1 -1
  197. package/dist/Notification.js +1 -1
  198. package/dist/NotificationContainer.cjs +1 -1
  199. package/dist/NotificationContainer.js +3 -3
  200. package/dist/NotificationMessage.cjs +1 -1
  201. package/dist/NotificationMessage.js +2 -2
  202. package/dist/NumberInput.cjs +1 -1
  203. package/dist/NumberInput.js +2 -2
  204. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  205. package/dist/OverlayGeneralCardsSection.js +3 -3
  206. package/dist/PageLayout.cjs +1 -1
  207. package/dist/PageLayout.js +1 -1
  208. package/dist/Pagination.cjs +1 -1
  209. package/dist/Pagination.js +1 -1
  210. package/dist/PartnerBannerSection.cjs +1 -1
  211. package/dist/PartnerBannerSection.js +2 -2
  212. package/dist/PartnerBrandsSection.cjs +1 -1
  213. package/dist/PartnerBrandsSection.js +4 -4
  214. package/dist/PartnerCardsSection.cjs +1 -1
  215. package/dist/PartnerCardsSection.js +4 -4
  216. package/dist/PartnerStatsSection.cjs +1 -1
  217. package/dist/PartnerStatsSection.js +3 -3
  218. package/dist/PasswordInput.cjs +1 -1
  219. package/dist/PasswordInput.js +2 -2
  220. package/dist/PopoverContent.cjs +1 -1
  221. package/dist/PopoverContent.js +3 -3
  222. package/dist/PopoverDescription.cjs +1 -1
  223. package/dist/PopoverDescription.js +1 -1
  224. package/dist/PopoverHeading.cjs +1 -1
  225. package/dist/PopoverHeading.js +1 -1
  226. package/dist/PopoverTrigger.cjs +1 -1
  227. package/dist/PopoverTrigger.js +1 -1
  228. package/dist/{Preview-B8HyPnfR.cjs → Preview-2LWO1jPt.cjs} +1 -1
  229. package/dist/{Preview-CO6WSP5f.js → Preview-CEZQvDLk.js} +6 -6
  230. package/dist/ProductsWithBannerSection.cjs +1 -1
  231. package/dist/ProductsWithBannerSection.js +7 -7
  232. package/dist/ProgressBar.cjs +1 -1
  233. package/dist/ProgressBar.js +2 -2
  234. package/dist/QuattroCardsSection.cjs +1 -1
  235. package/dist/QuattroCardsSection.js +5 -5
  236. package/dist/QuizSection.cjs +1 -1
  237. package/dist/QuizSection.js +3 -3
  238. package/dist/RadioGroup.cjs +1 -1
  239. package/dist/RadioGroup.js +1 -1
  240. package/dist/RadioInput.cjs +1 -1
  241. package/dist/RadioInput.js +2 -2
  242. package/dist/RangeSlider.cjs +1 -1
  243. package/dist/RangeSlider.js +2 -2
  244. package/dist/ReviewsSection.cjs +1 -1
  245. package/dist/ReviewsSection.js +6 -6
  246. package/dist/SalesCampaignsSection.cjs +1 -1
  247. package/dist/SalesCampaignsSection.js +6 -6
  248. package/dist/SearchBar.cjs +1 -1
  249. package/dist/SearchBar.js +2 -2
  250. package/dist/{SearchSection-BEYnWPSr.js → SearchSection-BQkugcbp.js} +17 -17
  251. package/dist/{SearchSection-DUY61r3k.cjs → SearchSection-CgbZsVg2.cjs} +2 -2
  252. package/dist/SearchSection.cjs +1 -1
  253. package/dist/SearchSection.js +1 -1
  254. package/dist/Separator.cjs +1 -1
  255. package/dist/Separator.js +2 -2
  256. package/dist/SeparatorSection.cjs +1 -1
  257. package/dist/SeparatorSection.js +2 -2
  258. package/dist/ShopCardsSection.cjs +1 -1
  259. package/dist/ShopCardsSection.js +5 -5
  260. package/dist/Sidebar.cjs +1 -1
  261. package/dist/Sidebar.js +2 -2
  262. package/dist/SimpleCategoriesSection.cjs +1 -1
  263. package/dist/SimpleCategoriesSection.js +7 -7
  264. package/dist/SimpleProductsSection.cjs +1 -1
  265. package/dist/SimpleProductsSection.js +6 -6
  266. package/dist/{SoundCloud-Cfaj1Ze1.js → SoundCloud-CK7NvImk.js} +13 -13
  267. package/dist/{SoundCloud-BsL6Onq6.cjs → SoundCloud-DVmlWv2g.cjs} +1 -1
  268. package/dist/Spinner.cjs +1 -1
  269. package/dist/Spinner.js +2 -2
  270. package/dist/StatsSection.cjs +1 -1
  271. package/dist/StatsSection.js +3 -3
  272. package/dist/{Streamable-DFtyk9Dt.cjs → Streamable-BBV7DQsj.cjs} +1 -1
  273. package/dist/{Streamable-CG8_-_w7.js → Streamable-D5oxy9aa.js} +1 -1
  274. package/dist/Surface.cjs +1 -1
  275. package/dist/Surface.js +2 -2
  276. package/dist/SwipeableDrawer.cjs +1 -1
  277. package/dist/SwipeableDrawer.js +2 -2
  278. package/dist/TabItem.cjs +1 -1
  279. package/dist/TabItem.js +2 -2
  280. package/dist/Table.cjs +1 -1
  281. package/dist/Table.js +5 -5
  282. package/dist/TableView.cjs +1 -1
  283. package/dist/TableView.js +3 -3
  284. package/dist/Tabs.cjs +1 -1
  285. package/dist/Tabs.js +1 -1
  286. package/dist/TextAreaInput.cjs +1 -1
  287. package/dist/TextAreaInput.js +2 -2
  288. package/dist/TextInput.cjs +1 -1
  289. package/dist/TextInput.js +2 -2
  290. package/dist/ThemeProvider.cjs +1 -1
  291. package/dist/ThemeProvider.js +3 -3
  292. package/dist/TimeInput.cjs +1 -1
  293. package/dist/TimeInput.js +2 -2
  294. package/dist/Toggle.cjs +1 -1
  295. package/dist/Toggle.js +2 -2
  296. package/dist/ToggleSection.cjs +1 -1
  297. package/dist/ToggleSection.js +3 -3
  298. package/dist/TreeMenu.cjs +1 -1
  299. package/dist/TreeMenu.js +1 -1
  300. package/dist/TreeMenuSeparator.cjs +1 -1
  301. package/dist/TreeMenuSeparator.js +2 -2
  302. package/dist/{Twitch-BIUEEDiE.cjs → Twitch-CH7rLHNj.cjs} +1 -1
  303. package/dist/{Twitch-CbU_0Tx9.js → Twitch-DtrfG3Wo.js} +5 -5
  304. package/dist/UploadedFile.cjs +1 -1
  305. package/dist/UploadedFile.js +2 -2
  306. package/dist/UrgentSaleProductsSection.cjs +1 -1
  307. package/dist/UrgentSaleProductsSection.js +4 -4
  308. package/dist/{Vidyard-S6Fl_F78.js → Vidyard-C66crgMN.js} +1 -1
  309. package/dist/{Vidyard-QkjVIros.cjs → Vidyard-DGbMnWlF.cjs} +1 -1
  310. package/dist/{Vimeo-5bkeYCV4.js → Vimeo-BjGe7JPl.js} +1 -1
  311. package/dist/{Vimeo-B5jsifNT.cjs → Vimeo-DdFP5z1P.cjs} +1 -1
  312. package/dist/{Wistia-dpbMmx23.cjs → Wistia-CTuM5tqn.cjs} +1 -1
  313. package/dist/{Wistia-gOZBV0XZ.js → Wistia-Cnd0mYar.js} +3 -3
  314. package/dist/{YouTube-BfZRCB6O.cjs → YouTube-Chpmigf-.cjs} +1 -1
  315. package/dist/{YouTube-XoIB4ATQ.js → YouTube-D2wx0EoX.js} +3 -3
  316. package/dist/{breakpoints-ff0SIcV3.js → breakpoints-BubDitvo.js} +3 -3
  317. package/dist/emotion-is-prop-valid.esm-DqkrfvDp.js +10 -0
  318. package/dist/emotion-is-prop-valid.esm-eyvxYx3u.cjs +1 -0
  319. package/dist/{emotion-styled.browser.esm-BNN1dTl3.js → emotion-styled.browser.esm-DfbrHHed.js} +4 -4
  320. package/dist/{emotion-styled.browser.esm-BtEseadx.cjs → emotion-styled.browser.esm-DwHBgTPn.cjs} +1 -1
  321. package/dist/floating-ui.dom-Bvf9G8UM.cjs +1 -0
  322. package/dist/floating-ui.dom-C16Oktn3.js +959 -0
  323. package/dist/{floating-ui.react.esm-CfpRzwmn.js → floating-ui.react.esm-B-RMCmpu.js} +477 -460
  324. package/dist/floating-ui.react.esm-CsrI9PVk.cjs +4 -0
  325. package/dist/{index-vQOR22Py.cjs → index-3GKF_7BJ.cjs} +1 -1
  326. package/dist/{index-41nUb2kP.cjs → index-7Jsjuf-Q.cjs} +29 -29
  327. package/dist/{index-B1vKwsDE.js → index-B2yaYXE2.js} +651 -651
  328. package/dist/{index-DZFKpq77.cjs → index-BGNavrtB.cjs} +1 -1
  329. package/dist/{index-hC-E71GE.js → index-BHcrzV2G.js} +3 -3
  330. package/dist/{index-CsTfXxpp.cjs → index-Bj1KWOV4.cjs} +1 -1
  331. package/dist/{index-Cav6G7wx.cjs → index-BkztbBWe.cjs} +1 -1
  332. package/dist/{index-oYE1Pl7q.cjs → index-BsAddfgC.cjs} +1 -1
  333. package/dist/{index-C4HycAPS.js → index-CM6vzQBx.js} +4 -4
  334. package/dist/{index-C-uOIDDa.js → index-Cn4bq6ZX.js} +3 -3
  335. package/dist/{index-BWeXujWl.js → index-CuRcxKQH.js} +3 -3
  336. package/dist/{index-DA7SIHV1.cjs → index-CxWXiOMf.cjs} +1 -1
  337. package/dist/{index-B1-PjbTA.cjs → index-D4-_TrSn.cjs} +1 -1
  338. package/dist/{index-CBZ-jNah.cjs → index-D4OKsSqi.cjs} +1 -1
  339. package/dist/{index-4wvppFLx.js → index-DB1J-G6Z.js} +2 -2
  340. package/dist/{index-BvMY2TbK.js → index-DEypPQRI.js} +1 -1
  341. package/dist/{index-CX2A-q39.cjs → index-DMbNpyIV.cjs} +1 -1
  342. package/dist/{index-BdKi2ogu.js → index-DMmw5Ad5.js} +1 -1
  343. package/dist/{index-CoQ9APCD.js → index-DdfMcHz0.js} +2 -2
  344. package/dist/{index-B9c6y2J5.cjs → index-DgUNsgfF.cjs} +1 -1
  345. package/dist/{index-BzSWu-7v.js → index-Djo0ZcRE.js} +5 -5
  346. package/dist/{index-uCWKRzoS.cjs → index-DkPva6Gr.cjs} +1 -1
  347. package/dist/{index-BEUk0FDk.js → index-Dx2hfxCG.js} +4 -4
  348. package/dist/{index-B_ilx3wM.cjs → index-fzBXDy05.cjs} +1 -1
  349. package/dist/{index-DDShXLaW.js → index-gFZSZLba.js} +6 -6
  350. package/dist/{index-D9fI5BvI.js → index-jGcy-5M_.js} +3 -3
  351. package/dist/{index-L_Va5-wK.js → index-rhYVjszT.js} +5 -5
  352. package/dist/{index-Dc0EEBRW.cjs → index-tdg_Vmed.cjs} +1 -1
  353. package/dist/{index-6RFrSPs_.js → index-vz5mtWGo.js} +5 -5
  354. package/dist/index.cjs +1 -1
  355. package/dist/index.js +6 -6
  356. package/dist/{react-toastify.esm-BoMuFZcq.cjs → react-toastify.esm-C6GBR4r3.cjs} +1 -1
  357. package/dist/{react-toastify.esm-BLQznunb.js → react-toastify.esm-CUXbGoqt.js} +1 -1
  358. package/dist/{style-DC05rdyx.cjs → style-Boz6dk5s.cjs} +1 -1
  359. package/dist/{style-Bq3rMbnN.js → style-BzaX45du.js} +2 -2
  360. package/dist/{style-BUyFad_y.js → style-D54KOzZj.js} +3 -3
  361. package/dist/{style-AYc9hnFj.cjs → style-DIWAdlai.cjs} +1 -1
  362. package/dist/{style-BwQ4djFC.js → style-DvkivBNg.js} +1 -1
  363. package/dist/{style-BAcV7F53.cjs → style-Ito6YFqi.cjs} +1 -1
  364. package/dist/{styled-components.browser.esm-CvykQBGY.cjs → styled-components.browser.esm-BaNxtZgB.cjs} +1 -1
  365. package/dist/{styled-components.browser.esm-D-n22PJk.js → styled-components.browser.esm-Cfeh8eHg.js} +1 -1
  366. package/dist/{tag-Bi8gg6hJ.js → tag-CHNc7DhI.js} +2 -2
  367. package/dist/{tag-DSnhWWHE.cjs → tag-CWcvCQcz.cjs} +1 -1
  368. package/dist/{theme-Befg4g_L.js → theme-mUflS4q4.js} +1 -1
  369. package/dist/{useDetectMobile-CcVo3PNi.js → useDetectMobile-B0Jog4jQ.js} +1 -1
  370. package/dist/usePopover.cjs +1 -1
  371. package/dist/usePopover.js +6 -6
  372. package/dist/{utils-B2fsQ6PS.js → utils-MoGhNMmj.js} +3 -3
  373. package/package.json +1 -1
  374. package/dist/emotion-is-prop-valid.esm-BNsx9k19.cjs +0 -1
  375. package/dist/emotion-is-prop-valid.esm-CbWxtx4i.js +0 -10
  376. package/dist/floating-ui.dom-B931An3C.js +0 -954
  377. package/dist/floating-ui.dom-CN4MB7mG.cjs +0 -1
  378. package/dist/floating-ui.react.esm-CiYofNnh.cjs +0 -4
@@ -0,0 +1,4 @@
1
+ "use strict";const ne=require("./floating-ui.dom-Bvf9G8UM.cjs"),Y=require("react"),ye=require("./index-7Jsjuf-Q.cjs");function Qe(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const s=Qe(Y);var re=typeof document<"u"?Y.useLayoutEffect:Y.useEffect;function ie(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(!ie(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!ie(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Ae(t){const e=s.useRef(t);return re(()=>{e.current=t}),e}function et(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,whileElementsMounted:i,open:u}=t,[a,f]=s.useState({x:null,y:null,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[d,g]=s.useState(r);ie(d,r)||g(r);const l=s.useRef(null),c=s.useRef(null),p=s.useRef(a),w=Ae(i),b=Ae(o),[v,m]=s.useState(null),[I,E]=s.useState(null),F=s.useCallback(T=>{l.current!==T&&(l.current=T,m(T))},[]),N=s.useCallback(T=>{c.current!==T&&(c.current=T,E(T))},[]),O=s.useCallback(()=>{if(!l.current||!c.current)return;const T={placement:e,strategy:n,middleware:d};b.current&&(T.platform=b.current),ne.computePosition(l.current,c.current,T).then(D=>{const P={...D,isPositioned:!0};K.current&&!ie(p.current,P)&&(p.current=P,ye.reactDomExports.flushSync(()=>{f(P)}))})},[d,e,n,b]);re(()=>{u===!1&&p.current.isPositioned&&(p.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[u]);const K=s.useRef(!1);re(()=>(K.current=!0,()=>{K.current=!1}),[]),re(()=>{if(v&&I){if(w.current)return w.current(v,I,O);O()}},[v,I,O,w]);const W=s.useMemo(()=>({reference:l,floating:c,setReference:F,setFloating:N}),[F,N]),V=s.useMemo(()=>({reference:v,floating:I}),[v,I]);return s.useMemo(()=>({...a,update:O,refs:W,elements:V,reference:F,floating:N}),[a,O,W,V,F,N])}var tt=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},z=new WeakMap,ee=new WeakMap,te={},pe=0,Ke=function(t){return t&&(t.host||Ke(t.parentNode))},nt=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=Ke(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},rt=function(t,e,n,r){var o=nt(e,Array.isArray(t)?t:[t]);te[n]||(te[n]=new WeakMap);var i=te[n],u=[],a=new Set,f=new Set(o),d=function(l){!l||a.has(l)||(a.add(l),d(l.parentNode))};o.forEach(d);var g=function(l){!l||f.has(l)||Array.prototype.forEach.call(l.children,function(c){if(a.has(c))g(c);else try{var p=c.getAttribute(r),w=p!==null&&p!=="false",b=(z.get(c)||0)+1,v=(i.get(c)||0)+1;z.set(c,b),i.set(c,v),u.push(c),b===1&&w&&ee.set(c,!0),v===1&&c.setAttribute(n,"true"),w||c.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",c,m)}})};return g(e),a.clear(),pe++,function(){u.forEach(function(l){var c=z.get(l)-1,p=i.get(l)-1;z.set(l,c),i.set(l,p),c||(ee.has(l)||l.removeAttribute(r),ee.delete(l)),p||l.removeAttribute(n)}),pe--,pe||(z=new WeakMap,z=new WeakMap,ee=new WeakMap,te={})}},ot=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=tt(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),rt(r,o,n,"aria-hidden")):function(){return null}};/*!
2
+ * tabbable 6.4.0
3
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
+ */var it=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],Ee=it.join(","),We=typeof Element>"u",Z=We?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ue=!We&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t==null?void 0:t.ownerDocument},se=function(e,n){var r;n===void 0&&(n=!0);var o=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),i=o===""||o==="true",u=i||n&&e&&(typeof e.closest=="function"?e.closest("[inert]"):se(e.parentNode));return u},ut=function(e){var n,r=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"contenteditable");return r===""||r==="true"},st=function(e,n,r){if(se(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(Ee));return n&&Z.call(e,Ee)&&o.unshift(e),o=o.filter(r),o},Re=function(e,n,r){for(var o=[],i=Array.from(e);i.length;){var u=i.shift();if(!se(u,!1))if(u.tagName==="SLOT"){var a=u.assignedElements(),f=a.length?a:u.children,d=Re(f,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:u,candidates:d})}else{var g=Z.call(u,Ee);g&&r.filter(u)&&(n||!e.includes(u))&&o.push(u);var l=u.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(u),c=!se(l,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(u));if(l&&c){var p=Re(l===!0?u.children:l.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scopeParent:u,candidates:p})}else i.unshift.apply(i,u.children)}}return o},$e=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},je=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ut(e))&&!$e(e)?0:e.tabIndex},at=function(e,n){var r=je(e);return r<0&&n&&!$e(e)?0:r},ct=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},qe=function(e){return e.tagName==="INPUT"},lt=function(e){return qe(e)&&e.type==="hidden"},ft=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return n},dt=function(e,n){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===n)return e[r]},vt=function(e){if(!e.name)return!0;var n=e.form||ue(e),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(e.name));else try{o=r(e.name)}catch(u){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",u.message),!1}var i=dt(o,e.form);return!i||i===e},pt=function(e){return qe(e)&&e.type==="radio"},bt=function(e){return pt(e)&&!vt(e)},gt=function(e){var n,r=e&&ue(e),o=(n=r)===null||n===void 0?void 0:n.host,i=!1;if(r&&r!==e){var u,a,f;for(i=!!((u=o)!==null&&u!==void 0&&(a=u.ownerDocument)!==null&&a!==void 0&&a.contains(o)||e!=null&&(f=e.ownerDocument)!==null&&f!==void 0&&f.contains(e));!i&&o;){var d,g,l;r=ue(o),o=(d=r)===null||d===void 0?void 0:d.host,i=!!((g=o)!==null&&g!==void 0&&(l=g.ownerDocument)!==null&&l!==void 0&&l.contains(o))}}return i},Fe=function(e){var n=e.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},mt=function(e,n){var r=n.displayCheck,o=n.getShadowRoot;if(r==="full-native"&&"checkVisibility"in e){var i=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!i}if(getComputedStyle(e).visibility==="hidden")return!0;var u=Z.call(e,"details>summary:first-of-type"),a=u?e.parentElement:e;if(Z.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof o=="function"){for(var f=e;e;){var d=e.parentElement,g=ue(e);if(d&&!d.shadowRoot&&o(d)===!0)return Fe(e);e.assignedSlot?e=e.assignedSlot:!d&&g!==e.ownerDocument?e=g.host:e=d}e=f}if(gt(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Fe(e);return!1},ht=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return Z.call(n,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}n=n.parentElement}return!1},yt=function(e,n){return!(n.disabled||lt(n)||mt(n,e)||ft(n)||ht(n))},Oe=function(e,n){return!(bt(n)||je(n)<0||!yt(e,n))},Et=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},_e=function(e){var n=[],r=[];return e.forEach(function(o,i){var u=!!o.scopeParent,a=u?o.scopeParent:o,f=at(a,u),d=u?_e(o.candidates):a;f===0?u?n.push.apply(n,d):n.push(a):r.push({documentOrder:i,tabIndex:f,item:o,isScope:u,content:d})}),r.sort(ct).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},ae=function(e,n){n=n||{};var r;return n.getShadowRoot?r=Re([e],n.includeContainer,{filter:Oe.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Et}):r=st(e,n.includeContainer,Oe.bind(null,n)),_e(r)},j=typeof document<"u"?Y.useLayoutEffect:Y.useEffect;let be=!1,Rt=0;const De=()=>"floating-ui-"+Rt++;function wt(){const[t,e]=s.useState(()=>be?De():void 0);return j(()=>{t==null&&e(De())},[]),s.useEffect(()=>{be||(be=!0)},[]),t}const St=s.useId,ce=St||wt;function xt(){const t=new Map;return{emit(e,n){var r;(r=t.get(e))==null||r.forEach(o=>o(n))},on(e,n){t.set(e,[...t.get(e)||[],n])},off(e,n){t.set(e,(t.get(e)||[]).filter(r=>r!==n))}}}const Tt=s.createContext(null),Ct=s.createContext(null),It=()=>{var t;return((t=s.useContext(Tt))==null?void 0:t.id)||null},xe=()=>s.useContext(Ct);function G(t){return(t==null?void 0:t.ownerDocument)||document}function He(){const t=navigator.userAgentData;return t!=null&&t.platform?t.platform:navigator.platform}function Pt(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(e=>{let{brand:n,version:r}=e;return n+"/"+r}).join(" "):navigator.userAgent}function Te(t){return G(t).defaultView||window}function _(t){return t?t instanceof Te(t).Element:!1}function J(t){return t?t instanceof Te(t).HTMLElement:!1}function At(t){if(typeof ShadowRoot>"u")return!1;const e=Te(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Ft(t){if(t.mozInputSource===0&&t.isTrusted)return!0;const e=/Android/i;return(e.test(He())||e.test(Pt()))&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function Ot(t){return t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType!=="mouse"||t.width<1&&t.height<1&&t.pressure===0&&t.detail===0}function Me(){return/apple/i.test(navigator.vendor)}function Dt(){return He().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function ke(t,e){return["mouse","pen"].includes(t)}function $(t,e){if(!t||!e)return!1;const n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&At(n)){let r=e;do{if(r&&t===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function oe(t,e){let n=t.filter(o=>{var i;return o.parentId===e&&((i=o.context)==null?void 0:i.open)})||[],r=n;for(;r.length;)r=t.filter(o=>{var i;return(i=r)==null?void 0:i.some(u=>{var a;return o.parentId===u.id&&((a=o.context)==null?void 0:a.open)})})||[],n=n.concat(r);return n}function Ue(t){return"composedPath"in t?t.composedPath()[0]:t.target}function Mt(t){const e=Y.useRef(t);return j(()=>{e.current=t}),e}function le(){return le=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},le.apply(this,arguments)}function we(t){let e=t.activeElement;for(;((n=e)==null||(r=n.shadowRoot)==null?void 0:r.activeElement)!=null;){var n,r;e=e.shadowRoot.activeElement}return e}let Ne=0;function q(t,e){e===void 0&&(e={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=e;r&&cancelAnimationFrame(Ne);const i=()=>t==null?void 0:t.focus({preventScroll:n});o?i():Ne=requestAnimationFrame(i)}function kt(t,e){var n;let r=[],o=(n=t.find(i=>i.id===e))==null?void 0:n.parentId;for(;o;){const i=t.find(u=>u.id===o);o=i==null?void 0:i.parentId,i&&(r=r.concat(i))}return r}const Nt="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function ze(t){return J(t)&&t.matches(Nt)}function ge(t){t.preventDefault(),t.stopPropagation()}const fe=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Ge(t,e){const n=ae(t,fe());e==="prev"&&n.reverse();const r=n.indexOf(we(G(t)));return n.slice(r+1)[0]}function Ye(){return Ge(document.body,"next")}function Xe(){return Ge(document.body,"prev")}function X(t,e){const n=e||t.currentTarget,r=t.relatedTarget;return!r||!$(n,r)}function Lt(t){ae(t,fe()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Bt(t){t.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const Vt=s.useInsertionEffect,Kt=Vt||(t=>t());function Ce(t){const e=s.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Kt(()=>{e.current=t}),s.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.current==null?void 0:e.current(...r)},[])}const Ie={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let Se,Pe;function Le(t){t.key==="Tab"&&(Se=t.target,clearTimeout(Pe))}function Wt(t){const e=Se===t.relatedTarget;return Se=t.relatedTarget,clearTimeout(Pe),e}const de=s.forwardRef(function(e,n){const r=Ce(e.onFocus),[o,i]=s.useState();return j(()=>(Me()&&i("button"),document.addEventListener("keydown",Le),()=>{document.removeEventListener("keydown",Le)}),[]),s.createElement("span",le({},e,{ref:n,tabIndex:0,role:o,"aria-hidden":o?void 0:!0,"data-floating-ui-focus-guard":"",style:Ie,onFocus:u=>{Me()&&Dt()&&!Wt(u)?(u.persist(),Pe=window.setTimeout(()=>{r(u)},50)):r(u)}}))}),Ze=s.createContext(null),$t=function(t){let{id:e,enabled:n=!0}=t===void 0?{}:t;const[r,o]=s.useState(null),i=ce(),u=Je();return j(()=>{if(!n)return;const a=e?document.getElementById(e):null;if(a)a.setAttribute("data-floating-ui-portal",""),o(a);else{const f=document.createElement("div");f.id=e||i,f.setAttribute("data-floating-ui-portal",""),o(f);const d=(u==null?void 0:u.portalNode)||document.body;return d.appendChild(f),()=>{d.removeChild(f)}}},[e,u,i,n]),r},jt=t=>{let{children:e,id:n,root:r=null,preserveTabOrder:o=!0}=t;const i=$t({id:n,enabled:!r}),[u,a]=s.useState(null),f=s.useRef(null),d=s.useRef(null),g=s.useRef(null),l=s.useRef(null),c=!!u&&!u.modal&&!!(r||i)&&o;return s.useEffect(()=>{if(!i||!o||u!=null&&u.modal)return;function p(w){i&&X(w)&&(w.type==="focusin"?Bt:Lt)(i)}return i.addEventListener("focusin",p,!0),i.addEventListener("focusout",p,!0),()=>{i.removeEventListener("focusin",p,!0),i.removeEventListener("focusout",p,!0)}},[i,o,u==null?void 0:u.modal]),s.createElement(Ze.Provider,{value:s.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:f,afterOutsideRef:d,beforeInsideRef:g,afterInsideRef:l,portalNode:i,setFocusManagerState:a}),[o,i])},c&&i&&s.createElement(de,{ref:f,onFocus:p=>{if(X(p,i)){var w;(w=g.current)==null||w.focus()}else{const b=Xe()||(u==null?void 0:u.refs.domReference.current);b==null||b.focus()}}}),c&&i&&s.createElement("span",{"aria-owns":i.id,style:Ie}),r?ye.reactDomExports.createPortal(e,r):i?ye.reactDomExports.createPortal(e,i):null,c&&i&&s.createElement(de,{ref:d,onFocus:p=>{if(X(p,i)){var w;(w=l.current)==null||w.focus()}else{const b=Ye()||(u==null?void 0:u.refs.domReference.current);b==null||b.focus(),u!=null&&u.closeOnFocusOut&&(u==null||u.onOpenChange(!1))}}}))},Je=()=>s.useContext(Ze),qt=s.forwardRef(function(e,n){return s.createElement("button",le({},e,{ref:n,tabIndex:-1,style:Ie}))});function _t(t){let{context:e,children:n,order:r=["content"],guards:o=!0,initialFocus:i=0,returnFocus:u=!0,modal:a=!0,visuallyHiddenDismiss:f=!1,closeOnFocusOut:d=!0}=t;const{refs:g,nodeId:l,onOpenChange:c,events:p,dataRef:w,elements:{domReference:b,floating:v}}=e,m=Mt(r),I=xe(),E=Je(),[F,N]=s.useState(null),O=typeof i=="number"&&i<0,K=s.useRef(null),W=s.useRef(null),V=s.useRef(!1),T=s.useRef(null),D=s.useRef(!1),P=E!=null,S=b&&b.getAttribute("role")==="combobox"&&ze(b),L=s.useCallback(function(h){return h===void 0&&(h=v),h?ae(h,fe()):[]},[v]),C=s.useCallback(h=>{const R=L(h);return m.current.map(y=>b&&y==="reference"?b:v&&y==="floating"?v:R).filter(Boolean).flat()},[b,v,m,L]);s.useEffect(()=>{if(!a)return;function h(y){if(y.key==="Tab"){L().length===0&&!S&&ge(y);const x=C(),M=Ue(y);m.current[0]==="reference"&&M===b&&(ge(y),y.shiftKey?q(x[x.length-1]):q(x[1])),m.current[1]==="floating"&&M===v&&y.shiftKey&&(ge(y),q(x[0]))}}const R=G(v);return R.addEventListener("keydown",h),()=>{R.removeEventListener("keydown",h)}},[b,v,a,m,g,S,L,C]),s.useEffect(()=>{if(!d)return;function h(){D.current=!0,setTimeout(()=>{D.current=!1})}function R(y){const x=y.relatedTarget,M=!($(b,x)||$(v,x)||$(x,v)||$(E==null?void 0:E.portalNode,x)||x!=null&&x.hasAttribute("data-floating-ui-focus-guard")||I&&(oe(I.nodesRef.current,l).find(A=>{var k,B;return $((k=A.context)==null?void 0:k.elements.floating,x)||$((B=A.context)==null?void 0:B.elements.domReference,x)})||kt(I.nodesRef.current,l).find(A=>{var k,B;return((k=A.context)==null?void 0:k.elements.floating)===x||((B=A.context)==null?void 0:B.elements.domReference)===x})));x&&M&&!D.current&&x!==T.current&&(V.current=!0,setTimeout(()=>c(!1)))}if(v&&J(b))return b.addEventListener("focusout",R),b.addEventListener("pointerdown",h),!a&&v.addEventListener("focusout",R),()=>{b.removeEventListener("focusout",R),b.removeEventListener("pointerdown",h),!a&&v.removeEventListener("focusout",R)}},[b,v,a,l,I,E,c,d]),s.useEffect(()=>{var h;const R=Array.from((E==null||(h=E.portalNode)==null?void 0:h.querySelectorAll("[data-floating-ui-portal]"))||[]);function y(){return[K.current,W.current].filter(Boolean)}if(v&&a){const x=[v,...R,...y()],M=ot(m.current.includes("reference")||S?x.concat(b||[]):x);return()=>{M()}}},[b,v,a,m,E,S]),s.useEffect(()=>{if(a&&!o&&v){const h=[],R=fe(),y=ae(G(v).body,R),x=C(),M=y.filter(A=>!x.includes(A));return M.forEach((A,k)=>{h[k]=A.getAttribute("tabindex"),A.setAttribute("tabindex","-1")}),()=>{M.forEach((A,k)=>{const B=h[k];B==null?A.removeAttribute("tabindex"):A.setAttribute("tabindex",B)})}}},[v,a,o,C]),j(()=>{if(!v)return;const h=G(v);let R=u,y=!1;const x=we(h),M=w.current;T.current=x;const A=C(v),k=(typeof i=="number"?A[i]:i.current)||v;!O&&q(k,{preventScroll:k===v});function B(U){if(U.type==="escapeKey"&&g.domReference.current&&(T.current=g.domReference.current),["referencePress","escapeKey"].includes(U.type))return;const ve=U.data.returnFocus;typeof ve=="object"?(R=!0,y=ve.preventScroll):R=ve}return p.on("dismiss",B),()=>{if(p.off("dismiss",B),$(v,we(h))&&g.domReference.current&&(T.current=g.domReference.current),R&&J(T.current)&&!V.current)if(!g.domReference.current||D.current)q(T.current,{cancelPrevious:!1,preventScroll:y});else{var U;M.__syncReturnFocus=!0,(U=T.current)==null||U.focus({preventScroll:y}),setTimeout(()=>{delete M.__syncReturnFocus})}}},[v,C,i,u,w,g,p,O]),j(()=>{if(E)return E.setFocusManagerState({...e,modal:a,closeOnFocusOut:d}),()=>{E.setFocusManagerState(null)}},[E,a,d,e]),j(()=>{if(O||!v)return;function h(){N(L().length)}if(h(),typeof MutationObserver=="function"){const R=new MutationObserver(h);return R.observe(v,{childList:!0,subtree:!0}),()=>{R.disconnect()}}},[v,L,O,g]);const Q=o&&(P||a)&&!S;function H(h){return f&&a?s.createElement(qt,{ref:h==="start"?K:W,onClick:()=>c(!1)},typeof f=="string"?f:"Dismiss"):null}return s.createElement(s.Fragment,null,Q&&s.createElement(de,{ref:E==null?void 0:E.beforeInsideRef,onFocus:h=>{if(a){const y=C();q(r[0]==="reference"?y[0]:y[y.length-1])}else if(E!=null&&E.preserveTabOrder&&E.portalNode)if(V.current=!1,X(h,E.portalNode)){const y=Ye()||b;y==null||y.focus()}else{var R;(R=E.beforeOutsideRef.current)==null||R.focus()}}}),S?null:H("start"),s.cloneElement(n,F===0||r.includes("floating")?{tabIndex:0}:{}),H("end"),Q&&s.createElement(de,{ref:E==null?void 0:E.afterInsideRef,onFocus:h=>{if(a)q(C()[0]);else if(E!=null&&E.preserveTabOrder&&E.portalNode)if(V.current=!0,X(h,E.portalNode)){const y=Xe()||b;y==null||y.focus()}else{var R;(R=E.afterOutsideRef.current)==null||R.focus()}}}))}function Be(t){return J(t.target)&&t.target.tagName==="BUTTON"}function Ve(t){return ze(t)}const Ht=function(t,e){let{open:n,onOpenChange:r,dataRef:o,refs:i}=t,{enabled:u=!0,event:a="click",toggle:f=!0,ignoreMouse:d=!1,keyboardHandlers:g=!0}=e===void 0?{}:e;const l=s.useRef();return s.useMemo(()=>u?{reference:{onPointerDown(c){l.current=c.pointerType},onMouseDown(c){c.button===0&&(ke(l.current)&&d||a!=="click"&&(n?f&&(!o.current.openEvent||o.current.openEvent.type==="mousedown")&&r(!1):(c.preventDefault(),r(!0)),o.current.openEvent=c.nativeEvent))},onClick(c){if(!o.current.__syncReturnFocus){if(a==="mousedown"&&l.current){l.current=void 0;return}ke(l.current)&&d||(n?f&&(!o.current.openEvent||o.current.openEvent.type==="click")&&r(!1):r(!0),o.current.openEvent=c.nativeEvent)}},onKeyDown(c){l.current=void 0,g&&(Be(c)||(c.key===" "&&!Ve(i.domReference.current)&&c.preventDefault(),c.key==="Enter"&&(n?f&&r(!1):r(!0))))},onKeyUp(c){g&&(Be(c)||Ve(i.domReference.current)||c.key===" "&&(n?f&&r(!1):r(!0)))}}}:{},[u,o,a,d,g,i,f,n,r])};function me(t,e){if(e==null)return!1;if("composedPath"in t)return t.composedPath().includes(e);const n=t;return n.target!=null&&e.contains(n.target)}const Ut={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},zt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Gt=function(t){var e,n;return t===void 0&&(t=!0),{escapeKeyBubbles:typeof t=="boolean"?t:(e=t.escapeKey)!=null?e:!0,outsidePressBubbles:typeof t=="boolean"?t:(n=t.outsidePress)!=null?n:!0}},Yt=function(t,e){let{open:n,onOpenChange:r,events:o,nodeId:i,elements:{reference:u,domReference:a,floating:f}}=t,{enabled:d=!0,escapeKey:g=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:p=!1,referencePressEvent:w="pointerdown",ancestorScroll:b=!1,bubbles:v=!0}={};const m=xe(),I=It()!=null,E=Ce(typeof l=="function"?l:()=>!1),F=typeof l=="function"?E:l,N=s.useRef(!1),{escapeKeyBubbles:O,outsidePressBubbles:K}=Gt(v);return s.useEffect(()=>{if(!n||!d)return;function W(S){if(S.key==="Escape"){if(!O&&m&&oe(m.nodesRef.current,i).length>0)return;o.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1)}}function V(S){const L=N.current;if(N.current=!1,L||typeof F=="function"&&!F(S))return;const C=Ue(S);if(J(C)&&f){const H=f.ownerDocument.defaultView||window,h=C.scrollWidth>C.clientWidth,R=C.scrollHeight>C.clientHeight;let y=R&&S.offsetX>C.clientWidth;if(R&&H.getComputedStyle(C).direction==="rtl"&&(y=S.offsetX<=C.offsetWidth-C.clientWidth),y||h&&S.offsetY>C.clientHeight)return}const Q=m&&oe(m.nodesRef.current,i).some(H=>{var h;return me(S,(h=H.context)==null?void 0:h.elements.floating)});me(S,f)||me(S,a)||Q||!K&&m&&oe(m.nodesRef.current,i).length>0||(o.emit("dismiss",{type:"outsidePress",data:{returnFocus:I?{preventScroll:!0}:Ft(S)||Ot(S)}}),r(!1))}function T(){r(!1)}const D=G(f);g&&D.addEventListener("keydown",W),F&&D.addEventListener(c,V);let P=[];return b&&(_(a)&&(P=ne.getOverflowAncestors(a)),_(f)&&(P=P.concat(ne.getOverflowAncestors(f))),!_(u)&&u&&u.contextElement&&(P=P.concat(ne.getOverflowAncestors(u.contextElement)))),P=P.filter(S=>{var L;return S!==((L=D.defaultView)==null?void 0:L.visualViewport)}),P.forEach(S=>{S.addEventListener("scroll",T,{passive:!0})}),()=>{g&&D.removeEventListener("keydown",W),F&&D.removeEventListener(c,V),P.forEach(S=>{S.removeEventListener("scroll",T)})}},[f,a,u,g,F,c,o,m,i,n,r,b,d,O,K,I]),s.useEffect(()=>{N.current=!1},[F,c]),s.useMemo(()=>d?{reference:{[Ut[w]]:()=>{p&&(o.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1))}},floating:{[zt[c]]:()=>{N.current=!0}}}:{},[d,o,p,c,w,r])};function Xt(t){return s.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})},t)}const Zt=function(t,e){let{open:n}=t,{enabled:r=!0,role:o="dialog"}={};const i=ce(),u=ce();return s.useMemo(()=>{const a={id:i,role:o};return r?o==="tooltip"?{reference:{"aria-describedby":n?i:void 0},floating:a}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":o==="alertdialog"?"dialog":o,"aria-controls":n?i:void 0,...o==="listbox"&&{role:"combobox"},...o==="menu"&&{id:u}},floating:{...a,...o==="menu"&&{"aria-labelledby":u}}}:{}},[r,o,n,i,u])};function Jt(t){t===void 0&&(t={});const{open:e=!1,onOpenChange:n,nodeId:r}=t,o=et(t),i=xe(),u=s.useRef(null),a=s.useRef({}),f=s.useState(()=>xt())[0],[d,g]=s.useState(null),l=s.useCallback(m=>{const I=_(m)?{getBoundingClientRect:()=>m.getBoundingClientRect(),contextElement:m}:m;o.refs.setReference(I)},[o.refs]),c=s.useCallback(m=>{(_(m)||m===null)&&(u.current=m,g(m)),(_(o.refs.reference.current)||o.refs.reference.current===null||m!==null&&!_(m))&&o.refs.setReference(m)},[o.refs]),p=s.useMemo(()=>({...o.refs,setReference:c,setPositionReference:l,domReference:u}),[o.refs,c,l]),w=s.useMemo(()=>({...o.elements,domReference:d}),[o.elements,d]),b=Ce(n),v=s.useMemo(()=>({...o,refs:p,elements:w,dataRef:a,nodeId:r,events:f,open:e,onOpenChange:b}),[o,r,f,e,b,p,w]);return j(()=>{const m=i==null?void 0:i.nodesRef.current.find(I=>I.id===r);m&&(m.context=v)}),s.useMemo(()=>({...o,context:v,refs:p,reference:c,positionReference:l}),[o,p,v,c,l])}function he(t,e,n){const r=new Map;return{...n==="floating"&&{tabIndex:-1},...t,...e.map(o=>o?o[n]:null).concat(t).reduce((o,i)=>(i&&Object.entries(i).forEach(u=>{let[a,f]=u;if(a.indexOf("on")===0){if(r.has(a)||r.set(a,[]),typeof f=="function"){var d;(d=r.get(a))==null||d.push(f),o[a]=function(){for(var g,l=arguments.length,c=new Array(l),p=0;p<l;p++)c[p]=arguments[p];(g=r.get(a))==null||g.forEach(w=>w(...c))}}}else o[a]=f}),o),{})}}const Qt=function(t){t===void 0&&(t=[]);const e=t,n=s.useCallback(i=>he(i,t,"reference"),e),r=s.useCallback(i=>he(i,t,"floating"),e),o=s.useCallback(i=>he(i,t,"item"),e);return s.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])};exports.FloatingFocusManager=_t;exports.FloatingPortal=jt;exports.useClick=Ht;exports.useDismiss=Yt;exports.useFloating=Jt;exports.useId=ce;exports.useInteractions=Qt;exports.useMergeRefs=Xt;exports.useRole=Zt;
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("react/jsx-runtime"),o=require("react"),O=require("./FlexBox.cjs"),B=require("./IconButton.cjs"),V=require("./ThemeProvider.cjs"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),E=require("./breakpoints-CcVm-gVm.cjs"),L=require("./useDetectMobile-DYV6V1yw.cjs"),W=require("./index-CX2A-q39.cjs"),C=require("./Button.cjs"),F=require("./Icon.cjs"),M=require("./utils-CITgSxXe.cjs"),G=z.styled.div`
1
+ "use strict";const l=require("react/jsx-runtime"),o=require("react"),O=require("./FlexBox.cjs"),B=require("./IconButton.cjs"),V=require("./ThemeProvider.cjs"),z=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),E=require("./breakpoints-CcVm-gVm.cjs"),L=require("./useDetectMobile-DYV6V1yw.cjs"),W=require("./index-DMbNpyIV.cjs"),C=require("./Button.cjs"),F=require("./Icon.cjs"),M=require("./utils-CITgSxXe.cjs"),G=z.styled.div`
2
2
  position: relative;
3
3
  padding: ${e=>e.padding};
4
4