@economic/taco 2.45.0-alpha.1 → 2.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (463) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +2 -2
  2. package/dist/components/Alert/Alert.d.ts +1 -1
  3. package/dist/components/AlertDialog/AlertDialog.d.ts +2 -1
  4. package/dist/components/AlertDialog/components/Content.d.ts +3 -1
  5. package/dist/components/Calendar/Calendar.d.ts +1 -1
  6. package/dist/components/Datepicker/Datepicker.d.ts +1 -1
  7. package/dist/components/Dialog/components/Content.d.ts +1 -1
  8. package/dist/components/Dialog/components/DialogDrawer.d.ts +2 -2
  9. package/dist/components/Drawer/components/Content.d.ts +2 -2
  10. package/dist/components/Header/components/Agreement/Badge.d.ts +1 -1
  11. package/dist/components/Header/components/Agreement/Display.d.ts +2 -2
  12. package/dist/components/Header/components/Agreement/Item.d.ts +2 -2
  13. package/dist/components/Header/components/AgreementSelector.d.ts +2 -2
  14. package/dist/components/Header/components/Button.d.ts +1 -1
  15. package/dist/components/HoverCard/HoverCard.d.ts +1 -1
  16. package/dist/components/Icon/components/AccountPreview.d.ts +1 -1
  17. package/dist/components/Icon/components/Accounting.d.ts +1 -1
  18. package/dist/components/Icon/components/AccountingYear.d.ts +1 -1
  19. package/dist/components/Icon/components/AccountingYearCancel.d.ts +1 -1
  20. package/dist/components/Icon/components/AiChatSolid.d.ts +1 -1
  21. package/dist/components/Icon/components/AiStars.d.ts +1 -1
  22. package/dist/components/Icon/components/ArrowBottom.d.ts +1 -1
  23. package/dist/components/Icon/components/ArrowDown.d.ts +1 -1
  24. package/dist/components/Icon/components/ArrowEnd.d.ts +1 -1
  25. package/dist/components/Icon/components/ArrowLeft.d.ts +1 -1
  26. package/dist/components/Icon/components/ArrowRight.d.ts +1 -1
  27. package/dist/components/Icon/components/ArrowStart.d.ts +1 -1
  28. package/dist/components/Icon/components/ArrowTop.d.ts +1 -1
  29. package/dist/components/Icon/components/ArrowUp.d.ts +1 -1
  30. package/dist/components/Icon/components/Attach.d.ts +1 -1
  31. package/dist/components/Icon/components/AttachAuto.d.ts +1 -1
  32. package/dist/components/Icon/components/AttachCancel.d.ts +1 -1
  33. package/dist/components/Icon/components/AttachWarning.d.ts +1 -1
  34. package/dist/components/Icon/components/Autotext.d.ts +1 -1
  35. package/dist/components/Icon/components/AutotextInsert.d.ts +1 -1
  36. package/dist/components/Icon/components/Basic.d.ts +1 -1
  37. package/dist/components/Icon/components/BasicTabs.d.ts +1 -1
  38. package/dist/components/Icon/components/BellSolid.d.ts +1 -1
  39. package/dist/components/Icon/components/Book.d.ts +1 -1
  40. package/dist/components/Icon/components/Booking.d.ts +1 -1
  41. package/dist/components/Icon/components/Budget.d.ts +1 -1
  42. package/dist/components/Icon/components/Calendar.d.ts +1 -1
  43. package/dist/components/Icon/components/CashAccount.d.ts +1 -1
  44. package/dist/components/Icon/components/CashReports.d.ts +1 -1
  45. package/dist/components/Icon/components/ChartArea.d.ts +1 -1
  46. package/dist/components/Icon/components/ChartBar.d.ts +1 -1
  47. package/dist/components/Icon/components/ChartLine.d.ts +1 -1
  48. package/dist/components/Icon/components/ChartPie.d.ts +1 -1
  49. package/dist/components/Icon/components/ChartTable.d.ts +1 -1
  50. package/dist/components/Icon/components/Chat.d.ts +1 -1
  51. package/dist/components/Icon/components/ChatSolid.d.ts +1 -1
  52. package/dist/components/Icon/components/ChevronDown.d.ts +1 -1
  53. package/dist/components/Icon/components/ChevronDownDouble.d.ts +1 -1
  54. package/dist/components/Icon/components/ChevronDownSolid.d.ts +1 -1
  55. package/dist/components/Icon/components/ChevronLeft.d.ts +1 -1
  56. package/dist/components/Icon/components/ChevronLeftDouble.d.ts +1 -1
  57. package/dist/components/Icon/components/ChevronLeftSolid.d.ts +1 -1
  58. package/dist/components/Icon/components/ChevronRight.d.ts +1 -1
  59. package/dist/components/Icon/components/ChevronRightDouble.d.ts +1 -1
  60. package/dist/components/Icon/components/ChevronRightSolid.d.ts +1 -1
  61. package/dist/components/Icon/components/ChevronUp.d.ts +1 -1
  62. package/dist/components/Icon/components/ChevronUpDouble.d.ts +1 -1
  63. package/dist/components/Icon/components/ChevronUpSolid.d.ts +1 -1
  64. package/dist/components/Icon/components/CircleClose.d.ts +1 -1
  65. package/dist/components/Icon/components/CircleInformation.d.ts +1 -1
  66. package/dist/components/Icon/components/CircleMinus.d.ts +1 -1
  67. package/dist/components/Icon/components/CirclePlus.d.ts +1 -1
  68. package/dist/components/Icon/components/CircleQuestionmark.d.ts +1 -1
  69. package/dist/components/Icon/components/CircleTick.d.ts +1 -1
  70. package/dist/components/Icon/components/CircleWarning.d.ts +1 -1
  71. package/dist/components/Icon/components/Clamp.d.ts +1 -1
  72. package/dist/components/Icon/components/ClampOpen.d.ts +1 -1
  73. package/dist/components/Icon/components/Close.d.ts +1 -1
  74. package/dist/components/Icon/components/ColumnFreeze.d.ts +1 -1
  75. package/dist/components/Icon/components/ColumnUnfreeze.d.ts +1 -1
  76. package/dist/components/Icon/components/Columns.d.ts +1 -1
  77. package/dist/components/Icon/components/ConnectionEnable.d.ts +1 -1
  78. package/dist/components/Icon/components/ConnectionRevoke.d.ts +1 -1
  79. package/dist/components/Icon/components/Contacts.d.ts +1 -1
  80. package/dist/components/Icon/components/Copy.d.ts +1 -1
  81. package/dist/components/Icon/components/Courses.d.ts +1 -1
  82. package/dist/components/Icon/components/Credit.d.ts +1 -1
  83. package/dist/components/Icon/components/Delete.d.ts +1 -1
  84. package/dist/components/Icon/components/DeletePermanently.d.ts +1 -1
  85. package/dist/components/Icon/components/Depecriate.d.ts +1 -1
  86. package/dist/components/Icon/components/Developer.d.ts +1 -1
  87. package/dist/components/Icon/components/DistributionTemplate.d.ts +1 -1
  88. package/dist/components/Icon/components/Document.d.ts +1 -1
  89. package/dist/components/Icon/components/DocumentApprove.d.ts +1 -1
  90. package/dist/components/Icon/components/DocumentCreateEntry.d.ts +1 -1
  91. package/dist/components/Icon/components/DocumentCut.d.ts +1 -1
  92. package/dist/components/Icon/components/DocumentError.d.ts +1 -1
  93. package/dist/components/Icon/components/DocumentIsolatePage.d.ts +1 -1
  94. package/dist/components/Icon/components/DocumentMerge.d.ts +1 -1
  95. package/dist/components/Icon/components/DocumentMove.d.ts +1 -1
  96. package/dist/components/Icon/components/DocumentPreview.d.ts +1 -1
  97. package/dist/components/Icon/components/DocumentReceived.d.ts +1 -1
  98. package/dist/components/Icon/components/DocumentRejectedRequest.d.ts +1 -1
  99. package/dist/components/Icon/components/DocumentSigned.d.ts +1 -1
  100. package/dist/components/Icon/components/DocumentSignedSolid.d.ts +1 -1
  101. package/dist/components/Icon/components/DocumentSplit.d.ts +1 -1
  102. package/dist/components/Icon/components/DocumentTime.d.ts +1 -1
  103. package/dist/components/Icon/components/Download.d.ts +1 -1
  104. package/dist/components/Icon/components/Drag.d.ts +1 -1
  105. package/dist/components/Icon/components/ECopedia.d.ts +1 -1
  106. package/dist/components/Icon/components/Edit.d.ts +1 -1
  107. package/dist/components/Icon/components/EditSimple.d.ts +1 -1
  108. package/dist/components/Icon/components/EllipsisHorizontal.d.ts +1 -1
  109. package/dist/components/Icon/components/EllipsisVertical.d.ts +1 -1
  110. package/dist/components/Icon/components/EntriesOnAccount.d.ts +1 -1
  111. package/dist/components/Icon/components/EntriesOpen.d.ts +1 -1
  112. package/dist/components/Icon/components/EntriesWarning.d.ts +1 -1
  113. package/dist/components/Icon/components/EntryTypeCustomerInvoice.d.ts +1 -1
  114. package/dist/components/Icon/components/EntryTypeCustomerPayment.d.ts +1 -1
  115. package/dist/components/Icon/components/EntryTypeJournalEntry.d.ts +1 -1
  116. package/dist/components/Icon/components/EntryTypeManualCustomerInvoice.d.ts +1 -1
  117. package/dist/components/Icon/components/EntryTypeSupplierInvoice.d.ts +1 -1
  118. package/dist/components/Icon/components/EntryTypeSupplierPayment.d.ts +1 -1
  119. package/dist/components/Icon/components/Envelope.d.ts +1 -1
  120. package/dist/components/Icon/components/EnvelopeApproved.d.ts +1 -1
  121. package/dist/components/Icon/components/EnvelopeSolid.d.ts +1 -1
  122. package/dist/components/Icon/components/ExpandView.d.ts +1 -1
  123. package/dist/components/Icon/components/Expenses.d.ts +1 -1
  124. package/dist/components/Icon/components/Export.d.ts +1 -1
  125. package/dist/components/Icon/components/ExportToExcel.d.ts +1 -1
  126. package/dist/components/Icon/components/ExportToPdf.d.ts +1 -1
  127. package/dist/components/Icon/components/EyeOff.d.ts +1 -1
  128. package/dist/components/Icon/components/EyeOn.d.ts +1 -1
  129. package/dist/components/Icon/components/Filter.d.ts +1 -1
  130. package/dist/components/Icon/components/FilterSolid.d.ts +1 -1
  131. package/dist/components/Icon/components/FontSize.d.ts +1 -1
  132. package/dist/components/Icon/components/GraphSolid.d.ts +1 -1
  133. package/dist/components/Icon/components/Hash.d.ts +1 -1
  134. package/dist/components/Icon/components/HeightExtraTall.d.ts +1 -1
  135. package/dist/components/Icon/components/HeightMedium.d.ts +1 -1
  136. package/dist/components/Icon/components/HeightShort.d.ts +1 -1
  137. package/dist/components/Icon/components/HeightTall.d.ts +1 -1
  138. package/dist/components/Icon/components/House.d.ts +1 -1
  139. package/dist/components/Icon/components/HouseSolid.d.ts +1 -1
  140. package/dist/components/Icon/components/Id.d.ts +1 -1
  141. package/dist/components/Icon/components/Images.d.ts +1 -1
  142. package/dist/components/Icon/components/Import.d.ts +1 -1
  143. package/dist/components/Icon/components/Inbox.d.ts +1 -1
  144. package/dist/components/Icon/components/InboxEinvoicing.d.ts +1 -1
  145. package/dist/components/Icon/components/InboxScanning.d.ts +1 -1
  146. package/dist/components/Icon/components/InboxSmart.d.ts +1 -1
  147. package/dist/components/Icon/components/Info.d.ts +1 -1
  148. package/dist/components/Icon/components/Inventory.d.ts +1 -1
  149. package/dist/components/Icon/components/InventoryMatrix.d.ts +1 -1
  150. package/dist/components/Icon/components/JournalPro.d.ts +1 -1
  151. package/dist/components/Icon/components/Layout.d.ts +1 -1
  152. package/dist/components/Icon/components/LayoutBoth.d.ts +1 -1
  153. package/dist/components/Icon/components/LayoutFirst.d.ts +1 -1
  154. package/dist/components/Icon/components/LayoutLast.d.ts +1 -1
  155. package/dist/components/Icon/components/LayoutNone.d.ts +1 -1
  156. package/dist/components/Icon/components/LedgerCard.d.ts +1 -1
  157. package/dist/components/Icon/components/LedgerCardCustomerReminder.d.ts +1 -1
  158. package/dist/components/Icon/components/LedgerCardManualCustomerInvoice.d.ts +1 -1
  159. package/dist/components/Icon/components/LedgerCardObsoleteStock.d.ts +1 -1
  160. package/dist/components/Icon/components/LedgerCardOpeningEntry.d.ts +1 -1
  161. package/dist/components/Icon/components/LedgerCardReservedEntry.d.ts +1 -1
  162. package/dist/components/Icon/components/LedgerCardShrinkagePilferage.d.ts +1 -1
  163. package/dist/components/Icon/components/LedgerCardStockAdjustment.d.ts +1 -1
  164. package/dist/components/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +1 -1
  165. package/dist/components/Icon/components/Lightbulb.d.ts +1 -1
  166. package/dist/components/Icon/components/Line.d.ts +1 -1
  167. package/dist/components/Icon/components/LinkExternal.d.ts +1 -1
  168. package/dist/components/Icon/components/List.d.ts +1 -1
  169. package/dist/components/Icon/components/ListBulleted.d.ts +1 -1
  170. package/dist/components/Icon/components/ListSearch.d.ts +1 -1
  171. package/dist/components/Icon/components/Location.d.ts +1 -1
  172. package/dist/components/Icon/components/Lock.d.ts +1 -1
  173. package/dist/components/Icon/components/LockOpen.d.ts +1 -1
  174. package/dist/components/Icon/components/Log.d.ts +1 -1
  175. package/dist/components/Icon/components/LogOut.d.ts +1 -1
  176. package/dist/components/Icon/components/Market.d.ts +1 -1
  177. package/dist/components/Icon/components/MastercardOs.d.ts +1 -1
  178. package/dist/components/Icon/components/MatchAmount.d.ts +1 -1
  179. package/dist/components/Icon/components/MatchEntries.d.ts +1 -1
  180. package/dist/components/Icon/components/Menu.d.ts +1 -1
  181. package/dist/components/Icon/components/Mileage.d.ts +1 -1
  182. package/dist/components/Icon/components/ModalResize.d.ts +1 -1
  183. package/dist/components/Icon/components/ModalShrink.d.ts +1 -1
  184. package/dist/components/Icon/components/More.d.ts +1 -1
  185. package/dist/components/Icon/components/MoreSolid.d.ts +1 -1
  186. package/dist/components/Icon/components/Move.d.ts +1 -1
  187. package/dist/components/Icon/components/NavigationList.d.ts +1 -1
  188. package/dist/components/Icon/components/Note.d.ts +1 -1
  189. package/dist/components/Icon/components/NoteFollowUp.d.ts +1 -1
  190. package/dist/components/Icon/components/NoteRead.d.ts +1 -1
  191. package/dist/components/Icon/components/NovemberFirst.d.ts +1 -1
  192. package/dist/components/Icon/components/Numbers.d.ts +1 -1
  193. package/dist/components/Icon/components/PartnerApi.d.ts +1 -1
  194. package/dist/components/Icon/components/PaymentPaid.d.ts +1 -1
  195. package/dist/components/Icon/components/PaymentUnpaid.d.ts +1 -1
  196. package/dist/components/Icon/components/Period.d.ts +1 -1
  197. package/dist/components/Icon/components/PersonChange.d.ts +1 -1
  198. package/dist/components/Icon/components/PersonMinus.d.ts +1 -1
  199. package/dist/components/Icon/components/PersonPlus.d.ts +1 -1
  200. package/dist/components/Icon/components/PersonTick.d.ts +1 -1
  201. package/dist/components/Icon/components/Phone.d.ts +1 -1
  202. package/dist/components/Icon/components/PhoneSolid.d.ts +1 -1
  203. package/dist/components/Icon/components/Play.d.ts +1 -1
  204. package/dist/components/Icon/components/PlusMinus.d.ts +1 -1
  205. package/dist/components/Icon/components/Print.d.ts +1 -1
  206. package/dist/components/Icon/components/ProcessPayment.d.ts +1 -1
  207. package/dist/components/Icon/components/ProductLedgerCard.d.ts +1 -1
  208. package/dist/components/Icon/components/Profile.d.ts +1 -1
  209. package/dist/components/Icon/components/ProjectCards.d.ts +1 -1
  210. package/dist/components/Icon/components/Projects.d.ts +1 -1
  211. package/dist/components/Icon/components/QuestionMark.d.ts +1 -1
  212. package/dist/components/Icon/components/QuestionMarkBold.d.ts +1 -1
  213. package/dist/components/Icon/components/Quicklinks.d.ts +1 -1
  214. package/dist/components/Icon/components/RatingBankruptcy.d.ts +1 -1
  215. package/dist/components/Icon/components/RatingPaymentProblems.d.ts +1 -1
  216. package/dist/components/Icon/components/Reconciled.d.ts +1 -1
  217. package/dist/components/Icon/components/Refresh.d.ts +1 -1
  218. package/dist/components/Icon/components/Report.d.ts +1 -1
  219. package/dist/components/Icon/components/ReportSolid.d.ts +1 -1
  220. package/dist/components/Icon/components/Restore.d.ts +1 -1
  221. package/dist/components/Icon/components/RotateLeft.d.ts +1 -1
  222. package/dist/components/Icon/components/RotateRight.d.ts +1 -1
  223. package/dist/components/Icon/components/Sales.d.ts +1 -1
  224. package/dist/components/Icon/components/Search.d.ts +1 -1
  225. package/dist/components/Icon/components/SearchBold.d.ts +1 -1
  226. package/dist/components/Icon/components/Secure.d.ts +1 -1
  227. package/dist/components/Icon/components/SecureTick.d.ts +1 -1
  228. package/dist/components/Icon/components/Settings.d.ts +1 -1
  229. package/dist/components/Icon/components/SettingsSolid.d.ts +1 -1
  230. package/dist/components/Icon/components/Shortcuts.d.ts +1 -1
  231. package/dist/components/Icon/components/ShowAll.d.ts +1 -1
  232. package/dist/components/Icon/components/ShowLess.d.ts +1 -1
  233. package/dist/components/Icon/components/ShowMore.d.ts +1 -1
  234. package/dist/components/Icon/components/ShowTemplate.d.ts +1 -1
  235. package/dist/components/Icon/components/Sliders.d.ts +1 -1
  236. package/dist/components/Icon/components/Smartpay.d.ts +1 -1
  237. package/dist/components/Icon/components/SortBy.d.ts +1 -1
  238. package/dist/components/Icon/components/Star.d.ts +1 -1
  239. package/dist/components/Icon/components/StarSolid.d.ts +1 -1
  240. package/dist/components/Icon/components/Subscriptions.d.ts +1 -1
  241. package/dist/components/Icon/components/SystemEntries.d.ts +1 -1
  242. package/dist/components/Icon/components/Tag.d.ts +1 -1
  243. package/dist/components/Icon/components/TemplateOverride.d.ts +1 -1
  244. package/dist/components/Icon/components/Templates.d.ts +1 -1
  245. package/dist/components/Icon/components/ThumbBoth.d.ts +1 -1
  246. package/dist/components/Icon/components/ThumbDown.d.ts +1 -1
  247. package/dist/components/Icon/components/ThumbDownSolid.d.ts +1 -1
  248. package/dist/components/Icon/components/ThumbUp.d.ts +1 -1
  249. package/dist/components/Icon/components/ThumbUpSolid.d.ts +1 -1
  250. package/dist/components/Icon/components/Tick.d.ts +1 -1
  251. package/dist/components/Icon/components/TickBold.d.ts +1 -1
  252. package/dist/components/Icon/components/Time.d.ts +1 -1
  253. package/dist/components/Icon/components/Transfer.d.ts +1 -1
  254. package/dist/components/Icon/components/TransferCancel.d.ts +1 -1
  255. package/dist/components/Icon/components/TransferLocked.d.ts +1 -1
  256. package/dist/components/Icon/components/Undo.d.ts +1 -1
  257. package/dist/components/Icon/components/Undock.d.ts +1 -1
  258. package/dist/components/Icon/components/Unreconciled.d.ts +1 -1
  259. package/dist/components/Icon/components/Warning.d.ts +1 -1
  260. package/dist/components/Icon/components/Webshop.d.ts +1 -1
  261. package/dist/components/Icon/components/Website.d.ts +1 -1
  262. package/dist/components/Icon/components/Workflow.d.ts +1 -1
  263. package/dist/components/Icon/components/WorkflowTemplateBasic.d.ts +1 -1
  264. package/dist/components/Icon/components/Zoom.d.ts +1 -1
  265. package/dist/components/IconButton/IconButton.d.ts +2 -2
  266. package/dist/components/Input/Input.d.ts +2 -2
  267. package/dist/components/Input/util.d.ts +1 -11
  268. package/dist/components/Layout/components/Sidebar.d.ts +2 -14
  269. package/dist/components/Layout/components/Top.d.ts +4 -4
  270. package/dist/components/List/List.d.ts +7 -7
  271. package/dist/components/List/components/Button.d.ts +1 -1
  272. package/dist/components/List/components/Collapsible.d.ts +1 -1
  273. package/dist/components/List/components/Group.d.ts +1 -1
  274. package/dist/components/List/components/Item.d.ts +1 -1
  275. package/dist/components/List/components/Link.d.ts +1 -1
  276. package/dist/components/List/components/Toggle.d.ts +2 -2
  277. package/dist/components/Listbox/Listbox.d.ts +2 -2
  278. package/dist/components/Listbox/ScrollableList.d.ts +1 -1
  279. package/dist/components/Listbox/util.d.ts +2 -2
  280. package/dist/components/Menu/components/Checkbox.d.ts +1 -1
  281. package/dist/components/Menu/components/Content.d.ts +2 -2
  282. package/dist/components/Menu/components/Item.d.ts +8 -8
  283. package/dist/components/Menu/components/Link.d.ts +1 -1
  284. package/dist/components/Menu/components/RadioGroup.d.ts +1 -1
  285. package/dist/components/Menu/components/SubMenu.d.ts +1 -1
  286. package/dist/components/Menu/components/Trigger.d.ts +1 -1
  287. package/dist/components/Navigation2/components/Group.d.ts +1 -1
  288. package/dist/components/Popover/Popover.d.ts +1 -1
  289. package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
  290. package/dist/components/ScrollArea/ScrollArea.d.ts +2 -2
  291. package/dist/components/SearchInput/SearchInput.d.ts +1 -1
  292. package/dist/components/Select/Select.d.ts +1 -1
  293. package/dist/components/Select2/components/All.d.ts +2 -2
  294. package/dist/components/Select2/components/Collection.d.ts +1 -1
  295. package/dist/components/Select2/components/Create.d.ts +1 -1
  296. package/dist/components/Select2/components/Edit.d.ts +2 -2
  297. package/dist/components/Select2/components/Group.d.ts +1 -1
  298. package/dist/components/Select2/components/Option.d.ts +1 -1
  299. package/dist/components/Select2/components/Search.d.ts +3 -9
  300. package/dist/components/Select2/components/Trigger.d.ts +1 -1
  301. package/dist/components/Select2/hooks/useChildren.d.ts +2 -2
  302. package/dist/components/Shortcut/Shortcut.d.ts +1 -1
  303. package/dist/components/Table3/components/Columns/Cell/Cell.d.ts +2 -2
  304. package/dist/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +1 -1
  305. package/dist/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +2 -2
  306. package/dist/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +2 -2
  307. package/dist/components/Table3/components/Editing/Alert.d.ts +1 -1
  308. package/dist/components/Table3/components/Row/Editing/CreateRowButton.d.ts +2 -2
  309. package/dist/components/Table3/components/Row/Editing/SaveStatus.d.ts +2 -2
  310. package/dist/components/Table3/components/Row/Row.d.ts +2 -2
  311. package/dist/components/Table3/components/Toolbar/Editing/Editing.d.ts +1 -1
  312. package/dist/components/Table3/features/useTableEditing.d.ts +2 -2
  313. package/dist/components/Table3/util/editing.d.ts +1 -1
  314. package/dist/components/Tag/Tag.d.ts +2 -2
  315. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  316. package/dist/components/Tour/Tour.d.ts +3 -3
  317. package/dist/components/Truncate/Truncate.d.ts +1 -1
  318. package/dist/esm/packages/taco/src/components/Accordion/Accordion.js +6 -14
  319. package/dist/esm/packages/taco/src/components/Accordion/Accordion.js.map +1 -1
  320. package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js +2 -1
  321. package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js.map +1 -1
  322. package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js +7 -2
  323. package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js.map +1 -1
  324. package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js.map +1 -1
  325. package/dist/esm/packages/taco/src/components/Dialog/Dialog.js.map +1 -1
  326. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +4 -3
  327. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -1
  328. package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js.map +1 -1
  329. package/dist/esm/packages/taco/src/components/Drawer/components/Content.js +1 -0
  330. package/dist/esm/packages/taco/src/components/Drawer/components/Content.js.map +1 -1
  331. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js.map +1 -1
  332. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +3 -5
  333. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +1 -1
  334. package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -1
  335. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -1
  336. package/dist/esm/packages/taco/src/components/Layout/components/Top.js +2 -2
  337. package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +1 -1
  338. package/dist/esm/packages/taco/src/components/Listbox/util.js +1 -7
  339. package/dist/esm/packages/taco/src/components/Listbox/util.js.map +1 -1
  340. package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +1 -1
  341. package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +1 -1
  342. package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -1
  343. package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +1 -1
  344. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +4 -4
  345. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -1
  346. package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -1
  347. package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +1 -1
  348. package/dist/esm/packages/taco/src/components/Select2/Select2.js +20 -39
  349. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  350. package/dist/esm/packages/taco/src/components/Select2/components/Create.js +10 -11
  351. package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +1 -1
  352. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +2 -0
  353. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +1 -1
  354. package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -1
  355. package/dist/esm/packages/taco/src/components/Select2/components/Search.js +2 -12
  356. package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -1
  357. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js +19 -1
  358. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -1
  359. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  360. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js.map +1 -1
  361. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
  362. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -1
  363. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +12 -0
  364. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -1
  365. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -1
  366. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -1
  367. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js.map +1 -1
  368. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +1 -1
  369. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -1
  370. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +1 -4
  371. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -1
  372. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -1
  373. package/dist/esm/packages/taco/src/components/Table3/util/editing.js +2 -3
  374. package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
  375. package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +1 -1
  376. package/dist/esm/packages/taco/src/components/Tour/Tour.js +3 -3
  377. package/dist/esm/packages/taco/src/components/Tour/Tour.js.map +1 -1
  378. package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js.map +1 -1
  379. package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js.map +1 -1
  380. package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js +18 -0
  381. package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js.map +1 -1
  382. package/dist/esm/packages/taco/src/primitives/Listbox2/components/Option.js +0 -5
  383. package/dist/esm/packages/taco/src/primitives/Listbox2/components/Option.js.map +1 -1
  384. package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js +1 -0
  385. package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js.map +1 -1
  386. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +1 -1
  387. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
  388. package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js.map +1 -1
  389. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js +4 -4
  390. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -1
  391. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -1
  392. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -1
  393. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -1
  394. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +2 -2
  395. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -1
  396. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -1
  397. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -1
  398. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -1
  399. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -1
  400. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -1
  401. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +9 -4
  402. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -1
  403. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -1
  404. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -1
  405. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -1
  406. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -1
  407. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  408. package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -1
  409. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js +3 -3
  410. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -1
  411. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -1
  412. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -1
  413. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -1
  414. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
  415. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -1
  416. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -1
  417. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
  418. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -1
  419. package/dist/esm/packages/taco/src/utils/dom.js +15 -9
  420. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  421. package/dist/primitives/BubbleSelect.d.ts +1 -1
  422. package/dist/primitives/Collection/components/Root.d.ts +2 -0
  423. package/dist/primitives/Sortable/components/Container.d.ts +2 -2
  424. package/dist/primitives/Sortable/components/Item.d.ts +1 -2
  425. package/dist/primitives/Sortable/components/List.d.ts +1 -1
  426. package/dist/primitives/Table/Core/Table.d.ts +2 -2
  427. package/dist/primitives/Table/Core/components/Body/Body.d.ts +1 -1
  428. package/dist/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +1 -1
  429. package/dist/primitives/Table/Core/components/Body/util.d.ts +4 -4
  430. package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +2 -2
  431. package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +2 -2
  432. package/dist/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +1 -1
  433. package/dist/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +2 -2
  434. package/dist/primitives/Table/Core/components/Footer/Footer.d.ts +3 -3
  435. package/dist/primitives/Table/Core/components/Footer/Summary.d.ts +2 -2
  436. package/dist/primitives/Table/Core/components/Header/Header.d.ts +1 -1
  437. package/dist/primitives/Table/Core/components/Header/components/Goto.d.ts +2 -2
  438. package/dist/primitives/Table/Core/components/Header/components/Menu.d.ts +1 -1
  439. package/dist/primitives/Table/Core/components/Header/components/Resizer.d.ts +2 -2
  440. package/dist/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +3 -3
  441. package/dist/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +2 -2
  442. package/dist/primitives/Table/Core/components/Row/Row.d.ts +1 -1
  443. package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +1 -1
  444. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +2 -2
  445. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +2 -2
  446. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +2 -2
  447. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +1 -1
  448. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +2 -2
  449. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +2 -2
  450. package/dist/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +1 -1
  451. package/dist/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +2 -2
  452. package/dist/primitives/Table/Core/components/Toolbar/components/Search/Search.d.ts +1 -1
  453. package/dist/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +2 -2
  454. package/dist/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +2 -2
  455. package/dist/primitives/Table/Core/features/useTableStyle.d.ts +3 -3
  456. package/dist/primitives/Table/types.d.ts +1 -1
  457. package/dist/primitives/Table/useTableManager/util/settings.d.ts +1 -1
  458. package/dist/taco.cjs.development.js +146 -133
  459. package/dist/taco.cjs.development.js.map +1 -1
  460. package/dist/taco.cjs.production.min.js +1 -1
  461. package/dist/taco.cjs.production.min.js.map +1 -1
  462. package/dist/utils/dom.d.ts +1 -1
  463. package/package.json +26 -25
