@economic/taco 0.0.10-alpha.0 → 0.0.13-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 (387) hide show
  1. package/README.md +84 -84
  2. package/dist/components/IconButton/IconButton.d.ts +10 -14
  3. package/dist/components/Menu/Menu.d.ts +1 -0
  4. package/dist/components/Menu/components/Item.d.ts +3 -0
  5. package/dist/esm/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/esm/components/Backdrop/Backdrop.js.map +1 -1
  7. package/dist/esm/components/Badge/Badge.js.map +1 -1
  8. package/dist/esm/components/Banner/Banner.js +1 -1
  9. package/dist/esm/components/Banner/Banner.js.map +1 -1
  10. package/dist/esm/components/Banner/util.js +1 -1
  11. package/dist/esm/components/Banner/util.js.map +1 -1
  12. package/dist/esm/components/Button/Button.js.map +1 -1
  13. package/dist/esm/components/Button/util.js +57 -36
  14. package/dist/esm/components/Button/util.js.map +1 -1
  15. package/dist/esm/components/Calendar/Calendar.js.map +1 -1
  16. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  17. package/dist/esm/components/Combobox/Combobox.js.map +1 -1
  18. package/dist/esm/components/Combobox/useCombobox.js +64 -84
  19. package/dist/esm/components/Combobox/useCombobox.js.map +1 -1
  20. package/dist/esm/components/Datepicker/Datepicker.js.map +1 -1
  21. package/dist/esm/components/Datepicker/useDatepicker.js +35 -33
  22. package/dist/esm/components/Datepicker/useDatepicker.js.map +1 -1
  23. package/dist/esm/components/Dialog/Context.js +3 -3
  24. package/dist/esm/components/Dialog/Context.js.map +1 -1
  25. package/dist/esm/components/Dialog/Dialog.js.map +1 -1
  26. package/dist/esm/components/Dialog/components/Content.js +39 -44
  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/Form/Form.js.map +1 -1
  35. package/dist/esm/components/Group/Group.js.map +1 -1
  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/Label/Label.js.map +1 -1
  246. package/dist/esm/components/Listbox/Listbox.js.map +1 -1
  247. package/dist/esm/components/Listbox/ScrollableList.js +63 -82
  248. package/dist/esm/components/Listbox/ScrollableList.js.map +1 -1
  249. package/dist/esm/components/Listbox/useListbox.js +49 -58
  250. package/dist/esm/components/Listbox/useListbox.js.map +1 -1
  251. package/dist/esm/components/Listbox/useMultiListbox.js +63 -91
  252. package/dist/esm/components/Listbox/useMultiListbox.js.map +1 -1
  253. package/dist/esm/components/Listbox/useTypeahead.js +10 -9
  254. package/dist/esm/components/Listbox/useTypeahead.js.map +1 -1
  255. package/dist/esm/components/Listbox/util.js +48 -84
  256. package/dist/esm/components/Listbox/util.js.map +1 -1
  257. package/dist/esm/components/Menu/Context.js +2 -2
  258. package/dist/esm/components/Menu/Context.js.map +1 -1
  259. package/dist/esm/components/Menu/Menu.js.map +1 -1
  260. package/dist/esm/components/Menu/components/Checkbox.js +8 -9
  261. package/dist/esm/components/Menu/components/Checkbox.js.map +1 -1
  262. package/dist/esm/components/Menu/components/Content.js +10 -13
  263. package/dist/esm/components/Menu/components/Content.js.map +1 -1
  264. package/dist/esm/components/Menu/components/Header.js +4 -4
  265. package/dist/esm/components/Menu/components/Header.js.map +1 -1
  266. package/dist/esm/components/Menu/components/Item.js +59 -43
  267. package/dist/esm/components/Menu/components/Item.js.map +1 -1
  268. package/dist/esm/components/Menu/components/Link.js +7 -8
  269. package/dist/esm/components/Menu/components/Link.js.map +1 -1
  270. package/dist/esm/components/Menu/components/RadioGroup.js +16 -18
  271. package/dist/esm/components/Menu/components/RadioGroup.js.map +1 -1
  272. package/dist/esm/components/Menu/components/Separator.js +4 -4
  273. package/dist/esm/components/Menu/components/Separator.js.map +1 -1
  274. package/dist/esm/components/Menu/components/Trigger.js +5 -5
  275. package/dist/esm/components/Menu/components/Trigger.js.map +1 -1
  276. package/dist/esm/components/Navigation/Navigation.js.map +1 -1
  277. package/dist/esm/components/Pagination/PageNumbers.js +23 -28
  278. package/dist/esm/components/Pagination/PageNumbers.js.map +1 -1
  279. package/dist/esm/components/Pagination/Pagination.js +39 -56
  280. package/dist/esm/components/Pagination/Pagination.js.map +1 -1
  281. package/dist/esm/components/Pagination/usePagination.js +7 -21
  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 +29 -34
  286. package/dist/esm/components/Popover/Popover.js.map +1 -1
  287. package/dist/esm/components/Popover/Primitives.js +27 -30
  288. package/dist/esm/components/Popover/Primitives.js.map +1 -1
  289. package/dist/esm/components/Progress/Progress.js +11 -15
  290. package/dist/esm/components/Progress/Progress.js.map +1 -1
  291. package/dist/esm/components/Provider/Provider.js +14 -19
  292. package/dist/esm/components/Provider/Provider.js.map +1 -1
  293. package/dist/esm/components/RadioGroup/RadioGroup.js +45 -57
  294. package/dist/esm/components/RadioGroup/RadioGroup.js.map +1 -1
  295. package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
  296. package/dist/esm/components/Select/Select.js +30 -31
  297. package/dist/esm/components/Select/Select.js.map +1 -1
  298. package/dist/esm/components/Select/useSelect.js +63 -82
  299. package/dist/esm/components/Select/useSelect.js.map +1 -1
  300. package/dist/esm/components/Spinner/Spinner.js +12 -19
  301. package/dist/esm/components/Spinner/Spinner.js.map +1 -1
  302. package/dist/esm/components/Switch/Switch.js +9 -10
  303. package/dist/esm/components/Switch/Switch.js.map +1 -1
  304. package/dist/esm/components/Table/components/BaseTable.js +23 -30
  305. package/dist/esm/components/Table/components/BaseTable.js.map +1 -1
  306. package/dist/esm/components/Table/components/PaginatedTable.js +3 -7
  307. package/dist/esm/components/Table/components/PaginatedTable.js.map +1 -1
  308. package/dist/esm/components/Table/components/Table.js +18 -25
  309. package/dist/esm/components/Table/components/Table.js.map +1 -1
  310. package/dist/esm/components/Table/components/WindowedTable.js +88 -104
  311. package/dist/esm/components/Table/components/WindowedTable.js.map +1 -1
  312. package/dist/esm/components/Table/hooks/plugins/useRowActions.js +122 -146
  313. package/dist/esm/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  314. package/dist/esm/components/Table/hooks/plugins/useRowDraggable.js +57 -61
  315. package/dist/esm/components/Table/hooks/plugins/useRowDraggable.js.map +1 -1
  316. package/dist/esm/components/Table/hooks/plugins/useRowEditing.js +39 -36
  317. package/dist/esm/components/Table/hooks/plugins/useRowEditing.js.map +1 -1
  318. package/dist/esm/components/Table/hooks/plugins/useRowSelect.js +80 -90
  319. package/dist/esm/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
  320. package/dist/esm/components/Table/hooks/useRowCreation.js +29 -64
  321. package/dist/esm/components/Table/hooks/useRowCreation.js.map +1 -1
  322. package/dist/esm/components/Table/hooks/useTable.js +119 -141
  323. package/dist/esm/components/Table/hooks/useTable.js.map +1 -1
  324. package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js +12 -15
  325. package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
  326. package/dist/esm/components/Table/util/renderColumn.js +10 -10
  327. package/dist/esm/components/Table/util/renderColumn.js.map +1 -1
  328. package/dist/esm/components/Table/util/renderRow.js +37 -46
  329. package/dist/esm/components/Table/util/renderRow.js.map +1 -1
  330. package/dist/esm/components/Table/util/rowIndexPath.js +14 -16
  331. package/dist/esm/components/Table/util/rowIndexPath.js.map +1 -1
  332. package/dist/esm/components/Table/util/sortTypes.js +23 -31
  333. package/dist/esm/components/Table/util/sortTypes.js.map +1 -1
  334. package/dist/esm/components/Table/util.js +29 -41
  335. package/dist/esm/components/Table/util.js.map +1 -1
  336. package/dist/esm/components/Tabs/Tabs.js +25 -27
  337. package/dist/esm/components/Tabs/Tabs.js.map +1 -1
  338. package/dist/esm/components/Textarea/Textarea.js +8 -6
  339. package/dist/esm/components/Textarea/Textarea.js.map +1 -1
  340. package/dist/esm/components/Toast/Toast.js +20 -21
  341. package/dist/esm/components/Toast/Toast.js.map +1 -1
  342. package/dist/esm/components/Toast/Toaster.js +88 -118
  343. package/dist/esm/components/Toast/Toaster.js.map +1 -1
  344. package/dist/esm/components/Toast/util.js +2 -2
  345. package/dist/esm/components/Toast/util.js.map +1 -1
  346. package/dist/esm/components/Tooltip/Tooltip.js +7 -8
  347. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  348. package/dist/esm/components/Tour/Tour.js +44 -50
  349. package/dist/esm/components/Tour/Tour.js.map +1 -1
  350. package/dist/esm/components/Treeview/Treeview.js +26 -36
  351. package/dist/esm/components/Treeview/Treeview.js.map +1 -1
  352. package/dist/esm/components/VisuallyHidden/VisuallyHidden.js +1 -1
  353. package/dist/esm/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
  354. package/dist/esm/index.css +638 -638
  355. package/dist/esm/index.js +1 -1
  356. package/dist/esm/primitives/Button.js +9 -13
  357. package/dist/esm/primitives/Button.js.map +1 -1
  358. package/dist/esm/utils/date.js.map +1 -1
  359. package/dist/esm/utils/hooks/useBoundingClientRectListener.js +12 -20
  360. package/dist/esm/utils/hooks/useBoundingClientRectListener.js.map +1 -1
  361. package/dist/esm/utils/hooks/useDraggable.js +16 -18
  362. package/dist/esm/utils/hooks/useDraggable.js.map +1 -1
  363. package/dist/esm/utils/hooks/useDropTarget.js +7 -10
  364. package/dist/esm/utils/hooks/useDropTarget.js.map +1 -1
  365. package/dist/esm/utils/hooks/useListKeyboardNavigation.js.map +1 -1
  366. package/dist/esm/utils/hooks/useListScrollTo.js.map +1 -1
  367. package/dist/esm/utils/hooks/useOnClickOutside.js.map +1 -1
  368. package/dist/esm/utils/hooks/useProxiedRef.js +3 -3
  369. package/dist/esm/utils/hooks/useProxiedRef.js.map +1 -1
  370. package/dist/esm/utils/hooks/useTimer.js +9 -17
  371. package/dist/esm/utils/hooks/useTimer.js.map +1 -1
  372. package/dist/esm/utils/input.js +7 -11
  373. package/dist/esm/utils/input.js.map +1 -1
  374. package/dist/esm/utils/mergeRefs.js +2 -2
  375. package/dist/esm/utils/mergeRefs.js.map +1 -1
  376. package/dist/esm/utils/taillwind.js +2 -2
  377. package/dist/esm/utils/taillwind.js.map +1 -1
  378. package/dist/index.css +638 -638
  379. package/dist/taco.cjs.development.js +1944 -2316
  380. package/dist/taco.cjs.development.js.map +1 -1
  381. package/dist/taco.cjs.production.min.js +1 -1
  382. package/dist/taco.cjs.production.min.js.map +1 -1
  383. package/dist/utils/tailwind.d.ts +1 -1
  384. package/package.json +2 -2
  385. package/plugins/tailwindcss-aria-attributes.js +73 -73
  386. package/tailwind.config.js +297 -297
  387. package/types.json +550 -454
