@economic/taco 2.40.0 → 2.40.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Accordion/Accordion.d.ts +42 -0
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts +24 -0
- package/dist/components/AlertDialog/Context.d.ts +7 -0
- package/dist/components/AlertDialog/components/Content.d.ts +13 -0
- package/dist/components/AlertDialog/components/Footer.d.ts +7 -0
- package/dist/components/AlertDialog/components/Trigger.d.ts +3 -0
- package/dist/components/Backdrop/Backdrop.d.ts +3 -0
- package/dist/components/Badge/Badge.d.ts +54 -0
- package/dist/components/BadgeIcon/BadgeIcon.d.ts +23 -0
- package/dist/components/Banner/Banner.d.ts +20 -0
- package/dist/components/Banner/util.d.ts +3 -0
- package/dist/components/Button/Button.d.ts +74 -0
- package/dist/components/Button/util.d.ts +6 -0
- package/dist/components/Calendar/Calendar.d.ts +32 -0
- package/dist/components/Card/Card.d.ts +15 -0
- package/dist/components/Checkbox/Checkbox.d.ts +27 -0
- package/dist/components/Combobox/Combobox.d.ts +51 -0
- package/dist/components/Combobox/useCombobox.d.ts +20 -0
- package/dist/components/Datepicker/Datepicker.d.ts +50 -0
- package/dist/components/Datepicker/useDatepicker.d.ts +13 -0
- package/dist/components/Dialog/Context.d.ts +21 -0
- package/dist/components/Dialog/Dialog.d.ts +47 -0
- package/dist/components/Dialog/components/Content.d.ts +28 -0
- package/dist/components/Dialog/components/DialogDrawer.d.ts +10 -0
- package/dist/components/Dialog/components/Extra.d.ts +4 -0
- package/dist/components/Dialog/components/Trigger.d.ts +3 -0
- package/dist/components/Dialog/types.d.ts +1 -0
- package/dist/components/Dialog/util.d.ts +4 -0
- package/dist/components/Drawer/Context.d.ts +19 -0
- package/dist/components/Drawer/Drawer.d.ts +61 -0
- package/dist/components/Drawer/components/Content.d.ts +53 -0
- package/dist/components/Drawer/components/Trigger.d.ts +3 -0
- package/dist/components/Drawer/images.d.ts +1 -0
- package/dist/components/Drawer/types.d.ts +2 -0
- package/dist/components/Drawer/util.d.ts +7 -0
- package/dist/components/Field/Field.d.ts +28 -0
- package/dist/components/Form/Form.d.ts +14 -0
- package/dist/components/Group/Group.d.ts +30 -0
- package/dist/components/Hanger/Hanger.d.ts +31 -0
- package/dist/components/Header/Header.d.ts +29 -0
- package/dist/components/Header/components/Agreement/Avatar.d.ts +7 -0
- package/dist/components/Header/components/Agreement/Badge.d.ts +6 -0
- package/dist/components/Header/components/Agreement/Display.d.ts +9 -0
- package/dist/components/Header/components/Agreement/Item.d.ts +8 -0
- package/dist/components/Header/components/Agreement/types.d.ts +13 -0
- package/dist/components/Header/components/AgreementSelector.d.ts +20 -0
- package/dist/components/Header/components/Button.d.ts +9 -0
- package/dist/components/Header/components/Link.d.ts +20 -0
- package/dist/components/Header/components/Logo.d.ts +4 -0
- package/dist/components/Header/components/MenuButton.d.ts +5 -0
- package/dist/components/Header/components/PrimaryNavigation.d.ts +3 -0
- package/dist/components/Header/components/SecondaryNavigation.d.ts +3 -0
- package/dist/components/HoverCard/HoverCard.d.ts +16 -0
- package/dist/components/HoverCard/Primitives.d.ts +2 -0
- package/dist/components/Icon/Icon.d.ts +12 -0
- package/dist/components/Icon/components/AccountPreview.d.ts +3 -0
- package/dist/components/Icon/components/Accounting.d.ts +3 -0
- package/dist/components/Icon/components/AccountingYear.d.ts +3 -0
- package/dist/components/Icon/components/AccountingYearCancel.d.ts +3 -0
- package/dist/components/Icon/components/AiChatSolid.d.ts +3 -0
- package/dist/components/Icon/components/AiStars.d.ts +3 -0
- package/dist/components/Icon/components/ArrowBottom.d.ts +3 -0
- package/dist/components/Icon/components/ArrowDown.d.ts +3 -0
- package/dist/components/Icon/components/ArrowEnd.d.ts +3 -0
- package/dist/components/Icon/components/ArrowLeft.d.ts +3 -0
- package/dist/components/Icon/components/ArrowRight.d.ts +3 -0
- package/dist/components/Icon/components/ArrowStart.d.ts +3 -0
- package/dist/components/Icon/components/ArrowTop.d.ts +3 -0
- package/dist/components/Icon/components/ArrowUp.d.ts +3 -0
- package/dist/components/Icon/components/Attach.d.ts +3 -0
- package/dist/components/Icon/components/AttachAuto.d.ts +3 -0
- package/dist/components/Icon/components/AttachCancel.d.ts +3 -0
- package/dist/components/Icon/components/AttachWarning.d.ts +3 -0
- package/dist/components/Icon/components/Autotext.d.ts +3 -0
- package/dist/components/Icon/components/AutotextInsert.d.ts +3 -0
- package/dist/components/Icon/components/Basic.d.ts +3 -0
- package/dist/components/Icon/components/BasicTabs.d.ts +3 -0
- package/dist/components/Icon/components/BellSolid.d.ts +3 -0
- package/dist/components/Icon/components/Book.d.ts +3 -0
- package/dist/components/Icon/components/Booking.d.ts +3 -0
- package/dist/components/Icon/components/Budget.d.ts +3 -0
- package/dist/components/Icon/components/Calendar.d.ts +3 -0
- package/dist/components/Icon/components/CashAccount.d.ts +3 -0
- package/dist/components/Icon/components/CashReports.d.ts +3 -0
- package/dist/components/Icon/components/ChartArea.d.ts +3 -0
- package/dist/components/Icon/components/ChartBar.d.ts +3 -0
- package/dist/components/Icon/components/ChartLine.d.ts +3 -0
- package/dist/components/Icon/components/ChartPie.d.ts +3 -0
- package/dist/components/Icon/components/ChartTable.d.ts +3 -0
- package/dist/components/Icon/components/Chat.d.ts +3 -0
- package/dist/components/Icon/components/ChatSolid.d.ts +3 -0
- package/dist/components/Icon/components/ChevronDown.d.ts +3 -0
- package/dist/components/Icon/components/ChevronDownDouble.d.ts +3 -0
- package/dist/components/Icon/components/ChevronDownSolid.d.ts +3 -0
- package/dist/components/Icon/components/ChevronLeft.d.ts +3 -0
- package/dist/components/Icon/components/ChevronLeftDouble.d.ts +3 -0
- package/dist/components/Icon/components/ChevronLeftSolid.d.ts +3 -0
- package/dist/components/Icon/components/ChevronRight.d.ts +3 -0
- package/dist/components/Icon/components/ChevronRightDouble.d.ts +3 -0
- package/dist/components/Icon/components/ChevronRightSolid.d.ts +3 -0
- package/dist/components/Icon/components/ChevronUp.d.ts +3 -0
- package/dist/components/Icon/components/ChevronUpDouble.d.ts +3 -0
- package/dist/components/Icon/components/ChevronUpSolid.d.ts +3 -0
- package/dist/components/Icon/components/CircleClose.d.ts +3 -0
- package/dist/components/Icon/components/CircleInformation.d.ts +3 -0
- package/dist/components/Icon/components/CircleMinus.d.ts +3 -0
- package/dist/components/Icon/components/CirclePlus.d.ts +3 -0
- package/dist/components/Icon/components/CircleQuestionmark.d.ts +3 -0
- package/dist/components/Icon/components/CircleTick.d.ts +3 -0
- package/dist/components/Icon/components/CircleWarning.d.ts +3 -0
- package/dist/components/Icon/components/Clamp.d.ts +3 -0
- package/dist/components/Icon/components/ClampOpen.d.ts +3 -0
- package/dist/components/Icon/components/Close.d.ts +3 -0
- package/dist/components/Icon/components/ColumnFreeze.d.ts +3 -0
- package/dist/components/Icon/components/ColumnUnfreeze.d.ts +3 -0
- package/dist/components/Icon/components/Columns.d.ts +3 -0
- package/dist/components/Icon/components/ConnectionEnable.d.ts +3 -0
- package/dist/components/Icon/components/ConnectionRevoke.d.ts +3 -0
- package/dist/components/Icon/components/Contacts.d.ts +3 -0
- package/dist/components/Icon/components/Copy.d.ts +3 -0
- package/dist/components/Icon/components/Courses.d.ts +3 -0
- package/dist/components/Icon/components/Credit.d.ts +3 -0
- package/dist/components/Icon/components/Delete.d.ts +3 -0
- package/dist/components/Icon/components/DeletePermanently.d.ts +3 -0
- package/dist/components/Icon/components/Depecriate.d.ts +3 -0
- package/dist/components/Icon/components/Developer.d.ts +3 -0
- package/dist/components/Icon/components/DistributionTemplate.d.ts +3 -0
- package/dist/components/Icon/components/Document.d.ts +3 -0
- package/dist/components/Icon/components/DocumentApprove.d.ts +3 -0
- package/dist/components/Icon/components/DocumentCreateEntry.d.ts +3 -0
- package/dist/components/Icon/components/DocumentCut.d.ts +3 -0
- package/dist/components/Icon/components/DocumentError.d.ts +3 -0
- package/dist/components/Icon/components/DocumentIsolatePage.d.ts +3 -0
- package/dist/components/Icon/components/DocumentMerge.d.ts +3 -0
- package/dist/components/Icon/components/DocumentMove.d.ts +3 -0
- package/dist/components/Icon/components/DocumentPreview.d.ts +3 -0
- package/dist/components/Icon/components/DocumentReceived.d.ts +3 -0
- package/dist/components/Icon/components/DocumentRejectedRequest.d.ts +3 -0
- package/dist/components/Icon/components/DocumentSigned.d.ts +3 -0
- package/dist/components/Icon/components/DocumentSignedSolid.d.ts +3 -0
- package/dist/components/Icon/components/DocumentSplit.d.ts +3 -0
- package/dist/components/Icon/components/DocumentTime.d.ts +3 -0
- package/dist/components/Icon/components/Download.d.ts +3 -0
- package/dist/components/Icon/components/Drag.d.ts +3 -0
- package/dist/components/Icon/components/ECopedia.d.ts +3 -0
- package/dist/components/Icon/components/Edit.d.ts +3 -0
- package/dist/components/Icon/components/EditSimple.d.ts +3 -0
- package/dist/components/Icon/components/EllipsisHorizontal.d.ts +3 -0
- package/dist/components/Icon/components/EllipsisVertical.d.ts +3 -0
- package/dist/components/Icon/components/EntriesOnAccount.d.ts +3 -0
- package/dist/components/Icon/components/EntriesOpen.d.ts +3 -0
- package/dist/components/Icon/components/EntriesWarning.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeCustomerInvoice.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeCustomerPayment.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeJournalEntry.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeManualCustomerInvoice.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeSupplierInvoice.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeSupplierPayment.d.ts +3 -0
- package/dist/components/Icon/components/Envelope.d.ts +3 -0
- package/dist/components/Icon/components/EnvelopeApproved.d.ts +3 -0
- package/dist/components/Icon/components/EnvelopeSolid.d.ts +3 -0
- package/dist/components/Icon/components/ExpandView.d.ts +3 -0
- package/dist/components/Icon/components/Expenses.d.ts +3 -0
- package/dist/components/Icon/components/Export.d.ts +3 -0
- package/dist/components/Icon/components/ExportToExcel.d.ts +3 -0
- package/dist/components/Icon/components/ExportToPdf.d.ts +3 -0
- package/dist/components/Icon/components/EyeOff.d.ts +3 -0
- package/dist/components/Icon/components/EyeOn.d.ts +3 -0
- package/dist/components/Icon/components/Filter.d.ts +3 -0
- package/dist/components/Icon/components/FilterSolid.d.ts +3 -0
- package/dist/components/Icon/components/FontSize.d.ts +3 -0
- package/dist/components/Icon/components/GraphSolid.d.ts +3 -0
- package/dist/components/Icon/components/Hash.d.ts +3 -0
- package/dist/components/Icon/components/HeightExtraTall.d.ts +3 -0
- package/dist/components/Icon/components/HeightMedium.d.ts +3 -0
- package/dist/components/Icon/components/HeightShort.d.ts +3 -0
- package/dist/components/Icon/components/HeightTall.d.ts +3 -0
- package/dist/components/Icon/components/House.d.ts +3 -0
- package/dist/components/Icon/components/HouseSolid.d.ts +3 -0
- package/dist/components/Icon/components/Id.d.ts +3 -0
- package/dist/components/Icon/components/Images.d.ts +3 -0
- package/dist/components/Icon/components/Import.d.ts +3 -0
- package/dist/components/Icon/components/Inbox.d.ts +3 -0
- package/dist/components/Icon/components/InboxEinvoicing.d.ts +3 -0
- package/dist/components/Icon/components/InboxScanning.d.ts +3 -0
- package/dist/components/Icon/components/InboxSmart.d.ts +3 -0
- package/dist/components/Icon/components/Info.d.ts +3 -0
- package/dist/components/Icon/components/Inventory.d.ts +3 -0
- package/dist/components/Icon/components/InventoryMatrix.d.ts +3 -0
- package/dist/components/Icon/components/JournalPro.d.ts +3 -0
- package/dist/components/Icon/components/Layout.d.ts +3 -0
- package/dist/components/Icon/components/LayoutBoth.d.ts +3 -0
- package/dist/components/Icon/components/LayoutFirst.d.ts +3 -0
- package/dist/components/Icon/components/LayoutLast.d.ts +3 -0
- package/dist/components/Icon/components/LayoutNone.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCard.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardCustomerReminder.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardManualCustomerInvoice.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardObsoleteStock.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardOpeningEntry.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardReservedEntry.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardShrinkagePilferage.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardStockAdjustment.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +3 -0
- package/dist/components/Icon/components/Lightbulb.d.ts +3 -0
- package/dist/components/Icon/components/Line.d.ts +3 -0
- package/dist/components/Icon/components/LinkExternal.d.ts +3 -0
- package/dist/components/Icon/components/List.d.ts +3 -0
- package/dist/components/Icon/components/ListBulleted.d.ts +3 -0
- package/dist/components/Icon/components/ListSearch.d.ts +3 -0
- package/dist/components/Icon/components/Location.d.ts +3 -0
- package/dist/components/Icon/components/Lock.d.ts +3 -0
- package/dist/components/Icon/components/LockOpen.d.ts +3 -0
- package/dist/components/Icon/components/Log.d.ts +3 -0
- package/dist/components/Icon/components/LogOut.d.ts +3 -0
- package/dist/components/Icon/components/Market.d.ts +3 -0
- package/dist/components/Icon/components/MastercardOs.d.ts +3 -0
- package/dist/components/Icon/components/MatchAmount.d.ts +3 -0
- package/dist/components/Icon/components/MatchEntries.d.ts +3 -0
- package/dist/components/Icon/components/Menu.d.ts +3 -0
- package/dist/components/Icon/components/Mileage.d.ts +3 -0
- package/dist/components/Icon/components/ModalResize.d.ts +3 -0
- package/dist/components/Icon/components/ModalShrink.d.ts +3 -0
- package/dist/components/Icon/components/More.d.ts +3 -0
- package/dist/components/Icon/components/MoreSolid.d.ts +3 -0
- package/dist/components/Icon/components/Move.d.ts +3 -0
- package/dist/components/Icon/components/NavigationList.d.ts +3 -0
- package/dist/components/Icon/components/Note.d.ts +3 -0
- package/dist/components/Icon/components/NoteFollowUp.d.ts +3 -0
- package/dist/components/Icon/components/NoteRead.d.ts +3 -0
- package/dist/components/Icon/components/NovemberFirst.d.ts +3 -0
- package/dist/components/Icon/components/Numbers.d.ts +3 -0
- package/dist/components/Icon/components/PartnerApi.d.ts +3 -0
- package/dist/components/Icon/components/PaymentPaid.d.ts +3 -0
- package/dist/components/Icon/components/PaymentUnpaid.d.ts +3 -0
- package/dist/components/Icon/components/Period.d.ts +3 -0
- package/dist/components/Icon/components/PersonChange.d.ts +3 -0
- package/dist/components/Icon/components/PersonMinus.d.ts +3 -0
- package/dist/components/Icon/components/PersonPlus.d.ts +3 -0
- package/dist/components/Icon/components/PersonTick.d.ts +3 -0
- package/dist/components/Icon/components/Phone.d.ts +3 -0
- package/dist/components/Icon/components/PhoneSolid.d.ts +3 -0
- package/dist/components/Icon/components/Play.d.ts +3 -0
- package/dist/components/Icon/components/PlusMinus.d.ts +3 -0
- package/dist/components/Icon/components/Print.d.ts +3 -0
- package/dist/components/Icon/components/ProcessPayment.d.ts +3 -0
- package/dist/components/Icon/components/ProductLedgerCard.d.ts +3 -0
- package/dist/components/Icon/components/Profile.d.ts +3 -0
- package/dist/components/Icon/components/ProjectCards.d.ts +3 -0
- package/dist/components/Icon/components/Projects.d.ts +3 -0
- package/dist/components/Icon/components/QuestionMark.d.ts +3 -0
- package/dist/components/Icon/components/QuestionMarkBold.d.ts +3 -0
- package/dist/components/Icon/components/Quicklinks.d.ts +3 -0
- package/dist/components/Icon/components/RatingBankruptcy.d.ts +3 -0
- package/dist/components/Icon/components/RatingPaymentProblems.d.ts +3 -0
- package/dist/components/Icon/components/Reconciled.d.ts +3 -0
- package/dist/components/Icon/components/Refresh.d.ts +3 -0
- package/dist/components/Icon/components/Report.d.ts +3 -0
- package/dist/components/Icon/components/ReportSolid.d.ts +3 -0
- package/dist/components/Icon/components/Restore.d.ts +3 -0
- package/dist/components/Icon/components/RotateLeft.d.ts +3 -0
- package/dist/components/Icon/components/RotateRight.d.ts +3 -0
- package/dist/components/Icon/components/Sales.d.ts +3 -0
- package/dist/components/Icon/components/Search.d.ts +3 -0
- package/dist/components/Icon/components/SearchBold.d.ts +3 -0
- package/dist/components/Icon/components/Secure.d.ts +3 -0
- package/dist/components/Icon/components/SecureTick.d.ts +3 -0
- package/dist/components/Icon/components/Settings.d.ts +3 -0
- package/dist/components/Icon/components/SettingsSolid.d.ts +3 -0
- package/dist/components/Icon/components/Shortcuts.d.ts +3 -0
- package/dist/components/Icon/components/ShowAll.d.ts +3 -0
- package/dist/components/Icon/components/ShowLess.d.ts +3 -0
- package/dist/components/Icon/components/ShowMore.d.ts +3 -0
- package/dist/components/Icon/components/ShowTemplate.d.ts +3 -0
- package/dist/components/Icon/components/Sliders.d.ts +3 -0
- package/dist/components/Icon/components/Smartpay.d.ts +3 -0
- package/dist/components/Icon/components/SortBy.d.ts +3 -0
- package/dist/components/Icon/components/Star.d.ts +3 -0
- package/dist/components/Icon/components/StarSolid.d.ts +3 -0
- package/dist/components/Icon/components/Subscriptions.d.ts +3 -0
- package/dist/components/Icon/components/SystemEntries.d.ts +3 -0
- package/dist/components/Icon/components/Tag.d.ts +3 -0
- package/dist/components/Icon/components/TemplateOverride.d.ts +3 -0
- package/dist/components/Icon/components/Templates.d.ts +3 -0
- package/dist/components/Icon/components/ThumbBoth.d.ts +3 -0
- package/dist/components/Icon/components/ThumbDown.d.ts +3 -0
- package/dist/components/Icon/components/ThumbDownSolid.d.ts +3 -0
- package/dist/components/Icon/components/ThumbUp.d.ts +3 -0
- package/dist/components/Icon/components/ThumbUpSolid.d.ts +3 -0
- package/dist/components/Icon/components/Tick.d.ts +3 -0
- package/dist/components/Icon/components/TickBold.d.ts +3 -0
- package/dist/components/Icon/components/Time.d.ts +3 -0
- package/dist/components/Icon/components/Transfer.d.ts +3 -0
- package/dist/components/Icon/components/TransferCancel.d.ts +3 -0
- package/dist/components/Icon/components/TransferLocked.d.ts +3 -0
- package/dist/components/Icon/components/Undo.d.ts +3 -0
- package/dist/components/Icon/components/Undock.d.ts +3 -0
- package/dist/components/Icon/components/Unreconciled.d.ts +3 -0
- package/dist/components/Icon/components/Warning.d.ts +3 -0
- package/dist/components/Icon/components/Webshop.d.ts +3 -0
- package/dist/components/Icon/components/Website.d.ts +3 -0
- package/dist/components/Icon/components/Workflow.d.ts +3 -0
- package/dist/components/Icon/components/WorkflowTemplateBasic.d.ts +3 -0
- package/dist/components/Icon/components/Zoom.d.ts +3 -0
- package/dist/components/Icon/components/index.d.ts +3 -0
- package/dist/components/IconButton/IconButton.d.ts +92 -0
- package/dist/components/Input/Input.d.ts +27 -0
- package/dist/components/Input/util.d.ts +2 -0
- package/dist/components/Layout/Layout.d.ts +16 -0
- package/dist/components/Layout/components/Content.d.ts +3 -0
- package/dist/components/Layout/components/Context.d.ts +6 -0
- package/dist/components/Layout/components/Page.d.ts +3 -0
- package/dist/components/Layout/components/Sidebar.d.ts +3 -0
- package/dist/components/Layout/components/Top.d.ts +7 -0
- package/dist/components/List/List.d.ts +28 -0
- package/dist/components/List/components/Button.d.ts +8 -0
- package/dist/components/List/components/Collapsible.d.ts +11 -0
- package/dist/components/List/components/Group.d.ts +7 -0
- package/dist/components/List/components/Item.d.ts +14 -0
- package/dist/components/List/components/Link.d.ts +8 -0
- package/dist/components/List/components/Toggle.d.ts +8 -0
- package/dist/components/Listbox/Listbox.d.ts +96 -0
- package/dist/components/Listbox/ScrollableList.d.ts +120 -0
- package/dist/components/Listbox/useListbox.d.ts +9 -0
- package/dist/components/Listbox/useMultiListbox.d.ts +9 -0
- package/dist/components/Listbox/useTypeahead.d.ts +10 -0
- package/dist/components/Listbox/util.d.ts +25 -0
- package/dist/components/Menu/Context.d.ts +17 -0
- package/dist/components/Menu/Menu.d.ts +33 -0
- package/dist/components/Menu/components/Checkbox.d.ts +11 -0
- package/dist/components/Menu/components/Content.d.ts +15 -0
- package/dist/components/Menu/components/Header.d.ts +3 -0
- package/dist/components/Menu/components/Item.d.ts +31 -0
- package/dist/components/Menu/components/Link.d.ts +14 -0
- package/dist/components/Menu/components/RadioGroup.d.ts +9 -0
- package/dist/components/Menu/components/Separator.d.ts +3 -0
- package/dist/components/Menu/components/SubMenu.d.ts +8 -0
- package/dist/components/Menu/components/Trigger.d.ts +7 -0
- package/dist/components/ModeSwitch/ModeSwitch.d.ts +17 -0
- package/dist/components/Navigation/Navigation.d.ts +50 -0
- package/dist/components/Navigation2/Navigation2.d.ts +17 -0
- package/dist/components/Navigation2/components/Content.d.ts +3 -0
- package/dist/components/Navigation2/components/Group.d.ts +11 -0
- package/dist/components/Navigation2/components/Link.d.ts +24 -0
- package/dist/components/Navigation2/components/Section.d.ts +7 -0
- package/dist/components/Navigation2/components/util.d.ts +1 -0
- package/dist/components/OverflowGroup/OverflowGroup.d.ts +5 -0
- package/dist/components/Pagination/PageNumbers.d.ts +8 -0
- package/dist/components/Pagination/Pagination.d.ts +100 -0
- package/dist/components/Pagination/usePagination.d.ts +11 -0
- package/dist/components/Pagination/usePaginationShortcuts.d.ts +8 -0
- package/dist/components/Popover/Popover.d.ts +34 -0
- package/dist/components/Popover/Primitives.d.ts +2 -0
- package/dist/components/Popover/util.d.ts +1 -0
- package/dist/components/Progress/Progress.d.ts +10 -0
- package/dist/components/Provider/Localization.d.ts +391 -0
- package/dist/components/Provider/Provider.d.ts +14 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +52 -0
- package/dist/components/RadioGroup/util.d.ts +1 -0
- package/dist/components/Report/Report.d.ts +9 -0
- package/dist/components/Report/types.d.ts +5 -0
- package/dist/components/Report/useReport.d.ts +5 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +4 -0
- package/dist/components/SearchInput/SearchInput.d.ts +17 -0
- package/dist/components/SearchInput2/SearchInput2.d.ts +25 -0
- package/dist/components/Select/Select.d.ts +40 -0
- package/dist/components/Select/useSelect.d.ts +21 -0
- package/dist/components/Select2/Select2.d.ts +75 -0
- package/dist/components/Select2/components/All.d.ts +7 -0
- package/dist/components/Select2/components/Collection.d.ts +7 -0
- package/dist/components/Select2/components/Context.d.ts +33 -0
- package/dist/components/Select2/components/Create.d.ts +10 -0
- package/dist/components/Select2/components/Edit.d.ts +10 -0
- package/dist/components/Select2/components/Group.d.ts +13 -0
- package/dist/components/Select2/components/Option.d.ts +23 -0
- package/dist/components/Select2/components/Search.d.ts +16 -0
- package/dist/components/Select2/components/Title.d.ts +4 -0
- package/dist/components/Select2/components/Trigger.d.ts +7 -0
- package/dist/components/Select2/hooks/useChildren.d.ts +19 -0
- package/dist/components/Select2/types.d.ts +12 -0
- package/dist/components/Select2/utilities.d.ts +3 -0
- package/dist/components/Shortcut/Shortcut.d.ts +6 -0
- package/dist/components/Spinner/Spinner.d.ts +20 -0
- package/dist/components/Switch/Switch.d.ts +19 -0
- package/dist/components/Table/Table.d.ts +14 -0
- package/dist/components/Table/components/BaseTable.d.ts +8 -0
- package/dist/components/Table/components/PaginatedTable.d.ts +2 -0
- package/dist/components/Table/components/Table.d.ts +2 -0
- package/dist/components/Table/components/WindowedTable.d.ts +2 -0
- package/dist/components/Table/hooks/plugins/useRowActions.d.ts +4 -0
- package/dist/components/Table/hooks/plugins/useRowDraggable.d.ts +3 -0
- package/dist/components/Table/hooks/plugins/useRowEditing.d.ts +2 -0
- package/dist/components/Table/hooks/plugins/useRowSelect.d.ts +3 -0
- package/dist/components/Table/hooks/useRowCreation.d.ts +11 -0
- package/dist/components/Table/hooks/useTable.d.ts +38 -0
- package/dist/components/Table/hooks/useTableKeyboardNavigation.d.ts +3 -0
- package/dist/components/Table/types.d.ts +284 -0
- package/dist/components/Table/util/renderColumn.d.ts +1 -0
- package/dist/components/Table/util/renderRow.d.ts +2 -0
- package/dist/components/Table/util/rowIndexPath.d.ts +5 -0
- package/dist/components/Table/util/sortTypes.d.ts +4 -0
- package/dist/components/Table/util.d.ts +12 -0
- package/dist/components/Table3/Table3.d.ts +28 -0
- package/dist/components/Table3/components/Columns/Cell/Cell.d.ts +3 -0
- package/dist/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +9 -0
- package/dist/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +10 -0
- package/dist/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +3 -0
- package/dist/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +3 -0
- package/dist/components/Table3/components/Columns/Cell/util.d.ts +3 -0
- package/dist/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +11 -0
- package/dist/components/Table3/components/Editing/Alert.d.ts +12 -0
- package/dist/components/Table3/components/Row/Editing/CreateRowButton.d.ts +11 -0
- package/dist/components/Table3/components/Row/Editing/SaveStatus.d.ts +8 -0
- package/dist/components/Table3/components/Row/Row.d.ts +3 -0
- package/dist/components/Table3/components/Toolbar/Editing/Editing.d.ts +8 -0
- package/dist/components/Table3/features/useTableEditing.d.ts +46 -0
- package/dist/components/Table3/listeners/useTableEditingListener.d.ts +4 -0
- package/dist/components/Table3/types.d.ts +73 -0
- package/dist/components/Table3/useTable3.d.ts +10 -0
- package/dist/components/Table3/util/editing.d.ts +3 -0
- package/dist/components/Tabs/Tabs.d.ts +56 -0
- package/dist/components/Tag/Tag.d.ts +19 -0
- package/dist/components/Textarea/Textarea.d.ts +15 -0
- package/dist/components/Toast/Toast.d.ts +36 -0
- package/dist/components/Toast/Toaster.d.ts +35 -0
- package/dist/components/Toast/util.d.ts +4 -0
- package/dist/components/Tooltip/Tooltip.d.ts +27 -0
- package/dist/components/Tour/Tour.d.ts +72 -0
- package/dist/components/Treeview/Treeview.d.ts +25 -0
- package/dist/components/Truncate/Truncate.d.ts +6 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +4 -0
- package/dist/esm/index.css +1317 -0
- package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js +192 -0
- package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Accordion/Accordion.js +86 -0
- package/dist/esm/packages/taco/src/components/Accordion/Accordion.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Alert/Alert.js +50 -0
- package/dist/esm/packages/taco/src/components/Alert/Alert.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js +37 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/Context.js +13 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js +26 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Footer.js +26 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Footer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Trigger.js +19 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js +14 -0
- package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Badge/Badge.js +52 -0
- package/dist/esm/packages/taco/src/components/Badge/Badge.js.map +1 -0
- package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js +39 -0
- package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Banner/Banner.js +31 -0
- package/dist/esm/packages/taco/src/components/Banner/Banner.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Banner/util.js +36 -0
- package/dist/esm/packages/taco/src/components/Banner/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Button/Button.js +53 -0
- package/dist/esm/packages/taco/src/components/Button/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Button/util.js +82 -0
- package/dist/esm/packages/taco/src/components/Button/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js +155 -0
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Card/Card.js +47 -0
- package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +83 -0
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Combobox/Combobox.js +90 -0
- package/dist/esm/packages/taco/src/components/Combobox/Combobox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js +269 -0
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js +86 -0
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js +87 -0
- package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/Context.js +26 -0
- package/dist/esm/packages/taco/src/components/Dialog/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/Dialog.js +77 -0
- package/dist/esm/packages/taco/src/components/Dialog/Dialog.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +116 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js +41 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js +15 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Trigger.js +19 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/util.js +19 -0
- package/dist/esm/packages/taco/src/components/Dialog/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/Context.js +20 -0
- package/dist/esm/packages/taco/src/components/Drawer/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/Drawer.js +109 -0
- package/dist/esm/packages/taco/src/components/Drawer/Drawer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/components/Content.js +325 -0
- package/dist/esm/packages/taco/src/components/Drawer/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/components/Trigger.js +12 -0
- package/dist/esm/packages/taco/src/components/Drawer/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/util.js +37 -0
- package/dist/esm/packages/taco/src/components/Drawer/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Field/Field.js +39 -0
- package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Form/Form.js +20 -0
- package/dist/esm/packages/taco/src/components/Form/Form.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Group/Group.js +21 -0
- package/dist/esm/packages/taco/src/components/Group/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Hanger/Hanger.js +101 -0
- package/dist/esm/packages/taco/src/components/Hanger/Hanger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/Header.js +31 -0
- package/dist/esm/packages/taco/src/components/Header/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js +28 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Badge.js +23 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Badge.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js +36 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js +39 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +144 -0
- package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Button.js +22 -0
- package/dist/esm/packages/taco/src/components/Header/components/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Link.js +45 -0
- package/dist/esm/packages/taco/src/components/Header/components/Link.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Logo.js +90 -0
- package/dist/esm/packages/taco/src/components/Header/components/Logo.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js +17 -0
- package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js +28 -0
- package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js +13 -0
- package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js +37 -0
- package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js.map +1 -0
- package/dist/esm/packages/taco/src/components/HoverCard/Primitives.js +27 -0
- package/dist/esm/packages/taco/src/components/HoverCard/Primitives.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/Icon.js +28 -0
- package/dist/esm/packages/taco/src/components/Icon/Icon.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountPreview.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountPreview.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Accounting.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Accounting.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYear.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYear.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYearCancel.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYearCancel.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AiChatSolid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AiChatSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AiStars.js +30 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AiStars.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowBottom.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowBottom.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowDown.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowDown.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowEnd.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowEnd.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowLeft.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowLeft.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowRight.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowRight.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowStart.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowStart.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowTop.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowTop.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowUp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowUp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Attach.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Attach.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachAuto.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachAuto.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachCancel.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachCancel.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachWarning.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachWarning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Autotext.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Autotext.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AutotextInsert.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AutotextInsert.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Basic.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Basic.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/BasicTabs.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/BasicTabs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/BellSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/BellSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Book.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Book.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Booking.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Booking.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Budget.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Budget.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Calendar.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Calendar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CashAccount.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CashAccount.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CashReports.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CashReports.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartArea.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartArea.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartBar.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartBar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartLine.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartLine.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartPie.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartPie.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartTable.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Chat.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Chat.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChatSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChatSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDown.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDown.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownDouble.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownDouble.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeft.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeft.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftDouble.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftDouble.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftSolid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRight.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRight.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightDouble.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightDouble.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightSolid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpDouble.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpDouble.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleClose.js +18 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleClose.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleInformation.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleInformation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleMinus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleMinus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CirclePlus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CirclePlus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleQuestionmark.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleQuestionmark.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleTick.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleTick.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleWarning.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleWarning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Clamp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Clamp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ClampOpen.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ClampOpen.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Close.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Close.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnFreeze.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnFreeze.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnUnfreeze.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnUnfreeze.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Columns.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Columns.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionEnable.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionEnable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionRevoke.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionRevoke.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Contacts.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Contacts.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Copy.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Copy.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Courses.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Courses.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Credit.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Credit.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Delete.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Delete.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DeletePermanently.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DeletePermanently.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Depecriate.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Depecriate.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Developer.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Developer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DistributionTemplate.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DistributionTemplate.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Document.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Document.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentApprove.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentApprove.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCreateEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCreateEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCut.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCut.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentError.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentError.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentIsolatePage.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentIsolatePage.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMerge.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMerge.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMove.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMove.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentPreview.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentPreview.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentReceived.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentReceived.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentRejectedRequest.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentRejectedRequest.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSigned.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSigned.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSignedSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSignedSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSplit.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSplit.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentTime.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentTime.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Download.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Download.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Drag.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Drag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ECopedia.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ECopedia.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Edit.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Edit.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EditSimple.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EditSimple.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisHorizontal.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisHorizontal.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisVertical.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisVertical.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOnAccount.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOnAccount.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOpen.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOpen.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesWarning.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesWarning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerInvoice.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerInvoice.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerPayment.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerPayment.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeJournalEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeJournalEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeManualCustomerInvoice.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeManualCustomerInvoice.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierInvoice.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierInvoice.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierPayment.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierPayment.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Envelope.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Envelope.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeApproved.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeApproved.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeSolid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExpandView.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExpandView.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Expenses.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Expenses.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Export.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Export.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToExcel.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToExcel.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToPdf.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToPdf.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOff.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOff.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOn.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOn.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Filter.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Filter.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/FilterSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/FilterSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/FontSize.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/FontSize.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/GraphSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/GraphSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Hash.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Hash.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightExtraTall.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightExtraTall.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightMedium.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightMedium.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightShort.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightShort.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightTall.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightTall.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/House.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/House.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HouseSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HouseSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Id.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Id.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Images.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Images.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Import.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Import.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Inbox.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Inbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxEinvoicing.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxEinvoicing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxScanning.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxScanning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxSmart.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxSmart.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Info.js +22 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Info.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Inventory.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Inventory.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InventoryMatrix.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InventoryMatrix.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/JournalPro.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/JournalPro.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Layout.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Layout.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutBoth.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutBoth.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutFirst.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutFirst.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutLast.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutLast.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutNone.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutNone.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCard.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCard.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardCustomerReminder.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardCustomerReminder.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardManualCustomerInvoice.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardManualCustomerInvoice.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardObsoleteStock.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardObsoleteStock.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardOpeningEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardOpeningEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardReservedEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardReservedEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardShrinkagePilferage.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardShrinkagePilferage.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardStockAdjustment.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardStockAdjustment.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardTransferredOpeningEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardTransferredOpeningEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Lightbulb.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Lightbulb.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Line.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Line.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LinkExternal.js +22 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LinkExternal.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/List.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/List.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ListBulleted.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ListBulleted.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ListSearch.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ListSearch.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Location.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Location.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Lock.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Lock.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LockOpen.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LockOpen.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Log.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Log.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LogOut.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LogOut.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Market.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Market.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MastercardOs.js +23 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MastercardOs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MatchAmount.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MatchAmount.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MatchEntries.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MatchEntries.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Menu.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Mileage.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Mileage.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ModalResize.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ModalResize.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ModalShrink.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ModalShrink.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/More.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/More.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MoreSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MoreSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Move.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Move.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NavigationList.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NavigationList.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Note.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Note.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NoteFollowUp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NoteFollowUp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NoteRead.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NoteRead.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NovemberFirst.js +20 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NovemberFirst.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Numbers.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Numbers.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PartnerApi.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PartnerApi.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentPaid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentPaid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentUnpaid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentUnpaid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Period.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Period.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonChange.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonChange.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonMinus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonMinus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonPlus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonPlus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonTick.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonTick.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Phone.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Phone.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PhoneSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PhoneSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Play.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Play.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PlusMinus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PlusMinus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Print.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Print.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProcessPayment.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProcessPayment.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProductLedgerCard.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProductLedgerCard.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Profile.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Profile.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProjectCards.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProjectCards.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Projects.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Projects.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMark.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMark.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMarkBold.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMarkBold.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Quicklinks.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Quicklinks.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RatingBankruptcy.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RatingBankruptcy.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RatingPaymentProblems.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RatingPaymentProblems.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Reconciled.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Reconciled.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Refresh.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Refresh.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Report.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Report.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ReportSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ReportSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Restore.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Restore.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RotateLeft.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RotateLeft.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RotateRight.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RotateRight.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Sales.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Sales.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Search.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SearchBold.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SearchBold.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Secure.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Secure.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SecureTick.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SecureTick.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Settings.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Settings.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SettingsSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SettingsSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Shortcuts.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Shortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowAll.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowAll.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowLess.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowLess.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowMore.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowMore.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowTemplate.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowTemplate.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Sliders.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Sliders.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Smartpay.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Smartpay.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SortBy.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SortBy.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Star.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Star.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/StarSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/StarSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Subscriptions.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Subscriptions.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SystemEntries.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SystemEntries.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Tag.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Tag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TemplateOverride.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TemplateOverride.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Templates.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Templates.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbBoth.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbBoth.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDown.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDown.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDownSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDownSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUpSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUpSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Tick.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Tick.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TickBold.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TickBold.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Time.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Time.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Transfer.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Transfer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TransferCancel.js +23 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TransferCancel.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TransferLocked.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TransferLocked.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Undo.js +25 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Undo.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Undock.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Undock.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Unreconciled.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Unreconciled.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Warning.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Warning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Webshop.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Webshop.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Website.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Website.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Workflow.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Workflow.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/WorkflowTemplateBasic.js +18 -0
- package/dist/esm/packages/taco/src/components/Icon/components/WorkflowTemplateBasic.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Zoom.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Zoom.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/index.js +504 -0
- package/dist/esm/packages/taco/src/components/Icon/components/index.js.map +1 -0
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js +48 -0
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Input/Input.js +160 -0
- package/dist/esm/packages/taco/src/components/Input/Input.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Input/util.js +34 -0
- package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/Layout.js +28 -0
- package/dist/esm/packages/taco/src/components/Layout/Layout.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Content.js +13 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Context.js +9 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Page.js +13 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Page.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js +87 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Top.js +15 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/List.js +21 -0
- package/dist/esm/packages/taco/src/components/List/List.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Button.js +12 -0
- package/dist/esm/packages/taco/src/components/List/components/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Collapsible.js +30 -0
- package/dist/esm/packages/taco/src/components/List/components/Collapsible.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Group.js +11 -0
- package/dist/esm/packages/taco/src/components/List/components/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Item.js +40 -0
- package/dist/esm/packages/taco/src/components/List/components/Item.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Link.js +27 -0
- package/dist/esm/packages/taco/src/components/List/components/Link.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Toggle.js +105 -0
- package/dist/esm/packages/taco/src/components/List/components/Toggle.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/Listbox.js +55 -0
- package/dist/esm/packages/taco/src/components/Listbox/Listbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js +168 -0
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/useListbox.js +130 -0
- package/dist/esm/packages/taco/src/components/Listbox/useListbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/useMultiListbox.js +177 -0
- package/dist/esm/packages/taco/src/components/Listbox/useMultiListbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/useTypeahead.js +26 -0
- package/dist/esm/packages/taco/src/components/Listbox/useTypeahead.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/util.js +130 -0
- package/dist/esm/packages/taco/src/components/Listbox/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/Context.js +9 -0
- package/dist/esm/packages/taco/src/components/Menu/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/Menu.js +62 -0
- package/dist/esm/packages/taco/src/components/Menu/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Checkbox.js +32 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Checkbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Content.js +61 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Header.js +19 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js +107 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Link.js +37 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Link.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js +49 -0
- package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js +13 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js +22 -0
- package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +33 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js +30 -0
- package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation/Navigation.js +120 -0
- package/dist/esm/packages/taco/src/components/Navigation/Navigation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js +31 -0
- package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js +20 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js +46 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js +72 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js +25 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/util.js +12 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js +82 -0
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Pagination/PageNumbers.js +44 -0
- package/dist/esm/packages/taco/src/components/Pagination/PageNumbers.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Pagination/Pagination.js +102 -0
- package/dist/esm/packages/taco/src/components/Pagination/Pagination.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Pagination/usePagination.js +15 -0
- package/dist/esm/packages/taco/src/components/Pagination/usePagination.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Pagination/usePaginationShortcuts.js +44 -0
- package/dist/esm/packages/taco/src/components/Pagination/usePaginationShortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Popover/Popover.js +106 -0
- package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Popover/Primitives.js +27 -0
- package/dist/esm/packages/taco/src/components/Popover/Primitives.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Popover/util.js +4 -0
- package/dist/esm/packages/taco/src/components/Popover/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Progress/Progress.js +30 -0
- package/dist/esm/packages/taco/src/components/Progress/Progress.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +333 -0
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Provider/Provider.js +24 -0
- package/dist/esm/packages/taco/src/components/Provider/Provider.js.map +1 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js +103 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/util.js +14 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/Report.js +35 -0
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/useReport.js +14 -0
- package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -0
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +38 -0
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -0
- package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js +68 -0
- package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js.map +1 -0
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js +194 -0
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select/Select.js +98 -0
- package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select/useSelect.js +211 -0
- package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +339 -0
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Collection.js +15 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Collection.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Context.js +7 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js +113 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +197 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Group.js +28 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js +108 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js +64 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Title.js +17 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Title.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js +274 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js +66 -0
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/utilities.js +21 -0
- package/dist/esm/packages/taco/src/components/Select2/utilities.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js +58 -0
- package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Spinner/Spinner.js +44 -0
- package/dist/esm/packages/taco/src/components/Spinner/Spinner.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Switch/Switch.js +50 -0
- package/dist/esm/packages/taco/src/components/Switch/Switch.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js +48 -0
- package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js +14 -0
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/Table.js +52 -0
- package/dist/esm/packages/taco/src/components/Table/components/Table.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +178 -0
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +207 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowDraggable.js +113 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowDraggable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js +92 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js +95 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js +95 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js +211 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js +118 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js +40 -0
- package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js +100 -0
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util/rowIndexPath.js +47 -0
- package/dist/esm/packages/taco/src/components/Table/util/rowIndexPath.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js +87 -0
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util.js +87 -0
- package/dist/esm/packages/taco/src/components/Table/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +60 -0
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +39 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js +85 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +72 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +218 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +14 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +54 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +70 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +139 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js +90 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +54 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +42 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +49 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +434 -0
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +64 -0
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js +43 -0
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js +106 -0
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js +90 -0
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tag/Tag.js +43 -0
- package/dist/esm/packages/taco/src/components/Tag/Tag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js +42 -0
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Toast/Toast.js +79 -0
- package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Toast/Toaster.js +152 -0
- package/dist/esm/packages/taco/src/components/Toast/Toaster.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Toast/util.js +43 -0
- package/dist/esm/packages/taco/src/components/Toast/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +39 -0
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tour/Tour.js +136 -0
- package/dist/esm/packages/taco/src/components/Tour/Tour.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Treeview/Treeview.js +70 -0
- package/dist/esm/packages/taco/src/components/Treeview/Treeview.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Truncate/Truncate.js +34 -0
- package/dist/esm/packages/taco/src/components/Truncate/Truncate.js.map +1 -0
- package/dist/esm/packages/taco/src/components/VisuallyHidden/VisuallyHidden.js +11 -0
- package/dist/esm/packages/taco/src/components/VisuallyHidden/VisuallyHidden.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js +18 -0
- package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useBoundingClientRectListener.js +43 -0
- package/dist/esm/packages/taco/src/hooks/useBoundingClientRectListener.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js +20 -0
- package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useId.js +10 -0
- package/dist/esm/packages/taco/src/hooks/useId.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js +48 -0
- package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useIsFormControl.js +28 -0
- package/dist/esm/packages/taco/src/hooks/useIsFormControl.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useIsHoverStatePaused.js +19 -0
- package/dist/esm/packages/taco/src/hooks/useIsHoverStatePaused.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js +6 -0
- package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useLazyEffect.js +16 -0
- package/dist/esm/packages/taco/src/hooks/useLazyEffect.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useLocalStorage.js +44 -0
- package/dist/esm/packages/taco/src/hooks/useLocalStorage.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useMatchMedia.js +18 -0
- package/dist/esm/packages/taco/src/hooks/useMatchMedia.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useMergedRef.js +19 -0
- package/dist/esm/packages/taco/src/hooks/useMergedRef.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/usePrevious.js +17 -0
- package/dist/esm/packages/taco/src/hooks/usePrevious.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useTacoSettings.js +9 -0
- package/dist/esm/packages/taco/src/hooks/useTacoSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/index.js +83 -0
- package/dist/esm/packages/taco/src/index.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/BubbleSelect.js +53 -0
- package/dist/esm/packages/taco/src/primitives/BubbleSelect.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Button.js +36 -0
- package/dist/esm/packages/taco/src/primitives/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Collection/Collection.js +3 -0
- package/dist/esm/packages/taco/src/primitives/Collection/Collection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js +157 -0
- package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Context.js +7 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Group.js +19 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Option.js +62 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Option.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js +65 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Title.js +25 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Title.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +61 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js +51 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/List.js +28 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/List.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +77 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js +100 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js +21 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js +29 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js +45 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js +67 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js +33 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js +70 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js +101 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +73 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js +71 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js +167 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js +55 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js +39 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +222 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js +28 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +164 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js +66 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js +41 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js +30 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +118 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js +64 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js +30 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +54 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js +62 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +130 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js +111 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js +50 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +66 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +129 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js +53 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js +134 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +88 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js +114 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js +119 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js +103 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js +30 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js +17 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js +164 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyle.js +86 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyle.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleColumnFreezing.js +61 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleGrid.js +71 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleGrid.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js +24 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +54 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/types.js +27 -0
- package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js +165 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js +21 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js +8 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js +13 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js +8 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js +36 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js +11 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +80 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js +33 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +14 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js +13 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js +33 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js +38 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js +71 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js +69 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js +15 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js +19 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js +47 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js +14 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js +23 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js +19 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js +15 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +26 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js +49 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js +19 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +126 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js +120 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js +131 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +147 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js +57 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +34 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +282 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js +18 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -0
- package/dist/esm/packages/taco/src/types.js +12 -0
- package/dist/esm/packages/taco/src/types.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/aria.js +15 -0
- package/dist/esm/packages/taco/src/utils/aria.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/date.js +63 -0
- package/dist/esm/packages/taco/src/utils/date.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/debounce.js +10 -0
- package/dist/esm/packages/taco/src/utils/debounce.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/device.js +5 -0
- package/dist/esm/packages/taco/src/utils/device.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/dom.js +88 -0
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js +54 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDropTarget.js +36 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDropTarget.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useListKeyboardNavigation.js +34 -0
- package/dist/esm/packages/taco/src/utils/hooks/useListKeyboardNavigation.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useListScrollTo.js +33 -0
- package/dist/esm/packages/taco/src/utils/hooks/useListScrollTo.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useOnClickOutside.js +22 -0
- package/dist/esm/packages/taco/src/utils/hooks/useOnClickOutside.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useTimer.js +49 -0
- package/dist/esm/packages/taco/src/utils/hooks/useTimer.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useTruncated.js +20 -0
- package/dist/esm/packages/taco/src/utils/hooks/useTruncated.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/input.js +42 -0
- package/dist/esm/packages/taco/src/utils/input.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/keyboard.js +44 -0
- package/dist/esm/packages/taco/src/utils/keyboard.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/mergeRefs.js +14 -0
- package/dist/esm/packages/taco/src/utils/mergeRefs.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/tailwind.js +92 -0
- package/dist/esm/packages/taco/src/utils/tailwind.js.map +1 -0
- package/dist/hooks/useBoundaryOverflowDetection.d.ts +2 -0
- package/dist/hooks/useBoundingClientRectListener.d.ts +2 -0
- package/dist/hooks/useDebouncedEffect.d.ts +2 -0
- package/dist/hooks/useGlobalKeyDown.d.ts +2 -0
- package/dist/hooks/useId.d.ts +1 -0
- package/dist/hooks/useIntersectionObserver.d.ts +2 -0
- package/dist/hooks/useIsFormControl.d.ts +2 -0
- package/dist/hooks/useIsHoverStatePaused.d.ts +2 -0
- package/dist/hooks/useIsLargeScreen.d.ts +1 -0
- package/dist/hooks/useLazyEffect.d.ts +2 -0
- package/dist/hooks/useLocalStorage.d.ts +2 -0
- package/dist/hooks/useMatchMedia.d.ts +1 -0
- package/dist/hooks/useMergedRef.d.ts +2 -0
- package/dist/hooks/usePrevious.d.ts +2 -0
- package/dist/hooks/useTacoSettings.d.ts +1 -0
- package/dist/index.css +1085 -811
- package/dist/index.d.ts +75 -3257
- package/dist/index.js +8 -0
- package/dist/primitives/BubbleSelect.d.ts +2 -0
- package/dist/primitives/Button.d.ts +22 -0
- package/dist/primitives/Collection/Collection.d.ts +2 -0
- package/dist/primitives/Collection/components/Root.d.ts +12 -0
- package/dist/primitives/Listbox2/Listbox2.d.ts +5 -0
- package/dist/primitives/Listbox2/components/Context.d.ts +10 -0
- package/dist/primitives/Listbox2/components/Group.d.ts +8 -0
- package/dist/primitives/Listbox2/components/Option.d.ts +10 -0
- package/dist/primitives/Listbox2/components/Root.d.ts +20 -0
- package/dist/primitives/Listbox2/components/Title.d.ts +3 -0
- package/dist/primitives/Listbox2/types.d.ts +2 -0
- package/dist/primitives/Sortable/Sortable.d.ts +6 -0
- package/dist/primitives/Sortable/components/Container.d.ts +11 -0
- package/dist/primitives/Sortable/components/Item.d.ts +10 -0
- package/dist/primitives/Sortable/components/List.d.ts +8 -0
- package/dist/primitives/Table/Core/Table.d.ts +19 -0
- package/dist/primitives/Table/Core/components/Body/Body.d.ts +11 -0
- package/dist/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +8 -0
- package/dist/primitives/Table/Core/components/Body/util.d.ts +6 -0
- package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +3 -0
- package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +3 -0
- package/dist/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +10 -0
- package/dist/primitives/Table/Core/components/Columns/Cell/util.d.ts +18 -0
- package/dist/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +13 -0
- package/dist/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +2 -0
- package/dist/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +2 -0
- package/dist/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +2 -0
- package/dist/primitives/Table/Core/components/Footer/Footer.d.ts +15 -0
- package/dist/primitives/Table/Core/components/Footer/Summary.d.ts +6 -0
- package/dist/primitives/Table/Core/components/Header/Header.d.ts +46 -0
- package/dist/primitives/Table/Core/components/Header/components/Goto.d.ts +6 -0
- package/dist/primitives/Table/Core/components/Header/components/Menu.d.ts +22 -0
- package/dist/primitives/Table/Core/components/Header/components/Resizer.d.ts +13 -0
- package/dist/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +15 -0
- package/dist/primitives/Table/Core/components/Header/util.d.ts +4 -0
- package/dist/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +4 -0
- package/dist/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +8 -0
- package/dist/primitives/Table/Core/components/Row/Row.d.ts +6 -0
- package/dist/primitives/Table/Core/components/Row/RowContext.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +12 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +12 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +10 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/util.d.ts +5 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +9 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +17 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Search/Search.d.ts +10 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +8 -0
- package/dist/primitives/Table/Core/features/useTableGlobalShortcuts.d.ts +4 -0
- package/dist/primitives/Table/Core/features/useTableRef.d.ts +4 -0
- package/dist/primitives/Table/Core/features/useTableRenderer.d.ts +10 -0
- package/dist/primitives/Table/Core/features/useTableStyle.d.ts +797 -0
- package/dist/primitives/Table/Core/features/useTableStyleColumnFreezing.d.ts +4 -0
- package/dist/primitives/Table/Core/features/useTableStyleGrid.d.ts +7 -0
- package/dist/primitives/Table/Core/listeners/useTableRowActiveListener.d.ts +3 -0
- package/dist/primitives/Table/Core/types.d.ts +21 -0
- package/dist/primitives/Table/Core/useTable.d.ts +28 -0
- package/dist/primitives/Table/Core/util/rows.d.ts +6 -0
- package/dist/primitives/Table/types.d.ts +381 -0
- package/dist/primitives/Table/useTableDataLoader.d.ts +24 -0
- package/dist/primitives/Table/useTableManager/features/useTableColumnFreezing.d.ts +6 -0
- package/dist/primitives/Table/useTableManager/features/useTableColumnOrdering.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/features/useTableFontSize.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/features/useTableFooter.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/features/useTablePrinting.d.ts +15 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowActions.d.ts +6 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowActive.d.ts +13 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowClick.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +8 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +5 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowExpansion.d.ts +5 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowGoto.d.ts +5 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowGroups.d.ts +5 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowHeight.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowSelection.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/features/useTableSearch.d.ts +11 -0
- package/dist/primitives/Table/useTableManager/features/useTableServerLoading.d.ts +10 -0
- package/dist/primitives/Table/useTableManager/features/useTableSettings.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableDataListener.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableFilterListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableSearchListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableSettingsListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableSortingListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/types.d.ts +14 -0
- package/dist/primitives/Table/useTableManager/useTableManager.d.ts +66 -0
- package/dist/primitives/Table/useTableManager/util/columns.d.ts +10 -0
- package/dist/primitives/Table/useTableManager/util/columns.spec.d.ts +1 -0
- package/dist/primitives/Table/useTableManager/util/filtering.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/util/presets.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/util/search.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/util/settings.d.ts +12 -0
- package/dist/primitives/Table/useTableManager/util/setup.d.ts +15 -0
- package/dist/primitives/Table/useTableManager/util/sorting.d.ts +2 -0
- package/dist/taco.cjs.development.js +20761 -0
- package/dist/taco.cjs.development.js.map +1 -0
- package/dist/taco.cjs.production.min.js +2 -0
- package/dist/taco.cjs.production.min.js.map +1 -0
- package/dist/types.d.ts +20 -0
- package/dist/utils/aria.d.ts +2 -0
- package/dist/utils/date.d.ts +4 -0
- package/dist/utils/debounce.d.ts +1 -0
- package/dist/utils/device.d.ts +1 -0
- package/dist/utils/dom.d.ts +10 -0
- package/dist/utils/hooks/useDraggable.d.ts +2 -0
- package/dist/utils/hooks/useDropTarget.d.ts +8 -0
- package/dist/utils/hooks/useListKeyboardNavigation.d.ts +8 -0
- package/dist/utils/hooks/useListScrollTo.d.ts +1 -0
- package/dist/utils/hooks/useOnClickOutside.d.ts +2 -0
- package/dist/utils/hooks/useRefState.d.ts +1 -0
- package/dist/utils/hooks/useTimer.d.ts +7 -0
- package/dist/utils/hooks/useTruncated.d.ts +3 -0
- package/dist/utils/input.d.ts +4 -0
- package/dist/utils/keyboard.d.ts +10 -0
- package/dist/utils/mergeRefs.d.ts +2 -0
- package/dist/utils/storyutils.d.ts +8 -0
- package/dist/utils/tailwind.d.ts +6 -0
- package/package.json +7 -7
- package/dist/index.cjs.js +0 -22562
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.d.mts +0 -3257
- package/dist/index.esm.js +0 -22562
- package/dist/index.esm.js.map +0 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { ScrollArea } from '../../ScrollArea/ScrollArea.js';
|
3
|
+
|
4
|
+
const Collection = props => {
|
5
|
+
const {
|
6
|
+
children
|
7
|
+
} = props;
|
8
|
+
// max-h-[11.5rem] = is 5.5 options + spacing between them. Option height is 2rem, spacing 0.125. In total it's 11.5.
|
9
|
+
return /*#__PURE__*/React__default.createElement(ScrollArea, {
|
10
|
+
className: "flex max-h-[11.5rem] w-full flex-col gap-y-0.5 px-1.5"
|
11
|
+
}, children);
|
12
|
+
};
|
13
|
+
|
14
|
+
export { Collection };
|
15
|
+
//# sourceMappingURL=Collection.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Collection.js","sources":["../../../../../../../../src/components/Select2/components/Collection.tsx"],"sourcesContent":["import React from 'react';\nimport { ScrollArea } from '../../ScrollArea/ScrollArea';\nimport { Select2GroupProps } from './Group';\nimport { Select2OptionProps } from './Option';\n\nexport type Select2CollectionProps = {\n children: Array<React.ReactElement<Select2OptionProps> | React.ReactElement<Select2GroupProps>>;\n};\n\nexport const Collection = (props: Select2CollectionProps) => {\n const { children } = props;\n\n // max-h-[11.5rem] = is 5.5 options + spacing between them. Option height is 2rem, spacing 0.125. In total it's 11.5.\n return <ScrollArea className=\"flex max-h-[11.5rem] w-full flex-col gap-y-0.5 px-1.5\">{children}</ScrollArea>;\n};\n"],"names":["Collection","props","children","React","ScrollArea","className"],"mappings":";;;MASaA,UAAU,GAAIC,KAA6B;EACpD,MAAM;IAAEC;GAAU,GAAGD,KAAK;;EAG1B,oBAAOE,6BAACC,UAAU;IAACC,SAAS,EAAC;KAAyDH,QAAQ,CAAc;AAChH;;;;"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
|
3
|
+
const Select2Context = /*#__PURE__*/React__default.createContext({});
|
4
|
+
const useSelect2Context = () => React__default.useContext(Select2Context);
|
5
|
+
|
6
|
+
export { Select2Context, useSelect2Context };
|
7
|
+
//# sourceMappingURL=Context.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.js","sources":["../../../../../../../../src/components/Select2/components/Context.tsx"],"sourcesContent":["import React from 'react';\nimport { CollectionRef } from '../../../primitives/Collection/Collection';\nimport {\n Select2CreateHandler,\n Select2DeleteHandler,\n Select2EditHandler,\n Select2OptionValue,\n Select2Value,\n Select2CreateDialogRenderer,\n} from '../types';\nimport { FontSize } from '../../../types';\n\nexport type Select2ContextProps = {\n createDialog?: Select2CreateDialogRenderer;\n createTriggerText?: string;\n disabled: boolean;\n highlighted: boolean;\n invalid: boolean;\n listboxRef: React.RefObject<CollectionRef>;\n multiple: boolean;\n onCreate?: Select2CreateHandler;\n onDelete?: Select2DeleteHandler;\n onEdit?: Select2EditHandler;\n open: boolean;\n readOnly: boolean;\n ref: React.RefObject<HTMLButtonElement>;\n searchQuery: string;\n searchRef?: React.RefObject<HTMLInputElement>;\n setOpen: (open: boolean) => void;\n setSearchQuery: (value: string) => void;\n setValidationError: (error: Error | undefined) => void;\n setValue: (value: Select2OptionValue) => void;\n shouldPauseHoverState: boolean;\n setShouldPauseHoverState: (pause: boolean) => void;\n tags?: boolean;\n validationError?: Error;\n value?: Select2Value;\n fontSize?: FontSize;\n};\n\nexport const Select2Context = React.createContext({} as Select2ContextProps);\nexport const useSelect2Context = () => React.useContext(Select2Context);\n"],"names":["Select2Context","React","createContext","useSelect2Context","useContext"],"mappings":";;MAwCaA,cAAc,gBAAGC,cAAK,CAACC,aAAa,CAAC,EAAyB;MAC9DC,iBAAiB,GAAGA,MAAMF,cAAK,CAACG,UAAU,CAACJ,cAAc;;;;"}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { AVAILABLE_COLORS } from '../../../utils/tailwind.js';
|
4
|
+
import { Icon } from '../../Icon/Icon.js';
|
5
|
+
import { useLocalization } from '../../Provider/Localization.js';
|
6
|
+
import { Button } from '../../Button/Button.js';
|
7
|
+
import { _catch } from '../../../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js';
|
8
|
+
import { isAriaSelectionKey } from '../../../utils/aria.js';
|
9
|
+
import { Tag } from '../../Tag/Tag.js';
|
10
|
+
import { createOptionClassName } from '../utilities.js';
|
11
|
+
import { useSelect2Context } from './Context.js';
|
12
|
+
|
13
|
+
const getNextColor = options => {
|
14
|
+
let occurrences = {};
|
15
|
+
AVAILABLE_COLORS.filter(color => color !== 'transparent').forEach(color => {
|
16
|
+
occurrences = {
|
17
|
+
...occurrences,
|
18
|
+
[color]: 0
|
19
|
+
};
|
20
|
+
});
|
21
|
+
options.reduce((occurrences, option) => {
|
22
|
+
if (option.props.color) {
|
23
|
+
occurrences[option.props.color] = occurrences[option.props.color] ? occurrences[option.props.color] + 1 : 1;
|
24
|
+
}
|
25
|
+
return occurrences;
|
26
|
+
}, occurrences);
|
27
|
+
const colors = Object.keys(occurrences);
|
28
|
+
if (colors.length) {
|
29
|
+
return colors.sort((a, b) => occurrences[a] - occurrences[b])[0];
|
30
|
+
}
|
31
|
+
return undefined;
|
32
|
+
};
|
33
|
+
const Create = props => {
|
34
|
+
const {
|
35
|
+
onCreate: handleCreate,
|
36
|
+
options
|
37
|
+
} = props;
|
38
|
+
const {
|
39
|
+
multiple,
|
40
|
+
searchQuery,
|
41
|
+
setOpen,
|
42
|
+
setSearchQuery,
|
43
|
+
setValidationError,
|
44
|
+
setValue,
|
45
|
+
createDialog,
|
46
|
+
createTriggerText
|
47
|
+
} = useSelect2Context();
|
48
|
+
const {
|
49
|
+
texts
|
50
|
+
} = useLocalization();
|
51
|
+
// determine what the next color tag should be based on color occurences
|
52
|
+
const nextColor = React__default.useMemo(() => getNextColor(options), [options]);
|
53
|
+
const onCreateDialogClose = React__default.useCallback(() => {
|
54
|
+
setOpen(false);
|
55
|
+
}, [setOpen]);
|
56
|
+
if (!createDialog && !searchQuery) {
|
57
|
+
return null;
|
58
|
+
}
|
59
|
+
const create = function (value) {
|
60
|
+
try {
|
61
|
+
const _temp = _catch(function () {
|
62
|
+
return Promise.resolve(handleCreate(value, nextColor)).then(function (item) {
|
63
|
+
setValue(item.value);
|
64
|
+
if (multiple) {
|
65
|
+
setSearchQuery('');
|
66
|
+
} else {
|
67
|
+
setOpen(false);
|
68
|
+
}
|
69
|
+
});
|
70
|
+
}, function (error) {
|
71
|
+
setValidationError(error);
|
72
|
+
});
|
73
|
+
return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
|
74
|
+
} catch (e) {
|
75
|
+
return Promise.reject(e);
|
76
|
+
}
|
77
|
+
};
|
78
|
+
const handleKeyDown = event => {
|
79
|
+
if (isAriaSelectionKey(event)) {
|
80
|
+
event.currentTarget.click();
|
81
|
+
}
|
82
|
+
};
|
83
|
+
const className = cn(createOptionClassName(), {
|
84
|
+
'!w-[calc(100%_-_theme(spacing.3))] ml-1.5': !createDialog,
|
85
|
+
'leading-normal border-grey-300 h-9 border-t py-2.5 px-4 !-mb-1.5': !!createDialog
|
86
|
+
});
|
87
|
+
const creationOptions = createDialog ? {
|
88
|
+
dialog: props => createDialog({
|
89
|
+
...props,
|
90
|
+
onClose: onCreateDialogClose
|
91
|
+
}, searchQuery, create)
|
92
|
+
} : {
|
93
|
+
onClick: () => create(searchQuery)
|
94
|
+
};
|
95
|
+
const createText = createTriggerText || texts.select2.create;
|
96
|
+
return /*#__PURE__*/React__default.createElement(Button, Object.assign({
|
97
|
+
className: className
|
98
|
+
}, creationOptions, {
|
99
|
+
onKeyDown: handleKeyDown,
|
100
|
+
appearance: createDialog ? 'discrete' : 'default'
|
101
|
+
}), /*#__PURE__*/React__default.createElement("span", {
|
102
|
+
className: "flex items-center gap-1.5"
|
103
|
+
}, createDialog ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, {
|
104
|
+
className: "text-xs",
|
105
|
+
name: "circle-plus"
|
106
|
+
}), " ", createText)) : (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, createText, /*#__PURE__*/React__default.createElement(Tag, {
|
107
|
+
color: nextColor,
|
108
|
+
className: "cursor-pointer"
|
109
|
+
}, searchQuery)))));
|
110
|
+
};
|
111
|
+
|
112
|
+
export { Create, getNextColor };
|
113
|
+
//# sourceMappingURL=Create.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Create.js","sources":["../../../../../../../../src/components/Select2/components/Create.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { isAriaSelectionKey } from '../../../utils/aria';\nimport { Tag } from '../../Tag/Tag';\nimport { createOptionClassName } from '../utilities';\nimport { useSelect2Context } from './Context';\nimport { Select2OptionProps } from './Option';\nimport { useLocalization } from '../../Provider/Localization';\nimport { Color } from '../../../types';\nimport { AVAILABLE_COLORS } from '../../../utils/tailwind';\nimport { Select2CreateHandler } from '../types';\nimport { Icon } from '../../Icon/Icon';\nimport { Button } from '../../Button/Button';\n\nexport type CreateProps = {\n onCreate: Select2CreateHandler;\n options: React.ReactElement<Select2OptionProps>[];\n};\n\nexport const getNextColor = (options: React.ReactElement<Select2OptionProps>[]): Color | undefined => {\n let occurrences = {};\n AVAILABLE_COLORS.filter(color => color !== 'transparent').forEach((color: Color) => {\n occurrences = { ...occurrences, [color]: 0 };\n });\n\n options.reduce((occurrences, option) => {\n if (option.props.color) {\n occurrences[option.props.color] = occurrences[option.props.color] ? occurrences[option.props.color] + 1 : 1;\n }\n return occurrences;\n }, occurrences);\n\n const colors = Object.keys(occurrences);\n\n if (colors.length) {\n return colors.sort((a, b) => occurrences[a] - occurrences[b])[0] as Color;\n }\n\n return undefined;\n};\n\nexport const Create = (props: CreateProps) => {\n const { onCreate: handleCreate, options } = props;\n const { multiple, searchQuery, setOpen, setSearchQuery, setValidationError, setValue, createDialog, createTriggerText } =\n useSelect2Context();\n const { texts } = useLocalization();\n\n // determine what the next color tag should be based on color occurences\n const nextColor = React.useMemo(() => getNextColor(options), [options]);\n\n const onCreateDialogClose = React.useCallback(() => {\n setOpen(false);\n }, [setOpen]);\n\n if (!createDialog && !searchQuery) {\n return null;\n }\n\n const create = async (value?: string | unknown) => {\n try {\n const item = await handleCreate(value, nextColor);\n setValue(item.value);\n\n if (multiple) {\n setSearchQuery('');\n } else {\n setOpen(false);\n }\n } catch (error) {\n setValidationError(error as Error);\n }\n };\n\n const handleKeyDown = event => {\n if (isAriaSelectionKey(event)) {\n event.currentTarget.click();\n }\n };\n\n const className = cn(createOptionClassName(), {\n '!w-[calc(100%_-_theme(spacing.3))] ml-1.5': !createDialog,\n 'leading-normal border-grey-300 h-9 border-t py-2.5 px-4 !-mb-1.5': !!createDialog,\n });\n\n const creationOptions = createDialog\n ? {\n dialog: props => createDialog({ ...props, onClose: onCreateDialogClose }, searchQuery, create),\n }\n : {\n onClick: () => create(searchQuery),\n };\n\n const createText = createTriggerText || texts.select2.create;\n\n return (\n <Button\n className={className}\n {...creationOptions}\n onKeyDown={handleKeyDown}\n appearance={createDialog ? 'discrete' : 'default'}>\n <span className=\"flex items-center gap-1.5\">\n {createDialog ? (\n <>\n <Icon className=\"text-xs\" name=\"circle-plus\" /> {createText}\n </>\n ) : (\n <>\n {createText}\n <Tag color={nextColor} className=\"cursor-pointer\">\n {searchQuery}\n </Tag>\n </>\n )}\n </span>\n </Button>\n );\n};\n"],"names":["getNextColor","options","occurrences","AVAILABLE_COLORS","filter","color","forEach","reduce","option","props","colors","Object","keys","length","sort","a","b","undefined","Create","onCreate","handleCreate","multiple","searchQuery","setOpen","setSearchQuery","setValidationError","setValue","createDialog","createTriggerText","useSelect2Context","texts","useLocalization","nextColor","React","useMemo","onCreateDialogClose","useCallback","create","value","Promise","resolve","then","item","error","_temp","e","reject","handleKeyDown","event","isAriaSelectionKey","currentTarget","click","className","cn","createOptionClassName","creationOptions","dialog","onClose","onClick","createText","select2","Button","onKeyDown","appearance","Icon","name","Tag"],"mappings":"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"}
|
@@ -0,0 +1,197 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { AVAILABLE_COLORS, getSubtleColorShadeClasses } from '../../../utils/tailwind.js';
|
4
|
+
import { Icon } from '../../Icon/Icon.js';
|
5
|
+
import { useLocalization } from '../../Provider/Localization.js';
|
6
|
+
import { Button } from '../../Button/Button.js';
|
7
|
+
import { Input } from '../../Input/Input.js';
|
8
|
+
import { Popover } from '../../Popover/Popover.js';
|
9
|
+
import { Group } from '../../Group/Group.js';
|
10
|
+
import { Field } from '../../Field/Field.js';
|
11
|
+
import { Root, Item, Indicator } from '@radix-ui/react-radio-group';
|
12
|
+
import { _catch } from '../../../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js';
|
13
|
+
import { useSelect2Context } from './Context.js';
|
14
|
+
|
15
|
+
const EditPopover = props => {
|
16
|
+
const {
|
17
|
+
color: initialColor,
|
18
|
+
text: initialName,
|
19
|
+
value,
|
20
|
+
...popoverProps
|
21
|
+
} = props;
|
22
|
+
const ref = React__default.useRef(null);
|
23
|
+
const {
|
24
|
+
onDelete,
|
25
|
+
onEdit,
|
26
|
+
searchRef,
|
27
|
+
ref: selectRef
|
28
|
+
} = useSelect2Context();
|
29
|
+
const {
|
30
|
+
texts
|
31
|
+
} = useLocalization();
|
32
|
+
const [name, setName] = React__default.useState(initialName);
|
33
|
+
const [color, setColor] = React__default.useState(initialColor);
|
34
|
+
const [validationError, setValidationError] = React__default.useState();
|
35
|
+
const handleInputChange = event => {
|
36
|
+
setName(event.target.value);
|
37
|
+
setValidationError(undefined);
|
38
|
+
};
|
39
|
+
const handleInputKeyDown = close => function (event) {
|
40
|
+
try {
|
41
|
+
event.stopPropagation();
|
42
|
+
if (event.key === 'Escape') {
|
43
|
+
close();
|
44
|
+
} else if (event.key === 'Enter') {
|
45
|
+
handleSave(close)(event);
|
46
|
+
}
|
47
|
+
return Promise.resolve();
|
48
|
+
} catch (e) {
|
49
|
+
return Promise.reject(e);
|
50
|
+
}
|
51
|
+
};
|
52
|
+
const handleDelete = close => function (event) {
|
53
|
+
try {
|
54
|
+
event.stopPropagation();
|
55
|
+
close();
|
56
|
+
const _temp = function () {
|
57
|
+
if (onDelete) {
|
58
|
+
return Promise.resolve(onDelete(value)).then(function () {});
|
59
|
+
}
|
60
|
+
}();
|
61
|
+
return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
|
62
|
+
} catch (e) {
|
63
|
+
return Promise.reject(e);
|
64
|
+
}
|
65
|
+
};
|
66
|
+
const handleSave = close => function (event) {
|
67
|
+
try {
|
68
|
+
const _temp3 = function () {
|
69
|
+
if (onEdit && (name !== initialName || color !== initialColor)) {
|
70
|
+
const _temp2 = _catch(function () {
|
71
|
+
return Promise.resolve(onEdit(value, name, color)).then(function () {
|
72
|
+
close();
|
73
|
+
});
|
74
|
+
}, function (error) {
|
75
|
+
var _ref$current;
|
76
|
+
event.preventDefault();
|
77
|
+
event.stopPropagation();
|
78
|
+
setValidationError(error);
|
79
|
+
(_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.focus();
|
80
|
+
});
|
81
|
+
if (_temp2 && _temp2.then) return _temp2.then(function () {});
|
82
|
+
} else {
|
83
|
+
close();
|
84
|
+
}
|
85
|
+
}();
|
86
|
+
return Promise.resolve(_temp3 && _temp3.then ? _temp3.then(function () {}) : void 0);
|
87
|
+
} catch (e) {
|
88
|
+
return Promise.reject(e);
|
89
|
+
}
|
90
|
+
};
|
91
|
+
const handleCloseAutoFocus = event => {
|
92
|
+
event.preventDefault();
|
93
|
+
setName(initialName);
|
94
|
+
setColor(initialColor);
|
95
|
+
setValidationError(undefined);
|
96
|
+
if (searchRef !== null && searchRef !== void 0 && searchRef.current) {
|
97
|
+
var _searchRef$current;
|
98
|
+
(_searchRef$current = searchRef.current) === null || _searchRef$current === void 0 ? void 0 : _searchRef$current.focus();
|
99
|
+
} else {
|
100
|
+
var _selectRef$current;
|
101
|
+
(_selectRef$current = selectRef.current) === null || _selectRef$current === void 0 ? void 0 : _selectRef$current.focus();
|
102
|
+
}
|
103
|
+
};
|
104
|
+
const handleInteractOutside = () => {
|
105
|
+
setName(initialName);
|
106
|
+
setColor(initialColor);
|
107
|
+
};
|
108
|
+
const preventKeyDownPropagation = event => {
|
109
|
+
// Need to allow 'Escape', 'Tab', 'Shift + Tab' to support default focus and close behaviour of Radix Popover.
|
110
|
+
if (event.key === 'Escape' || event.key === 'Tab' || event.key === 'Tab' && event.shiftKey) {
|
111
|
+
return;
|
112
|
+
} else {
|
113
|
+
event.stopPropagation();
|
114
|
+
}
|
115
|
+
};
|
116
|
+
const popoverContentKeyDown = event => {
|
117
|
+
// Need to stop propagation of 'Tab', 'Shift + Tab' keys out of Popover content,
|
118
|
+
// to avoid 'Tab' key execution on Option component and closing the dropdown.
|
119
|
+
if (event.key === 'Tab' || event.key === 'Tab' && event.shiftKey) {
|
120
|
+
event.stopPropagation();
|
121
|
+
}
|
122
|
+
};
|
123
|
+
return /*#__PURE__*/React__default.createElement(Popover, Object.assign({}, popoverProps), /*#__PURE__*/React__default.createElement(Popover.Content, {
|
124
|
+
onCloseAutoFocus: handleCloseAutoFocus,
|
125
|
+
onInteractOutside: handleInteractOutside,
|
126
|
+
onClick: event => event.stopPropagation(),
|
127
|
+
onKeyDown: popoverContentKeyDown,
|
128
|
+
placement: "right",
|
129
|
+
tabIndex: -1,
|
130
|
+
className: "focus:!shadow-none"
|
131
|
+
}, ({
|
132
|
+
close
|
133
|
+
}) => (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
134
|
+
className: "flex w-32 flex-col space-y-2"
|
135
|
+
}, onEdit ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Field, {
|
136
|
+
className: cn('!min-h-fit', {
|
137
|
+
'!pb-0': !validationError
|
138
|
+
}),
|
139
|
+
invalid: !!validationError,
|
140
|
+
message: validationError === null || validationError === void 0 ? void 0 : validationError.message
|
141
|
+
}, /*#__PURE__*/React__default.createElement(Input, {
|
142
|
+
invalid: !!validationError,
|
143
|
+
onChange: handleInputChange,
|
144
|
+
onKeyDown: handleInputKeyDown(close),
|
145
|
+
ref: ref,
|
146
|
+
value: name
|
147
|
+
})), initialColor ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("h5", null, "Colours"), /*#__PURE__*/React__default.createElement(Colours, {
|
148
|
+
color: color,
|
149
|
+
onChangeColor: setColor,
|
150
|
+
onKeyDown: preventKeyDownPropagation
|
151
|
+
}))) : null, /*#__PURE__*/React__default.createElement(Group, null, /*#__PURE__*/React__default.createElement(Button, {
|
152
|
+
onClick: close
|
153
|
+
}, texts.select2.cancel), /*#__PURE__*/React__default.createElement(Button, {
|
154
|
+
appearance: "primary",
|
155
|
+
onClick: handleSave(close)
|
156
|
+
}, texts.select2.save)))) : null, onEdit && onDelete ? /*#__PURE__*/React__default.createElement("hr", null) : null, onDelete ? (/*#__PURE__*/React__default.createElement("button", {
|
157
|
+
className: "hover:text-grey-700 flex items-center justify-start gap-1",
|
158
|
+
onClick: handleDelete(close),
|
159
|
+
onKeyDown: preventKeyDownPropagation
|
160
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
161
|
+
className: "!h-5 !w-5",
|
162
|
+
name: "delete-permanently"
|
163
|
+
}), " ", texts.select2.delete)) : null)))));
|
164
|
+
};
|
165
|
+
const Colours = props => {
|
166
|
+
const {
|
167
|
+
color,
|
168
|
+
onChangeColor,
|
169
|
+
onClick,
|
170
|
+
onKeyDown
|
171
|
+
} = props;
|
172
|
+
const {
|
173
|
+
texts
|
174
|
+
} = useLocalization();
|
175
|
+
return /*#__PURE__*/React__default.createElement(Root, {
|
176
|
+
"aria-label": texts.select2.chooseColor,
|
177
|
+
className: "grid grid-cols-4 gap-2 focus:outline-none",
|
178
|
+
onClick: onClick,
|
179
|
+
onKeyDown: onKeyDown,
|
180
|
+
onValueChange: color => onChangeColor(color),
|
181
|
+
value: color
|
182
|
+
}, AVAILABLE_COLORS.map(availableColor => (/*#__PURE__*/React__default.createElement(Item, {
|
183
|
+
"aria-label": color,
|
184
|
+
className: cn('flex h-6 w-6 cursor-pointer items-center justify-center rounded', getSubtleColorShadeClasses(availableColor)),
|
185
|
+
key: availableColor,
|
186
|
+
onFocus: () => onChangeColor(availableColor),
|
187
|
+
value: availableColor
|
188
|
+
}, /*#__PURE__*/React__default.createElement(Indicator, {
|
189
|
+
asChild: true
|
190
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
191
|
+
name: "tick",
|
192
|
+
className: "!h-5 !w-5"
|
193
|
+
}))))));
|
194
|
+
};
|
195
|
+
|
196
|
+
export { EditPopover };
|
197
|
+
//# sourceMappingURL=Edit.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Edit.js","sources":["../../../../../../../../src/components/Select2/components/Edit.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport * as RadioGroup from '@radix-ui/react-radio-group';\nimport { Button } from '../../Button/Button';\nimport { Input } from '../../Input/Input';\nimport { Popover, PopoverProps } from '../../Popover/Popover';\nimport { Icon } from '../../Icon/Icon';\nimport { Select2OptionValue } from '../types';\nimport { useSelect2Context } from './Context';\nimport { Field } from '../../Field/Field';\nimport { Group } from '../../Group/Group';\nimport { useLocalization } from '../../Provider/Localization';\nimport { Color } from '../../../types';\nimport { AVAILABLE_COLORS, getSubtleColorShadeClasses } from '../../../utils/tailwind';\n\nexport type EditPopoverProps = PopoverProps & {\n color?: Color;\n text: string;\n value: Select2OptionValue;\n};\n\nexport const EditPopover = (props: EditPopoverProps) => {\n const { color: initialColor, text: initialName, value, ...popoverProps } = props;\n const ref = React.useRef<HTMLInputElement>(null);\n const { onDelete, onEdit, searchRef, ref: selectRef } = useSelect2Context();\n const { texts } = useLocalization();\n const [name, setName] = React.useState(initialName);\n const [color, setColor] = React.useState(initialColor);\n const [validationError, setValidationError] = React.useState<Error | undefined>();\n\n const handleInputChange = event => {\n setName(event.target.value);\n setValidationError(undefined);\n };\n\n const handleInputKeyDown = close => async event => {\n event.stopPropagation();\n\n if (event.key === 'Escape') {\n close();\n } else if (event.key === 'Enter') {\n handleSave(close)(event);\n }\n };\n\n const handleDelete = close => async event => {\n event.stopPropagation();\n close();\n\n if (onDelete) {\n await onDelete(value);\n }\n };\n\n const handleSave = close => async event => {\n if (onEdit && (name !== initialName || color !== initialColor)) {\n try {\n await onEdit(value, name, color);\n close();\n } catch (error) {\n event.preventDefault();\n event.stopPropagation();\n setValidationError(error as Error);\n ref.current?.focus();\n }\n } else {\n close();\n }\n };\n\n const handleCloseAutoFocus = event => {\n event.preventDefault();\n setName(initialName);\n setColor(initialColor);\n setValidationError(undefined);\n\n if (searchRef?.current) {\n searchRef.current?.focus();\n } else {\n selectRef.current?.focus();\n }\n };\n\n const handleInteractOutside = () => {\n setName(initialName);\n setColor(initialColor);\n };\n\n const preventKeyDownPropagation = event => {\n // Need to allow 'Escape', 'Tab', 'Shift + Tab' to support default focus and close behaviour of Radix Popover.\n if (event.key === 'Escape' || event.key === 'Tab' || (event.key === 'Tab' && event.shiftKey)) {\n return;\n } else {\n event.stopPropagation();\n }\n };\n\n const popoverContentKeyDown = event => {\n // Need to stop propagation of 'Tab', 'Shift + Tab' keys out of Popover content,\n // to avoid 'Tab' key execution on Option component and closing the dropdown.\n if (event.key === 'Tab' || (event.key === 'Tab' && event.shiftKey)) {\n event.stopPropagation();\n }\n };\n\n return (\n <Popover {...popoverProps}>\n <Popover.Content\n onCloseAutoFocus={handleCloseAutoFocus}\n onInteractOutside={handleInteractOutside}\n onClick={event => event.stopPropagation()}\n onKeyDown={popoverContentKeyDown}\n placement=\"right\"\n tabIndex={-1}\n className=\"focus:!shadow-none\">\n {({ close }) => (\n <>\n <div className=\"flex w-32 flex-col space-y-2\">\n {onEdit ? (\n <>\n <Field\n className={cn('!min-h-fit', { '!pb-0': !validationError })}\n invalid={!!validationError}\n message={validationError?.message}>\n <Input\n invalid={!!validationError}\n onChange={handleInputChange}\n onKeyDown={handleInputKeyDown(close)}\n ref={ref}\n value={name}\n />\n </Field>\n {initialColor ? (\n <>\n <h5>Colours</h5>\n <Colours\n color={color}\n onChangeColor={setColor}\n onKeyDown={preventKeyDownPropagation}\n />\n </>\n ) : null}\n <Group>\n <Button onClick={close}>{texts.select2.cancel}</Button>\n <Button appearance=\"primary\" onClick={handleSave(close)}>\n {texts.select2.save}\n </Button>\n </Group>\n </>\n ) : null}\n {onEdit && onDelete ? <hr /> : null}\n {onDelete ? (\n <button\n className=\"hover:text-grey-700 flex items-center justify-start gap-1\"\n onClick={handleDelete(close)}\n onKeyDown={preventKeyDownPropagation}>\n <Icon className=\"!h-5 !w-5\" name=\"delete-permanently\" /> {texts.select2.delete}\n </button>\n ) : null}\n </div>\n </>\n )}\n </Popover.Content>\n </Popover>\n );\n};\n\nconst Colours = props => {\n const { color, onChangeColor, onClick, onKeyDown } = props;\n const { texts } = useLocalization();\n\n return (\n <RadioGroup.Root\n aria-label={texts.select2.chooseColor}\n className=\"grid grid-cols-4 gap-2 focus:outline-none\"\n onClick={onClick}\n onKeyDown={onKeyDown}\n onValueChange={color => onChangeColor(color)}\n value={color}>\n {AVAILABLE_COLORS.map((availableColor: string) => (\n <RadioGroup.Item\n aria-label={color}\n className={cn(\n 'flex h-6 w-6 cursor-pointer items-center justify-center rounded',\n getSubtleColorShadeClasses(availableColor as Color)\n )}\n key={availableColor}\n onFocus={() => onChangeColor(availableColor)}\n value={availableColor}>\n <RadioGroup.Indicator asChild>\n <Icon name=\"tick\" className=\"!h-5 !w-5\" />\n </RadioGroup.Indicator>\n </RadioGroup.Item>\n ))}\n </RadioGroup.Root>\n );\n};\n"],"names":["EditPopover","props","color","initialColor","text","initialName","value","popoverProps","ref","React","useRef","onDelete","onEdit","searchRef","selectRef","useSelect2Context","texts","useLocalization","name","setName","useState","setColor","validationError","setValidationError","handleInputChange","event","target","undefined","handleInputKeyDown","close","stopPropagation","key","handleSave","Promise","resolve","e","reject","handleDelete","_temp","then","_temp2","_catch","error","_ref$current","preventDefault","current","focus","_temp3","handleCloseAutoFocus","_searchRef$current","_selectRef$current","handleInteractOutside","preventKeyDownPropagation","shiftKey","popoverContentKeyDown","Popover","Content","onCloseAutoFocus","onInteractOutside","onClick","onKeyDown","placement","tabIndex","className","Field","cn","invalid","message","Input","onChange","Colours","onChangeColor","Group","Button","select2","cancel","appearance","save","Icon","delete","RadioGroup","chooseColor","onValueChange","AVAILABLE_COLORS","map","availableColor","getSubtleColorShadeClasses","onFocus","asChild"],"mappings":"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"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import '../../../primitives/Listbox2/components/Root.js';
|
4
|
+
import '../../../primitives/Listbox2/components/Option.js';
|
5
|
+
import { Group as Group$1 } from '../../../primitives/Listbox2/components/Group.js';
|
6
|
+
import { Title } from '../../../primitives/Listbox2/components/Title.js';
|
7
|
+
import { createCollectionClassName } from '../utilities.js';
|
8
|
+
|
9
|
+
const Group = /*#__PURE__*/React__default.forwardRef(function Select2Group(props, ref) {
|
10
|
+
const {
|
11
|
+
children,
|
12
|
+
heading,
|
13
|
+
hasSeparator,
|
14
|
+
...attributes
|
15
|
+
} = props;
|
16
|
+
const className = cn(createCollectionClassName(), {
|
17
|
+
"last:after:content-none after:content-[''] after:bg-grey-300 after:mx-2 after:my-1 after:h-px": hasSeparator && children.length
|
18
|
+
}, props.className);
|
19
|
+
return /*#__PURE__*/React__default.createElement(Group$1, Object.assign({}, attributes, {
|
20
|
+
className: className,
|
21
|
+
ref: ref
|
22
|
+
}), /*#__PURE__*/React__default.createElement(Title, {
|
23
|
+
className: "sticky top-0 bg-white px-2 font-bold leading-8"
|
24
|
+
}, heading), children);
|
25
|
+
});
|
26
|
+
|
27
|
+
export { Group };
|
28
|
+
//# sourceMappingURL=Group.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Group.js","sources":["../../../../../../../../src/components/Select2/components/Group.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport * as ListboxPrimitive from '../../../primitives/Listbox2/Listbox2';\nimport { createCollectionClassName } from '../utilities';\nimport { Select2OptionProps } from './Option';\n\nexport type Select2GroupProps = Omit<ListboxPrimitive.Listbox2GroupProps, 'children'> & {\n children: React.ReactElement<Select2OptionProps>[];\n hasSeparator?: boolean;\n heading?: string;\n};\n\nexport const Group = React.forwardRef<HTMLDivElement, Select2GroupProps>(function Select2Group(props, ref) {\n const { children, heading, hasSeparator, ...attributes } = props;\n const className = cn(\n createCollectionClassName(),\n {\n \"last:after:content-none after:content-[''] after:bg-grey-300 after:mx-2 after:my-1 after:h-px\":\n hasSeparator && children.length,\n },\n props.className\n );\n\n return (\n <ListboxPrimitive.Group {...attributes} className={className} ref={ref}>\n <ListboxPrimitive.Title className=\"sticky top-0 bg-white px-2 font-bold leading-8\">{heading}</ListboxPrimitive.Title>\n {children}\n </ListboxPrimitive.Group>\n );\n});\n"],"names":["Group","React","forwardRef","Select2Group","props","ref","children","heading","hasSeparator","attributes","className","cn","createCollectionClassName","length","ListboxPrimitive"],"mappings":";;;;;;;;MAYaA,KAAK,gBAAGC,cAAK,CAACC,UAAU,CAAoC,SAASC,YAAYA,CAACC,KAAK,EAAEC,GAAG;EACrG,MAAM;IAAEC,QAAQ;IAAEC,OAAO;IAAEC,YAAY;IAAE,GAAGC;GAAY,GAAGL,KAAK;EAChE,MAAMM,SAAS,GAAGC,EAAE,CAChBC,yBAAyB,EAAE,EAC3B;IACI,+FAA+F,EAC3FJ,YAAY,IAAIF,QAAQ,CAACO;GAChC,EACDT,KAAK,CAACM,SAAS,CAClB;EAED,oBACIT,6BAACa,OAAsB,oBAAKL,UAAU;IAAEC,SAAS,EAAEA,SAAS;IAAEL,GAAG,EAAEA;mBAC/DJ,6BAACa,KAAsB;IAACJ,SAAS,EAAC;KAAkDH,OAAO,CAA0B,EACpHD,QAAQ,CACY;AAEjC,CAAC;;;;"}
|
@@ -0,0 +1,108 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { Icon } from '../../Icon/Icon.js';
|
4
|
+
import { IconButton } from '../../IconButton/IconButton.js';
|
5
|
+
import { isAriaSelectionKey } from '../../../utils/aria.js';
|
6
|
+
import '../../../primitives/Listbox2/components/Root.js';
|
7
|
+
import { Option as Option$1 } from '../../../primitives/Listbox2/components/Option.js';
|
8
|
+
import '../../../primitives/Listbox2/components/Group.js';
|
9
|
+
import '../../../primitives/Listbox2/components/Title.js';
|
10
|
+
import { Tag } from '../../Tag/Tag.js';
|
11
|
+
import { createOptionClassName, getFontSize } from '../utilities.js';
|
12
|
+
import { useSelect2Context } from './Context.js';
|
13
|
+
import { EditPopover } from './Edit.js';
|
14
|
+
import { isMobileDevice } from '../../../utils/device.js';
|
15
|
+
|
16
|
+
const Option = /*#__PURE__*/React__default.forwardRef(function Select2Option(props, ref) {
|
17
|
+
var _window;
|
18
|
+
const {
|
19
|
+
children,
|
20
|
+
color,
|
21
|
+
description,
|
22
|
+
prefix,
|
23
|
+
postfix,
|
24
|
+
className: cName,
|
25
|
+
...otherProps
|
26
|
+
} = props;
|
27
|
+
const {
|
28
|
+
fontSize,
|
29
|
+
listboxRef,
|
30
|
+
multiple,
|
31
|
+
onDelete,
|
32
|
+
onEdit,
|
33
|
+
ref: selectRef,
|
34
|
+
setOpen,
|
35
|
+
shouldPauseHoverState,
|
36
|
+
tags,
|
37
|
+
value
|
38
|
+
} = useSelect2Context();
|
39
|
+
const className = cn(createOptionClassName(shouldPauseHoverState), getFontSize(fontSize), cName);
|
40
|
+
const hasValue = Array.isArray(value) ? !!value.length : value !== undefined;
|
41
|
+
const isTag = tags && !!color;
|
42
|
+
const handleClick = () => {
|
43
|
+
if (!multiple) {
|
44
|
+
setOpen(false);
|
45
|
+
} else {
|
46
|
+
var _selectRef$current;
|
47
|
+
(_selectRef$current = selectRef.current) === null || _selectRef$current === void 0 ? void 0 : _selectRef$current.focus();
|
48
|
+
}
|
49
|
+
};
|
50
|
+
const handleKeyDown = event => {
|
51
|
+
if (isAriaSelectionKey(event)) {
|
52
|
+
if (!multiple || event.key === 'Tab') {
|
53
|
+
setOpen(false);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
};
|
57
|
+
const isEmptyOption = children !== '';
|
58
|
+
const popover = isEmptyOption && (onEdit || onDelete) ? popoverProps => {
|
59
|
+
var _props$textValue, _props$textValue2;
|
60
|
+
return /*#__PURE__*/React__default.createElement(EditPopover, Object.assign({}, popoverProps, {
|
61
|
+
color: props.color,
|
62
|
+
key: (_props$textValue = props.textValue) !== null && _props$textValue !== void 0 ? _props$textValue : String(props.children),
|
63
|
+
text: (_props$textValue2 = props.textValue) !== null && _props$textValue2 !== void 0 ? _props$textValue2 : String(props.children),
|
64
|
+
value: props.value
|
65
|
+
}));
|
66
|
+
} : undefined;
|
67
|
+
return /*#__PURE__*/React__default.createElement(Option$1, Object.assign({}, otherProps, {
|
68
|
+
className: className,
|
69
|
+
onClick: handleClick,
|
70
|
+
onKeyDown: handleKeyDown,
|
71
|
+
ref: ref
|
72
|
+
}), hasValue ? (/*#__PURE__*/React__default.createElement(Icon, {
|
73
|
+
name: "tick",
|
74
|
+
className: "pointer-events-none invisible -mx-0.5 !h-4 !w-4 group-aria-selected:visible"
|
75
|
+
})) : null, isTag ? (/*#__PURE__*/React__default.createElement(Tag, {
|
76
|
+
className: "pointer-events-none my-1",
|
77
|
+
color: color,
|
78
|
+
icon: prefix
|
79
|
+
}, children)) : (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, prefix ? typeof prefix === 'string' ? /*#__PURE__*/React__default.createElement(Icon, {
|
80
|
+
name: prefix
|
81
|
+
}) : prefix : null, /*#__PURE__*/React__default.createElement("span", {
|
82
|
+
className: "flex w-full justify-between"
|
83
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
84
|
+
className: "flex flex-col"
|
85
|
+
}, /*#__PURE__*/React__default.createElement("span", null, children), description ? /*#__PURE__*/React__default.createElement("span", {
|
86
|
+
className: "text-grey-700 -mt-1.5 mb-1.5 text-xs"
|
87
|
+
}, description) : null), /*#__PURE__*/React__default.createElement("span", {
|
88
|
+
className: "flex flex-col self-center"
|
89
|
+
}, postfix ? typeof postfix === 'string' ? /*#__PURE__*/React__default.createElement(Icon, {
|
90
|
+
name: postfix
|
91
|
+
}) : postfix : null)))), popover ? (/*#__PURE__*/React__default.createElement(IconButton, {
|
92
|
+
icon: "ellipsis-vertical",
|
93
|
+
appearance: "discrete",
|
94
|
+
className: cn('group-aria-current:visible invisible -mr-1 ml-auto !h-5 min-h-[theme(spacing.6)] !w-5 min-w-[theme(spacing.6)] hover:!bg-black/[.08] focus:!shadow-none group-hover:visible', {
|
95
|
+
'!visible': isMobileDevice((_window = window) === null || _window === void 0 ? void 0 : _window.navigator)
|
96
|
+
}),
|
97
|
+
onClick: event => {
|
98
|
+
var _listboxRef$current;
|
99
|
+
event.stopPropagation();
|
100
|
+
listboxRef === null || listboxRef === void 0 ? void 0 : (_listboxRef$current = listboxRef.current) === null || _listboxRef$current === void 0 ? void 0 : _listboxRef$current.setActiveIndex(event.currentTarget.parentElement);
|
101
|
+
},
|
102
|
+
popover: popover,
|
103
|
+
tabIndex: -1
|
104
|
+
})) : null);
|
105
|
+
});
|
106
|
+
|
107
|
+
export { Option };
|
108
|
+
//# sourceMappingURL=Option.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Option.js","sources":["../../../../../../../../src/components/Select2/components/Option.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { Icon, IconName } from '../../Icon/Icon';\nimport { Tag } from '../../Tag/Tag';\nimport { isAriaSelectionKey } from '../../../utils/aria';\nimport * as ListboxPrimitive from '../../../primitives/Listbox2/Listbox2';\nimport { createOptionClassName, getFontSize } from '../utilities';\nimport { useSelect2Context } from './Context';\nimport { IconButton } from '../../IconButton/IconButton';\nimport { EditPopover } from './Edit';\nimport { isMobileDevice } from '../../../utils/device';\nimport { Color } from '../../../types';\nimport { FontSize } from '../../../types';\n\nexport type Select2OptionProps = Omit<ListboxPrimitive.Listbox2OptionProps, 'children' | 'prefix'> & {\n children: string;\n color?: Color;\n description?: string;\n fontSize?: FontSize;\n prefix?: IconName | JSX.Element;\n postfix?: IconName | JSX.Element;\n textValue?: string;\n};\n\nexport const Option = React.forwardRef<HTMLDivElement, Select2OptionProps>(function Select2Option(props, ref) {\n const { children, color, description, prefix, postfix, className: cName, ...otherProps } = props;\n const {\n fontSize,\n listboxRef,\n multiple,\n onDelete,\n onEdit,\n ref: selectRef,\n setOpen,\n shouldPauseHoverState,\n tags,\n value,\n } = useSelect2Context();\n const className = cn(createOptionClassName(shouldPauseHoverState), getFontSize(fontSize), cName);\n\n const hasValue = Array.isArray(value) ? !!value.length : value !== undefined;\n const isTag = tags && !!color;\n\n const handleClick = () => {\n if (!multiple) {\n setOpen(false);\n } else {\n selectRef.current?.focus();\n }\n };\n\n const handleKeyDown = (event: React.KeyboardEvent) => {\n if (isAriaSelectionKey(event)) {\n if (!multiple || event.key === 'Tab') {\n setOpen(false);\n }\n }\n };\n\n const isEmptyOption = children !== '';\n\n const popover =\n isEmptyOption && (onEdit || onDelete)\n ? popoverProps => (\n <EditPopover\n {...popoverProps}\n color={props.color}\n key={props.textValue ?? String(props.children)}\n text={props.textValue ?? String(props.children)}\n value={props.value}\n />\n )\n : undefined;\n\n return (\n <ListboxPrimitive.Option {...otherProps} className={className} onClick={handleClick} onKeyDown={handleKeyDown} ref={ref}>\n {hasValue ? (\n <Icon name=\"tick\" className=\"pointer-events-none invisible -mx-0.5 !h-4 !w-4 group-aria-selected:visible\" />\n ) : null}\n\n {isTag ? (\n <Tag className=\"pointer-events-none my-1\" color={color} icon={prefix}>\n {children}\n </Tag>\n ) : (\n <>\n {prefix ? typeof prefix === 'string' ? <Icon name={prefix} /> : prefix : null}\n <span className=\"flex w-full justify-between\">\n <span className=\"flex flex-col\">\n <span>{children}</span>\n {description ? <span className=\"text-grey-700 -mt-1.5 mb-1.5 text-xs\">{description}</span> : null}\n </span>\n <span className=\"flex flex-col self-center\">\n {postfix ? typeof postfix === 'string' ? <Icon name={postfix} /> : postfix : null}\n </span>\n </span>\n </>\n )}\n {popover ? (\n <IconButton\n icon=\"ellipsis-vertical\"\n appearance=\"discrete\"\n className={cn(\n 'group-aria-current:visible invisible -mr-1 ml-auto !h-5 min-h-[theme(spacing.6)] !w-5 min-w-[theme(spacing.6)] hover:!bg-black/[.08] focus:!shadow-none group-hover:visible',\n {\n '!visible': isMobileDevice(window?.navigator),\n }\n )}\n onClick={event => {\n event.stopPropagation();\n listboxRef?.current?.setActiveIndex(event.currentTarget.parentElement as HTMLDivElement);\n }}\n popover={popover}\n tabIndex={-1}\n />\n ) : null}\n </ListboxPrimitive.Option>\n );\n});\n"],"names":["Option","React","forwardRef","Select2Option","props","ref","children","color","description","prefix","postfix","className","cName","otherProps","fontSize","listboxRef","multiple","onDelete","onEdit","selectRef","setOpen","shouldPauseHoverState","tags","value","useSelect2Context","cn","createOptionClassName","getFontSize","hasValue","Array","isArray","length","undefined","isTag","handleClick","_selectRef$current","current","focus","handleKeyDown","event","isAriaSelectionKey","key","isEmptyOption","popover","popoverProps","_props$textValue","_props$textValue2","EditPopover","textValue","String","text","ListboxPrimitive","onClick","onKeyDown","Icon","name","Tag","icon","IconButton","appearance","isMobileDevice","_window","window","navigator","stopPropagation","_listboxRef$current","setActiveIndex","currentTarget","parentElement","tabIndex"],"mappings":"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"}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { Input } from '../../Input/Input.js';
|
4
|
+
import { createCustomKeyboardEvent } from '../../../utils/input.js';
|
5
|
+
import { Field } from '../../Field/Field.js';
|
6
|
+
import { isAriaSelectionKey } from '../../../utils/aria.js';
|
7
|
+
import { useSelect2Context } from './Context.js';
|
8
|
+
|
9
|
+
const Search = /*#__PURE__*/React__default.forwardRef(function ListboxSearch(props, ref) {
|
10
|
+
const {
|
11
|
+
onTabKeyPress,
|
12
|
+
...otherProps
|
13
|
+
} = props;
|
14
|
+
const {
|
15
|
+
listboxRef,
|
16
|
+
searchQuery,
|
17
|
+
setSearchQuery,
|
18
|
+
setValidationError,
|
19
|
+
validationError,
|
20
|
+
setOpen
|
21
|
+
} = useSelect2Context();
|
22
|
+
const handleChange = event => {
|
23
|
+
if (validationError) {
|
24
|
+
setValidationError(undefined);
|
25
|
+
}
|
26
|
+
setSearchQuery(event.target.value);
|
27
|
+
};
|
28
|
+
const handleKeyDown = event => {
|
29
|
+
// space is an aria selection key, so we have to remove it to allow spaces
|
30
|
+
if (event.key === ' ') {
|
31
|
+
return;
|
32
|
+
}
|
33
|
+
// Select2 should close dropdown and receive focus, when user press Tab while searching (UX requirement to support better keyboard navigation)
|
34
|
+
if (event.key === 'Tab') {
|
35
|
+
setOpen(false);
|
36
|
+
onTabKeyPress();
|
37
|
+
}
|
38
|
+
if (isAriaSelectionKey(event) || event.key === 'ArrowDown' || event.key === 'ArrowUp') {
|
39
|
+
var _listboxRef$current;
|
40
|
+
event.preventDefault();
|
41
|
+
// forward navigation events onto the underlying collection - we want arrow keys to work from inside the filter input
|
42
|
+
listboxRef === null || listboxRef === void 0 ? void 0 : (_listboxRef$current = listboxRef.current) === null || _listboxRef$current === void 0 ? void 0 : _listboxRef$current.dispatchEvent(createCustomKeyboardEvent(event));
|
43
|
+
return;
|
44
|
+
}
|
45
|
+
};
|
46
|
+
return /*#__PURE__*/React__default.createElement(Field, {
|
47
|
+
className: cn('mx-1.5 mb-1.5 !min-h-fit ', {
|
48
|
+
'!pb-0': !validationError
|
49
|
+
}),
|
50
|
+
invalid: !!validationError,
|
51
|
+
message: validationError === null || validationError === void 0 ? void 0 : validationError.message
|
52
|
+
}, /*#__PURE__*/React__default.createElement(Input, Object.assign({}, otherProps, {
|
53
|
+
"aria-hidden": true,
|
54
|
+
autoFocus: true,
|
55
|
+
invalid: !!validationError,
|
56
|
+
onChange: handleChange,
|
57
|
+
onKeyDown: handleKeyDown,
|
58
|
+
ref: ref,
|
59
|
+
value: searchQuery
|
60
|
+
})));
|
61
|
+
});
|
62
|
+
|
63
|
+
export { Search };
|
64
|
+
//# sourceMappingURL=Search.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Search.js","sources":["../../../../../../../../src/components/Select2/components/Search.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { createCustomKeyboardEvent } from '../../../utils/input';\nimport { Input, InputProps } from '../../Input/Input';\nimport { useSelect2Context } from './Context';\nimport { Field } from '../../Field/Field';\nimport { isAriaSelectionKey } from '../../../utils/aria';\n\nexport type Select2SearchProps = InputProps & {\n onTabKeyPress: () => void;\n};\n\nexport const Search = React.forwardRef<HTMLInputElement, Select2SearchProps>(function ListboxSearch(props, ref) {\n const { onTabKeyPress, ...otherProps } = props;\n const { listboxRef, searchQuery, setSearchQuery, setValidationError, validationError, setOpen } = useSelect2Context();\n\n const handleChange = event => {\n if (validationError) {\n setValidationError(undefined);\n }\n\n setSearchQuery(event.target.value);\n };\n\n const handleKeyDown = event => {\n // space is an aria selection key, so we have to remove it to allow spaces\n if (event.key === ' ') {\n return;\n }\n\n // Select2 should close dropdown and receive focus, when user press Tab while searching (UX requirement to support better keyboard navigation)\n if (event.key === 'Tab') {\n setOpen(false);\n onTabKeyPress();\n }\n\n if (isAriaSelectionKey(event) || event.key === 'ArrowDown' || event.key === 'ArrowUp') {\n event.preventDefault();\n // forward navigation events onto the underlying collection - we want arrow keys to work from inside the filter input\n listboxRef?.current?.dispatchEvent(createCustomKeyboardEvent(event as React.KeyboardEvent<HTMLInputElement>));\n return;\n }\n };\n\n return (\n <Field\n className={cn('mx-1.5 mb-1.5 !min-h-fit ', { '!pb-0': !validationError })}\n invalid={!!validationError}\n message={validationError?.message}>\n <Input\n {...otherProps}\n aria-hidden\n autoFocus\n invalid={!!validationError}\n onChange={handleChange}\n onKeyDown={handleKeyDown}\n ref={ref}\n value={searchQuery}\n />\n </Field>\n );\n});\n"],"names":["Search","React","forwardRef","ListboxSearch","props","ref","onTabKeyPress","otherProps","listboxRef","searchQuery","setSearchQuery","setValidationError","validationError","setOpen","useSelect2Context","handleChange","event","undefined","target","value","handleKeyDown","key","isAriaSelectionKey","_listboxRef$current","preventDefault","current","dispatchEvent","createCustomKeyboardEvent","Field","className","cn","invalid","message","Input","autoFocus","onChange","onKeyDown"],"mappings":";;;;;;;;MAYaA,MAAM,gBAAGC,cAAK,CAACC,UAAU,CAAuC,SAASC,aAAaA,CAACC,KAAK,EAAEC,GAAG;EAC1G,MAAM;IAAEC,aAAa;IAAE,GAAGC;GAAY,GAAGH,KAAK;EAC9C,MAAM;IAAEI,UAAU;IAAEC,WAAW;IAAEC,cAAc;IAAEC,kBAAkB;IAAEC,eAAe;IAAEC;GAAS,GAAGC,iBAAiB,EAAE;EAErH,MAAMC,YAAY,GAAGC,KAAK;IACtB,IAAIJ,eAAe,EAAE;MACjBD,kBAAkB,CAACM,SAAS,CAAC;;IAGjCP,cAAc,CAACM,KAAK,CAACE,MAAM,CAACC,KAAK,CAAC;GACrC;EAED,MAAMC,aAAa,GAAGJ,KAAK;;IAEvB,IAAIA,KAAK,CAACK,GAAG,KAAK,GAAG,EAAE;MACnB;;;IAIJ,IAAIL,KAAK,CAACK,GAAG,KAAK,KAAK,EAAE;MACrBR,OAAO,CAAC,KAAK,CAAC;MACdP,aAAa,EAAE;;IAGnB,IAAIgB,kBAAkB,CAACN,KAAK,CAAC,IAAIA,KAAK,CAACK,GAAG,KAAK,WAAW,IAAIL,KAAK,CAACK,GAAG,KAAK,SAAS,EAAE;MAAA,IAAAE,mBAAA;MACnFP,KAAK,CAACQ,cAAc,EAAE;;MAEtBhB,UAAU,aAAVA,UAAU,wBAAAe,mBAAA,GAAVf,UAAU,CAAEiB,OAAO,cAAAF,mBAAA,uBAAnBA,mBAAA,CAAqBG,aAAa,CAACC,yBAAyB,CAACX,KAA8C,CAAC,CAAC;MAC7G;;GAEP;EAED,oBACIf,6BAAC2B,KAAK;IACFC,SAAS,EAAEC,EAAE,CAAC,2BAA2B,EAAE;MAAE,OAAO,EAAE,CAAClB;KAAiB,CAAC;IACzEmB,OAAO,EAAE,CAAC,CAACnB,eAAe;IAC1BoB,OAAO,EAAEpB,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEoB;kBAC1B/B,6BAACgC,KAAK,oBACE1B,UAAU;;IAEd2B,SAAS;IACTH,OAAO,EAAE,CAAC,CAACnB,eAAe;IAC1BuB,QAAQ,EAAEpB,YAAY;IACtBqB,SAAS,EAAEhB,aAAa;IACxBf,GAAG,EAAEA,GAAG;IACRc,KAAK,EAAEV;KACT,CACE;AAEhB,CAAC;;;;"}
|