@economic/taco 2.39.2 → 2.40.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +22562 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.css +811 -1085
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +3257 -0
- package/dist/index.d.ts +3257 -75
- package/dist/index.esm.js +22562 -0
- package/dist/index.esm.js.map +1 -0
- package/package.json +7 -7
- package/dist/components/Accordion/Accordion.d.ts +0 -42
- package/dist/components/Alert/Alert.d.ts +0 -12
- package/dist/components/AlertDialog/AlertDialog.d.ts +0 -24
- package/dist/components/AlertDialog/Context.d.ts +0 -7
- package/dist/components/AlertDialog/components/Content.d.ts +0 -13
- package/dist/components/AlertDialog/components/Footer.d.ts +0 -7
- package/dist/components/AlertDialog/components/Trigger.d.ts +0 -3
- package/dist/components/Backdrop/Backdrop.d.ts +0 -3
- package/dist/components/Badge/Badge.d.ts +0 -54
- package/dist/components/BadgeIcon/BadgeIcon.d.ts +0 -23
- package/dist/components/Banner/Banner.d.ts +0 -20
- package/dist/components/Banner/util.d.ts +0 -3
- package/dist/components/Button/Button.d.ts +0 -74
- package/dist/components/Button/util.d.ts +0 -6
- package/dist/components/Calendar/Calendar.d.ts +0 -32
- package/dist/components/Card/Card.d.ts +0 -15
- package/dist/components/Checkbox/Checkbox.d.ts +0 -27
- package/dist/components/Combobox/Combobox.d.ts +0 -51
- package/dist/components/Combobox/useCombobox.d.ts +0 -20
- package/dist/components/Datepicker/Datepicker.d.ts +0 -50
- package/dist/components/Datepicker/useDatepicker.d.ts +0 -13
- package/dist/components/Dialog/Context.d.ts +0 -21
- package/dist/components/Dialog/Dialog.d.ts +0 -47
- package/dist/components/Dialog/components/Content.d.ts +0 -28
- package/dist/components/Dialog/components/DialogDrawer.d.ts +0 -10
- package/dist/components/Dialog/components/Extra.d.ts +0 -4
- package/dist/components/Dialog/components/Trigger.d.ts +0 -3
- package/dist/components/Dialog/types.d.ts +0 -1
- package/dist/components/Dialog/util.d.ts +0 -4
- package/dist/components/Drawer/Context.d.ts +0 -19
- package/dist/components/Drawer/Drawer.d.ts +0 -61
- package/dist/components/Drawer/components/Content.d.ts +0 -53
- package/dist/components/Drawer/components/Trigger.d.ts +0 -3
- package/dist/components/Drawer/images.d.ts +0 -1
- package/dist/components/Drawer/types.d.ts +0 -2
- package/dist/components/Drawer/util.d.ts +0 -7
- package/dist/components/Field/Field.d.ts +0 -28
- package/dist/components/Form/Form.d.ts +0 -14
- package/dist/components/Group/Group.d.ts +0 -30
- package/dist/components/Hanger/Hanger.d.ts +0 -31
- package/dist/components/Header/Header.d.ts +0 -29
- package/dist/components/Header/components/Agreement/Avatar.d.ts +0 -7
- package/dist/components/Header/components/Agreement/Badge.d.ts +0 -6
- package/dist/components/Header/components/Agreement/Display.d.ts +0 -9
- package/dist/components/Header/components/Agreement/Item.d.ts +0 -8
- package/dist/components/Header/components/Agreement/types.d.ts +0 -13
- package/dist/components/Header/components/AgreementSelector.d.ts +0 -20
- package/dist/components/Header/components/Button.d.ts +0 -9
- package/dist/components/Header/components/Link.d.ts +0 -20
- package/dist/components/Header/components/Logo.d.ts +0 -4
- package/dist/components/Header/components/MenuButton.d.ts +0 -5
- package/dist/components/Header/components/PrimaryNavigation.d.ts +0 -3
- package/dist/components/Header/components/SecondaryNavigation.d.ts +0 -3
- package/dist/components/HoverCard/HoverCard.d.ts +0 -16
- package/dist/components/HoverCard/Primitives.d.ts +0 -2
- package/dist/components/Icon/Icon.d.ts +0 -12
- package/dist/components/Icon/components/AccountPreview.d.ts +0 -3
- package/dist/components/Icon/components/Accounting.d.ts +0 -3
- package/dist/components/Icon/components/AccountingYear.d.ts +0 -3
- package/dist/components/Icon/components/AccountingYearCancel.d.ts +0 -3
- package/dist/components/Icon/components/AiChatSolid.d.ts +0 -3
- package/dist/components/Icon/components/AiStars.d.ts +0 -3
- package/dist/components/Icon/components/ArrowBottom.d.ts +0 -3
- package/dist/components/Icon/components/ArrowDown.d.ts +0 -3
- package/dist/components/Icon/components/ArrowEnd.d.ts +0 -3
- package/dist/components/Icon/components/ArrowLeft.d.ts +0 -3
- package/dist/components/Icon/components/ArrowRight.d.ts +0 -3
- package/dist/components/Icon/components/ArrowStart.d.ts +0 -3
- package/dist/components/Icon/components/ArrowTop.d.ts +0 -3
- package/dist/components/Icon/components/ArrowUp.d.ts +0 -3
- package/dist/components/Icon/components/Attach.d.ts +0 -3
- package/dist/components/Icon/components/AttachAuto.d.ts +0 -3
- package/dist/components/Icon/components/AttachCancel.d.ts +0 -3
- package/dist/components/Icon/components/AttachWarning.d.ts +0 -3
- package/dist/components/Icon/components/Autotext.d.ts +0 -3
- package/dist/components/Icon/components/AutotextInsert.d.ts +0 -3
- package/dist/components/Icon/components/Basic.d.ts +0 -3
- package/dist/components/Icon/components/BasicTabs.d.ts +0 -3
- package/dist/components/Icon/components/BellSolid.d.ts +0 -3
- package/dist/components/Icon/components/Book.d.ts +0 -3
- package/dist/components/Icon/components/Booking.d.ts +0 -3
- package/dist/components/Icon/components/Budget.d.ts +0 -3
- package/dist/components/Icon/components/Calendar.d.ts +0 -3
- package/dist/components/Icon/components/CashAccount.d.ts +0 -3
- package/dist/components/Icon/components/CashReports.d.ts +0 -3
- package/dist/components/Icon/components/ChartArea.d.ts +0 -3
- package/dist/components/Icon/components/ChartBar.d.ts +0 -3
- package/dist/components/Icon/components/ChartLine.d.ts +0 -3
- package/dist/components/Icon/components/ChartPie.d.ts +0 -3
- package/dist/components/Icon/components/ChartTable.d.ts +0 -3
- package/dist/components/Icon/components/Chat.d.ts +0 -3
- package/dist/components/Icon/components/ChatSolid.d.ts +0 -3
- package/dist/components/Icon/components/ChevronDown.d.ts +0 -3
- package/dist/components/Icon/components/ChevronDownDouble.d.ts +0 -3
- package/dist/components/Icon/components/ChevronDownSolid.d.ts +0 -3
- package/dist/components/Icon/components/ChevronLeft.d.ts +0 -3
- package/dist/components/Icon/components/ChevronLeftDouble.d.ts +0 -3
- package/dist/components/Icon/components/ChevronLeftSolid.d.ts +0 -3
- package/dist/components/Icon/components/ChevronRight.d.ts +0 -3
- package/dist/components/Icon/components/ChevronRightDouble.d.ts +0 -3
- package/dist/components/Icon/components/ChevronRightSolid.d.ts +0 -3
- package/dist/components/Icon/components/ChevronUp.d.ts +0 -3
- package/dist/components/Icon/components/ChevronUpDouble.d.ts +0 -3
- package/dist/components/Icon/components/ChevronUpSolid.d.ts +0 -3
- package/dist/components/Icon/components/CircleClose.d.ts +0 -3
- package/dist/components/Icon/components/CircleInformation.d.ts +0 -3
- package/dist/components/Icon/components/CircleMinus.d.ts +0 -3
- package/dist/components/Icon/components/CirclePlus.d.ts +0 -3
- package/dist/components/Icon/components/CircleQuestionmark.d.ts +0 -3
- package/dist/components/Icon/components/CircleTick.d.ts +0 -3
- package/dist/components/Icon/components/CircleWarning.d.ts +0 -3
- package/dist/components/Icon/components/Clamp.d.ts +0 -3
- package/dist/components/Icon/components/ClampOpen.d.ts +0 -3
- package/dist/components/Icon/components/Close.d.ts +0 -3
- package/dist/components/Icon/components/ColumnFreeze.d.ts +0 -3
- package/dist/components/Icon/components/ColumnUnfreeze.d.ts +0 -3
- package/dist/components/Icon/components/Columns.d.ts +0 -3
- package/dist/components/Icon/components/ConnectionEnable.d.ts +0 -3
- package/dist/components/Icon/components/ConnectionRevoke.d.ts +0 -3
- package/dist/components/Icon/components/Contacts.d.ts +0 -3
- package/dist/components/Icon/components/Copy.d.ts +0 -3
- package/dist/components/Icon/components/Courses.d.ts +0 -3
- package/dist/components/Icon/components/Credit.d.ts +0 -3
- package/dist/components/Icon/components/Delete.d.ts +0 -3
- package/dist/components/Icon/components/DeletePermanently.d.ts +0 -3
- package/dist/components/Icon/components/Depecriate.d.ts +0 -3
- package/dist/components/Icon/components/Developer.d.ts +0 -3
- package/dist/components/Icon/components/DistributionTemplate.d.ts +0 -3
- package/dist/components/Icon/components/Document.d.ts +0 -3
- package/dist/components/Icon/components/DocumentApprove.d.ts +0 -3
- package/dist/components/Icon/components/DocumentCreateEntry.d.ts +0 -3
- package/dist/components/Icon/components/DocumentCut.d.ts +0 -3
- package/dist/components/Icon/components/DocumentError.d.ts +0 -3
- package/dist/components/Icon/components/DocumentIsolatePage.d.ts +0 -3
- package/dist/components/Icon/components/DocumentMerge.d.ts +0 -3
- package/dist/components/Icon/components/DocumentMove.d.ts +0 -3
- package/dist/components/Icon/components/DocumentPreview.d.ts +0 -3
- package/dist/components/Icon/components/DocumentReceived.d.ts +0 -3
- package/dist/components/Icon/components/DocumentRejectedRequest.d.ts +0 -3
- package/dist/components/Icon/components/DocumentSigned.d.ts +0 -3
- package/dist/components/Icon/components/DocumentSignedSolid.d.ts +0 -3
- package/dist/components/Icon/components/DocumentSplit.d.ts +0 -3
- package/dist/components/Icon/components/DocumentTime.d.ts +0 -3
- package/dist/components/Icon/components/Download.d.ts +0 -3
- package/dist/components/Icon/components/Drag.d.ts +0 -3
- package/dist/components/Icon/components/ECopedia.d.ts +0 -3
- package/dist/components/Icon/components/Edit.d.ts +0 -3
- package/dist/components/Icon/components/EditSimple.d.ts +0 -3
- package/dist/components/Icon/components/EllipsisHorizontal.d.ts +0 -3
- package/dist/components/Icon/components/EllipsisVertical.d.ts +0 -3
- package/dist/components/Icon/components/EntriesOnAccount.d.ts +0 -3
- package/dist/components/Icon/components/EntriesOpen.d.ts +0 -3
- package/dist/components/Icon/components/EntriesWarning.d.ts +0 -3
- package/dist/components/Icon/components/EntryTypeCustomerInvoice.d.ts +0 -3
- package/dist/components/Icon/components/EntryTypeCustomerPayment.d.ts +0 -3
- package/dist/components/Icon/components/EntryTypeJournalEntry.d.ts +0 -3
- package/dist/components/Icon/components/EntryTypeManualCustomerInvoice.d.ts +0 -3
- package/dist/components/Icon/components/EntryTypeSupplierInvoice.d.ts +0 -3
- package/dist/components/Icon/components/EntryTypeSupplierPayment.d.ts +0 -3
- package/dist/components/Icon/components/Envelope.d.ts +0 -3
- package/dist/components/Icon/components/EnvelopeApproved.d.ts +0 -3
- package/dist/components/Icon/components/EnvelopeSolid.d.ts +0 -3
- package/dist/components/Icon/components/ExpandView.d.ts +0 -3
- package/dist/components/Icon/components/Expenses.d.ts +0 -3
- package/dist/components/Icon/components/Export.d.ts +0 -3
- package/dist/components/Icon/components/ExportToExcel.d.ts +0 -3
- package/dist/components/Icon/components/ExportToPdf.d.ts +0 -3
- package/dist/components/Icon/components/EyeOff.d.ts +0 -3
- package/dist/components/Icon/components/EyeOn.d.ts +0 -3
- package/dist/components/Icon/components/Filter.d.ts +0 -3
- package/dist/components/Icon/components/FilterSolid.d.ts +0 -3
- package/dist/components/Icon/components/FontSize.d.ts +0 -3
- package/dist/components/Icon/components/GraphSolid.d.ts +0 -3
- package/dist/components/Icon/components/Hash.d.ts +0 -3
- package/dist/components/Icon/components/HeightExtraTall.d.ts +0 -3
- package/dist/components/Icon/components/HeightMedium.d.ts +0 -3
- package/dist/components/Icon/components/HeightShort.d.ts +0 -3
- package/dist/components/Icon/components/HeightTall.d.ts +0 -3
- package/dist/components/Icon/components/House.d.ts +0 -3
- package/dist/components/Icon/components/HouseSolid.d.ts +0 -3
- package/dist/components/Icon/components/Id.d.ts +0 -3
- package/dist/components/Icon/components/Images.d.ts +0 -3
- package/dist/components/Icon/components/Import.d.ts +0 -3
- package/dist/components/Icon/components/Inbox.d.ts +0 -3
- package/dist/components/Icon/components/InboxEinvoicing.d.ts +0 -3
- package/dist/components/Icon/components/InboxScanning.d.ts +0 -3
- package/dist/components/Icon/components/InboxSmart.d.ts +0 -3
- package/dist/components/Icon/components/Info.d.ts +0 -3
- package/dist/components/Icon/components/Inventory.d.ts +0 -3
- package/dist/components/Icon/components/InventoryMatrix.d.ts +0 -3
- package/dist/components/Icon/components/JournalPro.d.ts +0 -3
- package/dist/components/Icon/components/Layout.d.ts +0 -3
- package/dist/components/Icon/components/LayoutBoth.d.ts +0 -3
- package/dist/components/Icon/components/LayoutFirst.d.ts +0 -3
- package/dist/components/Icon/components/LayoutLast.d.ts +0 -3
- package/dist/components/Icon/components/LayoutNone.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCard.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCardCustomerReminder.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCardManualCustomerInvoice.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCardObsoleteStock.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCardOpeningEntry.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCardReservedEntry.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCardShrinkagePilferage.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCardStockAdjustment.d.ts +0 -3
- package/dist/components/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +0 -3
- package/dist/components/Icon/components/Lightbulb.d.ts +0 -3
- package/dist/components/Icon/components/Line.d.ts +0 -3
- package/dist/components/Icon/components/LinkExternal.d.ts +0 -3
- package/dist/components/Icon/components/List.d.ts +0 -3
- package/dist/components/Icon/components/ListBulleted.d.ts +0 -3
- package/dist/components/Icon/components/ListSearch.d.ts +0 -3
- package/dist/components/Icon/components/Location.d.ts +0 -3
- package/dist/components/Icon/components/Lock.d.ts +0 -3
- package/dist/components/Icon/components/LockOpen.d.ts +0 -3
- package/dist/components/Icon/components/Log.d.ts +0 -3
- package/dist/components/Icon/components/LogOut.d.ts +0 -3
- package/dist/components/Icon/components/Market.d.ts +0 -3
- package/dist/components/Icon/components/MastercardOs.d.ts +0 -3
- package/dist/components/Icon/components/MatchAmount.d.ts +0 -3
- package/dist/components/Icon/components/MatchEntries.d.ts +0 -3
- package/dist/components/Icon/components/Menu.d.ts +0 -3
- package/dist/components/Icon/components/Mileage.d.ts +0 -3
- package/dist/components/Icon/components/ModalResize.d.ts +0 -3
- package/dist/components/Icon/components/ModalShrink.d.ts +0 -3
- package/dist/components/Icon/components/More.d.ts +0 -3
- package/dist/components/Icon/components/MoreSolid.d.ts +0 -3
- package/dist/components/Icon/components/Move.d.ts +0 -3
- package/dist/components/Icon/components/NavigationList.d.ts +0 -3
- package/dist/components/Icon/components/Note.d.ts +0 -3
- package/dist/components/Icon/components/NoteFollowUp.d.ts +0 -3
- package/dist/components/Icon/components/NoteRead.d.ts +0 -3
- package/dist/components/Icon/components/NovemberFirst.d.ts +0 -3
- package/dist/components/Icon/components/Numbers.d.ts +0 -3
- package/dist/components/Icon/components/PartnerApi.d.ts +0 -3
- package/dist/components/Icon/components/PaymentPaid.d.ts +0 -3
- package/dist/components/Icon/components/PaymentUnpaid.d.ts +0 -3
- package/dist/components/Icon/components/Period.d.ts +0 -3
- package/dist/components/Icon/components/PersonChange.d.ts +0 -3
- package/dist/components/Icon/components/PersonMinus.d.ts +0 -3
- package/dist/components/Icon/components/PersonPlus.d.ts +0 -3
- package/dist/components/Icon/components/PersonTick.d.ts +0 -3
- package/dist/components/Icon/components/Phone.d.ts +0 -3
- package/dist/components/Icon/components/PhoneSolid.d.ts +0 -3
- package/dist/components/Icon/components/Play.d.ts +0 -3
- package/dist/components/Icon/components/PlusMinus.d.ts +0 -3
- package/dist/components/Icon/components/Print.d.ts +0 -3
- package/dist/components/Icon/components/ProcessPayment.d.ts +0 -3
- package/dist/components/Icon/components/ProductLedgerCard.d.ts +0 -3
- package/dist/components/Icon/components/Profile.d.ts +0 -3
- package/dist/components/Icon/components/ProjectCards.d.ts +0 -3
- package/dist/components/Icon/components/Projects.d.ts +0 -3
- package/dist/components/Icon/components/QuestionMark.d.ts +0 -3
- package/dist/components/Icon/components/QuestionMarkBold.d.ts +0 -3
- package/dist/components/Icon/components/Quicklinks.d.ts +0 -3
- package/dist/components/Icon/components/RatingBankruptcy.d.ts +0 -3
- package/dist/components/Icon/components/RatingPaymentProblems.d.ts +0 -3
- package/dist/components/Icon/components/Reconciled.d.ts +0 -3
- package/dist/components/Icon/components/Refresh.d.ts +0 -3
- package/dist/components/Icon/components/Report.d.ts +0 -3
- package/dist/components/Icon/components/ReportSolid.d.ts +0 -3
- package/dist/components/Icon/components/Restore.d.ts +0 -3
- package/dist/components/Icon/components/RotateLeft.d.ts +0 -3
- package/dist/components/Icon/components/RotateRight.d.ts +0 -3
- package/dist/components/Icon/components/Sales.d.ts +0 -3
- package/dist/components/Icon/components/Search.d.ts +0 -3
- package/dist/components/Icon/components/SearchBold.d.ts +0 -3
- package/dist/components/Icon/components/Secure.d.ts +0 -3
- package/dist/components/Icon/components/SecureTick.d.ts +0 -3
- package/dist/components/Icon/components/Settings.d.ts +0 -3
- package/dist/components/Icon/components/SettingsSolid.d.ts +0 -3
- package/dist/components/Icon/components/Shortcuts.d.ts +0 -3
- package/dist/components/Icon/components/ShowAll.d.ts +0 -3
- package/dist/components/Icon/components/ShowLess.d.ts +0 -3
- package/dist/components/Icon/components/ShowMore.d.ts +0 -3
- package/dist/components/Icon/components/ShowTemplate.d.ts +0 -3
- package/dist/components/Icon/components/Sliders.d.ts +0 -3
- package/dist/components/Icon/components/Smartpay.d.ts +0 -3
- package/dist/components/Icon/components/SortBy.d.ts +0 -3
- package/dist/components/Icon/components/Star.d.ts +0 -3
- package/dist/components/Icon/components/StarSolid.d.ts +0 -3
- package/dist/components/Icon/components/Subscriptions.d.ts +0 -3
- package/dist/components/Icon/components/SystemEntries.d.ts +0 -3
- package/dist/components/Icon/components/Tag.d.ts +0 -3
- package/dist/components/Icon/components/TemplateOverride.d.ts +0 -3
- package/dist/components/Icon/components/Templates.d.ts +0 -3
- package/dist/components/Icon/components/ThumbBoth.d.ts +0 -3
- package/dist/components/Icon/components/ThumbDown.d.ts +0 -3
- package/dist/components/Icon/components/ThumbDownSolid.d.ts +0 -3
- package/dist/components/Icon/components/ThumbUp.d.ts +0 -3
- package/dist/components/Icon/components/ThumbUpSolid.d.ts +0 -3
- package/dist/components/Icon/components/Tick.d.ts +0 -3
- package/dist/components/Icon/components/TickBold.d.ts +0 -3
- package/dist/components/Icon/components/Time.d.ts +0 -3
- package/dist/components/Icon/components/Transfer.d.ts +0 -3
- package/dist/components/Icon/components/TransferCancel.d.ts +0 -3
- package/dist/components/Icon/components/TransferLocked.d.ts +0 -3
- package/dist/components/Icon/components/Undo.d.ts +0 -3
- package/dist/components/Icon/components/Undock.d.ts +0 -3
- package/dist/components/Icon/components/Unreconciled.d.ts +0 -3
- package/dist/components/Icon/components/Warning.d.ts +0 -3
- package/dist/components/Icon/components/Webshop.d.ts +0 -3
- package/dist/components/Icon/components/Website.d.ts +0 -3
- package/dist/components/Icon/components/Workflow.d.ts +0 -3
- package/dist/components/Icon/components/WorkflowTemplateBasic.d.ts +0 -3
- package/dist/components/Icon/components/Zoom.d.ts +0 -3
- package/dist/components/Icon/components/index.d.ts +0 -3
- package/dist/components/IconButton/IconButton.d.ts +0 -92
- package/dist/components/Input/Input.d.ts +0 -27
- package/dist/components/Input/util.d.ts +0 -2
- package/dist/components/Layout/Layout.d.ts +0 -16
- package/dist/components/Layout/components/Content.d.ts +0 -3
- package/dist/components/Layout/components/Context.d.ts +0 -6
- package/dist/components/Layout/components/Page.d.ts +0 -3
- package/dist/components/Layout/components/Sidebar.d.ts +0 -3
- package/dist/components/Layout/components/Top.d.ts +0 -7
- package/dist/components/List/List.d.ts +0 -28
- package/dist/components/List/components/Button.d.ts +0 -8
- package/dist/components/List/components/Collapsible.d.ts +0 -11
- package/dist/components/List/components/Group.d.ts +0 -7
- package/dist/components/List/components/Item.d.ts +0 -14
- package/dist/components/List/components/Link.d.ts +0 -8
- package/dist/components/List/components/Toggle.d.ts +0 -8
- package/dist/components/Listbox/Listbox.d.ts +0 -96
- package/dist/components/Listbox/ScrollableList.d.ts +0 -120
- package/dist/components/Listbox/useListbox.d.ts +0 -9
- package/dist/components/Listbox/useMultiListbox.d.ts +0 -9
- package/dist/components/Listbox/useTypeahead.d.ts +0 -10
- package/dist/components/Listbox/util.d.ts +0 -25
- package/dist/components/Menu/Context.d.ts +0 -17
- package/dist/components/Menu/Menu.d.ts +0 -33
- package/dist/components/Menu/components/Checkbox.d.ts +0 -11
- package/dist/components/Menu/components/Content.d.ts +0 -15
- package/dist/components/Menu/components/Header.d.ts +0 -3
- package/dist/components/Menu/components/Item.d.ts +0 -31
- package/dist/components/Menu/components/Link.d.ts +0 -14
- package/dist/components/Menu/components/RadioGroup.d.ts +0 -9
- package/dist/components/Menu/components/Separator.d.ts +0 -3
- package/dist/components/Menu/components/SubMenu.d.ts +0 -8
- package/dist/components/Menu/components/Trigger.d.ts +0 -7
- package/dist/components/ModeSwitch/ModeSwitch.d.ts +0 -17
- package/dist/components/Navigation/Navigation.d.ts +0 -50
- package/dist/components/Navigation2/Navigation2.d.ts +0 -17
- package/dist/components/Navigation2/components/Content.d.ts +0 -3
- package/dist/components/Navigation2/components/Group.d.ts +0 -11
- package/dist/components/Navigation2/components/Link.d.ts +0 -24
- package/dist/components/Navigation2/components/Section.d.ts +0 -7
- package/dist/components/Navigation2/components/util.d.ts +0 -1
- package/dist/components/OverflowGroup/OverflowGroup.d.ts +0 -6
- package/dist/components/Pagination/PageNumbers.d.ts +0 -8
- package/dist/components/Pagination/Pagination.d.ts +0 -100
- package/dist/components/Pagination/usePagination.d.ts +0 -11
- package/dist/components/Pagination/usePaginationShortcuts.d.ts +0 -8
- package/dist/components/Popover/Popover.d.ts +0 -34
- package/dist/components/Popover/Primitives.d.ts +0 -2
- package/dist/components/Popover/util.d.ts +0 -1
- package/dist/components/Progress/Progress.d.ts +0 -10
- package/dist/components/Provider/Localization.d.ts +0 -391
- package/dist/components/Provider/Provider.d.ts +0 -14
- package/dist/components/RadioGroup/RadioGroup.d.ts +0 -52
- package/dist/components/RadioGroup/util.d.ts +0 -1
- package/dist/components/Report/Report.d.ts +0 -9
- package/dist/components/Report/types.d.ts +0 -5
- package/dist/components/Report/useReport.d.ts +0 -5
- package/dist/components/ScrollArea/ScrollArea.d.ts +0 -4
- package/dist/components/SearchInput/SearchInput.d.ts +0 -17
- package/dist/components/SearchInput2/SearchInput2.d.ts +0 -25
- package/dist/components/Select/Select.d.ts +0 -40
- package/dist/components/Select/useSelect.d.ts +0 -21
- package/dist/components/Select2/Select2.d.ts +0 -75
- package/dist/components/Select2/components/All.d.ts +0 -7
- package/dist/components/Select2/components/Collection.d.ts +0 -7
- package/dist/components/Select2/components/Context.d.ts +0 -33
- package/dist/components/Select2/components/Create.d.ts +0 -10
- package/dist/components/Select2/components/Edit.d.ts +0 -10
- package/dist/components/Select2/components/Group.d.ts +0 -13
- package/dist/components/Select2/components/Option.d.ts +0 -23
- package/dist/components/Select2/components/Search.d.ts +0 -16
- package/dist/components/Select2/components/Title.d.ts +0 -4
- package/dist/components/Select2/components/Trigger.d.ts +0 -7
- package/dist/components/Select2/hooks/useChildren.d.ts +0 -19
- package/dist/components/Select2/types.d.ts +0 -12
- package/dist/components/Select2/utilities.d.ts +0 -3
- package/dist/components/Shortcut/Shortcut.d.ts +0 -6
- package/dist/components/Spinner/Spinner.d.ts +0 -20
- package/dist/components/Switch/Switch.d.ts +0 -19
- package/dist/components/Table/Table.d.ts +0 -14
- package/dist/components/Table/components/BaseTable.d.ts +0 -8
- package/dist/components/Table/components/PaginatedTable.d.ts +0 -2
- package/dist/components/Table/components/Table.d.ts +0 -2
- package/dist/components/Table/components/WindowedTable.d.ts +0 -2
- package/dist/components/Table/hooks/plugins/useRowActions.d.ts +0 -4
- package/dist/components/Table/hooks/plugins/useRowDraggable.d.ts +0 -3
- package/dist/components/Table/hooks/plugins/useRowEditing.d.ts +0 -2
- package/dist/components/Table/hooks/plugins/useRowSelect.d.ts +0 -3
- package/dist/components/Table/hooks/useRowCreation.d.ts +0 -11
- package/dist/components/Table/hooks/useTable.d.ts +0 -38
- package/dist/components/Table/hooks/useTableKeyboardNavigation.d.ts +0 -3
- package/dist/components/Table/types.d.ts +0 -284
- package/dist/components/Table/util/renderColumn.d.ts +0 -1
- package/dist/components/Table/util/renderRow.d.ts +0 -2
- package/dist/components/Table/util/rowIndexPath.d.ts +0 -5
- package/dist/components/Table/util/sortTypes.d.ts +0 -4
- package/dist/components/Table/util.d.ts +0 -12
- package/dist/components/Table3/Table3.d.ts +0 -28
- package/dist/components/Table3/components/Columns/Cell/Cell.d.ts +0 -3
- package/dist/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +0 -9
- package/dist/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +0 -10
- package/dist/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +0 -3
- package/dist/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +0 -3
- package/dist/components/Table3/components/Columns/Cell/util.d.ts +0 -3
- package/dist/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +0 -11
- package/dist/components/Table3/components/Editing/Alert.d.ts +0 -12
- package/dist/components/Table3/components/Row/Editing/CreateRowButton.d.ts +0 -11
- package/dist/components/Table3/components/Row/Editing/SaveStatus.d.ts +0 -8
- package/dist/components/Table3/components/Row/Row.d.ts +0 -3
- package/dist/components/Table3/components/Toolbar/Editing/Editing.d.ts +0 -8
- package/dist/components/Table3/features/useTableEditing.d.ts +0 -46
- package/dist/components/Table3/listeners/useTableEditingListener.d.ts +0 -4
- package/dist/components/Table3/types.d.ts +0 -73
- package/dist/components/Table3/useTable3.d.ts +0 -10
- package/dist/components/Table3/util/editing.d.ts +0 -3
- package/dist/components/Tabs/Tabs.d.ts +0 -61
- package/dist/components/Tag/Tag.d.ts +0 -19
- package/dist/components/Textarea/Textarea.d.ts +0 -15
- package/dist/components/Toast/Toast.d.ts +0 -36
- package/dist/components/Toast/Toaster.d.ts +0 -35
- package/dist/components/Toast/util.d.ts +0 -4
- package/dist/components/Tooltip/Tooltip.d.ts +0 -27
- package/dist/components/Tour/Tour.d.ts +0 -72
- package/dist/components/Treeview/Treeview.d.ts +0 -25
- package/dist/components/Truncate/Truncate.d.ts +0 -6
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +0 -4
- package/dist/esm/index.css +0 -1317
- package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js +0 -192
- package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Accordion/Accordion.js +0 -86
- package/dist/esm/packages/taco/src/components/Accordion/Accordion.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Alert/Alert.js +0 -50
- package/dist/esm/packages/taco/src/components/Alert/Alert.js.map +0 -1
- package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js +0 -37
- package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js.map +0 -1
- package/dist/esm/packages/taco/src/components/AlertDialog/Context.js +0 -13
- package/dist/esm/packages/taco/src/components/AlertDialog/Context.js.map +0 -1
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js +0 -26
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js.map +0 -1
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Footer.js +0 -26
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Footer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Trigger.js +0 -19
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Trigger.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js +0 -14
- package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Badge/Badge.js +0 -52
- package/dist/esm/packages/taco/src/components/Badge/Badge.js.map +0 -1
- package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js +0 -39
- package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Banner/Banner.js +0 -31
- package/dist/esm/packages/taco/src/components/Banner/Banner.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Banner/util.js +0 -36
- package/dist/esm/packages/taco/src/components/Banner/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Button/Button.js +0 -53
- package/dist/esm/packages/taco/src/components/Button/Button.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Button/util.js +0 -82
- package/dist/esm/packages/taco/src/components/Button/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js +0 -155
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Card/Card.js +0 -47
- package/dist/esm/packages/taco/src/components/Card/Card.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +0 -83
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Combobox/Combobox.js +0 -90
- package/dist/esm/packages/taco/src/components/Combobox/Combobox.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js +0 -269
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js +0 -86
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js +0 -87
- package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Dialog/Context.js +0 -26
- package/dist/esm/packages/taco/src/components/Dialog/Context.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Dialog/Dialog.js +0 -77
- package/dist/esm/packages/taco/src/components/Dialog/Dialog.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +0 -116
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js +0 -41
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js +0 -15
- package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/Trigger.js +0 -19
- package/dist/esm/packages/taco/src/components/Dialog/components/Trigger.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Dialog/util.js +0 -19
- package/dist/esm/packages/taco/src/components/Dialog/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Drawer/Context.js +0 -20
- package/dist/esm/packages/taco/src/components/Drawer/Context.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Drawer/Drawer.js +0 -109
- package/dist/esm/packages/taco/src/components/Drawer/Drawer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Drawer/components/Content.js +0 -325
- package/dist/esm/packages/taco/src/components/Drawer/components/Content.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Drawer/components/Trigger.js +0 -12
- package/dist/esm/packages/taco/src/components/Drawer/components/Trigger.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Drawer/util.js +0 -37
- package/dist/esm/packages/taco/src/components/Drawer/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Field/Field.js +0 -39
- package/dist/esm/packages/taco/src/components/Field/Field.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Form/Form.js +0 -20
- package/dist/esm/packages/taco/src/components/Form/Form.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Group/Group.js +0 -21
- package/dist/esm/packages/taco/src/components/Group/Group.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Hanger/Hanger.js +0 -101
- package/dist/esm/packages/taco/src/components/Hanger/Hanger.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/Header.js +0 -31
- package/dist/esm/packages/taco/src/components/Header/Header.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js +0 -28
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Badge.js +0 -23
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Badge.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js +0 -36
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js +0 -39
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +0 -144
- package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/Button.js +0 -22
- package/dist/esm/packages/taco/src/components/Header/components/Button.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/Link.js +0 -45
- package/dist/esm/packages/taco/src/components/Header/components/Link.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/Logo.js +0 -90
- package/dist/esm/packages/taco/src/components/Header/components/Logo.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js +0 -17
- package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js +0 -28
- package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js +0 -13
- package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js.map +0 -1
- package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js +0 -37
- package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js.map +0 -1
- package/dist/esm/packages/taco/src/components/HoverCard/Primitives.js +0 -27
- package/dist/esm/packages/taco/src/components/HoverCard/Primitives.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/Icon.js +0 -28
- package/dist/esm/packages/taco/src/components/Icon/Icon.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AccountPreview.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/AccountPreview.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Accounting.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Accounting.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYear.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYear.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYearCancel.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYearCancel.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AiChatSolid.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/AiChatSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AiStars.js +0 -30
- package/dist/esm/packages/taco/src/components/Icon/components/AiStars.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowBottom.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowBottom.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowDown.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowDown.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowEnd.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowEnd.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowLeft.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowLeft.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowRight.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowRight.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowStart.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowStart.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowTop.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowTop.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowUp.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowUp.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Attach.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Attach.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AttachAuto.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/AttachAuto.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AttachCancel.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/AttachCancel.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AttachWarning.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/AttachWarning.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Autotext.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Autotext.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/AutotextInsert.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/AutotextInsert.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Basic.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Basic.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/BasicTabs.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/BasicTabs.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/BellSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/BellSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Book.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Book.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Booking.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Booking.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Budget.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Budget.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Calendar.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Calendar.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CashAccount.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/CashAccount.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CashReports.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/CashReports.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChartArea.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/ChartArea.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChartBar.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/ChartBar.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChartLine.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/ChartLine.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChartPie.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChartPie.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChartTable.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/ChartTable.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Chat.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Chat.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChatSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChatSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDown.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDown.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownDouble.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownDouble.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeft.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeft.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftDouble.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftDouble.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftSolid.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRight.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRight.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightDouble.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightDouble.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightSolid.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUp.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUp.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpDouble.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpDouble.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CircleClose.js +0 -18
- package/dist/esm/packages/taco/src/components/Icon/components/CircleClose.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CircleInformation.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/CircleInformation.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CircleMinus.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/CircleMinus.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CirclePlus.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/CirclePlus.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CircleQuestionmark.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/CircleQuestionmark.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CircleTick.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/CircleTick.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/CircleWarning.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/CircleWarning.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Clamp.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Clamp.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ClampOpen.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ClampOpen.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Close.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Close.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnFreeze.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnFreeze.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnUnfreeze.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnUnfreeze.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Columns.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/Columns.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionEnable.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionEnable.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionRevoke.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionRevoke.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Contacts.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Contacts.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Copy.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Copy.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Courses.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/Courses.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Credit.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Credit.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Delete.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Delete.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DeletePermanently.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DeletePermanently.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Depecriate.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Depecriate.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Developer.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Developer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DistributionTemplate.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DistributionTemplate.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Document.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/Document.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentApprove.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentApprove.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCreateEntry.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCreateEntry.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCut.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCut.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentError.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentError.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentIsolatePage.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentIsolatePage.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMerge.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMerge.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMove.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMove.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentPreview.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentPreview.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentReceived.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentReceived.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentRejectedRequest.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentRejectedRequest.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSigned.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSigned.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSignedSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSignedSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSplit.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSplit.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentTime.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentTime.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Download.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Download.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Drag.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Drag.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ECopedia.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ECopedia.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Edit.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Edit.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EditSimple.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/EditSimple.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisHorizontal.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisHorizontal.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisVertical.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisVertical.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOnAccount.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOnAccount.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOpen.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOpen.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesWarning.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesWarning.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerInvoice.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerInvoice.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerPayment.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerPayment.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeJournalEntry.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeJournalEntry.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeManualCustomerInvoice.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeManualCustomerInvoice.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierInvoice.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierInvoice.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierPayment.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierPayment.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Envelope.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Envelope.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeApproved.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeApproved.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeSolid.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ExpandView.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ExpandView.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Expenses.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Expenses.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Export.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Export.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToExcel.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToExcel.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToPdf.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToPdf.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOff.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOff.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOn.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOn.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Filter.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Filter.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/FilterSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/FilterSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/FontSize.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/FontSize.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/GraphSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/GraphSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Hash.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Hash.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/HeightExtraTall.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/HeightExtraTall.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/HeightMedium.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/HeightMedium.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/HeightShort.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/HeightShort.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/HeightTall.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/HeightTall.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/House.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/House.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/HouseSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/HouseSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Id.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/Id.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Images.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Images.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Import.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Import.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Inbox.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/Inbox.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/InboxEinvoicing.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/InboxEinvoicing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/InboxScanning.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/InboxScanning.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/InboxSmart.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/InboxSmart.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Info.js +0 -22
- package/dist/esm/packages/taco/src/components/Icon/components/Info.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Inventory.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Inventory.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/InventoryMatrix.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/InventoryMatrix.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/JournalPro.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/JournalPro.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Layout.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Layout.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutBoth.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutBoth.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutFirst.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutFirst.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutLast.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutLast.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutNone.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutNone.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCard.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCard.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardCustomerReminder.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardCustomerReminder.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardManualCustomerInvoice.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardManualCustomerInvoice.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardObsoleteStock.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardObsoleteStock.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardOpeningEntry.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardOpeningEntry.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardReservedEntry.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardReservedEntry.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardShrinkagePilferage.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardShrinkagePilferage.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardStockAdjustment.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardStockAdjustment.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardTransferredOpeningEntry.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardTransferredOpeningEntry.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Lightbulb.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Lightbulb.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Line.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Line.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LinkExternal.js +0 -22
- package/dist/esm/packages/taco/src/components/Icon/components/LinkExternal.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/List.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/List.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ListBulleted.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ListBulleted.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ListSearch.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ListSearch.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Location.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Location.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Lock.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/Lock.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LockOpen.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/LockOpen.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Log.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Log.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/LogOut.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/LogOut.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Market.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Market.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/MastercardOs.js +0 -23
- package/dist/esm/packages/taco/src/components/Icon/components/MastercardOs.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/MatchAmount.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/MatchAmount.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/MatchEntries.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/MatchEntries.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Menu.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Menu.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Mileage.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Mileage.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ModalResize.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ModalResize.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ModalShrink.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ModalShrink.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/More.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/More.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/MoreSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/MoreSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Move.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Move.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/NavigationList.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/NavigationList.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Note.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Note.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/NoteFollowUp.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/NoteFollowUp.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/NoteRead.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/NoteRead.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/NovemberFirst.js +0 -20
- package/dist/esm/packages/taco/src/components/Icon/components/NovemberFirst.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Numbers.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Numbers.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PartnerApi.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/PartnerApi.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentPaid.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentPaid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentUnpaid.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentUnpaid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Period.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Period.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PersonChange.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/PersonChange.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PersonMinus.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/PersonMinus.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PersonPlus.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/PersonPlus.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PersonTick.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/PersonTick.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Phone.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Phone.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PhoneSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/PhoneSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Play.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Play.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/PlusMinus.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/PlusMinus.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Print.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Print.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ProcessPayment.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ProcessPayment.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ProductLedgerCard.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ProductLedgerCard.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Profile.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/Profile.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ProjectCards.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ProjectCards.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Projects.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Projects.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMark.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMark.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMarkBold.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMarkBold.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Quicklinks.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Quicklinks.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/RatingBankruptcy.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/RatingBankruptcy.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/RatingPaymentProblems.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/RatingPaymentProblems.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Reconciled.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Reconciled.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Refresh.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/Refresh.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Report.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Report.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ReportSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ReportSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Restore.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Restore.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/RotateLeft.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/RotateLeft.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/RotateRight.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/RotateRight.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Sales.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Sales.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Search.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Search.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/SearchBold.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/SearchBold.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Secure.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Secure.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/SecureTick.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/SecureTick.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Settings.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Settings.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/SettingsSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/SettingsSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Shortcuts.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Shortcuts.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ShowAll.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ShowAll.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ShowLess.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ShowLess.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ShowMore.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ShowMore.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ShowTemplate.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ShowTemplate.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Sliders.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Sliders.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Smartpay.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Smartpay.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/SortBy.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/SortBy.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Star.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Star.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/StarSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/StarSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Subscriptions.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Subscriptions.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/SystemEntries.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/SystemEntries.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Tag.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Tag.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/TemplateOverride.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/TemplateOverride.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Templates.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Templates.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbBoth.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbBoth.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDown.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDown.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDownSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDownSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUp.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUp.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUpSolid.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUpSolid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Tick.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Tick.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/TickBold.js +0 -19
- package/dist/esm/packages/taco/src/components/Icon/components/TickBold.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Time.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Time.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Transfer.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Transfer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/TransferCancel.js +0 -23
- package/dist/esm/packages/taco/src/components/Icon/components/TransferCancel.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/TransferLocked.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/TransferLocked.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Undo.js +0 -25
- package/dist/esm/packages/taco/src/components/Icon/components/Undo.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Undock.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Undock.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Unreconciled.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Unreconciled.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Warning.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Warning.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Webshop.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Webshop.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Website.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Website.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Workflow.js +0 -16
- package/dist/esm/packages/taco/src/components/Icon/components/Workflow.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/WorkflowTemplateBasic.js +0 -18
- package/dist/esm/packages/taco/src/components/Icon/components/WorkflowTemplateBasic.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/Zoom.js +0 -17
- package/dist/esm/packages/taco/src/components/Icon/components/Zoom.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Icon/components/index.js +0 -504
- package/dist/esm/packages/taco/src/components/Icon/components/index.js.map +0 -1
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js +0 -48
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Input/Input.js +0 -160
- package/dist/esm/packages/taco/src/components/Input/Input.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Input/util.js +0 -34
- package/dist/esm/packages/taco/src/components/Input/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Layout/Layout.js +0 -28
- package/dist/esm/packages/taco/src/components/Layout/Layout.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Content.js +0 -13
- package/dist/esm/packages/taco/src/components/Layout/components/Content.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Context.js +0 -9
- package/dist/esm/packages/taco/src/components/Layout/components/Context.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Page.js +0 -13
- package/dist/esm/packages/taco/src/components/Layout/components/Page.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js +0 -87
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Top.js +0 -15
- package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +0 -1
- package/dist/esm/packages/taco/src/components/List/List.js +0 -21
- package/dist/esm/packages/taco/src/components/List/List.js.map +0 -1
- package/dist/esm/packages/taco/src/components/List/components/Button.js +0 -12
- package/dist/esm/packages/taco/src/components/List/components/Button.js.map +0 -1
- package/dist/esm/packages/taco/src/components/List/components/Collapsible.js +0 -30
- package/dist/esm/packages/taco/src/components/List/components/Collapsible.js.map +0 -1
- package/dist/esm/packages/taco/src/components/List/components/Group.js +0 -11
- package/dist/esm/packages/taco/src/components/List/components/Group.js.map +0 -1
- package/dist/esm/packages/taco/src/components/List/components/Item.js +0 -40
- package/dist/esm/packages/taco/src/components/List/components/Item.js.map +0 -1
- package/dist/esm/packages/taco/src/components/List/components/Link.js +0 -27
- package/dist/esm/packages/taco/src/components/List/components/Link.js.map +0 -1
- package/dist/esm/packages/taco/src/components/List/components/Toggle.js +0 -105
- package/dist/esm/packages/taco/src/components/List/components/Toggle.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Listbox/Listbox.js +0 -55
- package/dist/esm/packages/taco/src/components/Listbox/Listbox.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js +0 -168
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Listbox/useListbox.js +0 -130
- package/dist/esm/packages/taco/src/components/Listbox/useListbox.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Listbox/useMultiListbox.js +0 -177
- package/dist/esm/packages/taco/src/components/Listbox/useMultiListbox.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Listbox/useTypeahead.js +0 -26
- package/dist/esm/packages/taco/src/components/Listbox/useTypeahead.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Listbox/util.js +0 -130
- package/dist/esm/packages/taco/src/components/Listbox/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/Context.js +0 -9
- package/dist/esm/packages/taco/src/components/Menu/Context.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/Menu.js +0 -62
- package/dist/esm/packages/taco/src/components/Menu/Menu.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Checkbox.js +0 -32
- package/dist/esm/packages/taco/src/components/Menu/components/Checkbox.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Content.js +0 -61
- package/dist/esm/packages/taco/src/components/Menu/components/Content.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Header.js +0 -19
- package/dist/esm/packages/taco/src/components/Menu/components/Header.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js +0 -107
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Link.js +0 -37
- package/dist/esm/packages/taco/src/components/Menu/components/Link.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js +0 -49
- package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js +0 -13
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js +0 -22
- package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +0 -33
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +0 -1
- package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js +0 -30
- package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Navigation/Navigation.js +0 -120
- package/dist/esm/packages/taco/src/components/Navigation/Navigation.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js +0 -31
- package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js +0 -20
- package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js +0 -46
- package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js +0 -72
- package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js +0 -25
- package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/util.js +0 -12
- package/dist/esm/packages/taco/src/components/Navigation2/components/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js +0 -85
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Pagination/PageNumbers.js +0 -44
- package/dist/esm/packages/taco/src/components/Pagination/PageNumbers.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Pagination/Pagination.js +0 -102
- package/dist/esm/packages/taco/src/components/Pagination/Pagination.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Pagination/usePagination.js +0 -15
- package/dist/esm/packages/taco/src/components/Pagination/usePagination.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Pagination/usePaginationShortcuts.js +0 -44
- package/dist/esm/packages/taco/src/components/Pagination/usePaginationShortcuts.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Popover/Popover.js +0 -106
- package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Popover/Primitives.js +0 -27
- package/dist/esm/packages/taco/src/components/Popover/Primitives.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Popover/util.js +0 -4
- package/dist/esm/packages/taco/src/components/Popover/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Progress/Progress.js +0 -30
- package/dist/esm/packages/taco/src/components/Progress/Progress.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +0 -333
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Provider/Provider.js +0 -24
- package/dist/esm/packages/taco/src/components/Provider/Provider.js.map +0 -1
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js +0 -103
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +0 -1
- package/dist/esm/packages/taco/src/components/RadioGroup/util.js +0 -14
- package/dist/esm/packages/taco/src/components/RadioGroup/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/Report.js +0 -35
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/useReport.js +0 -14
- package/dist/esm/packages/taco/src/components/Report/useReport.js.map +0 -1
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +0 -38
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +0 -1
- package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js +0 -68
- package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js.map +0 -1
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js +0 -194
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select/Select.js +0 -98
- package/dist/esm/packages/taco/src/components/Select/Select.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select/useSelect.js +0 -211
- package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +0 -339
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Collection.js +0 -15
- package/dist/esm/packages/taco/src/components/Select2/components/Collection.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Context.js +0 -7
- package/dist/esm/packages/taco/src/components/Select2/components/Context.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js +0 -113
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +0 -197
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Group.js +0 -28
- package/dist/esm/packages/taco/src/components/Select2/components/Group.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js +0 -108
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js +0 -64
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Title.js +0 -17
- package/dist/esm/packages/taco/src/components/Select2/components/Title.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js +0 -274
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js +0 -66
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Select2/utilities.js +0 -21
- package/dist/esm/packages/taco/src/components/Select2/utilities.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js +0 -58
- package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Spinner/Spinner.js +0 -44
- package/dist/esm/packages/taco/src/components/Spinner/Spinner.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Switch/Switch.js +0 -50
- package/dist/esm/packages/taco/src/components/Switch/Switch.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js +0 -48
- package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js +0 -14
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/components/Table.js +0 -52
- package/dist/esm/packages/taco/src/components/Table/components/Table.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +0 -178
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +0 -207
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowDraggable.js +0 -113
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowDraggable.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js +0 -92
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js +0 -95
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js +0 -95
- package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js +0 -211
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js +0 -118
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js +0 -40
- package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js +0 -100
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/util/rowIndexPath.js +0 -47
- package/dist/esm/packages/taco/src/components/Table/util/rowIndexPath.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js +0 -87
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table/util.js +0 -87
- package/dist/esm/packages/taco/src/components/Table/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +0 -60
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +0 -39
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js +0 -85
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +0 -72
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +0 -218
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +0 -14
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +0 -54
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +0 -70
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +0 -139
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js +0 -90
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +0 -54
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +0 -42
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +0 -49
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +0 -434
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +0 -64
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js +0 -43
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js +0 -106
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js +0 -99
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Tag/Tag.js +0 -43
- package/dist/esm/packages/taco/src/components/Tag/Tag.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js +0 -42
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Toast/Toast.js +0 -79
- package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Toast/Toaster.js +0 -152
- package/dist/esm/packages/taco/src/components/Toast/Toaster.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Toast/util.js +0 -43
- package/dist/esm/packages/taco/src/components/Toast/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +0 -39
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Tour/Tour.js +0 -136
- package/dist/esm/packages/taco/src/components/Tour/Tour.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Treeview/Treeview.js +0 -70
- package/dist/esm/packages/taco/src/components/Treeview/Treeview.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Truncate/Truncate.js +0 -34
- package/dist/esm/packages/taco/src/components/Truncate/Truncate.js.map +0 -1
- package/dist/esm/packages/taco/src/components/VisuallyHidden/VisuallyHidden.js +0 -11
- package/dist/esm/packages/taco/src/components/VisuallyHidden/VisuallyHidden.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js +0 -18
- package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useBoundingClientRectListener.js +0 -43
- package/dist/esm/packages/taco/src/hooks/useBoundingClientRectListener.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js +0 -20
- package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useId.js +0 -10
- package/dist/esm/packages/taco/src/hooks/useId.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js +0 -48
- package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useIsFormControl.js +0 -28
- package/dist/esm/packages/taco/src/hooks/useIsFormControl.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useIsHoverStatePaused.js +0 -19
- package/dist/esm/packages/taco/src/hooks/useIsHoverStatePaused.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js +0 -6
- package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useLazyEffect.js +0 -16
- package/dist/esm/packages/taco/src/hooks/useLazyEffect.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useLocalStorage.js +0 -44
- package/dist/esm/packages/taco/src/hooks/useLocalStorage.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useMatchMedia.js +0 -18
- package/dist/esm/packages/taco/src/hooks/useMatchMedia.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useMergedRef.js +0 -19
- package/dist/esm/packages/taco/src/hooks/useMergedRef.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/usePrevious.js +0 -17
- package/dist/esm/packages/taco/src/hooks/usePrevious.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useTacoSettings.js +0 -9
- package/dist/esm/packages/taco/src/hooks/useTacoSettings.js.map +0 -1
- package/dist/esm/packages/taco/src/index.js +0 -83
- package/dist/esm/packages/taco/src/index.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/BubbleSelect.js +0 -53
- package/dist/esm/packages/taco/src/primitives/BubbleSelect.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Button.js +0 -36
- package/dist/esm/packages/taco/src/primitives/Button.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Collection/Collection.js +0 -3
- package/dist/esm/packages/taco/src/primitives/Collection/Collection.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js +0 -157
- package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Context.js +0 -7
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Context.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Group.js +0 -19
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Group.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Option.js +0 -62
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Option.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js +0 -65
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Title.js +0 -25
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Title.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +0 -61
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js +0 -51
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Sortable/components/List.js +0 -28
- package/dist/esm/packages/taco/src/primitives/Sortable/components/List.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +0 -77
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js +0 -100
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js +0 -21
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js +0 -29
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js +0 -45
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js +0 -67
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js +0 -33
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js +0 -70
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js +0 -101
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +0 -73
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js +0 -71
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js +0 -167
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js +0 -55
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js +0 -39
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +0 -222
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js +0 -28
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +0 -164
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js +0 -66
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js +0 -41
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js +0 -30
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +0 -118
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js +0 -64
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js +0 -30
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js +0 -9
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +0 -54
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js +0 -62
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +0 -130
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js +0 -111
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js +0 -50
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +0 -66
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +0 -129
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js +0 -53
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js +0 -134
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +0 -88
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js +0 -114
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js +0 -119
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js +0 -103
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js +0 -30
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js +0 -17
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js +0 -164
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyle.js +0 -86
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyle.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleColumnFreezing.js +0 -61
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleColumnFreezing.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleGrid.js +0 -71
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleGrid.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js +0 -24
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +0 -54
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js +0 -9
- package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/types.js +0 -27
- package/dist/esm/packages/taco/src/primitives/Table/types.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js +0 -165
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js +0 -21
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js +0 -8
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js +0 -13
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js +0 -8
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js +0 -36
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js +0 -11
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +0 -80
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js +0 -33
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +0 -14
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +0 -9
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js +0 -9
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js +0 -9
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js +0 -9
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js +0 -13
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js +0 -33
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js +0 -38
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js +0 -71
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js +0 -69
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js +0 -15
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js +0 -19
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js +0 -47
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js +0 -14
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js +0 -23
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js +0 -19
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js +0 -15
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +0 -26
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js +0 -49
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js +0 -19
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +0 -126
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js +0 -120
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js +0 -131
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +0 -147
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js +0 -57
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +0 -34
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +0 -282
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js +0 -18
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +0 -1
- package/dist/esm/packages/taco/src/types.js +0 -12
- package/dist/esm/packages/taco/src/types.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/aria.js +0 -15
- package/dist/esm/packages/taco/src/utils/aria.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/date.js +0 -63
- package/dist/esm/packages/taco/src/utils/date.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/debounce.js +0 -10
- package/dist/esm/packages/taco/src/utils/debounce.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/device.js +0 -5
- package/dist/esm/packages/taco/src/utils/device.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/dom.js +0 -88
- package/dist/esm/packages/taco/src/utils/dom.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js +0 -54
- package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/hooks/useDropTarget.js +0 -36
- package/dist/esm/packages/taco/src/utils/hooks/useDropTarget.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/hooks/useListKeyboardNavigation.js +0 -34
- package/dist/esm/packages/taco/src/utils/hooks/useListKeyboardNavigation.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/hooks/useListScrollTo.js +0 -33
- package/dist/esm/packages/taco/src/utils/hooks/useListScrollTo.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/hooks/useOnClickOutside.js +0 -22
- package/dist/esm/packages/taco/src/utils/hooks/useOnClickOutside.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/hooks/useTimer.js +0 -49
- package/dist/esm/packages/taco/src/utils/hooks/useTimer.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/hooks/useTruncated.js +0 -20
- package/dist/esm/packages/taco/src/utils/hooks/useTruncated.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/input.js +0 -42
- package/dist/esm/packages/taco/src/utils/input.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/keyboard.js +0 -44
- package/dist/esm/packages/taco/src/utils/keyboard.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/mergeRefs.js +0 -14
- package/dist/esm/packages/taco/src/utils/mergeRefs.js.map +0 -1
- package/dist/esm/packages/taco/src/utils/tailwind.js +0 -92
- package/dist/esm/packages/taco/src/utils/tailwind.js.map +0 -1
- package/dist/hooks/useBoundaryOverflowDetection.d.ts +0 -2
- package/dist/hooks/useBoundingClientRectListener.d.ts +0 -2
- package/dist/hooks/useDebouncedEffect.d.ts +0 -2
- package/dist/hooks/useGlobalKeyDown.d.ts +0 -2
- package/dist/hooks/useId.d.ts +0 -1
- package/dist/hooks/useIntersectionObserver.d.ts +0 -2
- package/dist/hooks/useIsFormControl.d.ts +0 -2
- package/dist/hooks/useIsHoverStatePaused.d.ts +0 -2
- package/dist/hooks/useIsLargeScreen.d.ts +0 -1
- package/dist/hooks/useLazyEffect.d.ts +0 -2
- package/dist/hooks/useLocalStorage.d.ts +0 -2
- package/dist/hooks/useMatchMedia.d.ts +0 -1
- package/dist/hooks/useMergedRef.d.ts +0 -2
- package/dist/hooks/usePrevious.d.ts +0 -2
- package/dist/hooks/useTacoSettings.d.ts +0 -1
- package/dist/index.js +0 -8
- package/dist/primitives/BubbleSelect.d.ts +0 -2
- package/dist/primitives/Button.d.ts +0 -22
- package/dist/primitives/Collection/Collection.d.ts +0 -2
- package/dist/primitives/Collection/components/Root.d.ts +0 -12
- package/dist/primitives/Listbox2/Listbox2.d.ts +0 -5
- package/dist/primitives/Listbox2/components/Context.d.ts +0 -10
- package/dist/primitives/Listbox2/components/Group.d.ts +0 -8
- package/dist/primitives/Listbox2/components/Option.d.ts +0 -10
- package/dist/primitives/Listbox2/components/Root.d.ts +0 -20
- package/dist/primitives/Listbox2/components/Title.d.ts +0 -3
- package/dist/primitives/Listbox2/types.d.ts +0 -2
- package/dist/primitives/Sortable/Sortable.d.ts +0 -6
- package/dist/primitives/Sortable/components/Container.d.ts +0 -11
- package/dist/primitives/Sortable/components/Item.d.ts +0 -10
- package/dist/primitives/Sortable/components/List.d.ts +0 -8
- package/dist/primitives/Table/Core/Table.d.ts +0 -19
- package/dist/primitives/Table/Core/components/Body/Body.d.ts +0 -11
- package/dist/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +0 -8
- package/dist/primitives/Table/Core/components/Body/util.d.ts +0 -6
- package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +0 -3
- package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +0 -3
- package/dist/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +0 -10
- package/dist/primitives/Table/Core/components/Columns/Cell/util.d.ts +0 -18
- package/dist/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +0 -13
- package/dist/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +0 -2
- package/dist/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +0 -2
- package/dist/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +0 -2
- package/dist/primitives/Table/Core/components/Footer/Footer.d.ts +0 -15
- package/dist/primitives/Table/Core/components/Footer/Summary.d.ts +0 -6
- package/dist/primitives/Table/Core/components/Header/Header.d.ts +0 -46
- package/dist/primitives/Table/Core/components/Header/components/Goto.d.ts +0 -6
- package/dist/primitives/Table/Core/components/Header/components/Menu.d.ts +0 -22
- package/dist/primitives/Table/Core/components/Header/components/Resizer.d.ts +0 -13
- package/dist/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +0 -15
- package/dist/primitives/Table/Core/components/Header/util.d.ts +0 -4
- package/dist/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +0 -4
- package/dist/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +0 -8
- package/dist/primitives/Table/Core/components/Row/Row.d.ts +0 -6
- package/dist/primitives/Table/Core/components/Row/RowContext.d.ts +0 -7
- package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +0 -7
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +0 -7
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -7
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +0 -12
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +0 -12
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +0 -7
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +0 -10
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/util.d.ts +0 -5
- package/dist/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +0 -9
- package/dist/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +0 -17
- package/dist/primitives/Table/Core/components/Toolbar/components/Search/Search.d.ts +0 -10
- package/dist/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +0 -7
- package/dist/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +0 -8
- package/dist/primitives/Table/Core/features/useTableGlobalShortcuts.d.ts +0 -4
- package/dist/primitives/Table/Core/features/useTableRef.d.ts +0 -4
- package/dist/primitives/Table/Core/features/useTableRenderer.d.ts +0 -10
- package/dist/primitives/Table/Core/features/useTableStyle.d.ts +0 -797
- package/dist/primitives/Table/Core/features/useTableStyleColumnFreezing.d.ts +0 -4
- package/dist/primitives/Table/Core/features/useTableStyleGrid.d.ts +0 -7
- package/dist/primitives/Table/Core/listeners/useTableRowActiveListener.d.ts +0 -3
- package/dist/primitives/Table/Core/types.d.ts +0 -21
- package/dist/primitives/Table/Core/useTable.d.ts +0 -28
- package/dist/primitives/Table/Core/util/rows.d.ts +0 -6
- package/dist/primitives/Table/types.d.ts +0 -381
- package/dist/primitives/Table/useTableDataLoader.d.ts +0 -24
- package/dist/primitives/Table/useTableManager/features/useTableColumnFreezing.d.ts +0 -6
- package/dist/primitives/Table/useTableManager/features/useTableColumnOrdering.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/features/useTableFontSize.d.ts +0 -7
- package/dist/primitives/Table/useTableManager/features/useTableFooter.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/features/useTablePrinting.d.ts +0 -15
- package/dist/primitives/Table/useTableManager/features/useTableRowActions.d.ts +0 -6
- package/dist/primitives/Table/useTableManager/features/useTableRowActive.d.ts +0 -13
- package/dist/primitives/Table/useTableManager/features/useTableRowClick.d.ts +0 -7
- package/dist/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +0 -8
- package/dist/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +0 -5
- package/dist/primitives/Table/useTableManager/features/useTableRowExpansion.d.ts +0 -5
- package/dist/primitives/Table/useTableManager/features/useTableRowGoto.d.ts +0 -5
- package/dist/primitives/Table/useTableManager/features/useTableRowGroups.d.ts +0 -5
- package/dist/primitives/Table/useTableManager/features/useTableRowHeight.d.ts +0 -7
- package/dist/primitives/Table/useTableManager/features/useTableRowSelection.d.ts +0 -7
- package/dist/primitives/Table/useTableManager/features/useTableSearch.d.ts +0 -11
- package/dist/primitives/Table/useTableManager/features/useTableServerLoading.d.ts +0 -10
- package/dist/primitives/Table/useTableManager/features/useTableSettings.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/listeners/useTableDataListener.d.ts +0 -2
- package/dist/primitives/Table/useTableManager/listeners/useTableFilterListener.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +0 -2
- package/dist/primitives/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +0 -2
- package/dist/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/listeners/useTableSearchListener.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/listeners/useTableSettingsListener.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/listeners/useTableSortingListener.d.ts +0 -3
- package/dist/primitives/Table/useTableManager/types.d.ts +0 -14
- package/dist/primitives/Table/useTableManager/useTableManager.d.ts +0 -66
- package/dist/primitives/Table/useTableManager/util/columns.d.ts +0 -10
- package/dist/primitives/Table/useTableManager/util/columns.spec.d.ts +0 -1
- package/dist/primitives/Table/useTableManager/util/filtering.d.ts +0 -7
- package/dist/primitives/Table/useTableManager/util/presets.d.ts +0 -2
- package/dist/primitives/Table/useTableManager/util/search.d.ts +0 -2
- package/dist/primitives/Table/useTableManager/util/settings.d.ts +0 -12
- package/dist/primitives/Table/useTableManager/util/setup.d.ts +0 -15
- package/dist/primitives/Table/useTableManager/util/sorting.d.ts +0 -2
- package/dist/taco.cjs.development.js +0 -20771
- package/dist/taco.cjs.development.js.map +0 -1
- package/dist/taco.cjs.production.min.js +0 -2
- package/dist/taco.cjs.production.min.js.map +0 -1
- package/dist/types.d.ts +0 -20
- package/dist/utils/aria.d.ts +0 -2
- package/dist/utils/date.d.ts +0 -4
- package/dist/utils/debounce.d.ts +0 -1
- package/dist/utils/device.d.ts +0 -1
- package/dist/utils/dom.d.ts +0 -10
- package/dist/utils/hooks/useDraggable.d.ts +0 -2
- package/dist/utils/hooks/useDropTarget.d.ts +0 -8
- package/dist/utils/hooks/useListKeyboardNavigation.d.ts +0 -8
- package/dist/utils/hooks/useListScrollTo.d.ts +0 -1
- package/dist/utils/hooks/useOnClickOutside.d.ts +0 -2
- package/dist/utils/hooks/useRefState.d.ts +0 -1
- package/dist/utils/hooks/useTimer.d.ts +0 -7
- package/dist/utils/hooks/useTruncated.d.ts +0 -3
- package/dist/utils/input.d.ts +0 -4
- package/dist/utils/keyboard.d.ts +0 -10
- package/dist/utils/mergeRefs.d.ts +0 -2
- package/dist/utils/storyutils.d.ts +0 -8
- package/dist/utils/tailwind.d.ts +0 -6
@@ -1,83 +0,0 @@
|
|
1
|
-
import { forwardRef, createElement } from 'react';
|
2
|
-
import cn from 'clsx';
|
3
|
-
import { Icon } from '../Icon/Icon.js';
|
4
|
-
import { Root, Indicator } from '@radix-ui/react-checkbox';
|
5
|
-
import { useId } from '../../hooks/useId.js';
|
6
|
-
import { Spinner } from '../Spinner/Spinner.js';
|
7
|
-
|
8
|
-
const Checkbox = /*#__PURE__*/forwardRef(function Checkbox(props, ref) {
|
9
|
-
const {
|
10
|
-
checked,
|
11
|
-
indeterminate,
|
12
|
-
invalid,
|
13
|
-
label,
|
14
|
-
loading,
|
15
|
-
onChange,
|
16
|
-
...otherProps
|
17
|
-
} = props;
|
18
|
-
const id = useId(props.id);
|
19
|
-
const className = cn('bg-white h-5 w-5 border rounded text-sm flex-shrink-0 mt-[0.1rem] focus-visible:yt-focus disabled:cursor-not-allowed text-white', {
|
20
|
-
'self-start': !!label
|
21
|
-
}, invalid ? {
|
22
|
-
'border-red-500 hover:border-red-700 aria-checked:border-red-500 aria-checked-mixed:border-red-500 aria-checked:bg-red-500 aria-checked-mixed:bg-red-500 aria-checked:hover:border-red-700 aria-checked-mixed:hover:border-red-700 aria-checked:hover:bg-red-700 aria-checked-mixed:hover:bg-red-700': !props.disabled,
|
23
|
-
'border-red-500/50 aria-checked:wcag-red-500/50 aria-checked-mixed:wcag-red-500/50': props.disabled
|
24
|
-
} : {
|
25
|
-
'border-grey-500 hover:border-grey-700 aria-checked:border-blue-500 aria-checked-mixed:border-blue-500 aria-checked:bg-blue-500 aria-checked-mixed:bg-blue-500 aria-checked:hover:border-blue-700 aria-checked-mixed:hover:border-blue-700 aria-checked:hover:bg-blue-700 aria-checked-mixed:hover:bg-blue-700': !props.disabled,
|
26
|
-
'border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked-mixed:bg-blue-500/50': props.disabled
|
27
|
-
}, props.className);
|
28
|
-
let handleChange;
|
29
|
-
if (onChange) {
|
30
|
-
handleChange = checked => onChange(checked === 'indeterminate' ? false : checked);
|
31
|
-
}
|
32
|
-
let labelledByProps = null;
|
33
|
-
if (label) {
|
34
|
-
labelledByProps = {
|
35
|
-
'aria-labelledby': `${id}-label`,
|
36
|
-
id
|
37
|
-
};
|
38
|
-
}
|
39
|
-
// the enter keyboard shortcut isn't supported by default, but we want it
|
40
|
-
const handleKeyDown = event => {
|
41
|
-
if (event.key === 'Enter') {
|
42
|
-
event.currentTarget.click();
|
43
|
-
}
|
44
|
-
};
|
45
|
-
const spinnerClassname = cn(
|
46
|
-
//Spinner is slightly bigger then 'line' and 'tick' icons, so making it 2px smaller from each side
|
47
|
-
"m-0.5 !h-[calc(100%-theme('spacing.1'))] !w-[calc(100%-theme('spacing.1'))]", {
|
48
|
-
'text-blue-500': !checked && !indeterminate
|
49
|
-
});
|
50
|
-
const element = /*#__PURE__*/createElement(Root, Object.assign({}, otherProps, labelledByProps, {
|
51
|
-
"aria-invalid": invalid ? 'true' : undefined,
|
52
|
-
"data-taco": "checkbox",
|
53
|
-
checked: indeterminate ? 'indeterminate' : checked,
|
54
|
-
className: className,
|
55
|
-
onCheckedChange: handleChange,
|
56
|
-
onKeyDown: handleKeyDown,
|
57
|
-
ref: ref
|
58
|
-
}), loading ? ( /*#__PURE__*/createElement(Spinner, {
|
59
|
-
className: spinnerClassname
|
60
|
-
})) : ( /*#__PURE__*/createElement(Indicator, {
|
61
|
-
className: "flex h-full w-full"
|
62
|
-
}, /*#__PURE__*/createElement(Icon, {
|
63
|
-
name: indeterminate ? 'line' : 'tick',
|
64
|
-
className: "!h-full !w-full"
|
65
|
-
}))));
|
66
|
-
if (label) {
|
67
|
-
const labelContainerClassName = cn('flex items-center cursor-pointer gap-2', {
|
68
|
-
'cursor-not-allowed text-grey-300': props.disabled
|
69
|
-
});
|
70
|
-
return /*#__PURE__*/createElement("span", {
|
71
|
-
className: labelContainerClassName,
|
72
|
-
"data-taco": "checkbox-container"
|
73
|
-
}, element, /*#__PURE__*/createElement("label", {
|
74
|
-
htmlFor: id,
|
75
|
-
id: `${id}-label`
|
76
|
-
}, label));
|
77
|
-
}
|
78
|
-
return element;
|
79
|
-
});
|
80
|
-
Checkbox.displayName = 'Checkbox';
|
81
|
-
|
82
|
-
export { Checkbox };
|
83
|
-
//# sourceMappingURL=Checkbox.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sources":["../../../../../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":["import * as React from 'react';\nimport cn from 'clsx';\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox';\nimport { Icon } from '../Icon/Icon';\nimport { useId } from '../../hooks/useId';\nimport { Spinner } from '../Spinner/Spinner';\n\ntype CheckedState = boolean | 'indeterminate';\n\ntype CheckboxBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onChange'> & {\n /**\n * Indeterminate state should only be used with sub-checkboxes. The indeterminate state is shown if not all\n * sub-checkboxes are selected. This only affects the style, changing the icon in the checkbox.\n */\n indeterminate?: boolean;\n /* Whether the checkbox is in an invalid state */\n invalid?: boolean;\n /** Label for the checkbox */\n label?: React.ReactNode;\n /** Displays loading state in checkbox */\n loading?: boolean;\n /* Whether user input is required */\n required?: boolean;\n};\n\nexport interface UncontrolledCheckboxProps extends CheckboxBaseProps {\n checked?: never;\n onChange?: never;\n /* The default checked state (uncontrolled) */\n defaultChecked?: boolean;\n}\n\nexport interface ControlledCheckboxProps extends CheckboxBaseProps {\n defaultChecked?: never;\n /* The current checked state (controlled) */\n checked: boolean;\n /* Handler called when the checked state changes */\n onChange: (checked: boolean) => void;\n}\n\nexport type CheckboxProps = UncontrolledCheckboxProps | ControlledCheckboxProps;\n\nexport const Checkbox = React.forwardRef(function Checkbox(props: CheckboxProps, ref: React.Ref<HTMLButtonElement>) {\n const { checked, indeterminate, invalid, label, loading, onChange, ...otherProps } = props;\n const id = useId(props.id);\n\n const className = cn(\n 'bg-white h-5 w-5 border rounded text-sm flex-shrink-0 mt-[0.1rem] focus-visible:yt-focus disabled:cursor-not-allowed text-white',\n {\n 'self-start': !!label,\n },\n invalid\n ? {\n 'border-red-500 hover:border-red-700 aria-checked:border-red-500 aria-checked-mixed:border-red-500 aria-checked:bg-red-500 aria-checked-mixed:bg-red-500 aria-checked:hover:border-red-700 aria-checked-mixed:hover:border-red-700 aria-checked:hover:bg-red-700 aria-checked-mixed:hover:bg-red-700':\n !props.disabled,\n 'border-red-500/50 aria-checked:wcag-red-500/50 aria-checked-mixed:wcag-red-500/50': props.disabled,\n }\n : {\n 'border-grey-500 hover:border-grey-700 aria-checked:border-blue-500 aria-checked-mixed:border-blue-500 aria-checked:bg-blue-500 aria-checked-mixed:bg-blue-500 aria-checked:hover:border-blue-700 aria-checked-mixed:hover:border-blue-700 aria-checked:hover:bg-blue-700 aria-checked-mixed:hover:bg-blue-700':\n !props.disabled,\n 'border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked-mixed:bg-blue-500/50': props.disabled,\n },\n props.className\n );\n\n let handleChange: ((checked: CheckedState) => void) | undefined;\n\n if (onChange) {\n handleChange = (checked: CheckedState) => onChange(checked === 'indeterminate' ? false : checked);\n }\n\n let labelledByProps: Record<string, string> | null = null;\n\n if (label) {\n labelledByProps = {\n 'aria-labelledby': `${id}-label`,\n id,\n };\n }\n\n // the enter keyboard shortcut isn't supported by default, but we want it\n const handleKeyDown = (event: React.KeyboardEvent<HTMLButtonElement>) => {\n if (event.key === 'Enter') {\n event.currentTarget.click();\n }\n };\n\n const spinnerClassname = cn(\n //Spinner is slightly bigger then 'line' and 'tick' icons, so making it 2px smaller from each side\n \"m-0.5 !h-[calc(100%-theme('spacing.1'))] !w-[calc(100%-theme('spacing.1'))]\",\n { 'text-blue-500': !checked && !indeterminate }\n );\n\n const element = (\n <CheckboxPrimitive.Root\n {...otherProps}\n {...labelledByProps}\n aria-invalid={invalid ? 'true' : undefined}\n data-taco=\"checkbox\"\n checked={indeterminate ? 'indeterminate' : checked}\n className={className}\n onCheckedChange={handleChange}\n onKeyDown={handleKeyDown}\n ref={ref}>\n {loading ? (\n <Spinner className={spinnerClassname} />\n ) : (\n <CheckboxPrimitive.Indicator className=\"flex h-full w-full\">\n <Icon name={indeterminate ? 'line' : 'tick'} className=\"!h-full !w-full\" />\n </CheckboxPrimitive.Indicator>\n )}\n </CheckboxPrimitive.Root>\n );\n\n if (label) {\n const labelContainerClassName = cn('flex items-center cursor-pointer gap-2', {\n 'cursor-not-allowed text-grey-300': props.disabled,\n });\n\n return (\n <span className={labelContainerClassName} data-taco=\"checkbox-container\">\n {element}\n <label htmlFor={id} id={`${id}-label`}>\n {label}\n </label>\n </span>\n );\n }\n\n return element;\n});\nCheckbox.displayName = 'Checkbox';\n"],"names":["Checkbox","React","props","ref","checked","indeterminate","invalid","label","loading","onChange","otherProps","id","useId","className","cn","disabled","handleChange","labelledByProps","handleKeyDown","event","key","currentTarget","click","spinnerClassname","element","CheckboxPrimitive","undefined","onCheckedChange","onKeyDown","Spinner","Icon","name","labelContainerClassName","htmlFor","displayName"],"mappings":";;;;;;;MA0CaA,QAAQ,gBAAGC,UAAgB,CAAC,SAASD,QAAQA,CAACE,KAAoB,EAAEC,GAAiC;EAC9G,MAAM;IAAEC,OAAO;IAAEC,aAAa;IAAEC,OAAO;IAAEC,KAAK;IAAEC,OAAO;IAAEC,QAAQ;IAAE,GAAGC;GAAY,GAAGR,KAAK;EAC1F,MAAMS,EAAE,GAAGC,KAAK,CAACV,KAAK,CAACS,EAAE,CAAC;EAE1B,MAAME,SAAS,GAAGC,EAAE,CAChB,iIAAiI,EACjI;IACI,YAAY,EAAE,CAAC,CAACP;GACnB,EACDD,OAAO,GACD;IACI,qSAAqS,EACjS,CAACJ,KAAK,CAACa,QAAQ;IACnB,mFAAmF,EAAEb,KAAK,CAACa;GAC9F,GACD;IACI,+SAA+S,EAC3S,CAACb,KAAK,CAACa,QAAQ;IACnB,kFAAkF,EAAEb,KAAK,CAACa;GAC7F,EACPb,KAAK,CAACW,SAAS,CAClB;EAED,IAAIG,YAA2D;EAE/D,IAAIP,QAAQ,EAAE;IACVO,YAAY,GAAIZ,OAAqB,IAAKK,QAAQ,CAACL,OAAO,KAAK,eAAe,GAAG,KAAK,GAAGA,OAAO,CAAC;;EAGrG,IAAIa,eAAe,GAAkC,IAAI;EAEzD,IAAIV,KAAK,EAAE;IACPU,eAAe,GAAG;MACd,iBAAiB,KAAKN,UAAU;MAChCA;KACH;;;EAIL,MAAMO,aAAa,GAAIC,KAA6C;IAChE,IAAIA,KAAK,CAACC,GAAG,KAAK,OAAO,EAAE;MACvBD,KAAK,CAACE,aAAa,CAACC,KAAK,EAAE;;GAElC;EAED,MAAMC,gBAAgB,GAAGT,EAAE;;EAEvB,6EAA6E,EAC7E;IAAE,eAAe,EAAE,CAACV,OAAO,IAAI,CAACC;GAAe,CAClD;EAED,MAAMmB,OAAO,gBACTvB,cAACwB,IAAsB,oBACff,UAAU,EACVO,eAAe;oBACLX,OAAO,GAAG,MAAM,GAAGoB,SAAS;iBAChC,UAAU;IACpBtB,OAAO,EAAEC,aAAa,GAAG,eAAe,GAAGD,OAAO;IAClDS,SAAS,EAAEA,SAAS;IACpBc,eAAe,EAAEX,YAAY;IAC7BY,SAAS,EAAEV,aAAa;IACxBf,GAAG,EAAEA;MACJK,OAAO,kBACJP,cAAC4B,OAAO;IAAChB,SAAS,EAAEU;IAAoB,mBAExCtB,cAACwB,SAA2B;IAACZ,SAAS,EAAC;kBACnCZ,cAAC6B,IAAI;IAACC,IAAI,EAAE1B,aAAa,GAAG,MAAM,GAAG,MAAM;IAAEQ,SAAS,EAAC;IAAoB,CACjD,CACjC,CAER;EAED,IAAIN,KAAK,EAAE;IACP,MAAMyB,uBAAuB,GAAGlB,EAAE,CAAC,wCAAwC,EAAE;MACzE,kCAAkC,EAAEZ,KAAK,CAACa;KAC7C,CAAC;IAEF,oBACId;MAAMY,SAAS,EAAEmB,uBAAuB;mBAAY;OAC/CR,OAAO,eACRvB;MAAOgC,OAAO,EAAEtB,EAAE;MAAEA,EAAE,KAAKA;OACtBJ,KAAK,CACF,CACL;;EAIf,OAAOiB,OAAO;AAClB,CAAC;AACDxB,QAAQ,CAACkC,WAAW,GAAG,UAAU;;;;"}
|
@@ -1,90 +0,0 @@
|
|
1
|
-
import { forwardRef, useRef, createElement } from 'react';
|
2
|
-
import cn from 'clsx';
|
3
|
-
import { IconButton } from '../IconButton/IconButton.js';
|
4
|
-
import { useLocalization } from '../Provider/Localization.js';
|
5
|
-
import { Root, Anchor, Portal, Content } from '@radix-ui/react-popover';
|
6
|
-
import { useBoundingClientRectListener } from '../../hooks/useBoundingClientRectListener.js';
|
7
|
-
import { Input } from '../Input/Input.js';
|
8
|
-
import { ScrollableList } from '../Listbox/ScrollableList.js';
|
9
|
-
import { useCombobox } from './useCombobox.js';
|
10
|
-
|
11
|
-
const Combobox = /*#__PURE__*/forwardRef(function Combobox(props, ref) {
|
12
|
-
const {
|
13
|
-
className: externalClassName,
|
14
|
-
dialog,
|
15
|
-
style,
|
16
|
-
...otherProps
|
17
|
-
} = props;
|
18
|
-
const {
|
19
|
-
combobox,
|
20
|
-
button,
|
21
|
-
input,
|
22
|
-
popover,
|
23
|
-
list
|
24
|
-
} = useCombobox(otherProps, ref);
|
25
|
-
const internalRef = useRef(null);
|
26
|
-
const {
|
27
|
-
texts
|
28
|
-
} = useLocalization();
|
29
|
-
const selectDimensions = useBoundingClientRectListener(internalRef);
|
30
|
-
const className = cn('inline-flex relative', {
|
31
|
-
'yt-combobox--inline': props.inline
|
32
|
-
}, externalClassName);
|
33
|
-
return /*#__PURE__*/createElement("span", {
|
34
|
-
className: className,
|
35
|
-
"data-taco": "combobox",
|
36
|
-
style: style
|
37
|
-
}, /*#__PURE__*/createElement(Root, Object.assign({}, popover), /*#__PURE__*/createElement(Anchor, {
|
38
|
-
asChild: true,
|
39
|
-
ref: internalRef
|
40
|
-
}, /*#__PURE__*/createElement("div", Object.assign({}, combobox, {
|
41
|
-
className: "inline w-full",
|
42
|
-
ref: ref
|
43
|
-
}), /*#__PURE__*/createElement(Input, Object.assign({}, input, {
|
44
|
-
autoComplete: "off",
|
45
|
-
button: props.readOnly ? undefined : props.inline ? ( /*#__PURE__*/createElement(IconButton
|
46
|
-
// In case of inline combobox, this icon button acts only as visual chevron representation,
|
47
|
-
// so should be taken out of screen reader scope.
|
48
|
-
, {
|
49
|
-
"aria-hidden": true,
|
50
|
-
appearance: "discrete",
|
51
|
-
className: "!border-l-0 focus:!border-none focus:!shadow-none active:!border-none",
|
52
|
-
icon: popover.open ? 'chevron-up' : 'chevron-down',
|
53
|
-
onClick: () => {
|
54
|
-
var _input$ref$current;
|
55
|
-
popover.onOpenChange(true);
|
56
|
-
(_input$ref$current = input.ref.current) === null || _input$ref$current === void 0 ? void 0 : _input$ref$current.focus();
|
57
|
-
},
|
58
|
-
tabIndex: -1
|
59
|
-
})) : dialog ? ( /*#__PURE__*/createElement(IconButton, {
|
60
|
-
"aria-label": texts.combobox.tooltip,
|
61
|
-
icon: "list-search",
|
62
|
-
disabled: props.readOnly || props.disabled,
|
63
|
-
dialog: dialog,
|
64
|
-
onFocus: event => {
|
65
|
-
var _input$ref$current2;
|
66
|
-
// Prevents the default focus behaviour of showing the tooltip, on parent tooltip element
|
67
|
-
event.preventDefault();
|
68
|
-
(_input$ref$current2 = input.ref.current) === null || _input$ref$current2 === void 0 ? void 0 : _input$ref$current2.focus();
|
69
|
-
},
|
70
|
-
ref: button.ref,
|
71
|
-
tabIndex: -1,
|
72
|
-
tooltip: texts.combobox.tooltip
|
73
|
-
})) : undefined
|
74
|
-
})))), /*#__PURE__*/createElement(Portal, null, /*#__PURE__*/createElement(Content, {
|
75
|
-
align: "start",
|
76
|
-
onOpenAutoFocus: event => {
|
77
|
-
event.preventDefault();
|
78
|
-
},
|
79
|
-
sideOffset: 4
|
80
|
-
}, /*#__PURE__*/createElement(ScrollableList, Object.assign({}, list, {
|
81
|
-
className: cn('max-h-[calc(12rem+2px)] w-auto max-w-[theme(spacing.96)] !border-blue-500'),
|
82
|
-
style: {
|
83
|
-
minWidth: selectDimensions === null || selectDimensions === void 0 ? void 0 : selectDimensions.width
|
84
|
-
},
|
85
|
-
tabIndex: popover.open ? 0 : -1
|
86
|
-
}))))));
|
87
|
-
});
|
88
|
-
|
89
|
-
export { Combobox };
|
90
|
-
//# sourceMappingURL=Combobox.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Combobox.js","sources":["../../../../../../../src/components/Combobox/Combobox.tsx"],"sourcesContent":["import * as React from 'react';\nimport cn from 'clsx';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { Input, InputProps } from '../Input/Input';\nimport { useCombobox } from './useCombobox';\nimport { ScrollableList, ScrollableListItem, ScrollableListItemValue } from '../Listbox/ScrollableList';\nimport { useBoundingClientRectListener } from '../../hooks/useBoundingClientRectListener';\nimport { IconButton } from '../IconButton/IconButton';\nimport './Combobox.css';\nimport { DialogProps } from '../Dialog/Dialog';\nimport { useLocalization } from '../Provider/Localization';\n\nexport type ComboboxTexts = {\n /* Tooltip shown for the dialog button */\n tooltip: string;\n};\n\nexport type ComboboxItem = ScrollableListItem;\nexport type ComboboxValue = ScrollableListItemValue;\n\ntype ComboboxBaseProps = Omit<InputProps, 'defaultValue' | 'button' | 'onChange' | 'value'> & {\n /** Array of options in combobox */\n data?: ComboboxItem[];\n /**\n * Initial value of the input in combobox.\n * This is used when combobox is mounted, if no value is provided.\n * *Note* that combobox is a controlled component, setting this will also trigger the `onChange` event\n */\n defaultValue?: ComboboxValue;\n /** Set what value should have an empty option in combobox */\n emptyValue?: ComboboxValue;\n /** Draws attention to the combobox by changing its style and making it visually prominent */\n highlighted?: boolean;\n /** Displays loading state in listbox */\n loading?: boolean;\n /**\n * Handler called when user chooses an option from the provided suggestions.\n * Suggestions will be calculated based on the input value.\n * There are two ways to choose an option: either click on it, or navigate using keyboard and press `enter`\n */\n onChange?: React.ChangeEventHandler<HTMLInputElement>;\n /** Handler called when the user enters a query **/\n onSearch?: (query: string) => void | Promise<void>;\n /** Value of the input in combobox */\n value?: ComboboxValue;\n};\n\ninterface InlineComboboxProps extends ComboboxBaseProps {\n dialog?: never;\n /**\n * Combobox will display its data when input is clicked/focused, even if the input is empty.\n * *Note* that default combobox will display matching data only when user starts typing in input.\n */\n inline: boolean; // Example 3 on https://www.w3.org/TR/wai-aria-practices/examples/combobox/aria1.1pattern/listbox-combo.html\n}\n\ninterface DialogComboboxProps extends ComboboxBaseProps {\n dialog: (props: Partial<DialogProps>) => JSX.Element;\n inline?: never;\n}\n\nexport type ComboboxProps = InlineComboboxProps | DialogComboboxProps;\n\nexport const Combobox = React.forwardRef(function Combobox(props: ComboboxProps, ref: React.Ref<HTMLInputElement>) {\n const { className: externalClassName, dialog, style, ...otherProps } = props;\n const { combobox, button, input, popover, list } = useCombobox(otherProps, ref);\n const internalRef = React.useRef<HTMLDivElement>(null);\n const { texts } = useLocalization();\n const selectDimensions = useBoundingClientRectListener(internalRef);\n const className = cn(\n 'inline-flex relative',\n {\n 'yt-combobox--inline': props.inline,\n },\n externalClassName\n );\n\n return (\n <span className={className} data-taco=\"combobox\" style={style}>\n <PopoverPrimitive.Root {...popover}>\n <PopoverPrimitive.Anchor asChild ref={internalRef}>\n <div {...combobox} className=\"inline w-full\" ref={ref}>\n <Input\n {...input}\n autoComplete=\"off\"\n button={\n props.readOnly ? undefined : props.inline ? (\n <IconButton\n // In case of inline combobox, this icon button acts only as visual chevron representation,\n // so should be taken out of screen reader scope.\n aria-hidden\n appearance=\"discrete\"\n className=\"!border-l-0 focus:!border-none focus:!shadow-none active:!border-none\"\n icon={popover.open ? 'chevron-up' : 'chevron-down'}\n onClick={() => {\n popover.onOpenChange(true);\n input.ref.current?.focus();\n }}\n tabIndex={-1}\n />\n ) : dialog ? (\n <IconButton\n aria-label={texts.combobox.tooltip}\n icon=\"list-search\"\n disabled={props.readOnly || props.disabled}\n dialog={dialog}\n onFocus={(event: React.FocusEvent<HTMLButtonElement>) => {\n // Prevents the default focus behaviour of showing the tooltip, on parent tooltip element\n event.preventDefault();\n input.ref.current?.focus();\n }}\n ref={button.ref}\n tabIndex={-1}\n tooltip={texts.combobox.tooltip}\n />\n ) : undefined\n }\n />\n </div>\n </PopoverPrimitive.Anchor>\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n align=\"start\"\n onOpenAutoFocus={event => {\n event.preventDefault();\n }}\n sideOffset={4}>\n <ScrollableList\n {...list}\n className={cn('max-h-[calc(12rem+2px)] w-auto max-w-[theme(spacing.96)] !border-blue-500')}\n style={{ minWidth: selectDimensions?.width }}\n tabIndex={popover.open ? 0 : -1}\n />\n </PopoverPrimitive.Content>\n </PopoverPrimitive.Portal>\n </PopoverPrimitive.Root>\n </span>\n );\n});\n"],"names":["Combobox","React","props","ref","className","externalClassName","dialog","style","otherProps","combobox","button","input","popover","list","useCombobox","internalRef","texts","useLocalization","selectDimensions","useBoundingClientRectListener","cn","inline","PopoverPrimitive","asChild","Input","autoComplete","readOnly","undefined","IconButton","appearance","icon","open","onClick","onOpenChange","_input$ref$current","current","focus","tabIndex","tooltip","disabled","onFocus","event","preventDefault","_input$ref$current2","align","onOpenAutoFocus","sideOffset","ScrollableList","minWidth","width"],"mappings":";;;;;;;;;;MA+DaA,QAAQ,gBAAGC,UAAgB,CAAC,SAASD,QAAQA,CAACE,KAAoB,EAAEC,GAAgC;EAC7G,MAAM;IAAEC,SAAS,EAAEC,iBAAiB;IAAEC,MAAM;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGN,KAAK;EAC5E,MAAM;IAAEO,QAAQ;IAAEC,MAAM;IAAEC,KAAK;IAAEC,OAAO;IAAEC;GAAM,GAAGC,WAAW,CAACN,UAAU,EAAEL,GAAG,CAAC;EAC/E,MAAMY,WAAW,GAAGd,MAAY,CAAiB,IAAI,CAAC;EACtD,MAAM;IAAEe;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAMC,gBAAgB,GAAGC,6BAA6B,CAACJ,WAAW,CAAC;EACnE,MAAMX,SAAS,GAAGgB,EAAE,CAChB,sBAAsB,EACtB;IACI,qBAAqB,EAAElB,KAAK,CAACmB;GAChC,EACDhB,iBAAiB,CACpB;EAED,oBACIJ;IAAMG,SAAS,EAAEA,SAAS;iBAAY,UAAU;IAACG,KAAK,EAAEA;kBACpDN,cAACqB,IAAqB,oBAAKV,OAAO,gBAC9BX,cAACqB,MAAuB;IAACC,OAAO;IAACpB,GAAG,EAAEY;kBAClCd,uCAASQ,QAAQ;IAAEL,SAAS,EAAC,eAAe;IAACD,GAAG,EAAEA;mBAC9CF,cAACuB,KAAK,oBACEb,KAAK;IACTc,YAAY,EAAC,KAAK;IAClBf,MAAM,EACFR,KAAK,CAACwB,QAAQ,GAAGC,SAAS,GAAGzB,KAAK,CAACmB,MAAM,kBACrCpB,cAAC2B;;;;;MAIGC,UAAU,EAAC,UAAU;MACrBzB,SAAS,EAAC,uEAAuE;MACjF0B,IAAI,EAAElB,OAAO,CAACmB,IAAI,GAAG,YAAY,GAAG,cAAc;MAClDC,OAAO,EAAEA;;QACLpB,OAAO,CAACqB,YAAY,CAAC,IAAI,CAAC;QAC1B,CAAAC,kBAAA,GAAAvB,KAAK,CAACR,GAAG,CAACgC,OAAO,cAAAD,kBAAA,uBAAjBA,kBAAA,CAAmBE,KAAK,EAAE;OAC7B;MACDC,QAAQ,EAAE,CAAC;MACb,IACF/B,MAAM,kBACNL,cAAC2B,UAAU;oBACKZ,KAAK,CAACP,QAAQ,CAAC6B,OAAO;MAClCR,IAAI,EAAC,aAAa;MAClBS,QAAQ,EAAErC,KAAK,CAACwB,QAAQ,IAAIxB,KAAK,CAACqC,QAAQ;MAC1CjC,MAAM,EAAEA,MAAM;MACdkC,OAAO,EAAGC,KAA0C;;;QAEhDA,KAAK,CAACC,cAAc,EAAE;QACtB,CAAAC,mBAAA,GAAAhC,KAAK,CAACR,GAAG,CAACgC,OAAO,cAAAQ,mBAAA,uBAAjBA,mBAAA,CAAmBP,KAAK,EAAE;OAC7B;MACDjC,GAAG,EAAEO,MAAM,CAACP,GAAG;MACfkC,QAAQ,EAAE,CAAC,CAAC;MACZC,OAAO,EAAEtB,KAAK,CAACP,QAAQ,CAAC6B;MAC1B,IACFX;KAEV,CACA,CACgB,eAC1B1B,cAACqB,MAAuB,qBACpBrB,cAACqB,OAAwB;IACrBsB,KAAK,EAAC,OAAO;IACbC,eAAe,EAAEJ,KAAK;MAClBA,KAAK,CAACC,cAAc,EAAE;KACzB;IACDI,UAAU,EAAE;kBACZ7C,cAAC8C,cAAc,oBACPlC,IAAI;IACRT,SAAS,EAAEgB,EAAE,CAAC,2EAA2E,CAAC;IAC1Fb,KAAK,EAAE;MAAEyC,QAAQ,EAAE9B,gBAAgB,aAAhBA,gBAAgB,uBAAhBA,gBAAgB,CAAE+B;KAAO;IAC5CZ,QAAQ,EAAEzB,OAAO,CAACmB,IAAI,GAAG,CAAC,GAAG,CAAC;KAChC,CACqB,CACL,CACN,CACrB;AAEf,CAAC;;;;"}
|
@@ -1,269 +0,0 @@
|
|
1
|
-
import { useRef, useState, useMemo, useEffect } from 'react';
|
2
|
-
import { useMergedRef } from '../../hooks/useMergedRef.js';
|
3
|
-
import { isElementInsideTable3OrReport } from '../../utils/dom.js';
|
4
|
-
import { v4 } from 'uuid';
|
5
|
-
import debounce from 'lodash-es/debounce';
|
6
|
-
import { getId } from '../Listbox/ScrollableList.js';
|
7
|
-
import { createCustomKeyboardEvent } from '../../utils/input.js';
|
8
|
-
import { useFlattenedData, filterData, getIndexFromValue, setInputValueByRef, findByValue, sanitizeItem, getOptionParents } from '../Listbox/util.js';
|
9
|
-
|
10
|
-
const debouncer = /*#__PURE__*/debounce(f => f(), 200);
|
11
|
-
const convertToInputValue = value => String(value !== null && value !== void 0 ? value : '');
|
12
|
-
const useCombobox = ({
|
13
|
-
'aria-label': ariaLabel,
|
14
|
-
'aria-labelledby': ariaLabelledBy,
|
15
|
-
data: unfilteredData = [],
|
16
|
-
defaultValue,
|
17
|
-
disabled,
|
18
|
-
id: nativeId,
|
19
|
-
inline,
|
20
|
-
loading: __,
|
21
|
-
onChange,
|
22
|
-
onClick,
|
23
|
-
onKeyDown,
|
24
|
-
onSearch,
|
25
|
-
readOnly,
|
26
|
-
value,
|
27
|
-
...props
|
28
|
-
}, ref) => {
|
29
|
-
const inputRef = useMergedRef(ref);
|
30
|
-
const buttonRef = useRef(null);
|
31
|
-
const listRef = useRef(null);
|
32
|
-
const [open, setOpen] = useState(false);
|
33
|
-
const listId = useMemo(() => v4(), []);
|
34
|
-
const [inputValue, setInputValue] = useState(convertToInputValue(value));
|
35
|
-
const shouldFilterData = !onSearch && (!inline || inline && inputValue !== convertToInputValue(value));
|
36
|
-
const flattenedData = useFlattenedData(unfilteredData);
|
37
|
-
const data = useMemo(() => shouldFilterData ? filterData(flattenedData, inputValue) : flattenedData, [shouldFilterData, inputValue, flattenedData]);
|
38
|
-
// listbox/select change value _with_ the index, but combobox changes on select of an index (click/enter), so we need state
|
39
|
-
const [currentIndex, setCurrentIndex] = useState(inputValue !== undefined ? getIndexFromValue(data, inputValue) : undefined);
|
40
|
-
const setInputValueByIndex = index => {
|
41
|
-
if (index !== undefined) {
|
42
|
-
const option = data[index];
|
43
|
-
if (option && !option.disabled) {
|
44
|
-
setInputValueByRef(inputRef.current, option.value, 'focusout');
|
45
|
-
}
|
46
|
-
}
|
47
|
-
};
|
48
|
-
const setCurrentValue = index => {
|
49
|
-
if (index === undefined) {
|
50
|
-
return;
|
51
|
-
}
|
52
|
-
const option = data[index];
|
53
|
-
// if the selected option is not already selected, trigger blur event
|
54
|
-
if (option.value !== value) {
|
55
|
-
setInputValueByIndex(index);
|
56
|
-
} else {
|
57
|
-
// if the selected option is already selected, refill input with its value
|
58
|
-
setInputValue(convertToInputValue(value));
|
59
|
-
}
|
60
|
-
};
|
61
|
-
// ensure the external value is synced with the internal value when mounting, e.g. incase a default value was set
|
62
|
-
useEffect(() => {
|
63
|
-
if (defaultValue && !value) {
|
64
|
-
setInputValueByIndex(getIndexFromValue(data, defaultValue));
|
65
|
-
}
|
66
|
-
}, [data]);
|
67
|
-
// update input value if it changed 'externally', e.g. clicking/entering an item in the listbox, from a modal etc
|
68
|
-
useEffect(() => {
|
69
|
-
if (value !== undefined && value !== inputValue) {
|
70
|
-
setInputValue(convertToInputValue(value));
|
71
|
-
}
|
72
|
-
}, [value]);
|
73
|
-
useEffect(() => {
|
74
|
-
if (onSearch) {
|
75
|
-
debouncer(() => {
|
76
|
-
onSearch(inputValue);
|
77
|
-
});
|
78
|
-
}
|
79
|
-
}, [inputValue]);
|
80
|
-
// show listbox based on input value
|
81
|
-
useEffect(() => {
|
82
|
-
// don't show the popover if the internal (input) value already is the current value
|
83
|
-
// this prevents the popover showing after selecting a value or pressing escape
|
84
|
-
const isCurrentValue = value !== undefined && value !== null && inputValue === String(value);
|
85
|
-
if (inputValue && data.length && !isCurrentValue) {
|
86
|
-
setCurrentIndex(0);
|
87
|
-
if (!open) {
|
88
|
-
setOpen(true);
|
89
|
-
}
|
90
|
-
} else {
|
91
|
-
setOpen(false);
|
92
|
-
}
|
93
|
-
}, [inputValue, data]);
|
94
|
-
useEffect(() => {
|
95
|
-
if (open) {
|
96
|
-
setCurrentIndex(getIndexFromValue(data, inputValue) || 0);
|
97
|
-
} else {
|
98
|
-
setCurrentIndex(undefined);
|
99
|
-
}
|
100
|
-
}, [open]);
|
101
|
-
// event handlers
|
102
|
-
const handleInputBlur = event => {
|
103
|
-
event.persist();
|
104
|
-
if (listRef.current && event.relatedTarget === listRef.current) {
|
105
|
-
event.preventDefault();
|
106
|
-
return;
|
107
|
-
}
|
108
|
-
// event.target.value is always a string so it is important to cast value to a string before checking the equality
|
109
|
-
if (onChange && event.target.value !== String(value)) {
|
110
|
-
const item = findByValue(flattenedData, event.target.value);
|
111
|
-
event.detail = sanitizeItem(item);
|
112
|
-
const parents = getOptionParents(flattenedData, item === null || item === void 0 ? void 0 : item.path);
|
113
|
-
if (parents !== null && parents.length > 0) {
|
114
|
-
event.detail.parents = parents;
|
115
|
-
}
|
116
|
-
onChange(event);
|
117
|
-
}
|
118
|
-
if (props.onBlur) {
|
119
|
-
props.onBlur(event);
|
120
|
-
}
|
121
|
-
};
|
122
|
-
const handleInputChange = event => {
|
123
|
-
setInputValue(event.target.value);
|
124
|
-
};
|
125
|
-
const handleInputClick = event => {
|
126
|
-
if (inline || !open && inputValue && data.length) {
|
127
|
-
setOpen(true);
|
128
|
-
}
|
129
|
-
if (onClick) {
|
130
|
-
event.persist();
|
131
|
-
onClick(event);
|
132
|
-
}
|
133
|
-
};
|
134
|
-
const handleInputKeyDown = event => {
|
135
|
-
event.persist();
|
136
|
-
if (!event.ctrlKey && !event.metaKey) {
|
137
|
-
switch (event.key) {
|
138
|
-
case 'Backspace':
|
139
|
-
{
|
140
|
-
return;
|
141
|
-
}
|
142
|
-
case 'Escape':
|
143
|
-
{
|
144
|
-
event.preventDefault();
|
145
|
-
setInputValue(convertToInputValue(value));
|
146
|
-
setOpen(false);
|
147
|
-
return;
|
148
|
-
}
|
149
|
-
case 'Tab':
|
150
|
-
{
|
151
|
-
setCurrentValue(currentIndex);
|
152
|
-
setOpen(false);
|
153
|
-
return;
|
154
|
-
}
|
155
|
-
case 'Enter':
|
156
|
-
{
|
157
|
-
event.preventDefault();
|
158
|
-
if (isElementInsideTable3OrReport(event.currentTarget)) {
|
159
|
-
if (inline && !open) {
|
160
|
-
setOpen(true);
|
161
|
-
} else if (buttonRef.current && !open) {
|
162
|
-
buttonRef.current.click();
|
163
|
-
}
|
164
|
-
}
|
165
|
-
if (open) {
|
166
|
-
setCurrentValue(currentIndex);
|
167
|
-
setOpen(false);
|
168
|
-
}
|
169
|
-
return;
|
170
|
-
}
|
171
|
-
case 'ArrowDown':
|
172
|
-
if (open) {
|
173
|
-
event.preventDefault();
|
174
|
-
} else {
|
175
|
-
if (!inline && buttonRef.current && !isElementInsideTable3OrReport(event.currentTarget)) {
|
176
|
-
buttonRef.current.click();
|
177
|
-
}
|
178
|
-
}
|
179
|
-
break;
|
180
|
-
case 'ArrowUp':
|
181
|
-
case 'Home':
|
182
|
-
case 'End':
|
183
|
-
{
|
184
|
-
if (open) {
|
185
|
-
event.preventDefault();
|
186
|
-
}
|
187
|
-
break;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
// we aren't focused on the list, so manually forward the keydown event to it
|
191
|
-
if (listRef.current) {
|
192
|
-
listRef.current.dispatchEvent(createCustomKeyboardEvent(event));
|
193
|
-
}
|
194
|
-
if (inline && !open) {
|
195
|
-
if ((event.key === 'ArrowUp' || event.key === 'ArrowDown') && !isElementInsideTable3OrReport(event.currentTarget)) {
|
196
|
-
event.preventDefault();
|
197
|
-
const initialIndex = event.key === 'ArrowUp' ? data.length - 1 : 0;
|
198
|
-
setCurrentIndex(currentIndex !== undefined ? currentIndex : initialIndex);
|
199
|
-
setOpen(true);
|
200
|
-
}
|
201
|
-
}
|
202
|
-
}
|
203
|
-
if (!event.isDefaultPrevented() && onKeyDown) {
|
204
|
-
event.persist();
|
205
|
-
onKeyDown(event);
|
206
|
-
}
|
207
|
-
};
|
208
|
-
const handleListboxChange = index => {
|
209
|
-
setCurrentIndex(index);
|
210
|
-
};
|
211
|
-
const handleListboxClick = (event, index) => {
|
212
|
-
event.preventDefault();
|
213
|
-
setCurrentValue(index);
|
214
|
-
setOpen(false);
|
215
|
-
};
|
216
|
-
const combobox = {
|
217
|
-
'aria-expanded': open,
|
218
|
-
'aria-owns': listId,
|
219
|
-
'aria-haspopup': 'listbox',
|
220
|
-
role: 'combobox'
|
221
|
-
};
|
222
|
-
const input = {
|
223
|
-
...props,
|
224
|
-
'aria-controls': listId,
|
225
|
-
// Indicates that the autocomplete behavior of the text input is to suggest a list of possible values in a popup and that the suggestions
|
226
|
-
// are related to the string that is present in the textbox
|
227
|
-
'aria-autocomplete': 'list',
|
228
|
-
// Enables assistive technologies to know which element the application regards as focused while DOM focus remains on the input element
|
229
|
-
'aria-activedescendant': currentIndex !== undefined && data[currentIndex] ? getId(listId, String(data[currentIndex].value)) : undefined,
|
230
|
-
'aria-labelledby': ariaLabelledBy,
|
231
|
-
disabled,
|
232
|
-
onBlur: !disabled && !readOnly ? handleInputBlur : undefined,
|
233
|
-
onChange: !disabled && !readOnly ? handleInputChange : undefined,
|
234
|
-
onClick: !disabled && !readOnly ? handleInputClick : undefined,
|
235
|
-
onKeyDown: !disabled && !readOnly ? handleInputKeyDown : undefined,
|
236
|
-
readOnly,
|
237
|
-
ref: inputRef,
|
238
|
-
type: 'text',
|
239
|
-
value: inputValue !== null && inputValue !== void 0 ? inputValue : ''
|
240
|
-
};
|
241
|
-
const list = {
|
242
|
-
'aria-labelledby': ariaLabelledBy,
|
243
|
-
data,
|
244
|
-
disabled,
|
245
|
-
id: listId,
|
246
|
-
onChange: handleListboxChange,
|
247
|
-
onClick: handleListboxClick,
|
248
|
-
ref: listRef,
|
249
|
-
scrollOnFocus: false,
|
250
|
-
tabIndex: -1,
|
251
|
-
value: currentIndex
|
252
|
-
};
|
253
|
-
const button = {
|
254
|
-
ref: buttonRef
|
255
|
-
};
|
256
|
-
return {
|
257
|
-
combobox,
|
258
|
-
input,
|
259
|
-
list,
|
260
|
-
button,
|
261
|
-
popover: {
|
262
|
-
open,
|
263
|
-
onOpenChange: setOpen
|
264
|
-
}
|
265
|
-
};
|
266
|
-
};
|
267
|
-
|
268
|
-
export { useCombobox };
|
269
|
-
//# sourceMappingURL=useCombobox.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useCombobox.js","sources":["../../../../../../../src/components/Combobox/useCombobox.tsx"],"sourcesContent":["import * as React from 'react';\nimport { v4 as uuid } from 'uuid';\nimport debounce from 'lodash/debounce';\nimport { ComboboxProps } from './Combobox';\nimport {\n setInputValueByRef,\n getIndexFromValue,\n findByValue,\n useFlattenedData,\n sanitizeItem,\n getOptionParents,\n filterData,\n} from '../Listbox/util';\nimport { createCustomKeyboardEvent } from '../../utils/input';\nimport { useMergedRef } from '../../hooks/useMergedRef';\nimport { getId, ScrollableListItemValue, ScrollableListPropsWithRef } from '../Listbox/ScrollableList';\nimport { InputProps } from '../Input/Input';\nimport { isElementInsideTable3OrReport } from '../../utils/dom';\n\nconst debouncer = debounce(f => f(), 200);\n\nconst convertToInputValue = (value: ScrollableListItemValue | undefined) => String(value ?? '');\n\ntype useCombobox = React.HTMLAttributes<HTMLDivElement> & {\n combobox: React.HTMLAttributes<HTMLSpanElement>;\n input: Omit<InputProps, 'defaultValue'> & { ref: React.RefObject<HTMLInputElement> };\n list: ScrollableListPropsWithRef;\n button: { ref: any };\n popover: { open: boolean; onOpenChange: (open: boolean) => void };\n};\n\nexport const useCombobox = (\n {\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n data: unfilteredData = [],\n defaultValue,\n disabled,\n id: nativeId,\n inline,\n loading: __,\n onChange,\n onClick,\n onKeyDown,\n onSearch,\n readOnly,\n value,\n ...props\n }: Omit<ComboboxProps, 'dialog'>,\n ref: React.Ref<HTMLInputElement>\n): useCombobox => {\n const inputRef = useMergedRef<HTMLInputElement>(ref);\n const buttonRef = React.useRef<HTMLButtonElement>(null);\n const listRef = React.useRef<HTMLUListElement>(null);\n const [open, setOpen] = React.useState(false);\n const listId = React.useMemo(() => uuid(), []);\n const [inputValue, setInputValue] = React.useState<string>(convertToInputValue(value));\n const shouldFilterData = !onSearch && (!inline || (inline && inputValue !== convertToInputValue(value)));\n const flattenedData = useFlattenedData(unfilteredData);\n const data = React.useMemo(\n () => (shouldFilterData ? filterData(flattenedData, inputValue) : flattenedData),\n [shouldFilterData, inputValue, flattenedData]\n );\n // listbox/select change value _with_ the index, but combobox changes on select of an index (click/enter), so we need state\n const [currentIndex, setCurrentIndex] = React.useState<number | undefined>(\n inputValue !== undefined ? getIndexFromValue(data, inputValue) : undefined\n );\n\n const setInputValueByIndex = (index: number | undefined): void => {\n if (index !== undefined) {\n const option = data[index];\n\n if (option && !option.disabled) {\n setInputValueByRef(inputRef.current, option.value, 'focusout');\n }\n }\n };\n\n const setCurrentValue = (index: number | undefined) => {\n if (index === undefined) {\n return;\n }\n\n const option = data[index];\n\n // if the selected option is not already selected, trigger blur event\n if (option.value !== value) {\n setInputValueByIndex(index);\n } else {\n // if the selected option is already selected, refill input with its value\n setInputValue(convertToInputValue(value));\n }\n };\n\n // ensure the external value is synced with the internal value when mounting, e.g. incase a default value was set\n React.useEffect(() => {\n if (defaultValue && !value) {\n setInputValueByIndex(getIndexFromValue(data, defaultValue));\n }\n }, [data]);\n\n // update input value if it changed 'externally', e.g. clicking/entering an item in the listbox, from a modal etc\n React.useEffect(() => {\n if (value !== undefined && value !== inputValue) {\n setInputValue(convertToInputValue(value));\n }\n }, [value]);\n\n React.useEffect(() => {\n if (onSearch) {\n debouncer(() => {\n onSearch(inputValue);\n });\n }\n }, [inputValue]);\n\n // show listbox based on input value\n React.useEffect(() => {\n // don't show the popover if the internal (input) value already is the current value\n // this prevents the popover showing after selecting a value or pressing escape\n const isCurrentValue = value !== undefined && value !== null && inputValue === String(value);\n\n if (inputValue && data.length && !isCurrentValue) {\n setCurrentIndex(0);\n\n if (!open) {\n setOpen(true);\n }\n } else {\n setOpen(false);\n }\n }, [inputValue, data]);\n\n React.useEffect(() => {\n if (open) {\n setCurrentIndex(getIndexFromValue(data, inputValue) || 0);\n } else {\n setCurrentIndex(undefined);\n }\n }, [open]);\n\n // event handlers\n const handleInputBlur = (event: React.FocusEvent<HTMLInputElement>): void => {\n event.persist();\n\n if (listRef.current && event.relatedTarget === listRef.current) {\n event.preventDefault();\n return;\n }\n\n // event.target.value is always a string so it is important to cast value to a string before checking the equality\n if (onChange && event.target.value !== String(value)) {\n const item = findByValue(flattenedData, event.target.value);\n (event as any).detail = sanitizeItem(item);\n\n const parents = getOptionParents(flattenedData, item?.path);\n\n if (parents !== null && parents.length > 0) {\n (event as any).detail.parents = parents;\n }\n\n onChange(event);\n }\n\n if (props.onBlur) {\n props.onBlur(event);\n }\n };\n\n const handleInputChange = (event: React.ChangeEvent<HTMLInputElement>): void => {\n setInputValue(event.target.value);\n };\n\n const handleInputClick = (event: React.MouseEvent<HTMLInputElement>): void => {\n if (inline || (!open && inputValue && data.length)) {\n setOpen(true);\n }\n\n if (onClick) {\n event.persist();\n onClick(event);\n }\n };\n\n const handleInputKeyDown = (event: React.KeyboardEvent<HTMLInputElement>): void => {\n event.persist();\n\n if (!event.ctrlKey && !event.metaKey) {\n switch (event.key) {\n case 'Backspace': {\n return;\n }\n\n case 'Escape': {\n event.preventDefault();\n setInputValue(convertToInputValue(value));\n setOpen(false);\n return;\n }\n\n case 'Tab': {\n setCurrentValue(currentIndex);\n setOpen(false);\n return;\n }\n\n case 'Enter': {\n event.preventDefault();\n\n if (isElementInsideTable3OrReport(event.currentTarget)) {\n if (inline && !open) {\n setOpen(true);\n } else if (buttonRef.current && !open) {\n buttonRef.current.click();\n }\n }\n\n if (open) {\n setCurrentValue(currentIndex);\n setOpen(false);\n }\n\n return;\n }\n\n case 'ArrowDown':\n if (open) {\n event.preventDefault();\n } else {\n if (!inline && buttonRef.current && !isElementInsideTable3OrReport(event.currentTarget)) {\n buttonRef.current.click();\n }\n }\n break;\n\n case 'ArrowUp':\n case 'Home':\n case 'End': {\n if (open) {\n event.preventDefault();\n }\n break;\n }\n\n default:\n }\n\n // we aren't focused on the list, so manually forward the keydown event to it\n if (listRef.current) {\n listRef.current.dispatchEvent(createCustomKeyboardEvent(event));\n }\n\n if (inline && !open) {\n if (\n (event.key === 'ArrowUp' || event.key === 'ArrowDown') &&\n !isElementInsideTable3OrReport(event.currentTarget)\n ) {\n event.preventDefault();\n const initialIndex = event.key === 'ArrowUp' ? data.length - 1 : 0;\n setCurrentIndex(currentIndex !== undefined ? currentIndex : initialIndex);\n setOpen(true);\n }\n }\n }\n\n if (!event.isDefaultPrevented() && onKeyDown) {\n event.persist();\n onKeyDown(event);\n }\n };\n\n const handleListboxChange = (index: number): void => {\n setCurrentIndex(index);\n };\n\n const handleListboxClick = (event: React.MouseEvent<HTMLLIElement>, index: number): void => {\n event.preventDefault();\n setCurrentValue(index);\n setOpen(false);\n };\n\n const combobox = {\n 'aria-expanded': open,\n 'aria-owns': listId,\n 'aria-haspopup': 'listbox' as const,\n role: 'combobox',\n };\n\n const input = {\n ...props,\n 'aria-controls': listId,\n // Indicates that the autocomplete behavior of the text input is to suggest a list of possible values in a popup and that the suggestions\n // are related to the string that is present in the textbox\n 'aria-autocomplete': 'list' as const,\n // Enables assistive technologies to know which element the application regards as focused while DOM focus remains on the input element\n 'aria-activedescendant':\n currentIndex !== undefined && data[currentIndex] ? getId(listId, String(data[currentIndex].value)) : undefined,\n 'aria-labelledby': ariaLabelledBy,\n disabled,\n onBlur: !disabled && !readOnly ? handleInputBlur : undefined,\n onChange: !disabled && !readOnly ? handleInputChange : undefined,\n onClick: !disabled && !readOnly ? handleInputClick : undefined,\n onKeyDown: !disabled && !readOnly ? handleInputKeyDown : undefined,\n readOnly,\n ref: inputRef,\n type: 'text',\n value: inputValue ?? '',\n };\n\n const list: ScrollableListPropsWithRef = {\n 'aria-labelledby': ariaLabelledBy,\n data,\n disabled,\n id: listId,\n onChange: handleListboxChange,\n onClick: handleListboxClick,\n ref: listRef,\n scrollOnFocus: false,\n tabIndex: -1,\n value: currentIndex,\n };\n\n const button = {\n ref: buttonRef,\n };\n\n return {\n combobox,\n input,\n list,\n button,\n popover: {\n open,\n onOpenChange: setOpen,\n //visible: !data.length ? false : open,\n },\n };\n};\n"],"names":["debouncer","debounce","f","convertToInputValue","value","String","useCombobox","ariaLabel","ariaLabelledBy","data","unfilteredData","defaultValue","disabled","id","nativeId","inline","loading","__","onChange","onClick","onKeyDown","onSearch","readOnly","props","ref","inputRef","useMergedRef","buttonRef","React","listRef","open","setOpen","listId","uuid","inputValue","setInputValue","shouldFilterData","flattenedData","useFlattenedData","filterData","currentIndex","setCurrentIndex","undefined","getIndexFromValue","setInputValueByIndex","index","option","setInputValueByRef","current","setCurrentValue","isCurrentValue","length","handleInputBlur","event","persist","relatedTarget","preventDefault","target","item","findByValue","detail","sanitizeItem","parents","getOptionParents","path","onBlur","handleInputChange","handleInputClick","handleInputKeyDown","ctrlKey","metaKey","key","isElementInsideTable3OrReport","currentTarget","click","dispatchEvent","createCustomKeyboardEvent","initialIndex","isDefaultPrevented","handleListboxChange","handleListboxClick","combobox","role","input","getId","type","list","scrollOnFocus","tabIndex","button","popover","onOpenChange"],"mappings":"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"}
|
@@ -1,86 +0,0 @@
|
|
1
|
-
import { forwardRef, useRef, useCallback, createElement } from 'react';
|
2
|
-
import cn from 'clsx';
|
3
|
-
import { IconButton } from '../IconButton/IconButton.js';
|
4
|
-
import { useLocalization } from '../Provider/Localization.js';
|
5
|
-
import { Calendar } from '../Calendar/Calendar.js';
|
6
|
-
import { Input } from '../Input/Input.js';
|
7
|
-
import { useDatepicker } from './useDatepicker.js';
|
8
|
-
import { Popover } from '../Popover/Popover.js';
|
9
|
-
|
10
|
-
const Datepicker = /*#__PURE__*/forwardRef(function Datepicker(props, ref) {
|
11
|
-
const {
|
12
|
-
className: externalClassName,
|
13
|
-
onReset: handleReset,
|
14
|
-
style,
|
15
|
-
shortcuts,
|
16
|
-
shortcutsText,
|
17
|
-
...otherProps
|
18
|
-
} = props;
|
19
|
-
const {
|
20
|
-
calendar,
|
21
|
-
input
|
22
|
-
} = useDatepicker(otherProps, ref);
|
23
|
-
const {
|
24
|
-
texts
|
25
|
-
} = useLocalization();
|
26
|
-
const className = cn('inline-flex w-full text-black font-normal', externalClassName);
|
27
|
-
const popoverContentRef = useRef(null);
|
28
|
-
const handleOpenAutofocus = useCallback(e => {
|
29
|
-
var _popoverContentRef$cu, _popoverContentRef$cu2;
|
30
|
-
e.preventDefault();
|
31
|
-
const currentDay = (_popoverContentRef$cu = popoverContentRef === null || popoverContentRef === void 0 ? void 0 : (_popoverContentRef$cu2 = popoverContentRef.current) === null || _popoverContentRef$cu2 === void 0 ? void 0 : _popoverContentRef$cu2.querySelector('table button[name="day"][aria-selected="true"]')) !== null && _popoverContentRef$cu !== void 0 ? _popoverContentRef$cu : null;
|
32
|
-
currentDay === null || currentDay === void 0 ? void 0 : currentDay.focus();
|
33
|
-
}, [popoverContentRef]);
|
34
|
-
return /*#__PURE__*/createElement("span", {
|
35
|
-
className: className,
|
36
|
-
"data-taco": "datepicker",
|
37
|
-
style: style
|
38
|
-
}, /*#__PURE__*/createElement(Input, Object.assign({}, input, {
|
39
|
-
button: input.readOnly ? undefined : ( /*#__PURE__*/createElement(IconButton, {
|
40
|
-
"aria-label": texts.datepicker.expand,
|
41
|
-
disabled: input.disabled || input.readOnly,
|
42
|
-
icon: "calendar",
|
43
|
-
tabIndex: -1,
|
44
|
-
popover: props => ( /*#__PURE__*/createElement(Popover, Object.assign({}, props), /*#__PURE__*/createElement(Popover.Content, {
|
45
|
-
onOpenAutoFocus: handleOpenAutofocus
|
46
|
-
}, ({
|
47
|
-
close
|
48
|
-
}) => ( /*#__PURE__*/createElement("div", {
|
49
|
-
className: '[&_button[name="day"]:focus]:yt-focus -m-3 flex',
|
50
|
-
ref: popoverContentRef
|
51
|
-
}, /*#__PURE__*/createElement(Calendar, Object.assign({}, calendar, {
|
52
|
-
onChange: (date, event) => {
|
53
|
-
calendar.onChange(date, event);
|
54
|
-
close();
|
55
|
-
}
|
56
|
-
})), shortcuts && ( /*#__PURE__*/createElement("div", {
|
57
|
-
className: "border-grey-300 flex flex-col border-l"
|
58
|
-
}, /*#__PURE__*/createElement("span", {
|
59
|
-
className: "m-4 mb-3 flex h-8 w-32 items-center text-xs font-semibold"
|
60
|
-
}, shortcutsText !== null && shortcutsText !== void 0 ? shortcutsText : texts.datepicker.shortcuts), /*#__PURE__*/createElement("ul", null, shortcuts.map(shortcut => ( /*#__PURE__*/createElement("li", {
|
61
|
-
key: shortcut.text
|
62
|
-
}, /*#__PURE__*/createElement("button", {
|
63
|
-
type: "button",
|
64
|
-
className: "hover:wcag-grey-200 flex w-full items-start px-4 py-1 text-xs",
|
65
|
-
onClick: event => {
|
66
|
-
event.persist();
|
67
|
-
shortcut.onClick(event);
|
68
|
-
close();
|
69
|
-
}
|
70
|
-
}, shortcut.text))))), handleReset && ( /*#__PURE__*/createElement("button", {
|
71
|
-
type: "button",
|
72
|
-
className: "mx-auto my-4 mt-auto inline-flex cursor-pointer border-none bg-transparent text-xs text-blue-500 hover:text-blue-300",
|
73
|
-
onClick: event => {
|
74
|
-
event.persist();
|
75
|
-
handleReset(event);
|
76
|
-
close();
|
77
|
-
}
|
78
|
-
}, texts.datepicker.clear))))))))),
|
79
|
-
tooltip: texts.datepicker.calendar
|
80
|
-
}))
|
81
|
-
})));
|
82
|
-
});
|
83
|
-
Datepicker.displayName = 'Datepicker';
|
84
|
-
|
85
|
-
export { Datepicker };
|
86
|
-
//# sourceMappingURL=Datepicker.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Datepicker.js","sources":["../../../../../../../src/components/Datepicker/Datepicker.tsx"],"sourcesContent":["import * as React from 'react';\nimport cn from 'clsx';\nimport { Calendar, CalendarProps } from '../Calendar/Calendar';\nimport { Input, InputProps } from '../Input/Input';\nimport { useLocalization } from '../Provider/Localization';\nimport { useDatepicker } from './useDatepicker';\nimport { IconButton } from '../IconButton/IconButton';\nimport { Popover } from '../Popover/Popover';\n\nexport type DatepickerTexts = {\n /** Aria-label for calendar */\n calendar: string;\n /** Clear button text */\n clear: string;\n /**\n * Aria-label for calendar icon button in the input.\n * Calendar will open when user clicks this icon button.\n */\n expand: string;\n /** Shortcut heading text */\n shortcuts: string;\n};\n\nexport type DatePickerShortcut = {\n onClick: (event: React.MouseEvent) => void;\n text: string;\n};\n\nexport type DatepickerProps = Omit<InputProps, 'value'> & {\n /** [Calendar](component:calendar) component associated with the DatePicker */\n calendar?: CalendarProps;\n /** List of shortcuts */\n shortcuts?: DatePickerShortcut[];\n /** Title for the shortcuts panel */\n shortcutsText?: string;\n /** Handler to be called when the clear button is clicked */\n onReset?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n /**\n * Date value of the calendar.\n * This will be displayed in DatePicker's input in the format given to the [Provider](component:provider) component\n */\n value?: Date;\n};\n\nexport const Datepicker = React.forwardRef(function Datepicker(props: DatepickerProps, ref: React.Ref<HTMLInputElement>) {\n const { className: externalClassName, onReset: handleReset, style, shortcuts, shortcutsText, ...otherProps } = props;\n const { calendar, input } = useDatepicker(otherProps, ref);\n const { texts } = useLocalization();\n const className = cn('inline-flex w-full text-black font-normal', externalClassName);\n\n const popoverContentRef = React.useRef<HTMLDivElement>(null);\n const handleOpenAutofocus = React.useCallback(\n (e: Event) => {\n e.preventDefault();\n\n const currentDay: HTMLButtonElement | null =\n popoverContentRef?.current?.querySelector('table button[name=\"day\"][aria-selected=\"true\"]') ?? null;\n currentDay?.focus();\n },\n [popoverContentRef]\n );\n\n return (\n <span className={className} data-taco=\"datepicker\" style={style}>\n <Input\n {...input}\n button={\n input.readOnly ? undefined : (\n <IconButton\n aria-label={texts.datepicker.expand}\n disabled={input.disabled || input.readOnly}\n icon=\"calendar\"\n tabIndex={-1}\n popover={props => (\n <Popover {...props}>\n <Popover.Content onOpenAutoFocus={handleOpenAutofocus}>\n {({ close }) => (\n <div\n className='[&_button[name=\"day\"]:focus]:yt-focus -m-3 flex'\n ref={popoverContentRef}>\n <Calendar\n {...calendar}\n onChange={(date: Date, event?: React.MouseEvent<Element>) => {\n calendar.onChange(date, event);\n close();\n }}\n />\n {shortcuts && (\n <div className=\"border-grey-300 flex flex-col border-l\">\n <span className=\"m-4 mb-3 flex h-8 w-32 items-center text-xs font-semibold\">\n {shortcutsText ?? texts.datepicker.shortcuts}\n </span>\n <ul>\n {shortcuts.map(shortcut => (\n <li key={shortcut.text}>\n <button\n type=\"button\"\n className=\"hover:wcag-grey-200 flex w-full items-start px-4 py-1 text-xs\"\n onClick={event => {\n event.persist();\n shortcut.onClick(event);\n close();\n }}>\n {shortcut.text}\n </button>\n </li>\n ))}\n </ul>\n {handleReset && (\n <button\n type=\"button\"\n className=\"mx-auto my-4 mt-auto inline-flex cursor-pointer border-none bg-transparent text-xs text-blue-500 hover:text-blue-300\"\n onClick={event => {\n event.persist();\n handleReset(event);\n close();\n }}>\n {texts.datepicker.clear}\n </button>\n )}\n </div>\n )}\n </div>\n )}\n </Popover.Content>\n </Popover>\n )}\n tooltip={texts.datepicker.calendar}\n />\n )\n }\n />\n </span>\n );\n});\nDatepicker.displayName = 'Datepicker';\n"],"names":["Datepicker","React","props","ref","className","externalClassName","onReset","handleReset","style","shortcuts","shortcutsText","otherProps","calendar","input","useDatepicker","texts","useLocalization","cn","popoverContentRef","handleOpenAutofocus","e","preventDefault","currentDay","_popoverContentRef$cu","_popoverContentRef$cu2","current","querySelector","focus","Input","button","readOnly","undefined","IconButton","datepicker","expand","disabled","icon","tabIndex","popover","Popover","Content","onOpenAutoFocus","close","Calendar","onChange","date","event","map","shortcut","key","text","type","onClick","persist","clear","tooltip","displayName"],"mappings":"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"}
|