@@ -1,638 +1,638 @@
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
- [data-taco='dialog'] *:last-child {
397
- @apply mb-0;
398
- }
399
-
400
- .yt-form > [data-taco='button'] {
401
- @apply mr-3;
402
- }
403
-
404
- .yt-form.yt-form--horizontal > * {
405
- @apply mr-3 inline-flex;
406
- }
407
-
408
- .yt-form.yt-form--horizontal > *:last-child {
409
- @apply mr-0;
410
- }
411
-
412
- .yt-form.yt-form--horizontal > [data-taco='button'] {
413
- @apply mt-6;
414
- }
415
-
416
- [data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
417
- @apply ml-1;
418
- }
419
-
420
- [data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
421
- @apply ml-2;
422
- }
423
-
424
- [data-taco='hanger'] a {
425
- @apply text-grey underline;
426
- }
427
-
428
- [data-taco='hanger'] > *:last-child {
429
- @apply mb-0;
430
- }
431
-
432
- /* label inside label is invalid html, but the client is littered with it */
433
- [data-taco='label'] [data-taco='label'] {
434
- min-height: 0;
435
- }
436
-
437
- .yt-navigation__item a,
438
- .yt-navigation__item .yt-navigation__item__postfix {
439
- @apply text-black;
440
- }
441
-
442
- .yt-navigation__item .yt-navigation__item__prefix [data-taco='icon'] {
443
- @apply -mt-1 -mb-1 text-xs;
444
- margin-left: -0.375rem;
445
- margin-right: 0.15rem;
446
- }
447
-
448
- .yt-navigation__item:hover,
449
- .yt-navigation__item:hover a,
450
- .yt-navigation__item:hover .yt-navigation__item__postfix,
451
- .yt-navigation__item--active,
452
- .yt-navigation__item--active a,
453
- .yt-navigation__item--active .yt-navigation__item__postfix {
454
- @apply text-blue;
455
- }
456
-
457
- .yt-navigation__item--dropping,
458
- .yt-navigation__item--dropping a,
459
- .yt-navigation__item--dropping .yt-navigation__item__postfix {
460
- @apply text-white;
461
- }
462
-
463
- .yt-navigation__item:hover .yt-navigation__item__postfix [data-taco='badge']:not(.h-2),
464
- .yt-navigation__item--active .yt-navigation__item__postfix [data-taco='badge']:not(.h-2) {
465
- @apply yt-blue-inverted;
466
- }
467
-
468
- .yt-navigation__item--dropping > * {
469
- @apply pointer-events-none;
470
- }
471
-
472
- .yt-navigation__item--dropping .yt-navigation__item__postfix [data-taco='badge'] {
473
- @apply border-white text-white;
474
- }
475
-
476
- .yt-toast:hover [data-taco='progress-bar'] {
477
- animation-play-state: paused;
478
- }
479
-
480
- @keyframes progress {
481
- from {
482
- width: 100%;
483
- }
484
- to {
485
- width: 0%;
486
- }
487
- }
488
-
489
- @keyframes progress-indeterminate {
490
- 0% {
491
- margin-left: 0px;
492
- margin-right: 100%;
493
- }
494
- 50% {
495
- margin-left: 25%;
496
- margin-right: 0%;
497
- }
498
- 100% {
499
- margin-left: 100%;
500
- margin-right: 0;
501
- }
502
- }
503
-
504
- /* rows */
505
- .yt-table__row {
506
- @apply border-grey-light flex border-b;
507
- min-height: 2.5rem;
508
- }
509
-
510
- /* cells */
511
- .yt-table__cell > [data-taco='button'],
512
- .yt-table__cell > [data-taco='icon-button'] {
513
- @apply -mt-1 -mb-1 flex;
514
- }
515
-
516
- .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
517
- @apply text-white;
518
- }
519
-
520
- .yt-table__cell.yt-table__cell--draggable [data-taco='icon']:active {
521
- @apply cursor-grabbing;
522
- }
523
-
524
- .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
525
- @apply visible;
526
- }
527
-
528
- /* head */
529
- .yt-table__head .yt-table__row {
530
- @apply h-auto w-full select-none border-t-0 border-b-2 font-bold;
531
- }
532
-
533
- .yt-table__head .yt-table__head__group {
534
- @apply flex flex-1 flex-wrap;
535
- }
536
-
537
- .yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
538
- @apply border-grey-light border-b;
539
- flex-basis: 100%;
540
- }
541
-
542
- .yt-table__head .yt-table__head__group + .yt-table__head__group {
543
- @apply border-grey-light border-l;
544
- }
545
-
546
- .yt-table__head .yt-table__cell > [data-taco='icon'] {
547
- @apply flex-shrink-0;
548
- }
549
-
550
- .yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
551
- @apply border-grey-light border-l-2;
552
- }
553
-
554
- .yt-table.yt-table--windowed.table-with-scrollbar .yt-table__head {
555
- padding-right: 14px;
556
- }
557
-
558
- /* body */
559
-
560
- .yt-table__body .yt-table__row:first-child {
561
- @apply border-t-0;
562
- }
563
-
564
- .yt-table__body .yt-table__row.yt-table__row--clickable:hover,
565
- .yt-table__body .yt-table__row.yt-table__row--clickable.yt-table__row--active:hover {
566
- @apply cursor-pointer;
567
- }
568
-
569
- .yt-table__body .yt-table__row.yt-table__row__unselectable:hover,
570
- .yt-table__body .yt-table__row.yt-table__row__unselectable.yt-table__row--active:hover {
571
- @apply cursor-default;
572
- }
573
-
574
- .yt-table__body .yt-table__row.yt-table__row--active {
575
- @apply bg-grey-light;
576
- }
577
-
578
- .yt-table__body .yt-table__row.yt-table__row--dragging,
579
- .yt-table__body .yt-table__row.yt-table__row--dragging:hover {
580
- @apply bg-blue text-white;
581
- }
582
-
583
- /* edit */
584
- .yt-table__body .yt-table__row.yt-table__row--editing {
585
- @apply border-grey border-t;
586
- }
587
-
588
- .yt-table__body .yt-table__row.yt-table__row--editing,
589
- .yt-table__body .yt-table__row.yt-table__row--editing:hover {
590
- @apply wcag-grey-lightest;
591
- }
592
-
593
- .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell {
594
- @apply overflow-visible;
595
- overflow-wrap: normal;
596
- }
597
-
598
- .yt-table__cell [data-taco='label'] {
599
- @apply -my-2 pb-0 text-transparent;
600
- min-height: theme('spacing.10');
601
- }
602
-
603
- .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
604
- @apply mt-1;
605
- }
606
-
607
- .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
608
- @apply -mt-5;
609
- }
610
-
611
- .yt-table__cell [data-taco='label'] > [data-taco='label']__message {
612
- @apply mb-1;
613
- }
614
-
615
- /* drag */
616
- #yt-table__drag__placeholder {
617
- @apply bg-blue flex w-3/12 rounded p-4 font-bold text-white;
618
- }
619
-
620
- .yt-tabs .yt-tab__list[aria-orientation='vertical'] {
621
- @apply m-0 mr-4 flex-col border-0 border-r;
622
- }
623
-
624
- .yt-tabs .yt-tab__list .yt-tab[aria-selected='true'] {
625
- @apply border-blue text-black;
626
- }
627
-
628
- .yt-tabs.yt-tabs--vertical .yt-tab__list {
629
- @apply flex-initial;
630
- }
631
-
632
- .yt-tabs.yt-tabs--vertical .yt-tab__panel {
633
- @apply flex-grow;
634
- }
635
-
636
- .yt-tabs .yt-tab__list[aria-orientation='vertical'] .yt-tab {
637
- @apply rounded-none rounded-l border-0 border-r-2;
638
- }
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
+ [data-taco='dialog'] *:last-child {
397
+ @apply mb-0;
398
+ }
399
+
400
+ .yt-form > [data-taco='button'] {
401
+ @apply mr-3;
402
+ }
403
+
404
+ .yt-form.yt-form--horizontal > * {
405
+ @apply mr-3 inline-flex;
406
+ }
407
+
408
+ .yt-form.yt-form--horizontal > *:last-child {
409
+ @apply mr-0;
410
+ }
411
+
412
+ .yt-form.yt-form--horizontal > [data-taco='button'] {
413
+ @apply mt-6;
414
+ }
415
+
416
+ [data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
417
+ @apply ml-1;
418
+ }
419
+
420
+ [data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
421
+ @apply ml-2;
422
+ }
423
+
424
+ [data-taco='hanger'] a {
425
+ @apply text-grey underline;
426
+ }
427
+
428
+ [data-taco='hanger'] > *:last-child {
429
+ @apply mb-0;
430
+ }
431
+
432
+ /* label inside label is invalid html, but the client is littered with it */
433
+ [data-taco='label'] [data-taco='label'] {
434
+ min-height: 0;
435
+ }
436
+
437
+ .yt-navigation__item a,
438
+ .yt-navigation__item .yt-navigation__item__postfix {
439
+ @apply text-black;
440
+ }
441
+
442
+ .yt-navigation__item .yt-navigation__item__prefix [data-taco='icon'] {
443
+ @apply -mt-1 -mb-1 text-xs;
444
+ margin-left: -0.375rem;
445
+ margin-right: 0.15rem;
446
+ }
447
+
448
+ .yt-navigation__item:hover,
449
+ .yt-navigation__item:hover a,
450
+ .yt-navigation__item:hover .yt-navigation__item__postfix,
451
+ .yt-navigation__item--active,
452
+ .yt-navigation__item--active a,
453
+ .yt-navigation__item--active .yt-navigation__item__postfix {
454
+ @apply text-blue;
455
+ }
456
+
457
+ .yt-navigation__item--dropping,
458
+ .yt-navigation__item--dropping a,
459
+ .yt-navigation__item--dropping .yt-navigation__item__postfix {
460
+ @apply text-white;
461
+ }
462
+
463
+ .yt-navigation__item:hover .yt-navigation__item__postfix [data-taco='badge']:not(.h-2),
464
+ .yt-navigation__item--active .yt-navigation__item__postfix [data-taco='badge']:not(.h-2) {
465
+ @apply yt-blue-inverted;
466
+ }
467
+
468
+ .yt-navigation__item--dropping > * {
469
+ @apply pointer-events-none;
470
+ }
471
+
472
+ .yt-navigation__item--dropping .yt-navigation__item__postfix [data-taco='badge'] {
473
+ @apply border-white text-white;
474
+ }
475
+
476
+ .yt-toast:hover [data-taco='progress-bar'] {
477
+ animation-play-state: paused;
478
+ }
479
+
480
+ @keyframes progress {
481
+ from {
482
+ width: 100%;
483
+ }
484
+ to {
485
+ width: 0%;
486
+ }
487
+ }
488
+
489
+ @keyframes progress-indeterminate {
490
+ 0% {
491
+ margin-left: 0px;
492
+ margin-right: 100%;
493
+ }
494
+ 50% {
495
+ margin-left: 25%;
496
+ margin-right: 0%;
497
+ }
498
+ 100% {
499
+ margin-left: 100%;
500
+ margin-right: 0;
501
+ }
502
+ }
503
+
504
+ /* rows */
505
+ .yt-table__row {
506
+ @apply border-grey-light flex border-b;
507
+ min-height: 2.5rem;
508
+ }
509
+
510
+ /* cells */
511
+ .yt-table__cell > [data-taco='button'],
512
+ .yt-table__cell > [data-taco='icon-button'] {
513
+ @apply -mt-1 -mb-1 flex;
514
+ }
515
+
516
+ .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
517
+ @apply text-white;
518
+ }
519
+
520
+ .yt-table__cell.yt-table__cell--draggable [data-taco='icon']:active {
521
+ @apply cursor-grabbing;
522
+ }
523
+
524
+ .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
525
+ @apply visible;
526
+ }
527
+
528
+ /* head */
529
+ .yt-table__head .yt-table__row {
530
+ @apply h-auto w-full select-none border-t-0 border-b-2 font-bold;
531
+ }
532
+
533
+ .yt-table__head .yt-table__head__group {
534
+ @apply flex flex-1 flex-wrap;
535
+ }
536
+
537
+ .yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
538
+ @apply border-grey-light border-b;
539
+ flex-basis: 100%;
540
+ }
541
+
542
+ .yt-table__head .yt-table__head__group + .yt-table__head__group {
543
+ @apply border-grey-light border-l;
544
+ }
545
+
546
+ .yt-table__head .yt-table__cell > [data-taco='icon'] {
547
+ @apply flex-shrink-0;
548
+ }
549
+
550
+ .yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
551
+ @apply border-grey-light border-l-2;
552
+ }
553
+
554
+ .yt-table.yt-table--windowed.table-with-scrollbar .yt-table__head {
555
+ padding-right: 14px;
556
+ }
557
+
558
+ /* body */
559
+
560
+ .yt-table__body .yt-table__row:first-child {
561
+ @apply border-t-0;
562
+ }
563
+
564
+ .yt-table__body .yt-table__row.yt-table__row--clickable:hover,
565
+ .yt-table__body .yt-table__row.yt-table__row--clickable.yt-table__row--active:hover {
566
+ @apply cursor-pointer;
567
+ }
568
+
569
+ .yt-table__body .yt-table__row.yt-table__row__unselectable:hover,
570
+ .yt-table__body .yt-table__row.yt-table__row__unselectable.yt-table__row--active:hover {
571
+ @apply cursor-default;
572
+ }
573
+
574
+ .yt-table__body .yt-table__row.yt-table__row--active {
575
+ @apply bg-grey-light;
576
+ }
577
+
578
+ .yt-table__body .yt-table__row.yt-table__row--dragging,
579
+ .yt-table__body .yt-table__row.yt-table__row--dragging:hover {
580
+ @apply bg-blue text-white;
581
+ }
582
+
583
+ /* edit */
584
+ .yt-table__body .yt-table__row.yt-table__row--editing {
585
+ @apply border-grey border-t;
586
+ }
587
+
588
+ .yt-table__body .yt-table__row.yt-table__row--editing,
589
+ .yt-table__body .yt-table__row.yt-table__row--editing:hover {
590
+ @apply wcag-grey-lightest;
591
+ }
592
+
593
+ .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell {
594
+ @apply overflow-visible;
595
+ overflow-wrap: normal;
596
+ }
597
+
598
+ .yt-table__cell [data-taco='label'] {
599
+ @apply -my-2 pb-0 text-transparent;
600
+ min-height: theme('spacing.10');
601
+ }
602
+
603
+ .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
604
+ @apply mt-1;
605
+ }
606
+
607
+ .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
608
+ @apply -mt-5;
609
+ }
610
+
611
+ .yt-table__cell [data-taco='label'] > [data-taco='label']__message {
612
+ @apply mb-1;
613
+ }
614
+
615
+ /* drag */
616
+ #yt-table__drag__placeholder {
617
+ @apply bg-blue flex w-3/12 rounded p-4 font-bold text-white;
618
+ }
619
+
620
+ .yt-tabs .yt-tab__list[aria-orientation='vertical'] {
621
+ @apply m-0 mr-4 flex-col border-0 border-r;
622
+ }
623
+
624
+ .yt-tabs .yt-tab__list .yt-tab[aria-selected='true'] {
625
+ @apply border-blue text-black;
626
+ }
627
+
628
+ .yt-tabs.yt-tabs--vertical .yt-tab__list {
629
+ @apply flex-initial;
630
+ }
631
+
632
+ .yt-tabs.yt-tabs--vertical .yt-tab__panel {
633
+ @apply flex-grow;
634
+ }
635
+
636
+ .yt-tabs .yt-tab__list[aria-orientation='vertical'] .yt-tab {
637
+ @apply rounded-none rounded-l border-0 border-r-2;
638
+ }