@economic/taco 0.0.15-alpha.0 → 0.0.18-alpha.0

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