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