@economic/taco 0.0.27-alpha.0 → 0.0.27-alpha.1

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 (368) hide show
  1. package/README.md +84 -84
  2. package/dist/esm/components/Accordion/Accordion.js.map +1 -1
  3. package/dist/esm/components/Backdrop/Backdrop.js.map +1 -1
  4. package/dist/esm/components/Badge/Badge.js.map +1 -1
  5. package/dist/esm/components/Banner/Banner.js.map +1 -1
  6. package/dist/esm/components/Banner/util.js +1 -1
  7. package/dist/esm/components/Banner/util.js.map +1 -1
  8. package/dist/esm/components/Button/Button.js.map +1 -1
  9. package/dist/esm/components/Button/util.js +18 -23
  10. package/dist/esm/components/Button/util.js.map +1 -1
  11. package/dist/esm/components/Calendar/Calendar.js.map +1 -1
  12. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  13. package/dist/esm/components/Combobox/Combobox.js.map +1 -1
  14. package/dist/esm/components/Combobox/useCombobox.js +67 -87
  15. package/dist/esm/components/Combobox/useCombobox.js.map +1 -1
  16. package/dist/esm/components/Datepicker/Datepicker.js.map +1 -1
  17. package/dist/esm/components/Datepicker/useDatepicker.js +27 -34
  18. package/dist/esm/components/Datepicker/useDatepicker.js.map +1 -1
  19. package/dist/esm/components/Dialog/Context.js +4 -4
  20. package/dist/esm/components/Dialog/Context.js.map +1 -1
  21. package/dist/esm/components/Dialog/Dialog.js.map +1 -1
  22. package/dist/esm/components/Dialog/components/Content.js +39 -44
  23. package/dist/esm/components/Dialog/components/Content.js.map +1 -1
  24. package/dist/esm/components/Dialog/components/Drawer.js +3 -3
  25. package/dist/esm/components/Dialog/components/Drawer.js.map +1 -1
  26. package/dist/esm/components/Dialog/components/Extra.js +2 -2
  27. package/dist/esm/components/Dialog/components/Extra.js.map +1 -1
  28. package/dist/esm/components/Dialog/components/Trigger.js +2 -2
  29. package/dist/esm/components/Dialog/components/Trigger.js.map +1 -1
  30. package/dist/esm/components/Field/Field.js.map +1 -1
  31. package/dist/esm/components/Form/Form.js.map +1 -1
  32. package/dist/esm/components/Group/Group.js.map +1 -1
  33. package/dist/esm/components/Hanger/Hanger.js +14 -3
  34. package/dist/esm/components/Hanger/Hanger.js.map +1 -1
  35. package/dist/esm/components/Icon/Icon.js.map +1 -1
  36. package/dist/esm/components/Icon/components/AccountPreview.js.map +1 -1
  37. package/dist/esm/components/Icon/components/Accounting.js.map +1 -1
  38. package/dist/esm/components/Icon/components/AccountingYear.js.map +1 -1
  39. package/dist/esm/components/Icon/components/AccountingYearCancel.js.map +1 -1
  40. package/dist/esm/components/Icon/components/ArrowBottom.js.map +1 -1
  41. package/dist/esm/components/Icon/components/ArrowDown.js.map +1 -1
  42. package/dist/esm/components/Icon/components/ArrowEnd.js.map +1 -1
  43. package/dist/esm/components/Icon/components/ArrowLeft.js.map +1 -1
  44. package/dist/esm/components/Icon/components/ArrowRight.js.map +1 -1
  45. package/dist/esm/components/Icon/components/ArrowStart.js.map +1 -1
  46. package/dist/esm/components/Icon/components/ArrowTop.js.map +1 -1
  47. package/dist/esm/components/Icon/components/ArrowUp.js.map +1 -1
  48. package/dist/esm/components/Icon/components/Attach.js.map +1 -1
  49. package/dist/esm/components/Icon/components/AttachAuto.js.map +1 -1
  50. package/dist/esm/components/Icon/components/AttachCancel.js.map +1 -1
  51. package/dist/esm/components/Icon/components/Autotext.js.map +1 -1
  52. package/dist/esm/components/Icon/components/AutotextInsert.js.map +1 -1
  53. package/dist/esm/components/Icon/components/Basic.js.map +1 -1
  54. package/dist/esm/components/Icon/components/BasicTabs.js.map +1 -1
  55. package/dist/esm/components/Icon/components/BellSolid.js.map +1 -1
  56. package/dist/esm/components/Icon/components/Book.js.map +1 -1
  57. package/dist/esm/components/Icon/components/Booking.js.map +1 -1
  58. package/dist/esm/components/Icon/components/Budget.js.map +1 -1
  59. package/dist/esm/components/Icon/components/Calendar.js.map +1 -1
  60. package/dist/esm/components/Icon/components/CashAccount.js.map +1 -1
  61. package/dist/esm/components/Icon/components/CashReports.js.map +1 -1
  62. package/dist/esm/components/Icon/components/Chat.js.map +1 -1
  63. package/dist/esm/components/Icon/components/ChatSolid.js.map +1 -1
  64. package/dist/esm/components/Icon/components/ChevronDown.js.map +1 -1
  65. package/dist/esm/components/Icon/components/ChevronDownDouble.js.map +1 -1
  66. package/dist/esm/components/Icon/components/ChevronDownSolid.js.map +1 -1
  67. package/dist/esm/components/Icon/components/ChevronLeft.js.map +1 -1
  68. package/dist/esm/components/Icon/components/ChevronLeftDouble.js.map +1 -1
  69. package/dist/esm/components/Icon/components/ChevronRight.js.map +1 -1
  70. package/dist/esm/components/Icon/components/ChevronRightDouble.js.map +1 -1
  71. package/dist/esm/components/Icon/components/ChevronUp.js.map +1 -1
  72. package/dist/esm/components/Icon/components/ChevronUpDouble.js.map +1 -1
  73. package/dist/esm/components/Icon/components/ChevronUpSolid.js.map +1 -1
  74. package/dist/esm/components/Icon/components/Clamp.js.map +1 -1
  75. package/dist/esm/components/Icon/components/ClampOpen.js.map +1 -1
  76. package/dist/esm/components/Icon/components/Close.js.map +1 -1
  77. package/dist/esm/components/Icon/components/ConnectionEnable.js.map +1 -1
  78. package/dist/esm/components/Icon/components/ConnectionRevoke.js.map +1 -1
  79. package/dist/esm/components/Icon/components/Contacts.js.map +1 -1
  80. package/dist/esm/components/Icon/components/Copy.js.map +1 -1
  81. package/dist/esm/components/Icon/components/Courses.js.map +1 -1
  82. package/dist/esm/components/Icon/components/Credit.js.map +1 -1
  83. package/dist/esm/components/Icon/components/Delete.js.map +1 -1
  84. package/dist/esm/components/Icon/components/DeletePermanently.js.map +1 -1
  85. package/dist/esm/components/Icon/components/Depecriate.js.map +1 -1
  86. package/dist/esm/components/Icon/components/Developer.js.map +1 -1
  87. package/dist/esm/components/Icon/components/DistributionTemplate.js.map +1 -1
  88. package/dist/esm/components/Icon/components/Document.js.map +1 -1
  89. package/dist/esm/components/Icon/components/DocumentApprove.js.map +1 -1
  90. package/dist/esm/components/Icon/components/DocumentCreateEntry.js.map +1 -1
  91. package/dist/esm/components/Icon/components/DocumentCut.js.map +1 -1
  92. package/dist/esm/components/Icon/components/DocumentError.js.map +1 -1
  93. package/dist/esm/components/Icon/components/DocumentIsolatePage.js.map +1 -1
  94. package/dist/esm/components/Icon/components/DocumentMerge.js.map +1 -1
  95. package/dist/esm/components/Icon/components/DocumentMove.js.map +1 -1
  96. package/dist/esm/components/Icon/components/DocumentPreview.js.map +1 -1
  97. package/dist/esm/components/Icon/components/DocumentReceived.js.map +1 -1
  98. package/dist/esm/components/Icon/components/DocumentRejectedRequest.js.map +1 -1
  99. package/dist/esm/components/Icon/components/DocumentSplit.js.map +1 -1
  100. package/dist/esm/components/Icon/components/DocumentTime.js.map +1 -1
  101. package/dist/esm/components/Icon/components/Download.js.map +1 -1
  102. package/dist/esm/components/Icon/components/Drag.js.map +1 -1
  103. package/dist/esm/components/Icon/components/ECopedia.js.map +1 -1
  104. package/dist/esm/components/Icon/components/ESignature.js.map +1 -1
  105. package/dist/esm/components/Icon/components/Edit.js.map +1 -1
  106. package/dist/esm/components/Icon/components/EllipsisHorizontal.js.map +1 -1
  107. package/dist/esm/components/Icon/components/EllipsisVertical.js.map +1 -1
  108. package/dist/esm/components/Icon/components/EntriesOnAccount.js.map +1 -1
  109. package/dist/esm/components/Icon/components/EntriesOpen.js.map +1 -1
  110. package/dist/esm/components/Icon/components/EntriesWarning.js.map +1 -1
  111. package/dist/esm/components/Icon/components/EntryTypeCustomerInvoice.js.map +1 -1
  112. package/dist/esm/components/Icon/components/EntryTypeCustomerPayment.js.map +1 -1
  113. package/dist/esm/components/Icon/components/EntryTypeJournalEntry.js.map +1 -1
  114. package/dist/esm/components/Icon/components/EntryTypeManualCustomerInvoice.js.map +1 -1
  115. package/dist/esm/components/Icon/components/EntryTypeSupplierInvoice.js.map +1 -1
  116. package/dist/esm/components/Icon/components/EntryTypeSupplierPayment.js.map +1 -1
  117. package/dist/esm/components/Icon/components/Envelope.js.map +1 -1
  118. package/dist/esm/components/Icon/components/EnvelopeApproved.js.map +1 -1
  119. package/dist/esm/components/Icon/components/ExpandView.js.map +1 -1
  120. package/dist/esm/components/Icon/components/Expenses.js.map +1 -1
  121. package/dist/esm/components/Icon/components/Export.js.map +1 -1
  122. package/dist/esm/components/Icon/components/ExportToExcel.js.map +1 -1
  123. package/dist/esm/components/Icon/components/ExportToPdf.js.map +1 -1
  124. package/dist/esm/components/Icon/components/Filter.js.map +1 -1
  125. package/dist/esm/components/Icon/components/FilterSolid.js.map +1 -1
  126. package/dist/esm/components/Icon/components/GraphSolid.js.map +1 -1
  127. package/dist/esm/components/Icon/components/Hash.js.map +1 -1
  128. package/dist/esm/components/Icon/components/Home.js.map +1 -1
  129. package/dist/esm/components/Icon/components/Images.js.map +1 -1
  130. package/dist/esm/components/Icon/components/Import.js.map +1 -1
  131. package/dist/esm/components/Icon/components/Inbox.js.map +1 -1
  132. package/dist/esm/components/Icon/components/InboxEinvoicing.js.map +1 -1
  133. package/dist/esm/components/Icon/components/InboxScanning.js.map +1 -1
  134. package/dist/esm/components/Icon/components/InboxSmart.js.map +1 -1
  135. package/dist/esm/components/Icon/components/Info.js.map +1 -1
  136. package/dist/esm/components/Icon/components/Inventory.js.map +1 -1
  137. package/dist/esm/components/Icon/components/InventoryMatrix.js.map +1 -1
  138. package/dist/esm/components/Icon/components/JournalPro.js.map +1 -1
  139. package/dist/esm/components/Icon/components/Layout.js.map +1 -1
  140. package/dist/esm/components/Icon/components/LayoutBoth.js.map +1 -1
  141. package/dist/esm/components/Icon/components/LayoutFirst.js.map +1 -1
  142. package/dist/esm/components/Icon/components/LayoutLast.js.map +1 -1
  143. package/dist/esm/components/Icon/components/LayoutNone.js.map +1 -1
  144. package/dist/esm/components/Icon/components/LedgerCard.js.map +1 -1
  145. package/dist/esm/components/Icon/components/LedgerCardCustomerReminder.js.map +1 -1
  146. package/dist/esm/components/Icon/components/LedgerCardManualCustomerInvoice.js.map +1 -1
  147. package/dist/esm/components/Icon/components/LedgerCardObsoleteStock.js.map +1 -1
  148. package/dist/esm/components/Icon/components/LedgerCardOpeningEntry.js.map +1 -1
  149. package/dist/esm/components/Icon/components/LedgerCardReservedEntry.js.map +1 -1
  150. package/dist/esm/components/Icon/components/LedgerCardShrinkagePilferage.js.map +1 -1
  151. package/dist/esm/components/Icon/components/LedgerCardStockAdjustment.js.map +1 -1
  152. package/dist/esm/components/Icon/components/LedgerCardTransferredOpeningEntry.js.map +1 -1
  153. package/dist/esm/components/Icon/components/Lightbulb.js.map +1 -1
  154. package/dist/esm/components/Icon/components/Line.js.map +1 -1
  155. package/dist/esm/components/Icon/components/List.js.map +1 -1
  156. package/dist/esm/components/Icon/components/ListBulleted.js.map +1 -1
  157. package/dist/esm/components/Icon/components/ListSearch.js.map +1 -1
  158. package/dist/esm/components/Icon/components/LockOpen.js.map +1 -1
  159. package/dist/esm/components/Icon/components/Log.js.map +1 -1
  160. package/dist/esm/components/Icon/components/Market.js.map +1 -1
  161. package/dist/esm/components/Icon/components/MatchAmount.js.map +1 -1
  162. package/dist/esm/components/Icon/components/MatchEntries.js.map +1 -1
  163. package/dist/esm/components/Icon/components/Mileage.js.map +1 -1
  164. package/dist/esm/components/Icon/components/Minus.js.map +1 -1
  165. package/dist/esm/components/Icon/components/ModalResize.js.map +1 -1
  166. package/dist/esm/components/Icon/components/ModalShrink.js.map +1 -1
  167. package/dist/esm/components/Icon/components/More.js.map +1 -1
  168. package/dist/esm/components/Icon/components/MoreSolid.js.map +1 -1
  169. package/dist/esm/components/Icon/components/Move.js.map +1 -1
  170. package/dist/esm/components/Icon/components/NavigationList.js.map +1 -1
  171. package/dist/esm/components/Icon/components/Note.js.map +1 -1
  172. package/dist/esm/components/Icon/components/NoteFollowUp.js.map +1 -1
  173. package/dist/esm/components/Icon/components/NoteRead.js.map +1 -1
  174. package/dist/esm/components/Icon/components/PartnerApi.js.map +1 -1
  175. package/dist/esm/components/Icon/components/Period.js.map +1 -1
  176. package/dist/esm/components/Icon/components/PersonChange.js.map +1 -1
  177. package/dist/esm/components/Icon/components/PersonMinus.js.map +1 -1
  178. package/dist/esm/components/Icon/components/PersonPlus.js.map +1 -1
  179. package/dist/esm/components/Icon/components/PersonTick.js.map +1 -1
  180. package/dist/esm/components/Icon/components/Play.js.map +1 -1
  181. package/dist/esm/components/Icon/components/PlusCircle.js.map +1 -1
  182. package/dist/esm/components/Icon/components/PlusMinus.js.map +1 -1
  183. package/dist/esm/components/Icon/components/Print.js.map +1 -1
  184. package/dist/esm/components/Icon/components/ProcessPayment.js.map +1 -1
  185. package/dist/esm/components/Icon/components/ProductLedgerCard.js.map +1 -1
  186. package/dist/esm/components/Icon/components/ProjectCards.js.map +1 -1
  187. package/dist/esm/components/Icon/components/Projects.js.map +1 -1
  188. package/dist/esm/components/Icon/components/Quicklinks.js.map +1 -1
  189. package/dist/esm/components/Icon/components/RatingBankruptcy.js.map +1 -1
  190. package/dist/esm/components/Icon/components/RatingPaymentProblems.js.map +1 -1
  191. package/dist/esm/components/Icon/components/Reconciled.js.map +1 -1
  192. package/dist/esm/components/Icon/components/Refresh.js.map +1 -1
  193. package/dist/esm/components/Icon/components/Report.js.map +1 -1
  194. package/dist/esm/components/Icon/components/ReportSolid.js.map +1 -1
  195. package/dist/esm/components/Icon/components/Restore.js.map +1 -1
  196. package/dist/esm/components/Icon/components/RotateLeft.js.map +1 -1
  197. package/dist/esm/components/Icon/components/RotateRight.js.map +1 -1
  198. package/dist/esm/components/Icon/components/Sales.js.map +1 -1
  199. package/dist/esm/components/Icon/components/Search.js.map +1 -1
  200. package/dist/esm/components/Icon/components/SearchBold.js.map +1 -1
  201. package/dist/esm/components/Icon/components/Secure.js.map +1 -1
  202. package/dist/esm/components/Icon/components/SecureTick.js.map +1 -1
  203. package/dist/esm/components/Icon/components/Settings.js.map +1 -1
  204. package/dist/esm/components/Icon/components/SettingsSolid.js.map +1 -1
  205. package/dist/esm/components/Icon/components/Shortcuts.js.map +1 -1
  206. package/dist/esm/components/Icon/components/ShowAll.js.map +1 -1
  207. package/dist/esm/components/Icon/components/ShowLess.js.map +1 -1
  208. package/dist/esm/components/Icon/components/ShowMore.js.map +1 -1
  209. package/dist/esm/components/Icon/components/ShowTemplate.js.map +1 -1
  210. package/dist/esm/components/Icon/components/Sliders.js.map +1 -1
  211. package/dist/esm/components/Icon/components/Smartpay.js.map +1 -1
  212. package/dist/esm/components/Icon/components/SortBy.js.map +1 -1
  213. package/dist/esm/components/Icon/components/Spinner.js.map +1 -1
  214. package/dist/esm/components/Icon/components/Star.js.map +1 -1
  215. package/dist/esm/components/Icon/components/StarSolid.js.map +1 -1
  216. package/dist/esm/components/Icon/components/Subscriptions.js.map +1 -1
  217. package/dist/esm/components/Icon/components/SystemEntries.js.map +1 -1
  218. package/dist/esm/components/Icon/components/Tag.js.map +1 -1
  219. package/dist/esm/components/Icon/components/TemplateOverride.js.map +1 -1
  220. package/dist/esm/components/Icon/components/Templates.js.map +1 -1
  221. package/dist/esm/components/Icon/components/ThumbBoth.js.map +1 -1
  222. package/dist/esm/components/Icon/components/ThumbDown.js.map +1 -1
  223. package/dist/esm/components/Icon/components/ThumbDownSolid.js.map +1 -1
  224. package/dist/esm/components/Icon/components/ThumbUp.js.map +1 -1
  225. package/dist/esm/components/Icon/components/ThumbUpSolid.js.map +1 -1
  226. package/dist/esm/components/Icon/components/Tick.js.map +1 -1
  227. package/dist/esm/components/Icon/components/TickCircle.js.map +1 -1
  228. package/dist/esm/components/Icon/components/Time.js.map +1 -1
  229. package/dist/esm/components/Icon/components/Transfer.js.map +1 -1
  230. package/dist/esm/components/Icon/components/TransferCancel.js.map +1 -1
  231. package/dist/esm/components/Icon/components/TransferLocked.js.map +1 -1
  232. package/dist/esm/components/Icon/components/Undock.js.map +1 -1
  233. package/dist/esm/components/Icon/components/Unreconciled.js.map +1 -1
  234. package/dist/esm/components/Icon/components/Warning.js.map +1 -1
  235. package/dist/esm/components/Icon/components/Webshop.js.map +1 -1
  236. package/dist/esm/components/Icon/components/Website.js.map +1 -1
  237. package/dist/esm/components/Icon/components/Workflow.js.map +1 -1
  238. package/dist/esm/components/Icon/components/Zoom.js.map +1 -1
  239. package/dist/esm/components/Icon/components/index.js +4 -4
  240. package/dist/esm/components/Icon/components/index.js.map +1 -1
  241. package/dist/esm/components/IconButton/IconButton.js.map +1 -1
  242. package/dist/esm/components/Input/Input.js.map +1 -1
  243. package/dist/esm/components/Input/util.js +9 -8
  244. package/dist/esm/components/Input/util.js.map +1 -1
  245. package/dist/esm/components/Listbox/Listbox.js.map +1 -1
  246. package/dist/esm/components/Listbox/ScrollableList.js +63 -82
  247. package/dist/esm/components/Listbox/ScrollableList.js.map +1 -1
  248. package/dist/esm/components/Listbox/useListbox.js +49 -58
  249. package/dist/esm/components/Listbox/useListbox.js.map +1 -1
  250. package/dist/esm/components/Listbox/useMultiListbox.js +63 -91
  251. package/dist/esm/components/Listbox/useMultiListbox.js.map +1 -1
  252. package/dist/esm/components/Listbox/useTypeahead.js +10 -9
  253. package/dist/esm/components/Listbox/useTypeahead.js.map +1 -1
  254. package/dist/esm/components/Listbox/util.js +48 -84
  255. package/dist/esm/components/Listbox/util.js.map +1 -1
  256. package/dist/esm/components/Menu/Context.js +2 -2
  257. package/dist/esm/components/Menu/Context.js.map +1 -1
  258. package/dist/esm/components/Menu/Menu.js.map +1 -1
  259. package/dist/esm/components/Menu/components/Checkbox.js +8 -9
  260. package/dist/esm/components/Menu/components/Checkbox.js.map +1 -1
  261. package/dist/esm/components/Menu/components/Content.js +10 -13
  262. package/dist/esm/components/Menu/components/Content.js.map +1 -1
  263. package/dist/esm/components/Menu/components/Header.js +4 -4
  264. package/dist/esm/components/Menu/components/Header.js.map +1 -1
  265. package/dist/esm/components/Menu/components/Item.js +34 -35
  266. package/dist/esm/components/Menu/components/Item.js.map +1 -1
  267. package/dist/esm/components/Menu/components/Link.js +10 -11
  268. package/dist/esm/components/Menu/components/Link.js.map +1 -1
  269. package/dist/esm/components/Menu/components/RadioGroup.js +16 -18
  270. package/dist/esm/components/Menu/components/RadioGroup.js.map +1 -1
  271. package/dist/esm/components/Menu/components/Separator.js +4 -4
  272. package/dist/esm/components/Menu/components/Separator.js.map +1 -1
  273. package/dist/esm/components/Menu/components/Trigger.js +5 -5
  274. package/dist/esm/components/Menu/components/Trigger.js.map +1 -1
  275. package/dist/esm/components/Navigation/Navigation.js.map +1 -1
  276. package/dist/esm/components/Pagination/PageNumbers.js +23 -28
  277. package/dist/esm/components/Pagination/PageNumbers.js.map +1 -1
  278. package/dist/esm/components/Pagination/Pagination.js.map +1 -1
  279. package/dist/esm/components/Pagination/usePagination.js +7 -21
  280. package/dist/esm/components/Pagination/usePagination.js.map +1 -1
  281. package/dist/esm/components/Pagination/usePaginationShortcuts.js +9 -9
  282. package/dist/esm/components/Pagination/usePaginationShortcuts.js.map +1 -1
  283. package/dist/esm/components/Popover/Popover.js.map +1 -1
  284. package/dist/esm/components/Popover/Primitives.js +7 -8
  285. package/dist/esm/components/Popover/Primitives.js.map +1 -1
  286. package/dist/esm/components/Progress/Progress.js.map +1 -1
  287. package/dist/esm/components/Provider/Provider.js.map +1 -1
  288. package/dist/esm/components/RadioGroup/RadioGroup.js.map +1 -1
  289. package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
  290. package/dist/esm/components/Select/Select.js.map +1 -1
  291. package/dist/esm/components/Select/useSelect.js +63 -82
  292. package/dist/esm/components/Select/useSelect.js.map +1 -1
  293. package/dist/esm/components/Spinner/Spinner.js.map +1 -1
  294. package/dist/esm/components/Switch/Switch.js.map +1 -1
  295. package/dist/esm/components/Table/components/BaseTable.js +23 -30
  296. package/dist/esm/components/Table/components/BaseTable.js.map +1 -1
  297. package/dist/esm/components/Table/components/PaginatedTable.js +3 -7
  298. package/dist/esm/components/Table/components/PaginatedTable.js.map +1 -1
  299. package/dist/esm/components/Table/components/Table.js +18 -25
  300. package/dist/esm/components/Table/components/Table.js.map +1 -1
  301. package/dist/esm/components/Table/components/WindowedTable.js +88 -104
  302. package/dist/esm/components/Table/components/WindowedTable.js.map +1 -1
  303. package/dist/esm/components/Table/hooks/plugins/useRowActions.js +122 -146
  304. package/dist/esm/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  305. package/dist/esm/components/Table/hooks/plugins/useRowDraggable.js +57 -61
  306. package/dist/esm/components/Table/hooks/plugins/useRowDraggable.js.map +1 -1
  307. package/dist/esm/components/Table/hooks/plugins/useRowEditing.js +39 -36
  308. package/dist/esm/components/Table/hooks/plugins/useRowEditing.js.map +1 -1
  309. package/dist/esm/components/Table/hooks/plugins/useRowSelect.js +80 -90
  310. package/dist/esm/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
  311. package/dist/esm/components/Table/hooks/useRowCreation.js +29 -64
  312. package/dist/esm/components/Table/hooks/useRowCreation.js.map +1 -1
  313. package/dist/esm/components/Table/hooks/useTable.js +119 -141
  314. package/dist/esm/components/Table/hooks/useTable.js.map +1 -1
  315. package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js +12 -15
  316. package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
  317. package/dist/esm/components/Table/util/renderColumn.js +10 -10
  318. package/dist/esm/components/Table/util/renderColumn.js.map +1 -1
  319. package/dist/esm/components/Table/util/renderRow.js +37 -46
  320. package/dist/esm/components/Table/util/renderRow.js.map +1 -1
  321. package/dist/esm/components/Table/util/rowIndexPath.js +14 -16
  322. package/dist/esm/components/Table/util/rowIndexPath.js.map +1 -1
  323. package/dist/esm/components/Table/util/sortTypes.js +23 -31
  324. package/dist/esm/components/Table/util/sortTypes.js.map +1 -1
  325. package/dist/esm/components/Table/util.js +29 -41
  326. package/dist/esm/components/Table/util.js.map +1 -1
  327. package/dist/esm/components/Tabs/Tabs.js.map +1 -1
  328. package/dist/esm/components/Textarea/Textarea.js.map +1 -1
  329. package/dist/esm/components/Toast/Toast.js +20 -21
  330. package/dist/esm/components/Toast/Toast.js.map +1 -1
  331. package/dist/esm/components/Toast/Toaster.js.map +1 -1
  332. package/dist/esm/components/Toast/util.js +2 -2
  333. package/dist/esm/components/Toast/util.js.map +1 -1
  334. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  335. package/dist/esm/components/Tour/Tour.js.map +1 -1
  336. package/dist/esm/components/Treeview/Treeview.js.map +1 -1
  337. package/dist/esm/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
  338. package/dist/esm/index.css +643 -642
  339. package/dist/esm/index.js +1 -1
  340. package/dist/esm/primitives/Button.js +9 -13
  341. package/dist/esm/primitives/Button.js.map +1 -1
  342. package/dist/esm/utils/date.js.map +1 -1
  343. package/dist/esm/utils/hooks/useBoundingClientRectListener.js.map +1 -1
  344. package/dist/esm/utils/hooks/useDraggable.js +16 -18
  345. package/dist/esm/utils/hooks/useDraggable.js.map +1 -1
  346. package/dist/esm/utils/hooks/useDropTarget.js +7 -10
  347. package/dist/esm/utils/hooks/useDropTarget.js.map +1 -1
  348. package/dist/esm/utils/hooks/useListKeyboardNavigation.js.map +1 -1
  349. package/dist/esm/utils/hooks/useListScrollTo.js.map +1 -1
  350. package/dist/esm/utils/hooks/useOnClickOutside.js.map +1 -1
  351. package/dist/esm/utils/hooks/useProxiedRef.js +3 -3
  352. package/dist/esm/utils/hooks/useProxiedRef.js.map +1 -1
  353. package/dist/esm/utils/hooks/useTimer.js +9 -17
  354. package/dist/esm/utils/hooks/useTimer.js.map +1 -1
  355. package/dist/esm/utils/input.js +7 -11
  356. package/dist/esm/utils/input.js.map +1 -1
  357. package/dist/esm/utils/mergeRefs.js +2 -2
  358. package/dist/esm/utils/mergeRefs.js.map +1 -1
  359. package/dist/esm/utils/taillwind.js +2 -2
  360. package/dist/esm/utils/taillwind.js.map +1 -1
  361. package/dist/index.css +643 -642
  362. package/dist/taco.cjs.development.js +1507 -1824
  363. package/dist/taco.cjs.development.js.map +1 -1
  364. package/dist/taco.cjs.production.min.js +1 -1
  365. package/dist/taco.cjs.production.min.js.map +1 -1
  366. package/package.json +31 -31
  367. package/plugins/tailwindcss-aria-attributes.js +73 -73
  368. package/tailwind.config.js +297 -297