@@ -3944,6 +3944,11 @@ const Title = /*#__PURE__*/React.forwardRef(function AlertDialogTitle(props, ref
3944
3944
  className: "mr-2"
3945
3945
  })) : undefined, props.children);
3946
3946
  });
3947
+ const Description = /*#__PURE__*/React.forwardRef(function AlertDialogDescription(props, ref) {
3948
+ return /*#__PURE__*/React.createElement(AlertDialogPrimitive.Description, Object.assign({
3949
+ ref: ref
3950
+ }, props));
3951
+ });
3947
3952
  const Content = /*#__PURE__*/React.forwardRef(function AlertDialogContent(props, ref) {
3948
3953
  const className = cn('p-6', getDialogPositionClassnames(), getDialogStylingClassnames(), getDialogSizeClassnames('dialog'));
3949
3954
  return /*#__PURE__*/React.createElement(AlertDialogPrimitive.Portal, null, /*#__PURE__*/React.createElement(AlertDialogPrimitive.Overlay, {
@@ -3978,6 +3983,7 @@ const AlertDialog = /*#__PURE__*/React.forwardRef(function AlertDialog(props, re
3978
3983
  });
3979
3984
  AlertDialog.Trigger = Trigger;
3980
3985
  AlertDialog.Content = Content;
3986
+ AlertDialog.Description = Description;
3981
3987
  AlertDialog.Title = Title;
3982
3988
  AlertDialog.Cancel = Cancel;
3983
3989
  AlertDialog.Action = Action;
@@ -4037,33 +4043,25 @@ const Accordion = props => {
4037
4043
  const context = React__default.useMemo(() => ({
4038
4044
  as
4039
4045
  }), [as]);
4040
- const type = typeof defaultId === 'string' || typeof id === 'string' ? 'single' : 'multiple';
4041
4046
  let valueProps;
4042
4047
  if (defaultId) {
4043
- valueProps = type === 'single' ? {
4044
- type: 'single',
4045
- defaultValue: defaultId
4046
- } : {
4047
- type: 'multiple',
4048
- defaultValue: defaultId
4048
+ valueProps = {
4049
+ defaultValue: defaultId || undefined
4049
4050
  };
4050
4051
  } else {
4051
- valueProps = type === 'single' ? {
4052
- type: 'single',
4053
- onValueChange: onChange,
4054
- value: id || undefined
4055
- } : {
4056
- type: 'multiple',
4052
+ valueProps = {
4057
4053
  onValueChange: onChange,
4058
4054
  value: id || undefined
4059
4055
  };
4060
4056
  }
4057
+ const type = typeof valueProps.defaultValue === 'string' || typeof valueProps.value === 'string' ? 'single' : 'multiple';
4061
4058
  const className = cn('divide-y divide-grey-200', props.className);
4062
4059
  return /*#__PURE__*/React__default.createElement(AccordionContext.Provider, {
4063
4060
  value: context
4064
4061
  }, /*#__PURE__*/React__default.createElement(AccordionPrimitive.Root, Object.assign({}, otherProps, valueProps, {
4065
4062
  "data-taco": "accordion",
4066
- className: className
4063
+ className: className,
4064
+ type: type
4067
4065
  })));
4068
4066
  };
4069
4067
  Accordion.Item = Item;
@@ -4169,7 +4167,7 @@ const useMergedRef = ref => {
4169
4167
  };
4170
4168
 
4171
4169
  // taken from react-aria
4172
- const FOCUSABLE_ELEMENTS = ['input:not([disabled]):not([type=hidden])', 'select:not([disabled])', 'textarea:not([disabled])', 'button:not([disabled])', 'a[href]', 'area[href]', 'summary', 'iframe', 'object', 'embed', 'audio[controls]', 'video[controls]', '[contenteditable]', '[tabindex]:not([tabindex="-1"]):not([disabled])', 'details:not([disabled])', 'summary:not(:disabled)'];
4170
+ const FOCUSABLE_ELEMENTS = ['[tabindex]:not([disabled]):not([tabindex="-1"])', 'input:not([disabled]):not([type=hidden]):not([tabindex="-1"])', 'select:not([disabled]):not([tabindex="-1"])', 'textarea:not([disabled]):not([tabindex="-1"])', 'button:not([disabled]):not([tabindex="-1"])', 'a[href]', 'area[href]', 'summary', 'iframe', 'object', 'embed', 'audio[controls]', 'video[controls]', '[contenteditable]', 'details:not([disabled]):not([tabindex="-1"])', 'summary:not(:disabled):not([tabindex="-1"])'];
4173
4171
  const hasFocusableElement = element => {
4174
4172
  if (!element) {
4175
4173
  return null;
@@ -4195,13 +4193,20 @@ const getNextFocussableElement = currentElement => {
4195
4193
  if (!currentElement) {
4196
4194
  return null;
4197
4195
  }
4198
- const focussableElements = [...document.querySelectorAll(FOCUSABLE_ELEMENTS.join(','))];
4196
+ let focussableElements = [...document.querySelectorAll(FOCUSABLE_ELEMENTS.join(','))];
4199
4197
  const currentElementIndex = focussableElements.indexOf(currentElement);
4200
- // If the currentElement is not in the focussable elements list or it is the last element
4201
- if (currentElementIndex !== -1 && currentElementIndex === focussableElements.length - 1) {
4202
- return null;
4198
+ if (currentElementIndex > -1) {
4199
+ focussableElements = focussableElements.slice(currentElementIndex + 1);
4200
+ if (focussableElements.length) {
4201
+ var _focussableElements$;
4202
+ focussableElements = focussableElements.filter(element => {
4203
+ var _element$checkVisibil, _element$checkVisibil2;
4204
+ return (_element$checkVisibil = (_element$checkVisibil2 = element.checkVisibility) === null || _element$checkVisibil2 === void 0 ? void 0 : _element$checkVisibil2.call(element)) !== null && _element$checkVisibil !== void 0 ? _element$checkVisibil : true;
4205
+ });
4206
+ return (_focussableElements$ = focussableElements[0]) !== null && _focussableElements$ !== void 0 ? _focussableElements$ : null;
4207
+ }
4203
4208
  }
4204
- return focussableElements[currentElementIndex + 1];
4209
+ return null;
4205
4210
  };
4206
4211
  const getOverlaySelector = element => {
4207
4212
  switch (element === null || element === void 0 ? void 0 : element.getAttribute('role')) {
@@ -4217,11 +4222,10 @@ function isElementInsideOrTriggeredFromContainer(element, container) {
4217
4222
  var _getOverlaySelector, _element$closest;
4218
4223
  const selector = (_getOverlaySelector = getOverlaySelector(element)) !== null && _getOverlaySelector !== void 0 ? _getOverlaySelector : getOverlaySelector((_element$closest = element === null || element === void 0 ? void 0 : element.closest('[role=dialog],[role=menu]')) !== null && _element$closest !== void 0 ? _element$closest : null);
4219
4224
  if (selector) {
4220
- const escapedSelector = CSS.escape(selector);
4221
- if (container !== null && container !== void 0 && container.querySelector(escapedSelector)) {
4225
+ if (container !== null && container !== void 0 && container.querySelector(selector)) {
4222
4226
  return true;
4223
4227
  }
4224
- const elementInDocument = document.querySelector(escapedSelector);
4228
+ const elementInDocument = document.querySelector(selector);
4225
4229
  // if the element does exist, see if it is itself connected to somethng that was triggered from the container
4226
4230
  if (elementInDocument) {
4227
4231
  return isElementInsideOrTriggeredFromContainer(elementInDocument, container);
@@ -5745,13 +5749,7 @@ const searchForString = (child, value, strategy = 'includes') => {
5745
5749
  }
5746
5750
  return searchForString((_child$props3 = child.props) === null || _child$props3 === void 0 ? void 0 : _child$props3.children, value, strategy);
5747
5751
  } else {
5748
- const childLowerCase = child.toString().toLowerCase();
5749
- const valueLowerCase = String(value).toLowerCase();
5750
- if (strategy === 'startsWith') {
5751
- return childLowerCase.startsWith(valueLowerCase);
5752
- } else {
5753
- return childLowerCase.includes(valueLowerCase);
5754
- }
5752
+ return child.toString().toLowerCase()[strategy](String(value).toLowerCase());
5755
5753
  }
5756
5754
  } catch {
5757
5755
  return false;
@@ -6693,6 +6691,7 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6693
6691
  return /*#__PURE__*/React.createElement(DialogPrimitive.Portal, null, /*#__PURE__*/React.createElement(DialogPrimitive.Overlay, {
6694
6692
  asChild: true
6695
6693
  }, /*#__PURE__*/React.createElement(Backdrop, null, /*#__PURE__*/React.createElement(DialogPrimitive.Content, Object.assign({}, props, {
6694
+ "aria-describedby": undefined,
6696
6695
  className: className,
6697
6696
  onEscapeKeyDown: handleEscapeKeyDown,
6698
6697
  onInteractOutside: handleInteractOutside,
@@ -6705,7 +6704,7 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6705
6704
  }), /*#__PURE__*/React.createElement("div", {
6706
6705
  className: containerClassName,
6707
6706
  "data-taco": "dialog"
6708
- }, /*#__PURE__*/React.createElement(React.Fragment, null, output, dialog.draggable && (/*#__PURE__*/React.createElement("div", Object.assign({}, dragHandleProps, {
6707
+ }, output, dialog.draggable && (/*#__PURE__*/React.createElement("div", Object.assign({}, dragHandleProps, {
6709
6708
  role: "button",
6710
6709
  draggable: true,
6711
6710
  "aria-grabbed": dragging,
@@ -6719,7 +6718,7 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6719
6718
  "aria-label": texts.dialog.close,
6720
6719
  className: "absolute right-0 top-0 mr-2 mt-2 print:hidden",
6721
6720
  icon: "close"
6722
- }))) : null)), dialog.elements.drawer, dialog.elements.extra))));
6721
+ }))) : null), dialog.elements.drawer, dialog.elements.extra))));
6723
6722
  });
6724
6723
 
6725
6724
  const DialogDrawer = /*#__PURE__*/React.forwardRef(function DialogDrawer(props, ref) {
@@ -6912,12 +6911,12 @@ const Bar = props => {
6912
6911
  className: className
6913
6912
  }));
6914
6913
  };
6915
- const Thumb = () => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Thumb, {
6914
+ const Thumb = props => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Thumb, Object.assign({}, props, {
6916
6915
  className: "flex-[1] rounded bg-black opacity-50"
6917
- });
6918
- const Corner = () => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Corner, {
6916
+ }));
6917
+ const Corner = props => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Corner, Object.assign({}, props, {
6919
6918
  className: "bg-grey-500"
6920
- });
6919
+ }));
6921
6920
  const ScrollArea = props => {
6922
6921
  const {
6923
6922
  children,
@@ -7220,6 +7219,7 @@ const DrawerContent = /*#__PURE__*/React__default.forwardRef(function Content(pr
7220
7219
  return focusTrap ? (/*#__PURE__*/React__default.createElement(DialogPrimitive.Content, Object.assign({
7221
7220
  forceMount: true
7222
7221
  }, otherProps, {
7222
+ "aria-describedby": undefined,
7223
7223
  className: contentClassName,
7224
7224
  onEscapeKeyDown: handleEscapeKeyDown,
7225
7225
  onInteractOutside: variant === 'overlay' ? undefined : event => event.preventDefault(),
@@ -10956,10 +10956,10 @@ function useTableSearch(isEnabled = false, defaultEnableGlobalFilter = false) {
10956
10956
  // react-table doesn't re-render when options.enableGlobalFilter changes, so for now we force it
10957
10957
  const currentFilter = instance.getState().globalFilter;
10958
10958
  if (currentFilter) {
10959
- instance.resetGlobalFilter(true);
10960
- window.requestAnimationFrame(() => {
10959
+ setTimeout(() => {
10960
+ instance.setGlobalFilter('');
10961
10961
  instance.setGlobalFilter(currentFilter);
10962
- });
10962
+ }, 1);
10963
10963
  }
10964
10964
  }
10965
10965
  // highlighting
@@ -13223,11 +13223,11 @@ function HeaderMenu(props) {
13223
13223
  return Promise.reject(e);
13224
13224
  }
13225
13225
  };
13226
- popoverElement = props => (/*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
13226
+ popoverElement = props => /*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
13227
13227
  open: true,
13228
13228
  onChange: handleClosePopover,
13229
13229
  onGoto: goto
13230
- })));
13230
+ }));
13231
13231
  }
13232
13232
  }
13233
13233
  }
@@ -13570,10 +13570,10 @@ const FOCUS_MANAGER_OPTIONS_ARROW_KEYS = {
13570
13570
  };
13571
13571
  function useAugmentedFocusManager() {
13572
13572
  const focusManager = focus.useFocusManager();
13573
- const focusPrevious = (arrowNavigation = false) => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusPrevious(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13574
- const focusNext = (arrowNavigation = false) => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusNext(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13575
- const focusFirst = () => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusFirst(FOCUS_MANAGER_OPTIONS_TAB);
13576
- const focusLast = () => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusLast(FOCUS_MANAGER_OPTIONS_TAB);
13573
+ const focusPrevious = (arrowNavigation = false) => focusManager.focusPrevious(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13574
+ const focusNext = (arrowNavigation = false) => focusManager.focusNext(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13575
+ const focusFirst = () => focusManager.focusFirst(FOCUS_MANAGER_OPTIONS_TAB);
13576
+ const focusLast = () => focusManager.focusLast(FOCUS_MANAGER_OPTIONS_TAB);
13577
13577
  return {
13578
13578
  focusPrevious,
13579
13579
  focusNext,
@@ -14090,7 +14090,7 @@ function Container(externalProps) {
14090
14090
  if (!(activeList !== null && activeList !== void 0 && activeList.id) || !(overList !== null && overList !== void 0 && overList.id) || activeList.id === overList.id) {
14091
14091
  return;
14092
14092
  }
14093
- move === null || move === void 0 ? void 0 : move(active.id, activeList === null || activeList === void 0 ? void 0 : activeList.id, overList.id);
14093
+ move(active.id, activeList === null || activeList === void 0 ? void 0 : activeList.id, overList.id);
14094
14094
  }
14095
14095
  function handleDragEnd(event) {
14096
14096
  const {
@@ -14401,6 +14401,7 @@ const getOptionsFromCollection = (collection, selector) => collection.querySelec
14401
14401
  const Root = /*#__PURE__*/React__default.forwardRef(function CollectionRoot(props, ref) {
14402
14402
  const {
14403
14403
  querySelector,
14404
+ resetOnChange,
14404
14405
  tabIndex = 0,
14405
14406
  ...otherProps
14406
14407
  } = props;
@@ -14431,14 +14432,31 @@ const Root = /*#__PURE__*/React__default.forwardRef(function CollectionRoot(prop
14431
14432
  internalRef.current.setActiveIndexByElement = setActiveIndexByElement;
14432
14433
  }
14433
14434
  }, [internalRef.current]);
14435
+ React__default.useEffect(() => {
14436
+ if (internalRef.current) {
14437
+ const selected = internalRef.current.querySelectorAll(`[aria-current="true"]`);
14438
+ const options = getOptionsFromCollection(internalRef.current, querySelector);
14439
+ if (options.length && selected.length === 1) {
14440
+ const firstSelected = internalRef.current.querySelector(`[aria-selected]`);
14441
+ if (firstSelected) {
14442
+ const selectedIndex = Array.from(options).indexOf(firstSelected);
14443
+ if (selectedIndex > -1) {
14444
+ setActiveOption(selectedIndex, internalRef.current, firstSelected);
14445
+ }
14446
+ }
14447
+ }
14448
+ }
14449
+ }, [resetOnChange]);
14434
14450
  React__default.useEffect(() => {
14435
14451
  if (internalRef.current) {
14436
14452
  const options = getOptionsFromCollection(internalRef.current, querySelector);
14437
14453
  if (options.length) {
14438
14454
  let selected = internalRef.current.querySelectorAll(`[aria-current="true"]`);
14455
+ // if nothing is current (keyboard visible), look for selected items
14439
14456
  if (selected.length === 0) {
14440
14457
  selected = internalRef.current.querySelectorAll(`[aria-selected]`);
14441
14458
  }
14459
+ // if one item is selected, make sure it's current
14442
14460
  if (selected.length === 1) {
14443
14461
  if (options) {
14444
14462
  const firstSelected = selected.item(0);
@@ -14584,6 +14602,7 @@ const Root$1 = /*#__PURE__*/React__default.forwardRef(function Listbox2(props, r
14584
14602
  id: id,
14585
14603
  querySelector: customSelector ? `${DEFAULT_SELECTOR}, ${customSelector}` : DEFAULT_SELECTOR,
14586
14604
  ref: ref,
14605
+ resetOnChange: value,
14587
14606
  role: "listbox"
14588
14607
  }), children)));
14589
14608
  });
@@ -14642,10 +14661,6 @@ const Option = /*#__PURE__*/React__default.forwardRef(function Listbox2Option(pr
14642
14661
  if (disabled || listboxDisabled || listboxReadOnly) {
14643
14662
  event.stopPropagation();
14644
14663
  return;
14645
- }
14646
- // UX requirement: if tab key is pressed and the current option is selected then keydown event is ignored
14647
- else if (event.key === 'Tab' && selected) {
14648
- return;
14649
14664
  } else if (isAriaSelectionKey(event)) {
14650
14665
  setValue(value);
14651
14666
  }
@@ -14656,7 +14671,6 @@ const Option = /*#__PURE__*/React__default.forwardRef(function Listbox2Option(pr
14656
14671
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, otherProps, {
14657
14672
  "aria-disabled": listboxDisabled || disabled ? 'true' : undefined,
14658
14673
  "aria-selected": selected ? 'true' : undefined,
14659
- key: `${value}_${String(selected)}`,
14660
14674
  id: id,
14661
14675
  onClick: handleClick,
14662
14676
  onKeyDown: handleKeyDown,
@@ -14918,6 +14932,7 @@ const Colours = props => {
14918
14932
  const {
14919
14933
  color,
14920
14934
  onChangeColor,
14935
+ onClick,
14921
14936
  onKeyDown
14922
14937
  } = props;
14923
14938
  const {
@@ -14926,6 +14941,7 @@ const Colours = props => {
14926
14941
  return /*#__PURE__*/React__default.createElement(RadioGroupPrimitive.Root, {
14927
14942
  "aria-label": texts.select2.chooseColor,
14928
14943
  className: "grid grid-cols-4 gap-2 focus:outline-none",
14944
+ onClick: onClick,
14929
14945
  onKeyDown: onKeyDown,
14930
14946
  onValueChange: color => onChangeColor(color),
14931
14947
  value: color
@@ -15099,7 +15115,9 @@ const Button$3 = /*#__PURE__*/React__default.forwardRef(function Select2TriggerB
15099
15115
  var _props$className;
15100
15116
  const {
15101
15117
  children,
15118
+ onBlur,
15102
15119
  onClick,
15120
+ onFocus,
15103
15121
  tabIndex = 0,
15104
15122
  ...otherProps
15105
15123
  } = props;
@@ -15130,6 +15148,18 @@ const Button$3 = /*#__PURE__*/React__default.forwardRef(function Select2TriggerB
15130
15148
  onClick(event);
15131
15149
  }
15132
15150
  };
15151
+ let handleBlur;
15152
+ if (typeof onBlur === 'function') {
15153
+ // we might be focusing on an input or something inside the dropdown that was triggered by the select
15154
+ // so see if the element gaining focus is inside a portal and look up its controller
15155
+ // if we don't do this, things like validate on blur occur while simply opening the select
15156
+ handleBlur = event => {
15157
+ if (isElementInsideOrTriggeredFromContainer(event.relatedTarget, event.currentTarget)) {
15158
+ return;
15159
+ }
15160
+ onBlur(event);
15161
+ };
15162
+ }
15133
15163
  // select the value text if the select is readonly
15134
15164
  const handleFocus = event => {
15135
15165
  if (readOnly) {
@@ -15139,6 +15169,9 @@ const Button$3 = /*#__PURE__*/React__default.forwardRef(function Select2TriggerB
15139
15169
  (_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : (_window$getSelection$ = _window$getSelection.selectAllChildren) === null || _window$getSelection$ === void 0 ? void 0 : _window$getSelection$.call(_window$getSelection, value);
15140
15170
  }
15141
15171
  }
15172
+ if (typeof onFocus === 'function') {
15173
+ onFocus(event);
15174
+ }
15142
15175
  };
15143
15176
  return /*#__PURE__*/React__default.createElement("button", Object.assign({}, otherProps, {
15144
15177
  "aria-invalid": invalid ? true : undefined,
@@ -15146,6 +15179,7 @@ const Button$3 = /*#__PURE__*/React__default.forwardRef(function Select2TriggerB
15146
15179
  className: className,
15147
15180
  disabled: disabled,
15148
15181
  onClick: handleClick,
15182
+ onBlur: handleBlur,
15149
15183
  onFocus: handleFocus,
15150
15184
  ref: ref,
15151
15185
  role: "combobox",
@@ -15408,17 +15442,12 @@ const BubbleSelect = props => {
15408
15442
  };
15409
15443
 
15410
15444
  const Search$2 = /*#__PURE__*/React__default.forwardRef(function ListboxSearch(props, ref) {
15411
- const {
15412
- onTabKeyPress,
15413
- ...otherProps
15414
- } = props;
15415
15445
  const {
15416
15446
  listboxRef,
15417
15447
  searchQuery,
15418
15448
  setSearchQuery,
15419
15449
  setValidationError,
15420
- validationError,
15421
- setOpen
15450
+ validationError
15422
15451
  } = useSelect2Context();
15423
15452
  const handleChange = event => {
15424
15453
  if (validationError) {
@@ -15431,11 +15460,6 @@ const Search$2 = /*#__PURE__*/React__default.forwardRef(function ListboxSearch(p
15431
15460
  if (event.key === ' ') {
15432
15461
  return;
15433
15462
  }
15434
- // Select2 should close dropdown and receive focus, when user press Tab while searching (UX requirement to support better keyboard navigation)
15435
- if (event.key === 'Tab') {
15436
- setOpen(false);
15437
- onTabKeyPress();
15438
- }
15439
15463
  if (isAriaSelectionKey(event) || event.key === 'ArrowDown' || event.key === 'ArrowUp') {
15440
15464
  var _listboxRef$current;
15441
15465
  event.preventDefault();
@@ -15450,7 +15474,7 @@ const Search$2 = /*#__PURE__*/React__default.forwardRef(function ListboxSearch(p
15450
15474
  }),
15451
15475
  invalid: !!validationError,
15452
15476
  message: validationError === null || validationError === void 0 ? void 0 : validationError.message
15453
- }, /*#__PURE__*/React__default.createElement(Input, Object.assign({}, otherProps, {
15477
+ }, /*#__PURE__*/React__default.createElement(Input, Object.assign({}, props, {
15454
15478
  autoFocus: true,
15455
15479
  invalid: !!validationError,
15456
15480
  onChange: handleChange,
@@ -15513,20 +15537,19 @@ const useChildren = ({
15513
15537
  };
15514
15538
 
15515
15539
  const getNextColor = options => {
15516
- const occurrences = AVAILABLE_COLORS.reduce((prev, color) => {
15517
- if (color !== 'transparent') {
15518
- return {
15519
- ...prev,
15520
- [color]: 0
15521
- };
15522
- }
15523
- return prev;
15524
- }, {});
15525
- options.forEach(option => {
15540
+ let occurrences = {};
15541
+ AVAILABLE_COLORS.filter(color => color !== 'transparent').forEach(color => {
15542
+ occurrences = {
15543
+ ...occurrences,
15544
+ [color]: 0
15545
+ };
15546
+ });
15547
+ options.reduce((occurrences, option) => {
15526
15548
  if (option.props.color) {
15527
15549
  occurrences[option.props.color] = occurrences[option.props.color] ? occurrences[option.props.color] + 1 : 1;
15528
15550
  }
15529
- });
15551
+ return occurrences;
15552
+ }, occurrences);
15530
15553
  const colors = Object.keys(occurrences);
15531
15554
  if (colors.length) {
15532
15555
  return colors.sort((a, b) => occurrences[a] - occurrences[b])[0];
@@ -15674,7 +15697,6 @@ const Select2 = /*#__PURE__*/React__default.forwardRef(function Select2(props, r
15674
15697
  // align the listbox min width with the width of the input - it should never be smaller
15675
15698
  const dimensions = useBoundingClientRectListener(internalRef);
15676
15699
  // state
15677
- const [tabTriggeredClose, setTabTriggeredClose] = React__default.useState(false);
15678
15700
  const [open, setOpen] = React__default.useState(false);
15679
15701
  const [value, _setValue] = reactUseControllableState.useControllableState({
15680
15702
  // uncontrolled
@@ -15762,46 +15784,32 @@ const Select2 = /*#__PURE__*/React__default.forwardRef(function Select2(props, r
15762
15784
  // the focus should always remain on the input, so we forward events on to the listbox
15763
15785
  (_listboxRef$current = listboxRef.current) === null || _listboxRef$current === void 0 ? void 0 : _listboxRef$current.dispatchEvent(createCustomKeyboardEvent(event));
15764
15786
  };
15765
- let handleBlur;
15766
- if (otherProps.onBlur) {
15767
- // we might be focusing on an input or something inside the dropdown that was triggered by the select
15768
- // so see if the element gaining focus is inside a portal and look up its controller
15769
- // if we don't do this, things like validate on blur occur while simply opening the select
15770
- handleBlur = event => {
15771
- var _elementGainingFocus$;
15772
- const elementGainingFocus = event.relatedTarget;
15773
- if (elementGainingFocus === undefined) {
15774
- return;
15775
- }
15776
- const portalId = elementGainingFocus === null || elementGainingFocus === void 0 ? void 0 : (_elementGainingFocus$ = elementGainingFocus.closest('[data-radix-popper-content-wrapper] > :first-child')) === null || _elementGainingFocus$ === void 0 ? void 0 : _elementGainingFocus$.id;
15777
- if (!portalId || event.currentTarget.getAttribute(`aria-controls`) !== portalId) {
15778
- var _otherProps$onBlur;
15779
- (_otherProps$onBlur = otherProps.onBlur) === null || _otherProps$onBlur === void 0 ? void 0 : _otherProps$onBlur.call(otherProps, event);
15780
- }
15781
- };
15782
- }
15787
+ const shouldFocusNextRef = React__default.useRef(false);
15783
15788
  const handleListboxKeyDown = event => {
15784
15789
  if (isAriaDirectionKey(event)) {
15785
15790
  setShouldPauseHoverState(true);
15791
+ return;
15792
+ }
15793
+ if (event.key === 'Tab') {
15794
+ shouldFocusNextRef.current = true;
15795
+ setOpen(false);
15796
+ return;
15786
15797
  }
15798
+ // support typeahead to set the value by typing its text
15787
15799
  if (!hasSearch && /^[a-z0-9]$/i.test(event.key)) {
15788
15800
  setValueIfMatched(event.key);
15801
+ return;
15789
15802
  }
15790
15803
  };
15804
+ // popover closes and unmounts before any event can be used to focus next, so prevent focusing the trigger and focus next
15791
15805
  const handleCloseAutoFocus = event => {
15792
- event.preventDefault();
15793
- event.stopPropagation();
15794
- if (tabTriggeredClose) {
15795
- const nextFocussableElement = getNextFocussableElement(internalRef.current);
15796
- if (nextFocussableElement) {
15797
- // UX requirement: move focus to the next focussable element when tab key is pressed to select the value
15798
- nextFocussableElement.focus();
15799
- // Reset the tabTriggeredClose state
15800
- setTabTriggeredClose(false);
15801
- }
15802
- } else {
15803
- var _internalRef$current;
15804
- (_internalRef$current = internalRef.current) === null || _internalRef$current === void 0 ? void 0 : _internalRef$current.focus();
15806
+ if (shouldFocusNextRef.current) {
15807
+ var _otherProps$onBlur, _getNextFocussableEle;
15808
+ event.preventDefault();
15809
+ shouldFocusNextRef.current = false;
15810
+ (_otherProps$onBlur = otherProps.onBlur) === null || _otherProps$onBlur === void 0 ? void 0 : _otherProps$onBlur.call(otherProps, event);
15811
+ (_getNextFocussableEle = getNextFocussableElement(internalRef.current)) === null || _getNextFocussableEle === void 0 ? void 0 : _getNextFocussableEle.focus();
15812
+ return;
15805
15813
  }
15806
15814
  };
15807
15815
  const areAllSelected = Array.isArray(value) && selectOptions.every(option => value.includes(option));
@@ -15850,18 +15858,14 @@ const Select2 = /*#__PURE__*/React__default.forwardRef(function Select2(props, r
15850
15858
  }, /*#__PURE__*/React__default.createElement(Trigger$7, Object.assign({}, otherProps, {
15851
15859
  "aria-haspopup": "listbox",
15852
15860
  emptyValue: emptyValue,
15853
- onBlur: handleBlur,
15854
15861
  onKeyDown: handleKeyDown,
15855
15862
  placeholder: placeholder,
15856
15863
  ref: internalRef
15857
15864
  }), flattenedChildren)), /*#__PURE__*/React__default.createElement(PopoverPrimitive.Portal, null, /*#__PURE__*/React__default.createElement(PopoverPrimitive.Content, {
15858
15865
  asChild: true,
15859
15866
  align: "start",
15860
- onOpenAutoFocus: () => {
15861
- var _internalRef$current2;
15862
- (_internalRef$current2 = internalRef.current) === null || _internalRef$current2 === void 0 ? void 0 : _internalRef$current2.focus();
15863
- },
15864
15867
  onCloseAutoFocus: handleCloseAutoFocus,
15868
+ onPointerDownOutside: otherProps.onBlur,
15865
15869
  sideOffset: 4,
15866
15870
  tabIndex: -1
15867
15871
  }, /*#__PURE__*/React__default.createElement("div", {
@@ -15871,8 +15875,7 @@ const Select2 = /*#__PURE__*/React__default.forwardRef(function Select2(props, r
15871
15875
  }
15872
15876
  }, hasSearch ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Search$2, {
15873
15877
  placeholder: hasInlineCreation ? texts.select2.searchOrCreate : texts.select2.search,
15874
- ref: searchRef,
15875
- onTabKeyPress: () => setTabTriggeredClose(true)
15878
+ ref: searchRef
15876
15879
  }), multiple && selectOptions.length > 1 && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Button$1, {
15877
15880
  className: "!justify-start",
15878
15881
  appearance: "discrete",
@@ -15942,6 +15945,7 @@ const ControlledHiddenField = props => {
15942
15945
  key: String(bubbleValue),
15943
15946
  multiple: multiple,
15944
15947
  name: name,
15948
+ tabIndex: -1,
15945
15949
  value: bubbleValue
15946
15950
  }, emptyValue !== undefined ? /*#__PURE__*/React__default.createElement("option", {
15947
15951
  value: emptyValue
@@ -16390,10 +16394,9 @@ function Control(props) {
16390
16394
  } = props;
16391
16395
  const controlRenderer = column === null || column === void 0 ? void 0 : (_column$columnDef$met2 = column.columnDef.meta) === null || _column$columnDef$met2 === void 0 ? void 0 : _column$columnDef$met2.control;
16392
16396
  const dataType = column === null || column === void 0 ? void 0 : (_column$columnDef$met3 = column.columnDef.meta) === null || _column$columnDef$met3 === void 0 ? void 0 : _column$columnDef$met3.dataType;
16393
- const ref = React__default.useRef(null);
16394
16397
  React.useEffect(() => {
16395
16398
  // Set value to false only after first render of the control (when it's undefined) after setting the FilterColumn value, because we don't want to change then the value every time filter is opened
16396
- if (controlRenderer === 'switch' && value === undefined) {
16399
+ if ((controlRenderer === 'switch' || controlRenderer === 'checkbox') && value === undefined) {
16397
16400
  onChange(false);
16398
16401
  }
16399
16402
  }, [controlRenderer]);
@@ -16401,8 +16404,7 @@ function Control(props) {
16401
16404
  return /*#__PURE__*/React__default.cloneElement(controlRenderer({
16402
16405
  ...attributes,
16403
16406
  setValue: value => onChange(value),
16404
- value,
16405
- ref
16407
+ value
16406
16408
  }), {
16407
16409
  ['data-query-selector']: querySelector,
16408
16410
  className: 'focus:yt-focus'
@@ -16418,6 +16420,12 @@ function Control(props) {
16418
16420
  checked: Boolean(value),
16419
16421
  onChange: onChange
16420
16422
  }));
16423
+ } else if (controlRenderer === 'checkbox') {
16424
+ return /*#__PURE__*/React__default.createElement(Checkbox, Object.assign({}, attributes, {
16425
+ className: "!m-1.5",
16426
+ checked: Boolean(value),
16427
+ onChange: onChange
16428
+ }));
16421
16429
  } else if ((controlRenderer === 'input' || controlRenderer === undefined) && dataType === 'number') {
16422
16430
  return /*#__PURE__*/React__default.createElement(Input, Object.assign({}, attributes, {
16423
16431
  className: "flex-grow",
@@ -18437,7 +18445,7 @@ function willRowMoveAfterSorting(cell, change, rowIndex) {
18437
18445
  if (rowIndex < rows.length - 1) {
18438
18446
  miniSortRows.push(rows[rowIndex + 1]);
18439
18447
  }
18440
- const sortRows = (rowA, rowB) => {
18448
+ const resortedRows = [...miniSortRows].sort((rowA, rowB) => {
18441
18449
  const sortFn = cell.column.getSortingFn();
18442
18450
  const sortUndefined = cell.column.columnDef.sortUndefined;
18443
18451
  if (!table.options.manualSorting && sortUndefined) {
@@ -18452,8 +18460,7 @@ function willRowMoveAfterSorting(cell, change, rowIndex) {
18452
18460
  }
18453
18461
  }
18454
18462
  return sortFn(rowA, rowB, cell.column.id);
18455
- };
18456
- const resortedRows = [...miniSortRows].sort(sortRows);
18463
+ });
18457
18464
  if (cell.column.getIsSorted() === 'desc') {
18458
18465
  resortedRows.reverse();
18459
18466
  }
@@ -19234,6 +19241,13 @@ const MemoedEditingCell = /*#__PURE__*/React__default.memo(function MemoedEditin
19234
19241
  ref: controlRef
19235
19242
  }));
19236
19243
  }
19244
+ if (type === 'checkbox') {
19245
+ return /*#__PURE__*/React__default.createElement(Checkbox, Object.assign({}, commonProps, {
19246
+ checked: Boolean(value),
19247
+ onChange: onChange,
19248
+ ref: controlRef
19249
+ }));
19250
+ }
19237
19251
  const handleInputKeyDown = event => {
19238
19252
  const target = event.target;
19239
19253
  if (target.readOnly) {
@@ -19278,6 +19292,10 @@ const MemoedEditingCell = /*#__PURE__*/React__default.memo(function MemoedEditin
19278
19292
  }
19279
19293
  return;
19280
19294
  }
19295
+ const shortcutWhitelist = ['f', 'p', 'e']; // f = search, p = print, and e = edit
19296
+ if (isPressingMetaKey(event) && !shortcutWhitelist.some(s => s === event.key)) {
19297
+ event.stopPropagation();
19298
+ }
19281
19299
  // toggle into detailed mode when actually inputting something
19282
19300
  if (!isPressingMetaKey(event) && (/^[a-z0-9]$/i.test(event.key) || event.key === 'Backspace')) {
19283
19301
  toggleDetailedMode(true);
@@ -19461,7 +19479,7 @@ function SaveStatus(props) {
19461
19479
  React__default.useEffect(() => {
19462
19480
  let timeout;
19463
19481
  if (status === 'complete') {
19464
- timeout = window.setTimeout(() => {
19482
+ timeout = setTimeout(() => {
19465
19483
  tableMeta.editing.setRowSaveStatus(rowId, undefined);
19466
19484
  }, COMPLETE_INDICATOR_DELAY);
19467
19485
  }
@@ -19505,10 +19523,7 @@ function Row$2(props) {
19505
19523
  const isActiveRow = tableMeta.rowActive.rowActiveIndex === index;
19506
19524
  React__default.useEffect(() => {
19507
19525
  if (tableMeta.editing.isEditing && isActiveRow && tableMeta.editing.lastFocusedCellIndex === undefined) {
19508
- const element = focusManager.focusFirst();
19509
- if (element) {
19510
- setDataFocusAttribute(element);
19511
- }
19526
+ setDataFocusAttribute(focusManager.focusFirst());
19512
19527
  }
19513
19528
  }, [tableMeta.editing.isEditing, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.lastFocusedCellIndex]);
19514
19529
  const handleFocus = React__default.useCallback(event => {
@@ -19987,7 +20002,7 @@ const Tooltip$1 = ({
19987
20002
  icon: "close",
19988
20003
  title: locale.skip,
19989
20004
  "aria-label": locale.skip,
19990
- className: "absolute right-0 top-0 mr-1 mt-1"
20005
+ className: "absolute top-0 right-0 mt-1 mr-1"
19991
20006
  })), step.title && /*#__PURE__*/React.createElement("h5", null, step.title), step.content, /*#__PURE__*/React.createElement(Group, {
19992
20007
  className: "mt-4 justify-end"
19993
20008
  }, index > 0 && (/*#__PURE__*/React.createElement(Button$1, Object.assign({}, backProps, {
@@ -20349,15 +20364,13 @@ const AgreementDisplay = props => {
20349
20364
  }));
20350
20365
  };
20351
20366
 
20352
- const Container$1 = ({
20353
- children
20354
- }) => {
20367
+ const Container$1 = props => {
20355
20368
  return /*#__PURE__*/React__default.createElement("div", {
20356
20369
  className: "-ml-2 flex flex-shrink-0 flex-grow-0 items-center gap-2 pr-2 xl:ml-auto xl:w-64",
20357
20370
  "data-taco": "header-agreements"
20358
20371
  }, /*#__PURE__*/React__default.createElement("span", {
20359
20372
  className: "hidden h-8 w-px flex-shrink-0 flex-grow-0 bg-white/[0.3] xl:flex"
20360
- }), children);
20373
+ }), props.children);
20361
20374
  };
20362
20375
  function AgreementSelector(props) {
20363
20376
  const {
@@ -20429,7 +20442,7 @@ function AgreementSelector(props) {
20429
20442
  }
20430
20443
  return button;
20431
20444
  })), handleAddAgreement ? (/*#__PURE__*/React__default.createElement(Button$1, {
20432
- className: "focus-visible:!yt-focus-dark mx-2 my-1 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",
20445
+ className: "focus-visible:!yt-focus-dark my-1 mx-2 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",
20433
20446
  onClick: handleAddAgreement
20434
20447
  }, texts.header.addAgreement)) : null, /*#__PURE__*/React__default.createElement("hr", {
20435
20448
  className: "my-0 h-px w-full bg-white/[0.08]"
@@ -20595,9 +20608,9 @@ const Top = props => {
20595
20608
  setSidebarOpen
20596
20609
  } = React__default.useContext(LayoutContext);
20597
20610
  const toggleSidebar = () => setSidebarOpen(open => !open);
20598
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof props.children === 'function' ? props.children({
20611
+ return typeof props.children === 'function' ? props.children({
20599
20612
  toggleSidebar
20600
- }) : props.children);
20613
+ }) : props.children;
20601
20614
  };
20602
20615
 
20603
20616
  const Page = /*#__PURE__*/React__default.forwardRef(function LayoutPage(props, ref) {