@economic/taco 1.0.9 → 1.1.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.
- package/README.md +84 -84
- package/dist/components/Menu/Context.d.ts +0 -5
- package/dist/components/Menu/Menu.d.ts +0 -3
- package/dist/esm/components/Accordion/Accordion.js.map +1 -1
- package/dist/esm/components/Backdrop/Backdrop.js.map +1 -1
- package/dist/esm/components/Badge/Badge.js.map +1 -1
- package/dist/esm/components/Banner/Banner.js.map +1 -1
- package/dist/esm/components/Banner/util.js +1 -1
- package/dist/esm/components/Banner/util.js.map +1 -1
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Button/util.js +24 -19
- package/dist/esm/components/Button/util.js.map +1 -1
- package/dist/esm/components/Calendar/Calendar.js.map +1 -1
- package/dist/esm/components/Card/Card.js.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/components/Combobox/Combobox.js.map +1 -1
- package/dist/esm/components/Combobox/useCombobox.js +87 -67
- package/dist/esm/components/Combobox/useCombobox.js.map +1 -1
- package/dist/esm/components/Datepicker/Datepicker.js.map +1 -1
- package/dist/esm/components/Datepicker/useDatepicker.js +34 -27
- package/dist/esm/components/Datepicker/useDatepicker.js.map +1 -1
- package/dist/esm/components/Dialog/Context.js +4 -4
- package/dist/esm/components/Dialog/Context.js.map +1 -1
- package/dist/esm/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/components/Dialog/components/Content.js +44 -39
- package/dist/esm/components/Dialog/components/Content.js.map +1 -1
- package/dist/esm/components/Dialog/components/Drawer.js +3 -3
- package/dist/esm/components/Dialog/components/Drawer.js.map +1 -1
- package/dist/esm/components/Dialog/components/Extra.js +2 -2
- package/dist/esm/components/Dialog/components/Extra.js.map +1 -1
- package/dist/esm/components/Dialog/components/Trigger.js +2 -2
- package/dist/esm/components/Dialog/components/Trigger.js.map +1 -1
- package/dist/esm/components/Field/Field.js.map +1 -1
- package/dist/esm/components/Form/Form.js.map +1 -1
- package/dist/esm/components/Group/Group.js.map +1 -1
- package/dist/esm/components/Hanger/Hanger.js.map +1 -1
- package/dist/esm/components/HoverCard/HoverCard.js.map +1 -1
- package/dist/esm/components/Icon/Icon.js.map +1 -1
- package/dist/esm/components/Icon/components/AccountPreview.js.map +1 -1
- package/dist/esm/components/Icon/components/Accounting.js.map +1 -1
- package/dist/esm/components/Icon/components/AccountingYear.js.map +1 -1
- package/dist/esm/components/Icon/components/AccountingYearCancel.js.map +1 -1
- package/dist/esm/components/Icon/components/ArrowBottom.js.map +1 -1
- package/dist/esm/components/Icon/components/ArrowDown.js.map +1 -1
- package/dist/esm/components/Icon/components/ArrowEnd.js.map +1 -1
- package/dist/esm/components/Icon/components/ArrowLeft.js.map +1 -1
- package/dist/esm/components/Icon/components/ArrowRight.js.map +1 -1
- package/dist/esm/components/Icon/components/ArrowStart.js.map +1 -1
- package/dist/esm/components/Icon/components/ArrowTop.js.map +1 -1
- package/dist/esm/components/Icon/components/ArrowUp.js.map +1 -1
- package/dist/esm/components/Icon/components/Attach.js.map +1 -1
- package/dist/esm/components/Icon/components/AttachAuto.js.map +1 -1
- package/dist/esm/components/Icon/components/AttachCancel.js.map +1 -1
- package/dist/esm/components/Icon/components/Autotext.js.map +1 -1
- package/dist/esm/components/Icon/components/AutotextInsert.js.map +1 -1
- package/dist/esm/components/Icon/components/Basic.js.map +1 -1
- package/dist/esm/components/Icon/components/BasicTabs.js.map +1 -1
- package/dist/esm/components/Icon/components/BellSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/Book.js.map +1 -1
- package/dist/esm/components/Icon/components/Booking.js.map +1 -1
- package/dist/esm/components/Icon/components/Budget.js.map +1 -1
- package/dist/esm/components/Icon/components/Calendar.js.map +1 -1
- package/dist/esm/components/Icon/components/CashAccount.js.map +1 -1
- package/dist/esm/components/Icon/components/CashReports.js.map +1 -1
- package/dist/esm/components/Icon/components/Chat.js.map +1 -1
- package/dist/esm/components/Icon/components/ChatSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronDown.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronDownDouble.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronDownSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronLeft.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronLeftDouble.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronRight.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronRightDouble.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronUp.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronUpDouble.js.map +1 -1
- package/dist/esm/components/Icon/components/ChevronUpSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/CircleClose.js.map +1 -1
- package/dist/esm/components/Icon/components/CircleMinus.js.map +1 -1
- package/dist/esm/components/Icon/components/CirclePlus.js.map +1 -1
- package/dist/esm/components/Icon/components/CircleTick.js.map +1 -1
- package/dist/esm/components/Icon/components/Clamp.js.map +1 -1
- package/dist/esm/components/Icon/components/ClampOpen.js.map +1 -1
- package/dist/esm/components/Icon/components/Close.js.map +1 -1
- package/dist/esm/components/Icon/components/ConnectionEnable.js.map +1 -1
- package/dist/esm/components/Icon/components/ConnectionRevoke.js.map +1 -1
- package/dist/esm/components/Icon/components/Contacts.js.map +1 -1
- package/dist/esm/components/Icon/components/Copy.js.map +1 -1
- package/dist/esm/components/Icon/components/Courses.js.map +1 -1
- package/dist/esm/components/Icon/components/Credit.js.map +1 -1
- package/dist/esm/components/Icon/components/Delete.js.map +1 -1
- package/dist/esm/components/Icon/components/DeletePermanently.js.map +1 -1
- package/dist/esm/components/Icon/components/Depecriate.js.map +1 -1
- package/dist/esm/components/Icon/components/Developer.js.map +1 -1
- package/dist/esm/components/Icon/components/DistributionTemplate.js.map +1 -1
- package/dist/esm/components/Icon/components/Document.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentApprove.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentCreateEntry.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentCut.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentError.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentIsolatePage.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentMerge.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentMove.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentPreview.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentReceived.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentRejectedRequest.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentSplit.js.map +1 -1
- package/dist/esm/components/Icon/components/DocumentTime.js.map +1 -1
- package/dist/esm/components/Icon/components/Download.js.map +1 -1
- package/dist/esm/components/Icon/components/Drag.js.map +1 -1
- package/dist/esm/components/Icon/components/ECopedia.js.map +1 -1
- package/dist/esm/components/Icon/components/ESignature.js.map +1 -1
- package/dist/esm/components/Icon/components/Edit.js.map +1 -1
- package/dist/esm/components/Icon/components/EllipsisHorizontal.js.map +1 -1
- package/dist/esm/components/Icon/components/EllipsisVertical.js.map +1 -1
- package/dist/esm/components/Icon/components/EntriesOnAccount.js.map +1 -1
- package/dist/esm/components/Icon/components/EntriesOpen.js.map +1 -1
- package/dist/esm/components/Icon/components/EntriesWarning.js.map +1 -1
- package/dist/esm/components/Icon/components/EntryTypeCustomerInvoice.js.map +1 -1
- package/dist/esm/components/Icon/components/EntryTypeCustomerPayment.js.map +1 -1
- package/dist/esm/components/Icon/components/EntryTypeJournalEntry.js.map +1 -1
- package/dist/esm/components/Icon/components/EntryTypeManualCustomerInvoice.js.map +1 -1
- package/dist/esm/components/Icon/components/EntryTypeSupplierInvoice.js.map +1 -1
- package/dist/esm/components/Icon/components/EntryTypeSupplierPayment.js.map +1 -1
- package/dist/esm/components/Icon/components/Envelope.js.map +1 -1
- package/dist/esm/components/Icon/components/EnvelopeApproved.js.map +1 -1
- package/dist/esm/components/Icon/components/ExpandView.js.map +1 -1
- package/dist/esm/components/Icon/components/Expenses.js.map +1 -1
- package/dist/esm/components/Icon/components/Export.js.map +1 -1
- package/dist/esm/components/Icon/components/ExportToExcel.js.map +1 -1
- package/dist/esm/components/Icon/components/ExportToPdf.js.map +1 -1
- package/dist/esm/components/Icon/components/Filter.js.map +1 -1
- package/dist/esm/components/Icon/components/FilterSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/GraphSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/Hash.js.map +1 -1
- package/dist/esm/components/Icon/components/Home.js.map +1 -1
- package/dist/esm/components/Icon/components/Images.js.map +1 -1
- package/dist/esm/components/Icon/components/Import.js.map +1 -1
- package/dist/esm/components/Icon/components/Inbox.js.map +1 -1
- package/dist/esm/components/Icon/components/InboxEinvoicing.js.map +1 -1
- package/dist/esm/components/Icon/components/InboxScanning.js.map +1 -1
- package/dist/esm/components/Icon/components/InboxSmart.js.map +1 -1
- package/dist/esm/components/Icon/components/Info.js.map +1 -1
- package/dist/esm/components/Icon/components/Inventory.js.map +1 -1
- package/dist/esm/components/Icon/components/InventoryMatrix.js.map +1 -1
- package/dist/esm/components/Icon/components/JournalPro.js.map +1 -1
- package/dist/esm/components/Icon/components/Layout.js.map +1 -1
- package/dist/esm/components/Icon/components/LayoutBoth.js.map +1 -1
- package/dist/esm/components/Icon/components/LayoutFirst.js.map +1 -1
- package/dist/esm/components/Icon/components/LayoutLast.js.map +1 -1
- package/dist/esm/components/Icon/components/LayoutNone.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCard.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCardCustomerReminder.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCardManualCustomerInvoice.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCardObsoleteStock.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCardOpeningEntry.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCardReservedEntry.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCardShrinkagePilferage.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCardStockAdjustment.js.map +1 -1
- package/dist/esm/components/Icon/components/LedgerCardTransferredOpeningEntry.js.map +1 -1
- package/dist/esm/components/Icon/components/Lightbulb.js.map +1 -1
- package/dist/esm/components/Icon/components/Line.js.map +1 -1
- package/dist/esm/components/Icon/components/List.js.map +1 -1
- package/dist/esm/components/Icon/components/ListBulleted.js.map +1 -1
- package/dist/esm/components/Icon/components/ListSearch.js.map +1 -1
- package/dist/esm/components/Icon/components/LockOpen.js.map +1 -1
- package/dist/esm/components/Icon/components/Log.js.map +1 -1
- package/dist/esm/components/Icon/components/Market.js.map +1 -1
- package/dist/esm/components/Icon/components/MatchAmount.js.map +1 -1
- package/dist/esm/components/Icon/components/MatchEntries.js.map +1 -1
- package/dist/esm/components/Icon/components/Mileage.js.map +1 -1
- package/dist/esm/components/Icon/components/ModalResize.js.map +1 -1
- package/dist/esm/components/Icon/components/ModalShrink.js.map +1 -1
- package/dist/esm/components/Icon/components/More.js.map +1 -1
- package/dist/esm/components/Icon/components/MoreSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/Move.js.map +1 -1
- package/dist/esm/components/Icon/components/NavigationList.js.map +1 -1
- package/dist/esm/components/Icon/components/Note.js.map +1 -1
- package/dist/esm/components/Icon/components/NoteFollowUp.js.map +1 -1
- package/dist/esm/components/Icon/components/NoteRead.js.map +1 -1
- package/dist/esm/components/Icon/components/PartnerApi.js.map +1 -1
- package/dist/esm/components/Icon/components/Period.js.map +1 -1
- package/dist/esm/components/Icon/components/PersonChange.js.map +1 -1
- package/dist/esm/components/Icon/components/PersonMinus.js.map +1 -1
- package/dist/esm/components/Icon/components/PersonPlus.js.map +1 -1
- package/dist/esm/components/Icon/components/PersonTick.js.map +1 -1
- package/dist/esm/components/Icon/components/Play.js.map +1 -1
- package/dist/esm/components/Icon/components/PlusMinus.js.map +1 -1
- package/dist/esm/components/Icon/components/Print.js.map +1 -1
- package/dist/esm/components/Icon/components/ProcessPayment.js.map +1 -1
- package/dist/esm/components/Icon/components/ProductLedgerCard.js.map +1 -1
- package/dist/esm/components/Icon/components/ProjectCards.js.map +1 -1
- package/dist/esm/components/Icon/components/Projects.js.map +1 -1
- package/dist/esm/components/Icon/components/Quicklinks.js.map +1 -1
- package/dist/esm/components/Icon/components/RatingBankruptcy.js.map +1 -1
- package/dist/esm/components/Icon/components/RatingPaymentProblems.js.map +1 -1
- package/dist/esm/components/Icon/components/Reconciled.js.map +1 -1
- package/dist/esm/components/Icon/components/Refresh.js.map +1 -1
- package/dist/esm/components/Icon/components/Report.js.map +1 -1
- package/dist/esm/components/Icon/components/ReportSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/Restore.js.map +1 -1
- package/dist/esm/components/Icon/components/RotateLeft.js.map +1 -1
- package/dist/esm/components/Icon/components/RotateRight.js.map +1 -1
- package/dist/esm/components/Icon/components/Sales.js.map +1 -1
- package/dist/esm/components/Icon/components/Search.js.map +1 -1
- package/dist/esm/components/Icon/components/SearchBold.js.map +1 -1
- package/dist/esm/components/Icon/components/Secure.js.map +1 -1
- package/dist/esm/components/Icon/components/SecureTick.js.map +1 -1
- package/dist/esm/components/Icon/components/Settings.js.map +1 -1
- package/dist/esm/components/Icon/components/SettingsSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/Shortcuts.js.map +1 -1
- package/dist/esm/components/Icon/components/ShowAll.js.map +1 -1
- package/dist/esm/components/Icon/components/ShowLess.js.map +1 -1
- package/dist/esm/components/Icon/components/ShowMore.js.map +1 -1
- package/dist/esm/components/Icon/components/ShowTemplate.js.map +1 -1
- package/dist/esm/components/Icon/components/Sliders.js.map +1 -1
- package/dist/esm/components/Icon/components/Smartpay.js.map +1 -1
- package/dist/esm/components/Icon/components/SortBy.js.map +1 -1
- package/dist/esm/components/Icon/components/Spinner.js.map +1 -1
- package/dist/esm/components/Icon/components/Star.js.map +1 -1
- package/dist/esm/components/Icon/components/StarSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/Subscriptions.js.map +1 -1
- package/dist/esm/components/Icon/components/SystemEntries.js.map +1 -1
- package/dist/esm/components/Icon/components/Tag.js.map +1 -1
- package/dist/esm/components/Icon/components/TemplateOverride.js.map +1 -1
- package/dist/esm/components/Icon/components/Templates.js.map +1 -1
- package/dist/esm/components/Icon/components/ThumbBoth.js.map +1 -1
- package/dist/esm/components/Icon/components/ThumbDown.js.map +1 -1
- package/dist/esm/components/Icon/components/ThumbDownSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/ThumbUp.js.map +1 -1
- package/dist/esm/components/Icon/components/ThumbUpSolid.js.map +1 -1
- package/dist/esm/components/Icon/components/Tick.js.map +1 -1
- package/dist/esm/components/Icon/components/Time.js.map +1 -1
- package/dist/esm/components/Icon/components/Transfer.js.map +1 -1
- package/dist/esm/components/Icon/components/TransferCancel.js.map +1 -1
- package/dist/esm/components/Icon/components/TransferLocked.js.map +1 -1
- package/dist/esm/components/Icon/components/Undock.js.map +1 -1
- package/dist/esm/components/Icon/components/Unreconciled.js.map +1 -1
- package/dist/esm/components/Icon/components/Warning.js.map +1 -1
- package/dist/esm/components/Icon/components/Webshop.js.map +1 -1
- package/dist/esm/components/Icon/components/Website.js.map +1 -1
- package/dist/esm/components/Icon/components/Workflow.js.map +1 -1
- package/dist/esm/components/Icon/components/Zoom.js.map +1 -1
- package/dist/esm/components/Icon/components/index.js +4 -4
- package/dist/esm/components/Icon/components/index.js.map +1 -1
- package/dist/esm/components/IconButton/IconButton.js.map +1 -1
- package/dist/esm/components/Input/Input.js.map +1 -1
- package/dist/esm/components/Input/util.js +2 -2
- package/dist/esm/components/Input/util.js.map +1 -1
- package/dist/esm/components/Listbox/Listbox.js.map +1 -1
- package/dist/esm/components/Listbox/ScrollableList.js +83 -64
- package/dist/esm/components/Listbox/ScrollableList.js.map +1 -1
- package/dist/esm/components/Listbox/useListbox.js +60 -51
- package/dist/esm/components/Listbox/useListbox.js.map +1 -1
- package/dist/esm/components/Listbox/useMultiListbox.js +91 -64
- package/dist/esm/components/Listbox/useMultiListbox.js.map +1 -1
- package/dist/esm/components/Listbox/useTypeahead.js +9 -10
- package/dist/esm/components/Listbox/useTypeahead.js.map +1 -1
- package/dist/esm/components/Listbox/util.js +85 -48
- package/dist/esm/components/Listbox/util.js.map +1 -1
- package/dist/esm/components/Menu/Context.js +2 -2
- package/dist/esm/components/Menu/Context.js.map +1 -1
- package/dist/esm/components/Menu/Menu.js +9 -18
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/Menu/components/Checkbox.js +9 -8
- package/dist/esm/components/Menu/components/Checkbox.js.map +1 -1
- package/dist/esm/components/Menu/components/Content.js +9 -27
- package/dist/esm/components/Menu/components/Content.js.map +1 -1
- package/dist/esm/components/Menu/components/Header.js +3 -23
- package/dist/esm/components/Menu/components/Header.js.map +1 -1
- package/dist/esm/components/Menu/components/Item.js +32 -79
- package/dist/esm/components/Menu/components/Item.js.map +1 -1
- package/dist/esm/components/Menu/components/Link.js +11 -10
- package/dist/esm/components/Menu/components/Link.js.map +1 -1
- package/dist/esm/components/Menu/components/RadioGroup.js +18 -16
- package/dist/esm/components/Menu/components/RadioGroup.js.map +1 -1
- package/dist/esm/components/Menu/components/Separator.js +2 -26
- package/dist/esm/components/Menu/components/Separator.js.map +1 -1
- package/dist/esm/components/Menu/components/Trigger.js +5 -17
- package/dist/esm/components/Menu/components/Trigger.js.map +1 -1
- package/dist/esm/components/Navigation/Navigation.js.map +1 -1
- package/dist/esm/components/Pagination/PageNumbers.js +28 -23
- package/dist/esm/components/Pagination/PageNumbers.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/Pagination/usePagination.js +21 -7
- package/dist/esm/components/Pagination/usePagination.js.map +1 -1
- package/dist/esm/components/Pagination/usePaginationShortcuts.js +9 -9
- package/dist/esm/components/Pagination/usePaginationShortcuts.js.map +1 -1
- package/dist/esm/components/Popover/Popover.js.map +1 -1
- package/dist/esm/components/Popover/Primitives.js +8 -7
- package/dist/esm/components/Popover/Primitives.js.map +1 -1
- package/dist/esm/components/Progress/Progress.js.map +1 -1
- package/dist/esm/components/Provider/Provider.js.map +1 -1
- package/dist/esm/components/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Select/useSelect.js +81 -63
- package/dist/esm/components/Select/useSelect.js.map +1 -1
- package/dist/esm/components/Spinner/Spinner.js.map +1 -1
- package/dist/esm/components/Switch/Switch.js.map +1 -1
- package/dist/esm/components/Table/components/BaseTable.js +30 -23
- package/dist/esm/components/Table/components/BaseTable.js.map +1 -1
- package/dist/esm/components/Table/components/PaginatedTable.js +7 -3
- package/dist/esm/components/Table/components/PaginatedTable.js.map +1 -1
- package/dist/esm/components/Table/components/Table.js +25 -18
- package/dist/esm/components/Table/components/Table.js.map +1 -1
- package/dist/esm/components/Table/components/WindowedTable.js +104 -88
- package/dist/esm/components/Table/components/WindowedTable.js.map +1 -1
- package/dist/esm/components/Table/hooks/plugins/useRowActions.js +146 -122
- package/dist/esm/components/Table/hooks/plugins/useRowActions.js.map +1 -1
- package/dist/esm/components/Table/hooks/plugins/useRowDraggable.js +61 -57
- package/dist/esm/components/Table/hooks/plugins/useRowDraggable.js.map +1 -1
- package/dist/esm/components/Table/hooks/plugins/useRowEditing.js +36 -39
- package/dist/esm/components/Table/hooks/plugins/useRowEditing.js.map +1 -1
- package/dist/esm/components/Table/hooks/plugins/useRowSelect.js +89 -79
- package/dist/esm/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
- package/dist/esm/components/Table/hooks/useRowCreation.js +64 -29
- package/dist/esm/components/Table/hooks/useRowCreation.js.map +1 -1
- package/dist/esm/components/Table/hooks/useTable.js +141 -119
- package/dist/esm/components/Table/hooks/useTable.js.map +1 -1
- package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js +15 -12
- package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
- package/dist/esm/components/Table/util/renderColumn.js +10 -10
- package/dist/esm/components/Table/util/renderColumn.js.map +1 -1
- package/dist/esm/components/Table/util/renderRow.js +46 -37
- package/dist/esm/components/Table/util/renderRow.js.map +1 -1
- package/dist/esm/components/Table/util/rowIndexPath.js +16 -14
- package/dist/esm/components/Table/util/rowIndexPath.js.map +1 -1
- package/dist/esm/components/Table/util/sortTypes.js +31 -23
- package/dist/esm/components/Table/util/sortTypes.js.map +1 -1
- package/dist/esm/components/Table/util.js +41 -29
- package/dist/esm/components/Table/util.js.map +1 -1
- package/dist/esm/components/Tabs/Tabs.js +1 -1
- package/dist/esm/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/components/Textarea/Textarea.js.map +1 -1
- package/dist/esm/components/Toast/Toast.js +21 -20
- package/dist/esm/components/Toast/Toast.js.map +1 -1
- package/dist/esm/components/Toast/Toaster.js.map +1 -1
- package/dist/esm/components/Toast/util.js +2 -2
- package/dist/esm/components/Toast/util.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/components/Tour/Tour.js.map +1 -1
- package/dist/esm/components/Treeview/Treeview.js.map +1 -1
- package/dist/esm/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/dist/esm/index.css +661 -661
- package/dist/esm/index.js +1 -1
- package/dist/esm/primitives/Button.js +13 -9
- package/dist/esm/primitives/Button.js.map +1 -1
- package/dist/esm/utils/date.js.map +1 -1
- package/dist/esm/utils/hooks/useBoundingClientRectListener.js.map +1 -1
- package/dist/esm/utils/hooks/useDraggable.js +18 -16
- package/dist/esm/utils/hooks/useDraggable.js.map +1 -1
- package/dist/esm/utils/hooks/useDropTarget.js +10 -7
- package/dist/esm/utils/hooks/useDropTarget.js.map +1 -1
- package/dist/esm/utils/hooks/useListKeyboardNavigation.js.map +1 -1
- package/dist/esm/utils/hooks/useListScrollTo.js.map +1 -1
- package/dist/esm/utils/hooks/useOnClickOutside.js.map +1 -1
- package/dist/esm/utils/hooks/useProxiedRef.js +3 -3
- package/dist/esm/utils/hooks/useProxiedRef.js.map +1 -1
- package/dist/esm/utils/hooks/useTimer.js +17 -9
- package/dist/esm/utils/hooks/useTimer.js.map +1 -1
- package/dist/esm/utils/input.js +11 -7
- package/dist/esm/utils/input.js.map +1 -1
- package/dist/esm/utils/mergeRefs.js +2 -2
- package/dist/esm/utils/mergeRefs.js.map +1 -1
- package/dist/esm/utils/taillwind.js +2 -2
- package/dist/esm/utils/taillwind.js.map +1 -1
- package/dist/index.css +661 -661
- package/dist/taco.cjs.development.js +1806 -1610
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/package.json +2 -2
- package/plugins/tailwindcss-aria-attributes.js +73 -73
- package/tailwind.config.js +297 -297
- package/types.json +329 -346
package/tailwind.config.js
CHANGED
@@ -1,297 +1,297 @@
|
|
1
|
-
const plugin = require('tailwindcss/plugin');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
theme: {
|
5
|
-
colors: {
|
6
|
-
transparent: 'transparent',
|
7
|
-
current: 'currentColor',
|
8
|
-
white: '#fff',
|
9
|
-
black: '#1c1c1c',
|
10
|
-
grey: {
|
11
|
-
lightest: '#fafafa',
|
12
|
-
light: '#efefef',
|
13
|
-
DEFAULT: '#ebebeb',
|
14
|
-
dark: '#ddd',
|
15
|
-
darker: '#acacac',
|
16
|
-
darkest: '#595959',
|
17
|
-
},
|
18
|
-
purple: {
|
19
|
-
lightest: '#585c74',
|
20
|
-
light: '#4b4f64',
|
21
|
-
DEFAULT: '#3d4153',
|
22
|
-
dark: '#353a48',
|
23
|
-
},
|
24
|
-
blue: {
|
25
|
-
lightest: '#e5efff',
|
26
|
-
light: '#6ba4ff',
|
27
|
-
DEFAULT: '#0063ff',
|
28
|
-
dark: '#0158e2',
|
29
|
-
},
|
30
|
-
red: {
|
31
|
-
lightest: '#f3cfc5',
|
32
|
-
light: '#e67355',
|
33
|
-
DEFAULT: '#cf3c16',
|
34
|
-
dark: '#b12d0b',
|
35
|
-
},
|
36
|
-
green: {
|
37
|
-
lightest: '#c4e1d7',
|
38
|
-
light: '#5caf93',
|
39
|
-
DEFAULT: '#138760',
|
40
|
-
dark: '#0c5f43',
|
41
|
-
},
|
42
|
-
yellow: {
|
43
|
-
lightest: '#fff1c3',
|
44
|
-
light: '#fddd70',
|
45
|
-
DEFAULT: '#ffc810',
|
46
|
-
dark: '#e89c2e',
|
47
|
-
},
|
48
|
-
},
|
49
|
-
fontFamily: {
|
50
|
-
display: ['Helvetica, Arial, sans-serif'],
|
51
|
-
mono: ['Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'],
|
52
|
-
},
|
53
|
-
extend: {
|
54
|
-
cursor: {
|
55
|
-
grab: 'grab',
|
56
|
-
grabbing: 'grabbing',
|
57
|
-
},
|
58
|
-
listStyleType: {
|
59
|
-
circle: 'circle',
|
60
|
-
},
|
61
|
-
spacing: {
|
62
|
-
18: '4.5rem',
|
63
|
-
72: '18rem',
|
64
|
-
80: '20rem',
|
65
|
-
88: '22rem',
|
66
|
-
96: '24rem',
|
67
|
-
104: '26rem',
|
68
|
-
112: '28rem',
|
69
|
-
120: '30rem',
|
70
|
-
128: '32rem',
|
71
|
-
xs: '32rem',
|
72
|
-
sm: '48rem',
|
73
|
-
md: '64rem',
|
74
|
-
lg: '80rem',
|
75
|
-
},
|
76
|
-
},
|
77
|
-
},
|
78
|
-
plugins: [
|
79
|
-
require('./plugins/tailwindcss-aria-attributes'),
|
80
|
-
plugin(function ({ addUtilities, theme }) {
|
81
|
-
// ideally we would do this using the @layer utilities directive, but
|
82
|
-
// that causes issues in tools like tailwind where the typescript is loaded before the css
|
83
|
-
// resulting in "yt-focus class does not exist" errors
|
84
|
-
addUtilities({
|
85
|
-
'.fixed-center': {
|
86
|
-
position: 'fixed',
|
87
|
-
left: '50%',
|
88
|
-
top: '50%',
|
89
|
-
transform: 'translateX(-50%) translateY(-50%)',
|
90
|
-
},
|
91
|
-
'.absolute-center': {
|
92
|
-
position: 'absolute',
|
93
|
-
left: '50%',
|
94
|
-
top: '50%',
|
95
|
-
transform: 'translateX(-50%) translateY(-50%)',
|
96
|
-
},
|
97
|
-
'.absolute-center-x': {
|
98
|
-
position: 'absolute',
|
99
|
-
left: '50%',
|
100
|
-
transform: 'translateX(-50%)',
|
101
|
-
},
|
102
|
-
'.absolute-center-y': {
|
103
|
-
position: 'absolute',
|
104
|
-
top: '50%',
|
105
|
-
transform: 'translateY(-50%)',
|
106
|
-
}, // WCAG contrast combinations
|
107
|
-
'.wcag-black': {
|
108
|
-
background: theme('colors.black'),
|
109
|
-
color: theme('colors.white'),
|
110
|
-
},
|
111
|
-
'.wcag-white': {
|
112
|
-
background: theme('colors.white'),
|
113
|
-
color: theme('colors.black'),
|
114
|
-
},
|
115
|
-
'.wcag-grey-lightest': {
|
116
|
-
background: theme('colors.grey.lightest'),
|
117
|
-
color: theme('colors.black'),
|
118
|
-
},
|
119
|
-
'.wcag-grey-light': {
|
120
|
-
background: theme('colors.grey.light'),
|
121
|
-
color: theme('colors.black'),
|
122
|
-
},
|
123
|
-
'.wcag-grey': {
|
124
|
-
background: theme('colors.grey.DEFAULT'),
|
125
|
-
color: theme('colors.black'),
|
126
|
-
},
|
127
|
-
'.wcag-grey-dark': {
|
128
|
-
background: theme('colors.grey.dark'),
|
129
|
-
color: theme('colors.black'),
|
130
|
-
},
|
131
|
-
'.wcag-grey-darker': {
|
132
|
-
background: theme('colors.grey.darker'),
|
133
|
-
color: theme('colors.white'),
|
134
|
-
},
|
135
|
-
'.wcag-grey-darkest': {
|
136
|
-
background: theme('colors.grey.darkest'),
|
137
|
-
color: theme('colors.white'),
|
138
|
-
},
|
139
|
-
'.wcag-purple-lightest': {
|
140
|
-
background: theme('colors.purple.lightest'),
|
141
|
-
color: theme('colors.white'),
|
142
|
-
},
|
143
|
-
'.wcag-purple-light': {
|
144
|
-
background: theme('colors.purple.light'),
|
145
|
-
color: theme('colors.white'),
|
146
|
-
},
|
147
|
-
'.wcag-purple': {
|
148
|
-
background: theme('colors.purple.DEFAULT'),
|
149
|
-
color: theme('colors.white'),
|
150
|
-
},
|
151
|
-
'.wcag-purple-dark': {
|
152
|
-
background: theme('colors.purple.dark'),
|
153
|
-
color: theme('colors.white'),
|
154
|
-
},
|
155
|
-
'.wcag-blue-lightest': {
|
156
|
-
background: theme('colors.blue.lightest'),
|
157
|
-
color: theme('colors.blue.dark'),
|
158
|
-
},
|
159
|
-
'.wcag-blue-light': {
|
160
|
-
background: theme('colors.blue.light'),
|
161
|
-
color: theme('colors.white'),
|
162
|
-
},
|
163
|
-
'.wcag-blue': {
|
164
|
-
background: theme('colors.blue.DEFAULT'),
|
165
|
-
color: theme('colors.white'),
|
166
|
-
},
|
167
|
-
'.wcag-blue-dark': {
|
168
|
-
background: theme('colors.blue.dark'),
|
169
|
-
color: theme('colors.white'),
|
170
|
-
},
|
171
|
-
'.wcag-red-lightest': {
|
172
|
-
background: theme('colors.red.lightest'),
|
173
|
-
color: theme('colors.red.dark'),
|
174
|
-
},
|
175
|
-
'.wcag-red-light': {
|
176
|
-
background: theme('colors.red.light'),
|
177
|
-
color: theme('colors.white'),
|
178
|
-
},
|
179
|
-
'.wcag-red': {
|
180
|
-
background: theme('colors.red.DEFAULT'),
|
181
|
-
color: theme('colors.white'),
|
182
|
-
},
|
183
|
-
'.wcag-red-dark': {
|
184
|
-
background: theme('colors.red.dark'),
|
185
|
-
color: theme('colors.white'),
|
186
|
-
},
|
187
|
-
'.wcag-green-lightest': {
|
188
|
-
background: theme('colors.green.lightest'),
|
189
|
-
color: theme('colors.black'),
|
190
|
-
},
|
191
|
-
'.wcag-green-light': {
|
192
|
-
background: theme('colors.green.light'),
|
193
|
-
color: theme('colors.black'),
|
194
|
-
},
|
195
|
-
'.wcag-green': {
|
196
|
-
background: theme('colors.green.DEFAULT'),
|
197
|
-
color: theme('colors.white'),
|
198
|
-
},
|
199
|
-
'.wcag-green-dark': {
|
200
|
-
background: theme('colors.green.dark'),
|
201
|
-
color: theme('colors.white'),
|
202
|
-
},
|
203
|
-
'.wcag-yellow-lightest': {
|
204
|
-
background: theme('colors.yellow.lightest'),
|
205
|
-
color: theme('colors.black'),
|
206
|
-
},
|
207
|
-
'.wcag-yellow-light': {
|
208
|
-
background: theme('colors.yellow.light'),
|
209
|
-
color: theme('colors.black'),
|
210
|
-
},
|
211
|
-
'.wcag-yellow': {
|
212
|
-
background: theme('colors.yellow.DEFAULT'),
|
213
|
-
color: theme('colors.black'),
|
214
|
-
},
|
215
|
-
'.wcag-yellow-dark': {
|
216
|
-
background: theme('colors.yellow.dark'),
|
217
|
-
color: theme('colors.white'),
|
218
|
-
},
|
219
|
-
// Legacy
|
220
|
-
'.yt-transparent': {
|
221
|
-
background: theme('colors.transparent'),
|
222
|
-
color: theme('colors.blue.DEFAULT'),
|
223
|
-
},
|
224
|
-
'.yt-focus': {
|
225
|
-
'box-shadow': '0 0 0 2px rgba(0, 99, 255, 0.25)',
|
226
|
-
outline: 'none',
|
227
|
-
},
|
228
|
-
'.yt-focus-green': {
|
229
|
-
'box-shadow': '0 0 0 0.15rem rgba(0, 213, 165, 0.25)',
|
230
|
-
outline: 'none',
|
231
|
-
},
|
232
|
-
'.yt-focus-yellow': {
|
233
|
-
'box-shadow': '0 0 0 0.15rem rgba(239, 125, 0, 0.25)',
|
234
|
-
outline: 'none',
|
235
|
-
},
|
236
|
-
'.yt-focus-red': {
|
237
|
-
'box-shadow': '0 0 0 0.15rem rgba(253, 99, 97, 0.25)',
|
238
|
-
outline: 'none',
|
239
|
-
},
|
240
|
-
'.yt-blue-solid': {
|
241
|
-
background: theme('colors.blue.DEFAULT'),
|
242
|
-
color: theme('colors.white'),
|
243
|
-
},
|
244
|
-
'.yt-blue-inverted': {
|
245
|
-
background: theme('colors.transparent'),
|
246
|
-
border: `1px solid ${theme('colors.blue.DEFAULT')}`,
|
247
|
-
color: theme('colors.blue.DEFAULT'),
|
248
|
-
},
|
249
|
-
'.yt-yellow-solid': {
|
250
|
-
background: theme('colors.yellow.DEFAULT'),
|
251
|
-
color: theme('colors.black'),
|
252
|
-
},
|
253
|
-
'.yt-yellow-inverted': {
|
254
|
-
background: theme('colors.transparent'),
|
255
|
-
border: `1px solid ${theme('colors.yellow.DEFAULT')}`,
|
256
|
-
color: theme('colors.yellow.DEFAULT'),
|
257
|
-
},
|
258
|
-
'.yt-red-solid': {
|
259
|
-
background: theme('colors.red.DEFAULT'),
|
260
|
-
color: theme('colors.white'),
|
261
|
-
},
|
262
|
-
'.yt-red-inverted': {
|
263
|
-
background: theme('colors.transparent'),
|
264
|
-
border: `1px solid ${theme('colors.red.DEFAULT')}`,
|
265
|
-
color: theme('colors.red.DEFAULT'),
|
266
|
-
},
|
267
|
-
'.yt-green-solid': {
|
268
|
-
background: theme('colors.green.DEFAULT'),
|
269
|
-
color: theme('colors.white'),
|
270
|
-
},
|
271
|
-
'.yt-green-inverted': {
|
272
|
-
background: theme('colors.transparent'),
|
273
|
-
border: `1px solid ${theme('colors.green.DEFAULT')}`,
|
274
|
-
color: theme('colors.green.DEFAULT'),
|
275
|
-
},
|
276
|
-
'.yt-grey-solid': {
|
277
|
-
background: theme('colors.grey.DEFAULT'),
|
278
|
-
color: theme('colors.black'),
|
279
|
-
},
|
280
|
-
'.yt-grey-inverted': {
|
281
|
-
background: theme('colors.transparent'),
|
282
|
-
border: `1px solid ${theme('colors.grey.darkest')}`,
|
283
|
-
color: theme('colors.grey.darkest'),
|
284
|
-
},
|
285
|
-
'.yt-shadow': {
|
286
|
-
'box-shadow': '0px 1px 3px 0px rgba(89, 85, 98, 0.35), 0px 0px 1px 0px rgba(89, 85, 98, 0.2)',
|
287
|
-
},
|
288
|
-
'.yt-shadow-inset': {
|
289
|
-
'box-shadow': 'inset 0px 1px 4px 0px rgba(89, 85, 98, 0.3), inset 0px 0px 1px 0px rgba(89, 85, 98, 0.2)',
|
290
|
-
},
|
291
|
-
'.pointer-events-all': {
|
292
|
-
'pointer-events': 'all',
|
293
|
-
},
|
294
|
-
});
|
295
|
-
}),
|
296
|
-
],
|
297
|
-
};
|
1
|
+
const plugin = require('tailwindcss/plugin');
|
2
|
+
|
3
|
+
module.exports = {
|
4
|
+
theme: {
|
5
|
+
colors: {
|
6
|
+
transparent: 'transparent',
|
7
|
+
current: 'currentColor',
|
8
|
+
white: '#fff',
|
9
|
+
black: '#1c1c1c',
|
10
|
+
grey: {
|
11
|
+
lightest: '#fafafa',
|
12
|
+
light: '#efefef',
|
13
|
+
DEFAULT: '#ebebeb',
|
14
|
+
dark: '#ddd',
|
15
|
+
darker: '#acacac',
|
16
|
+
darkest: '#595959',
|
17
|
+
},
|
18
|
+
purple: {
|
19
|
+
lightest: '#585c74',
|
20
|
+
light: '#4b4f64',
|
21
|
+
DEFAULT: '#3d4153',
|
22
|
+
dark: '#353a48',
|
23
|
+
},
|
24
|
+
blue: {
|
25
|
+
lightest: '#e5efff',
|
26
|
+
light: '#6ba4ff',
|
27
|
+
DEFAULT: '#0063ff',
|
28
|
+
dark: '#0158e2',
|
29
|
+
},
|
30
|
+
red: {
|
31
|
+
lightest: '#f3cfc5',
|
32
|
+
light: '#e67355',
|
33
|
+
DEFAULT: '#cf3c16',
|
34
|
+
dark: '#b12d0b',
|
35
|
+
},
|
36
|
+
green: {
|
37
|
+
lightest: '#c4e1d7',
|
38
|
+
light: '#5caf93',
|
39
|
+
DEFAULT: '#138760',
|
40
|
+
dark: '#0c5f43',
|
41
|
+
},
|
42
|
+
yellow: {
|
43
|
+
lightest: '#fff1c3',
|
44
|
+
light: '#fddd70',
|
45
|
+
DEFAULT: '#ffc810',
|
46
|
+
dark: '#e89c2e',
|
47
|
+
},
|
48
|
+
},
|
49
|
+
fontFamily: {
|
50
|
+
display: ['Helvetica, Arial, sans-serif'],
|
51
|
+
mono: ['Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'],
|
52
|
+
},
|
53
|
+
extend: {
|
54
|
+
cursor: {
|
55
|
+
grab: 'grab',
|
56
|
+
grabbing: 'grabbing',
|
57
|
+
},
|
58
|
+
listStyleType: {
|
59
|
+
circle: 'circle',
|
60
|
+
},
|
61
|
+
spacing: {
|
62
|
+
18: '4.5rem',
|
63
|
+
72: '18rem',
|
64
|
+
80: '20rem',
|
65
|
+
88: '22rem',
|
66
|
+
96: '24rem',
|
67
|
+
104: '26rem',
|
68
|
+
112: '28rem',
|
69
|
+
120: '30rem',
|
70
|
+
128: '32rem',
|
71
|
+
xs: '32rem',
|
72
|
+
sm: '48rem',
|
73
|
+
md: '64rem',
|
74
|
+
lg: '80rem',
|
75
|
+
},
|
76
|
+
},
|
77
|
+
},
|
78
|
+
plugins: [
|
79
|
+
require('./plugins/tailwindcss-aria-attributes'),
|
80
|
+
plugin(function ({ addUtilities, theme }) {
|
81
|
+
// ideally we would do this using the @layer utilities directive, but
|
82
|
+
// that causes issues in tools like tailwind where the typescript is loaded before the css
|
83
|
+
// resulting in "yt-focus class does not exist" errors
|
84
|
+
addUtilities({
|
85
|
+
'.fixed-center': {
|
86
|
+
position: 'fixed',
|
87
|
+
left: '50%',
|
88
|
+
top: '50%',
|
89
|
+
transform: 'translateX(-50%) translateY(-50%)',
|
90
|
+
},
|
91
|
+
'.absolute-center': {
|
92
|
+
position: 'absolute',
|
93
|
+
left: '50%',
|
94
|
+
top: '50%',
|
95
|
+
transform: 'translateX(-50%) translateY(-50%)',
|
96
|
+
},
|
97
|
+
'.absolute-center-x': {
|
98
|
+
position: 'absolute',
|
99
|
+
left: '50%',
|
100
|
+
transform: 'translateX(-50%)',
|
101
|
+
},
|
102
|
+
'.absolute-center-y': {
|
103
|
+
position: 'absolute',
|
104
|
+
top: '50%',
|
105
|
+
transform: 'translateY(-50%)',
|
106
|
+
}, // WCAG contrast combinations
|
107
|
+
'.wcag-black': {
|
108
|
+
background: theme('colors.black'),
|
109
|
+
color: theme('colors.white'),
|
110
|
+
},
|
111
|
+
'.wcag-white': {
|
112
|
+
background: theme('colors.white'),
|
113
|
+
color: theme('colors.black'),
|
114
|
+
},
|
115
|
+
'.wcag-grey-lightest': {
|
116
|
+
background: theme('colors.grey.lightest'),
|
117
|
+
color: theme('colors.black'),
|
118
|
+
},
|
119
|
+
'.wcag-grey-light': {
|
120
|
+
background: theme('colors.grey.light'),
|
121
|
+
color: theme('colors.black'),
|
122
|
+
},
|
123
|
+
'.wcag-grey': {
|
124
|
+
background: theme('colors.grey.DEFAULT'),
|
125
|
+
color: theme('colors.black'),
|
126
|
+
},
|
127
|
+
'.wcag-grey-dark': {
|
128
|
+
background: theme('colors.grey.dark'),
|
129
|
+
color: theme('colors.black'),
|
130
|
+
},
|
131
|
+
'.wcag-grey-darker': {
|
132
|
+
background: theme('colors.grey.darker'),
|
133
|
+
color: theme('colors.white'),
|
134
|
+
},
|
135
|
+
'.wcag-grey-darkest': {
|
136
|
+
background: theme('colors.grey.darkest'),
|
137
|
+
color: theme('colors.white'),
|
138
|
+
},
|
139
|
+
'.wcag-purple-lightest': {
|
140
|
+
background: theme('colors.purple.lightest'),
|
141
|
+
color: theme('colors.white'),
|
142
|
+
},
|
143
|
+
'.wcag-purple-light': {
|
144
|
+
background: theme('colors.purple.light'),
|
145
|
+
color: theme('colors.white'),
|
146
|
+
},
|
147
|
+
'.wcag-purple': {
|
148
|
+
background: theme('colors.purple.DEFAULT'),
|
149
|
+
color: theme('colors.white'),
|
150
|
+
},
|
151
|
+
'.wcag-purple-dark': {
|
152
|
+
background: theme('colors.purple.dark'),
|
153
|
+
color: theme('colors.white'),
|
154
|
+
},
|
155
|
+
'.wcag-blue-lightest': {
|
156
|
+
background: theme('colors.blue.lightest'),
|
157
|
+
color: theme('colors.blue.dark'),
|
158
|
+
},
|
159
|
+
'.wcag-blue-light': {
|
160
|
+
background: theme('colors.blue.light'),
|
161
|
+
color: theme('colors.white'),
|
162
|
+
},
|
163
|
+
'.wcag-blue': {
|
164
|
+
background: theme('colors.blue.DEFAULT'),
|
165
|
+
color: theme('colors.white'),
|
166
|
+
},
|
167
|
+
'.wcag-blue-dark': {
|
168
|
+
background: theme('colors.blue.dark'),
|
169
|
+
color: theme('colors.white'),
|
170
|
+
},
|
171
|
+
'.wcag-red-lightest': {
|
172
|
+
background: theme('colors.red.lightest'),
|
173
|
+
color: theme('colors.red.dark'),
|
174
|
+
},
|
175
|
+
'.wcag-red-light': {
|
176
|
+
background: theme('colors.red.light'),
|
177
|
+
color: theme('colors.white'),
|
178
|
+
},
|
179
|
+
'.wcag-red': {
|
180
|
+
background: theme('colors.red.DEFAULT'),
|
181
|
+
color: theme('colors.white'),
|
182
|
+
},
|
183
|
+
'.wcag-red-dark': {
|
184
|
+
background: theme('colors.red.dark'),
|
185
|
+
color: theme('colors.white'),
|
186
|
+
},
|
187
|
+
'.wcag-green-lightest': {
|
188
|
+
background: theme('colors.green.lightest'),
|
189
|
+
color: theme('colors.black'),
|
190
|
+
},
|
191
|
+
'.wcag-green-light': {
|
192
|
+
background: theme('colors.green.light'),
|
193
|
+
color: theme('colors.black'),
|
194
|
+
},
|
195
|
+
'.wcag-green': {
|
196
|
+
background: theme('colors.green.DEFAULT'),
|
197
|
+
color: theme('colors.white'),
|
198
|
+
},
|
199
|
+
'.wcag-green-dark': {
|
200
|
+
background: theme('colors.green.dark'),
|
201
|
+
color: theme('colors.white'),
|
202
|
+
},
|
203
|
+
'.wcag-yellow-lightest': {
|
204
|
+
background: theme('colors.yellow.lightest'),
|
205
|
+
color: theme('colors.black'),
|
206
|
+
},
|
207
|
+
'.wcag-yellow-light': {
|
208
|
+
background: theme('colors.yellow.light'),
|
209
|
+
color: theme('colors.black'),
|
210
|
+
},
|
211
|
+
'.wcag-yellow': {
|
212
|
+
background: theme('colors.yellow.DEFAULT'),
|
213
|
+
color: theme('colors.black'),
|
214
|
+
},
|
215
|
+
'.wcag-yellow-dark': {
|
216
|
+
background: theme('colors.yellow.dark'),
|
217
|
+
color: theme('colors.white'),
|
218
|
+
},
|
219
|
+
// Legacy
|
220
|
+
'.yt-transparent': {
|
221
|
+
background: theme('colors.transparent'),
|
222
|
+
color: theme('colors.blue.DEFAULT'),
|
223
|
+
},
|
224
|
+
'.yt-focus': {
|
225
|
+
'box-shadow': '0 0 0 2px rgba(0, 99, 255, 0.25)',
|
226
|
+
outline: 'none',
|
227
|
+
},
|
228
|
+
'.yt-focus-green': {
|
229
|
+
'box-shadow': '0 0 0 0.15rem rgba(0, 213, 165, 0.25)',
|
230
|
+
outline: 'none',
|
231
|
+
},
|
232
|
+
'.yt-focus-yellow': {
|
233
|
+
'box-shadow': '0 0 0 0.15rem rgba(239, 125, 0, 0.25)',
|
234
|
+
outline: 'none',
|
235
|
+
},
|
236
|
+
'.yt-focus-red': {
|
237
|
+
'box-shadow': '0 0 0 0.15rem rgba(253, 99, 97, 0.25)',
|
238
|
+
outline: 'none',
|
239
|
+
},
|
240
|
+
'.yt-blue-solid': {
|
241
|
+
background: theme('colors.blue.DEFAULT'),
|
242
|
+
color: theme('colors.white'),
|
243
|
+
},
|
244
|
+
'.yt-blue-inverted': {
|
245
|
+
background: theme('colors.transparent'),
|
246
|
+
border: `1px solid ${theme('colors.blue.DEFAULT')}`,
|
247
|
+
color: theme('colors.blue.DEFAULT'),
|
248
|
+
},
|
249
|
+
'.yt-yellow-solid': {
|
250
|
+
background: theme('colors.yellow.DEFAULT'),
|
251
|
+
color: theme('colors.black'),
|
252
|
+
},
|
253
|
+
'.yt-yellow-inverted': {
|
254
|
+
background: theme('colors.transparent'),
|
255
|
+
border: `1px solid ${theme('colors.yellow.DEFAULT')}`,
|
256
|
+
color: theme('colors.yellow.DEFAULT'),
|
257
|
+
},
|
258
|
+
'.yt-red-solid': {
|
259
|
+
background: theme('colors.red.DEFAULT'),
|
260
|
+
color: theme('colors.white'),
|
261
|
+
},
|
262
|
+
'.yt-red-inverted': {
|
263
|
+
background: theme('colors.transparent'),
|
264
|
+
border: `1px solid ${theme('colors.red.DEFAULT')}`,
|
265
|
+
color: theme('colors.red.DEFAULT'),
|
266
|
+
},
|
267
|
+
'.yt-green-solid': {
|
268
|
+
background: theme('colors.green.DEFAULT'),
|
269
|
+
color: theme('colors.white'),
|
270
|
+
},
|
271
|
+
'.yt-green-inverted': {
|
272
|
+
background: theme('colors.transparent'),
|
273
|
+
border: `1px solid ${theme('colors.green.DEFAULT')}`,
|
274
|
+
color: theme('colors.green.DEFAULT'),
|
275
|
+
},
|
276
|
+
'.yt-grey-solid': {
|
277
|
+
background: theme('colors.grey.DEFAULT'),
|
278
|
+
color: theme('colors.black'),
|
279
|
+
},
|
280
|
+
'.yt-grey-inverted': {
|
281
|
+
background: theme('colors.transparent'),
|
282
|
+
border: `1px solid ${theme('colors.grey.darkest')}`,
|
283
|
+
color: theme('colors.grey.darkest'),
|
284
|
+
},
|
285
|
+
'.yt-shadow': {
|
286
|
+
'box-shadow': '0px 1px 3px 0px rgba(89, 85, 98, 0.35), 0px 0px 1px 0px rgba(89, 85, 98, 0.2)',
|
287
|
+
},
|
288
|
+
'.yt-shadow-inset': {
|
289
|
+
'box-shadow': 'inset 0px 1px 4px 0px rgba(89, 85, 98, 0.3), inset 0px 0px 1px 0px rgba(89, 85, 98, 0.2)',
|
290
|
+
},
|
291
|
+
'.pointer-events-all': {
|
292
|
+
'pointer-events': 'all',
|
293
|
+
},
|
294
|
+
});
|
295
|
+
}),
|
296
|
+
],
|
297
|
+
};
|