package/dist/index.css CHANGED
@@ -1,642 +1,643 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @layer base {
6
- *,
7
- *::before,
8
- *::after {
9
- box-sizing: border-box;
10
- }
11
-
12
- html {
13
- @apply font-display h-screen;
14
- -moz-osx-font-smoothing: grayscale;
15
- -webkit-font-smoothing: antialiased;
16
- }
17
-
18
- body {
19
- @apply h-screen bg-white text-sm leading-relaxed text-black;
20
- }
21
-
22
- blockquote,
23
- dl,
24
- dd,
25
- hr,
26
- figure,
27
- p,
28
- pre,
29
- ol,
30
- ul,
31
- h1,
32
- h2,
33
- h3,
34
- h4,
35
- h5,
36
- h6 {
37
- max-width: 100ch;
38
- }
39
-
40
- blockquote,
41
- dl,
42
- dd,
43
- hr,
44
- figure,
45
- p,
46
- pre,
47
- ol,
48
- ul {
49
- @apply mb-10;
50
- }
51
-
52
- ol ol,
53
- ul ul,
54
- ol ul,
55
- ul ol {
56
- @apply mb-0;
57
- }
58
-
59
- ul.list-disc,
60
- ul.list-decimal,
61
- ul.list-circle,
62
- ol.list-disc,
63
- ol.list-decimal,
64
- ol.list-circle {
65
- @apply pl-4;
66
- }
67
-
68
- dt {
69
- @apply font-bold;
70
- }
71
-
72
- blockquote {
73
- @apply pl-8;
74
- }
75
-
76
- hr {
77
- @apply bg-grey-light my-5 flex h-px border-none;
78
- }
79
-
80
- h1,
81
- h2,
82
- h3,
83
- h4,
84
- h5,
85
- h6 {
86
- @apply font-normal;
87
- }
88
-
89
- h1 {
90
- @apply mb-6 text-3xl;
91
- }
92
-
93
- h2 {
94
- @apply mb-2 text-2xl;
95
- }
96
-
97
- h3 {
98
- @apply mb-2 text-xl;
99
- }
100
-
101
- h4 {
102
- @apply mb-1 text-base font-bold;
103
- }
104
-
105
- h5,
106
- h6 {
107
- @apply mb-1 font-bold;
108
- }
109
-
110
- b,
111
- strong {
112
- @apply font-bold;
113
- }
114
-
115
- a {
116
- @apply text-blue no-underline;
117
- }
118
-
119
- a:hover,
120
- a:focus {
121
- @apply text-blue-light;
122
- }
123
-
124
- a:active {
125
- @apply text-blue-dark;
126
- }
127
-
128
- button::-moz-focus-inner {
129
- @apply border-none;
130
- }
131
-
132
- input[type='search']::-webkit-search-decoration,
133
- input[type='search']::-webkit-search-cancel-button,
134
- input[type='search']::-webkit-search-results-button,
135
- input[type='search']::-webkit-search-results-decoration {
136
- -webkit-appearance: none;
137
- }
138
-
139
- [data-radix-portal][aria-hidden] [data-taco='menu'] {
140
- display: none;
141
- opacity: 0;
142
- }
143
-
144
- @keyframes fade-in {
145
- from {
146
- @apply opacity-0;
147
- }
148
- to {
149
- @apply opacity-100;
150
- }
151
- }
152
- }
153
-
154
- [data-taco='badge'] > [data-taco='spinner'] {
155
- @apply h-3 w-3 ml-2;
156
- }
157
-
158
- [data-taco='badge'] > [data-taco='spinner'] svg circle {
159
- stroke-width: 15px;
160
- }
161
-
162
- [data-taco='badge'] > * {
163
- @apply max-h-full p-0;
164
- }
165
-
166
- [data-taco='button'] > [data-taco='icon'] {
167
- @apply pointer-events-none -ml-2 mr-1 -mt-2 -mb-2 inline p-px;
168
- }
169
-
170
- [data-taco='button'] > span + [data-taco='icon'] {
171
- @apply ml-1 -mr-2;
172
- }
173
-
174
- [data-taco='spinner'] svg circle {
175
- @apply flex;
176
- fill: transparent;
177
- stroke-width: 10px;
178
- animation: spinnerAnimation 1.5s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite both;
179
- transform-origin: 50% 50%;
180
- stroke-linecap: round;
181
- stroke-dasharray: 282.743343;
182
- stroke-dashoffset: 67.85840232;
183
- stroke: theme('colors.blue.DEFAULT');
184
- }
185
-
186
- @keyframes spinnerAnimation {
187
- 0% {
188
- stroke-dashoffset: 237.50440812;
189
- transform: rotate(0);
190
- }
191
- 50% {
192
- stroke-dashoffset: 67.85840232;
193
- transform: rotate(45deg);
194
- }
195
- 100% {
196
- stroke-dashoffset: 237.50440812;
197
- transform: rotate(1turn);
198
- }
199
- }
200
-
201
- @keyframes spinnerRotation {
202
- 0% {
203
- transform: rotate(0deg);
204
- }
205
- 100% {
206
- transform: rotate(1turn);
207
- }
208
- }
209
-
210
- .yt-grey-solid [data-taco='spinner'] svg circle,
211
- .yt-yellow-solid [data-taco='spinner'] svg circle {
212
- stroke: theme('colors.grey.darkest');
213
- }
214
-
215
- .yt-blue-solid [data-taco='spinner'] svg circle,
216
- .yt-green-solid [data-taco='spinner'] svg circle,
217
- .yt-red-solid [data-taco='spinner'] svg circle {
218
- stroke: theme('colors.white');
219
- }
220
-
221
- .yt-blue-inverted svg circle {
222
- stroke: theme('colors.blue.DEFAULT');
223
- }
224
-
225
- .yt-yellow-inverted svg circle {
226
- stroke: theme('colors.yellow.DEFAULT');
227
- }
228
-
229
- .yt-red-inverted svg circle {
230
- stroke: theme('colors.red.DEFAULT');
231
- }
232
-
233
- .yt-green-inverted svg circle {
234
- stroke: theme('colors.green.DEFAULT');
235
- }
236
-
237
- .yt-grey-inverted svg circle {
238
- stroke: theme('colors.grey.darkest');
239
- }
240
-
241
- [data-taco='toast'] > div [data-taco='button'] {
242
- @apply -mt-px py-0 px-2;
243
- }
244
-
245
- [data-taco='calendar'] .DayPicker-wrapper {
246
- @apply relative select-none flex-row;
247
- }
248
-
249
- [data-taco='calendar'] .DayPicker-Months {
250
- @apply flex flex-wrap justify-center;
251
- }
252
-
253
- [data-taco='calendar'] .DayPicker-Month {
254
- @apply m-0 flex border-collapse select-none flex-col;
255
- }
256
-
257
- [data-taco='calendar'] .DayPicker-Weekdays {
258
- @apply mt-2 flex;
259
- }
260
-
261
- [data-taco='calendar'] .DayPicker-WeekdaysRow {
262
- @apply mb-2 flex w-full justify-between;
263
- }
264
-
265
- [data-taco='calendar'] .DayPicker-Weekday {
266
- @apply text-grey-darkest flex-grow text-center uppercase;
267
- }
268
-
269
- [data-taco='calendar'] .DayPicker-Weekday abbr[title] {
270
- @apply no-underline;
271
- }
272
-
273
- [data-taco='calendar'] .DayPicker-Body {
274
- @apply flex flex-col;
275
- }
276
-
277
- [data-taco='calendar'] .DayPicker-Week {
278
- @apply flex w-full justify-between;
279
- }
280
-
281
- [data-taco='calendar'] .DayPicker-Day {
282
- @apply flex h-10 w-10 cursor-pointer items-center justify-center rounded-full;
283
- }
284
-
285
- [data-taco='calendar'] .DayPicker--interactionDisabled .DayPicker-Day {
286
- @apply cursor-default;
287
- }
288
-
289
- [data-taco='calendar'] .DayPicker-Footer {
290
- @apply pt-2 text-center;
291
- }
292
-
293
- [data-taco='calendar'] .DayPicker-TodayButton {
294
- @apply text-blue cursor-pointer border-none bg-transparent text-xs;
295
- }
296
-
297
- [data-taco='calendar'] .DayPicker-TodayButton:hover {
298
- @apply text-blue-light;
299
- }
300
-
301
- /* Default modifiers */
302
-
303
- [data-taco='calendar'] .DayPicker-Day--today {
304
- @apply text-blue font-bold;
305
- }
306
-
307
- [data-taco='calendar'] .DayPicker-Day--outside {
308
- @apply text-grey-dark cursor-default;
309
- }
310
-
311
- [data-taco='calendar'] .DayPicker-Day--disabled {
312
- @apply text-grey-dark pointer-events-none w-4 cursor-default;
313
- }
314
-
315
- [data-taco='calendar'] .DayPicker-Day--disabled > span.dot {
316
- @apply bg-grey inline-block rounded-full p-2;
317
- }
318
-
319
- [data-taco='calendar'] .icon:hover,
320
- [data-taco='calendar']:not(.DayPicker--interactionDisabled)
321
- .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover,
322
- [data-taco='calendar'] .DayPicker-Day--highlighted,
323
- [data-taco='calendar'] .DayPicker-Day--selected {
324
- @apply bg-grey-light text-black;
325
- }
326
-
327
- [data-taco='calendar'] .calendar-caption {
328
- @apply font-semibold;
329
- }
330
-
331
- [data-taco='scrollable-list'].yt-list--multiselect li:first-child {
332
- @apply border-grey-light border-b-2 pl-4; /* Listbox max-height is dependant on this border-bottom-width value! */
333
- }
334
-
335
- [data-taco='scrollable-list'] li > [data-taco='icon'] {
336
- @apply mr-2;
337
- }
338
-
339
- [data-taco='scrollable-list']:not([readonly]) li:hover {
340
- @apply wcag-blue-light;
341
- }
342
-
343
- [data-taco='scrollable-list']:not([readonly]) li:hover [data-taco='icon'] {
344
- @apply wcag-blue-light;
345
- }
346
-
347
- [data-taco='scrollable-list'] li:focus,
348
- [data-taco='scrollable-list']:not(.yt-list--multiselect) li[aria-selected='true'],
349
- [data-taco='scrollable-list'] li[data-focused='true'] {
350
- @apply wcag-blue;
351
- }
352
-
353
- [data-taco='scrollable-list'] li:focus [data-taco='icon'],
354
- [data-taco='scrollable-list']:not(.yt-list--multiselect) li[aria-selected='true'] [data-taco='icon'],
355
- [data-taco='scrollable-list'] li[data-focused='true'] [data-taco='icon'] {
356
- @apply wcag-blue;
357
- }
358
-
359
- [data-taco='scrollable-list'][readonly] li {
360
- @apply cursor-not-allowed;
361
- }
362
-
363
- [data-taco='scrollable-list'] li[disabled],
364
- [data-taco='scrollable-list'][disabled] li[aria-selected='true'] {
365
- @apply cursor-not-allowed text-black text-opacity-25;
366
- }
367
-
368
- [data-taco='scrollable-list'] li.yt-list__empty,
369
- [data-taco='scrollable-list'] li.yt-list__empty:hover,
370
- [data-taco='scrollable-list'] li.yt-list__empty:focus {
371
- @apply text-grey-darkest overflow-hidden bg-white italic;
372
- }
373
-
374
- [data-taco='scrollable-list'] li.yt-list__empty [data-taco='spinner'] {
375
- @apply mr-2 mt-2 h-5 w-5 opacity-75;
376
- }
377
-
378
- [data-taco='combobox'] [role='dialog'] {
379
- @apply z-50;
380
- }
381
-
382
- [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul,
383
- [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul:hover {
384
- @apply border-blue;
385
- }
386
-
387
- .yt-dialog__drag::before,
388
- .yt-dialog__drag::after {
389
- @apply bg-grey-dark absolute rounded;
390
- content: '';
391
- left: theme('spacing.1');
392
- height: 2px;
393
- width: calc(100% - (2 * theme('spacing.1')));
394
- }
395
-
396
- .yt-dialog__drag::before {
397
- top: 3px;
398
- }
399
-
400
- .yt-dialog__drag::after {
401
- bottom: 3px;
402
- }
403
-
404
- /* label inside label is invalid html, but the client is littered with it */
405
- [data-taco='label'] [data-taco='label'] {
406
- min-height: 0;
407
- }
408
-
409
- .yt-form > [data-taco='button'] {
410
- @apply mr-3;
411
- }
412
-
413
- .yt-form.yt-form--horizontal > * {
414
- @apply mr-3 inline-flex;
415
- }
416
-
417
- .yt-form.yt-form--horizontal > *:last-child {
418
- @apply mr-0;
419
- }
420
-
421
- .yt-form.yt-form--horizontal > [data-taco='button'] {
422
- @apply mt-6;
423
- }
424
-
425
- [data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
426
- @apply ml-1;
427
- }
428
-
429
- [data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
430
- @apply ml-2;
431
- }
432
-
433
- [data-taco='hanger'] a {
434
- @apply text-grey underline;
435
- }
436
-
437
- [data-taco='hanger'] > *:last-child {
438
- @apply mb-0;
439
- }
440
-
441
- .yt-navigation__item a,
442
- .yt-navigation__item .yt-navigation__item__postfix {
443
- @apply text-black;
444
- }
445
-
446
- .yt-navigation__item .yt-navigation__item__prefix [data-taco='icon'] {
447
- @apply -mt-1 -mb-1 text-xs;
448
- margin-left: -0.375rem;
449
- margin-right: 0.15rem;
450
- }
451
-
452
- .yt-navigation__item:hover,
453
- .yt-navigation__item:hover a,
454
- .yt-navigation__item:hover .yt-navigation__item__postfix,
455
- .yt-navigation__item--active,
456
- .yt-navigation__item--active a,
457
- .yt-navigation__item--active .yt-navigation__item__postfix {
458
- @apply text-blue;
459
- }
460
-
461
- .yt-navigation__item--dropping,
462
- .yt-navigation__item--dropping a,
463
- .yt-navigation__item--dropping .yt-navigation__item__postfix {
464
- @apply text-white;
465
- }
466
-
467
- .yt-navigation__item:hover .yt-navigation__item__postfix [data-taco='badge']:not(.h-2),
468
- .yt-navigation__item--active .yt-navigation__item__postfix [data-taco='badge']:not(.h-2) {
469
- @apply yt-blue-inverted;
470
- }
471
-
472
- .yt-navigation__item--dropping > * {
473
- @apply pointer-events-none;
474
- }
475
-
476
- .yt-navigation__item--dropping .yt-navigation__item__postfix [data-taco='badge'] {
477
- @apply border-white text-white;
478
- }
479
-
480
- .yt-toast:hover [data-taco='progress-bar'] {
481
- animation-play-state: paused;
482
- }
483
-
484
- @keyframes progress {
485
- from {
486
- width: 100%;
487
- }
488
- to {
489
- width: 0%;
490
- }
491
- }
492
-
493
- @keyframes progress-indeterminate {
494
- 0% {
495
- margin-left: 0px;
496
- margin-right: 100%;
497
- }
498
- 50% {
499
- margin-left: 25%;
500
- margin-right: 0%;
501
- }
502
- 100% {
503
- margin-left: 100%;
504
- margin-right: 0;
505
- }
506
- }
507
-
508
- /* rows */
509
- .yt-table__row {
510
- @apply border-grey-light flex border-b;
511
- min-height: 2.5rem;
512
- }
513
-
514
- /* cells */
515
- .yt-table__cell > [data-taco='button'],
516
- .yt-table__cell > [data-taco='icon-button'] {
517
- @apply -mt-1 -mb-1 flex;
518
- }
519
-
520
- .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
521
- @apply text-white;
522
- }
523
-
524
- .yt-table__cell.yt-table__cell--draggable [data-taco='icon']:active {
525
- @apply cursor-grabbing;
526
- }
527
-
528
- .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
529
- @apply visible;
530
- }
531
-
532
- /* head */
533
- .yt-table__head .yt-table__row {
534
- @apply h-auto w-full select-none border-t-0 border-b-2 font-bold;
535
- }
536
-
537
- .yt-table__head .yt-table__head__group {
538
- @apply flex flex-1 flex-wrap;
539
- }
540
-
541
- .yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
542
- @apply border-grey-light border-b;
543
- flex-basis: 100%;
544
- }
545
-
546
- .yt-table__head .yt-table__head__group + .yt-table__head__group {
547
- @apply border-grey-light border-l;
548
- }
549
-
550
- .yt-table__head .yt-table__cell > [data-taco='icon'] {
551
- @apply flex-shrink-0;
552
- }
553
-
554
- .yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
555
- @apply border-grey-light border-l-2;
556
- }
557
-
558
- .yt-table.yt-table--windowed.table-with-scrollbar .yt-table__head {
559
- padding-right: 14px;
560
- }
561
-
562
- /* body */
563
-
564
- .yt-table__body .yt-table__row:first-child {
565
- @apply border-t-0;
566
- }
567
-
568
- .yt-table__body .yt-table__row.yt-table__row--clickable:hover,
569
- .yt-table__body .yt-table__row.yt-table__row--clickable.yt-table__row--active:hover {
570
- @apply cursor-pointer;
571
- }
572
-
573
- .yt-table__body .yt-table__row.yt-table__row__unselectable:hover,
574
- .yt-table__body .yt-table__row.yt-table__row__unselectable.yt-table__row--active:hover {
575
- @apply cursor-default;
576
- }
577
-
578
- .yt-table__body .yt-table__row.yt-table__row--active {
579
- @apply bg-grey-light;
580
- }
581
-
582
- .yt-table__body .yt-table__row.yt-table__row--dragging,
583
- .yt-table__body .yt-table__row.yt-table__row--dragging:hover {
584
- @apply bg-blue text-white;
585
- }
586
-
587
- /* edit */
588
- .yt-table__body .yt-table__row.yt-table__row--editing {
589
- @apply border-grey border-t;
590
- }
591
-
592
- .yt-table__body .yt-table__row.yt-table__row--editing,
593
- .yt-table__body .yt-table__row.yt-table__row--editing:hover {
594
- @apply wcag-grey-lightest;
595
- }
596
-
597
- .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell {
598
- @apply overflow-visible;
599
- overflow-wrap: normal;
600
- }
601
-
602
- .yt-table__cell [data-taco='label'] {
603
- @apply -my-2 pb-0 text-transparent;
604
- min-height: theme('spacing.10');
605
- }
606
-
607
- .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
608
- @apply mt-1;
609
- }
610
-
611
- .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
612
- @apply -mt-5;
613
- }
614
-
615
- .yt-table__cell [data-taco='label'] > [data-taco='label']__message {
616
- @apply mb-1;
617
- }
618
-
619
- /* drag */
620
- #yt-table__drag__placeholder {
621
- @apply bg-blue flex w-3/12 rounded p-4 font-bold text-white;
622
- }
623
-
624
- .yt-tabs .yt-tab__list[aria-orientation='vertical'] {
625
- @apply m-0 mr-4 flex-col border-0 border-r;
626
- }
627
-
628
- .yt-tabs .yt-tab__list .yt-tab[aria-selected='true'] {
629
- @apply border-blue text-black;
630
- }
631
-
632
- .yt-tabs.yt-tabs--vertical .yt-tab__list {
633
- @apply flex-initial;
634
- }
635
-
636
- .yt-tabs.yt-tabs--vertical .yt-tab__panel {
637
- @apply flex-grow;
638
- }
639
-
640
- .yt-tabs .yt-tab__list[aria-orientation='vertical'] .yt-tab {
641
- @apply rounded-none rounded-l border-0 border-r-2;
642
- }
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ *,
7
+ *::before,
8
+ *::after {
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ html {
13
+ @apply font-display h-screen;
14
+ -moz-osx-font-smoothing: grayscale;
15
+ -webkit-font-smoothing: antialiased;
16
+ }
17
+
18
+ body {
19
+ @apply h-screen bg-white text-sm leading-relaxed text-black;
20
+ }
21
+
22
+ blockquote,
23
+ dl,
24
+ dd,
25
+ hr,
26
+ figure,
27
+ p,
28
+ pre,
29
+ ol,
30
+ ul,
31
+ h1,
32
+ h2,
33
+ h3,
34
+ h4,
35
+ h5,
36
+ h6 {
37
+ max-width: 100ch;
38
+ }
39
+
40
+ blockquote,
41
+ dl,
42
+ dd,
43
+ hr,
44
+ figure,
45
+ p,
46
+ pre,
47
+ ol,
48
+ ul {
49
+ @apply mb-10;
50
+ }
51
+
52
+ ol ol,
53
+ ul ul,
54
+ ol ul,
55
+ ul ol {
56
+ @apply mb-0;
57
+ }
58
+
59
+ ul.list-disc,
60
+ ul.list-decimal,
61
+ ul.list-circle,
62
+ ol.list-disc,
63
+ ol.list-decimal,
64
+ ol.list-circle {
65
+ @apply pl-4;
66
+ }
67
+
68
+ dt {
69
+ @apply font-bold;
70
+ }
71
+
72
+ blockquote {
73
+ @apply pl-8;
74
+ }
75
+
76
+ hr {
77
+ @apply bg-grey-light my-5 flex h-px border-none;
78
+ }
79
+
80
+ h1,
81
+ h2,
82
+ h3,
83
+ h4,
84
+ h5,
85
+ h6 {
86
+ @apply font-normal;
87
+ }
88
+
89
+ h1 {
90
+ @apply mb-6 text-3xl;
91
+ }
92
+
93
+ h2 {
94
+ @apply mb-2 text-2xl;
95
+ }
96
+
97
+ h3 {
98
+ @apply mb-2 text-xl;
99
+ }
100
+
101
+ h4 {
102
+ @apply mb-1 text-base font-bold;
103
+ }
104
+
105
+ h5,
106
+ h6 {
107
+ @apply mb-1 font-bold;
108
+ }
109
+
110
+ b,
111
+ strong {
112
+ @apply font-bold;
113
+ }
114
+
115
+ a {
116
+ @apply text-blue no-underline;
117
+ }
118
+
119
+ a:hover,
120
+ a:focus {
121
+ @apply text-blue-light;
122
+ }
123
+
124
+ a:active {
125
+ @apply text-blue-dark;
126
+ }
127
+
128
+ button::-moz-focus-inner {
129
+ @apply border-none;
130
+ }
131
+
132
+ input[type='search']::-webkit-search-decoration,
133
+ input[type='search']::-webkit-search-cancel-button,
134
+ input[type='search']::-webkit-search-results-button,
135
+ input[type='search']::-webkit-search-results-decoration {
136
+ -webkit-appearance: none;
137
+ }
138
+
139
+ [data-radix-portal][aria-hidden] [data-taco='menu'],
140
+ [data-radix-portal][aria-hidden] [data-taco='hanger'] {
141
+ display: none;
142
+ opacity: 0;
143
+ }
144
+
145
+ @keyframes fade-in {
146
+ from {
147
+ @apply opacity-0;
148
+ }
149
+ to {
150
+ @apply opacity-100;
151
+ }
152
+ }
153
+ }
154
+
155
+ [data-taco='badge'] > [data-taco='spinner'] {
156
+ @apply h-3 w-3 ml-2;
157
+ }
158
+
159
+ [data-taco='badge'] > [data-taco='spinner'] svg circle {
160
+ stroke-width: 15px;
161
+ }
162
+
163
+ [data-taco='badge'] > * {
164
+ @apply max-h-full p-0;
165
+ }
166
+
167
+ [data-taco='button'] > [data-taco='icon'] {
168
+ @apply pointer-events-none -ml-2 mr-1 -mt-2 -mb-2 inline p-px;
169
+ }
170
+
171
+ [data-taco='button'] > span + [data-taco='icon'] {
172
+ @apply ml-1 -mr-2;
173
+ }
174
+
175
+ [data-taco='spinner'] svg circle {
176
+ @apply flex;
177
+ fill: transparent;
178
+ stroke-width: 10px;
179
+ animation: spinnerAnimation 1.5s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite both;
180
+ transform-origin: 50% 50%;
181
+ stroke-linecap: round;
182
+ stroke-dasharray: 282.743343;
183
+ stroke-dashoffset: 67.85840232;
184
+ stroke: theme('colors.blue.DEFAULT');
185
+ }
186
+
187
+ @keyframes spinnerAnimation {
188
+ 0% {
189
+ stroke-dashoffset: 237.50440812;
190
+ transform: rotate(0);
191
+ }
192
+ 50% {
193
+ stroke-dashoffset: 67.85840232;
194
+ transform: rotate(45deg);
195
+ }
196
+ 100% {
197
+ stroke-dashoffset: 237.50440812;
198
+ transform: rotate(1turn);
199
+ }
200
+ }
201
+
202
+ @keyframes spinnerRotation {
203
+ 0% {
204
+ transform: rotate(0deg);
205
+ }
206
+ 100% {
207
+ transform: rotate(1turn);
208
+ }
209
+ }
210
+
211
+ .yt-grey-solid [data-taco='spinner'] svg circle,
212
+ .yt-yellow-solid [data-taco='spinner'] svg circle {
213
+ stroke: theme('colors.grey.darkest');
214
+ }
215
+
216
+ .yt-blue-solid [data-taco='spinner'] svg circle,
217
+ .yt-green-solid [data-taco='spinner'] svg circle,
218
+ .yt-red-solid [data-taco='spinner'] svg circle {
219
+ stroke: theme('colors.white');
220
+ }
221
+
222
+ .yt-blue-inverted svg circle {
223
+ stroke: theme('colors.blue.DEFAULT');
224
+ }
225
+
226
+ .yt-yellow-inverted svg circle {
227
+ stroke: theme('colors.yellow.DEFAULT');
228
+ }
229
+
230
+ .yt-red-inverted svg circle {
231
+ stroke: theme('colors.red.DEFAULT');
232
+ }
233
+
234
+ .yt-green-inverted svg circle {
235
+ stroke: theme('colors.green.DEFAULT');
236
+ }
237
+
238
+ .yt-grey-inverted svg circle {
239
+ stroke: theme('colors.grey.darkest');
240
+ }
241
+
242
+ [data-taco='toast'] > div [data-taco='button'] {
243
+ @apply -mt-px py-0 px-2;
244
+ }
245
+
246
+ [data-taco='calendar'] .DayPicker-wrapper {
247
+ @apply relative select-none flex-row;
248
+ }
249
+
250
+ [data-taco='calendar'] .DayPicker-Months {
251
+ @apply flex flex-wrap justify-center;
252
+ }
253
+
254
+ [data-taco='calendar'] .DayPicker-Month {
255
+ @apply m-0 flex border-collapse select-none flex-col;
256
+ }
257
+
258
+ [data-taco='calendar'] .DayPicker-Weekdays {
259
+ @apply mt-2 flex;
260
+ }
261
+
262
+ [data-taco='calendar'] .DayPicker-WeekdaysRow {
263
+ @apply mb-2 flex w-full justify-between;
264
+ }
265
+
266
+ [data-taco='calendar'] .DayPicker-Weekday {
267
+ @apply text-grey-darkest flex-grow text-center uppercase;
268
+ }
269
+
270
+ [data-taco='calendar'] .DayPicker-Weekday abbr[title] {
271
+ @apply no-underline;
272
+ }
273
+
274
+ [data-taco='calendar'] .DayPicker-Body {
275
+ @apply flex flex-col;
276
+ }
277
+
278
+ [data-taco='calendar'] .DayPicker-Week {
279
+ @apply flex w-full justify-between;
280
+ }
281
+
282
+ [data-taco='calendar'] .DayPicker-Day {
283
+ @apply flex h-10 w-10 cursor-pointer items-center justify-center rounded-full;
284
+ }
285
+
286
+ [data-taco='calendar'] .DayPicker--interactionDisabled .DayPicker-Day {
287
+ @apply cursor-default;
288
+ }
289
+
290
+ [data-taco='calendar'] .DayPicker-Footer {
291
+ @apply pt-2 text-center;
292
+ }
293
+
294
+ [data-taco='calendar'] .DayPicker-TodayButton {
295
+ @apply text-blue cursor-pointer border-none bg-transparent text-xs;
296
+ }
297
+
298
+ [data-taco='calendar'] .DayPicker-TodayButton:hover {
299
+ @apply text-blue-light;
300
+ }
301
+
302
+ /* Default modifiers */
303
+
304
+ [data-taco='calendar'] .DayPicker-Day--today {
305
+ @apply text-blue font-bold;
306
+ }
307
+
308
+ [data-taco='calendar'] .DayPicker-Day--outside {
309
+ @apply text-grey-dark cursor-default;
310
+ }
311
+
312
+ [data-taco='calendar'] .DayPicker-Day--disabled {
313
+ @apply text-grey-dark pointer-events-none w-4 cursor-default;
314
+ }
315
+
316
+ [data-taco='calendar'] .DayPicker-Day--disabled > span.dot {
317
+ @apply bg-grey inline-block rounded-full p-2;
318
+ }
319
+
320
+ [data-taco='calendar'] .icon:hover,
321
+ [data-taco='calendar']:not(.DayPicker--interactionDisabled)
322
+ .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover,
323
+ [data-taco='calendar'] .DayPicker-Day--highlighted,
324
+ [data-taco='calendar'] .DayPicker-Day--selected {
325
+ @apply bg-grey-light text-black;
326
+ }
327
+
328
+ [data-taco='calendar'] .calendar-caption {
329
+ @apply font-semibold;
330
+ }
331
+
332
+ [data-taco='scrollable-list'].yt-list--multiselect li:first-child {
333
+ @apply border-grey-light border-b-2 pl-4; /* Listbox max-height is dependant on this border-bottom-width value! */
334
+ }
335
+
336
+ [data-taco='scrollable-list'] li > [data-taco='icon'] {
337
+ @apply mr-2;
338
+ }
339
+
340
+ [data-taco='scrollable-list']:not([readonly]) li:hover {
341
+ @apply wcag-blue-light;
342
+ }
343
+
344
+ [data-taco='scrollable-list']:not([readonly]) li:hover [data-taco='icon'] {
345
+ @apply wcag-blue-light;
346
+ }
347
+
348
+ [data-taco='scrollable-list'] li:focus,
349
+ [data-taco='scrollable-list']:not(.yt-list--multiselect) li[aria-selected='true'],
350
+ [data-taco='scrollable-list'] li[data-focused='true'] {
351
+ @apply wcag-blue;
352
+ }
353
+
354
+ [data-taco='scrollable-list'] li:focus [data-taco='icon'],
355
+ [data-taco='scrollable-list']:not(.yt-list--multiselect) li[aria-selected='true'] [data-taco='icon'],
356
+ [data-taco='scrollable-list'] li[data-focused='true'] [data-taco='icon'] {
357
+ @apply wcag-blue;
358
+ }
359
+
360
+ [data-taco='scrollable-list'][readonly] li {
361
+ @apply cursor-not-allowed;
362
+ }
363
+
364
+ [data-taco='scrollable-list'] li[disabled],
365
+ [data-taco='scrollable-list'][disabled] li[aria-selected='true'] {
366
+ @apply cursor-not-allowed text-black text-opacity-25;
367
+ }
368
+
369
+ [data-taco='scrollable-list'] li.yt-list__empty,
370
+ [data-taco='scrollable-list'] li.yt-list__empty:hover,
371
+ [data-taco='scrollable-list'] li.yt-list__empty:focus {
372
+ @apply text-grey-darkest overflow-hidden bg-white italic;
373
+ }
374
+
375
+ [data-taco='scrollable-list'] li.yt-list__empty [data-taco='spinner'] {
376
+ @apply mr-2 mt-2 h-5 w-5 opacity-75;
377
+ }
378
+
379
+ [data-taco='combobox'] [role='dialog'] {
380
+ @apply z-50;
381
+ }
382
+
383
+ [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul,
384
+ [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul:hover {
385
+ @apply border-blue;
386
+ }
387
+
388
+ .yt-dialog__drag::before,
389
+ .yt-dialog__drag::after {
390
+ @apply bg-grey-dark absolute rounded;
391
+ content: '';
392
+ left: theme('spacing.1');
393
+ height: 2px;
394
+ width: calc(100% - (2 * theme('spacing.1')));
395
+ }
396
+
397
+ .yt-dialog__drag::before {
398
+ top: 3px;
399
+ }
400
+
401
+ .yt-dialog__drag::after {
402
+ bottom: 3px;
403
+ }
404
+
405
+ /* label inside label is invalid html, but the client is littered with it */
406
+ [data-taco='label'] [data-taco='label'] {
407
+ min-height: 0;
408
+ }
409
+
410
+ .yt-form > [data-taco='button'] {
411
+ @apply mr-3;
412
+ }
413
+
414
+ .yt-form.yt-form--horizontal > * {
415
+ @apply mr-3 inline-flex;
416
+ }
417
+
418
+ .yt-form.yt-form--horizontal > *:last-child {
419
+ @apply mr-0;
420
+ }
421
+
422
+ .yt-form.yt-form--horizontal > [data-taco='button'] {
423
+ @apply mt-6;
424
+ }
425
+
426
+ [data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
427
+ @apply ml-1;
428
+ }
429
+
430
+ [data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
431
+ @apply ml-2;
432
+ }
433
+
434
+ [data-taco='hanger'] a {
435
+ @apply text-grey underline;
436
+ }
437
+
438
+ [data-taco='hanger'] > *:last-child {
439
+ @apply mb-0;
440
+ }
441
+
442
+ .yt-navigation__item a,
443
+ .yt-navigation__item .yt-navigation__item__postfix {
444
+ @apply text-black;
445
+ }
446
+
447
+ .yt-navigation__item .yt-navigation__item__prefix [data-taco='icon'] {
448
+ @apply -mt-1 -mb-1 text-xs;
449
+ margin-left: -0.375rem;
450
+ margin-right: 0.15rem;
451
+ }
452
+
453
+ .yt-navigation__item:hover,
454
+ .yt-navigation__item:hover a,
455
+ .yt-navigation__item:hover .yt-navigation__item__postfix,
456
+ .yt-navigation__item--active,
457
+ .yt-navigation__item--active a,
458
+ .yt-navigation__item--active .yt-navigation__item__postfix {
459
+ @apply text-blue;
460
+ }
461
+
462
+ .yt-navigation__item--dropping,
463
+ .yt-navigation__item--dropping a,
464
+ .yt-navigation__item--dropping .yt-navigation__item__postfix {
465
+ @apply text-white;
466
+ }
467
+
468
+ .yt-navigation__item:hover .yt-navigation__item__postfix [data-taco='badge']:not(.h-2),
469
+ .yt-navigation__item--active .yt-navigation__item__postfix [data-taco='badge']:not(.h-2) {
470
+ @apply yt-blue-inverted;
471
+ }
472
+
473
+ .yt-navigation__item--dropping > * {
474
+ @apply pointer-events-none;
475
+ }
476
+
477
+ .yt-navigation__item--dropping .yt-navigation__item__postfix [data-taco='badge'] {
478
+ @apply border-white text-white;
479
+ }
480
+
481
+ .yt-toast:hover [data-taco='progress-bar'] {
482
+ animation-play-state: paused;
483
+ }
484
+
485
+ @keyframes progress {
486
+ from {
487
+ width: 100%;
488
+ }
489
+ to {
490
+ width: 0%;
491
+ }
492
+ }
493
+
494
+ @keyframes progress-indeterminate {
495
+ 0% {
496
+ margin-left: 0px;
497
+ margin-right: 100%;
498
+ }
499
+ 50% {
500
+ margin-left: 25%;
501
+ margin-right: 0%;
502
+ }
503
+ 100% {
504
+ margin-left: 100%;
505
+ margin-right: 0;
506
+ }
507
+ }
508
+
509
+ /* rows */
510
+ .yt-table__row {
511
+ @apply border-grey-light flex border-b;
512
+ min-height: 2.5rem;
513
+ }
514
+
515
+ /* cells */
516
+ .yt-table__cell > [data-taco='button'],
517
+ .yt-table__cell > [data-taco='icon-button'] {
518
+ @apply -mt-1 -mb-1 flex;
519
+ }
520
+
521
+ .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
522
+ @apply text-white;
523
+ }
524
+
525
+ .yt-table__cell.yt-table__cell--draggable [data-taco='icon']:active {
526
+ @apply cursor-grabbing;
527
+ }
528
+
529
+ .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
530
+ @apply visible;
531
+ }
532
+
533
+ /* head */
534
+ .yt-table__head .yt-table__row {
535
+ @apply h-auto w-full select-none border-t-0 border-b-2 font-bold;
536
+ }
537
+
538
+ .yt-table__head .yt-table__head__group {
539
+ @apply flex flex-1 flex-wrap;
540
+ }
541
+
542
+ .yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
543
+ @apply border-grey-light border-b;
544
+ flex-basis: 100%;
545
+ }
546
+
547
+ .yt-table__head .yt-table__head__group + .yt-table__head__group {
548
+ @apply border-grey-light border-l;
549
+ }
550
+
551
+ .yt-table__head .yt-table__cell > [data-taco='icon'] {
552
+ @apply flex-shrink-0;
553
+ }
554
+
555
+ .yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
556
+ @apply border-grey-light border-l-2;
557
+ }
558
+
559
+ .yt-table.yt-table--windowed.table-with-scrollbar .yt-table__head {
560
+ padding-right: 14px;
561
+ }
562
+
563
+ /* body */
564
+
565
+ .yt-table__body .yt-table__row:first-child {
566
+ @apply border-t-0;
567
+ }
568
+
569
+ .yt-table__body .yt-table__row.yt-table__row--clickable:hover,
570
+ .yt-table__body .yt-table__row.yt-table__row--clickable.yt-table__row--active:hover {
571
+ @apply cursor-pointer;
572
+ }
573
+
574
+ .yt-table__body .yt-table__row.yt-table__row__unselectable:hover,
575
+ .yt-table__body .yt-table__row.yt-table__row__unselectable.yt-table__row--active:hover {
576
+ @apply cursor-default;
577
+ }
578
+
579
+ .yt-table__body .yt-table__row.yt-table__row--active {
580
+ @apply bg-grey-light;
581
+ }
582
+
583
+ .yt-table__body .yt-table__row.yt-table__row--dragging,
584
+ .yt-table__body .yt-table__row.yt-table__row--dragging:hover {
585
+ @apply bg-blue text-white;
586
+ }
587
+
588
+ /* edit */
589
+ .yt-table__body .yt-table__row.yt-table__row--editing {
590
+ @apply border-grey border-t;
591
+ }
592
+
593
+ .yt-table__body .yt-table__row.yt-table__row--editing,
594
+ .yt-table__body .yt-table__row.yt-table__row--editing:hover {
595
+ @apply wcag-grey-lightest;
596
+ }
597
+
598
+ .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell {
599
+ @apply overflow-visible;
600
+ overflow-wrap: normal;
601
+ }
602
+
603
+ .yt-table__cell [data-taco='label'] {
604
+ @apply -my-2 pb-0 text-transparent;
605
+ min-height: theme('spacing.10');
606
+ }
607
+
608
+ .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
609
+ @apply mt-1;
610
+ }
611
+
612
+ .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
613
+ @apply -mt-5;
614
+ }
615
+
616
+ .yt-table__cell [data-taco='label'] > [data-taco='label']__message {
617
+ @apply mb-1;
618
+ }
619
+
620
+ /* drag */
621
+ #yt-table__drag__placeholder {
622
+ @apply bg-blue flex w-3/12 rounded p-4 font-bold text-white;
623
+ }
624
+
625
+ .yt-tabs .yt-tab__list[aria-orientation='vertical'] {
626
+ @apply m-0 mr-4 flex-col border-0 border-r;
627
+ }
628
+
629
+ .yt-tabs .yt-tab__list .yt-tab[aria-selected='true'] {
630
+ @apply border-blue text-black;
631
+ }
632
+
633
+ .yt-tabs.yt-tabs--vertical .yt-tab__list {
634
+ @apply flex-initial;
635
+ }
636
+
637
+ .yt-tabs.yt-tabs--vertical .yt-tab__panel {
638
+ @apply flex-grow;
639
+ }
640
+
641
+ .yt-tabs .yt-tab__list[aria-orientation='vertical'] .yt-tab {
642
+ @apply rounded-none rounded-l border-0 border-r-2;
643
+ }